[go: up one dir, main page]

CN119227436B - TEOAE feedback signal generation method and device based on software simulation - Google Patents

TEOAE feedback signal generation method and device based on software simulation Download PDF

Info

Publication number
CN119227436B
CN119227436B CN202411776115.XA CN202411776115A CN119227436B CN 119227436 B CN119227436 B CN 119227436B CN 202411776115 A CN202411776115 A CN 202411776115A CN 119227436 B CN119227436 B CN 119227436B
Authority
CN
China
Prior art keywords
signal
feedback
intensity
output signal
value
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.)
Active
Application number
CN202411776115.XA
Other languages
Chinese (zh)
Other versions
CN119227436A (en
Inventor
熊明华
王双杰
李耀祖
郭凯龙
洪炎烽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Aihua Instruments Co ltd
Original Assignee
Hangzhou Aihua Instruments Co ltd
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 Hangzhou Aihua Instruments Co ltd filed Critical Hangzhou Aihua Instruments Co ltd
Priority to CN202411776115.XA priority Critical patent/CN119227436B/en
Publication of CN119227436A publication Critical patent/CN119227436A/en
Application granted granted Critical
Publication of CN119227436B publication Critical patent/CN119227436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/12Audiometering
    • A61B5/121Audiometering evaluating hearing capacity
    • A61B5/123Audiometering evaluating hearing capacity subjective methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/217Validation; Performance evaluation; Active pattern learning techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • G06F2218/10Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • Surgery (AREA)
  • Molecular Biology (AREA)
  • Medical Informatics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Multimedia (AREA)
  • Acoustics & Sound (AREA)
  • Otolaryngology (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本申请公开了一种基于软件模拟的TEOAE反馈信号生成方法及装置,属于声信号处理技术领域,包括:对音频输入设备接收到的音频信号进行预处理,并根据预处理后的音频信号确定刺激信号强度;在预设的反馈强度关系表中查找与刺激信号强度相匹配的反馈强度值;根据反馈强度值计算输出信号值强度,并设置输出信号的波形类型及波形参数;生成输出信号,并根据输出信号进行反馈效果评估;若评估结果显示反馈效果未达到设定目标,则调整反馈强度关系表和波形参数并重新评估反馈效果,直至反馈效果达到设定目标。本申请能够生成包含特定频率成分的TEOAE反馈信号,并根据用户需求调整频率点的SNR值,提高了听力测试的准确性和可靠性。

The present application discloses a method and device for generating TEOAE feedback signals based on software simulation, which belongs to the field of acoustic signal processing technology, including: preprocessing the audio signal received by the audio input device, and determining the intensity of the stimulus signal according to the preprocessed audio signal; searching for the feedback intensity value matching the intensity of the stimulus signal in a preset feedback intensity relationship table; calculating the output signal value intensity according to the feedback intensity value, and setting the waveform type and waveform parameters of the output signal; generating an output signal, and evaluating the feedback effect according to the output signal; if the evaluation result shows that the feedback effect does not reach the set target, adjusting the feedback intensity relationship table and the waveform parameters and re-evaluating the feedback effect until the feedback effect reaches the set target. The present application can generate a TEOAE feedback signal containing a specific frequency component, and adjust the SNR value of the frequency point according to user needs, thereby improving the accuracy and reliability of the hearing test.

Description

TEOAE feedback signal generation method and device based on software simulation
Technical Field
The application relates to the technical field of acoustic signal processing, in particular to a TEOAE feedback signal generation method and device based on software simulation.
Background
Hearing health assessment plays a vital role in modern medicine, and Transient-induced otoacoustic emission (TEOAE) as a noninvasive, efficient hearing test method has been widely used in the fields of neonatal hearing screening, hearing impairment diagnosis, hearing rehabilitation effect assessment, and the like. The TEOAE test evaluates the functional state of the cochlea by sending a brief acoustic stimulus to the subject cochlea and detecting the weak acoustic response resulting therefrom, i.e., TEOAE feedback signals.
However, existing TEOAE testing techniques suffer from the following disadvantages:
1. existing TEOAE detection devices rely primarily on hardware to perform signal detection and feedback, and limitations in hardware performance prevent them from providing accurate feedback signals, which may lead to inaccurate hearing test results.
2. Most of the existing devices adopt fixed test parameters, and Signal-to-Noise Ratio (SNR) values of frequency points cannot be flexibly adjusted according to requirements of a setter. SNR is a key indicator for measuring signal quality and reflects the ratio between signal intensity and background noise intensity, and in TEOAE tests, SNR values at different frequency points have different importance for assessing hearing health status. Thus, this limitation in turn greatly limits the flexibility and customizable nature of the hearing test.
In addition, the prior art lacks an effective means to verify the performance of nonlinear differential averaging (Derived Nonlinearity Response, DNLR). The DNLR algorithm is a technique for processing otoacoustic emission signals and plays an important role in TEOAE measurements, particularly in eliminating stimulus artifacts. However, how to determine whether the DNLR algorithm can correctly process signals of different strengths does not give an explicit solution in the prior art.
Disclosure of Invention
The application aims to provide a TEOAE feedback signal generation method and device based on software simulation, which are used for solving the problem that in the prior art, a TEOAE detection device cannot provide an accurate feedback signal so as to possibly cause inaccurate hearing test results.
Another objective of the present application is to provide a method and an apparatus for generating a TEOAE feedback signal based on software simulation, so as to solve the problem that in the prior art, a TEOAE detection device mostly adopts fixed test parameters, and cannot flexibly adjust the signal to noise ratio of a frequency point according to a requirement of a setter.
It is still another object of the present application to provide a method and apparatus for generating a TEOAE feedback signal based on software simulation, so as to solve the problem that the prior art lacks an effective method for verifying the performance of the nonlinear differential averaging method.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect of the present application, a software simulation-based TEOAE feedback signal generating method is provided, including the steps of:
Preprocessing an audio signal received by audio input equipment, and determining the intensity of a stimulus signal according to the preprocessed audio signal;
Acquiring a preset feedback intensity relation table, and searching a feedback intensity value matched with the stimulation signal intensity in the feedback intensity relation table;
calculating the intensity of an output signal value according to the feedback intensity value, and setting the waveform type and waveform parameters of the output signal based on the intensity of the output signal value;
generating an output signal according to the waveform type and the waveform parameters, and evaluating a feedback effect according to the output signal;
and if the evaluation result shows that the feedback effect does not reach the set target, adjusting the feedback intensity relation table and the waveform parameters and re-evaluating the feedback effect until the feedback effect reaches the set target.
Preferably, the preprocessing the audio signal received by the audio input device and determining the stimulus signal intensity according to the preprocessed audio signal includes:
Collecting an audio signal received by audio input equipment and converting the audio signal into a digital signal;
Filtering the digital signal, and extracting first signal intensity from the filtered digital signal;
And judging whether the first signal intensity exceeds a set threshold value, and if so, extracting the stimulus signal intensity from the filtered digital signal.
Preferably, the setting the waveform type and waveform parameters of the output signal based on the output signal value intensity includes:
and selecting matched output signal waveforms according to the intensity of the output signal values, and setting waveform parameters, wherein the waveform parameters comprise sampling frequencies, signal duration time, a frequency component list and an intensity list of frequency components.
Preferably, the generating an output signal according to the waveform type and waveform parameters includes:
Calculating sampling points in the signal duration according to the sampling frequency and the signal duration, and generating a time axis based on the sampling points;
And determining a mathematical expression of the output signal according to the waveform type, and inputting corresponding data in the time axis, the frequency component list and the intensity list into the mathematical expression to obtain the output signal.
Preferably, the feedback effect evaluation according to the output signal includes:
Inputting the output signal into audio playing equipment for playing to obtain an acoustic signal;
Performing frequency spectrum analysis on the acoustic signal by utilizing fast Fourier transform to obtain frequency spectrum data, and extracting initial signal values of all frequency components from the frequency spectrum data;
And calculating the deviation between each initial signal value and the corresponding expected output value, and determining the feedback effect according to the calculation result.
Preferably, the determining the feedback effect according to the calculation result includes:
When the deviation of each initial signal value and the corresponding expected output value is not in the set range, judging that the feedback effect does not reach the set target, and taking the frequency component corresponding to the initial signal value with the deviation exceeding the set range as the object to be adjusted.
Preferably, the adjusting the feedback intensity relation table and the waveform parameters and re-evaluating the feedback effect includes:
Optimizing an initial signal value of the frequency component to be adjusted according to the deviation, and adjusting a feedback intensity value corresponding to the frequency component to be adjusted in the feedback intensity relation table, a signal duration time, a frequency component list and an intensity list of the frequency component in the waveform parameter according to the optimized signal value;
and recalculating an output signal according to the adjustment result, and evaluating the feedback effect according to the new output signal.
In a second aspect of the present application, there is provided a TEOAE feedback signal generating apparatus based on software simulation, comprising:
the preprocessing module is used for preprocessing the audio signals received by the audio input equipment and determining the strength of the stimulation signals according to the preprocessed audio signals;
The searching module is used for acquiring a preset feedback intensity relation table and searching a feedback intensity value matched with the stimulation signal intensity in the feedback intensity relation table;
The setting module is used for calculating the intensity of the output signal value according to the feedback intensity value and setting the waveform type and waveform parameters of the output signal based on the intensity of the output signal value;
The evaluation module is used for generating an output signal according to the waveform type and the waveform parameters and evaluating the feedback effect according to the output signal;
And the adjusting module is used for adjusting the feedback intensity relation table and the waveform parameters and re-evaluating the feedback effect if the evaluation result shows that the feedback effect does not reach the set target, until the feedback effect reaches the set target.
In a third aspect of the present application, there is provided an electronic device comprising a memory and a processor, the memory for storing one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement a software simulation based TEOAE feedback signal generating method as claimed in any one of the preceding claims.
In a fourth aspect of the present application, there is provided a computer-readable storage medium storing a computer program which, when executed by a computer, implements a software simulation-based TEOAE feedback signal generating method as set forth in any one of the above.
The application has the following beneficial effects:
1. The application ensures that feedback can be triggered only when the signal strength reaches a certain level through scientific and reasonable threshold setting, thereby effectively avoiding false triggering or missed triggering, further improving the accuracy and reliability of signal identification, and further checking the reflection of equipment under different signal strengths through setting different thresholds, thereby checking the qualification of DNLR algorithm, ensuring the reliability of TEOAE detection equipment in practical application and improving the trust degree of users on the TEOAE detection equipment.
2. According to the application, through optimizing the signal identification process, the TEOAE detection equipment can work stably in practical application, and an error result caused by false triggering or missed triggering is avoided.
3. According to the application, a user can self-define the feedback intensity relation table and the waveform parameters according to the requirements, different test requirements are met, and the adaptability and the flexibility of the TEOAE detection equipment are improved.
4. The method can generate the composite signal containing a plurality of frequency components, can be applied to more complex test scenes, such as the detection of TEOAE test equipment, and improves the test capability and application range of the TEOAE test equipment.
5. The application has a feedback adjustment mechanism, so that a user can adjust a feedback intensity relation table and waveform parameters according to an effect evaluation result, thereby optimizing a feedback effect and improving the self-adaptability and the optimizing capability of the equipment.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic flow chart of a software simulation-based TEOAE feedback signal generating method according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of a TEOAE feedback signal generating device based on software simulation according to an embodiment of the present application;
Fig. 3 is a schematic diagram of an electronic device for implementing a software simulation-based TEOAE feedback signal generating method according to an embodiment of the present application.
Detailed Description
In order to make the technical scheme of the application clearer, the application is further described in detail below with reference to the attached drawings and specific embodiments. The terms "first," "second," and the like in the claims and the description of the application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order, and it is to be understood that the terms so used may be interchanged, if appropriate, merely to describe the manner in which objects of the same nature are distinguished in the embodiments of the application by the description, and furthermore, the terms "comprise" and "have" and any variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a TEOAE feedback signal generating method based on software simulation according to the present embodiment. The TEOAE feedback signal generating method based on software simulation as shown in fig. 1 may be executed by a computer or a server, or software on the computer or the server, and specifically includes the following steps:
s110, preprocessing an audio signal received by audio input equipment, and determining the strength of a stimulus signal according to the preprocessed audio signal;
S120, acquiring a preset feedback intensity relation table, and searching a feedback intensity value matched with the intensity of the stimulation signal in the feedback intensity relation table;
s130, calculating the intensity of an output signal value according to the feedback intensity value, and setting the waveform type and waveform parameters of the output signal based on the intensity of the output signal value;
s140, generating an output signal according to the waveform type and the waveform parameters, and evaluating the feedback effect according to the output signal;
And S150, if the evaluation result shows that the feedback effect does not reach the set target, adjusting the feedback intensity relation table and the waveform parameters, and re-evaluating the feedback effect until the feedback effect reaches the set target.
According to the method and the device, the response of the human ear to the TEOAE stimulation signal is simulated to generate the feedback signal containing the specific frequency component, so that scientific and reasonable threshold setting is realized, feedback is ensured to be triggered only when the signal strength reaches a certain level, false triggering or missing triggering is effectively avoided, the accuracy and reliability of signal identification are improved, a user can customize a feedback intensity relation table and waveform parameters according to requirements, different test requirements are met, the adaptability and flexibility of the TEOAE detection device are improved, and meanwhile, a feedback adjustment mechanism is further provided, so that the user can adjust the feedback intensity relation table and the waveform parameters according to the feedback effect evaluation result, further, the feedback effect is optimized, and the self-adaptability and the optimizing capability of the device are improved.
Further, preprocessing an audio signal received by the audio input device, and determining a stimulus signal intensity according to the preprocessed audio signal, including:
collecting an audio signal received by audio input equipment and converting the audio signal into a digital signal;
filtering the digital signal, and extracting first signal intensity from the filtered digital signal;
And judging whether the first signal strength exceeds a set threshold value, and if so, extracting the stimulus signal strength from the filtered digital signal.
Firstly, the audio input device is connected to the acquisition device, preferably, the audio input device is a microphone, the acquisition device is used for acquiring an audio signal received by the microphone in real time, the audio signal is converted into a digital signal, then, filtering processing is carried out on the digital signal obtained through conversion to remove noise and interference, the signal quality is improved, and then, feature extraction is carried out on the filtered digital signal to obtain a first signal strength, preferably, a peak equivalent sound pressure level (peSPL) is calculated according to the filtered digital signal, and peSPL is a measurement mode of sound signal strength, particularly when a short-time sound signal is processed. Thus, in this embodiment, the obtaining the first signal strength is essentially the calculation peSPL.
A threshold of signal strength is set according to the actual requirement for determining whether to trigger feedback, and preferably, the threshold is set to 75dB peSPL in this embodiment. The basic idea of the nonlinear differential averaging DNLR method is that the intensity of the TEOAE feedback signal increases with the intensity of the stimulus signal when the stimulus signal is weak, and that the intensity of the TEOAE feedback signal tends to saturate when the stimulus signal is increased to about 70dB peSPL, and does not increase with the increase of the stimulus signal. The DNLR algorithm is the only method for eliminating the artifacts, and all the devices need to realize the TEOAE test, so that the situation of false triggering or missed triggering can be effectively avoided only by setting a scientific and reasonable threshold value, and the reflection of the TEOAE detection device under different signal intensities can be checked by setting different threshold values, so that whether the DNLR algorithm can process signals correctly is judged.
Comparing the obtained first signal strength with a set threshold value, if the first signal strength exceeds the set threshold value, the feedback is triggered, that is, the stimulus signal exists in the filtered digital signal, and the stimulus signal is extracted from the filtered digital signal to obtain the stimulus signal strength.
When a plurality of different thresholds are set, if the stimulus signal is judged to be present in the filtered digital signal under the high threshold and not under the low threshold, the DNLR algorithm is judged to be qualified because it can correctly process signals of different intensities. By checking the legitimacy of the DNLR algorithm, the reliability of the TEOAE detection equipment in practical application can be ensured, and the trust degree of the user on the equipment is further improved.
Then, a preset feedback intensity relation table is obtained, wherein the table can also be user-defined and set, different stimulus signal intensities and corresponding feedback intensity values are contained in the table, the corresponding feedback intensity values are searched in the table according to the extracted stimulus signal intensities, after the corresponding feedback intensity values are found, the output signal value intensity is calculated according to the searched feedback intensity values, specifically, the feedback intensity values are corrected to obtain the output signal value intensity, then a proper output waveform type is selected according to the output signal value intensity and actual requirements, and corresponding waveform parameters are set. In the process of generating the TEOAE feedback signal, the signal is finally output, but the signal is usually represented in the form of a waveform, specifically, the output signal is a time sequence, which represents sound pressure values at different time points, and the time sequence can be visualized as a waveform diagram, and can also be saved as an audio file (such as a WAV file) for further use or playing.
The waveform parameters include sampling frequency (sampling_rate), signal duration (duration), frequency component list (frequencies) and intensity list (amplitudes) of corresponding frequency components, preferably, in this embodiment, the output waveform type is sinusoidal waveform, sampling frequency is 64000Hz, signal duration is 0.008 seconds, frequency component list is [1000,1500,2000,3000,4000] Hz, elements therein represent frequency components contained in the signal, intensity list of frequency components is [0.9,0.05,0.05,0.05,0.05], elements therein represent intensities of frequency components, wherein the sampling frequency is not modifiable by system settings, and the signal duration, frequency component list and intensity list of frequency components can be adjusted to meet detection requirements of the oae detection device.
Further, generating an output signal according to the waveform type and the waveform parameters, comprising:
calculating sampling points in the signal duration according to the sampling frequency and the signal duration, and generating a time axis based on the sampling points;
And determining a mathematical expression of the output signal according to the waveform type, and inputting corresponding data in the time axis, the frequency component list and the intensity list into the mathematical expression to obtain the output signal.
Calculating the number of samples in the signal duration from the sampling frequency and the signal duration, in particular, the number of samples = sampling frequency x signal duration, generating a time axis using the linspace function in the Numpy library, the length of the time axis being the number of samples in the signal duration, wherein Numpy is the library in the programming language Python, a number of mathematical functions and operations are provided, in particular for the operation of an array (multidimensional array), in the Numpy library the linspace function is used to generate an arithmetic array which is evenly distributed between the specified start value (start) and end value (stop) and contains the specified number of samples, in a simple manner, the linspace function generates a one-dimensional array between the start value and end value in an equally spaced manner, the number of elements in the array being specified by the user, and at the same time a zero array (signal) of the same length as the time axis is created for storing the generated signal values.
Based on the selected output waveform type, a signal is generated using a corresponding mathematical expression for each frequency component, in this embodiment a sine waveform, and a sine function is used to generate the signal, specifically:
sifnal+=amp*sin(2*π*freq*t),
wherein sifnal + represents that the signal value corresponding to each frequency component in the frequency component list is accumulated into a zero array signal, amp is an array variable, wherein each element corresponds to the intensity of one frequency component, the array can be used for independently controlling the intensity of one specific frequency component to generate a signal with a single frequency, so that the test of the single frequency component is completed, and also can be used for simultaneously controlling the intensities of a plurality of frequency components to generate a composite signal, so that the test of a plurality of frequency components is completed in a combined way, f req represents the frequency of the frequency component, and t represents the time point on a time axis. By generating a composite signal containing a plurality of frequency components, the method can be applied to more complex test scenes, and the application range of the TEOAE detection equipment is increased.
Further, performing feedback effect evaluation according to the output signal, including:
inputting the output signal into audio playing equipment for playing to obtain an acoustic signal;
Processing the acoustic signal by using fast Fourier transform to obtain frequency spectrum data, and extracting initial signal values of all frequency components from the frequency spectrum data;
And calculating the deviation between each initial signal value and the corresponding expected output value, and determining the feedback effect according to the calculation result.
The calculated output waveform is output to an audio playing device, preferably, the audio playing device is a loudspeaker, the loudspeaker emits sound, the emitted sound is controlled according to the requirement, such as volume, and the sound signal in the loudspeaker is collected through a microphone or other acoustic sensors, so that the collected sound signal can accurately reflect the acoustic environment in the loudspeaker. Through the sound control function, output sound can be controlled according to the requirement, so that the expected effect is achieved, and the practicality and user experience of the TEOAE detection equipment are improved.
The acquired acoustic signal is subjected to spectrum analysis by using a Fast Fourier Transform (FFT), which is a mathematical transformation for converting a time domain signal into a frequency domain signal, and is capable of providing an intensity distribution of the signal at different frequencies, calculating an initial signal value of each frequency component, i.e., a spectrum signal value, according to the obtained spectrum data, essentially determining and quantifying an intensity (or amplitude) corresponding to each frequency component from the spectrum data of the signal, wherein the spectrum is a distribution diagram describing each frequency component and its corresponding intensity (or amplitude) in the signal, on the spectrum diagram, a horizontal axis represents the frequency component, a vertical axis represents the intensity (or amplitude) of the corresponding frequency component, and then calculating a deviation of each spectrum signal value from its corresponding expected output value, preferably E i=Hi-Hi set, wherein E i represents an i frequency error, H i represents an i-th spectrum signal value, H i set represents an expected output value corresponding to the i-th frequency component, i respectively taking 1000hz, 2000hz, 3000hz and 4000hz, and performing feedback evaluation according to the deviation.
Further, adjusting the feedback intensity relationship table and the waveform parameters and re-evaluating the feedback effect includes:
Optimizing an initial signal value of the frequency component to be adjusted according to the deviation, and adjusting a feedback intensity corresponding to the frequency component to be adjusted in a feedback intensity relation table, a signal duration time in a waveform parameter and an intensity list of the frequency component according to the optimized signal value;
and recalculating an output signal according to the adjustment result, and evaluating the feedback effect according to the new output signal.
If the obtained deviation exceeds the set range, it is determined that the feedback effect does not reach the set target, preferably, the set range is E i less than +/-1 dB, the frequency components corresponding to the initial signal values with the deviation exceeding the set range are taken as objects to be adjusted, the initial signal values of each object to be adjusted are optimized, specifically, for each object to be adjusted, if the deviation is positive and is too large, the signal values of the objects to be adjusted are considered to be too large, the signals of the frequency components are weakened, if the deviation is negative and is too large, the signal values of the objects to be adjusted are considered to be too small, the signals of the frequency components are enhanced, and the optimization process may need multiple iterations until the satisfactory output effect is achieved.
And adjusting the feedback intensity in the feedback intensity relation table, the signal duration time in the waveform parameter, the frequency component list and the intensity list of the frequency component according to the optimized frequency spectrum signal value.
And after all the adjustment is finished, carrying out feedback effect evaluation again to judge whether the feedback effect reaches the set target, and if the effect is still poor, repeating the parameter adjustment and feedback effect evaluation steps again until the feedback effect reaches the set target.
The TEOAE detection equipment is provided with a feedback adjustment mechanism, so that a user can adjust a feedback intensity relation table and waveform parameters according to an effect evaluation result, further, the feedback effect is optimized, and the self-adaptability and the optimizing capability of the equipment are improved.
Example 2
Fig. 2 is a schematic structural diagram of a TEOAE feedback signal generating device based on software simulation according to the present embodiment. As shown in fig. 2, the software simulation-based TEOAE feedback signal generating apparatus includes:
the preprocessing module is used for preprocessing the audio signals received by the audio input equipment and determining the strength of the stimulation signals according to the preprocessed audio signals;
The searching module is used for acquiring a preset feedback intensity relation table and searching a feedback intensity value matched with the intensity of the stimulation signal in the feedback intensity relation table;
The setting module is used for calculating the intensity of the output signal value according to the feedback intensity value and setting the waveform type and waveform parameters of the output signal based on the intensity of the output signal value;
The evaluation module is used for generating an output signal according to the waveform type and the waveform parameters and evaluating the feedback effect according to the output signal;
And the adjusting module is used for adjusting the feedback intensity relation table and the waveform parameters and re-evaluating the feedback effect if the evaluation result shows that the feedback effect does not reach the set target, until the feedback effect reaches the set target.
The method provided by the embodiment is used for realizing the method provided by all the embodiments, and has the corresponding beneficial effects of the method. Technical details not described in detail in this embodiment can be found in the methods provided in all the foregoing embodiments of the application.
Example 3
Fig. 3 is a schematic structural diagram of an electronic device according to the present embodiment. As shown in fig. 3, the electronic device includes a memory 301 and a processor 302, where the memory 301 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 302 to implement a software simulation-based TEOAE feedback signal generating method as described above.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the electronic device described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
A computer-readable storage medium storing a computer program which, when executed by a computer, causes the computer to implement a software simulation-based TEOAE feedback signal generating method as described above.
By way of example, a computer program may be divided into one or more modules/units stored in the memory 301 and executed by the processor 302 and completed by the input interface 305 and the output interface 306 to complete the present application, and one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in a computer device.
The computer device may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The computer device may include, but is not limited to, a memory 301, a processor 302, it will be understood by those skilled in the art that the present embodiment is merely an example of a computer device and is not limiting of a computer device, may include more or fewer components, or may combine certain components, or different components, e.g., a computer device may also include an input 307, a network access device, a bus, etc.
The Processor 302 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors 302, digital signal processors 302 (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor 302 may be a microprocessor 302 or the processor 302 may be any conventional processor 302 or the like.
The memory 301 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory 301 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, and further, the memory 301 may also include an internal storage unit of the computer device and an external storage device, the memory 301 may be used to store computer programs and other programs and data required by the computer device, and the memory 301 may also be used to temporarily store the programs and data in the output device 308, where the foregoing storage media include a usb disk, a removable hard disk, a read-only memory ROM303, a random access memory RAM304, a disk or an optical disk, and other various media that can store program codes.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (7)

1.一种基于软件模拟的TEOAE反馈信号生成方法,其特征在于,包括以下步骤:1. A method for generating TEOAE feedback signals based on software simulation, characterized in that it comprises the following steps: 对音频输入设备接收到的音频信号进行预处理,并根据预处理后的音频信号确定刺激信号强度;Preprocessing the audio signal received by the audio input device, and determining the intensity of the stimulation signal according to the preprocessed audio signal; 获取预设的反馈强度关系表,并在所述反馈强度关系表中查找与所述刺激信号强度相匹配的反馈强度值;Obtaining a preset feedback intensity relationship table, and searching the feedback intensity value matching the stimulation signal intensity in the feedback intensity relationship table; 根据所述反馈强度值计算输出信号值强度,并基于所述输出信号值强度设置输出信号的波形类型及波形参数,所述波形参数包括采样频率、信号持续时间、频率成分列表和频率成分的强度列表;Calculating the output signal value strength according to the feedback strength value, and setting the waveform type and waveform parameters of the output signal based on the output signal value strength, wherein the waveform parameters include sampling frequency, signal duration, frequency component list and frequency component strength list; 根据所述波形类型和波形参数生成输出信号,并根据所述输出信号进行反馈效果评估;generating an output signal according to the waveform type and waveform parameters, and evaluating the feedback effect according to the output signal; 若评估结果显示反馈效果未达到设定目标,则调整所述反馈强度关系表和波形参数并重新评估反馈效果,直至反馈效果达到设定目标;If the evaluation result shows that the feedback effect does not reach the set target, the feedback intensity relationship table and the waveform parameters are adjusted and the feedback effect is re-evaluated until the feedback effect reaches the set target; 其中,所述根据所述输出信号进行反馈效果评估,包括:Wherein, the evaluating of feedback effect according to the output signal comprises: 将所述输出信号输入音频播放设备进行播放,得到声信号;Inputting the output signal into an audio playback device for playback to obtain a sound signal; 利用快速傅里叶变换对所述声信号进行频谱分析得到频谱数据,从所述频谱数据中提取出各个频率成分的初始信号值;Performing spectrum analysis on the acoustic signal using fast Fourier transform to obtain spectrum data, and extracting initial signal values of each frequency component from the spectrum data; 计算各个初始信号值与其对应的预期输出值的偏差,并根据计算结果确定反馈效果,包括:Calculate the deviation between each initial signal value and its corresponding expected output value, and determine the feedback effect based on the calculation result, including: 当各个初始信号值与其对应的预期输出值的偏差未均在设定范围内时,判定反馈效果未达到设定目标,则将偏差超过设定范围的初始信号值对应的频率成分作为待调整对象;When the deviations between the initial signal values and the corresponding expected output values are not all within the set range, it is determined that the feedback effect does not reach the set target, and the frequency components corresponding to the initial signal values whose deviations exceed the set range are taken as the objects to be adjusted; 所述调整所述反馈强度关系表和波形参数并重新评估反馈效果,包括:The adjusting the feedback intensity relationship table and the waveform parameters and re-evaluating the feedback effect includes: 根据所述偏差优化待调整频率成分的初始信号值,并根据优化后的信号值调整所述反馈强度关系表中所述待调整频率成分对应的反馈强度值及所述波形参数中的信号持续时间、频率成分列表和频率成分的强度列表;Optimizing the initial signal value of the frequency component to be adjusted according to the deviation, and adjusting the feedback intensity value corresponding to the frequency component to be adjusted in the feedback intensity relationship table and the signal duration, frequency component list and frequency component intensity list in the waveform parameters according to the optimized signal value; 根据调整结果重新计算输出信号,并根据新的输出信号进行反馈效果评估。The output signal is recalculated according to the adjustment result, and the feedback effect is evaluated based on the new output signal. 2.根据权利要求1所述的一种基于软件模拟的TEOAE反馈信号生成方法,其特征在于,所述对音频输入设备接收到的音频信号进行预处理,并根据预处理后的音频信号确定刺激信号强度,包括:2. A method for generating TEOAE feedback signals based on software simulation according to claim 1, characterized in that the step of preprocessing the audio signal received by the audio input device and determining the intensity of the stimulation signal according to the preprocessed audio signal comprises: 采集音频输入设备接收到的音频信号,并将所述音频信号转换为数字信号;Collecting audio signals received by an audio input device and converting the audio signals into digital signals; 对所述数字信号进行滤波处理,并从滤波后的数字信号中提取出第一信号强度;Filtering the digital signal, and extracting a first signal strength from the filtered digital signal; 判断所述第一信号强度是否超过设定阈值,若是,则从滤波后的数字信号中提取出刺激信号强度。It is determined whether the first signal strength exceeds a set threshold, and if so, the stimulation signal strength is extracted from the filtered digital signal. 3.根据权利要求1所述的一种基于软件模拟的TEOAE反馈信号生成方法,其特征在于,所述基于所述输出信号值强度设置输出信号的波形类型及波形参数,包括:3. A method for generating a TEOAE feedback signal based on software simulation according to claim 1, characterized in that the waveform type and waveform parameters of the output signal are set based on the output signal value intensity, comprising: 根据所述输出信号值强度选择相匹配的输出信号波形,并设置波形参数。A matching output signal waveform is selected according to the output signal value strength, and waveform parameters are set. 4.根据权利要求3所述的一种基于软件模拟的TEOAE反馈信号生成方法,其特征在于,所述根据所述波形类型和波形参数生成输出信号,包括:4. The method for generating a TEOAE feedback signal based on software simulation according to claim 3, wherein generating an output signal according to the waveform type and waveform parameters comprises: 根据所述采样频率和所述信号持续时间计算信号持续时间内的采样点数,并基于所述采样点数生成时间轴;Calculating the number of sampling points within the signal duration according to the sampling frequency and the signal duration, and generating a time axis based on the number of sampling points; 根据所述波形类型确定输出信号的数学表达式,将所述时间轴、频率成分列表和强度列表中的对应数据输入所述数学表达式中得到输出信号。A mathematical expression of an output signal is determined according to the waveform type, and corresponding data in the time axis, frequency component list and intensity list are input into the mathematical expression to obtain an output signal. 5.一种基于软件模拟的TEOAE反馈信号生成装置,其特征在于,包括:5. A TEOAE feedback signal generating device based on software simulation, characterized by comprising: 预处理模块,用于对音频输入设备接收到的音频信号进行预处理,并根据预处理后的音频信号确定刺激信号强度;A preprocessing module, used to preprocess the audio signal received by the audio input device, and determine the intensity of the stimulation signal according to the preprocessed audio signal; 查找模块,用于获取预设的反馈强度关系表,并在所述反馈强度关系表中查找与所述刺激信号强度相匹配的反馈强度值;A search module, used to obtain a preset feedback intensity relationship table, and search the feedback intensity value matching the stimulation signal intensity in the feedback intensity relationship table; 设置模块,用于根据所述反馈强度值计算输出信号值强度,并基于所述输出信号值强度设置输出信号的波形类型及波形参数,所述波形参数包括采样频率、信号持续时间、频率成分列表和频率成分的强度列表;A setting module, used to calculate the output signal value strength according to the feedback strength value, and set the waveform type and waveform parameters of the output signal based on the output signal value strength, wherein the waveform parameters include sampling frequency, signal duration, frequency component list and frequency component strength list; 评估模块,用于根据所述波形类型和波形参数生成输出信号,并根据所述输出信号进行反馈效果评估;An evaluation module, used to generate an output signal according to the waveform type and waveform parameters, and to evaluate the feedback effect according to the output signal; 调整模块,用于若评估结果显示反馈效果未达到设定目标,则调整所述反馈强度关系表和波形参数并重新评估反馈效果,直至反馈效果达到设定目标;An adjustment module, configured to adjust the feedback intensity relationship table and waveform parameters and re-evaluate the feedback effect if the evaluation result shows that the feedback effect does not reach the set target, until the feedback effect reaches the set target; 其中,所述评估模块的根据所述输出信号进行反馈效果评估,包括:The evaluation module performs feedback effect evaluation according to the output signal, including: 将所述输出信号输入音频播放设备进行播放,得到声信号;Inputting the output signal into an audio playback device for playback to obtain a sound signal; 利用快速傅里叶变换对所述声信号进行频谱分析得到频谱数据,从所述频谱数据中提取出各个频率成分的初始信号值;Performing spectrum analysis on the acoustic signal using fast Fourier transform to obtain spectrum data, and extracting initial signal values of each frequency component from the spectrum data; 计算各个初始信号值与其对应的预期输出值的偏差,并根据计算结果确定反馈效果,包括:Calculate the deviation between each initial signal value and its corresponding expected output value, and determine the feedback effect based on the calculation result, including: 当各个初始信号值与其对应的预期输出值的偏差未均在设定范围内时,判定反馈效果未达到设定目标,则将偏差超过设定范围的初始信号值对应的频率成分作为待调整对象;When the deviations between the initial signal values and the corresponding expected output values are not all within the set range, it is determined that the feedback effect does not reach the set target, and the frequency components corresponding to the initial signal values whose deviations exceed the set range are taken as the objects to be adjusted; 所述调整模块的调整所述反馈强度关系表和波形参数并重新评估反馈效果,包括:The adjusting module adjusts the feedback intensity relationship table and waveform parameters and re-evaluates the feedback effect, including: 根据所述偏差优化待调整频率成分的初始信号值,并根据优化后的信号值调整所述反馈强度关系表中所述待调整频率成分对应的反馈强度值及所述波形参数中的信号持续时间、频率成分列表和频率成分的强度列表;Optimizing the initial signal value of the frequency component to be adjusted according to the deviation, and adjusting the feedback intensity value corresponding to the frequency component to be adjusted in the feedback intensity relationship table and the signal duration, frequency component list and frequency component intensity list in the waveform parameters according to the optimized signal value; 根据调整结果重新计算输出信号,并根据新的输出信号进行反馈效果评估。The output signal is recalculated according to the adjustment result, and the feedback effect is evaluated based on the new output signal. 6.一种电子设备,其特征在于,包括存储器和处理器,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现如权利要求1~4中任一项所述的一种基于软件模拟的TEOAE反馈信号生成方法。6. An electronic device, characterized in that it includes a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement a TEOAE feedback signal generation method based on software simulation as described in any one of claims 1 to 4. 7.一种存储有计算机程序的计算机可读存储介质,其特征在于,所述计算机程序使计算机执行时实现如权利要求1~4中任一项所述的一种基于软件模拟的TEOAE反馈信号生成方法。7. A computer-readable storage medium storing a computer program, wherein the computer program enables a computer to implement a TEOAE feedback signal generation method based on software simulation as described in any one of claims 1 to 4 when executed.
CN202411776115.XA 2024-12-05 2024-12-05 TEOAE feedback signal generation method and device based on software simulation Active CN119227436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411776115.XA CN119227436B (en) 2024-12-05 2024-12-05 TEOAE feedback signal generation method and device based on software simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411776115.XA CN119227436B (en) 2024-12-05 2024-12-05 TEOAE feedback signal generation method and device based on software simulation

Publications (2)

Publication Number Publication Date
CN119227436A CN119227436A (en) 2024-12-31
CN119227436B true CN119227436B (en) 2025-02-28

Family

ID=93944024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411776115.XA Active CN119227436B (en) 2024-12-05 2024-12-05 TEOAE feedback signal generation method and device based on software simulation

Country Status (1)

Country Link
CN (1) CN119227436B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115706885A (en) * 2021-08-13 2023-02-17 Oppo广东移动通信有限公司 Audio signal compensation method and device, earphone and storage medium
CN118555528A (en) * 2024-05-14 2024-08-27 无锡清耳话声科技有限公司 Otoacoustic emission signal detection method and device, electronic equipment and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452615B (en) * 2016-09-30 2019-01-29 维沃移动通信有限公司 A kind of RF calibration method and mobile terminal
CN108209934B (en) * 2018-01-11 2020-10-09 清华大学 Auditory sensitivity detection system based on stimulus frequency otoacoustic emission
CN110960224B (en) * 2019-12-31 2021-08-10 杭州耳青聪科技有限公司 Hearing threshold and/or hearing status detection systems and methods
EP3873105B1 (en) * 2020-02-27 2023-08-09 Harman International Industries, Incorporated System and methods for audio signal evaluation and adjustment
CN111477299B (en) * 2020-04-08 2023-01-03 广州艾博润医疗科技有限公司 Method and device for regulating and controlling sound-electricity stimulation nerves by combining electroencephalogram detection and analysis control
CN115209292A (en) * 2021-04-14 2022-10-18 Oppo广东移动通信有限公司 Audio signal compensation method and device, earphone and storage medium
US11503415B1 (en) * 2021-04-23 2022-11-15 Eargo, Inc. Detection of feedback path change
CN116506782A (en) * 2022-01-18 2023-07-28 Oppo广东移动通信有限公司 Hearing detection method and device, earphone device, storage medium
CN116506783A (en) * 2022-01-18 2023-07-28 Oppo广东移动通信有限公司 Hearing detection method and device, earphone device, storage medium
CN115736906B (en) * 2022-12-14 2024-12-10 杭州爱思维仪器有限公司 A method for improving the accuracy of DPOAE test using spectral estimation method
CN117835134A (en) * 2023-12-22 2024-04-05 惠州市锦好医疗科技股份有限公司 Hearing aid gain self-adaption method, device, equipment and storage medium
CN118217530B (en) * 2024-03-21 2024-10-11 无锡市精神卫生中心 Monitoring control method and system for direct current stimulation instrument
CN118509788B (en) * 2024-07-12 2024-10-18 杭州爱华仪器有限公司 System and detection method for simulating otoacoustic emission signals
CN118963559B (en) * 2024-10-15 2024-12-13 小舟科技有限公司 Electroencephalogram signal-based adaptive concentration training method, device and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115706885A (en) * 2021-08-13 2023-02-17 Oppo广东移动通信有限公司 Audio signal compensation method and device, earphone and storage medium
CN118555528A (en) * 2024-05-14 2024-08-27 无锡清耳话声科技有限公司 Otoacoustic emission signal detection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN119227436A (en) 2024-12-31

Similar Documents

Publication Publication Date Title
RU2018123713A (en) DEVICES, SYSTEMS AND METHODS FOR FORECASTING, SCREENING AND CONTROL OF Encephalopathy / DELIRIA
US9279839B2 (en) Domain identification and separation for precision measurement of waveforms
CN108200526A (en) A kind of sound equipment adjustment method and device based on confidence level curve
CN110974189A (en) Method, device, equipment and system for detecting signal quality of pulse wave
US20240257347A1 (en) Tissue identification and classification based on vibrational signatures
CN106710602A (en) Acoustic reverberation time estimation method and device
JP5077847B2 (en) Reverberation time estimation apparatus and reverberation time estimation method
CN119227436B (en) TEOAE feedback signal generation method and device based on software simulation
JPH1080409A (en) Induced waveform calculating device
CN109389993A (en) A kind of data under voice method, apparatus, equipment and storage medium
CN119170178A (en) Ultrasonic parameter monitoring method, device, computer equipment and storage medium
CN117153168A (en) Detection and extraction methods, systems, equipment and media for cetacean echolocation signals
US20130211273A1 (en) Method and apparatus for heart rate measurement
TWI743842B (en) Method and system for processing electroencephalogram signal
JP4931927B2 (en) Signal recognition method using a microcontroller
CN114935604A (en) Two-dimensional micro-damage localization method and device based on Duffing oscillator
CN110032758B (en) Method, apparatus and computer storage medium for calculating energy of electric signal
CN113223700A (en) Traditional Chinese medicine pulse condition identification method and device based on pulse condition data
CN107561328B (en) A kind of signal data generation method and device for simulating hardware
D'Elia et al. Software customization to provide digital oscilloscope with enhanced period-measurement features
JP6715529B2 (en) Body sound analysis device, body sound analysis method, computer program, and recording medium
CN118050179A (en) Environmental noise detection method, device, vehicle and quality inspection production line
CN113419626B (en) Method and device for analyzing steady-state cognitive response based on sound stimulation sequence
US12058498B2 (en) Noise detection device and method thereof
CN114548189B (en) Method and device for detecting prothrombin time and computer readable storage medium

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