CN105828225A - Electronic device for adjusting microphone output power and gain - Google Patents
Electronic device for adjusting microphone output power and gain Download PDFInfo
- Publication number
- CN105828225A CN105828225A CN201510012010.1A CN201510012010A CN105828225A CN 105828225 A CN105828225 A CN 105828225A CN 201510012010 A CN201510012010 A CN 201510012010A CN 105828225 A CN105828225 A CN 105828225A
- Authority
- CN
- China
- Prior art keywords
- electronic installation
- distance
- gain
- mike
- loudspeaker
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention provides an electronic device for adjusting a microphone output power and gain. The electronic device comprises a microphone, a speaker, a storage unit, a distance detecting unit, a processor, and a sound control unit, wherein the storage unit is used for storing the corresponding relation between the distance from a user to the electronic device and the output power of the speaker and the gain of the microphone in advance, the distance detecting unit is used for detecting the real-time distance from the user to the electronic device, the processor is used for outputting a control signal according to the corresponding relation stored by the storage unit in advance and the real-time distance detected by the distance detection unit, and the sound control unit is connected to the processor and is used for adjusting the output power of the speaker and the gain of the microphone according to the control signal. The electronic device for adjusting a microphone output power and gain can automatically adjust the output power of the speaker and the gain of the microphone according to the movement distance of the user, the target of automatically optimizing the microphone is realized, and great convenience is brought to the user.
Description
Technical field
The present invention relates to the acoustic processing of the communications field, particularly relate to a kind of regulation microphone output and the electronic installation of gain.
Background technology
The operation of existing change voice output volume, major part is all to have been controlled by the different button on audio output device or knob, and user can only operate button or knob to regulate volume.And by the way of button or knob, regulating volume, user must be close to audio output device could regulate volume.Meanwhile, sound is as well as the range attenuation listened to, when user is remotely, it is impossible to regulate the volume of its position, the input parameter of the most uncontrollable mike.This causes inconvenience to user.
Summary of the invention
In view of this, it is necessary to provide one regulation microphone output and the electronic installation of gain, by regulating microphone output and gain to solve the problems referred to above.
The one that the present invention provides regulates microphone output and the device of gain, including mike, loudspeaker, storage element, distance detecting unit, processor, audio control unit.Wherein, storage element is for pre-stored user to the distance of electronic installation and the output of loudspeaker, the corresponding relation of the gain of mike;Distance detecting unit is for detecting the user real-time distance to electronic installation;The output control signal of distance in real time that processor is detected for the corresponding relation according to storage element pre-stored and distance detecting unit;Audio control unit is connected with processor, for regulating output and the gain of mike of loudspeaker according to control signal.
Preferably, corresponding relation is the curve evolved with corresponding loudspeaker output, the gain of mike previously according to multiple sampled distances.
Preferably, corresponding relation is that the gain of mike reduces along with the increase of real-time distance, and the output of loudspeaker increases along with the increase of real-time distance, to avoid mike and loudspeaker to produce echo.
Preferably, distance detecting unit utilizes the real-time distance of ultrasonic detection.
Preferably, distance detecting unit includes ultrasound unit, and ultrasound unit is for regularly launching ultrasound wave and receiving the ultrasound wave of reflection, the most consistent with the frequency of the ultrasound wave of reflection to judge the frequency of the ultrasound wave of transmitting.
Preferably, also including that the time records unit, time record unit is launched the time of ultrasound wave for recording ultrasound unit and receives time of ultrasound wave of reflection.
Preferably, when the frequency of the ultrasound wave launched is inconsistent with the frequency of the ultrasound wave of reflection, distance detecting unit just can calculate the time difference of the ultrasound wave of reflectance ultrasound ripple and the transmitting received, to detect the user real-time distance to electronic installation.
Preferably, audio control unit includes preamplifier and analog-digital converter.Wherein, preamplifier is connected with mike, for amplifying the voice analog signal that mike receives;Analog-digital converter is connected with preamplifier, and the voice analog signal after amplifying is converted to digital signal.
Preferably, audio control unit includes digital to analog converter and power amplifier.Wherein, digital to analog converter is connected with processor, for the voice digital signal that processor exports is converted to analogue signal;Power amplifier is connected with digital to analog converter, loudspeaker, exports to loudspeaker after analogue signal is carried out power amplification.
Preferably, also include communication unit, for communicating with other electronic installations.
The present invention regulates the electronic installation of microphone output and gain, can adjust output and the gain of mike of loudspeaker automatically according to the distance in real time of user, bring great convenience to user.
Accompanying drawing explanation
Fig. 1 is the module rack composition of electronic installation one embodiment of the present invention.
Fig. 2 is the module rack composition of audio control unit one embodiment of the present invention.
Fig. 3 is the schematic diagram of corresponding relation one embodiment between present invention distance and microphone gain.
Fig. 4 is the schematic diagram of corresponding relation one embodiment between present invention distance and loudspeaker output.
Main element symbol description
Electronic installation 10
Mike 101
Loudspeaker 102
Storage element 103
Distance detecting unit 104
Processor 105
Audio control unit 106
Communication unit 107
Power supply 108
Display unit 109
Preamplifier 211
Analog-digital converter 212
Digital to analog converter 221
Power amplifier 222
Following detailed description of the invention will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Detailed description of the invention
See also the module rack composition of electronic installation 10 1 embodiment that Fig. 1, Fig. 1 are the present invention.In the present embodiment, focus principally on and solve some for the output of electronic installation 10 internal regulation microphone of communication and gain, some equipment being used for carrying out voice communication such as electronic installation 10 usually mobile phone, phone etc., microphone then refers to mike and loudspeaker.
In the present embodiment, electronic installation 10 includes mike 101 and loudspeaker 102, storage element 103, distance detecting unit 104, processor 105 and audio control unit 106.
Wherein, storage element 103 is for the distance of pre-stored user to electronic installation 10 and the gain of mike 101, the corresponding relation of the output of loudspeaker 102.When electronic installation 10 is arranged in different environment, user can be according to the gain of mike 101 corresponding to different ambient As specific ranges, loudspeaker 102 output.Electronic installation 10 first obtains multiple sampled distances and the corresponding gain of mike 101, loudspeaker 102 output that user is arranged, again by calculation, obtain the gain of each concrete distance concrete and mike 101, the corresponding relation of loudspeaker 102 output, in the present embodiment, corresponding relation is the curve evolved with the corresponding gain of mike 101, loudspeaker 102 output according to multiple sampled distances, algorithm as used herein is conventional DISCRETE ANALYSIS METHOD, such as method of least square etc..
Distance detecting unit 104 is for detecting the user real-time distance to electronic installation 10.In the present embodiment, distance detecting unit 104 utilizes the real-time distance of ultrasonic detection.Distance detecting unit 104 includes ultrasound unit and time record unit (without illustrating in figure).Ultrasound unit is for regularly launching ultrasound wave and receiving the ultrasound wave of reflection, the most consistent with the frequency of the ultrasound wave of reflection to judge the frequency of the ultrasound wave of transmitting.Time record unit launches the ultrasonic time involving the ultrasound wave receiving reflection for recording ultrasound unit.
According to Doppler effect (Dopplereffect), when object is when mobile, and the wavelength of object radiation can produce change because of wave source and the relative motion of observer.Before the wave source of motion, ripple is compressed, and wavelength becomes shorter, and frequency becomes higher;Time after the wave source of motion, contrary effect can be produced.Wavelength becomes longer, and frequency becomes relatively low, therefore can be according to this effect, and when the frequency of the frequency of the ultrasound wave that ultrasound unit is launched and the ultrasound wave of reflection changes, the distance between user and electronic installation 10 will change.
When the frequency of the frequency of ultrasound wave launched and the ultrasound wave of reflection is inconsistent, distance detecting unit just can calculate the time difference of the ultrasound wave of reflectance ultrasound ripple and the reflection received, and according to the transmission speed of sound wave, the real-time distance of detecting user to electronic installation.
The output control signal of distance in real time that processor 105 is detected for the corresponding relation according to storage element pre-stored and distance detecting unit, in the present embodiment, processor 105 can be independent chip or be integrated in the multiple controllers (such as various controller) inside each functional module.Because electronic installation 10 is arranged from time in different environment, its ultrasound wave sent, when colliding fixing barrier (such as wall or door), also can be launched.Therefore, in order to avoid electronic installation 10 misoperation, in the present embodiment, 105 meetings of processor, when detecting that apart from detecting unit 104 frequency of ultrasound wave of the frequency of ultrasound wave of transmitting and reflection is inconsistent, just export control signal.
Audio control unit 106 is connected with processor 105, for regulating the gain of mike 101, loudspeaker 102 output according to control signal.
In order to realize some conventional func such as communication, the electronic installation 10 of the present invention can also include communication unit 107, power supply 108 and display unit 109, wherein communication unit 107 is for communicating with other electronic installations, power supply 108 shows various operation interface for providing the electric energy needed for electronic installation 10, display unit 109 to be used for.Owing to communication, power supply and the Display Technique of this electronic installation 10 are all prior art, it is not described in detail here.
Refer to the module rack composition of audio control unit 106 1 embodiment that Fig. 2, Fig. 2 are the present invention.In the present embodiment, audio control unit 106 includes two-way control circuit, and first via control circuit is for controlling the gain of mike 101, and the second tunnel control circuit is for controlling the output of loudspeaker 102.
Wherein first via control circuit includes preamplifier 211 and analog-digital converter 212.Preamplifier 211 is connected with mike 101, for amplifying the voice analog signal that mike 101 receives;Analog-digital converter 212, is connected with preamplifier 211, and the user voice analog signal after amplifying is converted to digital signal.
Second tunnel control circuit includes digital to analog converter 221 and power amplifier 222.Digital to analog converter 221 is connected with processor 105, for the voice digital signal that processor 105 exports is converted to analogue signal;Power amplifier 222 is connected with digital to analog converter 221, loudspeaker 102, exports to loudspeaker 102 after analogue signal is carried out power amplification.
Seeing also the schematic diagram that Fig. 3 and Fig. 4, Fig. 3 are corresponding relation one embodiment between present invention distance and mike 101 gain, Fig. 4 is the schematic diagram of corresponding relation one embodiment between present invention distance and loudspeaker 102 output.
Electronic installation 10 is after entering duty, and user pre-sets multiple sampled distance and the gain of mike 101, the corresponding relation of loudspeaker 102 output.According to this corresponding relation, electronic installation 10 marks corresponding position relationship on two-dimensional coordinate, further according to conventional DISCRETE ANALYSIS METHOD, as the calculation methods such as method of least square calculate, thus obtains corresponding relation curve as shown in Figure 3 and Figure 4.
After obtaining corresponding relation curve, distance detecting unit 104 starts the real-time distance detecting user to electronic installation 10.When the frequency of the ultrasound wave launched is inconsistent with the frequency of the ultrasound wave of reflection, processor 105 obtains the real-time distance of distance detecting unit 104 detecting, the corresponding relation of the output of respective distance and the gain of mike 101, loudspeaker 102 is obtained again, then and then send and control signal to audio control unit 106 to change the gain of mike 101, the output of loudspeaker 102 from corresponding relation curve.
For example, as shown in Figure 3 and Figure 4, when real-time distance is for D1, processor 105 will output control signals to audio control unit 106 so that the gain of mike 101, the output of loudspeaker 102 are respectively G1, SP1.When real-time distance becomes D2, the most correspondingly the output of the gain of mike 101, loudspeaker 102 is changed into G2, SP2 respectively.When real-time distance becomes D3, the most correspondingly the output of the gain of mike 101, loudspeaker 102 is changed into G3, SP3 respectively.In the present embodiment, real-time apart from interior set, the gain of mike 101 reduces along with the increase of real-time distance, and the output of loudspeaker 102 then increases along with the increase of real-time distance, to avoid mike 101 and loudspeaker 102 to produce echo when carrying out voice communication.
The present invention regulates the electronic installation of microphone output and gain, can adjust output and the gain of mike of loudspeaker automatically according to the displacement of user, it is achieved that the target of Automatic Optimal microphone, bring great convenience to user.
Claims (10)
1. an electronic installation, including mike and loudspeaker, it is characterised in that also include:
Storage element, for distance and the output of described loudspeaker of pre-stored user to described electronic installation, the corresponding relation of the gain of described mike;
Distance detecting unit, for detecting the user real-time distance to described electronic installation;
Processor, the output control signal of distance in real time detected for the corresponding relation according to described storage element pre-stored and described distance detecting unit;And
Audio control unit, is connected with described processor, for regulating output and the gain of described mike of described loudspeaker according to described control signal.
2. electronic installation as claimed in claim 1, it is characterised in that described corresponding relation is the curve evolved with corresponding described loudspeaker output, the gain of described mike previously according to multiple sampled distances.
3. electronic installation as claimed in claim 1, it is characterized in that, described corresponding relation is that the gain of described mike reduces along with the increase of described real-time distance, and the output of described loudspeaker increases along with the increase of described real-time distance, to avoid mike and loudspeaker to produce echo.
4. electronic installation as claimed in claim 1, it is characterised in that described distance detecting unit utilizes real-time distance described in ultrasonic detection.
5. electronic installation as claimed in claim 4, it is characterized in that, described distance detecting unit includes ultrasound unit, described ultrasound unit is for regularly launching ultrasound wave and receiving the ultrasound wave of reflection, the most consistent with the frequency of the ultrasound wave of described reflection to judge the frequency of the ultrasound wave of described transmitting.
6. electronic installation as claimed in claim 5, it is characterised in that also include that the time records unit, record unit of described time is launched the time of described ultrasound wave for recording described ultrasound unit and receives time of ultrasound wave of described reflection.
7. electronic installation as claimed in claim 6, it is characterized in that, when the frequency of the ultrasound wave of described transmitting is inconsistent with the frequency of the ultrasound wave of described reflection, described distance detecting unit just can calculate the time difference of the ultrasound wave of described reflectance ultrasound ripple and the described transmitting received, to detect the described user real-time distance to described electronic installation.
8. electronic installation as claimed in claim 1, it is characterised in that described audio control unit includes:
Preamplifier, is connected with described mike, for amplifying the voice analog signal that described mike receives;And
Analog-digital converter, is connected with described preamplifier, and the described voice analog signal after amplifying is converted to digital signal.
9. electronic installation as claimed in claim 1, it is characterised in that described audio control unit includes:
Digital to analog converter, is connected with described processor, for the voice digital signal that described processor exports is converted to analogue signal;And
Power amplifier, is connected with described digital to analog converter, described loudspeaker, and after described analogue signal carries out power amplification, output is to described loudspeaker.
10. electronic installation as claimed in claim 1, it is characterised in that also include communication unit, for communicating with other electronic installations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510012010.1A CN105828225B (en) | 2015-01-09 | 2015-01-09 | Adjust the electronic device of microphone output power and gain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510012010.1A CN105828225B (en) | 2015-01-09 | 2015-01-09 | Adjust the electronic device of microphone output power and gain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105828225A true CN105828225A (en) | 2016-08-03 |
CN105828225B CN105828225B (en) | 2019-06-28 |
Family
ID=56514250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510012010.1A Active CN105828225B (en) | 2015-01-09 | 2015-01-09 | Adjust the electronic device of microphone output power and gain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105828225B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357348A (en) * | 2016-08-16 | 2017-01-25 | 北京小米移动软件有限公司 | Method and device for adjusting transmitting power of ultrasonic wave |
CN106782584A (en) * | 2016-12-28 | 2017-05-31 | 北京地平线信息技术有限公司 | Audio signal processing apparatus, method and electronic equipment |
CN111787460A (en) * | 2020-06-23 | 2020-10-16 | 北京小米移动软件有限公司 | Equipment control method and device |
CN112261527A (en) * | 2020-10-21 | 2021-01-22 | 广东得胜电子有限公司 | Control circuit and method for adjusting microphone gain through distance induction |
CN112929794A (en) * | 2021-01-26 | 2021-06-08 | 歌尔科技有限公司 | Sound effect adjusting method, device, equipment and storage medium |
CN115426589A (en) * | 2022-11-03 | 2022-12-02 | 荣耀终端有限公司 | Audio signal adjusting method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1258178A (en) * | 1998-12-18 | 2000-06-28 | 三星电子株式会社 | Method for providing signal receiving circumstance of mobile phone |
CN101312600A (en) * | 2007-05-22 | 2008-11-26 | 鸿富锦精密工业(深圳)有限公司 | Volume regulating apparatus and automatic volume regulating method |
CN201821492U (en) * | 2010-07-27 | 2011-05-04 | 王恒 | Microphone with ranging function |
CN102185954A (en) * | 2011-04-29 | 2011-09-14 | 信源通科技(深圳)有限公司 | Method for regulating audio frequency in video call and terminal equipment |
WO2014004410A1 (en) * | 2012-06-28 | 2014-01-03 | Microsoft Corporation | Locating a device |
-
2015
- 2015-01-09 CN CN201510012010.1A patent/CN105828225B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1258178A (en) * | 1998-12-18 | 2000-06-28 | 三星电子株式会社 | Method for providing signal receiving circumstance of mobile phone |
CN101312600A (en) * | 2007-05-22 | 2008-11-26 | 鸿富锦精密工业(深圳)有限公司 | Volume regulating apparatus and automatic volume regulating method |
CN201821492U (en) * | 2010-07-27 | 2011-05-04 | 王恒 | Microphone with ranging function |
CN102185954A (en) * | 2011-04-29 | 2011-09-14 | 信源通科技(深圳)有限公司 | Method for regulating audio frequency in video call and terminal equipment |
WO2014004410A1 (en) * | 2012-06-28 | 2014-01-03 | Microsoft Corporation | Locating a device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357348A (en) * | 2016-08-16 | 2017-01-25 | 北京小米移动软件有限公司 | Method and device for adjusting transmitting power of ultrasonic wave |
CN106357348B (en) * | 2016-08-16 | 2019-02-12 | 北京小米移动软件有限公司 | Adjust the method and device of ultrasonic wave transmission power |
CN106782584A (en) * | 2016-12-28 | 2017-05-31 | 北京地平线信息技术有限公司 | Audio signal processing apparatus, method and electronic equipment |
CN106782584B (en) * | 2016-12-28 | 2023-11-07 | 北京地平线信息技术有限公司 | Audio signal processing device, method and electronic device |
CN111787460A (en) * | 2020-06-23 | 2020-10-16 | 北京小米移动软件有限公司 | Equipment control method and device |
CN111787460B (en) * | 2020-06-23 | 2021-11-09 | 北京小米移动软件有限公司 | Equipment control method and device |
US11922093B2 (en) | 2020-06-23 | 2024-03-05 | Beijing Xiaomi Mobile Software Co., Ltd. | Device control method and apparatus |
CN112261527A (en) * | 2020-10-21 | 2021-01-22 | 广东得胜电子有限公司 | Control circuit and method for adjusting microphone gain through distance induction |
CN112929794A (en) * | 2021-01-26 | 2021-06-08 | 歌尔科技有限公司 | Sound effect adjusting method, device, equipment and storage medium |
CN112929794B (en) * | 2021-01-26 | 2022-11-18 | 歌尔科技有限公司 | Sound effect adjusting method, device, equipment and storage medium |
CN115426589A (en) * | 2022-11-03 | 2022-12-02 | 荣耀终端有限公司 | Audio signal adjusting method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105828225B (en) | 2019-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105828225A (en) | Electronic device for adjusting microphone output power and gain | |
US11990880B2 (en) | Audio system equalizing | |
KR101497644B1 (en) | Voice and position localization | |
US20190287523A1 (en) | Far-field voice control device and far-field voice control system | |
CN103329565B (en) | Audio system and operational approach thereof | |
EP1983799B1 (en) | Acoustic localization of a speaker | |
US9094768B2 (en) | Loudspeaker calibration using multiple wireless microphones | |
US10237639B2 (en) | Motion detection for microphone gating | |
CN109597312B (en) | Sound box control method and device | |
CN102044253B (en) | Echo signal processing method and system as well as television | |
JPWO2005076660A1 (en) | Super directional speaker mounted mobile body | |
CN104459703B (en) | A kind of sonar ranging method and mobile device | |
CN101312600A (en) | Volume regulating apparatus and automatic volume regulating method | |
CN104396277A (en) | Motion based compensation of downlinked audio | |
CN109155884A (en) | Stereo separation is carried out with omnidirectional microphone and orientation inhibits | |
US20230037824A1 (en) | Methods for reducing error in environmental noise compensation systems | |
JP2007068000A (en) | Sound field reproducing device and remote control for the same | |
WO2017071183A1 (en) | Voice processing method and device, and pickup circuit | |
CN106843457B (en) | Gesture recognition system and gesture recognition method adopting same | |
CN103716730A (en) | Loudspeaker system with directional automatic positioning function and positioning method thereof | |
US11971476B2 (en) | Ultrasonic equalization and gain control for smart speakers | |
US20230232153A1 (en) | A sound output unit and a method of operating it | |
CN107076840A (en) | Acoustic equipment with double MEMS devices | |
CN110351629B (en) | Radio reception method, radio reception device and terminal | |
CN107113499B (en) | Directional audio capturing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180227 Address after: 201613 Shanghai city south of Songjiang Export Processing Zone Road No. 1925 Applicant after: Ambit Microsystems (Shanghai) Co., Ltd. Address before: 201613 Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925 Applicant before: Ambit Microsystems (Shanghai) Co., Ltd. Applicant before: Hon Hai Precision Industry Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |