[go: up one dir, main page]

CN114376609A - Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium - Google Patents

Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium Download PDF

Info

Publication number
CN114376609A
CN114376609A CN202210285932.XA CN202210285932A CN114376609A CN 114376609 A CN114376609 A CN 114376609A CN 202210285932 A CN202210285932 A CN 202210285932A CN 114376609 A CN114376609 A CN 114376609A
Authority
CN
China
Prior art keywords
sound
sound signal
signal
calculated
fpga controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210285932.XA
Other languages
Chinese (zh)
Other versions
CN114376609B (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.)
Ji Hua Laboratory
Original Assignee
Ji Hua Laboratory
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 Ji Hua Laboratory filed Critical Ji Hua Laboratory
Priority to CN202210285932.XA priority Critical patent/CN114376609B/en
Publication of CN114376609A publication Critical patent/CN114376609A/en
Application granted granted Critical
Publication of CN114376609B publication Critical patent/CN114376609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/12Diagnosis using ultrasonic, sonic or infrasonic waves in body cavities or body tracts, e.g. by using catheters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/48Diagnostic techniques

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Pathology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)

Abstract

The invention discloses a nasal sound reflectometer, a nasal airway measuring method, measuring equipment and a medium, wherein the method comprises the following steps: after the upper computer detects the starting detection signal, the electric spark generating device is controlled to periodically discharge based on the FPGA controller; recording a sound signal generated after the electric spark generating device carries out periodic discharge based on a microphone sampling device arranged in the sound wave guide pipe; after the sound signals in the microphone sampling device are read and stored through the FPGA controller, the sound signals stored in the FPGA controller are sent to an upper computer for calculation, and a nasal airway measuring result is obtained. Through with the sound source by the extremely short electric spark of pulse replacement for the speaker, shortened the length of required sound wave pipe, and then avoid the problem that the nasal air flue measurement accuracy descends because of helical structure's sound wave pipe leads to, through handling the calculation to the sound signal of gathering many times in succession, further promote nasal air flue measurement's stability and measurement accuracy.

Description

鼻声反射仪、鼻气道测量方法、测量设备和介质Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium

技术领域technical field

本发明涉及鼻声反射仪技术领域,特别涉及一种鼻声反射仪、鼻气道测量方法、测量设备及计算机可读存储介质。The present invention relates to the technical field of nasal acoustic reflectometers, in particular to a nasal acoustic reflectometer, a nasal airway measurement method, a measurement device and a computer-readable storage medium.

背景技术Background technique

现有的用于鼻气道测量的鼻声反射仪通常使用扬声器作为声源,利用麦克风收集回波信息后,采用WA算法或者其他的逆散射计算算法根据入射信号的冲激响应计算待测腔体内部的情况。Existing nasal acoustic reflectometers for nasal airway measurement usually use speakers as sound sources, and use microphones to collect echo information, then use WA algorithm or other inverse scattering calculation algorithms to calculate the cavity to be measured according to the impulse response of the incident signal. internal situation.

但现有技术中存在,在计算入射信号的冲激响应时,需要将入射脉冲和回波信号进行有效分离,而因为作为声源的扬声器会使得脉冲时间较长,因此必须使用较长的声波导管才能保证入射脉冲和回波信号的有效分离,而在现有的鼻声反射仪的声波导管的设计中,通常都将声波导管做成螺旋结构以减小在鼻声反射仪中所占用的体积,但使用软管制成螺旋声波导管时,会因软管内径易发生变化导致鼻声反射仪不能够精确测量出待测腔体的内部情况,而使用刚管作为声波导管时,存在制作工艺复杂和导管内径横截面不均匀导致测量精度下降的问题。However, in the prior art, when calculating the impulse response of the incident signal, it is necessary to effectively separate the incident pulse and the echo signal, and because the loudspeaker as the sound source will make the pulse time longer, a longer sound wave must be used The catheter can ensure the effective separation of the incident pulse and the echo signal. In the design of the acoustic waveguide of the existing nasal acoustic reflector, the acoustic waveguide is usually made into a spiral structure to reduce the volume occupied in the nasal acoustic reflector. However, when a hose is used to make a spiral acoustic waveguide, the nasal acoustic reflectometer cannot accurately measure the internal conditions of the cavity to be measured due to the easy change of the inner diameter of the hose. The problem that the measurement accuracy is reduced due to the uneven cross-section of the inner diameter of the catheter.

因此,现有的鼻声反射仪存在因较长的声波导管螺旋结构的设计问题,导致鼻气道测量结果在输出时存在精度性较低和测量稳定性较差的问题。Therefore, the existing nasal acoustic reflectometer has the problems of low accuracy and poor measurement stability in the output of nasal airway measurement results due to the design problem of the long helical structure of the acoustic waveguide.

发明内容SUMMARY OF THE INVENTION

本发明的主要目的是提出一种鼻声反射仪、鼻气道测量方法、测量设备及计算机可读存储介质,旨在如何解决现有的鼻声反射仪存在因较长的声波导管螺旋结构的设计问题,导致鼻气道测量结果在输出时存在精度性较低的问题的技术问题。The main purpose of the present invention is to propose a nasal acoustic reflector, a nasal airway measurement method, a measuring device and a computer-readable storage medium, aiming at how to solve the design problem of the existing nasal acoustic reflector due to the long helical structure of the acoustic waveguide , a technical problem that leads to the problem of low accuracy in the output of nasal airway measurement results.

为实现上述目的,本发明提供一种鼻声反射仪,其特征在于,所述鼻声反射仪包括:In order to achieve the above object, the present invention provides a nasal acoustic reflector, characterized in that the nasal acoustic reflector comprises:

上位机;host computer;

FPGA控制器,所述FPGA控制器与所述上位机建立通信连接;FPGA controller, the FPGA controller establishes a communication connection with the host computer;

电火花发生装置,所述电火花发生装置与所述FPGA控制器建立通信连接;an electric spark generating device, the electric spark generating device establishes a communication connection with the FPGA controller;

声波导管,所述声波导管与所述电火花发生装置建立连接;a sound wave guide, the sound wave guide is connected with the electric spark generating device;

麦克风采样装置,所述麦克风采样装置安置在所述声波导管中;a microphone sampling device disposed in the acoustic waveguide;

FPGA控制器,所述FPGA控制器与所述麦克风采样装置建立通信连接。an FPGA controller, where the FPGA controller establishes a communication connection with the microphone sampling device.

可选地,所述电火花发生装置包括control端、放电电极、第一线圈、第二线圈、第三线圈、第四线圈、第五线圈、第一电阻、第二电阻、第三电阻、第四电阻、第五电阻、第一二极管、第二二极管、第三二极管、电容、三极管和电池;Optionally, the electric spark generating device includes a control terminal, a discharge electrode, a first coil, a second coil, a third coil, a fourth coil, a fifth coil, a first resistor, a second resistor, a third resistor, a third Four resistors, fifth resistors, first diode, second diode, third diode, capacitor, triode and battery;

所述control端的输出端连接所述第一电阻的一端,所述第一电阻的另一端连接所述第二二极管的门极,所述第二二极管的负极连接所述电池的负极,所述电池的正极连接所述三极管的发射极,所述三极管的基极连接所述第三电阻的一端,所述第三电阻的另一端连接所述第二线圈的一端,所述第二线圈的另一端连接所述第二电阻的一端,所述第二电阻的另一端连接所述第二二极管的正极,所述第一线圈的一端接在所述第二线圈和第二电阻的连接线上,所述第一线圈的另一端连接所述三极管的集电极;The output end of the control end is connected to one end of the first resistor, the other end of the first resistor is connected to the gate of the second diode, and the negative electrode of the second diode is connected to the negative electrode of the battery , the anode of the battery is connected to the emitter of the triode, the base of the triode is connected to one end of the third resistor, the other end of the third resistor is connected to one end of the second coil, the second The other end of the coil is connected to one end of the second resistor, the other end of the second resistor is connected to the anode of the second diode, and one end of the first coil is connected to the second coil and the second resistor The other end of the first coil is connected to the collector of the triode;

所述第三线圈的一端与所述第三电阻进行连接,所述第三线圈的另一端连接所述第一二极管的正极,所述第一二极管的负极连接所述电容的一端,所述电容的另一端连接所述第四线圈的一端;One end of the third coil is connected to the third resistor, the other end of the third coil is connected to the anode of the first diode, and the cathode of the first diode is connected to one end of the capacitor , the other end of the capacitor is connected to one end of the fourth coil;

所述第四电阻和第五电阻串联,所述第三二极管的门极接在所述第四电阻和第五电阻的连接点上,所述第四电阻、第五电阻和第三二极管与所述第四线圈和所述第三线圈并联;The fourth resistor and the fifth resistor are connected in series, the gate of the third diode is connected to the connection point of the fourth resistor and the fifth resistor, and the fourth resistor, the fifth resistor and the third a pole tube is connected in parallel with the fourth coil and the third coil;

所述第五线圈与所述第四线圈相对,所述放电电极接在所述第五线圈的两端上;The fifth coil is opposite to the fourth coil, and the discharge electrode is connected to both ends of the fifth coil;

所述control端,用于接收所述FPGA控制器发送的预设直流电源;The control terminal is used to receive the preset DC power supply sent by the FPGA controller;

所述放电电极,用于在所述control端接收到所述预设直流电源后进行周期性放电。The discharge electrode is configured to perform periodic discharge after the control terminal receives the preset DC power supply.

本发明还提供一种鼻气道测量方法,所述鼻气道测量方法包括以下步骤:The present invention also provides a nasal airway measurement method, the nasal airway measurement method comprising the following steps:

通过所述上位机检测到启动检测信号后,基于所述FPGA控制器控制所述电火花发生装置进行周期性放电;After the start detection signal is detected by the host computer, the electric spark generating device is controlled to perform periodic discharge based on the FPGA controller;

基于所述声波导管中的所述麦克风采样装置记录所述电火花发生装置进行周期性放电后产生的声音信号;Based on the microphone sampling device in the sound wave guide, recording the sound signal generated after the electric spark generating device performs periodic discharge;

通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后,将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果。After the sound signal in the microphone sampling device is read and stored by the FPGA controller, the first sound signal to be calculated stored in the FPGA controller is sent to the host computer for calculation , to obtain nasal airway measurements.

可选地,所述FPGA控制器控制所述电火花发生装置进行周期性放电的步骤包括:Optionally, the step of the FPGA controller controlling the electric spark generating device to perform periodic discharge includes:

基于所述FPGA控制器在所述电火花发生装置的control端上施加预设直流电压,控制所述电火花发生装置的放电电极进行周期性放电。Based on the FPGA controller applying a preset DC voltage to the control terminal of the electric spark generating device, the discharge electrode of the electric spark generating device is controlled to perform periodic discharge.

可选地,所述通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后的步骤包括:Optionally, the step of reading and storing the sound signal in the microphone sampling device by the FPGA controller includes:

通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取;The sound signal in the microphone sampling device is read by the FPGA controller;

判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号;Judging whether the read sound signal is the first to-be-calculated sound signal with an initial portion;

若读取的所述声音信号为具有起始部分的第一待计算声音信号,则将所述control端的电压拉低,同时对所述第一待计算声音信号进行存储;If the read sound signal is the first sound signal to be calculated with a starting part, the voltage of the control terminal is pulled down, and the first sound signal to be calculated is stored at the same time;

若读取的所述声音信号不为具有起始部分的第一待计算声音信号,则保持所述control端的高电压,并将所述声音信号进行剔除。If the read sound signal is not the first to-be-calculated sound signal with the starting part, the high voltage of the control terminal is maintained, and the sound signal is eliminated.

可选地,所述判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号的步骤包括:Optionally, the step of judging whether the read sound signal is the first to-be-calculated sound signal with an initial portion includes:

判断所述声音信号所处的地址是否属于所述FPGA控制器的内存数据库中的循环存储区;Judging whether the address where the sound signal is located belongs to the loop storage area in the memory database of the FPGA controller;

若所述声音信号所处的地址属于所述FPGA控制器的内存数据库中的循环存储区,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号;If the address at which the sound signal is located belongs to the cyclic storage area in the memory database of the FPGA controller, then it is determined that the sound signal read is the first sound signal to be calculated with an initial portion;

若所述声音信号所处的地址不属于所述FPGA控制器的内存数据库中的循环存储区,则判断所述声音信号是否触发预设存储条件;If the address where the sound signal is located does not belong to the cyclic storage area in the memory database of the FPGA controller, then determine whether the sound signal triggers a preset storage condition;

若所述声音信号触发预设存储条件,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号。If the sound signal triggers the preset storage condition, it is determined that the read sound signal is the first to-be-calculated sound signal having a starting part.

可选地,所述将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果的步骤包括:Optionally, the step of sending the first to-be-calculated sound signal stored in the FPGA controller to the host computer for calculation, and obtaining a nasal airway measurement result includes:

将所述第一待计算声音信号通过所述FPGA控制器发送至所述上位机中;Sending the first sound signal to be calculated to the host computer through the FPGA controller;

通过PCA降维空间法对所述第一待计算声音信号进行压缩降维后,在降维空间中得到第一低维待计算声音信号;After compressing and reducing the dimension of the first sound signal to be calculated by the PCA dimensionality reduction space method, a first low-dimensional sound signal to be calculated is obtained in the dimensionality reduction space;

基于预设比例,在所述第一低维待计算声音信号中将偏离所述第一低维待计算声音信号的中心位置的异常信号进行剔除,得到第二低维待计算声音信号;Based on the preset ratio, the abnormal signals that deviate from the center position of the first low-dimensional sound signal to be calculated are eliminated from the first low-dimensional sound signal to be calculated to obtain a second low-dimensional sound signal to be calculated;

将所述第二低维待计算声音信号作为提取样本,在所述第一待计算声音信号中进行与所述第二低维待计算声音信号对应的待计算声音信号的提取,得到第二待计算声音信号;Taking the second low-dimensional sound signal to be calculated as an extraction sample, extracting the to-be-calculated sound signal corresponding to the second low-dimensional to-be-calculated sound signal in the first to-be-calculated sound signal to obtain a second to-be-calculated sound signal. calculate the sound signal;

基于互相关定位法对所述第二待计算声音信号进行拆分,得到第一声音入射波脉冲信号和第一声音回波信号和基线信号;Splitting the second sound signal to be calculated based on the cross-correlation localization method to obtain the first sound incident wave pulse signal, the first sound echo signal and the baseline signal;

通过补偿方法将所述第一声音入射波脉冲信号和第一声音回波信号中的所述基线信号去除,得到第二声音入射波脉冲信号和第二声音回波信号;The baseline signal in the first sound incident wave pulse signal and the first sound echo signal is removed by a compensation method to obtain a second sound incident wave pulse signal and a second sound echo signal;

基于快速傅里叶变换算法对所述第二声音入射波脉冲信号和第二声音回波信号进行快速傅里叶变换,得到第三声音入射波脉冲信号和第三声音回波信号;Fast Fourier transform is performed on the second sound incident wave pulse signal and the second sound echo signal based on the fast Fourier transform algorithm to obtain the third sound incident wave pulse signal and the third sound echo signal;

基于所述第三声音入射波脉冲信号和第三声音回波信号进行冲激响应h(t)值的计算,得到h(t)值,并将所述h(t)值进行平均后,基于WA算法进行计算获得所述鼻气道测量结果。Calculate the h(t) value of the impulse response based on the third sound incident wave pulse signal and the third sound echo signal to obtain the h(t) value, and after averaging the h(t) value, based on The WA algorithm performs calculations to obtain the nasal airway measurements.

可选地,所述得到鼻气道测量结果的步骤之后,还包括:Optionally, after the step of obtaining the nasal airway measurement result, it also includes:

通过所述上位机的显示端对所述鼻气道测量结果进行显示。The nasal airway measurement result is displayed through the display end of the upper computer.

此外,为实现上述目的,本发明还提供一种测量设备,所述测量设备包括鼻声反射仪、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述计算机程序被处理器执行时实现上述鼻气道测量方法的步骤。In addition, in order to achieve the above object, the present invention also provides a measuring device, the measuring device includes a nasal acoustic reflectometer, a memory, a processor and a computer program stored in the memory and running on the processor, the computer program being The processor implements the steps of the above-mentioned nasal airway measurement method when executed.

此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述鼻气道测量方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned nasal airway measurement method are realized .

本发明中通过以电火花发生装置所能产生的电火花作为声源,解决脉冲时间较长而不得不使用螺旋结构的长声波导管所引起的入射脉冲和回波信息在传输的过程中存在的不稳定性,使得输出的鼻气道测量结果存在精度性较低的问题,通过对麦克风采集声音信号进行存储,避免因与上位机之间的串口通信速度低于信号采样速率而导致的在发送过程中存在的声音信号丢失的问题,通过采用互相关定位法、PCA降维空间剔除算法以及冲激响应ht平均算法对采集的声音信号进行计算处理,提高计算结果的精准度和抗干扰能力。In the present invention, the electric spark that can be generated by the electric spark generating device is used as the sound source, so as to solve the problem of the incident pulse and echo information in the transmission process caused by having to use the long sound wave guide of the helical structure due to the long pulse time. Instability, the output nasal airway measurement results have the problem of low accuracy. By storing the sound signal collected by the microphone, it avoids the transmission of the serial port communication speed with the host computer is lower than the signal sampling rate. For the problem of sound signal loss in the process, the collected sound signals are calculated and processed by using the cross-correlation localization method, the PCA dimensionality reduction space elimination algorithm and the impulse response ht averaging algorithm, so as to improve the accuracy of the calculation results and the anti-interference ability.

附图说明Description of drawings

图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图;1 is a schematic diagram of a terminal structure of a hardware operating environment involved in an embodiment of the present invention;

图2为本发明FPGA控制器与上位机结合控制电火花发生装置的鼻声反射仪结构示意图;Fig. 2 is the structure schematic diagram of the nasal acoustic reflector of the present invention FPGA controller and the host computer combined control electric spark generating device;

图3为电火花发生装置的放电控制电路示意图;3 is a schematic diagram of a discharge control circuit of an electric spark generating device;

图4为本发明鼻气道测量方法一实施例的流程示意图;4 is a schematic flowchart of an embodiment of a nasal airway measurement method of the present invention;

图5为图4中步骤S30的细化流程示意图;FIG. 5 is a schematic diagram of the refinement process of step S30 in FIG. 4;

图6为图4中步骤S30的细化流程示意图;FIG. 6 is a schematic diagram of the refinement process of step S30 in FIG. 4;

图7为麦克风采样装置所捕捉的声音信号示意图;7 is a schematic diagram of a sound signal captured by a microphone sampling device;

图8为FPGA控制器的12位AD采样芯片划分的区域示意图;FIG. 8 is a schematic diagram of the area divided by the 12-bit AD sampling chip of the FPGA controller;

图9为在降维空间中第一低维待计算声音信号的分布示意图。FIG. 9 is a schematic diagram of the distribution of the first low-dimensional sound signal to be calculated in the reduced-dimensional space.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

本发明实施例的主要解决方案是:通过将FPGA控制器与上位机结合控制电火花发生装置产生电火花的设计,能够减少声音信号的脉冲时间,因脉冲时间的减少,进而可以减少使用的声波导管的长度和占用鼻声反射仪的体积,从而避免因使用的声波导管长且弯曲的特性而导致的采集的声音信号的不稳定和输出的鼻气道测量结果的精度性低的问题。The main solution of the embodiment of the present invention is: by combining the FPGA controller and the host computer to control the design of the electric spark generating device to generate the electric spark, the pulse time of the sound signal can be reduced, and the sound wave used can be reduced due to the reduction of the pulse time. The length of the catheter and the volume occupied by the nasal acoustic reflectometer can avoid the instability of the collected acoustic signals and the low accuracy of the output nasal airway measurement results due to the long and curved characteristics of the acoustic waveguide used.

由于现有技术中,鼻声反射仪使用扬声器作为声源,但因扬声器所产生的声音信号的脉冲时间较长的原因,使得采用的声波导管需有足够的长度才能更好的对入射脉冲和回波信号进行分离处理,而为了减小长声波导管在鼻声反射仪中所占用的体积,通常将长声波导管做成螺旋结构,但不论是使用软管还是钢管来作为螺旋结构的长声波导管,都会存在采集的声音信号不稳定和获得的鼻气道测量结果精度性低的问题。In the prior art, the nasal acoustic reflector uses a loudspeaker as the sound source, but due to the long pulse time of the sound signal generated by the loudspeaker, the sound waveguide used needs to have a sufficient length to better respond to the incident pulse and echo. The wave signal is separated and processed, and in order to reduce the volume occupied by the long acoustic wave guide in the nasal acoustic reflectometer, the long acoustic wave guide is usually made into a helical structure, but whether a hose or a steel pipe is used as the long acoustic wave guide of the helical structure, There are always problems that the collected sound signal is unstable and the accuracy of the obtained nasal airway measurement results is low.

本发明提供一种解决方案,只需将作为声源的扬声器更换为电火花发生装置,利用电火花所产生的声音信号的脉冲时间较短的特性,达到减声波导管长度的效果,从而避免因采用螺旋结构的长声波导管进行采集和处理声音信号而产生的一系列不利于提高鼻声反射仪稳定性和测试精度的问题。The present invention provides a solution that only needs to replace the loudspeaker as the sound source with an electric spark generating device, and utilizes the characteristic of the short pulse time of the sound signal generated by the electric spark to achieve the effect of reducing the length of the sound waveguide, thereby avoiding the There are a series of problems that are not conducive to improving the stability and test accuracy of the nasal acoustic reflector, which is caused by the use of a long acoustic waveguide with a spiral structure to collect and process sound signals.

如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in an embodiment of the present invention.

本发明实施例鼻气道测量装置可以是PC,也可以是平板电脑、便携计算机等具有显示功能的可移动式终端设备。The nasal airway measurement device in the embodiment of the present invention may be a PC, or may be a mobile terminal device with a display function, such as a tablet computer and a portable computer.

如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。所述终端安置在所述鼻声反射仪上。As shown in FIG. 1 , the terminal may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 . Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface). The memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 . The terminal is positioned on the nasal acoustic reflectometer.

可选地,鼻气道测量装置还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the nasal airway measurement device may further include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors such as light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or turn off the display screen when the mobile terminal is moved to the ear. Backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile terminals (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.

本领域技术人员可以理解,图1中示出的鼻气道测量装置结构并不构成对鼻气道测量装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the nasal airway measurement device shown in FIG. 1 does not constitute a limitation to the nasal airway measurement device, and may include more or less components than those shown in the figure, or combine certain components, Or a different component arrangement.

如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及计算机程序。As shown in FIG. 1 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.

在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的计算机程序,并执行以下操作:In the terminal shown in FIG. 1 , the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect to the client (client) and perform data communication with the client; and the processor 1001 can be used to invoke a computer program stored in memory 1005 and perform the following operations:

通过所述上位机检测到启动检测信号后,基于所述FPGA控制器控制所述电火花发生装置进行周期性放电;After the start detection signal is detected by the host computer, the electric spark generating device is controlled to perform periodic discharge based on the FPGA controller;

基于所述声波导管中的所述麦克风采样装置记录所述电火花发生装置进行周期性放电后产生的声音信号;Based on the microphone sampling device in the sound wave guide, recording the sound signal generated after the electric spark generating device performs periodic discharge;

通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后,将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果。After the sound signal in the microphone sampling device is read and stored by the FPGA controller, the first sound signal to be calculated stored in the FPGA controller is sent to the host computer for calculation , to obtain nasal airway measurements.

进一步地,处理器1001可以调用存储器1005中存储的计算机程序,还执行以下操作:Further, the processor 1001 can call the computer program stored in the memory 1005, and also perform the following operations:

基于所述FPGA控制器控制所述电火花发生装置进行周期性放电的步骤包括:基于所述FPGA控制器在所述电火花发生装置的control端上施加预设直流电压,控制所述电火花发生装置的放电电极进行周期性放电。The step of controlling the electric spark generating device to perform periodic discharge based on the FPGA controller includes: applying a preset DC voltage to the control terminal of the electric spark generating device based on the FPGA controller to control the electric spark generating device The discharge electrodes of the device are periodically discharged.

进一步地,处理器1001可以调用存储器1005中存储的计算机程序,还执行以下操作:Further, the processor 1001 can call the computer program stored in the memory 1005, and also perform the following operations:

通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后的步骤包括:通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取;The step of reading and storing the sound signal in the microphone sampling device by the FPGA controller includes: reading the sound signal in the microphone sampling device by the FPGA controller;

判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号;Judging whether the read sound signal is the first to-be-calculated sound signal with an initial portion;

若读取的所述声音信号为具有起始部分的第一待计算声音信号,则将所述control端的电压拉低,同时对所述第一待计算声音信号进行存储;If the read sound signal is the first sound signal to be calculated with a starting part, the voltage of the control terminal is pulled down, and the first sound signal to be calculated is stored at the same time;

若读取的所述声音信号不为具有起始部分的第一待计算声音信号,则保持所述control端的高电压,并将所述声音信号进行剔除。If the read sound signal is not the first to-be-calculated sound signal with the starting part, the high voltage of the control terminal is maintained, and the sound signal is eliminated.

进一步地,处理器1001可以调用存储器1005中存储的计算机程序,还执行以下操作:Further, the processor 1001 can call the computer program stored in the memory 1005, and also perform the following operations:

判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号的步骤包括:判断所述声音信号所处的地址是否属于所述FPGA控制器的内存数据库中的循环存储区;The step of judging whether the read sound signal is the first sound signal to be calculated with the initial part comprises: judging whether the address where the sound signal is located belongs to the loop storage area in the memory database of the FPGA controller;

若所述声音信号所处的地址属于所述FPGA控制器的内存数据库中的循环存储区,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号;If the address at which the sound signal is located belongs to the cyclic storage area in the memory database of the FPGA controller, then it is determined that the sound signal read is the first sound signal to be calculated with an initial portion;

若所述声音信号所处的地址不属于所述FPGA控制器的内存数据库中的循环存储区,则判断所述声音信号是否触发预设存储条件;If the address where the sound signal is located does not belong to the cyclic storage area in the memory database of the FPGA controller, then determine whether the sound signal triggers a preset storage condition;

若所述声音信号触发预设存储条件,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号。If the sound signal triggers the preset storage condition, it is determined that the read sound signal is the first to-be-calculated sound signal having a starting part.

进一步地,处理器1001可以调用存储器1005中存储的计算机程序,还执行以下操作:Further, the processor 1001 can call the computer program stored in the memory 1005, and also perform the following operations:

将存储在所述FPGA控制器中的声音信号发送至所述上位机中进行计算,得到鼻气道测量结果的步骤包括:将所述第一待计算声音信号通过所述FPGA控制器发送至所述上位机中;Send the sound signal stored in the FPGA controller to the host computer for calculation, and the steps of obtaining the nasal airway measurement result include: sending the first sound signal to be calculated to the host computer through the FPGA controller. in the above-mentioned host computer;

通过PCA降维空间法对所述第一待计算声音信号进行压缩降维后,在降维空间中得到第一低维待计算声音信号;After compressing and reducing the dimension of the first sound signal to be calculated by the PCA dimensionality reduction space method, a first low-dimensional sound signal to be calculated is obtained in the dimensionality reduction space;

基于预设比例,在所述第一低维待计算声音信号中将偏离所述第一低维待计算声音信号的中心位置的异常信号进行剔除,得到第二低维待计算声音信号;Based on the preset ratio, the abnormal signals that deviate from the center position of the first low-dimensional sound signal to be calculated are eliminated from the first low-dimensional sound signal to be calculated to obtain a second low-dimensional sound signal to be calculated;

将所述第二低维待计算声音信号作为提取样本,在所述第一待计算声音信号中进行与所述第二低维待计算声音信号对应的待计算声音信号的提取,得到第二待计算声音信号;Taking the second low-dimensional sound signal to be calculated as an extraction sample, extracting the to-be-calculated sound signal corresponding to the second low-dimensional to-be-calculated sound signal in the first to-be-calculated sound signal to obtain a second to-be-calculated sound signal. calculate sound signals;

基于互相关定位法对所述第二待计算声音信号进行拆分,得到第一声音入射波脉冲信号和第一声音回波信号和基线信号;Splitting the second sound signal to be calculated based on the cross-correlation localization method to obtain the first sound incident wave pulse signal, the first sound echo signal and the baseline signal;

通过补偿方法将所述第一声音入射波脉冲信号和第一声音回波信号中的所述基线信号去除,得到第二声音入射波脉冲信号和第二声音回波信号;The baseline signal in the first sound incident wave pulse signal and the first sound echo signal is removed by a compensation method to obtain a second sound incident wave pulse signal and a second sound echo signal;

基于快速傅里叶变换算法对所述第二声音入射波脉冲信号和第二声音回波信号进行快速傅里叶变换,得到第三声音入射波脉冲信号和第三声音回波信号;Fast Fourier transform is performed on the second sound incident wave pulse signal and the second sound echo signal based on the fast Fourier transform algorithm to obtain the third sound incident wave pulse signal and the third sound echo signal;

基于所述第三声音入射波脉冲信号和第三声音回波信号进行冲激响应h(t)值的计算,得到h(t)值,并将所述h(t)值进行平均后,基于WA算法进行计算获得所述鼻气道测量结果。Calculate the h(t) value of the impulse response based on the third sound incident wave pulse signal and the third sound echo signal to obtain the h(t) value, and after averaging the h(t) value, based on The WA algorithm performs calculations to obtain the nasal airway measurements.

进一步地,处理器1001可以调用存储器1005中存储的计算机程序,还执行以下操作:Further, the processor 1001 can call the computer program stored in the memory 1005, and also perform the following operations:

得到鼻气道测量结果的步骤之后,通过所述上位机的显示端对所述鼻气道测量结果进行显示。After the step of obtaining the nasal airway measurement result, the nasal airway measurement result is displayed through the display end of the upper computer.

参照图2,本发明一实施例提供一种鼻声反射仪,所述鼻声反射仪包括:Referring to FIG. 2, an embodiment of the present invention provides a nasal acoustic reflector, which includes:

上位机(即图中的1标号);The upper computer (that is, the 1 mark in the figure);

FPGA控制器(即图中的2标号),所述FPGA控制器与所述上位机建立通信连接;FPGA controller (ie, the 2 in the figure), the FPGA controller establishes a communication connection with the host computer;

电火花发生装置(即图中的4标号),所述电火花发生装置与所述FPGA控制器建立通信连接;An electric spark generating device (namely, the number 4 in the figure), the electric spark generating device establishes a communication connection with the FPGA controller;

声波导管(即图中的7标号),所述声波导管与所述电火花发生装置建立连接;A sound wave guide (namely, the number 7 in the figure), the sound wave guide is connected with the electric spark generating device;

麦克风采样装置(即图中的6标号),所述麦克风采样装置安置在所述声波导管中;a microphone sampling device (namely 6 in the figure), the microphone sampling device is arranged in the acoustic waveguide;

FPGA控制器,所述FPGA控制器与所述麦克风采样装置建立通信连接。an FPGA controller, where the FPGA controller establishes a communication connection with the microphone sampling device.

在本实施例中,上位机、FPGA控制器、电火花发生装置和声波导管之间的通信连接是通过信号线(即图中的3标号)建立的连接,当电火花发生装置接收到FPGA控制器发送的预设电流后,会控制放电电极(即图中的5标号)进行放电操作。In this embodiment, the communication connection between the host computer, the FPGA controller, the electric spark generating device and the acoustic waveguide is a connection established through a signal line (ie, the number 3 in the figure). When the electric spark generating device receives the FPGA control After the preset current sent by the device, the discharge electrode (ie, the 5 mark in the figure) will be controlled to perform the discharge operation.

进一步地,参照图3,所述电火花发生装置包括control端、放电电极、第一线圈、第二线圈、第三线圈、第四线圈、第五线圈、第一电阻、第二电阻、第三电阻、第四电阻、第五电阻、第一二极管、第二二极管、第三二极管、电容、三极管和电池;Further, referring to FIG. 3 , the electric spark generating device includes a control end, a discharge electrode, a first coil, a second coil, a third coil, a fourth coil, a fifth coil, a first resistor, a second resistor, a third coil resistor, fourth resistor, fifth resistor, first diode, second diode, third diode, capacitor, triode and battery;

所述control端的输出端连接所述第一电阻的一端,所述第一电阻的另一端连接所述第二二极管的门极,所述第二二极管的负极连接所述电池的负极,所述电池的正极连接所述三极管的发射极,所述三极管的基极连接所述第三电阻的一端,所述第三电阻的另一端连接所述第二线圈的一端,所述第二线圈的另一端连接所述第二电阻的一端,所述第二电阻的另一端连接所述第二二极管的正极,所述第一线圈的一端接在所述第二线圈和第二电阻的连接线上,所述第一线圈的另一端连接所述三极管的集电极;The output end of the control end is connected to one end of the first resistor, the other end of the first resistor is connected to the gate of the second diode, and the negative electrode of the second diode is connected to the negative electrode of the battery , the anode of the battery is connected to the emitter of the triode, the base of the triode is connected to one end of the third resistor, the other end of the third resistor is connected to one end of the second coil, the second The other end of the coil is connected to one end of the second resistor, the other end of the second resistor is connected to the anode of the second diode, and one end of the first coil is connected to the second coil and the second resistor The other end of the first coil is connected to the collector of the triode;

所述第三线圈的一端与所述第三电阻进行连接,所述第三线圈的另一端连接所述第一二极管的正极,所述第一二极管的负极连接所述电容的一端,所述电容的另一端连接所述第四线圈的一端;One end of the third coil is connected to the third resistor, the other end of the third coil is connected to the anode of the first diode, and the cathode of the first diode is connected to one end of the capacitor , the other end of the capacitor is connected to one end of the fourth coil;

所述第四电阻和第五电阻串联,所述第三二极管的门极接在所述第四电阻和第五电阻的连接点上,所述第四电阻、第五电阻和第三二极管与所述第四线圈和所述第三线圈并联;The fourth resistor and the fifth resistor are connected in series, the gate of the third diode is connected to the connection point of the fourth resistor and the fifth resistor, the fourth resistor, the fifth resistor and the third a pole tube is connected in parallel with the fourth coil and the third coil;

所述第五线圈与所述第四线圈相对,所述放电电极接在所述第五线圈的两端上;The fifth coil is opposite to the fourth coil, and the discharge electrode is connected to both ends of the fifth coil;

所述control端,用于接收所述FPGA控制器发送的预设直流电源,基于预设直流电源使得电火花发生装置的电路(即图3的电路)进入运行状态The control terminal is used to receive the preset DC power supply sent by the FPGA controller, and based on the preset DC power supply, the circuit of the electric spark generating device (ie the circuit in FIG. 3 ) enters the running state

所述放电电极,用于在所述control端接收到所述预设直流电源后,此时的第四线圈L4内的电流会发生变化,而与第四线圈L4相对的第五线圈L5内的磁通也会发生变化,并产生感应电流流经放电电极进行放电,且每当FPGA控制器记录完一次完整的声音信号和声音入射波脉冲信号和声音回波信号后,都会向control端再一次发送预设直流电源,使得电火花发生装置的电路再一次进入放电状态,从而形成周期性放电。The discharge electrode is used to change the current in the fourth coil L4 after the control terminal receives the preset DC power supply, while the current in the fifth coil L5 opposite to the fourth coil L4 will change. The magnetic flux will also change, and an induced current will flow through the discharge electrode for discharge, and every time the FPGA controller records a complete sound signal, sound incident wave pulse signal and sound echo signal, it will send it to the control terminal again. The preset DC power is sent, so that the circuit of the electric spark generating device enters the discharge state again, thereby forming a periodic discharge.

在本实施例中,第一线圈L1、第二线圈L2和第三线圈L3通过磁芯进行连接,第四线圈和第五线圈通过绕圈进行连接,但本实施例只是提供一个实施例子,线圈之间的连接方式并不限定于本实施例,具体的连接方式可根据实际使用场景进行更换。In this embodiment, the first coil L1, the second coil L2, and the third coil L3 are connected by a magnetic core, and the fourth coil and the fifth coil are connected by a winding coil, but this embodiment only provides an example, the coil The connection mode between them is not limited to this embodiment, and the specific connection mode can be changed according to the actual usage scenario.

参照图4,本发明一实施例还提供一种鼻气道测量方法,所述鼻气道测量方法包括:4, an embodiment of the present invention also provides a nasal airway measurement method, the nasal airway measurement method includes:

步骤S10,通过所述上位机检测到启动检测信号后,基于所述FPGA控制器控制所述电火花发生装置进行周期性放电;Step S10, after the host computer detects the startup detection signal, controls the electric spark generating device to perform periodic discharge based on the FPGA controller;

在本发明中,所使用的上位机为PC(Personal Computer,个人计算机)上位机,PC上位机、FPGA(Field Programmable Gate Array,现场可编程逻辑门阵列)控制器、电火花发生装置、麦克风采样装置和声波导管之间都是采用信号线进行连接和通信,因此可以加快声音信号的传输和采样速率。In the present invention, the used host computer is a PC (Personal Computer, personal computer) host computer, PC host computer, FPGA (Field Programmable Gate Array, Field Programmable Gate Array) controller, electric spark generating device, microphone sampling Signal lines are used for connection and communication between the device and the sound waveguide, so the transmission and sampling rate of sound signals can be accelerated.

用户在PC上位机上输入启动检测待测量腔体的检测信号后,该检测信号通过信号线传送至FPGA控制器中,FPGA控制器在检测到该检测信号后,依旧通过信号线对与之连接的电火花发生装置进行控制,控制电火花发生装置进行周期性放电。After the user inputs the detection signal to start the detection of the cavity to be measured on the PC, the detection signal is transmitted to the FPGA controller through the signal line. After the FPGA controller detects the detection signal, the The electric spark generating device is controlled, and the electric spark generating device is controlled to perform periodic discharge.

其中,周期性放电是指,每当FPGA控制器记录完一次完整的声音入射波脉冲信号和声音回波信号后,在接收到停止检测信号之间,都会控制电火花发生装置进入新的放电过程,从而产生新的声音入射波脉冲信号和声音回波信号。Among them, the periodic discharge means that every time the FPGA controller records a complete sound incident wave pulse signal and sound echo signal, it will control the electric spark generator to enter a new discharge process before receiving the stop detection signal. , so as to generate a new sound incident wave pulse signal and sound echo signal.

可选地,步骤S10中基于所述FPGA控制器控制所述电火花发生装置进行周期性放电的步骤包括:Optionally, the step of controlling the electric spark generating device to perform periodic discharge based on the FPGA controller in step S10 includes:

步骤A,参照图3,基于所述FPGA控制器在所述电火花发生装置的control端上施加预设直流电压,控制所述电火花发生装置的放电电极进行周期性放电。Step A, referring to FIG. 3 , based on the FPGA controller applying a preset DC voltage to the control terminal of the spark generating device, the discharge electrode of the spark generating device is controlled to perform periodic discharge.

图3为本发明中作为声源的电火花发生装置的放电控制电路,FPGA控制器通过在放电控制电路的control端上施加3.3V的直流电压,使得电火花发生装置能够进行运转操作,此时的线圈L4内的电流发生变化时,相对的线圈L5内的磁通也会发生变化,并产生感应电流流经放电电极,使得放电电极进行放电,进而使得电火花发生装置产生声音信号。Fig. 3 is the discharge control circuit of the electric spark generating device as the sound source in the present invention. The FPGA controller applies a DC voltage of 3.3V to the control terminal of the discharge control circuit, so that the electric spark generating device can be operated. When the current in the coil L4 changes, the magnetic flux in the opposite coil L5 also changes, and an induced current flows through the discharge electrode, so that the discharge electrode discharges, and then the spark generator generates a sound signal.

因为FPGA控制器在记录完一次完整的声音信号后,会在电火花发生装置的control端上再次施加3.3V直流电压,使得电火花发生装置再一次进行放电,从而达到周期性放电的效果。Because the FPGA controller will re-apply 3.3V DC voltage to the control end of the spark generating device after recording a complete sound signal, so that the spark generating device will discharge again, so as to achieve the effect of periodic discharge.

与现有作为声源的扬声器相比,电火花发生装置的脉冲时间更短,能够有效减短所需的声波导管的长度,而声波导管长度的减短,能够避免为了减小声波导管在鼻声反射仪中所占用的体积而需采用的螺旋结构的情况,进而避免因螺旋结构的声波导管而导致的鼻气道测量精度下降的问题。Compared with the existing loudspeaker as a sound source, the pulse time of the electric spark generating device is shorter, which can effectively shorten the required length of the sound wave guide, and the shortening of the length of the sound wave guide can avoid the need for reducing the noise of the sound wave guide in the nose. The helical structure needs to be adopted due to the volume occupied in the reflectometer, thereby avoiding the problem that the measurement accuracy of the nasal airway is lowered due to the acoustic waveguide of the helical structure.

步骤S20,参照图7,基于所述声波导管中的所述麦克风采样装置记录所述电火花发生装置进行周期性放电后产生的声音信号;Step S20, referring to FIG. 7, recording the sound signal generated after the electric spark generating device performs periodic discharge based on the microphone sampling device in the acoustic waveguide;

电火花发生装置在进行放电后,所产生的声音信号会被采样率为500kHz的麦克风采样装置所捕捉,而麦克风采样装置所捕捉的声音信号的特点如图7所示,麦克风采样装置先接收到电磁声音信号,之后是电火花发生装置的声音入射波脉冲信号,再经过一段时间后是声音入射波脉冲信号产生的声音回波信号。After the electric spark generating device discharges, the generated sound signal will be captured by the microphone sampling device with a sampling rate of 500 kHz. The characteristics of the sound signal captured by the microphone sampling device are shown in Figure 7. The microphone sampling device first receives The electromagnetic sound signal is followed by the sound incident wave pulse signal of the electric spark generating device, and after a period of time, the sound echo signal generated by the sound incident wave pulse signal.

需注意的是,因为电火花发生装置是周期性放电,因此存在多组声音信号。It should be noted that because the spark generating device is discharged periodically, there are multiple sets of sound signals.

声波导管作为影响鼻气道测量精度的重要因素之一,其形状越不规则,对鼻气道测量的输出精度影响越大,而本发明所使用的声波导管能够避免其被设计成螺旋结构的不规则形状,进而在一定程度上提升了鼻气道测量的精度性。As one of the important factors affecting the measurement accuracy of the nasal airway, the acoustic waveguide is more irregular in shape, the greater the impact on the output accuracy of the nasal airway measurement, and the acoustic waveguide used in the present invention can avoid it being designed into a spiral structure. The irregular shape improves the accuracy of nasal airway measurement to a certain extent.

步骤S30,通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后,将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果。Step S30, after the sound signal in the microphone sampling device is read and stored by the FPGA controller, the first sound signal to be calculated stored in the FPGA controller is sent to the host computer Calculations were performed in , and the nasal airway measurement results were obtained.

在FPGA控制器通过信号线在麦克风采样装置中读取和存储完成多组声音信号后,会将存储的多组声音信号发送至PC上位机中进行处理计算。After the FPGA controller reads and stores multiple sets of sound signals in the microphone sampling device through the signal line, it will send the stored multiple sets of sound signals to the PC host computer for processing and calculation.

FPGA控制器中也可对存储的多组声音信号进行处理计算,但因FPGA控制器的处理计算能力稍逊于PC上位机,因此本发明的实施例是在PC上位机中对存储的多组声音信号进行处理计算的,能够加快对多组声音信号的处理计算速率。The FPGA controller can also process and calculate the stored multiple groups of sound signals, but because the processing and computing capability of the FPGA controller is slightly inferior to that of the PC host computer, the embodiment of the present invention is to perform processing and calculation on the stored multiple groups of sound signals in the PC host computer. If the sound signal is processed and calculated, the processing and calculation rate of multiple groups of sound signals can be accelerated.

需要说明的是,第一待计算声音信号是指发送至上位机中进行计算处理之前的待计算声音信号。It should be noted that the first sound signal to be calculated refers to the sound signal to be calculated before being sent to the upper computer for calculation processing.

可选地,步骤S30中得到鼻气道测量结果的步骤之后,还包括:Optionally, after the step of obtaining the nasal airway measurement result in step S30, it also includes:

步骤B,通过所述上位机的显示端对所述鼻气道测量结果进行显示。Step B, displaying the nasal airway measurement result through the display end of the upper computer.

在PC上位机对FPGA控制器存储的多组声音信号处理计算完毕后,会得到待测腔体的鼻气道横截面积随鼻腔轴向距离变化的情况,即鼻气道测量结果,PC上位机会将该鼻气道测量结果显示在显示端上,例如PC上位机的显示屏,也可通过语音播报,使得用户能够清楚的了解到待测腔体的鼻气道测量情况。After the PC host computer processes and calculates the multiple sets of sound signals stored in the FPGA controller, the change of the nasal airway cross-sectional area of the cavity to be measured with the nasal cavity axial distance will be obtained, that is, the nasal airway measurement results. The opportunity to display the nasal airway measurement results on the display terminal, such as the display screen of the PC host computer, can also be broadcast by voice, so that the user can clearly understand the nasal airway measurement of the cavity to be measured.

在本实施例中,通过采用FPGA控制器与上位机结合控制电火花发生装置的方式控制鼻声反射仪,控制电火花发生装置能够在短时间内进行多次放电,并由FPGA控制器通过麦克风采样装置进行多次读取和存储,以多组声音信号为计算依据的计算方式能够提高输出的鼻气道测量结果的准确度,通过将现有的鼻声反射仪中的声源替换为电火花,缩短了声音信号的脉冲时间,而脉冲时间的缩短能够有效减短所需的声波导管的长度,而声波导管长度的减短,能够避免为了减小声波导管在鼻声反射仪中所占用的体积而需采用的螺旋结构的情况,进而避免因螺旋结构的声波导管而导致的鼻气道测量精度下降的问题。In this embodiment, the nasal acoustic reflector is controlled by using the FPGA controller to control the electric spark generating device in combination with the host computer, so that the electric spark generating device can be controlled to perform multiple discharges in a short period of time, and the FPGA controller can sample through the microphone. The device performs multiple reading and storage, and the calculation method based on multiple sets of sound signals can improve the accuracy of the output nasal airway measurement results. By replacing the sound source in the existing nasal acoustic reflector with an electric spark, The pulse time of the sound signal is shortened, and the shortening of the pulse time can effectively shorten the length of the required sound wave guide, and the shortening of the length of the sound wave guide can avoid the need to reduce the volume occupied by the sound wave guide in the nasal acoustic reflector. The situation of the helical structure needs to be adopted, thereby avoiding the problem that the measurement accuracy of the nasal airway is reduced due to the acoustic waveguide of the helical structure.

进一步的,参照图5,本发明一实施例提供一种鼻气道测量方法,基于上述步骤S30所示的实施例,所述通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后的步骤包括:Further, referring to FIG. 5 , an embodiment of the present invention provides a nasal airway measurement method. Based on the embodiment shown in step S30 above, the sound in the microphone sampling device is sampled by the FPGA controller. The steps after the signal is read and stored include:

步骤S31,通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取;Step S31, reading the sound signal in the microphone sampling device through the FPGA controller;

步骤S32,判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号;Step S32, judging whether the read sound signal is the first to-be-calculated sound signal with a starting part;

步骤S33,若读取的所述声音信号为具有起始部分的第一待计算声音信号,则将所述control端的电压拉低,同时对所述第一待计算声音信号进行存储;Step S33, if the read sound signal is the first sound signal to be calculated with the starting part, then the voltage of the control terminal is pulled down, and the first sound signal to be calculated is stored simultaneously;

步骤S34,若读取的所述声音信号不为具有起始部分的第一待计算声音信号,则保持所述control端的高电压,并将所述声音信号进行剔除。Step S34, if the read sound signal is not the first sound signal to be calculated with the starting part, the high voltage of the control terminal is maintained, and the sound signal is eliminated.

电火花发生装置在进行周期性放电后,所产生的声音信号会被麦克风采样装置所捕捉,而被捕捉的声音信号会通过信号线被FPGA控制器所读取,FPGA控制器会对其所读取的声音信号进行判断,因为并不是所有被读取的声音信号都是一段具有完整的起始周期的声音信号,因此必须对其是否具有完整的起始声音信号进行判断,判断所读取的声音信号是否为一组完整的起始周期,若所读取的声音信号是一组完整的起始周期,才能将其该起始周期对应的声音信号归类为待计算声音信号,则通过FPGA控制器将电火花发生装置的control端的电压拉低后,将待计算声音信号存储至FPGA控制器的内存数据库中,便于后期基于有效的声音信号进行计算,提升输出的鼻气道测量结果的精准度。After the electric spark generating device performs periodic discharge, the generated sound signal will be captured by the microphone sampling device, and the captured sound signal will be read by the FPGA controller through the signal line, and the FPGA controller will read it. Take the sound signal to judge, because not all the read sound signals are a sound signal with a complete start cycle, so it must be judged whether it has a complete start sound signal, and the read sound signal must be judged. Whether the sound signal is a complete set of start cycles, if the read sound signal is a set of complete start cycles, the sound signal corresponding to the start cycle can be classified as the sound signal to be calculated, then the FPGA After the controller pulls down the voltage of the control terminal of the electric spark generating device, the sound signal to be calculated is stored in the memory database of the FPGA controller, which is convenient for later calculation based on the effective sound signal and improves the accuracy of the output nasal airway measurement results. Spend.

若所读取的声音信号不是一组完整的起始周期,则FPGA控制器保持电火花发生装置的control端的高电压不变,同时将control端为高电压的时间段内所读取的声音信号进行抛弃,避免不完整的声音信号对输出的鼻气道测量结果造成影响。If the read sound signal is not a complete set of initial cycles, the FPGA controller keeps the high voltage of the control terminal of the spark generating device unchanged, and at the same time changes the sound signal read in the time period when the control terminal is high voltage Abandoned to avoid incomplete acoustic signals affecting the output nasal airway measurements.

可选地,参照图8,步骤S32中判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号的步骤包括:Optionally, referring to FIG. 8 , the step of judging in step S32 whether the read sound signal is the first sound signal to be calculated with a starting part includes:

步骤S35,判断所述声音信号所处的地址是否属于所述FPGA控制器的内存数据库中的循环存储区;Step S35, judge whether the address where the sound signal is located belongs to the loop storage area in the memory database of the FPGA controller;

步骤S36,若所述声音信号所处的地址属于所述FPGA控制器的内存数据库中的循环存储区,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号;Step S36, if the address at which the sound signal is located belongs to the cyclic storage area in the memory database of the FPGA controller, then it is determined that the sound signal read is the first sound signal to be calculated with an initial portion;

步骤S37,若所述声音信号所处的地址不属于所述FPGA控制器的内存数据库中的循环存储区,则判断所述声音信号是否触发预设存储条件;Step S37, if the address where the sound signal is located does not belong to the cyclic storage area in the memory database of the FPGA controller, then judge whether the sound signal triggers a preset storage condition;

步骤S38,若所述声音信号触发预设存储条件,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号。In step S38, if the sound signal triggers the preset storage condition, it is determined that the read sound signal is the first sound signal to be calculated having a starting part.

由图8可知,本发明将FPGA控制器的12位AD(Analog-to-Digital ,模/数转换)采样芯片的划分为两部分,小部分的为循环存储区,用于判断读取的声音信号是否为具有起始部分的第一待计算声音信号,大部分的为存储区,用于存储具有起始部分的第一待计算声音信号,存储在该区内的声音信号才是要被发送至PC上位机进行处理计算的。As can be seen from FIG. 8, the present invention divides the 12-bit AD (Analog-to-Digital, analog/digital conversion) sampling chip of the FPGA controller into two parts, and a small part is a circular storage area, which is used to judge the read sound. Whether the signal is the first sound signal to be calculated with a start part, most of which are storage areas, used to store the first sound signal to be calculated with a start part, the sound signal stored in this area is to be sent to the PC host computer for processing and calculation.

FPGA控制器在检测到新的启动检测信号后,会对之前存储的声音信号进行初始化,避免前一个腔体的数据对新腔体的输出结果造成影响。After the FPGA controller detects a new startup detection signal, it will initialize the previously stored sound signal, so as to avoid the influence of the data of the previous cavity on the output result of the new cavity.

在FPGA控制器检测到麦克风采样装置捕捉到声音信号后,对捕捉的声音信号进行读取,将读取的声音信号写入循环存储区内,并在循环存储区内判断所读取的声音信号所属的地址是否属于循环存储区,所读取的声音信号的所属地址属于循环存储区,则将该声音信号归类为第一待计算声音信号,并将该第一待计算声音信号存储在存储区中。After the FPGA controller detects that the microphone sampling device has captured the sound signal, it reads the captured sound signal, writes the read sound signal into the loop storage area, and judges the read sound signal in the loop storage area. Whether the address belongs to the loop storage area, the address of the read sound signal belongs to the loop storage area, then the sound signal is classified as the first sound signal to be calculated, and the first sound signal to be calculated is stored in the storage area. in the area.

若所读取的声音信号的所属地址不属于循环存储区,本发明为了避免声音信号的遗漏,提升输出的鼻气道测量结果的准确性,会对不属于循环存储区的声音信号进行二次判断,对其是否触发了存储条件进行判断。If the address of the read sound signal does not belong to the cyclic storage area, in order to avoid the omission of the sound signal and improve the accuracy of the output nasal airway measurement result, the present invention will perform a secondary measurement on the sound signal that does not belong to the cyclic storage area. Judgment, to judge whether it triggers the storage condition.

其中,存储条件是指,读取的声音信号是否有明显的声音信号段的开始段,即是否明显读取得到一段声音信号中,是否有完整的电磁脉冲信号,若有完整的声音信号开始段,则判定为触发了存储条件,将该声音信号归类为第一待计算声音信号并存储在存储区中。Among them, the storage condition refers to whether the read sound signal has an obvious starting segment of the sound signal segment, that is, whether it is obvious whether there is a complete electromagnetic pulse signal in a segment of the sound signal, and if there is a complete starting segment of the sound signal , then it is determined that the storage condition is triggered, and the sound signal is classified as the first sound signal to be calculated and stored in the storage area.

直至存储结束后,将存储区和循环存储区中存储的信号传输至PC上位机中等待处理。After the storage is over, the signals stored in the storage area and the circulation storage area are transmitted to the PC host computer for processing.

若经过两次判断后,存在两次判断条件都不满足的声音信号,则会对该声音信号进行地址归零的操作,由另一组声音信号将其覆盖掉,避免影响了新读取的声音信号的判断操作。If after two judgments, there is a sound signal that does not satisfy the two judgment conditions, the address of the sound signal will be reset to zero, and it will be covered by another group of sound signals to avoid affecting the newly read Judgment operation of sound signal.

需要注意的是,当FPGA控制器检测到存储区的内存已写满,则此时的FPGA控制器已经无需再对后续读取的声音信号进行判断存储,直接停止对麦克风采样装置的读取操作,并将存储区内的多组声音信号通过信号线发送至PC上位机中进行下一步操作。It should be noted that when the FPGA controller detects that the memory of the storage area is full, the FPGA controller at this time no longer needs to judge and store the subsequently read sound signals, and directly stops the reading operation of the microphone sampling device. , and send multiple groups of sound signals in the storage area to the PC host computer through the signal line for the next step.

在本实施例中,通过对读取的多组声音信号进行二次判断,能够避免异常测量信号对测量结果的影响,有效提升系统的判断操作,并且提升输出的鼻气道测量结果的精准度。In this embodiment, by performing secondary judgment on the read multiple sets of sound signals, the influence of abnormal measurement signals on the measurement results can be avoided, the judgment operation of the system can be effectively improved, and the accuracy of the output nasal airway measurement results can be improved. .

进一步的,参照图6,本发明一实施例提供一种鼻气道测量方法,基于上述步骤S30中将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果的步骤之后,还包括:Further, referring to FIG. 6, an embodiment of the present invention provides a nasal airway measurement method, based on the above step S30, the first to-be-calculated sound signal stored in the FPGA controller is sent to the host computer for processing. After the steps of calculating and obtaining the nasal airway measurement results, it also includes:

步骤S39,将所述第一待计算声音信号通过所述FPGA控制器发送至所述上位机中;Step S39, sending the first sound signal to be calculated to the host computer through the FPGA controller;

步骤S40,通过PCA降维空间法对所述第一待计算声音信号进行压缩降维后,在降维空间中得到第一低维待计算声音信号;Step S40, after compressing and reducing the dimension of the first sound signal to be calculated by the PCA dimensionality reduction space method, obtain a first low-dimensional sound signal to be calculated in the dimensionality reduction space;

步骤S41,基于预设比例,在所述第一低维待计算声音信号中将偏离所述第一低维待计算声音信号的中心位置的异常信号进行剔除,得到第二低维待计算声音信号;Step S41, based on a preset ratio, remove abnormal signals from the first low-dimensional sound signal to be calculated that deviate from the center position of the first low-dimensional sound signal to be calculated to obtain a second low-dimensional sound signal to be calculated ;

步骤S42,参照图9,将所述第二低维待计算声音信号作为提取样本,在所述第一待计算声音信号中进行与所述第二低维待计算声音信号对应的待计算声音信号的提取,得到第二待计算声音信号;Step S42, referring to FIG. 9, taking the second low-dimensional sound signal to be calculated as an extraction sample, and performing the sound signal to be calculated corresponding to the second low-dimensional sound signal to be calculated in the first sound signal to be calculated. extraction, to obtain the second sound signal to be calculated;

针对现有的鼻声反射仪存在的问题,本发明提出在处理计算时,采用连续采集的多组声音信号进行数据分析,使用PCA降维空间法对第一待计算声音信号进行压缩降维,得到压缩降维后位于降维空间中的第一低维待计算声音信号,如图9所示的,在压缩降维得到0-9共10组低维待计算声音信号,本实施例中预设的比例为30%,因此将距离中心位置(即图中星型信号)最远的3组低维待计算信号归类为异常信号,并进行剔除,剔除后剩下的低维待计算声音信号即为第二低维待计算声音信号。Aiming at the problems existing in the existing nasal acoustic reflectometer, the present invention proposes to use multiple groups of continuously collected sound signals for data analysis, and use the PCA dimensionality reduction space method to compress and reduce the dimension of the first sound signal to be calculated, and obtain After compressing and reducing the dimension, the first low-dimensional sound signal to be calculated is located in the dimensionality reduction space. As shown in Figure 9, a total of 10 groups of low-dimensional sound signals to be calculated from 0 to 9 are obtained in the compression and dimension reduction, which are preset in this embodiment. Therefore, the three groups of low-dimensional signals to be calculated that are farthest from the center position (ie, the star-shaped signal in the figure) are classified as abnormal signals, and are eliminated, and the remaining low-dimensional acoustic signals to be calculated are eliminated. That is, the second low-dimensional sound signal to be calculated.

将第二低维待计算声音信号作为对照组,根据第二低维待计算声音信号在第一待计算声音信号中提取对应的待计算声音信号例如图9所示的,第二低维待计算声音信号为0、1、5、6、7、8和9,因此对应将第一待计算声音信号中的0、1、5、6、7、8和9进行提取作为第二待计算声音信号,以此来保证输出的鼻气道测量结果的稳定性。The second low-dimensional sound signal to be calculated is used as a control group, and the corresponding sound signal to be calculated is extracted from the first sound signal to be calculated according to the second low-dimensional sound signal to be calculated. For example, as shown in Figure 9, the second low-dimensional sound signal to be calculated The sound signals are 0, 1, 5, 6, 7, 8, and 9, so 0, 1, 5, 6, 7, 8, and 9 in the first sound signal to be calculated are extracted correspondingly as the second sound signal to be calculated. , so as to ensure the stability of the output nasal airway measurement results.

步骤S43,基于互相关定位法对所述第二待计算声音信号进行拆分,得到第一声音入射波脉冲信号和第一声音回波信号和基线信号;Step S43, splitting the second sound signal to be calculated based on the cross-correlation localization method to obtain the first sound incident wave pulse signal, the first sound echo signal and the baseline signal;

步骤S44,通过补偿方法将所述第一声音入射波脉冲信号和第一声音回波信号中的所述基线信号去除,得到第二声音入射波脉冲信号和第二声音回波信号;Step S44, removing the baseline signal in the first sound incident wave pulse signal and the first sound echo signal by a compensation method to obtain a second sound incident wave pulse signal and a second sound echo signal;

现有的鼻声反射仪在对声音信号进行处理计算时,通常都是直接使用WA算法根据声音入射波脉冲信号进行处理计算的,但读取的声音信号通常都易受外界因素的影响而导致WA算法输出的鼻气道测量结果与实际数值存在偏差。When the existing nasal acoustic reflectometer processes and calculates the sound signal, it usually directly uses the WA algorithm to process and calculate the sound incident wave pulse signal, but the read sound signal is usually easily affected by external factors and causes WA. The nasal airway measurement results output by the algorithm deviate from the actual values.

因此结合上述计算步骤,在对声音入射波脉冲信号进行冲激响应的计算之前,需先第二待计算声音信号进行声音入射波脉冲信号和声音回波信号的拆分,由于声音入射波脉冲信号的波形基本是一致的,因此本发明在实施之前,会将预先录制的人工入射波声音信号作为参考,选取最大值出现的位置标记为实际测量的起始声音入射波脉冲信号,又因为声波导管与麦克风采样装置的距离是固定的,因此,声音入射波脉冲信号和声音回波信号的起始位置间的采样点是固定的,只要确定了声音入射波脉冲信号的起始位置,就能确定声音回波信号的起始位置,从而实现声音入射波脉冲信号和声音回波信号的分离。Therefore, in combination with the above calculation steps, before calculating the impulse response of the sound incident wave pulse signal, it is necessary to separate the sound incident wave pulse signal and the sound echo signal for the sound signal to be calculated. The waveforms are basically the same, so before the implementation of the present invention, the pre-recorded artificial incident wave sound signal will be used as a reference, and the position where the maximum value appears will be marked as the actual measured initial sound incident wave pulse signal. The distance from the microphone sampling device is fixed. Therefore, the sampling point between the sound incident wave pulse signal and the starting position of the sound echo signal is fixed. As long as the starting position of the sound incident wave pulse signal is determined, it can be determined. The starting position of the sound echo signal, so as to realize the separation of the sound incident wave pulse signal and the sound echo signal.

而声音入射波脉冲信号和声音回波信号的互相关定位法公式如下:The formula of the cross-correlation localization method of the sound incident wave pulse signal and the sound echo signal is as follows:

Figure 439373DEST_PATH_IMAGE001
Figure 439373DEST_PATH_IMAGE001

第一声音入射波脉冲信号和第一声音回波信号既是指通过互相关定位法分离后的声音信号。The first sound incident pulse signal and the first sound echo signal both refer to the sound signals separated by the cross-correlation localization method.

需要注意的是,第一声音入射波脉冲信号和第一声音回波信号因为声波导管和待测腔体之间的空隙而使得声音回波信号存在损失的情况,所以在检测到第一声音入射波脉冲信号和第一声音回波信号存在信号损失的情况时,会将第一声音回波信号输入至补偿模块中进行声音信号的补偿和基线信号的取出,通过补偿后输出的第二声音入射波脉冲信号和第二声音回波信号才能进入下一步的处理计算。It should be noted that the first sound incident wave pulse signal and the first sound echo signal are lost due to the gap between the sound waveguide and the cavity to be measured, so the sound echo signal is lost when the first sound incident is detected. When there is signal loss in the wave pulse signal and the first sound echo signal, the first sound echo signal will be input into the compensation module for sound signal compensation and baseline signal extraction, and the second sound output after compensation is incident The wave pulse signal and the second sound echo signal can enter the next step of processing calculation.

步骤S45,基于快速傅里叶变换算法对所述第二声音入射波脉冲信号和第二声音回波信号进行快速傅里叶变换,得到第三声音入射波脉冲信号和第三声音回波信号;Step S45, performing fast Fourier transform on the second sound incident wave pulse signal and the second sound echo signal based on the fast Fourier transform algorithm to obtain the third sound incident wave pulse signal and the third sound echo signal;

步骤S46,基于所述第三声音入射波脉冲信号和第三声音回波信号进行冲激响应h(t)值的计算,得到h(t)值,并将所述h(t)值进行平均后,基于WA算法进行计算获得所述鼻气道测量结果。Step S46, calculate the h(t) value of the impulse response based on the third sound incident wave pulse signal and the third sound echo signal, obtain the h(t) value, and average the h(t) value Then, the nasal airway measurement result is obtained by calculation based on the WA algorithm.

基于快速傅里叶变换算法对第二声音入射波脉冲信号和第二声音回波信号进行傅里叶变换后,得到傅里叶变换后的第三声音入射波脉冲信号和第三声音回波信号后,基于傅里叶变换后的第三声音入射波脉冲信号和第三声音回波信号进行计算冲激响应h(t)After Fourier transform is performed on the second sound incident wave pulse signal and the second sound echo signal based on the fast Fourier transform algorithm, the Fourier transformed third sound incident wave pulse signal and the third sound echo signal are obtained. Then, calculate the impulse response h(t) based on the Fourier-transformed third sound incident wave pulse signal and the third sound echo signal

其中,冲激响应h(t)的公式为:where the formula for the impulse response h(t) is:

Figure 170569DEST_PATH_IMAGE002
Figure 170569DEST_PATH_IMAGE002

其中,上述公式中的

Figure 163933DEST_PATH_IMAGE003
Figure 980579DEST_PATH_IMAGE004
分别代表第三声音入射波脉冲信号和第三声音回波信号,*号代表计算去共轭复数,
Figure 717591DEST_PATH_IMAGE005
代表数字滤波器
Figure 240976DEST_PATH_IMAGE006
的数量,而
Figure 733137DEST_PATH_IMAGE006
的数量有快速傅里叶变换的窗口大小确定,
Figure 974763DEST_PATH_IMAGE007
是一个参数,其大小决定了计算得到的h(t)的平滑程度,
Figure 810739DEST_PATH_IMAGE007
值越大,h(t)就越平滑,一般情况下取值在0.1左右。而数字滤波器
Figure 454210DEST_PATH_IMAGE006
的计算公式如下:Among them, in the above formula
Figure 163933DEST_PATH_IMAGE003
and
Figure 980579DEST_PATH_IMAGE004
respectively represent the third sound incident wave pulse signal and the third sound echo signal, and the * sign represents the calculation of the deconjugated complex number,
Figure 717591DEST_PATH_IMAGE005
stands for digital filter
Figure 240976DEST_PATH_IMAGE006
number, while
Figure 733137DEST_PATH_IMAGE006
The number of FFTs is determined by the window size of the fast Fourier transform,
Figure 974763DEST_PATH_IMAGE007
is a parameter whose size determines how smooth the computed h(t) is,
Figure 810739DEST_PATH_IMAGE007
The larger the value, the smoother h(t) is, and the value is generally around 0.1. while the digital filter
Figure 454210DEST_PATH_IMAGE006
The calculation formula is as follows:

Figure 851693DEST_PATH_IMAGE008
Figure 851693DEST_PATH_IMAGE008

在通过计算得到h(t)值后,还需对h(t)值进行平均,获取本组测试结果的平均冲激响应

Figure 580614DEST_PATH_IMAGE009
,最后,通过WA算法进行计算得到待测腔体的鼻气道横截面积随鼻腔轴向距离变化的情况,即鼻气道测量结果。After the h(t) value is obtained by calculation, it is necessary to average the h(t) value to obtain the average impulse response of this group of test results.
Figure 580614DEST_PATH_IMAGE009
, and finally, the WA algorithm is used to calculate the change of the nasal airway cross-sectional area of the cavity to be measured with the axial distance of the nasal cavity, that is, the nasal airway measurement result.

在本实施例中,通过在PC上位机中对存储至FPGA控制器中的存储区的多组声音信号进行互相关定位法、PCA降维空间剔除法、快速傅里叶变换算法和WA算法,避免了现有算法中只采用WA算法所存在的测试精度不高和抗干扰能力差的问题,有利于提升鼻声反射仪的稳定性和测试精度性。In this embodiment, by performing the cross-correlation localization method, the PCA dimension reduction space elimination method, the fast Fourier transform algorithm and the WA algorithm on the multiple groups of sound signals stored in the storage area of the FPGA controller in the PC host computer, The problems of low test accuracy and poor anti-interference ability existing in the existing algorithm only using the WA algorithm are avoided, and the stability and test accuracy of the nasal acoustic reflector are improved.

此外,本发明实施例还提出一种测量设备,所述测量设备包括鼻声反射仪、存储器、处理器、以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被处理器执行时实现上述鼻气道测量方法的步骤。In addition, an embodiment of the present invention also provides a measurement device, the measurement device includes a nasal acoustic reflectometer, a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer The program implements the steps of the nasal airway measurement method described above when executed by the processor.

此外,本发明还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述鼻气道测量方法的步骤。In addition, the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above nasal airway measurement method are implemented.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.

Claims (10)

1.一种鼻声反射仪,其特征在于,所述鼻声反射仪包括:1. a nasal acoustic reflector, is characterized in that, described nasal acoustic reflector comprises: 上位机;host computer; FPGA控制器,所述FPGA控制器与所述上位机建立通信连接;FPGA controller, the FPGA controller establishes a communication connection with the host computer; 电火花发生装置,所述电火花发生装置与所述FPGA控制器建立通信连接;an electric spark generating device, the electric spark generating device establishes a communication connection with the FPGA controller; 声波导管,所述声波导管与所述电火花发生装置建立连接;a sound wave guide, the sound wave guide is connected with the electric spark generating device; 麦克风采样装置,所述麦克风采样装置安置在所述声波导管中;a microphone sampling device disposed in the acoustic waveguide; FPGA控制器,所述FPGA控制器与所述麦克风采样装置建立通信连接。an FPGA controller, where the FPGA controller establishes a communication connection with the microphone sampling device. 2.如权利要求1所述的一种鼻声反射仪,其特征在于,所述电火花发生装置包括control端、放电电极、第一线圈、第二线圈、第三线圈、第四线圈、第五线圈、第一电阻、第二电阻、第三电阻、第四电阻、第五电阻、第一二极管、第二二极管、第三二极管、电容、三极管和电池;2. A nasal acoustic reflector as claimed in claim 1, wherein the electric spark generating device comprises a control end, a discharge electrode, a first coil, a second coil, a third coil, a fourth coil, a fifth coil coil, first resistor, second resistor, third resistor, fourth resistor, fifth resistor, first diode, second diode, third diode, capacitor, triode and battery; 所述control端的输出端连接所述第一电阻的一端,所述第一电阻的另一端连接所述第二二极管的门极,所述第二二极管的负极连接所述电池的负极,所述电池的正极连接所述三极管的发射极,所述三极管的基极连接所述第三电阻的一端,所述第三电阻的另一端连接所述第二线圈的一端,所述第二线圈的另一端连接所述第二电阻的一端,所述第二电阻的另一端连接所述第二二极管的正极,所述第一线圈的一端接在所述第二线圈和第二电阻的连接线上,所述第一线圈的另一端连接所述三极管的集电极;The output end of the control end is connected to one end of the first resistor, the other end of the first resistor is connected to the gate of the second diode, and the negative electrode of the second diode is connected to the negative electrode of the battery , the anode of the battery is connected to the emitter of the triode, the base of the triode is connected to one end of the third resistor, the other end of the third resistor is connected to one end of the second coil, the second The other end of the coil is connected to one end of the second resistor, the other end of the second resistor is connected to the anode of the second diode, and one end of the first coil is connected to the second coil and the second resistor The other end of the first coil is connected to the collector of the triode; 所述第三线圈的一端与所述第三电阻进行连接,所述第三线圈的另一端连接所述第一二极管的正极,所述第一二极管的负极连接所述电容的一端,所述电容的另一端连接所述第四线圈的一端;One end of the third coil is connected to the third resistor, the other end of the third coil is connected to the anode of the first diode, and the cathode of the first diode is connected to one end of the capacitor , the other end of the capacitor is connected to one end of the fourth coil; 所述第四电阻和第五电阻串联,所述第三二极管的门极接在所述第四电阻和第五电阻的连接点上,所述第四电阻、第五电阻和第三二极管与所述第四线圈和所述第三线圈并联;The fourth resistor and the fifth resistor are connected in series, the gate of the third diode is connected to the connection point of the fourth resistor and the fifth resistor, and the fourth resistor, the fifth resistor and the third a pole tube is connected in parallel with the fourth coil and the third coil; 所述第五线圈与所述第四线圈相对,所述放电电极接在所述第五线圈的两端上;The fifth coil is opposite to the fourth coil, and the discharge electrode is connected to both ends of the fifth coil; 所述control端,用于接收所述FPGA控制器发送的预设直流电源;The control terminal is used to receive the preset DC power supply sent by the FPGA controller; 所述放电电极,用于在所述control端接收到所述预设直流电源后进行周期性放电。The discharge electrode is configured to perform periodic discharge after the control terminal receives the preset DC power supply. 3.一种鼻气道测量方法,其特征在于,所述鼻气道测量应用于权利要求1至2任一项所述的鼻声反射仪,所述鼻气道测量方法包括以下步骤:3. A nasal airway measurement method, wherein the nasal airway measurement is applied to the nasal acoustic reflectometer according to any one of claims 1 to 2, and the nasal airway measurement method comprises the following steps: 通过所述上位机检测到启动检测信号后,基于所述FPGA控制器控制所述电火花发生装置进行周期性放电;After the start detection signal is detected by the host computer, the electric spark generating device is controlled to perform periodic discharge based on the FPGA controller; 基于所述声波导管中的所述麦克风采样装置记录所述电火花发生装置进行周期性放电后产生的声音信号;Based on the microphone sampling device in the sound wave guide, recording the sound signal generated after the electric spark generating device performs periodic discharge; 通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后,将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果。After the sound signal in the microphone sampling device is read and stored by the FPGA controller, the first sound signal to be calculated stored in the FPGA controller is sent to the host computer for calculation , to obtain nasal airway measurements. 4.如权利要求3所述的鼻气道测量方法,其特征在于,所述基于所述FPGA控制器控制所述电火花发生装置进行周期性放电的步骤包括:4. The nasal airway measurement method as claimed in claim 3, wherein the step of controlling the electric spark generating device to perform periodic discharge based on the FPGA controller comprises: 基于所述FPGA控制器在所述电火花发生装置的control端上施加预设直流电压,控制所述电火花发生装置的放电电极进行周期性放电。Based on the FPGA controller applying a preset DC voltage to the control terminal of the electric spark generating device, the discharge electrode of the electric spark generating device is controlled to perform periodic discharge. 5.如权利要求4所述的鼻气道测量方法,其特征在于,所述通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取和存储后的步骤包括:5. nasal airway measurement method as claimed in claim 4, is characterized in that, the described step after described sound signal in described microphone sampling device is read and stored by described FPGA controller comprises: 通过所述FPGA控制器对所述麦克风采样装置中的所述声音信号进行读取;The sound signal in the microphone sampling device is read by the FPGA controller; 判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号;Judging whether the read sound signal is the first to-be-calculated sound signal with an initial portion; 若读取的所述声音信号为具有起始部分的第一待计算声音信号,则将所述control端的电压拉低,同时对所述第一待计算声音信号进行存储;If the read sound signal is the first sound signal to be calculated with a starting part, the voltage of the control terminal is pulled down, and the first sound signal to be calculated is stored at the same time; 若读取的所述声音信号不为具有起始部分的第一待计算声音信号,则保持所述control端的高电压,并将所述声音信号进行剔除。If the read sound signal is not the first to-be-calculated sound signal with the starting part, the high voltage of the control terminal is maintained, and the sound signal is eliminated. 6.如权利要求5所述的鼻气道测量方法,其特征在于,所述判断读取的所述声音信号是否为具有起始部分的第一待计算声音信号的步骤包括:6. The nasal airway measurement method as claimed in claim 5, wherein the step of judging whether the read sound signal is the first sound signal to be calculated with an initial part comprises: 判断所述声音信号所处的地址是否属于所述FPGA控制器的内存数据库中的循环存储区;Judging whether the address where the sound signal is located belongs to the loop storage area in the memory database of the FPGA controller; 若所述声音信号所处的地址属于所述FPGA控制器的内存数据库中的循环存储区,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号;If the address at which the sound signal is located belongs to the cyclic storage area in the memory database of the FPGA controller, then it is determined that the sound signal read is the first sound signal to be calculated with an initial portion; 若所述声音信号所处的地址不属于所述FPGA控制器的内存数据库中的循环存储区,则判断所述声音信号是否触发预设存储条件;If the address where the sound signal is located does not belong to the cyclic storage area in the memory database of the FPGA controller, then determine whether the sound signal triggers a preset storage condition; 若所述声音信号触发预设存储条件,则判定读取的所述声音信号为具有起始部分的第一待计算声音信号。If the sound signal triggers the preset storage condition, it is determined that the read sound signal is the first to-be-calculated sound signal having a starting part. 7.如权利要求5所述的鼻气道测量方法,其特征在于,所述将存储在所述FPGA控制器中的第一待计算声音信号发送至所述上位机中进行计算,得到鼻气道测量结果的步骤包括:7. nasal airway measurement method as claimed in claim 5, is characterized in that, the described first sound signal to be calculated that is stored in described FPGA controller is sent to described host computer to carry out calculation, obtain nasal air The steps for measuring results include: 将所述第一待计算声音信号通过所述FPGA控制器发送至所述上位机中;Sending the first sound signal to be calculated to the host computer through the FPGA controller; 通过PCA降维空间法对所述第一待计算声音信号进行压缩降维后,在降维空间中得到第一低维待计算声音信号;After compressing and reducing the dimension of the first sound signal to be calculated by the PCA dimensionality reduction space method, a first low-dimensional sound signal to be calculated is obtained in the dimensionality reduction space; 基于预设比例,在所述第一低维待计算声音信号中将偏离所述第一低维待计算声音信号的中心位置的异常信号进行剔除,得到第二低维待计算声音信号;Based on the preset ratio, the abnormal signals that deviate from the center position of the first low-dimensional sound signal to be calculated are eliminated from the first low-dimensional sound signal to be calculated to obtain a second low-dimensional sound signal to be calculated; 将所述第二低维待计算声音信号作为提取样本,在所述第一待计算声音信号中进行与所述第二低维待计算声音信号对应的待计算声音信号的提取,得到第二待计算声音信号;Taking the second low-dimensional sound signal to be calculated as an extraction sample, extracting the to-be-calculated sound signal corresponding to the second low-dimensional to-be-calculated sound signal in the first to-be-calculated sound signal to obtain a second to-be-calculated sound signal. calculate the sound signal; 基于互相关定位法对所述第二待计算声音信号进行拆分,得到第一声音入射波脉冲信号和第一声音回波信号和基线信号;Splitting the second sound signal to be calculated based on the cross-correlation localization method to obtain the first sound incident wave pulse signal, the first sound echo signal and the baseline signal; 通过补偿方法将所述第一声音入射波脉冲信号和第一声音回波信号中的所述基线信号去除,得到第二声音入射波脉冲信号和第二声音回波信号;The baseline signal in the first sound incident wave pulse signal and the first sound echo signal is removed by a compensation method to obtain a second sound incident wave pulse signal and a second sound echo signal; 基于快速傅里叶变换算法对所述第二声音入射波脉冲信号和第二声音回波信号进行快速傅里叶变换,得到第三声音入射波脉冲信号和第三声音回波信号;Fast Fourier transform is performed on the second sound incident wave pulse signal and the second sound echo signal based on the fast Fourier transform algorithm to obtain the third sound incident wave pulse signal and the third sound echo signal; 基于所述第三声音入射波脉冲信号和第三声音回波信号进行冲激响应h(t)值的计算,得到h(t)值,并将所述h(t)值进行平均后,基于WA算法进行计算获得所述鼻气道测量结果。Calculate the h(t) value of the impulse response based on the third sound incident wave pulse signal and the third sound echo signal to obtain the h(t) value, and after averaging the h(t) value, based on The WA algorithm performs calculations to obtain the nasal airway measurements. 8.如权利要求7所述的鼻气道测量方法,其特征在于,所述得到鼻气道测量结果的步骤之后,还包括:8. nasal airway measurement method as claimed in claim 7, is characterized in that, after the described step of obtaining nasal airway measurement result, also comprises: 通过所述上位机的显示端对所述鼻气道测量结果进行显示。The nasal airway measurement result is displayed through the display end of the upper computer. 9.一种测量设备,其特征在于,所述测量设备包括如权利要求1至2中任一项所述的鼻声反射仪、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现权利要求3-8中任一项所述的鼻气道测量方法的步骤。9. A measuring device, characterized in that, the measuring device comprises the nasal acoustic reflectometer according to any one of claims 1 to 2, a memory, a processor, and a device that is stored on the memory and can run on the processor. A computer program, when the processor executes the computer program, implements the steps of the nasal airway measurement method according to any one of claims 3-8. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求3-8中任一项所述的鼻气道测量方法的步骤。10. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the nosepiece described in any one of claims 3-8 is implemented. Steps of the airway measurement method.
CN202210285932.XA 2022-03-23 2022-03-23 Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium Active CN114376609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210285932.XA CN114376609B (en) 2022-03-23 2022-03-23 Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210285932.XA CN114376609B (en) 2022-03-23 2022-03-23 Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium

Publications (2)

Publication Number Publication Date
CN114376609A true CN114376609A (en) 2022-04-22
CN114376609B CN114376609B (en) 2022-06-14

Family

ID=81205217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210285932.XA Active CN114376609B (en) 2022-03-23 2022-03-23 Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium

Country Status (1)

Country Link
CN (1) CN114376609B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4326416A (en) * 1978-08-08 1982-04-27 Cambridge Collaborative, Inc. Acoustic pulse response measuring
US4382235A (en) * 1981-01-12 1983-05-03 International Control Systems, Inc. Simulated noise generator
US5316002A (en) * 1993-06-29 1994-05-31 Trustees Of Boston University Nasopharyngealometric apparatus and method
EP0702350A2 (en) * 1994-09-17 1996-03-20 Richard Wolf GmbH Driving circuit for a soundpulse source
US20050154301A1 (en) * 2002-06-12 2005-07-14 Acoustitech Ltd. Acoustic diagnosis of sinusitis
PL409750A1 (en) * 2014-10-09 2016-04-11 Akademia Górniczo-Hutnicza im. Stanisława Staszica w Krakowie Method for producing sound and the electrospark source of sound, preferably for acoustic model tests
US20210161428A1 (en) * 2019-08-15 2021-06-03 Massachusetts Institute Of Technology Rhinometric sensing and gas detection
CN216026026U (en) * 2021-05-15 2022-03-15 西安石油大学 Impulse sound source discharging device for downhole logging while drilling

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4326416A (en) * 1978-08-08 1982-04-27 Cambridge Collaborative, Inc. Acoustic pulse response measuring
US4326416B1 (en) * 1978-08-08 1993-05-25 J Fredberg Jeffrey
US4382235A (en) * 1981-01-12 1983-05-03 International Control Systems, Inc. Simulated noise generator
US5316002A (en) * 1993-06-29 1994-05-31 Trustees Of Boston University Nasopharyngealometric apparatus and method
EP0702350A2 (en) * 1994-09-17 1996-03-20 Richard Wolf GmbH Driving circuit for a soundpulse source
US20050154301A1 (en) * 2002-06-12 2005-07-14 Acoustitech Ltd. Acoustic diagnosis of sinusitis
PL409750A1 (en) * 2014-10-09 2016-04-11 Akademia Górniczo-Hutnicza im. Stanisława Staszica w Krakowie Method for producing sound and the electrospark source of sound, preferably for acoustic model tests
US20210161428A1 (en) * 2019-08-15 2021-06-03 Massachusetts Institute Of Technology Rhinometric sensing and gas detection
CN216026026U (en) * 2021-05-15 2022-03-15 西安石油大学 Impulse sound source discharging device for downhole logging while drilling

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
肖菊兰,陈涛,陈英,刘洪利: "一种智能电火花脉冲电源核心控制系统设计", 《科技与创新》 *

Also Published As

Publication number Publication date
CN114376609B (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN109256146B (en) Audio detection method, device and storage medium
US9418665B2 (en) Method for controlling device and device control system
CN111385714A (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
CN111475384A (en) Shell temperature calculation method and device, storage medium and electronic equipment
CN110599989B (en) Audio processing method, device and storage medium
WO2020034693A1 (en) Method for measuring bandwidth of linear vibration motor
CN108512615B (en) Signal intensity display method and mobile terminal
CN113596657A (en) Earphone in-ear detection method, terminal and computer readable storage medium
WO2021134250A1 (en) Emotion management method and device, and computer-readable storage medium
CN110675848A (en) Audio processing method, device and storage medium
CN111343540A (en) A processing method and electronic device for piano audio
CN106652981B (en) BPM detection method and device
CN114376609B (en) Nasal acoustic reflectometer, nasal airway measurement method, measurement equipment and medium
CN110660376B (en) Audio processing method, device and storage medium
WO2020118560A1 (en) Recording method and apparatus, electronic device and computer readable storage medium
CN117516666B (en) A quality factor measurement device and method for Coriolis flowmeter
CN107808655B (en) Audio signal processing method, audio signal processing device, electronic equipment and storage medium
CN112084084B (en) Electronic equipment, detection method and device
CN110740270A (en) Camera adjusting method and device, electronic equipment and storage medium
CN105852810A (en) Sleep control method
CN111627454B (en) Environmental voice collection and processing method, device, equipment and readable storage medium
JP4556099B2 (en) Monitoring system, control device and method, and program
CN105708421B (en) A kind of sleep detection method
CN112437373A (en) Audio processing method, headphone apparatus, and readable storage medium
CN105786443A (en) Frequency response correction method, processing chip and terminal equipment

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