Utilize the method and the device of mobile phone monitoring of environmental noise
Technical field
The present invention is a kind of method and device that utilizes mobile phone monitoring of environmental noise, be meant an a kind of decibel value table of comparisons and monitoring of environmental noise software of in mobile phone, being preset with especially, and utilize CPU (central processing unit), amplifier, analog to digital converter, the output element of this mobile phone, carry out the method and the device of monitoring of environmental noise.
Background technology
At present, along with advancing by leaps and bounds of science and technology and improving constantly of living standard, people more and more are concerned about oneself working environment and living environment important at one's side.And developing rapidly along with the industrial age, environmental noise grows with each passing day for the influence arround the life, this kind influence promptly generally so-called " environmental noise pollution ", because various experiments, report confirm that environmental noise pollutes the health for human body, have suitable threat and influence, people are polluted, also more and more people's attention for the environment voice that increasingly sharpens.
So people wish to have some instruments easily and effectively, the decibel value of the environmental noise around can monitoring at any time so that it is excessive to understand the decibel value of this noise whether, can work the mischief to health.
In many public places, such as road, square, airport ... wait the place, all can see the monitoring device that large-scale environmental noise is arranged, in order to the local noise condition of real-time monitoring, but, monitoring of environmental noise product simple and practical and easy to carry is almost seldom arranged in the market, use for ordinary populace.
One of them very important reasons be if only for the monitoring of environmental noise, and remove to design an independently product for civilian use, and survey decibel value in order to show, often to use liquid crystal or other light-emitting components, in order to show measured decibel value, thereby in the circuit of this product, CPU (central processing unit) (CPU), LCD (LCD) or light emitting diode (LED) must be installed ... etc.In addition, in this circuit, must comprise an analog to digital conversion circuit, convert digital value to, make this circuit design will be quite complicated, will certainly cause the very big waste of software and hardware resources in order to the physical energy of sound that this product is received.
Summary of the invention
The objective of the invention is in view of the high characteristics of traditional monitoring environmental noise production unit cost, the inventor is through the permanent research and experiment of making great efforts, and development and Design goes out a kind of method and device that utilizes mobile phone monitoring of environmental noise of the present invention finally,
A kind of method of utilizing mobile phone monitoring of environmental noise, it is a CPU (central processing unit) of utilizing a mobile phone, by reading this monitoring of environmental noise software default in machine, convert the operation and control interface of this mobile phone to the monitoring of environmental noise pattern, at this moment, can utilize a microphone of this mobile phone, carry out the environmental noise sampling, the signal that this microphone is received, the amplifier by this mobile phone amplifies, then, convert digital value at a analog to digital converter by this mobile phone, so that this CPU (central processing unit) can be found a decibel value of coupling certainly according to this digital value in this decibel value table of comparisons, export by the output element of this mobile phone again.
Further, also include a source of sound energy attenuation calculation equation in the described monitoring of environmental noise software, after making this CPU (central processing unit) in this decibel value table of comparisons, find a decibel value, can be according to the distance value of this decibel value and input, utilize this source of sound energy attenuation calculation equation to carry out computing, so that the decibel value of estimating of operation result is exported by the output element of this mobile phone.
Also be preset with a distance value in the described mobile phone and estimate the decibel value table of comparisons, this distance value is to include several decibel values with estimating in the decibel value table of comparisons, the different distance value of this decibel value of plurality of matching and mate the decibel value of estimating of this distance value, after making this CPU (central processing unit) in this decibel value table of comparisons, find a decibel value, can be according to this decibel value and the distance value that is transfused to, utilize this distance value to find and estimate decibel value, again by the output element output of this mobile phone with estimating the decibel value table of comparisons.
Described distance value and the decibel value of estimating of estimating the decibel value table of comparisons, be to carry out the computing of each decibel value by source of sound energy attenuation calculation equation, the decibel value of estimating of gained is stored in this distance value and estimates in the decibel value table of comparisons, so that this CPU (central processing unit) can converse the decibel value of estimating of ad-hoc location according to the distance value that is transfused to.
Described distance value and the decibel value of estimating of estimating the decibel value table of comparisons can with the decibel value of estimating of gained, be stored in this distance value and estimate decibel value by after testing repeatedly in advance, converse the decibel value of estimating of ad-hoc location.
A kind of device that utilizes mobile phone monitoring of environmental noise comprises:
One mobile phone is provided with a control circuit in the housing of this mobile phone;
One omnidirectional microphone, this omnidirectional microphone are located on this control circuit, as the sound-detection gear of monitoring of environmental noise, the noise in each orientation are monitored, and convert a voltage signal to the noise that will be sensed;
One programmable gain amplifier, this programmable gain amplifier is provided in a side of on the control circuit, and be connected with this omnidirectional microphone, amplify this voltage signal that this omnidirectional microphone was transmitted is carried out computing, the weak voltage signal from this omnidirectional microphone is exaggerated;
One analog to digital converter, this analog to digital converter is provided in a side of on this control circuit, and is connected with this programmable gain amplifier, converts a digital value in order to the voltage signal that this is exaggerated;
One memory element, this memory element comprises a decibel value table of comparisons and a monitoring of environmental noise software in order to store a plurality of programmed instruction that can make this mobile phone action in this programmed instruction;
One CPU (central processing unit), this CPU (central processing unit) is provided in a side of on this control circuit, this CPU (central processing unit) can interdependent storage element in this stored programmed instruction, execution is to the processing of controlling of each element on this mobile phone, to make this CPU (central processing unit) can comply with the digital value that this analog to digital converter is changed, find out a decibel value that is complementary with it in this decibel value table of comparisons certainly;
One output element, this output element are to be connected with this CPU (central processing unit), so that this decibel value can be by this output element output.
Further, described output element can be the display of this mobile phone.
Described output element can be the loudspeaker of this mobile phone.
The gain coefficient of described programmable gain amplifier can be debugged different gain coefficients in experiment, to determine its optimum value.
Description of drawings
Fig. 1 is the process flow diagram that each element of the present invention is handled
Fig. 2 is the process flow diagram of monitoring of environmental noise of the present invention
Embodiment
The present invention is a kind of method and device that utilizes mobile phone monitoring of environmental noise, as shown in Figure 1, 2, this method is to be preset with a decibel value table of comparisons and a monitoring of environmental noise software in a mobile phone, includes several numeral values in this decibel value table of comparisons and mates the decibel value of this digital value;
The CPU (central processing unit) of this mobile phone, by reading this monitoring of environmental noise software, so that the operation and control interface of this mobile phone converts the monitoring of environmental translative mode to, to utilize microphone set on it (MICROPHONE), carry out the environmental noise sampling, the voltage signal that makes this microphone that this noise is responded to, amplifier (AMPLIFIER) by this mobile phone carries out the signal amplification, then, by an analog to digital converter (A/D CONVERTER) of this mobile phone, this conversion of signals that is exaggerated is become digital value again, then, in this decibel value table of comparisons, find out the decibel value that mates this according to this digital value, export by the output element of this mobile phone again.
Because, at general conventional mobile phone, for sound and the wireless signal of receiving words can correctly be transmitted, various analog signal conversion become digital signal and utilize various operation and control interfaces, control, so in the body of conventional mobile phone, all be provided with CPU (central processing unit) on the set control circuit, amplifier, analog to digital converter, memory element ... wait electronic component, the programmed instruction that each of this mobile phone controlled is mounted in this memory element, make this CPU (central processing unit) according to this stored programmed instruction in this memory element, execution is to the operation management of this each element of mobile phone, so that normally start of this mobile phone, finish dialing/receiving calling, the transmitting-receiving short message ... etc. function, and can be by showing various operation and control interfaces on the display, and utilize microphone, loudspeaker is received, be subjected to the no matter any especially mobile phone of words institute indispensable;
From the above, microphone of the present invention, amplifier and analog to digital converter, output element still can use microphone, amplifier, analog to digital converter, display, the loudspeaker of traditional means, this decibel value table of comparisons and monitoring of environmental noise software then can be installed in traditional memory element, so, the present invention can finish under the state that is entirely any hardware of increase, make full use of the existing resource of mobile phone, improve the practicality of mobile phone.
Because may be in the test of reality, needing to measure not is the on-site decibel value of mobile phone, but estimate the decibel value of a locality of contiguous this mobile phone, this moment must be according to distance value actual or that estimate, the energy attenuation loss that the complementary range distance causes, determine to estimate decibel value, so, in a preferred embodiment of the present invention, as shown in Figure 2, include a source of sound energy attenuation calculating function (preface) in this monitoring of environmental noise software, after making this CPU (central processing unit) in this decibel value table of comparisons, find out a decibel value, can utilize this source of sound energy attenuation calculation equation to carry out computing according to this decibel value and the distance value that is transfused to, with the decibel value of estimating that will calculate, by the output element output of this mobile phone.Because this source of sound energy attenuation calculation equation is the utilization of general nature principle, be not that the present invention institute is proprietary, and be widely used in the various fields, be big well-known already, so do not given unnecessary details at this.
In another preferred embodiment of the present invention, also be preset with a distance value in this mobile phone and estimate the decibel value table of comparisons, this distance value includes several decibel values with estimating in the decibel value table of comparisons, the different distance value of this decibel value of plurality of matching and mate the decibel value of estimating of these distance values, after making this CPU (central processing unit) in this decibel value table of comparisons, find a decibel value, can be according to this decibel value and the distance value that is transfused to, utilize this distance value and the distance value of estimating the decibel value table of comparisons and being transfused to, utilize this distance value to find and estimate decibel value, again by the output element output of this mobile phone with estimating the decibel value table of comparisons.In this another preferred embodiment, this distance value and the decibel value of estimating of estimating the decibel value table of comparisons, be to pass through source of sound energy attenuation calculation equation, or by after testing repeatedly in advance, the decibel value of estimating of gained is stored in this distance value and estimates in the decibel value table of comparisons, so that during for actual the use,, converse the decibel value of estimating of ad-hoc location according to the distance of user's input.
In this embodiment, this output element can be the display or the loudspeaker of this mobile phone, makes this decibel value and discreet value, can show numerical value by this display, or be reported by this loudspeaker output sound.With this display is example, and the measured decibel value of the noise of this mobile phone present position is 60dB, can be shown as 60dB/0m on this display; If record ad-hoc location apart from this mobile phone 20M when estimating decibel value and be 70dB, it shows the decibel value of estimating of this ad-hoc location, then can estimate decibel value 70dB/20m to demonstrate according to the distance value of measured decibel value and input is handled; Or simultaneously the decibel value of estimating of each ad-hoc location (mobile phone is to the noise source scope) is all shown on this display, as 60dB/0m, 61dB/2m, 65dB/10m...70dB/20m (still, this estimates straight line path and adjacent domain thereof that decibel value is only limited to mobile phone and sound source, if deviation is too far away, then should decide) on the particular location of sound source and mobile phone.
Owing to be can be by method of the present invention, carry out the monitoring of environmental noise, can obtain a more correct decibel value, at the device that utilizes mobile phone monitoring of environmental noise of the present invention, as shown in Figure 1, can utilize the microphone of this mobile phone to make the sound-detection gear of monitoring of environmental noise, owing to monitor less noise possibly, thereby for the selection of microphone and the cooperation of mechanism, be to realize place relatively more crucial in the method for the present invention, this directly influences the precision of the decibel value of surveying, so, at first, should select highly sensitive microphone as far as possible for use, to improve the sensing capability to faint noise, this microphone preferably also has higher precision simultaneously, to reduce measuring error; They are two years old, the decibel value of surveying in order to make, the noise that can reflect each orientation of periphery truly, thereby can not select omnidirectional microphone (Unique-Directional Microphone) for use, and should be with the omnidirectional microphone (Omni-Directional Microphone) that can monitor the noise in each orientation; Its three, the frequency response that this microphone can receive (Frequency Response) scope is wide as far as possible, amplitude is smooth, in order to can monitor noise accurately.
In addition, amplify for faint voltage signal from this mobile microphone, be with a programmable gain amplifier (Progammable Gain Amplifier, hereinafter to be referred as: PGA) finish, can this PGA amplify signal exactly also is a quite crucial step, and it will directly have influence on the precision of the decibel value of surveying.So at first this PGA must be the energy signal that accurate computing received, and has characteristics such as low drift, low noise, high cmrr and broadband; Simultaneously, how reasonably selecting gain coefficient is to debug different gain coefficients in experiment, to determine its optimum value.
In addition, the CPU (central processing unit) of this mobile phone, analog to digital converter, memory element and output element for the monitoring of environmental noise, influence little to obtain a more correct decibel value.So, can continue to use CPU (central processing unit), analog to digital converter and the output element of conventional mobile phone.
The above only is one of the best of the present invention specific embodiment, but structural attitude of the present invention is not limited thereto, and anyly is familiar with this skill person in field of the present invention, and the variation that can expect easily and modification all can be encompassed in the claim of this case.