CN111481842A - A wearable ultrasonic therapeutic apparatus based on dynamic matching - Google Patents

A wearable ultrasonic therapeutic apparatus based on dynamic matching Download PDF

Info

Publication number
CN111481842A
CN111481842A CN202010317314.XA CN202010317314A CN111481842A CN 111481842 A CN111481842 A CN 111481842A CN 202010317314 A CN202010317314 A CN 202010317314A CN 111481842 A CN111481842 A CN 111481842A
Authority
CN
China
Prior art keywords
module
neural network
transducer
matching
voltage
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.)
Pending
Application number
CN202010317314.XA
Other languages
Chinese (zh)
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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN202010317314.XA priority Critical patent/CN111481842A/en
Publication of CN111481842A publication Critical patent/CN111481842A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N7/00Ultrasound therapy
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N7/00Ultrasound therapy
    • A61N2007/0004Applications of ultrasound therapy

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • Artificial Intelligence (AREA)
  • Radiology & Medical Imaging (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Public Health (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Surgical Instruments (AREA)

Abstract

The invention discloses a wearable ultrasonic therapeutic apparatus based on dynamic matching, which comprises a main control unit, a signal generation module, a power amplifier, an impedance matching module, an ultrasonic transducer, an automatic frequency tracking module and a power supply module, wherein the main control unit is used for controlling the power amplifier to output power; the main control unit is respectively connected with the signal generation module, the frequency automatic tracking module and the power supply module, the power supply module is further connected with the shaping filter circuit and the power amplifier, the power amplifier is further connected with the impedance matching module, the impedance matching module is connected with the ultrasonic transducer, and the ultrasonic transducer is connected with the frequency automatic tracking module. According to the invention, the dynamic matching inductance is output, and the reactance angle of the reactor is adjusted in real time according to the size of the dynamic inductance, so that the voltage and the current at two ends of the transducer are changed, and the dynamic adjustment of the matching inductance is realized by adopting closed-loop control.

Description

一种基于动态匹配的可穿戴超声治疗仪A wearable ultrasonic therapeutic apparatus based on dynamic matching

技术领域technical field

本发明属于超声治疗设备技术领域,具体涉及一种基于动态匹配的可穿戴超声治疗仪。The invention belongs to the technical field of ultrasonic therapy equipment, in particular to a wearable ultrasonic therapy instrument based on dynamic matching.

背景技术Background technique

慢性软组织损伤作为一种常见病多发病其病因尚未定论。科学表明利用超声波疗法对治疗不同类型慢性软组织损伤具有积极的治疗作用。Chronic soft tissue injury is a common disease and its etiology has not yet been determined. Science has shown that the use of ultrasound therapy has a positive therapeutic effect on the treatment of different types of chronic soft tissue injuries.

超声技术被广泛应用在工业生产中,如电子封装行业、超声加工行业等。一般大功率的超声设备必须具有匹配电路,但目前的匹配电路大多数采用静态匹配电路,而且是在系统没有加任何负载的情况下进行的研究。实际上,换能器在加工过程中,温度变化、负载变化和工具磨损等都会影响换能器参数改变,必然会导致静态匹配失调,这就会造成无功功率产生、振动幅度减小等问题。显然,静态匹配不适于大功率设备长期作业。Ultrasonic technology is widely used in industrial production, such as electronic packaging industry, ultrasonic processing industry, etc. Generally, high-power ultrasound equipment must have a matching circuit, but most of the current matching circuits use static matching circuits, and the research is carried out under the condition that no load is added to the system. In fact, during the processing of the transducer, temperature changes, load changes and tool wear will affect the changes of the transducer parameters, which will inevitably lead to static matching imbalance, which will cause problems such as reactive power generation and vibration amplitude reduction. . Obviously, static matching is not suitable for long-term operation of high-power equipment.

常规的锁相环技术的频率跟踪方式容易失锁,而普通模糊控制的缺乏自我整体的动态响应能力,无法在系统保持一种实时调节参数的自动处理功能,且跟踪速度慢,保证不了系统动态效果。The frequency tracking method of the conventional phase-locked loop technology is easy to lose lock, while the ordinary fuzzy control lacks the self-integral dynamic response ability, and cannot maintain an automatic processing function of real-time adjustment of parameters in the system, and the tracking speed is slow, which cannot guarantee the system dynamic. Effect.

通过对目前出现的部分超声理疗仪分析,当前存在的主要问题:Through the analysis of some of the existing ultrasonic physiotherapy devices, the main problems currently exist:

(1)目前的匹配电路未加入任何神经网络算法,调节效果差,导致输出的声强不稳定。并且大多数采用静态匹配电路,容易产生静态匹配失调。(1) The current matching circuit does not add any neural network algorithm, and the adjustment effect is poor, resulting in unstable output sound intensity. And most of them use static matching circuits, which are prone to static matching misalignment.

(2)频率跟踪速度慢,动态响应能力弱,无法在系统保持一种实时调节参数的自动处理功能,保证不了系统动态效果。换能系统在动态匹配切换电感时,易失锁现象,换能系统动态匹配电路的整体性能低。常规的锁相环技术的频率跟踪方式容易失锁,而普通模糊控制跟踪速度慢,动态响应能力弱,无法在系统保持一种实时调节参数的自动处理功能,保证不了系统动态效果。(2) The frequency tracking speed is slow and the dynamic response capability is weak. It is impossible to maintain an automatic processing function of adjusting parameters in real time in the system, and the dynamic effect of the system cannot be guaranteed. When the transduction system dynamically matches the switching inductance, the lock phenomenon is easily lost, and the overall performance of the dynamic matching circuit of the transduction system is low. The frequency tracking method of the conventional phase-locked loop technology is easy to lose lock, while the ordinary fuzzy control tracking speed is slow and the dynamic response capability is weak.

(3)不具有可穿戴性能。大部分治疗仪体积大,操作复制,充电复杂,并没有实现真正的可穿戴。(3) Does not have wearable properties. Most of the therapeutic devices are bulky, duplicated in operation, complicated in charging, and have not been truly wearable.

发明内容SUMMARY OF THE INVENTION

为了解决上述现有技术存在的技术问题,本发明提供了一种基于动态匹配的可穿戴超声治疗仪。本发明的治疗仪采用智能算法共同实现超声治疗仪的阻抗动态匹配,提高换能系统动态匹配电路的整体性能,产生高效稳定的输出超声波。In order to solve the technical problems existing in the above-mentioned prior art, the present invention provides a wearable ultrasonic therapeutic apparatus based on dynamic matching. The therapeutic apparatus of the present invention adopts intelligent algorithms to jointly realize the impedance dynamic matching of the ultrasonic therapeutic apparatus, improves the overall performance of the dynamic matching circuit of the transducer system, and generates efficient and stable output ultrasonic waves.

本发明通过下述技术方案实现:The present invention is achieved through the following technical solutions:

一种基于动态匹配的可穿戴超声治疗仪,包括主控单元、信号发生模块、功率放大器、阻抗匹配模块、超声波换能器、频率自动跟踪模块和供电模块;其中,所述主控单元分别与信号发生模块、频率自动跟踪模块和供电模块连接,所述供电模块还与整形滤波电路和功率放大器连接,所述功率放大器还与阻抗匹配模块连接,所述阻抗匹配模块与超声波换能器连接,所述超声波换能器与频率自动跟踪模块连接;A wearable ultrasonic therapeutic apparatus based on dynamic matching, comprising a main control unit, a signal generation module, a power amplifier, an impedance matching module, an ultrasonic transducer, an automatic frequency tracking module and a power supply module; The signal generating module, the frequency automatic tracking module and the power supply module are connected, the power supply module is also connected with the shaping filter circuit and the power amplifier, the power amplifier is also connected with the impedance matching module, and the impedance matching module is connected with the ultrasonic transducer, The ultrasonic transducer is connected with the frequency automatic tracking module;

所述主控单元用于控制信号发生器产生DDS信号,所述功率放大模块用于对DDS信号进行放大生成超声换能器的使能信号,所述阻抗匹配模块用于动态调节超声波换能器的匹配电感;所述频率自动跟踪模块使得超声波换能器的输出频率实时跟踪换能器的输入频率;The main control unit is used to control the signal generator to generate the DDS signal, the power amplification module is used to amplify the DDS signal to generate an enabling signal of the ultrasonic transducer, and the impedance matching module is used to dynamically adjust the ultrasonic transducer. The matching inductance; the automatic frequency tracking module enables the output frequency of the ultrasonic transducer to track the input frequency of the transducer in real time;

所述供电模块为主控单元、信号发生模块和功率放大模块供电。The power supply module supplies power to the main control unit, the signal generating module and the power amplifying module.

本发明针对目前的匹配电路容易产生静态匹配失调的问题,阻抗匹配模块对超声换能器的匹配电感进行动态调节;同时解决超声系统在动态匹配切换电感时,易失锁现象,提高换能系统动态匹配电路的整体性能,产生高效稳定的输出超声波。Aiming at the problem that the current matching circuit is prone to static matching misalignment, the impedance matching module dynamically adjusts the matching inductance of the ultrasonic transducer; at the same time, the invention solves the phenomenon that the ultrasonic system is easy to lose lock when the inductance is dynamically matched and switches, and improves the transduction system. Dynamically match the overall performance of the circuit to generate efficient and stable output ultrasonic waves.

本发明的阻抗匹配模块通过BP神经网络来输出动态匹配电感,根据动态电感的大小,实时调节电抗器的电抗角,从而改变换能器两端电压和电流的大小,采用闭环控制,实现匹配电感的动态调节。优选的,本发明的阻抗匹配模块包括数据检测模块、数据预处理模块和BP神经网络模块,通过数据检测模块采集超声波换能器的输入参数,所述数据预处理模块对输入参数和输出参数进行处理得到训练样本数据,所述BP神经网络模块将训练样本数据输入到BP神经网络进行训练,采用训练好的神经网络实时输出匹配电感以实现匹配电感的动态调节。The impedance matching module of the present invention outputs the dynamic matching inductance through the BP neural network, and adjusts the reactance angle of the reactor in real time according to the size of the dynamic inductance, thereby changing the magnitude of the voltage and current at both ends of the transducer, and adopts closed-loop control to realize the matching inductance dynamic adjustment. Preferably, the impedance matching module of the present invention includes a data detection module, a data preprocessing module and a BP neural network module, the input parameters of the ultrasonic transducer are collected through the data detection module, and the data preprocessing module performs the input parameters and output parameters. After processing the training sample data, the BP neural network module inputs the training sample data into the BP neural network for training, and uses the trained neural network to output the matching inductance in real time to realize the dynamic adjustment of the matching inductance.

优选的,本发明的输入参数为导致换能器内部参数变化的五个变量,包括换能器温度、超声波频率、换能器两端电压值、换能器两端电流值和换能器深入水槽的深度,所述输出参数为匹配电感值。Preferably, the input parameters of the present invention are five variables that cause changes in the internal parameters of the transducer, including transducer temperature, ultrasonic frequency, voltage value at both ends of the transducer, current value at both ends of the transducer, and depth of the transducer. The depth of the water tank, the output parameter is the matching inductance value.

优选的,本发明的BP神经网络模块被配置为执行如下步骤:Preferably, the BP neural network module of the present invention is configured to perform the following steps:

S1,BP神经网络过对多个样本数据进行学习和训练,通过调整网络的权值达到最小误差,从而得到训练好的BP神经网络;S1, the BP neural network learns and trains multiple sample data, and adjusts the weights of the network to achieve the minimum error, thereby obtaining a trained BP neural network;

S2,采用步骤S1训练好的BP神经网络输出匹配电感,用于实时调节电抗器的电抗角,从而改变换能器两端电压和电流的大小;S2, using the BP neural network trained in step S1 to output the matching inductance, which is used to adjust the reactance angle of the reactor in real time, thereby changing the magnitude of the voltage and current at both ends of the transducer;

S3,重复执行S2,即可实现匹配电感的动态调节。In S3, the dynamic adjustment of the matching inductance can be realized by repeating the execution of S2.

本发明的频率自动跟踪模块采用基于Fuzzy神经网络的自动频率跟踪技术,使超声波换能器的输出频率实时跟踪其输入频率,提高了系统的频率跟踪速度,提高了超声治疗仪的工作频率。优选的,本发明的频率自动跟踪模块包括电压电流采集模块、鉴相器和Fuzzy神经网络控制器,所述电压电流采集模块用于实时采集换能器两端的电压和电流信号并将信号传送给鉴相器,所述鉴相器根据电压和电流信号得到相位差和相位差的变化率并将其输入Fuzzy神经网络控制器进行相位差调整以实现频率的自动跟踪。The frequency automatic tracking module of the invention adopts the automatic frequency tracking technology based on the fuzzy neural network, so that the output frequency of the ultrasonic transducer can track its input frequency in real time, the frequency tracking speed of the system is improved, and the working frequency of the ultrasonic therapeutic apparatus is improved. Preferably, the frequency automatic tracking module of the present invention includes a voltage and current acquisition module, a phase detector and a Fuzzy neural network controller, and the voltage and current acquisition module is used for real-time acquisition of voltage and current signals at both ends of the transducer and transmission of the signals to A phase detector, the phase detector obtains the phase difference and the rate of change of the phase difference according to the voltage and current signals, and inputs them into the Fuzzy neural network controller to adjust the phase difference to realize automatic frequency tracking.

优选的,本发明的Fuzzy神经网络控制器被配置为执行如下步骤:Preferably, the Fuzzy neural network controller of the present invention is configured to perform the following steps:

S11,相位差和相位差的变化率作为Fuzzy神经网络的输入,调整后的相位差作为Fuzzy神经网络的输出,利用神经网络算法对输入输出进行映射;S11, the phase difference and the rate of change of the phase difference are used as the input of the fuzzy neural network, the adjusted phase difference is used as the output of the fuzzy neural network, and the input and output are mapped by the neural network algorithm;

S12,确定模糊化和隶属函数、模糊规则,得到Fuzzy神经网络模型;S12, determine the fuzzification, membership function and fuzzy rules, and obtain the Fuzzy neural network model;

S13,采用多个数据样本对Fuzzy神经网络模型进行训练,得到训练好的Fuzzy神经网络模型;S13, using multiple data samples to train the Fuzzy neural network model to obtain a trained Fuzzy neural network model;

S14,将实时获取的相位差和相位差的变化率输入到训练好的Fuzzy神经网络模型以输出调整相位差的大小;S14, input the phase difference obtained in real time and the rate of change of the phase difference into the trained Fuzzy neural network model to output the size of the adjusted phase difference;

S15,改变换能器两端的电流,重复执行步骤S14,直到相位差为零,使得信号输出频率与输入频率逐渐保持一致,实现频率自动跟踪。S15 , changing the current at both ends of the transducer, and repeating step S14 until the phase difference is zero, so that the signal output frequency is gradually consistent with the input frequency, and automatic frequency tracking is realized.

本发明通过设置一个供电模块,用于为整个仪器中不同的模块提供不同需求的电压,简化了仪器的体积。优选的,本发明的供电模块采用12V可充电聚合锂电池组,聚合锂电池组通过boost升压模块将12V电压升到48V,直接为功率放大模块供电;聚合锂电池组通过线性稳压芯片将12V电压转换为5V为信号发生模块供电;再通过稳压芯片将5V电压转换为3.3V为主控单元供电。The present invention simplifies the volume of the instrument by arranging a power supply module to provide voltages with different requirements for different modules in the whole instrument. Preferably, the power supply module of the present invention adopts a 12V rechargeable polymer lithium battery pack, and the polymer lithium battery pack raises the 12V voltage to 48V through the boost boosting module, and directly supplies power to the power amplifier module; The 12V voltage is converted into 5V to supply power for the signal generation module; then the 5V voltage is converted into 3.3V through the voltage regulator chip to supply power to the main control unit.

优选的,本发明的信号发生模块包括DDS信号发生器、整形滤波电路和驱动电路;所述DDS信号发生器通过串行总线连接主控单元,通过主控单元产生2MHz方波,驱动电路将DDS信号发生器产生的2MHz方波进行分频,变为1MHz方波,再经整形滤波电路进行整形后将其传送给功率放大模块。Preferably, the signal generating module of the present invention includes a DDS signal generator, a shaping filter circuit and a driving circuit; the DDS signal generator is connected to the main control unit through a serial bus, and the main control unit generates a 2MHz square wave, and the driving circuit converts the DDS The 2MHz square wave generated by the signal generator is divided into a 1MHz square wave, which is then shaped by the shaping filter circuit and sent to the power amplifier module.

本发明还设置有安全防护装置,用于保护人员和设备的安全。优选的,本发明还包括温控模块,采用热敏电阻实时采集超声换能器两端的温度,当温度超过设定的安全阈值,自动控制断电确保使用者的安全。The present invention is also provided with a safety protection device for protecting the safety of personnel and equipment. Preferably, the present invention also includes a temperature control module, which uses a thermistor to collect the temperature at both ends of the ultrasonic transducer in real time. When the temperature exceeds a set safety threshold, the power is automatically controlled to ensure the safety of the user.

优选的,本发明还包括过流过压保护模块和人机交互模块,且所述人机交互模块和过流过压保护模块均与主控单元连接,所述人机交互模块用于超声强度的调节以及显示当前超声强度所处档位,所述过流过压保护模块用于输出过压保护和过流保护。Preferably, the present invention further includes an overcurrent and overvoltage protection module and a human-computer interaction module, and both the human-computer interaction module and the overcurrent and overvoltage protection module are connected to the main control unit, and the human-computer interaction module is used for ultrasonic intensity Adjust and display the current ultrasonic intensity in gear, the over-current and over-voltage protection module is used for output over-voltage protection and over-current protection.

本发明具有如下的优点和有益效果:The present invention has the following advantages and beneficial effects:

1、本发明引入BP神经网络控制器来实现匹配电感的动态调节。本发明通过BP神经网络控制器输出动态匹配电感,根据动态电感的大小,实时调节电抗器的电抗角,从而改变换能器两端电压和电流的大小,采用闭环控制,实现匹配电感的动态调节。普通阻抗匹配并未加入任何神经网络算法,调节效果差,导致输出的声强不稳定。并且大多数采用静态匹配电路,容易产生静态匹配失调。1. The present invention introduces a BP neural network controller to realize the dynamic adjustment of the matching inductance. The invention outputs the dynamic matching inductance through the BP neural network controller, and adjusts the reactance angle of the reactor in real time according to the size of the dynamic inductance, thereby changing the magnitude of the voltage and current at both ends of the transducer, and adopts closed-loop control to realize the dynamic adjustment of the matching inductance. . Ordinary impedance matching does not add any neural network algorithm, and the adjustment effect is poor, resulting in unstable output sound intensity. And most of them use static matching circuits, which are prone to static matching misalignment.

2、本发明提出了一种基于Fuzzy神经网络的自动频率跟踪技术,使超声电源的输出频率实时跟踪换能器的输入频率。在频率跟踪模块加入Fuzzy神经网络,使得动态匹配的准确性高,频率自动跟踪速度快,解决了换能系统在动态匹配切换电感时,易失锁现象,提高换能系统动态匹配电路的整体性能。解决了普通模糊控制跟踪速度慢,动态响应能力弱,而锁相环技术易失锁的痛点。2. The present invention proposes an automatic frequency tracking technology based on a fuzzy neural network, which enables the output frequency of the ultrasonic power supply to track the input frequency of the transducer in real time. The fuzzy neural network is added to the frequency tracking module, which makes the dynamic matching high accuracy and the frequency automatic tracking speed fast. It solves the phenomenon that the transduction system is easy to lose lock when the inductance is dynamically matched and switches, and improves the overall performance of the dynamic matching circuit of the transduction system. . It solves the pain points of slow tracking speed, weak dynamic response ability and easy lock loss of phase-locked loop technology in ordinary fuzzy control.

3、本发明的超声治疗仪为可穿戴设计,通过减少复杂的人机交互界面,采用电池供电和无线充电,进一步简化超声治疗仪的体积。3. The ultrasonic therapeutic apparatus of the present invention is of a wearable design, which further simplifies the volume of the ultrasonic therapeutic apparatus by reducing the complex human-computer interaction interface and using battery power and wireless charging.

附图说明Description of drawings

此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,并不构成对本发明实施例的限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the embodiments of the present invention, and constitute a part of the present application, and do not constitute limitations to the embodiments of the present invention. In the attached image:

图1为本发明的超声治疗仪结构框图。FIG. 1 is a structural block diagram of the ultrasonic therapeutic apparatus of the present invention.

图2为本发明的阻抗匹配模块原理示意框图。FIG. 2 is a schematic block diagram of the principle of the impedance matching module of the present invention.

图3为本发明的频率自动跟踪模块原理示意框图。FIG. 3 is a schematic block diagram of the principle of the automatic frequency tracking module of the present invention.

具体实施方式Detailed ways

在下文中,可在本发明的各种实施例中使用的术语“包括”或“可包括”指示所发明的功能、操作或元件的存在,并且不限制一个或更多个功能、操作或元件的增加。此外,如在本发明的各种实施例中所使用,术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "comprising" or "may include" as may be used in various embodiments of the present invention indicate the presence of an invented function, operation or element and do not limit the identity of one or more functions, operations or elements Increase. Furthermore, as used in various embodiments of the present invention, the terms "comprising", "having" and their cognates are only intended to mean a particular feature, number, step, operation, element, component or combination of the foregoing, and should not be construed as first excluding the presence of or adding one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing or the possibility of a combination of the foregoing.

在本发明的各种实施例中,表述“或”或“A或/和B中的至少一个”包括同时列出的文字的任何组合或所有组合。例如,表述“A或B”或“A或/和B中的至少一个”可包括A、可包括B或可包括A和B二者。In various embodiments of the invention, the expression "or" or "at least one of A or/and B" includes any and all combinations of the words listed at the same time. For example, the expressions "A or B" or "at least one of A or/and B" may include A, may include B, or may include both A and B.

在本发明的各种实施例中使用的表述(诸如“第一”、“第二”等)可修饰在各种实施例中的各种组成元件,不过可不限制相应组成元件。例如,以上表述并不限制所述元件的顺序和/或重要性。以上表述仅用于将一个元件与其它元件区别开的目的。例如,第一用户装置和第二用户装置指示不同用户装置,尽管二者都是用户装置。例如,在不脱离本发明的各种实施例的范围的情况下,第一元件可被称为第二元件,同样地,第二元件也可被称为第一元件。Expressions (such as "first", "second", etc.) used in the various embodiments of the present invention may modify various constituent elements in the various embodiments, but may not limit the corresponding constituent elements. For example, the above expressions do not limit the order and/or importance of the elements described. The above expressions are only used for the purpose of distinguishing one element from other elements. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of various embodiments of the present invention.

应注意到:如果描述将一个组成元件“连接”到另一组成元件,则可将第一组成元件直接连接到第二组成元件,并且可在第一组成元件和第二组成元件之间“连接”第三组成元件。相反地,当将一个组成元件“直接连接”到另一组成元件时,可理解为在第一组成元件和第二组成元件之间不存在第三组成元件。It should be noted that if a constituent element is described as being "connected" to another constituent element, the first constituent element may be directly connected to the second constituent element, and the "connection" between the first constituent element and the second constituent element may be "The third component. On the contrary, when one constituent element is "directly connected" to another constituent element, it can be understood that the third constituent element does not exist between the first constituent element and the second constituent element.

在本发明的各种实施例中使用的术语仅用于描述特定实施例的目的并且并非意在限制本发明的各种实施例。如在此所使用,单数形式意在也包括复数形式,除非上下文清楚地另有指示。除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本发明的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本发明的各种实施例中被清楚地限定。The terminology used in the various embodiments of the present invention is for the purpose of describing particular embodiments only and is not intended to limit the various embodiments of the present invention. As used herein, the singular is intended to include the plural as well, unless the context clearly dictates otherwise. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of this invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized or overly formal meaning, unless explicitly defined in the various embodiments of the present invention.

为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明作进一步的详细说明,本发明的示意性实施方式及其说明仅用于解释本发明,并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and the accompanying drawings. as a limitation of the present invention.

实施例1Example 1

本实施例提出了一种基于动态匹配的可穿戴超声治疗仪。本实施例的超声治疗仪采用两种智能神经网络算法相结合共同实现超声治疗仪的动态匹配。通过BP神经网络控制器输出动态匹配电感,根据动态电感的大小,实时调节电抗器的电抗角,从而改变换能器两端电压和电流的大小,采用闭环控制,实现匹配电感的动态调节。采用基于Fuzzy神经网络的自动频率跟踪技术解决了换能系统在动态匹配切换电感时,易失锁现象,提高换能系统动态匹配电路的整体性能。使超声电源的输出频率实时跟踪换能器的输入频率。This embodiment proposes a wearable ultrasonic therapeutic apparatus based on dynamic matching. The ultrasonic therapeutic apparatus of this embodiment adopts the combination of two intelligent neural network algorithms to jointly realize the dynamic matching of the ultrasonic therapeutic apparatus. The dynamic matching inductance is output by the BP neural network controller, and the reactance angle of the reactor is adjusted in real time according to the size of the dynamic inductance, thereby changing the magnitude of the voltage and current at both ends of the transducer. The closed-loop control is used to realize the dynamic adjustment of the matching inductance. The automatic frequency tracking technology based on Fuzzy neural network is adopted to solve the problem that the transducer system is easy to lose lock when the inductance is dynamically matched and switched, and the overall performance of the dynamic matching circuit of the transducer system is improved. Make the output frequency of the ultrasonic power supply track the input frequency of the transducer in real time.

如图1所示,如图1所示,一种基于动态匹配的可穿戴超声治疗仪,主要包括供电模块1、信号发生模块2、功率放大模块3、阻抗匹配模块4、超声波换能器5、频率自动跟踪模块6、主控单元7、温控模块8、过流过压保护模块9、人机交互模块10。其中,供电模块1包括:无线充电模块11、12V电池组12、12V稳压13、Boost升压14、稳压芯片LM7805 15、稳压芯片AMS1117 16。信号发生模块2包括:DDS信号发生器21、驱动电路22、整形滤波电路23。温控模块8包括:温度采样模块81,过温保护模块82。As shown in FIG. 1 , as shown in FIG. 1 , a wearable ultrasonic therapeutic apparatus based on dynamic matching mainly includes a power supply module 1 , a signal generation module 2 , a power amplification module 3 , an impedance matching module 4 , and an ultrasonic transducer 5 , Frequency automatic tracking module 6 , main control unit 7 , temperature control module 8 , overcurrent and overvoltage protection module 9 , human-computer interaction module 10 . The power supply module 1 includes: a wireless charging module 11 , a 12V battery pack 12 , a 12V voltage regulator 13 , a boost voltage booster 14 , a voltage regulator chip LM7805 15 , and a voltage regulator chip AMS1117 16 . The signal generating module 2 includes: a DDS signal generator 21 , a driving circuit 22 , and a shaping filter circuit 23 . The temperature control module 8 includes: a temperature sampling module 81 and an over-temperature protection module 82 .

各个模块功能如下:The functions of each module are as follows:

供电模块1,供电模块有三种电压制式:功率放大模块供电(12V)、信号发生器供电(5V)、主控单元(3.3V)。12V可充电锂电池通过boost升压模块将12V电压升为48V,直接为功率放大模块供电;考虑到12V到3.3V的压降过大。信号发生电路通过线性稳压芯片LM7805将12V电压转化为5V进行供电;利用稳压芯片AMS1117把5V电压转化为3.3V为主控单元供电。AMS1117是一款输出电压为3.3V的正向低压降稳压器,成本低且电路设计简单。充电部分利用QI标准无线充电模块为整个超声治疗仪无线充电,电池采用12.6V 1800mAh的可充电聚合锂电池组,聚合锂电池组体积仅为45立方厘米,进一步简化了理疗仪的体积。Power supply module 1, the power supply module has three voltage systems: power amplifier module power supply (12V), signal generator power supply (5V), main control unit (3.3V). The 12V rechargeable lithium battery boosts the 12V voltage to 48V through the boost boost module, and directly supplies power to the power amplifier module; considering that the voltage drop from 12V to 3.3V is too large. The signal generation circuit converts the 12V voltage into 5V through the linear voltage regulator chip LM7805 for power supply; uses the voltage regulator chip AMS1117 to convert the 5V voltage into 3.3V to supply power to the main control unit. The AMS1117 is a 3.3V forward low dropout regulator with low cost and simple circuit design. The charging part uses the QI standard wireless charging module to wirelessly charge the entire ultrasonic therapy device. The battery uses a 12.6V 1800mAh rechargeable polymer lithium battery pack. The polymer lithium battery pack is only 45 cubic centimeters in size, which further simplifies the volume of the physical therapy device.

信号发生模块2,信号发生模块包含DDS信号发生器、整形滤波电路和驱动电路。AD9833芯片通过串行总线连接主控单元,将主控单元引脚配置成SPI总线模式配合AD9833进行数据传输。主控单元采用低功耗STM32L151主控制器,AD9833芯片通过低功耗STM32L151主控制器产生2MHz方波,驱动电路使用D触发器,对DDS信号发生器产生的2MHz方波进行分频,变为更加稳定的1MHz方波,再经整形滤波电路进行整形,凹型压电陶瓷片输出频率1MHz,强度为0W/cm2到1W/cm2的自适应可调超声波。Signal generation module 2, the signal generation module includes a DDS signal generator, a shaping filter circuit and a drive circuit. The AD9833 chip is connected to the main control unit through the serial bus, and the pins of the main control unit are configured as the SPI bus mode to cooperate with the AD9833 for data transmission. The main control unit adopts the low-power STM32L151 main controller, the AD9833 chip generates a 2MHz square wave through the low-power STM32L151 main controller, and the driving circuit uses a D flip-flop to divide the frequency of the 2MHz square wave generated by the DDS signal generator to become The more stable 1MHz square wave is then shaped by the shaping filter circuit. The concave piezoelectric ceramic sheet outputs an adaptive and adjustable ultrasonic wave with a frequency of 1MHz and an intensity of 0W/ cm2 to 1W/ cm2 .

功率放大模块3,功率放大模块,用于DDS信号放大,驱动DDS发生器产生可以驱动超声换能器的信号。DDS采用AD9833芯片,DDS具有低成本、低功耗、高分辨率和快速转换时间等优点。由于AD9833输出激励信号强度不足以驱动超声换能器,故需将激励信号进行功率放大。超声激励信号经逻辑芯片74HC74D进行分频滤波处理后,送入栅极驱动芯片UCC27525进行后续放大。经放大处理后的超声驱动电压信号可达40V,可直接驱动超声换能器工作。通过主控单元产生PWM波来控制栅极驱动器使能端,实现对超声输出功率的间接控制。The power amplification module 3, the power amplification module, is used for DDS signal amplification, and drives the DDS generator to generate a signal that can drive the ultrasonic transducer. DDS adopts AD9833 chip, DDS has the advantages of low cost, low power consumption, high resolution and fast conversion time. Since the output excitation signal strength of AD9833 is not enough to drive the ultrasonic transducer, it is necessary to amplify the excitation signal. After the ultrasonic excitation signal is processed by the logic chip 74HC74D for frequency division and filtering, it is sent to the gate driver chip UCC27525 for subsequent amplification. The amplified ultrasonic driving voltage signal can reach 40V, which can directly drive the ultrasonic transducer to work. The main control unit generates a PWM wave to control the enable terminal of the gate driver, so as to realize the indirect control of the ultrasonic output power.

阻抗匹配模块4,用于实现匹配电感的动态调节。针对常规静态电路匹配,换能器的频率容易发生漂移,阻抗匹配模块4采用具有神经网络智能算法的BP神经网络模块,实现匹配电感的动态调节。The impedance matching module 4 is used to realize the dynamic adjustment of the matching inductance. For conventional static circuit matching, the frequency of the transducer is prone to drift. The impedance matching module 4 adopts a BP neural network module with a neural network intelligent algorithm to realize dynamic adjustment of the matching inductance.

如图2所示,阻抗匹配模块主要由数据检测模块、数据预处理、BP神经网络训练、BP神经网络预测和BP神经网络控制器五个模块组成。超声换能器首先通过数据检测模块采集输入参数,对参数进行预处理,主要是归一化处理,再通过神经网络训练,不断调整的网络的权值,预测电感值大小,然后通过BP神经网络控制器输出动态匹配电感,根据动态电感的大小,实时调节电抗器的电抗角,从而改变换能器两端电压和电流的大小,如此循环下去,实现匹配电感的动态调节。As shown in Figure 2, the impedance matching module is mainly composed of five modules: data detection module, data preprocessing, BP neural network training, BP neural network prediction and BP neural network controller. The ultrasonic transducer first collects the input parameters through the data detection module, preprocesses the parameters, mainly normalized processing, and then trains the neural network, adjusts the weights of the network continuously, predicts the inductance value, and then passes the BP neural network. The controller outputs the dynamic matching inductance, and adjusts the reactance angle of the reactor in real time according to the size of the dynamic inductance, thereby changing the magnitude of the voltage and current at both ends of the transducer, and so on, to realize the dynamic adjustment of the matching inductance.

BP神经网络模块的智能化在于实时对网络的权值进行调整,使得任一输入都能得到所期望的输出。训练方法是对每一组数据样本进行神经网络训练,从网络的第一层开始进行逐层计算,直至输出层。The intelligence of the BP neural network module is to adjust the weights of the network in real time, so that any input can get the desired output. The training method is to train a neural network for each group of data samples, and perform layer-by-layer computation from the first layer of the network to the output layer.

BP神经网络模块具体步骤如下:The specific steps of the BP neural network module are as follows:

S1:通过数据检测模块得到神经网络的输入参数。由于匹配电感的大小之和超声换能器的内部参数有关,所以采用导致换能器内部参数变化的5个主要变量作为输入参数,分别是换能器温度、超声波频率、换能器两端电压值、换能器两端电流值和凹型压电陶瓷片深入水槽的深度,而输出参数为动态电感值。输入参数用x1,x2,…,x5表示,动态电感值用y表示,所以有公式y=f(x1,x2,…,x5)。S1: Obtain the input parameters of the neural network through the data detection module. Since the size of the matching inductance is related to the internal parameters of the ultrasonic transducer, five main variables that lead to the change of the internal parameters of the transducer are used as input parameters, namely the temperature of the transducer, the frequency of the ultrasonic wave, and the voltage across the transducer. value, the current value at both ends of the transducer and the depth of the concave piezoelectric ceramic sheet into the water tank, and the output parameter is the dynamic inductance value. The input parameters are represented by x 1 , x 2 ,...,x 5 , and the dynamic inductance value is represented by y, so there is a formula y=f(x 1 ,x 2 ,...,x 5 ).

S2:数据预处理。为了减少绝对误差,在归一化处理之前进行数据预处理,通过变换将网络的输入、输出数据限制在(0,1)或区间(-1,1)之间。S2: Data preprocessing. In order to reduce the absolute error, data preprocessing is performed before the normalization process, and the input and output data of the network are restricted between (0, 1) or the interval (-1, 1) through transformation.

S3:样本数据的归一化处理。S3: Normalization of sample data.

a.当输入输出样本在[0,1]区间时,归一化处理的公式为a. When the input and output samples are in the [0,1] interval, the formula for normalization is

Figure BDA0002460049760000071
Figure BDA0002460049760000071

其中,Xi表示输入或者输出数据,Xmax表示样本的最大值,Xmin表示样本的最小值Among them, X i represents the input or output data, X max represents the maximum value of the sample, and X min represents the minimum value of the sample

b.当输入输出样本在区间[-1,1]时,归一化处理的公式为b. When the input and output samples are in the interval [-1,1], the formula for normalization is

Figure BDA0002460049760000072
Figure BDA0002460049760000072

Figure BDA0002460049760000073
Figure BDA0002460049760000073

其中,Xmid表示样本的中间值。where X mid represents the median value of the sample.

S4:BP神经网络的训练。BP神经网络的训练目的是固定网络的权值。将大量不同类别的样本进行交叉输入,通过对多个样本数据的大量学习,不断调整权值,减小误差,调整网络的权值达到极小化误差,从而固定网络的权值。S4: Training of BP neural network. The training purpose of BP neural network is to fix the weights of the network. Cross-input a large number of samples of different categories, through a large amount of learning from multiple sample data, continuously adjust the weights to reduce the error, and adjust the weights of the network to minimize the error, thereby fixing the weights of the network.

S5:神经网络的预测,目的是通过BP神经网络对匹配电感值的预测。经过BP神经网络训练,网络的权值已经确定。测试经过训练的样本数据是否具有较好的泛化能力,如果训练样本的误差很小,而测试样本误差大,说明泛化能力比较差,则接着进行第一步的操作,直到神经网络得到好的预测效果。S5: The prediction of the neural network, the purpose is to predict the matching inductance value through the BP neural network. After BP neural network training, the weights of the network have been determined. Test whether the trained sample data has good generalization ability. If the error of the training sample is small, but the error of the test sample is large, indicating that the generalization ability is relatively poor, then proceed to the first step until the neural network obtains a good generalization ability. prediction effect.

频率自动跟踪模块6,通过Fuzzy神经网络模块提高系统频率跟踪速度,解决换能系统在动态匹配切换电感时,锁相时的失锁现象,提高换能系统动态匹配电路的整体性能。频率自动跟踪速度可达到0.12ms,提高了系统的频率跟踪速度,提高了超声治疗仪的工作效率。由于常规的锁相环技术的频率跟踪方式容易失锁,而普通模糊控制的频缺乏自我整体的动态响应能力,无法在系统保持一种实时调节参数的自动处理功能,且跟踪速度慢,保证不了系统动态效果。The frequency automatic tracking module 6 improves the frequency tracking speed of the system through the Fuzzy neural network module, solves the loss of lock phenomenon when the transducer system is dynamically matched to switch the inductance and locks the phase, and improves the overall performance of the dynamic matching circuit of the transducer system. The automatic frequency tracking speed can reach 0.12ms, which improves the frequency tracking speed of the system and improves the working efficiency of the ultrasonic therapeutic apparatus. Because the frequency tracking method of the conventional phase-locked loop technology is easy to lose lock, and the frequency of the ordinary fuzzy control lacks the self-integrated dynamic response ability, it cannot maintain an automatic processing function of real-time adjustment parameters in the system, and the tracking speed is slow, which cannot be guaranteed. System dynamic effects.

为了解决以上痛点,提出了一种基于Fuzzy神经网络的自动频率跟踪技术。基于Fuzzy神经网络的自动频率跟踪技术是基于Fuzzy控制器和锁相环技术自身存在的一些问题,在模糊控制中引入神经网络算法的的智能频率跟踪技术。In order to solve the above pain points, an automatic frequency tracking technology based on Fuzzy neural network is proposed. The automatic frequency tracking technology based on Fuzzy neural network is based on some problems existing in Fuzzy controller and phase locked loop technology. The intelligent frequency tracking technology is introduced into the fuzzy control by neural network algorithm.

如图3所示,自动频率跟踪模块主要包括:电压电流采集,鉴相器,Fuzzy神经网络控制器,具体工作步骤如下As shown in Figure 3, the automatic frequency tracking module mainly includes: voltage and current acquisition, phase detector, and fuzzy neural network controller. The specific working steps are as follows

(1)通过鉴相器实时采集换能器两端的电压和电流信号,得到相位差e和相位差的变化率Δe。(1) The voltage and current signals at both ends of the transducer are collected in real time by the phase detector, and the phase difference e and the change rate Δe of the phase difference are obtained.

(2)将相位差e和相位差的变化率Δe输入Fuzzy神经网络控制器。Fuzzy神经网络控制器的具体工作步骤如下:(2) Input the phase difference e and the change rate Δe of the phase difference into the Fuzzy neural network controller. The specific working steps of the Fuzzy neural network controller are as follows:

S1:确定Fuzzy神经网络控制器的输入和输出信号。将相位差e相位差的变化率Δe作为Fuzzy神经网络控制器的输入。调整后的相位差E作为输出,然后利用神经网络算法对输入输出进行映射。S1: Determine the input and output signals of the Fuzzy neural network controller. The change rate Δe of the phase difference e is taken as the input of the fuzzy neural network controller. The adjusted phase difference E is used as the output, and then the neural network algorithm is used to map the input and output.

S2:模糊化和隶属函数的确定。对控制器的输入输出变量进行模糊化,采用MATLAB模糊控制工具箱和神经网络算法共同调节输入和输出参数,简单方便易操作。隶属函数采用高斯型模糊化函数。S2: Fuzzification and determination of membership functions. The input and output variables of the controller are fuzzified, and the MATLAB fuzzy control toolbox and neural network algorithm are used to jointly adjust the input and output parameters, which is simple, convenient and easy to operate. The membership function adopts a Gaussian fuzzification function.

S3:模糊规则的制定。在MATLAB模糊工具箱中,制定模糊规则。S3: Formulation of fuzzy rules. In the MATLAB Fuzzy Toolbox, formulate fuzzy rules.

S4:Fuzzy神经网络控制器的训练。Fuzzy神经网络控制器具有导师式的自学能力,采用输入层、中间层、推理层和输出层四层结构,训练方法是对每个数据样本进行神经网络训练,从网络的第一层开始进行逐层计算,直至输出层,通过对多个样本数据的大量学习,实施调整相位差的大小,改变换能器两端的电流。S4: Training of Fuzzy Neural Network Controller. The Fuzzy neural network controller has a tutor-style self-learning ability. It adopts a four-layer structure of input layer, middle layer, reasoning layer and output layer. The training method is to train the neural network for each data sample, starting from the first layer of the network. Layer calculation, up to the output layer, adjust the magnitude of the phase difference and change the current at both ends of the transducer through a large amount of learning from multiple sample data.

S5:Fuzzy神经网络控制器的调节。经过模糊规则训练后,将相位差和相位差的变化率的一阶导数作为数据预处理的输入,经过已经训练好的Fuzzy神经网络控制器,实施调整相位差的大小,改变换能器两端的电流,如此循环下去,直到相位差为零,使得信号输出频率与输入频率逐渐保持一致,实现频率自动跟踪。S5: Tuning of Fuzzy Neural Network Controllers. After the fuzzy rule training, the first derivative of the phase difference and the rate of change of the phase difference is used as the input of data preprocessing, and the trained Fuzzy neural network controller is used to adjust the size of the phase difference and change the value of the phase difference at both ends of the transducer. The current circulates like this until the phase difference is zero, so that the output frequency of the signal is gradually consistent with the input frequency, and the frequency is automatically tracked.

(3)通过MATLAB模糊工具箱和Simulink仿真平台,搭建基于Fuzzy神经网络控制器的Simulink仿真模型。实验证明,带有Fuzzy神经网络控制器的自动跟踪模块的频率自动跟踪速度可达到0.12ms,提高了系统的频率跟踪速度,提高了超声治疗仪的工作效率。(3) Build a Simulink simulation model based on Fuzzy neural network controller through MATLAB fuzzy toolbox and Simulink simulation platform. Experiments show that the automatic frequency tracking speed of the automatic tracking module with Fuzzy neural network controller can reach 0.12ms, which improves the frequency tracking speed of the system and improves the working efficiency of the ultrasonic therapeutic apparatus.

主控单元7,主控单元使用低功耗STM32L151微处理器通过ADC检测采样电阻电压,通过PID算法编程控制超声输出强度和显示装置当前工作状态,通过扫描按键方式,来确定输出超声强度,并通过LED灯显示当前所处档位。Main control unit 7, the main control unit uses a low-power STM32L151 microprocessor to detect the voltage of the sampling resistor through the ADC, programmatically controls the ultrasonic output intensity and the current working state of the display device through the PID algorithm, and determines the output ultrasonic intensity by scanning the keys. The current gear is displayed by the LED light.

温控模块8,采用热敏电阻实时采集超声换能器两端的温度,当温度是超过设定的安全阈值,自动断电确保使用者的安全。The temperature control module 8 adopts the thermistor to collect the temperature at both ends of the ultrasonic transducer in real time. When the temperature exceeds the set safety threshold, the power is automatically cut off to ensure the safety of the user.

过压过流保护模块9,采用DC/DC电源模块URA2405ZP为运放供电,输入电压12V,输出电压为±5V,具有输入欠压保护,输出过压保护,输出过流保护。The overvoltage and overcurrent protection module 9 uses a DC/DC power supply module URA2405ZP to supply power to the op amp, with an input voltage of 12V and an output voltage of ±5V. It has input undervoltage protection, output overvoltage protection, and output overcurrent protection.

人机交互模块8,人机交互模块通过简化功能来减少超声治疗仪的大小。人机交互模块仅有按键和LED,通过按键调节输出超声强度,并通过LED灯显示当前所处档位。Human-computer interaction module 8, the human-computer interaction module reduces the size of the ultrasonic therapeutic apparatus by simplifying functions. The human-computer interaction module only has buttons and LEDs. The output ultrasonic intensity is adjusted through the buttons, and the current gear is displayed through the LED lights.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种基于动态匹配的可穿戴超声治疗仪,其特征在于,包括主控单元、信号发生模块、功率放大器、阻抗匹配模块、超声波换能器、频率自动跟踪模块和供电模块;其中,所述主控单元分别与信号发生模块、频率自动跟踪模块和供电模块连接,所述供电模块还与整形滤波电路和功率放大器连接,所述功率放大器还与阻抗匹配模块连接,所述阻抗匹配模块与超声波换能器连接,所述超声波换能器与频率自动跟踪模块连接;1. a wearable ultrasonic therapeutic apparatus based on dynamic matching, is characterized in that, comprises main control unit, signal generation module, power amplifier, impedance matching module, ultrasonic transducer, frequency automatic tracking module and power supply module; The main control unit is respectively connected with the signal generation module, the frequency automatic tracking module and the power supply module, the power supply module is also connected with the shaping filter circuit and the power amplifier, the power amplifier is also connected with the impedance matching module, and the impedance matching module is connected with the The ultrasonic transducer is connected, and the ultrasonic transducer is connected with the frequency automatic tracking module; 所述主控单元用于控制信号发生器产生DDS信号,所述功率放大模块用于对DDS信号进行放大生成超声换能器的使能信号,所述阻抗匹配模块用于动态调节超声波换能器的匹配电感;所述频率自动跟踪模块使得超声波换能器的输出频率实时跟踪换能器的输入频率;The main control unit is used to control the signal generator to generate the DDS signal, the power amplification module is used to amplify the DDS signal to generate an enabling signal of the ultrasonic transducer, and the impedance matching module is used to dynamically adjust the ultrasonic transducer. The matching inductance; the automatic frequency tracking module enables the output frequency of the ultrasonic transducer to track the input frequency of the transducer in real time; 所述供电模块为主控单元、信号发生模块和功率放大模块供电。The power supply module supplies power to the main control unit, the signal generating module and the power amplifying module. 2.根据权利要求1所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述阻抗匹配模块包括数据检测模块、数据预处理模块和BP神经网络模块,通过数据检测模块采集超声波换能器的输入参数,所述数据预处理模块对输入参数和输出参数进行处理得到训练样本数据,所述BP神经网络模块将训练样本数据输入到BP神经网络进行训练,采用训练好的神经网络实时输出匹配电感以实现匹配电感的动态调节。2. a kind of wearable ultrasonic therapeutic apparatus based on dynamic matching according to claim 1, is characterized in that, described impedance matching module comprises data detection module, data preprocessing module and BP neural network module, collects by data detection module The input parameters of the ultrasonic transducer, the data preprocessing module processes the input parameters and output parameters to obtain training sample data, the BP neural network module inputs the training sample data into the BP neural network for training, and uses the trained neural network. The network outputs the matching inductance in real time to realize the dynamic adjustment of the matching inductance. 3.根据权利要求2所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述输入参数为导致换能器内部参数变化的五个变量,包括换能器温度、超声波频率、换能器两端电压值、换能器两端电流值和换能器深入水槽的深度,所述输出参数为匹配电感值。3. a kind of wearable ultrasonic therapeutic apparatus based on dynamic matching according to claim 2, is characterized in that, described input parameter is five variables that cause the change of internal parameter of transducer, comprise transducer temperature, ultrasonic frequency , the voltage value at both ends of the transducer, the current value at both ends of the transducer, and the depth of the transducer deep into the water tank, and the output parameter is the matching inductance value. 4.根据权利要求2所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述BP神经网络模块被配置为执行如下步骤:4. a kind of wearable ultrasonic therapeutic apparatus based on dynamic matching according to claim 2, is characterized in that, described BP neural network module is configured to carry out the following steps: S1,BP神经网络过对多个样本数据进行学习和训练,通过调整网络的权值达到最小误差,从而得到训练好的BP神经网络;S1, the BP neural network learns and trains multiple sample data, and adjusts the weights of the network to achieve the minimum error, thereby obtaining a trained BP neural network; S2,采用步骤S1训练好的BP神经网络输出匹配电感,用于实时调节电抗器的电抗角,从而改变换能器两端电压和电流的大小;S2, using the BP neural network trained in step S1 to output the matching inductance, which is used to adjust the reactance angle of the reactor in real time, thereby changing the magnitude of the voltage and current at both ends of the transducer; S3,重复执行S2,即可实现匹配电感的动态调节。In S3, the dynamic adjustment of the matching inductance can be realized by repeating the execution of S2. 5.根据权利要求1所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述频率自动跟踪模块包括电压电流采集模块、鉴相器和Fuzzy神经网络控制器,所述电压电流采集模块用于实时采集换能器两端的电压和电流信号并将信号传送给鉴相器,所述鉴相器根据电压和电流信号得到相位差和相位差的变化率并将其输入Fuzzy神经网络控制器进行相位差调整以实现频率的自动跟踪。5. A wearable ultrasonic therapeutic apparatus based on dynamic matching according to claim 1, wherein the automatic frequency tracking module comprises a voltage and current acquisition module, a phase detector and a Fuzzy neural network controller, and the voltage The current acquisition module is used to collect the voltage and current signals at both ends of the transducer in real time and transmit the signals to the phase detector. The phase detector obtains the phase difference and the rate of change of the phase difference according to the voltage and current signals and inputs them into the fuzzy nerve. The network controller performs phase difference adjustment to achieve automatic frequency tracking. 6.根据权利要求5所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述Fuzzy神经网络控制器被配置为执行如下步骤:6. A wearable ultrasonic therapeutic apparatus based on dynamic matching according to claim 5, wherein the Fuzzy neural network controller is configured to perform the following steps: S11,相位差和相位差的变化率作为Fuzzy神经网络的输入,调整后的相位差作为Fuzzy神经网络的输出,利用神经网络算法对输入输出进行映射;S11, the phase difference and the rate of change of the phase difference are used as the input of the fuzzy neural network, the adjusted phase difference is used as the output of the fuzzy neural network, and the input and output are mapped by the neural network algorithm; S12,确定模糊化和隶属函数、模糊规则,得到Fuzzy神经网络模型;S12, determine the fuzzification, membership function and fuzzy rules, and obtain the Fuzzy neural network model; S13,采用多个数据样本对Fuzzy神经网络模型进行训练,得到训练好的Fuzzy神经网络模型;S13, using multiple data samples to train the Fuzzy neural network model to obtain a trained Fuzzy neural network model; S14,将实时获取的相位差和相位差的变化率输入到训练好的Fuzzy神经网络模型以输出调整相位差的大小;S14, input the phase difference obtained in real time and the rate of change of the phase difference into the trained Fuzzy neural network model to output the size of the adjusted phase difference; S15,改变换能器两端的电流,重复执行步骤S14,直到相位差为零,使得信号输出频率与输入频率逐渐保持一致,实现频率自动跟踪。S15 , changing the current at both ends of the transducer, and repeating step S14 until the phase difference is zero, so that the signal output frequency is gradually consistent with the input frequency, and automatic frequency tracking is realized. 7.根据权利要求1-6任一项所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述供电模块采用12V可充电聚合锂电池组,聚合锂电池组通过boost升压模块将12V电压升到48V,直接为功率放大模块供电;聚合锂电池组通过线性稳压芯片将12V电压转换为5V为信号发生模块供电;再通过稳压芯片将5V电压转换为3.3V为主控单元供电。7. The wearable ultrasonic therapeutic apparatus based on dynamic matching according to any one of claims 1-6, wherein the power supply module adopts a 12V rechargeable polymer lithium The voltage module raises the 12V voltage to 48V, and directly supplies power to the power amplifier module; the polymer lithium battery pack converts the 12V voltage to 5V through the linear voltage regulator chip to supply power for the signal generation module; then the voltage regulator chip converts the 5V voltage to 3.3V as Power supply to the main control unit. 8.根据权利要求1-6任一项所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,所述信号发生模块包括DDS信号发生器、整形滤波电路和驱动电路;所述DDS信号发生器通过串行总线连接主控单元,通过主控单元产生2MHz方波,驱动电路将DDS信号发生器产生的2MHz方波进行分频,变为1MHz方波,再经整形滤波电路进行整形后将其传送给功率放大模块。8. A wearable ultrasonic therapeutic apparatus based on dynamic matching according to any one of claims 1-6, wherein the signal generating module comprises a DDS signal generator, a shaping filter circuit and a drive circuit; the The DDS signal generator is connected to the main control unit through the serial bus, and the main control unit generates a 2MHz square wave. The driving circuit divides the 2MHz square wave generated by the DDS signal generator into a 1MHz square wave, and then passes through the shaping filter circuit. After shaping, it is sent to the power amplifier module. 9.根据权利要求1-6任一项所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,还包括温控模块,采用热敏电阻实时采集超声换能器两端的温度,当温度超过设定的安全阈值,自动控制断电确保使用者的安全。9. A wearable ultrasonic therapeutic apparatus based on dynamic matching according to any one of claims 1-6, characterized in that, further comprising a temperature control module, adopting a thermistor to collect the temperature at both ends of the ultrasonic transducer in real time, When the temperature exceeds the set safety threshold, the automatic control power-off ensures the safety of the user. 10.根据权利要求1-6任一项所述的一种基于动态匹配的可穿戴超声治疗仪,其特征在于,还包括过流过压保护模块和人机交互模块,且所述人机交互模块和过流过压保护模块均与主控单元连接,所述人机交互模块用于超声强度的调节以及显示当前超声强度所处档位,所述过流过压保护模块用于输出过压保护和过流保护。10. A wearable ultrasonic therapeutic apparatus based on dynamic matching according to any one of claims 1-6, characterized in that, further comprising an overcurrent and overvoltage protection module and a human-computer interaction module, and the human-computer interaction Both the module and the overcurrent and overvoltage protection module are connected to the main control unit. The human-computer interaction module is used to adjust the ultrasonic intensity and display the gear of the current ultrasonic intensity. The overcurrent and overvoltage protection module is used to output overvoltage. protection and overcurrent protection.
CN202010317314.XA 2020-04-21 2020-04-21 A wearable ultrasonic therapeutic apparatus based on dynamic matching Pending CN111481842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010317314.XA CN111481842A (en) 2020-04-21 2020-04-21 A wearable ultrasonic therapeutic apparatus based on dynamic matching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010317314.XA CN111481842A (en) 2020-04-21 2020-04-21 A wearable ultrasonic therapeutic apparatus based on dynamic matching

Publications (1)

Publication Number Publication Date
CN111481842A true CN111481842A (en) 2020-08-04

Family

ID=71789977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010317314.XA Pending CN111481842A (en) 2020-04-21 2020-04-21 A wearable ultrasonic therapeutic apparatus based on dynamic matching

Country Status (1)

Country Link
CN (1) CN111481842A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112494797A (en) * 2020-12-25 2021-03-16 温州市人民医院 Multifunctional ultrasonic medicine penetrating instrument
CN113058159A (en) * 2021-06-03 2021-07-02 杭州回车电子科技有限公司 Electrode wearing condition detection method and device for transcranial electrical stimulation
CN113082502A (en) * 2021-04-06 2021-07-09 武汉光燚激光科技有限公司 Ultrasonic skin therapeutic instrument

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105033779A (en) * 2014-09-01 2015-11-11 哈尔滨工业大学深圳研究生院 Ultrasonic processing system dynamic tracking coupling device
CN106357149A (en) * 2016-11-04 2017-01-25 哈尔滨工业大学深圳研究生院 Automatic impedance matching ultrasonic circuit driver and automatic dynamic matching method thereof
CN109687694A (en) * 2019-01-21 2019-04-26 温州大学 A kind of multiple power supplies are for being electrically integrated assembly and its control method
US20190129408A1 (en) * 2016-05-09 2019-05-02 Strong Force Iot Portfolio 2016, Llc Method and system for adjusting an operating parameter on a production line
CN109726817A (en) * 2018-12-21 2019-05-07 河北工业大学 Impedance matching method of WPT system based on genetic algorithm optimization of BP neural network
CN109793656A (en) * 2019-01-17 2019-05-24 重庆邮电大学 A Portable Ultrasound Physiotherapy Apparatus Based on Fuzzy Control Algorithm

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105033779A (en) * 2014-09-01 2015-11-11 哈尔滨工业大学深圳研究生院 Ultrasonic processing system dynamic tracking coupling device
US20190129408A1 (en) * 2016-05-09 2019-05-02 Strong Force Iot Portfolio 2016, Llc Method and system for adjusting an operating parameter on a production line
CN106357149A (en) * 2016-11-04 2017-01-25 哈尔滨工业大学深圳研究生院 Automatic impedance matching ultrasonic circuit driver and automatic dynamic matching method thereof
CN109726817A (en) * 2018-12-21 2019-05-07 河北工业大学 Impedance matching method of WPT system based on genetic algorithm optimization of BP neural network
CN109793656A (en) * 2019-01-17 2019-05-24 重庆邮电大学 A Portable Ultrasound Physiotherapy Apparatus Based on Fuzzy Control Algorithm
CN109687694A (en) * 2019-01-21 2019-04-26 温州大学 A kind of multiple power supplies are for being electrically integrated assembly and its control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张一帆等: "基于模糊控制的超声理疗仪频率自动跟踪技术", 《电力电子技术》 *
王志成等: "基于频率自动跟踪的便携式超声理疗仪研制", 《电子技术与软件工程》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112494797A (en) * 2020-12-25 2021-03-16 温州市人民医院 Multifunctional ultrasonic medicine penetrating instrument
CN113082502A (en) * 2021-04-06 2021-07-09 武汉光燚激光科技有限公司 Ultrasonic skin therapeutic instrument
CN113058159A (en) * 2021-06-03 2021-07-02 杭州回车电子科技有限公司 Electrode wearing condition detection method and device for transcranial electrical stimulation

Similar Documents

Publication Publication Date Title
CN111481842A (en) A wearable ultrasonic therapeutic apparatus based on dynamic matching
CN109793656A (en) A Portable Ultrasound Physiotherapy Apparatus Based on Fuzzy Control Algorithm
CN107625627A (en) A kind of CPR accessory system
CN107616880B (en) Intelligent electric wheelchair implementation method based on electroencephalogram idea and deep learning
Li et al. Combined long short-term memory based network employing wavelet coefficients for MI-EEG recognition
CN110074776A (en) A kind of power consumption control method and system of artificial intelligence dynamic cardiopulmonary monitoring device
CN110308682A (en) A kind of back massage robot control system and method
CN106178265A (en) A kind of alternating magnetic field therapeutic apparatus realizes the method for stepless frequency modulation
US20230285229A1 (en) Chest and abdomen coupled cardiopulmonary resuscitation device
CN211243606U (en) Dual-core MCU intelligent ultrasonic minimally invasive scalpel control device
CN117797405B (en) Tumor treatment field system and regulation and control method thereof
CN114848315A (en) Intelligent wheelchair man-machine cooperative control system based on surface electromyogram signals
CN103479471B (en) Intelligent amblyopic treatment instrument and control method thereof
CN100535806C (en) Embedded multi-freedom degree muscle-electric artificial hand control system based on double digital signal processor
CN111643328A (en) Massage strength control system and method
CN104578724B (en) Mobile medical apparatus power-supply system
Ratib A smart brain controlled wheelchair based microcontroller system
CN113708692B (en) Permanent magnet synchronous motor control method of brain emotion controller based on experience information
CN216417741U (en) Intelligence massage manadesma rifle that dynamics was adjusted based on current detection
Mo et al. Application of neural network algorithm in optimal control of ethylene distillation tower
CN106842949A (en) Thalamus cortex discharge condition Varied scope fuzzy control system based on FPGA
CN113997277A (en) A photovoltaic power supply system for wearable lower limb exoskeleton robot
CN202637750U (en) Transcranial ultrasonic therapeutic apparatus
CN223760244U (en) A medium-frequency interference electrotherapy device
CN111408048A (en) Electric field treatment monitoring sub-equipment-based cloud system and mode

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200804

RJ01 Rejection of invention patent application after publication