CN108332845B - Noise measuring method and acoustic meter - Google Patents

Noise measuring method and acoustic meter Download PDF

Info

Publication number
CN108332845B
CN108332845B CN201810465314.7A CN201810465314A CN108332845B CN 108332845 B CN108332845 B CN 108332845B CN 201810465314 A CN201810465314 A CN 201810465314A CN 108332845 B CN108332845 B CN 108332845B
Authority
CN
China
Prior art keywords
signal
signal sequence
obtain
spectrum signature
sampled
Prior art date
Application number
CN201810465314.7A
Other languages
Chinese (zh)
Other versions
CN108332845A (en
Inventor
马雨出
张建林
刘泽红
苏劲
Original Assignee
上海小慧智能科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海小慧智能科技有限公司 filed Critical 上海小慧智能科技有限公司
Priority to CN201810465314.7A priority Critical patent/CN108332845B/en
Publication of CN108332845A publication Critical patent/CN108332845A/en
Application granted granted Critical
Publication of CN108332845B publication Critical patent/CN108332845B/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H11/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties, e.g. capacitance or reluctance
    • G01H11/06Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties, e.g. capacitance or reluctance by electric means

Abstract

A kind of noise measuring method of offer of the embodiment of the present invention and acoustic meter.The noise measuring method includes:Receive voice signal;The voice signal is adjusted using pulsewidth modulation, obtains rectangular wave pulse signal;The rectangular wave pulse signal is carried out period interpolation is taken to handle to obtain the signal sequence of specified fixed intervals;It is sampled to obtain sampled signal sequence after the signal sequence of the specified fixed intervals is handled according to preset rules;It is handled the sampled signal sequence to obtain frequency-region signal, to extract the spectrum signature of the sampled signal sequence;The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal.

Description

Noise measuring method and acoustic meter

Technical field

The present invention relates to data processing fields, in particular to a kind of noise measuring method and acoustic meter.

Background technology

Acoustic meter is widely used in field of environment protection at present, in industrial and mining enterprises, road and bridge, construction site, Ju Minxue The various occasions such as school undertake the tasks such as monitoring alarm.But the identification output of sound can not meet the need of specific noise figure identification It asks.

Invention content

In view of this, the embodiment of the present invention is designed to provide a kind of noise measuring method and acoustic meter.

A kind of noise measuring method provided in an embodiment of the present invention, including:

Receive voice signal;

The voice signal is adjusted using pulsewidth modulation, obtains rectangular wave pulse signal;

The rectangular wave pulse signal is carried out period interpolation is taken to handle to obtain the signal sequence of specified fixed intervals;

It is sampled to obtain sampled signal sequence after the signal sequence of the specified fixed intervals is handled according to preset rules Row;

It is handled the sampled signal sequence to obtain frequency-region signal, it is special with the frequency spectrum for extracting the sampled signal sequence Sign;

The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal.

The embodiment of the present invention also provides a kind of acoustic meter, and the acoustic meter includes:Sound transducer and the sound sensor The processor of conversion circuit and conversion circuit communication connection that device is electrically connected;

The conversion circuit obtains Square wave pulses for the voice signal received to be adjusted using pulsewidth modulation Signal;

Between the processor is used to take period interpolation to handle to obtain specified fixation the rectangular wave pulse signal Every signal sequence;It is sampled to obtain sampling letter after the signal sequence of the specified fixed intervals is handled according to preset rules Number sequence;It is handled the sampled signal sequence to obtain frequency-region signal, it is special with the frequency spectrum for extracting the sampled signal sequence Sign;The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal.

Compared with prior art, the noise measuring method and acoustic meter of the embodiment of the present invention, passes through the sound to receiving Signal is handled, and then treated signal is formed to the signal sequence of specified fixed intervals into row interpolation, then will be specified solid Surely the signal sequence being spaced, which carries out serial operation, can obtain the noise figure of the voice signal, and the identification to realize sound is accurate True rate.

To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, special embodiment below, and appended by cooperation Attached drawing is described in detail below.

Description of the drawings

In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.

Fig. 1 is the block diagram of acoustic meter provided in an embodiment of the present invention.

Fig. 2 is the block diagram for the acoustic meter that another embodiment of the present invention provides.

Fig. 3 is the block diagram for the acoustic meter that yet another embodiment of the invention provides.

Fig. 4 is the flow chart of noise measuring method provided in an embodiment of the present invention.

Fig. 5 is the sound signal waveform schematic diagram in an example.

Fig. 6 is the corresponding rectangular wave pulse signal schematic diagram of example shown in Fig. 5.

Fig. 7 is the detail flowchart of the step S103 of noise measuring method provided in an embodiment of the present invention.

Fig. 8 shows the corresponding discrete signal schematic diagram of example shown in Fig. 5.

Fig. 9 shows the corresponding discrete signal of example shown in Fig. 8 into the signal of the specified fixed intervals obtained after row interpolation Sequence diagram.

Figure 10 is the detail flowchart of the step S104 of noise measuring method provided in an embodiment of the present invention.

Figure 11 shows the schematic diagram of the inverted of the signal sequence of the specified fixed intervals in the example for being shown in Fig. 9.

Figure 12 is the corresponding noise figure schematic diagram of voice signal in example shown in Fig. 5.

Icon:100- acoustic meters;110- sound transducers;120-LM331;130-MCU.

Specific implementation mode

Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.

It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.

In the present embodiment, the block diagram of the acoustic meter.The acoustic meter in the present embodiment includes:Sound sensor Device, the conversion circuit being electrically connected with the sound transducer, the processor with conversion circuit communication connection.

The conversion circuit obtains Square wave pulses for the voice signal received to be adjusted using pulsewidth modulation Signal.

Between the processor is used to take period interpolation to handle to obtain specified fixation the rectangular wave pulse signal Every signal sequence;It is sampled to obtain sampling letter after the signal sequence of the specified fixed intervals is handled according to preset rules Number sequence;It is handled the sampled signal sequence to obtain frequency-region signal, it is special with the frequency spectrum for extracting the sampled signal sequence Sign;The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal.

In one embodiment, as shown in Figure 1, the conversion circuit of the acoustic meter 100 can be LM331120, The processor of the acoustic meter 100 can be MCU130.Namely the acoustic meter 100 may include sound transducer 110, LM331120 and MCU130.

In one embodiment.The conversion circuit can be LM331120 as shown in Figure 1, and the LM331120 is The higher integrated chip of the ratio of performance to price of NS companies of U.S. production.In one embodiment, the internal circuit of the LM331 Composition is by input comparator, timing comparator, R-S triggers, output driving pipe, return-to-zero transistor, bandgap circuit, precision The part such as current source circuit, current switch, output protection pipe composition output driving pipe uses open collector form.It thus can be with By selecting Logic current and outer connecting resistance, flexibly change the logic level of output pulse, to be adapted to TTL, DTL and CMOS etc. no Same logic circuit.Dual power supply or single supply power supply can be used in the LM331 120, can be operated between 4.0~40V, export 40V is can reach, and Vcc can be prevented short-circuit.

Voice signal can also be accurately identified while saving cost using above-mentioned LM331 conversion circuits, adopted With software processing, reduce hardware cost, on the basis of effect same, hence it is evident that reduce product price.

In the present embodiment, as shown in Fig. 2, the acoustic meter (can also only be shown including one or more MCU130 in figure One), multiple LM331120 (two are shown in figure) and multiple sound transducers 110 (two are shown in figure).

Further, as shown in figure 3, the acoustic meter may be used including sound transducer, ADC (analog-digital converter, A/ D converters), the acoustic meter of DSP (digital signal processor), CPU (central processing unit).Above-mentioned acoustic meter high certainty of measurement, but Major defect is price height, constrains the extensive use of acoustic meter.Wherein, the cost of ADC (analog-digital converter) is higher, exports Pin it is more the oncurrent processing ability of DSP (limited), and configure quantity larger (each sound transducer need to match individual ADC For data processing), cause acoustic meter price relatively high.

The acoustic meter in the present embodiment can also include memory, storage control, Peripheral Interface, input and output list Member, display unit.

Wherein, the memory may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory is for storing program, and the processor executes described program, the present invention is implemented after receiving and executing instruction The process that example any embodiment discloses defines the part steps in method and can be applied in processor, or by processor reality It is existing.

The processor may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor can be with It is general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor can also be any conventional processor etc..The processor can also be that MCU is (micro- Control unit).

The above-mentioned processor can be the example of MCU, and the software and hardware of MCU device can fully have been used to handle energy Power.Such as:The dominant frequency of MCU is 120MHz, is calculated according to the sample frequency of 60MHz, the minimum sampling interval that can be supported is 16.7ns (nanosecond);Software uses 16bit word/short format variables, the range for the number of samples that can be supported [400,60K] disclosure satisfy that the design requirement of the acoustic meter in the present embodiment.

In addition, the above-mentioned conversion circuit can be the example of LM331, the output of the LM331 only takes up the one of MCU A pin, therefore a MCU may be implemented and concurrently connect with multiple LM331.It can be disposed on an acoustic meter accordingly more A sound transducer, multiple sound transducers are connect with a LM331.Such solution, is on the one hand saved greatly On the other hand cost is also to be upgraded to sound transducer array in the future, develops new application of function and provide condition.

The Peripheral Interface couples various input/output devices to processor and memory.In some embodiments, Peripheral Interface, processor and storage control can be realized in one single chip.In some other example, they can divide It is not realized by independent chip.

The display unit provides an interactive interface (such as user interface) between the acoustic meter and user Or it is referred to user for display image data.In the present embodiment, the display unit can be liquid crystal display or touch-control Display.Can be the capacitance type touch control screen or electric resistance touch-control for supporting single-point and multi-point touch operation if touch control display Screen etc..Single-point and multi-point touch operation is supported to refer to touch control display and can sense one or more on the touch control display The touch control operation generated simultaneously at position, and transfer to processor to be calculated and handled the touch control operation that this is sensed.

In the present embodiment, the processor is additionally operable to obtain the pulse period of the voice signal, obtains the pulse week Phase corresponding discrete signal;Increased in the time point position of the specified fixed intervals of the discrete signal using interpolation method upper new Value forms the signal sequence for specifying fixed intervals.

In the present embodiment, the processor is also used for Fast Fourier Transform (FFT) to extract the sampled signal sequence Spectrum signature.

In the present embodiment, the processor is also used for the A weighteds calculating spectrum signature and obtains believing the sound Number corresponding noise figure.

Further, the processor is additionally operable to, when the value in the spectrum signature is in the first range, use A weighteds The spectrum signature is calculated to obtain to the corresponding noise figure of the voice signal;When the value in the spectrum signature is in the second range When interior, calculate the spectrum signature using B weighteds and obtain to the corresponding noise figure of the voice signal;When in the spectrum signature Value within the scope of third when, calculate the spectrum signature using C weighteds and obtain to the corresponding noise figure of the voice signal.

The acoustic meter of the embodiment of the present invention, by handling the voice signal received, then will treated letter The signal sequence of specified fixed intervals number is formed into row interpolation, then the signal sequence of specified fixed intervals is carried out serial operation can To obtain the noise figure of the voice signal, to realize the recognition accuracy of sound.

Referring to Fig. 4, being the stream of the noise measuring method provided in an embodiment of the present invention applied to acoustic meter shown in FIG. 1 Cheng Tu.Detailed process shown in Fig. 4 will be described in detail below.

Step S101 receives voice signal.

In the present embodiment, the acoustic meter can receive the external sound transducer transmission being electrically connected with the acoustic meter Voice signal, can also voice signal obtained from the collected sound of sound transducer of the acoustic meter.

For example, sound transducer receives external sound, output be consecutive variations voltage signal.The voice signal It can be the voltage signal of the sound transducer output.Wherein, in an example, the voltage of the voltage signal takes It is worth range [0,4.5V], the intensity of the voltage of the voltage signal characterizes the size of sound.The voltage waveform of the voltage signal It is completely the same with the timing of sound variation.As shown in figure 5, Fig. 5 is the sound signal waveform schematic diagram in an example.Its In, abscissa shown in fig. 5 is time change axis, and ordinate is voltage change axis.Curve as shown in the figure is the voice signal The change curve that changes over time of voltage.

The voice signal is adjusted using pulsewidth modulation, obtains rectangular wave pulse signal by step S102.

In one embodiment, using PWM (Pulse Width Modulation, pulse width modulation) to the sound Sound signal is handled.The pulse width modulation is a kind of analog control mode, is modulated according to the variation of respective loads The biasing of transistor base or metal-oxide-semiconductor grid, to realize the change of transistor or metal-oxide-semiconductor turn-on time, to realize that switch is steady The change of voltage source output.This mode can be such that the output voltage of power supply is kept constant in operation conditions change, be using micro- A kind of technology that the digital signal of processor controls analog circuit.

In the present embodiment, by LM331, converts continuous voice signal to amplitude Square wave pulses of the same size and believe Number.Wherein, the cycle length of each pulse and the intensity of voltage are inversely proportional, and (voltage is higher, then pulse signal width is smaller;Instead It, voltage is lower, then pulse signal width is bigger), i.e., characterize sound/electricity with the periodic reverse of the rectangular wave pulse signal The size of pressure.In this example, the rectangular wave pulse signal of formation is pwm signal (impulse waveform of variable duty ratio), will Continuous voice signal is converted into pulse signal.In an example, the range of the cycle T s0 of the pwm signal can be [7 μ S, 100ms], the range of respective frequencies can be [10Hz, 150KHz].

As shown in fig. 6, Fig. 6 is the corresponding rectangular wave pulse signal schematic diagram of example shown in Fig. 5.

Step S103 carries out the rectangular wave pulse signal period interpolation is taken to handle to obtain the letter of specified fixed intervals Number sequence.

It, can be according to the variation tendency of the rectangular wave pulse signal by the place of the rectangular wave pulse signal in the present embodiment Manage into discrete signal.For example, at the appointed time the rectangular wave pulse signal rising edge can be taken to form discrete signal by node. In an example, the difference of the adjacent timing node of any two can be equal.In another example, described specified Timing node is each rising edge node in the rectangular wave pulse signal.

It can be inserted into the discrete signal at set intervals and add new value, signal sequence is made more to encrypt Collection.For example, the time interval is less than the difference of the above-mentioned adjacent timing node of any two or the time interval is less than The time difference of two neighboring rising edge node in the rectangular wave pulse signal.

In one embodiment, as shown in fig. 7, the step S103 includes:Step S1031 and step S1032.

Step S1031 obtains the pulse period of the voice signal, obtains the pulse period corresponding discrete signal.

Each rising edge that the rectangular wave pulse signal can be extracted first forms the unidirectional burst of series of discrete Signal.In the present embodiment, sigtnal interval Ts1=Ts0.Wherein, the intensity of each signal characterizes the Square wave pulses letter Number corresponding pulses periodic width.Fig. 8 shows the corresponding discrete signal schematic diagram of example shown in Fig. 5.

Step S1032 is increased using interpolation method in the time point position of the specified fixed intervals of the discrete signal upper new Value forms the signal sequence for specifying fixed intervals.

In present embodiment, above-mentioned discrete signal still may be the indefinite class value in interval, it is understood that there may be excessively sparse Problem, and the discrete signal of fixed intervals is needed in subsequent processing.Using interpolation method in the specified solid of the discrete signal Surely the time point position being spaced increases upper new value, forms the signal sequence of fixed intervals, and keep original discrete signal envelope Wire shaped is constant.Further, Fig. 9 shows that the corresponding discrete signal of example shown in Fig. 8 is specified solid into obtaining after row interpolation Surely the signal sequence schematic diagram being spaced.Further, the specified fixation can be arranged in those skilled in the art according to demand Interval.For example, the specified time interval of interpolation can be:Ts2=40ms/2048=20 μ s (handle one group of number per 40ms According to containing 2048 sampled values);For another example the specified time interval of interpolation can be:Ts2=40ms/1024=10 μ s (one group of data being handled per 40ms, contain 1024 sampled values).

Step S104 is sampled after handling the signal sequence of the specified fixed intervals according to preset rules and is adopted Sample signal sequence.

In one embodiment, in the signal sequence that the specified fixed intervals can be obtained according to the new time cycle Value with sampled signal sequence described in shape.

In another embodiment, can the signal sequence of the specified fixed intervals be subjected to inversion operation, then pressed The value in the corresponding signal sequence of signal sequence of the specified fixed intervals of the inverted is obtained according to the new time cycle with shape The sampled signal sequence.

In another embodiment, as shown in Figure 10, the step S104 includes:Step S1041 and step S1042.

Step S1041 carries out inversion operation to the signal sequence of the specified fixed intervals, obtains inverted signal sequence.

It is the big of digital signal since processing procedure before this is by sound signal intensity backward attribute in the present embodiment It is small, the law of cognition of general sound size may not met.The step of being negated herein by one, on the one hand allows digital signal With voice signal positive correlation, it is easy to understand and analyzes;On the other hand the calibration process of signal is also completed.As shown in figure 11, scheme 11 show the schematic diagram of the inverted of the signal sequence of the specified fixed intervals in example shown in Fig. 9.

Step S1042 samples the inverted signal sequence according to the specified period, obtains sampled signal sequence.

In present embodiment, the inverted signal sequence is sampled again according to fixed interval Ts3.Wherein, in a reality In example, the value of Ts3 can be:Ts3=Ts2;In other examples, the value of Ts3 can be:Ts3=(1/2) Ts2, Ts3= 2Ts2 etc..

Step S105 is handled the sampled signal sequence to obtain frequency-region signal, to extract the sampled signal sequence The spectrum signature of row.

In the present embodiment, the modes such as Discrete Fourier Transform, Discrete Fourier Transform can be used to the sampled signal Sequence is handled.

FFT (Discrete Fourier Transform):FFT is a kind of highly effective algorithm of DFT (Discrete Fourier Transform), by a series of Iterative calculation, greatly reduce operand, DFT be able in digital display circuit using providing possibility.

By algorithm f si=1/TSi, time-domain signal is transformed into frequency domain, and utilize the frequency spectrum of FFT extraction time-domain signals Feature.The value range of Tsi is [20 μ s, 40ms], and the value range of corresponding f si is [25Hz, 50KHz].

In the present embodiment, the step S105 includes:Using Fast Fourier Transform (FFT) to extract the sampled signal sequence Spectrum signature.

The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal by step S106.

In the present embodiment, the step S106 includes:The spectrum signature is calculated using A weighteds to obtain believing the sound Number corresponding noise figure.

In the present embodiment, the spectrum signature can be weighted to obtain to the voice signal using A weighteds Corresponding noise figure can also use B weighteds to be weighted to obtain to voice signal correspondence by the spectrum signature Noise figure, the spectrum signature can also be weighted to obtain make an uproar corresponding to the voice signal using C weighteds Sound value can also use D weightings to be weighted to obtain to the corresponding noise figure of the voice signal by the spectrum signature.

In the present embodiment, the step S106 includes being counted using A when the value in the spectrum signature is in the first range Power calculates the spectrum signature and obtains to the corresponding noise figure of the voice signal;When the value in the spectrum signature is in the second model When enclosing interior, calculates the spectrum signature using B weighteds and obtain to the corresponding noise figure of the voice signal;When the spectrum signature In value within the scope of third when, calculate the spectrum signature using C weighteds and obtain to the corresponding noise figure of the voice signal.

Wherein, A weighteds (A-Weighted) are a kind of criteria weights curves measured for audio, for reflecting human ear Response characteristic.Secondly sensation of loudness size caused by reflecting human ear due to the measurement of noise needs to fully take into account human ear Auditory properties.The ear of people be for the sound variation sensitivity of different frequency range it is different, Tai Gao or too it is low more not Sensitivity, just as an A word, so being A-Weighted.The standard of A weighteds is by American Standard Association in the 1940s system It is fixed, for describing human ear for different frequency range sound variation sensitivity.

A weighteds are the responses for simulating 40 side's pure tone of human ear pair;What B weighteds were simulated is the response of 70 side's pure tone of human ear pair;C is counted What power was simulated is the response of 100 side's pure tones;D weights the evaluation for being mainly used for aircraft noise.The noise of 24~55 side of general provision Measure selection A weighteds;B weighteds are selected in the noise testing of 55~85 sides;C weighteds are selected to noise testings more than 85 sides.

In detail, when carrying out the noise testing of audio-frequency power amplifier, after can select to use is all A weighteds Numerical value.

By above-mentioned FFT transform as a result, by A weighteds, i.e., corresponding A weights are multiplied by different frequencies, to reflect people Auditory effect of the ear for sound.Realize that algorithm is as follows:

A. matrix Trace (A) is built by diagonal line of A weighteds curve, totally 2048 value Ai;

B. FFT transform result is exported in the form of column vector, shares 2048 value fri;

C. diagonal matrix is multiplied with column vector, obtains the value after A weighteds, totally 2048 fi;

A weighteds count:Read group total carried out to above-mentioned 2048 fi, O=∑ fi, when obtaining corresponding 40ms in sound The scalar value of loudness of a sound degree.

With the ∑ Oi (O=1~25) of formula S=1/25, carry out the smoothing computation unit interval intensity of sound in (1 second).

Use formulaCarry out the intensity of sound in the smoothing computation outputting standard time (1 minute).

Further, A weighteds are used for the criteria weights curve that audio measures, the response characteristic for reflecting human ear.Due to The measurement of noise will reflect sensation of loudness size caused by human ear, secondly, need the auditory properties for fully taking into account human ear, because This, those skilled in the art can select A weighteds according to demand.

As shown in figure 12, Figure 12 is the corresponding noise figure schematic diagram of the voice signal in example shown in Fig. 5.

The noise measuring method of the embodiment of the present invention then will processing by handling the voice signal received Signal afterwards forms the signal sequence of specified fixed intervals into row interpolation, then the signal sequence of specified fixed intervals is carried out series Operation can obtain the noise figure of the voice signal, to realize the recognition accuracy of sound.

In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.

In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.

It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.

The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.

The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of noise measuring method, which is characterized in that including:
Receive voice signal;
The voice signal is adjusted using pulsewidth modulation, obtains rectangular wave pulse signal;
The rectangular wave pulse signal is carried out period interpolation is taken to handle to obtain the signal sequence of specified fixed intervals;
It is sampled to obtain sampled signal sequence after the signal sequence of the specified fixed intervals is handled according to preset rules;
It is handled the sampled signal sequence to obtain frequency-region signal, to extract the spectrum signature of the sampled signal sequence;
The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal.
2. noise measuring method as described in claim 1, which is characterized in that described to take the rectangular wave pulse signal Period interpolation handles to obtain the step of signal sequence of specified fixed intervals and includes:
The pulse period for obtaining the voice signal obtains the pulse period corresponding discrete signal;
Upper new value is increased in the time point position of the specified fixed intervals of the discrete signal using interpolation method, forms specified fix The signal sequence at interval.
3. noise measuring method as claimed in claim 1 or 2, which is characterized in that the letter by the specified fixed intervals The step of number sequence is sampled to obtain sampled signal sequence after handling according to preset rules include:
Inversion operation is carried out to the signal sequence of the specified fixed intervals, obtains inverted signal sequence;
The inverted signal sequence is sampled according to the specified period, obtains sampled signal sequence.
4. noise measuring method as claimed in claim 3, which is characterized in that described to handle the sampled signal sequence Frequency-region signal is obtained, the step of spectrum signature to extract the sampled signal sequence includes:
Using Fast Fourier Transform (FFT) to extract the spectrum signature of the sampled signal sequence.
5. noise measuring method as claimed in claim 3, which is characterized in that described that the spectrum signature is weighted Obtain include to the step of voice signal corresponding noise figure:
The spectrum signature is calculated using A weighteds to obtain to the corresponding noise figure of the voice signal.
6. noise measuring method as claimed in claim 3, which is characterized in that described that the spectrum signature is weighted Obtain include to the step of voice signal corresponding noise figure:
When the value in the spectrum signature is in the first range, calculates the spectrum signature using A weighteds and obtain to the sound The corresponding noise figure of sound signal;
When the value in the spectrum signature is in the second range, calculates the spectrum signature using B weighteds and obtain to the sound The corresponding noise figure of sound signal;
When the value in the spectrum signature is within the scope of third, calculates the spectrum signature using C weighteds and obtain to the sound The corresponding noise figure of sound signal.
7. a kind of acoustic meter, which is characterized in that the acoustic meter includes:Sound transducer electrically connects with the sound transducer Conversion circuit, the processor with conversion circuit communication connection connect;
The conversion circuit obtains Square wave pulses letter for the voice signal received to be adjusted using pulsewidth modulation Number;
The processor is used to carry out the rectangular wave pulse signal period interpolation is taken to handle to obtain specified fixed intervals Signal sequence;It is sampled to obtain sampled signal sequence after the signal sequence of the specified fixed intervals is handled according to preset rules Row;It is handled the sampled signal sequence to obtain frequency-region signal, to extract the spectrum signature of the sampled signal sequence;It will The spectrum signature is weighted to obtain to the corresponding noise figure of the voice signal.
8. acoustic meter as claimed in claim 7, which is characterized in that the processor is additionally operable to obtain the arteries and veins of the voice signal The period is rushed, the pulse period corresponding discrete signal is obtained;Using interpolation method the discrete signal specified fixed intervals Time point position increase upper new value, form the signal sequence for specifying fixed intervals.
9. acoustic meter as claimed in claim 7, which is characterized in that the processor be also used for Fast Fourier Transform (FFT) with Extract the spectrum signature of the sampled signal sequence.
10. acoustic meter as claimed in claim 7, which is characterized in that the processor is also used for A weighteds and calculates the frequency Spectrum signature is obtained to the corresponding noise figure of the voice signal.
CN201810465314.7A 2018-05-16 2018-05-16 Noise measuring method and acoustic meter CN108332845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810465314.7A CN108332845B (en) 2018-05-16 2018-05-16 Noise measuring method and acoustic meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810465314.7A CN108332845B (en) 2018-05-16 2018-05-16 Noise measuring method and acoustic meter

Publications (2)

Publication Number Publication Date
CN108332845A CN108332845A (en) 2018-07-27
CN108332845B true CN108332845B (en) 2018-09-14

Family

ID=62935142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810465314.7A CN108332845B (en) 2018-05-16 2018-05-16 Noise measuring method and acoustic meter

Country Status (1)

Country Link
CN (1) CN108332845B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317169A (en) * 2005-09-26 2008-12-03 Ess技术公司 Low noise digital to pulse width modulated converter with audio applications
CN101425292A (en) * 2007-11-02 2009-05-06 华为技术有限公司 Decoding method and device for audio signal
CN103438991A (en) * 2013-09-11 2013-12-11 哈尔滨金大环境工程有限公司 Test method of environmental noise tester

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040002856A1 (en) * 2002-03-08 2004-01-01 Udaya Bhaskar Multi-rate frequency domain interpolative speech CODEC system
US8180634B2 (en) * 2008-02-21 2012-05-15 QNX Software Systems, Limited System that detects and identifies periodic interference

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317169A (en) * 2005-09-26 2008-12-03 Ess技术公司 Low noise digital to pulse width modulated converter with audio applications
CN101425292A (en) * 2007-11-02 2009-05-06 华为技术有限公司 Decoding method and device for audio signal
CN103438991A (en) * 2013-09-11 2013-12-11 哈尔滨金大环境工程有限公司 Test method of environmental noise tester

Also Published As

Publication number Publication date
CN108332845A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
US10605646B2 (en) Ultrasonic flow meter with subsampling of ultrasonic transducer signals
CN101403777B (en) Resistive current tester for great current zinc oxide lightning arrester
Sleeman et al. Three-channel correlation analysis: A new technique to measure instrumental noise of digitizers and seismic sensors
Jain et al. Exact model order ESPRIT technique for harmonics and interharmonics estimation
Kamwa et al. Robust detection and analysis of power system oscillations using the Teager-Kaiser energy operator
CN100485397C (en) Equipment for recording lightning stroke current intensity and occurrence time
CN100561162C (en) A kind of virtual oscillating table detection signal processing method and equipment thereof
Gani et al. A LabVIEW based data acquisition system for vibration monitoring and analysis
CN101600144B (en) Method and system for obtaining a plurality of parameters of electro-acoustic product by adopting continuous logarithmic swept-frequency signal
CN102680903A (en) Portable storage battery state detection system and method
CN104749498B (en) A kind of detection of Portable PD On-Line and diagnostic device
EP2018519A2 (en) Sensor adaptors and methods
US7788046B2 (en) Method for operating a magneto-inductive flow measuring device
CN100462725C (en) Electric power meter
WO2015085830A1 (en) Apparatus for testing dynamic characteristics of electronic energy meter
CN103344825B (en) Based on the electric energy metered system of AC sampling
CN103543331B (en) A kind of method calculating electric signal harmonic wave and m-Acetyl chlorophosphonazo
Martín et al. Low-cost open-source multifunction data acquisition system for accurate measurements
CN103926462B (en) Rapid harmonic wave analyzing method and device of power system
CN103257271A (en) Device and method for detecting micro grid harmonic wave and inter-harmonics based on STM32F107VCT6
CN201845051U (en) Three-phase intelligent electric energy meter
CN101701834B (en) Strong interference resistant digital vortex shedding flowmeter based on double sensors
CN103338429B (en) A kind of loudspeaker impedance measurement apparatus and its measuring method
CN104808056B (en) A kind of frequency characteristic test method and apparatus based on comparator conversion
TW201618562A (en) Isolation, extraction and evaluation of transient distortions from a composite signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant