The invention relates to a divisional application of Chinese patent application 201010298420.4, the application date of which is 10, 2 and 2010, and the invention is named as an earphone, a corresponding sound source device and a control method.
Disclosure of Invention
The invention aims to provide an earphone, a corresponding sound source device and a control method, so that the earphone and the sound source device are compatible in interface and function.
The invention is realized by the following steps:
a headset comprises a headset functional characteristic memory for storing functional parameters of the headset.
Still further, the functional parameter includes an impedance of the headset.
Further, the function parameters include whether the earphone has an audio decoding unit and a supported format.
Still further, the functional parameter includes a channel number of the headphone.
Still further, the functional parameter includes a frequency response curve of the headset.
Further, the headset includes an audio signal channel, a control signal channel, and a power channel.
Still further, the memory is an E2PROM memory.
The invention also provides sound source equipment, which comprises an earphone function parameter reading module, wherein when the sound source equipment is connected with an earphone, the earphone function parameter reading module reads earphone function parameters, and the sound source equipment adjusts the working mode of the sound source equipment according to the read function parameters so as to adapt to the work of the earphone.
The invention also provides a control method of the earphone and the sound source equipment, wherein the method comprises the steps that the sound source equipment reads the functional characteristic data stored in the earphone functional characteristic memory; and the sound source equipment adjusts the audio output control parameters of the sound source equipment according to the functional characteristic data and outputs audio signals.
The invention also provides a control method of the earphone and the sound source equipment, the method comprises the steps that when the earphone is started, firstly, the power supply of the earphone is started, then, the control signal path between the sound source equipment and the earphone is started at the time of T1, and the audio signal path is started at the time of T2; the audio signal path is closed at time T3, the control signal path is closed at time T4, and the headset power is turned off at time T5.
Further, T3= T4= T5.
The invention also provides a wired earphone, which comprises an audio decoding unit, a data processing unit and a control unit, wherein the audio decoding unit is used for decoding the audio signal data stream; the audio processing unit is used for carrying out sound effect processing on the audio signal; the power supply distribution unit is at least used for distributing power for the audio decoding unit or/and the audio processing unit; and the sound source equipment interface unit is used for receiving the audio signal and the electric power from the sound source equipment in a wired connection mode.
Furthermore, the earphone also comprises a nonvolatile earphone function characteristic memory used for storing function characteristic parameters of the earphone, when the sound source equipment is connected with the earphone, the sound source equipment reads the earphone function characteristic parameters through bidirectional communication, and the sound source equipment configures the working parameters of the sound source equipment according to the read function characteristic parameters to adapt to the function characteristics of the earphone; the headphone functional characteristic parameter comprises at least a functional characteristic parameter of the audio decoding unit or/and the audio processing unit.
Further, the functional characteristic parameter of the headphone is integrated with a control program as program data, and the sound source device acquires the functional characteristic parameter by communicating with the headphone.
Furthermore, the earphone further comprises a main control unit, and the main control unit is used for controlling each unit in the earphone and communicating with the sound source equipment.
Furthermore, the earphone also comprises a liquid crystal display unit or a key unit, wherein the liquid crystal display unit is used for displaying the earphone information; the key unit is used for controlling the earphone and the sound source equipment.
Further, the wired interface is compatible with the USB protocol.
The invention also provides a control method of the wired earphone, which comprises the steps that the earphone is connected with a sound source device through a wired interface, the sound source device judges whether the earphone comprises an audio decoding unit according to the functional characteristic parameters read from the earphone, and if the earphone is provided with the audio decoding unit, the sound source device outputs the coded digital audio signals.
Furthermore, the method also comprises that the sound source equipment selects a proper audio format to output to the earphone according to the audio format supported by the audio decoding unit of the sound source equipment and the audio decoding unit of the earphone.
The invention also provides a control method of the wired earphone, which comprises the steps that the earphone is connected with a sound source device through a wired interface, the sound source device judges whether the earphone comprises a sound effect processing unit according to the functional characteristic parameters read from the earphone, and if the earphone is provided with the sound effect processing unit, the sound source device can selectively control the sound effect processing unit of the earphone to work.
The invention also provides a control method of the sound source equipment, which comprises the step that the sound source equipment is connected with the earphone through a wired interface, and the sound source equipment selectively outputs the digital audio signals subjected to audio decoding processing or/and sound effect processing according to the functional characteristic parameters of the audio decoding unit or/and sound effect processing unit read from the earphone.
By adopting the method, the sound source equipment and the earphones can be unified not only on the interface, but also on the function, the same sound source equipment can adapt to the earphones with different performances, mutual support and reasonable expansion are realized on the function, more choices are supported, and the optimal output is kept.
Detailed Description
The main principle of the invention is that an earphone function characteristic memory is added in the earphone, and a power interface, a control signal interface and an audio signal interface are arranged between the sound source equipment and the earphone.
Fig. 2 is a schematic diagram of an embodiment of the present invention. A power interface, a control signal interface and an audio signal interface are arranged between the sound source equipment and the earphone, wherein the power interface is used for supplying power to the earphone, the audio signal interface is used for providing audio signals for the earphone, and the control signal interface is used for carrying out communication interaction between the sound source equipment and the earphone. Through the control interface, the sound source equipment and the earphone can not only carry out functional mutual operation, for example, the sound source equipment is controlled through keys on the earphone, such as volume adjustment, song selection and the like, but also the sound source equipment can read earphone functional characteristic data stored in an earphone functional characteristic memory in the earphone through the control interface, and the sound source equipment changes the output audio signal format according to the obtained functional characteristic data or carries out sound effect processing on the audio signal according to the obtained functional characteristic data and then outputs the audio signal. It should be noted that the interface according to the present invention may be a wired interface or a wireless interface. These interfaces may be separate or combined. Typically, USB (Universal Serial Bus) can be well adapted to the requirements of the present invention, and can be used as both a charging interface, a control interface, and an audio interface.
For headphones, there are some important parameters, as follows.
1) The impedance of the earpiece, i.e. the sum of the resistance and the reactance in a vector. In desktop or power amplifier, VCD, DVD tv and other devices with earphone jack output, it is generally suitable to use middle and high impedance earphone. If a low-impedance earphone is used, the volume is firstly reduced and then the earphone is plugged, and then the volume is gradually increased, so that the earphone is prevented from being burnt out due to overload or the voice coil is deformed and dislocated to cause sound breaking, and the earphone with low impedance is generally easy to push, so that portable and power-saving machines such as a walkman and the like need to select the earphone with low impedance, and meanwhile, the high sensitivity is also required, and the sensitivity index is more important for the walkman.
2) The sensitivity of the earphone is the sound pressure level that the earphone can emit when 1 milliwatt of power is input to the earphone (the unit of sound pressure is decibel, the larger the sound pressure is, the larger the sound volume is), so the higher the sensitivity is, the smaller the impedance is, the easier the earphone is to emit sound and drive. In colloquial terms, the sensitivity of the earphone is the amount of power that needs to be input in the same situation, with higher sensitivity requiring less input power. For portable devices such as walkmans, sensitivity is an important index.
3) The transduction mode of the earphone is as follows: the transduction methods are mainly classified into a moving coil method, an electrostatic method, and an equivalent magnetic method.
4) Wearing form of the earphone: according to wearing modes, the ear plugs, the ear hooks and the head straps are mainly adopted.
5) Whether the headset is analog or digital: conventional headphones are analog, as shown in fig. 1. The audio signal enters in an analog manner, is directly output to the headset and drives the coil of the headset. The digital earphone receives the digital audio signal, and drives the coil of the earphone after digital-to-analog conversion is carried out in the earphone. More advanced digital headphones also comprise an audio decoding unit for decoding the input signal and an audio processing unit for sound effect processing of the digital audio.
6) If the earphone is a digital earphone, an audio decoding unit is provided. The audio decoding unit may decode the transmitted audio digital signal streams with different formats, such as PCM (Pulse Code Modulation), MP3, wma (windows Media audio) format, ra (real audio) format, and so on.
7) Which formats, if any, are supported, such as PCM (Pulse Code Modulation) format, MP3 format, wma (windows Media audio) format, ra (real audio) format, etc.
8) Whether a sound effect processing unit is provided.
9) The earphone communication mode: wired headphones, wireless headphones, or wired/wireless headphones, where wired/wireless headphones refer to headphones that can be either wired or wireless, depending on the user's choice.
10) Earphone sound channel: mono, binaural, multi-channel surround sound, etc.
11) Frequency response curve of the earphone. Fig. 3 is a frequency response curve of the earphone, i.e. the sensitivity value corresponding to the frequency is the frequency response, and the image is drawn to be the frequency response curve, the range that human hearing can reach is about 20Hz-20000Hz, and the requirement is met by the current mature earphone technology. The excellent frequency response width of the earphone can reach 5Hz-40000 Hz. As can be seen from the figure, the frequency response width of the earphone is 20Hz-20000Hz, and the earphone has better frequency response characteristics between 200Hz and 15000 Hz. Fig. 4 presents in tabular form the amplitudes corresponding to the various frequency points of the frequency response curve of the headset shown in fig. 3.
Fig. 5 is one of typical construction diagrams of the headset of the present invention. The audio signal is output from the sound source equipment, and the audio signal enters the earphone through the audio signal interface, the audio decoding unit decodes the input audio signal data stream, and the audio processing unit performs sound effect processing on the decoded audio signal, such as bass enhancement, clear human voice and the like. The signals after sound effect processing can be output to an earphone driving unit, such as a coil, after digital-to-analog conversion. The control signal is used for the earphone to interact with the sound source equipment and output to the main control unit of the earphone, and the main control unit not only can control each internal unit, but also can communicate with the sound source equipment to transmit the control signal. The headset feature memory stores the headset parameters mentioned above, typically an E2PROM memory or a FLASH memory. The memory may be separate from or together with the control program, and the sound source device acquires the data as program data by communicating with the headphone. Alternatively, the data may be a separate E2PROM, which is part of the audio source device when the audio source device is connected to the headphone, but is physically located in the headphone, and the audio source device can read the data by using the normal E2PROM operation, which is basically the same as the DDC (DISPLAY DATA CHNNEL, display data channel) protocol in the display. After the earphone sound source equipment reads the parameters, the configuration of the earphone sound source equipment can be changed according to the parameters, and the internal control and the audio output adjusting mode are optimized. The liquid crystal display unit is used for displaying important information of the earphone. The key unit is used for controlling the earphone and also used as a line control device for controlling the sound source device. After the power supply is input into the earphone, the power supply distribution unit distributes power to each unit so as to support the normal function operation of each part.
For better illustration of the invention, the data stored by the headset functionality memory is as follows:
1) impedance of the earphone: 200 ohms;
2) sensitivity of the earphone: 65db of;
3) the transduction mode of the earphone is as follows: a moving coil mode;
4) wearing form of the earphone: an earplug type;
5) whether the headset is analog or digital: a number;
6) with an audio decoding unit;
7) the supported format is: PCM, MP3, WMA;
8) the sound effect processing unit is arranged;
9) the earphone communication mode: a wired earphone;
10) sound channel of the headphone: a binaural;
11) frequency response curve of the earphone: the data are shown in figure 4.
From the data stored above, the sound source device knows the functional characteristics of the headphones, and changes its own control and the output of the audio signal and the control signal according to the functional characteristics of the headphones, as described separately below.
1) Impedance of the earphone: and when the sound source equipment acquires the impedance of the earphone, automatically adjusting the output volume of the earphone according to the impedance. The impedance of the earphone is divided according to high, medium and low, and if the impedance of the earphone is lower than 16 ohms, the impedance is low; medium impedance if higher than 16 ohms and lower than 100 ohms; if higher than 100 ohms, high impedance. If the audio source device reads the impedance of the earphone and determines that the impedance is low, the audio source device should not output too much volume to avoid burning the earphone or damaging the ear of the user, especially at the moment when the user inserts the earphone. For example, for a low-impedance earphone, if the volume value output by the sound source equipment is large when the earphone is switched on, the sound source equipment can automatically adjust the volume output to a proper lower value, and then a user can adjust the volume according to the requirement of the user, so that the damage to the earphone at the moment of inserting the earphone is avoided; similarly, for music with a large dynamic range, in a high-pitch area, if the output volume value is large at the moment, the earphone can be damaged, and when the high-pitch condition is met, if the output volume value is high at the moment, the system automatically reduces the volume to a proper value to avoid burning out the earphone. For the earphone with the impedance of middle and high level, when the above situation is met, the volume threshold value to be adjusted can be set higher, or simply, the sound source equipment does not perform any processing on the volume output.
2) Sensitivity of the earphone: the sensitivity is usually associated with the impedance of the earphone, generally the impedance is low and the sensitivity is high; high impedance and low sensitivity. The sound source equipment acquires the parameters for parameter display, namely, the parameters are displayed on a display unit of the sound source equipment, or the parameters are used for adapting to some requirement of the sound source equipment in the future.
3) The transduction mode of the earphone is as follows: here to accommodate some need for future audio source equipment.
4) Wearing form of the earphone: the sound source device displays different wearing forms of the earphones in different figures according to the wearing forms of the earphones, as shown in fig. 6, wherein a is an earplug type, B is a suspension type, and C is a headband type.
5) Whether the headset is analog or digital: if the headphones are analog, the system outputs the analog audio signal directly, and if the headphones are digital, the system outputs the digital signal, but the specific format depends on the latter parameters.
6) With an audio decoding unit: if an audio decoding unit is present, an encoded digital audio signal can be output, the encoding format referring to the following supported format parameters. If there is no audio decoding unit, the decoded audio digital signal must be output, and the decoded digital audio signal is output to the headphone in PCM format and then output after digital-to-analog conversion.
7) The supported format is: the supported format indicates a format that the headphone decoding unit can decode. When the sound source equipment and the earphone decoding unit both support a certain audio format, the sound source equipment can output after decoding or output without decoding. When the sound source equipment supports a certain audio format but the earphone decoding unit does not support, the sound source equipment decodes the audio format and then outputs the audio format to the earphone in a PCM format; when the sound source equipment does not support a certain audio format and the earphone decoding unit supports the audio format, the sound source equipment outputs the undecoded audio data to the earphone for the earphone to decode and output. When neither the sound source device nor the headphone decoding unit supports a certain audio format, the sound source device displays that the audio format is not supported. Therefore, when the earphone is not connected with the sound source equipment, the sound source equipment externally displays the decoding capability of the sound source equipment, namely the decoding format of the sound source equipment; when the earphone is connected with the sound source equipment, the sound source equipment externally displays the decoding capability of the sound source equipment and the decoding capability of the earphone.
8) If the earphone is provided with a sound effect processing unit, the sound effect processing capacity of the sound source equipment is the sum of the sound effect processing capacity of the sound source equipment and the sound effect processing capacity of the earphone, and the system can select whether the sound effect processing is carried out by the earphone or the sound source equipment independently or is carried out together, or the sound effect processing is not carried out and the sound effect processing is directly output.
9) The earphone communication mode: the sound source equipment displays different earphone communication modes, namely communication modes supported by the earphones, by different graphs according to the communication modes of the earphones. The sound source equipment displays the communication modes supported by the earphone and also displays the current working mode of the earphone, particularly for wired/wireless earphones, the system can display whether the working mode is wired or wireless according to the current communication mode and simultaneously display the communication modes supported by the earphone. Fig. 7 is a schematic diagram showing several communication modes of the headset, where a is a wired headset, B is a wireless headset, C is a wired/wireless headset, and the current working mode is a wired mode, D is a wired/wireless headset, and the current working mode is a wireless mode.
10) Sound channel of the headphone: different outputs are provided according to the channel information of the earphone and the sound channel of the program played currently. If the program is mono, only mono is output, regardless of the type of headphones. If the program is binaural, for a mono headset, there are three options: left, right, and left-right channel synthesis; for the dual-channel earphone, the output is direct; for multi-channel headphones, only the left and right channels are output. If the program is multi-channel, the single-channel earphone and the double-channel earphone can be output in various combination forms; for multi-channel headphones, the multi-channel audio signal is directly output.
11) Frequency response curve of the earphone: and after the sound source equipment reads each frequency point and corresponding amplitude of the frequency response curve, processing the output audio signal according to the curve. The following are several common treatment modalities:
mode A: the sound source equipment obtains the frequency range with the best performance according to the frequency response curve of the earphone, and for fig. 4, the optimal frequency range is 200Hz to 15000Hz, the sound source equipment only processes the audio signals in the range, and neglects the audio signals beyond the range, thereby improving the processing speed of the system.
Mode B: for the frequency response curve of an ideal earphone, the curve should be a horizontal line, i.e. the response to each frequency is the same, but it is difficult to do in practice. Therefore, the sound source equipment can process the audio signals according to a certain algorithm so as to obtain an approximately ideal effect. The simple processing mode is as follows: obtaining the average response amplitude of the optimum frequency range of the earphone, then according to the average response amplitude, for the audio signals of each frequency, according to the difference value between the actual response amplitude and the average response amplitude, the average response amplitude is higher, the output intensity of the frequency is reduced during sound effect processing, and is lower than the average response amplitude, the output intensity of the frequency is increased during sound effect processing, and finally the audio signals are synthesized and output. Taking fig. 4 as an example, 200Hz to 15000Hz is the optimal frequency range, and the average response amplitude is:
((-5)+(-3)+(-0.5)+0+3+(-3)+2+(-5))/8 = -1.43(dBr)
as can be seen from the above calculation, it takes the average of the response amplitudes of the characteristic frequencies. For 200Hz, the actual response amplitude is-5, but not-1.43, then the sound effect processing unit can increase the frequency component by 3.57dBr and output the frequency component. For 10000Hz, the actual response amplitude is 2, and exceeds-1.43, then the sound effect processing unit can reduce the frequency component by 3.43dBr and output the reduced frequency component. The actual processes may differ from each other but the basic principles are all substantially the same or similar.
It was described above how the sound source device changes its own control and output of the audio signal and the control signal according to the functional characteristics of the headphone by the stored functional characteristic data of the headphone. How the audio source device and the headphone cooperate will be described in the following as a whole.
Fig. 8 shows the switching sequence of each path between the audio source device and the headphone. When the sound source equipment is started, firstly the power supply of the earphone is switched on, then the control signal path between the sound source equipment and the earphone is opened, and then the audio signal path is opened. At this point, the system begins to operate normally. When the system is turned off, the audio signal path is first closed, then the control signal path is closed, and finally the power path connecting the audio source device and the earphone is closed or the earphone power is closed (when the earphone is independently powered).
Fig. 9 is a timing chart of switching of each path between the audio source device and the headphone. After the earphone power is turned on, the control signal is turned on at the time T1, the audio signal is turned on at the time T2, the audio signal is turned off at the time T3, the control signal is turned off at the time T4, and the earphone power is turned off at the time T5. Generally, T1< T2< T3< T4< T5, but T3, T4 and T5 may be equal.
Fig. 10 shows a control method after the audio source device and the headphone are connected according to the present invention. Firstly, the sound source equipment reads the functional characteristic data stored in the earphone functional characteristic memory, then the sound source equipment adjusts the audio output control parameter of the sound source equipment according to the functional characteristic data, and finally outputs the audio signal. The sound source device has different ways for different functional characteristic data, which are also described above and will not be described herein again.
Fig. 11 is a simplified layout of the headset of the present invention. The audio signal is output from the sound source equipment, enters the earphone through the audio signal interface and is output to the loudspeaker. The control signal is used for the earphone to interact with the sound source equipment and output to the main control unit of the earphone, and the main control unit not only can control each internal unit, but also can communicate with the sound source equipment to transmit the control signal. The headphone function characteristic memory stores the above-mentioned headphone parameters, typically E2PROM memory. After the sound source equipment reads the parameters, the configuration of the sound source equipment can be changed according to the parameters, and the internal control and the audio output adjusting mode are optimized. After the power supply is input into the earphone, the power supply distribution unit distributes power to each unit so as to support the normal function operation of each part.
Fig. 12 is an architecture diagram of a wired/wireless headset of the present invention. The headset includes both a wired interface and a wireless interface. The control signal and the audio signal may be transmitted from the wired interface as well as the wireless interface. The separated audio signals are transmitted to the loudspeaker, the separated control signals are output to the main control unit of the earphone, and the main control unit can control all the internal units, can communicate with the sound source equipment and transmits the control signals. The headphone function characteristic memory stores the above-mentioned headphone parameters, typically E2PROM memory. After the sound source equipment reads the parameters, the configuration of the sound source equipment can be changed according to the parameters, and the internal control and the audio output adjusting mode are optimized. After the power supply is input into the earphone, the power supply distribution unit distributes power to each unit so as to support the normal function operation of each part. It should be noted that this embodiment provides a new type of wired/wireless compatible headset first, and then a headset function characteristic memory. There are various options for the method of merging and separating the audio signal and the control signal, and the method is not limited to this embodiment, for example, the separation of the audio signal and the control signal may be performed by the main control unit. For wired/wireless headsets, the greatest benefit is that the user can choose that the wired interface, although less user-friendly, is not radiating, whereas the wireless interface is more radiating. If the sound source equipment and the earphone detect the wired connection, the transmission of the wireless interface is stopped, and conversely, if the wired disconnection is detected, the wireless interface is started by the sound source equipment and the earphone. In addition, during wired transmission, the power supply is also part of the wired interface, and can charge the power supply part and provide power for each part; when the wireless transmission is carried out, the internal power supply of the earphone starts to work to supply power to each part.
Finally, it should be noted that: the above embodiments are merely illustrative and not restrictive of the technical solutions of the present invention, and those skilled in the art can make modifications or equivalent substitutions to the present invention without departing from the spirit and scope of the present invention, and it should be understood that the present invention is covered by the claims.