Nothing Special   »   [go: up one dir, main page]

CN110703343A - Wide-matching-resonance magnetic resonance detection device and detection method based on PWM (pulse-Width modulation) regulation and control technology - Google Patents

Wide-matching-resonance magnetic resonance detection device and detection method based on PWM (pulse-Width modulation) regulation and control technology Download PDF

Info

Publication number
CN110703343A
CN110703343A CN201911029353.3A CN201911029353A CN110703343A CN 110703343 A CN110703343 A CN 110703343A CN 201911029353 A CN201911029353 A CN 201911029353A CN 110703343 A CN110703343 A CN 110703343A
Authority
CN
China
Prior art keywords
module
transmitting
stm32
fpga
transceiving
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
CN201911029353.3A
Other languages
Chinese (zh)
Other versions
CN110703343B (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.)
Jilin University
Original Assignee
Jilin University
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 Jilin University filed Critical Jilin University
Priority to CN201911029353.3A priority Critical patent/CN110703343B/en
Publication of CN110703343A publication Critical patent/CN110703343A/en
Application granted granted Critical
Publication of CN110703343B publication Critical patent/CN110703343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • G01V3/14Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation operating with electron or nuclear magnetic resonance
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0421Multiprocessor system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current 
    • G05F1/46Regulating voltage or current  wherein the variable actually regulated by the final control device is DC
    • G05F1/461Regulating voltage or current  wherein the variable actually regulated by the final control device is DC using an operational amplifier as final control device
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current 
    • G05F1/46Regulating voltage or current  wherein the variable actually regulated by the final control device is DC
    • G05F1/56Regulating voltage or current  wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices
    • G05F1/565Regulating voltage or current  wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices sensing a condition of the system or its load in addition to means responsive to deviations in the output of the system, e.g. current, voltage, power factor
    • G05F1/569Regulating voltage or current  wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices sensing a condition of the system or its load in addition to means responsive to deviations in the output of the system, e.g. current, voltage, power factor for protection
    • G05F1/571Regulating voltage or current  wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices sensing a condition of the system or its load in addition to means responsive to deviations in the output of the system, e.g. current, voltage, power factor for protection with overvoltage detector
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21137Analog to digital conversion, ADC, DAC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/22Pc multi processor system
    • G05B2219/2214Multicontrollers, multimicrocomputers, multiprocessing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Electromagnetism (AREA)
  • Radar, Positioning & Navigation (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • Remote Sensing (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Dc-Dc Converters (AREA)

Abstract

本发明涉及一种基于PWM调控技术的宽配谐磁共振探测装置及探测方法,包括PC上位机向STM32+FPGA收发主控模块发送发射参数,显示工作状态以及存储采集到的磁共振信号数据;发射系统包括蓄电池,经由DC‑DC变换器变换后向储能电容充电,通过大功率二极管与H桥发射模块相连,H桥发射模块通过小功率二极管连接至可控恒压源;STM32+FPGA收发主控模块通过PWM驱动模块驱动H桥发射模块;PWM驱动模块通过双向二极管连接至收发切换装置;接收系统,通过收发切换装置控制与收发一体线圈连接;根据主控模块的指令,收发切换装置控制发射系统或接收系统与收发一体线圈的连接。解决采用收发一体线圈发射时传统配谐关断时间长的问题,减小了磁共振探测装置的死区时间。

Figure 201911029353

The invention relates to a wide-distributed harmonic magnetic resonance detection device and a detection method based on PWM control technology, comprising a PC host computer sending transmission parameters to an STM32+FPGA transceiver main control module, displaying the working state and storing the collected magnetic resonance signal data; The transmitting system includes a battery, which is converted by a DC-DC converter and charges the energy storage capacitor, and is connected to the H-bridge transmitting module through a high-power diode, and the H-bridge transmitting module is connected to a controllable constant voltage source through a low-power diode; STM32+FPGA transceiver The main control module drives the H-bridge transmitting module through the PWM drive module; the PWM drive module is connected to the transceiver switching device through a bidirectional diode; the receiving system is connected to the transceiver integrated coil through the transceiver switching device control; according to the instructions of the main control module, the transceiver switching device controls The connection between the transmitting system or the receiving system and the integrated transceiver coil. It solves the problem of long turn-off time of the traditional harmonic distribution when the transceiver integrated coil is used for transmission, and reduces the dead time of the magnetic resonance detection device.

Figure 201911029353

Description

基于PWM调控技术的宽配谐磁共振探测装置及探测方法Widely matched harmonic magnetic resonance detection device and detection method based on PWM control technology

技术领域technical field

本发明涉及地球物理勘探设备领域,具体而言,涉及一种基于PWM调控技术的宽配谐磁共振探测装置及探测方法。The invention relates to the field of geophysical exploration equipment, in particular to a wide-matched harmonic magnetic resonance detection device and a detection method based on a PWM control technology.

背景技术Background technique

地面磁共振技术(Magnetic Resonance Sounding,MRS)是一种有效的地球物理探测方法,在浅层地下水探测、灾害水源探测等领域应用广泛。在进行磁共振探测时,发射系统通过发射线圈发射激发脉冲激发水中氢质子,再由接收系统采集通过接收线圈感应到的磁共振信号。目前的磁共振探测技术由于采用LCR串联谐振方式发射,发射线圈可以等效为电感与电阻的串联,再与选择合适量值的电容器串联,进行配谐,使其在拉莫尔频点谐振,可以降低负载的等效阻抗,在相同发射电压情况下,探测深度更大。然而,LCR串联谐振在发射结束后,电流震荡衰减,导致发射关断较慢,使得采集的信号延迟,且由于磁共振信号本身为e指数衰减形式,无法获取早期的大幅值信号。尤其是含水层类型为砂质粘土层时,平均弛豫时间小于30ms,在发射完全关断之后进行采集,信号衰减严重,大量信号损失,几乎无法探测到有效磁共振信号,严重影响探测效果。Magnetic Resonance Sounding (MRS) is an effective geophysical detection method, which is widely used in shallow groundwater detection, disaster water source detection and other fields. During magnetic resonance detection, the transmitting system emits excitation pulses through the transmitting coil to excite hydrogen protons in water, and then the receiving system collects the magnetic resonance signals induced by the receiving coil. Because the current magnetic resonance detection technology adopts the LCR series resonance mode to transmit, the transmitting coil can be equivalent to a series connection of an inductance and a resistance, and then it is connected in series with a capacitor of an appropriate value to perform harmonic tuning to make it resonate at the Larmor frequency point. The equivalent impedance of the load can be reduced, and the detection depth is greater under the same emission voltage. However, after the transmission of LCR series resonance, the current oscillates and decays, resulting in a slow turn-off of the transmission, which delays the acquisition of the signal, and because the magnetic resonance signal itself is in the form of e-exponential decay, the early large-scale signal cannot be obtained. Especially when the aquifer type is sandy clay layer, the average relaxation time is less than 30ms, and the acquisition is carried out after the emission is completely turned off, the signal is attenuated seriously, a large amount of signal is lost, and the effective magnetic resonance signal can hardly be detected, which seriously affects the detection effect.

发明内容SUMMARY OF THE INVENTION

针对上述现有技术中提到的问题,本发明所要解决的技术问题在于提供一种基于PWM调控技术的宽配谐磁共振探测装置,解决信号衰减严重,大量信号损失,几乎无法探测到有效磁共振信号的问题。In view of the problems mentioned above in the prior art, the technical problem to be solved by the present invention is to provide a wide-matched harmonic magnetic resonance detection device based on PWM control technology, which solves the problem of serious signal attenuation, a large number of signal losses, and almost impossible to detect effective magnetic resonance. problem with resonance signals.

本发明的另一目的是提供一种基于PWM调控技术的宽配谐磁共振探测方法。Another object of the present invention is to provide a wide-matched harmonic magnetic resonance detection method based on PWM control technology.

本发明是这样实现的,一种基于PWM调控技术的宽配谐磁共振探测装置,用于浅层磁共振探测,该装置包括:PC上位机、STM32+FPGA收发主控模块、发射系统、收发切换装置、收发一体线圈以及接收系统,其中,The present invention is realized in this way, a wide-matched harmonic magnetic resonance detection device based on PWM control technology is used for shallow magnetic resonance detection. Switching device, integrated transceiver coil and receiving system, wherein,

PC上位机,用于人机交互,向STM32+FPGA收发主控模块发送发射参数,显示工作状态以及存储采集到的磁共振信号数据;The PC host computer is used for human-computer interaction, sending transmission parameters to the STM32+FPGA transceiver main control module, displaying the working status and storing the collected magnetic resonance signal data;

发射系统,包括蓄电池,经由DC-DC变换器变换后向储能电容充电,通过大功率二极管与H桥发射模块相连,所述H桥发射模块通过小功率二极管连接至可控恒压源;STM32+FPGA收发主控模块通过PWM驱动模块驱动H桥发射模块;所述H桥发射模块通过双向二极管连接至收发切换装置;The transmitting system includes a battery, which is converted by a DC-DC converter to charge the energy storage capacitor, and is connected to an H-bridge transmitting module through a high-power diode, and the H-bridge transmitting module is connected to a controllable constant voltage source through a low-power diode; STM32 +The FPGA transceiver main control module drives the H-bridge transmitting module through the PWM drive module; the H-bridge transmitting module is connected to the transceiver switching device through a bidirectional diode;

接收系统,通过收发切换装置控制与收发一体线圈连接;The receiving system is controlled and connected with the transceiver integrated coil through the transceiver switching device;

收发切换装置,通过接收STM32+FPGA收发主控模块的指令控制发射系统或接收系统与收发一体线圈的连接。The transceiver switching device controls the connection between the transmitting system or the receiving system and the transceiver integrated coil by receiving the instructions of the STM32+FPGA transceiver main control module.

进一步地,所述接收系统包括前置放大电路,信号调理电路,程控放大模块,LPF模块,以及A/D转换模块,所述接收系统的前置放大电路连接至收发切换装置,通过前置放大电路将信号放大,依次经由信号调理电路、程控放大模块、LPF模块、以及A/D转换模块后传递至STM32+FPGA收发主控模块。Further, the receiving system includes a preamplifier circuit, a signal conditioning circuit, a program-controlled amplifying module, an LPF module, and an A/D conversion module. The preamplifier circuit of the receiving system is connected to the transceiver switching device, and the preamplifier The circuit amplifies the signal and transmits it to the STM32+FPGA transceiver main control module through the signal conditioning circuit, the program-controlled amplification module, the LPF module, and the A/D conversion module in turn.

进一步地,所述收发切换装置包括开关驱动模块以及收发切换开关,所述开关驱动模块根据接收STM32+FPGA收发主控模块的指令,通过收发切换开关控制发射系统或接收系统与收发一体线圈的连接。Further, the transceiver switching device includes a switch drive module and a transceiver switch, and the switch drive module controls the connection between the transmitting system or the receiving system and the transceiver integrated coil through the transceiver switching switch according to the instructions received by the STM32+FPGA transceiver main control module. .

进一步地,所述STM32+FPGA收发主控模块,用于与上位机进行交互,参数计算及探测工作时序控制;控制DC-DC变换器将蓄电池中的能量存储至储能电容;调整可控恒压源的电压值;通过PWM驱动模块产生两路PWM控制信号;通过控制开关驱动模块从而控制收发切换开关选择收发一体线圈与H桥发射模块或者前置放大电路的连接;以及控制A/D转换模块采集收发一体线圈感应到的信号,并通过前置放大电路放大,信号调理电路调理,程控放大模块再次放大以及LPF模块滤波后的磁共振信号,并调整程控放大模块的增益。Further, the STM32+FPGA transceiver main control module is used to interact with the host computer, parameter calculation and detection work sequence control; control the DC-DC converter to store the energy in the battery to the energy storage capacitor; adjust the controllable constant The voltage value of the voltage source; generate two PWM control signals through the PWM drive module; control the switch drive module to control the transceiver switch to select the connection between the transceiver integrated coil and the H-bridge transmitter module or preamplifier circuit; and control A/D conversion The module collects the signal sensed by the transceiver integrated coil, and amplifies it through the preamplifier circuit, adjusts the signal conditioning circuit, amplifies the magnetic resonance signal again by the program-controlled amplifier module and filters the LPF module, and adjusts the gain of the program-controlled amplifier module.

进一步地,发射系统的储能电容,为高压大容值电容,用于在发射时提供能量;通过一个电压值高于储能电容电压的可控恒压源将关断瞬间的高压脉冲钳位,保护构成H桥发射模块的开关器件IGBT,以及引导线圈能量在发射脉冲死区时间内快速释放。Further, the energy storage capacitor of the transmitting system is a high-voltage large-capacity capacitor, which is used to provide energy during transmission; the high-voltage pulse at the moment of shutdown is clamped by a controllable constant voltage source whose voltage value is higher than the voltage of the energy storage capacitor. , protect the switching device IGBT that constitutes the H-bridge transmitting module, and the energy of the guiding coil is quickly released within the dead time of the transmitting pulse.

进一步地,所述大功率二极管,为具有单向导通特性的反向高压快恢复二极管,阻断在激发脉冲死区时间内由储能电容与H桥发射模块构成的放电回路;并防止可控恒压源向储能电容放电;隔绝在激发脉冲死区时间内线圈放电产生的瞬时脉冲,保护电容;Further, the high-power diode is a reverse high-voltage fast recovery diode with unidirectional conduction characteristics, which blocks the discharge circuit formed by the energy storage capacitor and the H-bridge transmitting module during the dead time of the excitation pulse; and prevents controllable The constant voltage source discharges the energy storage capacitor; isolates the instantaneous pulse generated by the coil discharge during the dead time of the excitation pulse, and protects the capacitor;

所述小功率二极管,为具有单向导通特性的反向高压快恢复二极管,防止可控恒压源向储能电容、H桥发射模块和双向二极管及线圈放电;使得可控恒压源仅在激发脉冲死区时间内用于钳位而不通过发射回路释放能量;The low-power diode is a reverse high-voltage fast recovery diode with unidirectional conduction characteristics, which prevents the controllable constant voltage source from discharging to the energy storage capacitor, the H-bridge transmitting module, the bidirectional diode and the coil; The excitation pulse is used for clamping without releasing energy through the transmitting loop during the dead time of the excitation pulse;

所述双向二极管,包括有两个反向并联的二极管,用于发射剩余能量吸收。The bidirectional diode includes two anti-parallel diodes for transmitting residual energy and absorbing.

进一步地,在发射阶段:在PWM驱动模块发出的PWMA信号或PWMB信号有效时,H桥发射模块中的一组IGBT导通,储能电容、大功率二极管、一组IGBT、双向二极管以及等效为电感L和电阻R串联的收发一体线圈构成回路,由于小功率二极管的单向导通性,可控恒压源Ur相当于断路;在PWMA信号和PWMB信号均无效时,此时进入激发脉冲死区时间,由于大功率二极管的单向导通性,在这段时间内,储能电容相当于断路,收发一体线圈的能量释放回路由H桥发射模块与小功率二极管以及可控恒压源构成,实现等幅高质量波形发射、快速关断的目的。Further, in the transmission stage: when the PWMA signal or PWMB signal sent by the PWM drive module is valid, a group of IGBTs in the H-bridge transmission module is turned on, and the energy storage capacitor, high-power diode, a group of IGBTs, bidirectional diodes and equivalent A loop is formed by the transceiver integrated coil with the inductor L and the resistor R in series. Due to the unidirectional conductivity of the low-power diode, the controllable constant voltage source Ur is equivalent to an open circuit; when the PWMA signal and the PWMB signal are both invalid, the excitation pulse is dead at this time. Due to the unidirectional conductivity of the high-power diode, during this period, the energy storage capacitor is equivalent to an open circuit, and the energy release loop of the transceiver coil is composed of an H-bridge transmitter module, a low-power diode and a controllable constant voltage source. Achieve the purpose of equal-amplitude high-quality waveform launch and fast shutdown.

一种基于PWM调控技术的宽配谐磁共振探测方法,包括如下步骤:A wide-matched harmonic magnetic resonance detection method based on PWM control technology, comprising the following steps:

步骤301:STM32+FPGA收发主控模块识别PC上位机发送的参数及开始工作信号,包括激发电流Im、发射电流个数M、叠加次数k以及激发脉冲频率f,计算发射脉冲时间t以及脉冲周期个数n,并将实际激发时间t回传至PC上位机,其中M,n均为正整数;Step 301: The STM32+FPGA transceiver main control module identifies the parameters sent by the PC host computer and the start signal, including the excitation current Im , the number of emission currents M, the number of superpositions k and the excitation pulse frequency f, and calculates the emission pulse time t and pulse The number of cycles is n, and the actual excitation time t is returned to the PC host computer, where M and n are positive integers;

步骤302:STM32+FPGA收发主控模块通过控制收发切换装置中的开关驱动模块从而控制收发切换开关将收发一体线圈切换至与接收系统的前置放大电路连接,准备进入增益调整及噪声采集阶段;Step 302: The STM32+FPGA transceiver main control module controls the transceiver switch to switch the transceiver integrated coil to be connected to the preamplifier circuit of the receiving system by controlling the switch drive module in the transceiver switching device, and prepares to enter the gain adjustment and noise collection stage;

步骤303:STM32+FPGA收发主控模块控制接收系统通过收发一体线圈采集噪声信号,并根据采集到的信号幅度大小调整程控放大模块的增益;Step 303: The STM32+FPGA transceiver main control module controls the receiving system to collect noise signals through the transceiver integrated coil, and adjusts the gain of the program-controlled amplification module according to the collected signal amplitude;

步骤304:判断是否完成程控放大模块增益调整,完成调整则继续进入步骤305,否则返回步骤303,完成增益调整的判断依据为:经A/D转换模块采集后的信号幅度处于A/D的1/2满量程至满量程之间;Step 304: Determine whether the gain adjustment of the program-controlled amplifier module is completed, and continue to step 305 if the adjustment is completed, otherwise return to step 303, and the judgment basis for completing the gain adjustment is: the amplitude of the signal collected by the A/D conversion module is 1 of the A/D. /2 between full scale and full scale;

步骤305:STM32+FPGA收发主控模块通过收发切换装置控制收发切换开关将收发一体线圈切换至与发射系统的H桥发射模块连接,准备进入双极性脉冲激发阶段;Step 305: The STM32+FPGA transceiver main control module controls the transceiver switch through the transceiver switching device to switch the transceiver integrated coil to connect with the H-bridge transmitting module of the transmitting system, ready to enter the bipolar pulse excitation stage;

步骤306:STM32+FPGA收发主控模块根据激发电流Im及约束条件计算激发电压US、激发脉冲占空比d以及钳位电压UDCStep 306: The STM32+FPGA transceiver main control module calculates the excitation voltage U S , the excitation pulse duty cycle d and the clamping voltage U DC according to the excitation current Im and the constraint conditions;

步骤307:STM32+FPGA收发主控模块根据计算出的钳位电压值UDC调整可控恒压源的电压值;Step 307: the STM32+FPGA transceiver main control module adjusts the voltage value of the controllable constant voltage source according to the calculated clamping voltage value UDC;

步骤308:判断钳位电压是否达到钳位电压值UDC,达到则继续进入步骤309,否则回到步骤307;Step 308: Determine whether the clamping voltage reaches the clamping voltage value UDC, if it reaches the value UDC, continue to step 309, otherwise go back to step 307;

步骤309:STM32+FPGA收发主控模块根据激发电压值控制DC-DC变换器为储能电容充电;Step 309: the STM32+FPGA transceiver main control module controls the DC-DC converter to charge the energy storage capacitor according to the excitation voltage value;

步骤310:判断是否完成充电,完成充电的判断依据为达到激发电压值,完成充电则进入步骤311,否则回到步骤309;Step 310: determine whether the charging is completed, the basis for determining whether the charging is completed is that the excitation voltage value is reached, and when the charging is completed, go to step 311, otherwise, go back to step 309;

步骤311:STM32+FPGA收发主控模块控制PWM驱动产生两路占空比为d、时间间隔T/2的驱动信号,通过H桥发射模块、双向二极管和收发一体线圈发射n个周期,频率为f的激发脉冲。发射n个周期的脉冲而不是发射固定时长的脉冲目的是使激发脉冲在整周期处关断,从而缩短死区时间;Step 311: The STM32+FPGA transceiver main control module controls the PWM drive to generate two drive signals with a duty cycle of d and a time interval of T/2, and transmits n cycles through the H-bridge transmitting module, the bidirectional diode and the transceiver integrated coil, and the frequency is The excitation pulse of f. The purpose of firing n-cycle pulses instead of fixed-duration pulses is to turn off the excitation pulse at the full cycle, thereby shortening the dead time;

步骤312:发射关断完成后延迟800us,保证发射全部动作完成,收发一体线圈切换至与接收系统的前置放大电路连接,准备进入信号采集阶段;Step 312: Delay 800us after the transmission is turned off to ensure that all the transmission operations are completed, and the transceiver integrated coil is switched to be connected to the preamplifier circuit of the receiving system, ready to enter the signal acquisition stage;

步骤313:STM32+FPGA收发主控模块控制A/D转换模块将信号采样,并存储至PC上位机,存储时应注意将接收到的信号与步骤301中的发射时间t相对应;Step 313: The STM32+FPGA transceiver main control module controls the A/D conversion module to sample the signal and store it in the PC host computer. When storing, it should be noted that the received signal corresponds to the transmission time t in step 301;

步骤314:判断是否完成当前电流探测,完成则继续进入步骤315,否则返回步骤309;Step 314: Determine whether the current current detection is completed, if completed, continue to step 315, otherwise return to step 309;

步骤315:判断是否进行下个电流值的探测,完成结束本次探测,否则返回步骤305。Step 315 : determine whether to perform the detection of the next current value, and complete the current detection, otherwise return to Step 305 .

进一步地,步骤306:STM32+FPGA收发主控模块根据激发电流Im及约束条件计算激发电压US、激发脉冲占空比d以及钳位电压UDC,满足:Further, step 306: the STM32+FPGA transceiver main control module calculates the excitation voltage U S , the excitation pulse duty cycle d and the clamping voltage U DC according to the excitation current I m and the constraint conditions, satisfying:

Figure BDA0002249657630000061
Figure BDA0002249657630000061

Figure BDA0002249657630000063
Figure BDA0002249657630000063

其中,T为发射脉冲周期,满足T=1/f,R为线圈等效电阻值,L为线圈等效电感值,式中各量均采用SI单位制,约束条件为:Among them, T is the transmission pulse period, which satisfies T=1/f, R is the equivalent resistance value of the coil, L is the equivalent inductance value of the coil, and each quantity in the formula adopts the SI unit system, and the constraints are:

UDC≤1000U DC ≤1000

0.25≤d≤0.450.25≤d≤0.45

目标为使

Figure BDA0002249657630000064
最小,储能电容功率最小,C为储能电容容值。aim to make
Figure BDA0002249657630000064
Minimum, the power of the energy storage capacitor is the smallest, and C is the capacitance value of the energy storage capacitor.

进一步地,步骤310:充电在恒压源调整之后进行。Further, step 310: charging is performed after the constant voltage source is adjusted.

本发明与现有技术相比,有益效果在于:Compared with the prior art, the present invention has the following beneficial effects:

(1)本发明提供采用宽配谐的发射方式,有效改善了在采用收发一体线圈发射时传统配谐关断时间长的问题,减小了磁共振探测装置的死区时间;解决了由于导致发射关断较慢,使得采集的信号延迟,无法获取早期的大幅值信号的问题。(1) The present invention provides a transmission method using wide harmonic distribution, which effectively improves the problem of long off-time of traditional harmonic distribution when using the transceiver integrated coil for transmission, and reduces the dead time of the magnetic resonance detection device; The slow turn-off of the transmission makes the acquired signal delayed and the early large-value signal cannot be obtained.

(2)本发明采用可控恒压源与二极管构成的恒压钳位电路,缩短了死区时间,同时还抑制了瞬时脉冲,延长仪器使用寿命;(2) The present invention adopts a constant voltage clamp circuit composed of a controllable constant voltage source and a diode, which shortens the dead time, suppresses instantaneous pulses, and prolongs the service life of the instrument;

(3)本发明提供通过改变发射占空比,实现宽配谐发射模式下的等幅发射,提高了发射波形质量。(3) The present invention provides that by changing the emission duty ratio, equal-amplitude emission in a wide-harmonic emission mode is realized, and the quality of the emission waveform is improved.

附图说明Description of drawings

图1示出了本发明实施例提供的一种基于PWM调控技术的宽配谐磁共振探测装置结构示意图;FIG. 1 shows a schematic structural diagram of a wide-matched harmonic magnetic resonance detection device based on PWM control technology provided by an embodiment of the present invention;

图2示出了本发明实施例提供的可控有源钳位发射回路示意图;FIG. 2 shows a schematic diagram of a controllable active clamp transmit loop provided by an embodiment of the present invention;

图3示出了本发明实施例提供的一种基于PWM调控技术的宽配谐磁共振探测工作流程示意图;FIG. 3 shows a schematic diagram of a workflow of wide-matched harmonic magnetic resonance detection based on PWM control technology provided by an embodiment of the present invention;

图4示出了宽配谐磁共振探测激发电流以及本发明基于PWM调控技术的宽配谐磁共振探测激发电流波形图,其中,(a)为宽配谐磁共振探测激发电流波形图,(b)为本发明实施例提供的激发电流波形图。Fig. 4 shows the wide-harmonic resonance detection excitation current and the wide-harmonic magnetic resonance detection excitation current waveform diagram of the present invention based on the PWM control technology, wherein (a) is the wide-harmonic magnetic resonance detection excitation current waveform diagram, ( b) The excitation current waveform diagram provided by the embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments. 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.

如图1所示,一种基于PWM调控技术的宽配谐磁共振探测装置,用于浅层磁共振探测,该装置包括:PC上位机1,STM32+FPGA收发主控模块2,发射系统,由开关驱动模块12,收发切换开关13构成的收发切换装置,收发一体线圈14以及接收系统。As shown in Figure 1, a wide-matched harmonic magnetic resonance detection device based on PWM control technology is used for shallow magnetic resonance detection. The transmission and reception switching device constituted by the switch driving module 12, the transmission and reception switching switch 13, the transmission and reception integrated coil 14, and the reception system.

根据STM32+FPGA收发主控模块指令,收发切换装置控制接收系统、发射系统与收发一体线圈的连接情况。According to the instructions of the STM32+FPGA transceiver main control module, the transceiver switching device controls the connection of the receiving system, the transmitting system and the transceiver integrated coil.

本实施例中,发射系统包括蓄电池3,DC-DC变换器4,储能电容5,可控恒压源6,PWM驱动模块7,大功率二极管8,小功率二极管9,H桥发射模块10以及双向二极管11,其中,DC-DC变换器4与STM32+FPGA收发主控模块的控制连接,接收STM32+FPGA收发主控模块的控制,蓄电池3通过DC-DC变换器4向储能电容5充电,储能电容5通过一个大功率二极管8与H桥发射模块10连接,通过H桥发射模块10向收发一体线圈发射电流。In this embodiment, the transmitting system includes a battery 3, a DC-DC converter 4, an energy storage capacitor 5, a controllable constant voltage source 6, a PWM drive module 7, a high-power diode 8, a low-power diode 9, and an H-bridge transmitting module 10 And the bidirectional diode 11, wherein the DC-DC converter 4 is connected to the control of the STM32+FPGA transceiver main control module, receives the control of the STM32+FPGA transceiver main control module, and the battery 3 sends the energy storage capacitor 5 through the DC-DC converter 4 to the energy storage capacitor 5. After charging, the energy storage capacitor 5 is connected to the H-bridge transmitting module 10 through a high-power diode 8, and transmits current to the transceiver integrated coil through the H-bridge transmitting module 10.

可控恒压源6通过小功率二极管9连接H桥发射模块10,H桥发射模块10通过双向二极管11连接至收发切换装置,H桥发射模块10通过PWM驱动模块7控制开关器件IGBT,而PWM驱动模块7接收STM32+FPGA收发主控模块的指令。The controllable constant voltage source 6 is connected to the H-bridge transmitting module 10 through the low-power diode 9, the H-bridge transmitting module 10 is connected to the transceiver switching device through the bidirectional diode 11, the H-bridge transmitting module 10 controls the switching device IGBT through the PWM driving module 7, and the PWM The driver module 7 receives the instructions of the STM32+FPGA transceiver main control module.

接收系统,包括前置放大电路15,信号调理电路16,程控放大模块17,LPF(Lowpass filter,低通滤波器)模块18,以及A/D转换模块19,在接收阶段,通过收发切换装置与收发一体线圈导通,信号依次经由前置放大电路15,信号调理电路16,程控放大模块17,LPF(Low pass filter,低通滤波器)模块18,以及A/D转换模块19至STM32+FPGA收发主控模块采集。The receiving system includes a preamplifier circuit 15, a signal conditioning circuit 16, a program-controlled amplifying module 17, an LPF (Lowpass filter, low-pass filter) module 18, and an A/D conversion module 19. The transceiver integrated coil is turned on, and the signal passes through the preamplifier circuit 15, the signal conditioning circuit 16, the program-controlled amplifying module 17, the LPF (Low pass filter, low-pass filter) module 18, and the A/D conversion module 19 to STM32+FPGA in sequence The transceiver main control module is collected.

PC上位机1用于人机交互,向STM32+FPGA收发主控模块2发送发射参数,显示工作状态以及存储采集到的磁共振信号数据;The PC host computer 1 is used for human-computer interaction, and sends transmission parameters to the STM32+FPGA transceiver main control module 2, displays the working status and stores the collected magnetic resonance signal data;

STM32+FPGA收发主控模块2,用于与上位机进行交互,参数计算及探测工作时序控制;STM32+FPGA transceiver main control module 2, used to interact with the host computer, parameter calculation and detection work sequence control;

STM32+FPGA收发主控模块2,还用于,控制DC-DC变换器4将蓄电池3中的能量存储至储能电容5;The STM32+FPGA transceiver main control module 2 is also used to control the DC-DC converter 4 to store the energy in the battery 3 to the energy storage capacitor 5;

STM32+FPGA收发主控模块2,还用于,调整可控恒压源6的电压值;The STM32+FPGA transceiver main control module 2 is also used to adjust the voltage value of the controllable constant voltage source 6;

STM32+FPGA收发主控模块2,还用于,通过PWM驱动模块7产生两路PWM控制信号;The STM32+FPGA transceiver main control module 2 is also used to generate two PWM control signals through the PWM drive module 7;

STM32+FPGA收发主控模块2,还用于,通过控制开关驱动模块12从而控制收发切换开关13选择收发一体线圈14与双向二极管11或者前置放大电路15连接;The STM32+FPGA transceiver main control module 2 is also used to control the transceiver switch 13 to select the transceiver integrated coil 14 to connect with the bidirectional diode 11 or the preamplifier circuit 15 by controlling the switch drive module 12;

STM32+FPGA收发主控模块2,还用于,控制A/D转换模块19采集收发一体线圈14感应到的,并通过前置放大电路15放大,信号调理电路16调理,程控放大模块17再次放大以及LPF模块18滤波后的磁共振信号;The STM32+FPGA transceiver main control module 2 is also used to control the A/D conversion module 19 to collect the sensing of the transceiver integrated coil 14 and amplify it through the preamplifier circuit 15, the signal conditioning circuit 16, and the program-controlled amplification module 17 to amplify again. and the magnetic resonance signal filtered by the LPF module 18;

STM32+FPGA收发主控模块2,还用于,调整程控放大模块17的增益。The STM32+FPGA transceiver main control module 2 is also used to adjust the gain of the program-controlled amplification module 17 .

进一步,本实施例中,储能电容5,为高压大容值电容,用于在发射时提供能量;本实施例中发射系统中,可控恒压源6,电压值高于储能电容电压,将关断瞬间的高压脉冲钳位,保护构成H桥发射模块的开关器件IGBT,以及引导线圈能量在发射脉冲死区时间内快速释放;Further, in this embodiment, the energy storage capacitor 5 is a high-voltage large-capacitance capacitor, which is used to provide energy during transmission; in the transmission system in this embodiment, the voltage value of the controllable constant voltage source 6 is higher than the voltage of the energy storage capacitor , clamp the high-voltage pulse at the moment of turn-off, protect the switching device IGBT that constitutes the H-bridge launch module, and quickly release the energy of the guide coil within the dead time of the launch pulse;

大功率二极管8,为反向高压快恢复二极管,具有单向导通特性。阻断在激发脉冲死区时间内由储能电容5与H桥发射模块10构成的放电回路;防止可控恒压源6向储能电容5放电;隔绝在激发脉冲死区时间内线圈放电产生的瞬时脉冲,保护电容。The high-power diode 8 is a reverse high-voltage fast recovery diode with unidirectional conduction characteristics. Block the discharge circuit formed by the energy storage capacitor 5 and the H-bridge transmitting module 10 during the dead time of the excitation pulse; prevent the controllable constant voltage source 6 from discharging to the energy storage capacitor 5; isolate the discharge of the coil during the dead time of the excitation pulse. transient pulses to protect the capacitor.

小功率二极管9,为反向高压快恢复二极管,具有单向导通特性。防止可控恒压源6向储能电容5、H桥发射模块10和双向二极管11以及收发一体线圈14放电;保证可控恒压源6仅在激发脉冲死区时间内用于钳位而不通过发射回路释放能量。The low-power diode 9 is a reverse high-voltage fast recovery diode with unidirectional conduction characteristics. Prevent the controllable constant voltage source 6 from discharging to the energy storage capacitor 5, the H-bridge transmitting module 10, the bidirectional diode 11 and the transceiver integrated coil 14; ensure that the controllable constant voltage source 6 is only used for clamping during the dead time of the excitation pulse and not The energy is released through the launch loop.

双向二极管11,由两个反向并联的二极管构成,用于发射剩余能量吸收。The bidirectional diode 11 is composed of two anti-parallel diodes, and is used for emitting residual energy and absorbing it.

在发射阶段:During the launch phase:

可控有源钳位发射回路示意图如2所示,在PWMA信号(或PWMB信号)有效时,H桥发射模块中的一组IGBT导通(同一控制信号控制的两个IGBT为一组),储能电容、大功率二极管、一组IGBT、双向二极管以及等效为电感L和电阻R串联的收发一体线圈构成回路,由于小功率二极管的单向导通性,在这段时间内,可控恒压源相当于断路;在PWMA信号和PWMB信号均无效时,此时进入激发脉冲死区时间,由于大功率二极管的单向导通性,在这段时间内,储能电容相当于断路,收发一体线圈的能量释放回路由H桥路与小功率二极管以及可控恒压源Ur构成,由于可控恒压源Ur的电压恒定不变,因此回路电流满足:The schematic diagram of the controllable active clamp transmitter circuit is shown in Figure 2. When the PWMA signal (or PWMB signal) is valid, a group of IGBTs in the H-bridge transmitter module is turned on (two IGBTs controlled by the same control signal are a group), An energy storage capacitor, a high-power diode, a set of IGBTs, a bidirectional diode, and a transceiver coil that is equivalent to an inductance L and a resistor R in series form a loop. Due to the unidirectional conductivity of the low-power diode, during this period, the controllable constant The voltage source is equivalent to an open circuit; when both the PWMA signal and the PWMB signal are invalid, the excitation pulse dead time is entered. Due to the unidirectional conductivity of the high-power diode, during this period, the energy storage capacitor is equivalent to an open circuit, and the transceiver is integrated. The energy release loop of the coil is composed of an H bridge circuit, a low-power diode and a controllable constant voltage source Ur. Since the voltage of the controllable constant voltage source Ur is constant, the loop current satisfies:

Figure BDA0002249657630000101
从而实现等幅高质量波形发射、快速关断的目的。
Figure BDA0002249657630000101
Thereby, the purpose of equal amplitude high-quality waveform emission and fast turn-off is achieved.

如图3所示,一种基于PWM调控技术的宽配谐磁共振探测方法,包括如下步骤:As shown in FIG. 3 , a method for detecting wide-harmonic magnetic resonance based on PWM control technology includes the following steps:

步骤301:STM32+FPGA收发主控模块2识别PC上位机1发送的参数及开始工作信号,包括激发电流Im、发射电流个数M、叠加次数k以及激发脉冲频率f,计算发射脉冲时间t以及脉冲周期个数n,并将实际激发时间t回传至PC上位机1,其中M,n均为正整数;Step 301: The STM32+FPGA transceiver main control module 2 identifies the parameters and the start signal sent by the PC host computer 1, including the excitation current Im , the number of emission currents M, the number of superpositions k and the excitation pulse frequency f, and the emission pulse time t is calculated and the number of pulse cycles n, and return the actual excitation time t to the PC host computer 1, where M and n are positive integers;

步骤302:STM32+FPGA收发主控模块2通过控制收发切换装置中的开关驱动模块12从而控制收发切换开关13将收发一体线圈14切换至与接收系统的前置放大电路15连接,准备进入增益调整及噪声采集阶段;Step 302: The STM32+FPGA transceiver main control module 2 controls the transceiver switch 13 to switch the transceiver integrated coil 14 to be connected to the preamplifier circuit 15 of the receiving system by controlling the switch drive module 12 in the transceiver switching device, ready to enter the gain adjustment and noise collection stage;

步骤303:STM32+FPGA收发主控模块2控制接收系统通过收发一体线圈14采集噪声信号,并根据采集到的信号幅度大小调整程控放大模块17的增益;Step 303: The STM32+FPGA transceiver main control module 2 controls the receiving system to collect the noise signal through the transceiver integrated coil 14, and adjusts the gain of the program-controlled amplification module 17 according to the amplitude of the collected signal;

步骤304:判断是否完成程控放大模块增益调整,完成调整则继续进入步骤305,否则返回步骤303,完成增益调整的判断依据为:经A/D转换模块19采集后的信号幅度处于A/D转换模块的1/2满量程至满量程之间,目的是使A/D转换模块的精度达到最高,同时也避免了放大器饱和;Step 304: Determine whether the gain adjustment of the program-controlled amplifier module is completed, and continue to step 305 if the adjustment is completed, otherwise return to step 303, and the judgment basis for completing the gain adjustment is: the amplitude of the signal collected by the A/D conversion module 19 is in the A/D conversion state. Between 1/2 full scale and full scale of the module, the purpose is to maximize the accuracy of the A/D conversion module and avoid amplifier saturation;

步骤305:STM32+FPGA收发主控模块2通过收发切换装置12从而控制收发切换开关13将收发一体线圈14切换至与发射系统的H桥发射模块10连接,准备进入双极性脉冲激发阶段;Step 305: The STM32+FPGA transceiver main control module 2 controls the transceiver switch 13 to switch the transceiver integrated coil 14 to connect with the H-bridge transmitting module 10 of the transmitting system through the transceiver switching device 12, ready to enter the bipolar pulse excitation stage;

步骤306:STM32+FPGA收发主控模块2根据激发电流Im及约束条件计算激发电压US、激发脉冲占空比d以及钳位电压UDC,应满足:Step 306: The STM32+FPGA transceiver main control module 2 calculates the excitation voltage U S , the excitation pulse duty cycle d and the clamping voltage U DC according to the excitation current Im and the constraint conditions, which should satisfy:

Figure BDA0002249657630000111
Figure BDA0002249657630000111

Figure BDA0002249657630000112
Figure BDA0002249657630000112

Figure BDA0002249657630000113
Figure BDA0002249657630000113

其中,T为发射脉冲周期,满足T=1/f,R为线圈等效电阻值,L为线圈等效电感值,式中各量均采用SI单位制。约束条件为:Among them, T is the transmission pulse period, which satisfies T=1/f, R is the equivalent resistance value of the coil, L is the equivalent inductance value of the coil, and each quantity in the formula adopts the SI unit system. The constraints are:

UDC≤1000U DC ≤1000

0.25≤d≤0.450.25≤d≤0.45

目标为使

Figure BDA0002249657630000114
最小,即储能电容功率最小,C为储能电容容值;aim to make
Figure BDA0002249657630000114
The smallest, that is, the power of the energy storage capacitor is the smallest, and C is the capacitance value of the energy storage capacitor;

步骤307:STM32+FPGA收发主控模块2根据计算出的钳位电压值UDC调整可控恒压源6的电压值;Step 307: The STM32+FPGA transceiver main control module 2 adjusts the voltage value of the controllable constant voltage source 6 according to the calculated clamping voltage value U DC ;

步骤308:判断钳位电压是否达到钳位电压值UDC,达到则继续进入步骤309,否则回到步骤307;Step 308 : determine whether the clamping voltage reaches the clamping voltage value U DC , if it is reached, continue to step 309 , otherwise go back to step 307 ;

步骤309:STM32+FPGA收发主控模块2根据激发电压值控制DC-DC变换器4为储能电容5充电;Step 309: the STM32+FPGA transceiver main control module 2 controls the DC-DC converter 4 to charge the energy storage capacitor 5 according to the excitation voltage value;

步骤310:判断是否完成充电,完成充电的判断依据为达到激发电压值,完成充电则进入步骤311,否则回到步骤309。需注意,充电需在恒压源调整之后进行,否则会因电容漏电导致能量损失;Step 310 : judging whether the charging is completed. The basis for judging the completion of the charging is that the excitation voltage value is reached. After the charging is completed, go to Step 311 , otherwise, go back to Step 309 . It should be noted that charging must be performed after the constant voltage source is adjusted, otherwise energy loss will be caused by capacitor leakage;

步骤311:STM32+FPGA收发主控模块2控制PWM驱动产生两路占空比为d、时间间隔T/2的驱动信号(PWMA、PWMB),从而通过H桥发射模块10、双向二极管11和收发一体线圈14发射n个周期,频率为f的激发脉冲。发射n个周期的脉冲而不是发射固定时长的脉冲是为了使激发脉冲在整周期处关断,从而缩短死区时间;Step 311: The STM32+FPGA transceiver main control module 2 controls the PWM drive to generate two drive signals (PWMA, PWMB) with a duty cycle of d and a time interval of T/2, so as to transmit and receive through the H-bridge transmitting module 10, the bidirectional diode 11 and the The integral coil 14 emits n cycles of excitation pulses with a frequency f. Sending n-cycle pulses instead of fixed-duration pulses is to make the excitation pulse turn off at the full cycle, thereby shortening the dead time;

步骤312:发射关断完成后延迟800us,保证发射全部动作完成,收发一体线圈14切换至与接收系统的前置放大电路15连接,准备进入信号采集阶段;Step 312: Delay 800us after the transmission is turned off to ensure that all the transmission operations are completed, and the transceiver integrated coil 14 is switched to be connected to the preamplifier circuit 15 of the receiving system, ready to enter the signal acquisition stage;

步骤313:STM32+FPGA收发主控模块2控制A/D转换模块19将信号采样,并存储至PC上位机1,存储时应注意将接收到的信号与步骤301中的发射时间t相对应;Step 313: The STM32+FPGA transceiver main control module 2 controls the A/D conversion module 19 to sample the signal and store it in the PC host computer 1. When storing, it should be noted that the received signal corresponds to the transmission time t in step 301;

步骤314:判断是否完成当前电流探测,完成则继续进入步骤315,否则返回步骤309;Step 314: Determine whether the current current detection is completed, if completed, continue to step 315, otherwise return to step 309;

步骤315:判断是否进行下个电流值的探测,完成结束本次探测,否则返回步骤305;Step 315: Determine whether to perform the detection of the next current value, and complete the current detection, otherwise return to Step 305;

实施例Example

现根据实际探测确定线圈等效参数为L=0.8mH,R=1Ω,实际探测具体实施步骤如下:Now according to the actual detection, the equivalent parameters of the coil are determined to be L=0.8mH, R=1Ω. The specific implementation steps of the actual detection are as follows:

步骤301:STM32+FPGA收发主控模块2识别PC上位机1发送的参数及开始工作信号,包括激发电流Im=50A、叠加次数k=1、发射电流个数M=1以及激发脉冲频率f=2330Hz,计算发射脉冲时间t≈39.914ms以及脉冲周期个数n=93,并将实际激发时间t回传至PC上位机1;Step 301: The STM32+FPGA transceiver main control module 2 identifies the parameters and the start signal sent by the PC host computer 1, including the excitation current I m =50A, the number of superpositions k=1, the number of emission currents M=1 and the excitation pulse frequency f =2330Hz, calculate the emission pulse time t≈39.914ms and the number of pulse cycles n=93, and return the actual excitation time t to the PC host computer 1;

步骤302:STM32+FPGA收发主控模块2通过控制收发切换装置中的开关驱动模块12从而控制收发切换开关13将收发一体线圈14切换至与接收系统的前置放大电路15连接,准备进入增益调整及噪声采集阶段;Step 302: The STM32+FPGA transceiver main control module 2 controls the transceiver switch 13 to switch the transceiver integrated coil 14 to be connected to the preamplifier circuit 15 of the receiving system by controlling the switch drive module 12 in the transceiver switching device, ready to enter the gain adjustment and noise collection stage;

步骤303:STM32+FPGA收发主控模块2控制接收系统通过收发一体线圈14采集噪声信号,并根据采集到的信号幅度大小调整程控放大模块17的增益;Step 303: The STM32+FPGA transceiver main control module 2 controls the receiving system to collect the noise signal through the transceiver integrated coil 14, and adjusts the gain of the program-controlled amplification module 17 according to the amplitude of the collected signal;

步骤304:判断是否完成程控放大模块增益调整,完成调整则继续进入步骤305,否则返回步骤303。完成增益调整的判断依据为:经A/D转换模块19采集后的信号幅度处于A/D的1/2满量程至满量程之间,目的是使A/D转换模块的精度达到最高,同时也避免了放大器饱和;Step 304 : determine whether the gain adjustment of the program-controlled amplifying module is completed. If the adjustment is completed, continue to step 305 , otherwise, return to step 303 . The judgment basis for completing the gain adjustment is: the amplitude of the signal collected by the A/D conversion module 19 is between 1/2 of the full scale of the A/D to the full scale. Amplifier saturation is also avoided;

步骤305:STM32+FPGA收发主控模块2通过收发切换装置12从而控制收发切换开关13将收发一体线圈14切换至与发射系统的H桥发射模块10连接,准备进入双极性脉冲激发阶段;Step 305: The STM32+FPGA transceiver main control module 2 controls the transceiver switch 13 to switch the transceiver integrated coil 14 to connect with the H-bridge transmitting module 10 of the transmitting system through the transceiver switching device 12, ready to enter the bipolar pulse excitation stage;

步骤306:STM32+FPGA收发主控模块2根据激发电流Im及约束条件计算激发电压US、激发脉冲占空比d以及钳位电压UDC,应满足:Step 306: The STM32+FPGA transceiver main control module 2 calculates the excitation voltage U S , the excitation pulse duty cycle d and the clamping voltage U DC according to the excitation current Im and the constraint conditions, which should satisfy:

Figure BDA0002249657630000133
Figure BDA0002249657630000133

其中,T为发射脉冲周期,满足T=1/f,R为线圈等效电阻值,L为线圈等效电感值,式中各量均采用SI单位制。约束条件为:Among them, T is the transmission pulse period, which satisfies T=1/f, R is the equivalent resistance value of the coil, L is the equivalent inductance value of the coil, and each quantity in the formula adopts the SI unit system. The constraints are:

UDC≤1000U DC ≤1000

0.25≤d≤0.450.25≤d≤0.45

目标为使

Figure BDA0002249657630000134
最小,即储能电容功率最小,C为储能电容容值。aim to make
Figure BDA0002249657630000134
The smallest, that is, the power of the energy storage capacitor is the smallest, and C is the capacitance value of the energy storage capacitor.

在储能电容为0.132F的条件下,可得出钳位电压为1000V,激发脉冲占空比为40.91%,激发电压为253.76V;Under the condition that the storage capacitor is 0.132F, the clamping voltage is 1000V, the duty cycle of the excitation pulse is 40.91%, and the excitation voltage is 253.76V;

步骤307:STM32+FPGA收发主控模块2根据计算出的钳位电压值UDC调整可控恒压源6的电压值;Step 307: The STM32+FPGA transceiver main control module 2 adjusts the voltage value of the controllable constant voltage source 6 according to the calculated clamping voltage value U DC ;

步骤308:判断钳位电压是否达到1000V,达到则继续进入步骤309,否则回到步骤307;Step 308: Determine whether the clamping voltage reaches 1000V, if it reaches it, continue to step 309, otherwise go back to step 307;

步骤309:STM32+FPGA收发主控模块2根据激发电压值控制DC-DC变换器4为储能电容5充电;Step 309: the STM32+FPGA transceiver main control module 2 controls the DC-DC converter 4 to charge the energy storage capacitor 5 according to the excitation voltage value;

步骤310:判断是否完成充电,完成充电的判断依据为达到激发电压值,完成充电则进入步骤311,否则回到步骤309。需注意,充电需在恒压源调整之后进行,否则会因电容漏电导致能量损失;Step 310 : judging whether the charging is completed. The basis for judging the completion of the charging is that the excitation voltage value is reached. After the charging is completed, go to Step 311 , otherwise, go back to Step 309 . It should be noted that charging must be performed after the constant voltage source is adjusted, otherwise energy loss will be caused by capacitor leakage;

步骤311:STM32+FPGA收发主控模块2控制PWM驱动产生两路占空比为d、时间间隔T/2的驱动信号(PWMA、PWMB),从而通过H桥发射模块10、双向二极管11和收发一体线圈14发射93个周期,频率为2330Hz的激发脉冲;Step 311: The STM32+FPGA transceiver main control module 2 controls the PWM drive to generate two drive signals (PWMA, PWMB) with a duty cycle of d and a time interval of T/2, so as to transmit and receive through the H-bridge transmitting module 10, the bidirectional diode 11 and the The integrated coil 14 emits 93 cycles of excitation pulses with a frequency of 2330 Hz;

步骤312:发射关断完成后延迟800us,保证发射全部动作完成,发射关断时间仅为1ms,收发一体线圈14切换至与接收系统的前置放大电路15连接,准备进入信号采集阶段;Step 312: Delay 800us after the completion of the transmission shutdown to ensure that all the transmission operations are completed, the transmission shutdown time is only 1ms, the transceiver integrated coil 14 is switched to be connected to the preamplifier circuit 15 of the receiving system, and is ready to enter the signal acquisition stage;

步骤313:STM32+FPGA收发主控模块2控制A/D转换模块19将信号采样,并存储至PC上位机1,存储时应注意将接收到的信号与步骤301中的发射时间t相对应;Step 313: The STM32+FPGA transceiver main control module 2 controls the A/D conversion module 19 to sample the signal and store it in the PC host computer 1. When storing, it should be noted that the received signal corresponds to the transmission time t in step 301;

步骤314:判断是否完成当前电流探测,由于叠加次数k=1,因此继续进入步骤315;Step 314: Determine whether the current current detection is completed. Since the number of superposition k=1, continue to step 315;

步骤315:判断是否进行下个电流值的探测,由于激发电流个数M=1,因此结束本次探测;Step 315: Determine whether to perform the detection of the next current value. Since the number of excitation currents M=1, the current detection is ended;

另外,为了进一步表明本发明提出的技术对发射波形质量的影响,给出了基于PWM调控技术的宽配谐磁共振探测激发电流波形和只有宽配谐的磁共振探测激发电流波形,如图4所示。其中,图4a为宽配谐磁共振探测激发电流波形图,可以看出,宽配谐的激发方式可以改善探测死区时间长的问题,但仅采用宽配谐的激发方式,会导致发射前期波形呈衰减趋势,激发波形质量差,影响实现有效激发;图4b为基于PWM调控技术的宽配谐磁共振探测激发电流波形图,在采用有源钳位快关断技术以及PWM调控技术后,有效解决了激发波形前期质量差的问题,提高了磁共振激发波形质量,改善了探测效果。In addition, in order to further demonstrate the influence of the technology proposed in the present invention on the quality of the emission waveform, the excitation current waveform of the wide-harmonic magnetic resonance detection based on the PWM control technology and the excitation current waveform of the magnetic resonance detection with only wide-harmonic are given, as shown in Figure 4 shown. Among them, Figure 4a shows the waveform of excitation current for wide-harmonic magnetic resonance detection. It can be seen that the wide-harmonic excitation method can improve the problem of long detection dead time, but only the wide-harmonic excitation method will lead to the early emission period. The waveform shows a decaying trend, and the quality of the excitation waveform is poor, which affects the effective excitation. Figure 4b shows the excitation current waveform of the wide-harmonic magnetic resonance detection based on the PWM control technology. The problem of poor quality of the excitation waveform in the early stage is effectively solved, the quality of the magnetic resonance excitation waveform is improved, and the detection effect is improved.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (10)

1. A wide-matching magnetic resonance detection device based on a PWM (pulse-width modulation) regulation and control technology is used for shallow magnetic resonance detection, and is characterized by comprising: PC host computer, STM32+ FPGA receiving and dispatching main control module, transmitting system, receiving and dispatching switching device, receiving and dispatching integrated coil and receiving system, wherein,
the PC upper computer is used for man-machine interaction, sending transmission parameters to the STM32+ FPGA transceiving main control module, displaying the working state and storing the acquired magnetic resonance signal data;
the transmitting system comprises a storage battery, an energy storage capacitor, a high-power diode and an H-bridge transmitting module, wherein the storage battery is charged after being converted by a DC-DC converter and is connected with the H-bridge transmitting module through the high-power diode; the STM32+ FPGA transceiving main control module drives the H-bridge transmitting module through the PWM driving module; the H-bridge transmitting module is connected to the receiving and transmitting switching device through a bidirectional diode;
the receiving system is controlled by the receiving and transmitting switching device to be connected with the receiving and transmitting integrated coil;
and the transmitting and receiving switching device controls the connection of the transmitting system or the receiving system and the transmitting and receiving integrated coil according to the instruction of the STM32+ FPGA transmitting and receiving main control module.
2. The device of claim 1, wherein the receiving system comprises a pre-amplifying circuit, a signal conditioning circuit, a program-controlled amplifying module, an LPF module and an A/D conversion module, the pre-amplifying circuit of the receiving system is connected to the transceiving switching device, and the signal is amplified through the pre-amplifying circuit and is transmitted to the STM32+ FPGA transceiving main control module after sequentially passing through the signal conditioning circuit, the program-controlled amplifying module, the LPF module and the A/D conversion module.
3. The device according to claim 3, wherein the transceiving switching device comprises a switch driving module and a transceiving switching switch, and the switch driving module controls the connection between the transmitting system or the receiving system and the transceiving integrated coil through the transceiving switching switch according to the instruction of the receiving STM32+ FPGA transceiving master control module.
4. The apparatus of claim 4,
the STM32+ FPGA transceiving master control module is used for interacting with an upper computer, calculating parameters and controlling the detection working time sequence; controlling the DC-DC converter to store the energy in the storage battery to the energy storage capacitor; adjusting the voltage value of the controllable constant voltage source; generating two paths of PWM control signals through a PWM driving module; the receiving and transmitting switch is controlled to select the connection of the receiving and transmitting integrated coil and the H-bridge transmitting module or the pre-amplification circuit through the control switch driving module; and controlling the A/D conversion module to collect the magnetic resonance signals sensed by the receiving and transmitting integrated coil, amplifying the magnetic resonance signals through the preamplification circuit, conditioning the signals through the signal conditioning circuit, amplifying the magnetic resonance signals again through the program control amplification module and filtering the magnetic resonance signals through the LPF module, and adjusting the gain of the program control amplification module.
5. The apparatus of claim 1, wherein the energy storage capacitor of the transmitting system is a high voltage high capacitance capacitor for providing energy during transmission; the high-voltage pulse at the moment of turn-off is clamped by a controllable constant-voltage source with the voltage value higher than the voltage of the energy storage capacitor, so that an IGBT (insulated gate bipolar translator) of a switching device forming the H-bridge transmitting module is protected, and the energy of a guide coil is quickly released in the dead time of the transmitting pulse.
6. The apparatus of claim 1,
the high-power diode is a reverse high-voltage fast recovery diode with a unidirectional conduction characteristic and blocks a discharge loop formed by an energy storage capacitor and an H-bridge emission module in the dead time of an excitation pulse; and prevent the controllable constant voltage source from discharging to the energy storage capacitor; isolating instantaneous pulses generated by coil discharge within the dead time of the excitation pulse and protecting the capacitor;
the low-power diode is a reverse high-voltage fast recovery diode with a unidirectional conduction characteristic, and prevents the controllable constant voltage source from discharging to the energy storage capacitor, the H-bridge transmitting module, the bidirectional diode and the coil; the controllable constant voltage source is only used for clamping in the dead time of the excitation pulse and does not release energy through the transmitting loop;
the bidirectional diode comprises two diodes which are connected in parallel in an opposite direction and used for transmitting residual energy absorption.
7. The apparatus of claim 6, wherein during the transmit phase: when a PWMA signal or a PWMB signal sent by the PWM driving module is effective, a group of IGBTs in the H-bridge transmitting module are conducted, an energy storage capacitor, a high-power diode, a group of IGBTs, a bidirectional diode and a receiving and transmitting integrated coil which is equivalent to a series connection of an inductor L and a resistor R form a loop, and the controllable constant voltage source Ur is equivalent to open circuit due to the unidirectional conductivity of the low-power diode; when the PWMA signal and the PWMB signal are invalid, the excitation pulse dead time is entered, because of the one-way conductivity of the high-power diode, the energy storage capacitor is equivalent to open circuit in the period, and the energy release loop of the receiving and transmitting integrated coil is composed of an H-bridge transmitting module, a low-power diode and a controllable constant voltage source, so that the purposes of equal-amplitude high-quality waveform transmission and quick turn-off are realized.
8. A wide-band resonance detection method based on a PWM (pulse-width modulation) regulation technology is characterized by comprising the following steps of:
step 301: the STM32+ FPGA transceiving main control module identifies parameters and working start signals sent by a PC upper computer and comprises an excitation current ImThe number M of the emission currents, the number k of the superposition times and the excitation pulse frequency f are calculated, the emission pulse time t and the number n of pulse periods are calculated, and the actual excitation time t is transmitted back to the PC upper computer, wherein M and n are positive integers;
step 302: the STM32+ FPGA transceiving main control module controls a transceiving switch to switch a transceiving integrated coil to be connected with a pre-amplification circuit of a receiving system by controlling a switch driving module in the transceiving switching device so as to prepare to enter a gain adjustment and noise acquisition stage;
step 303: the STM32+ FPGA transceiving main control module controls the receiving system to collect noise signals through the transceiving integrated coil, and adjusts the gain of the program control amplification module according to the amplitude of the collected signals;
step 304: judging whether the gain adjustment of the program control amplification module is finished, if so, continuing to enter the step 305, otherwise, returning to the step 303, and judging the basis for finishing the gain adjustment is as follows: the signal amplitude acquired by the A/D conversion module is between 1/2 full scale and full scale of A/D;
step 305: the STM32+ FPGA transceiving main control module controls a transceiving selector switch through a transceiving selector device to switch a transceiving integrated coil to be connected with an H-bridge transmitting module of a transmitting system to prepare for entering a bipolar pulse excitation stage;
step 306: STM32+ FPGA transceiver main control module according to excitation current ImAnd calculating the excitation voltage U according to the constraint conditionSDuty cycle d of excitation pulse and clamping voltage UDC
Step 307: the STM32+ FPGA transceiving main control module adjusts the voltage value of the controllable constant voltage source according to the calculated clamping voltage value UDC;
step 308: judging whether the clamping voltage reaches a clamping voltage value UDC, if so, continuing to enter a step 309, otherwise, returning to the step 307;
step 309: the STM32+ FPGA transceiving main control module controls the DC-DC converter to charge the energy storage capacitor according to the excitation voltage value;
step 310: judging whether the charging is finished or not, if the judgment basis of finishing the charging is that the excitation voltage value is reached, entering step 311 if the charging is finished, otherwise returning to step 309;
step 311: STM32+ FPGA receives and dispatches the master control module control PWM drive and produce two routes of duty ratio and be d, time interval T/2's drive signal, through H bridge transmitting module, bidirectional diode and the integrative coil transmission n cycles of receiving and dispatching, the excitation pulse of frequency is f. The purpose of emitting pulses of n cycles instead of fixed duration is to turn off the excitation pulses at the whole cycle, thereby reducing the dead time;
step 312: delaying for 800us after the transmission is turned off to ensure that all transmission actions are completed, switching the receiving and transmitting integrated coil to be connected with a pre-amplification circuit of a receiving system, and preparing to enter a signal acquisition stage;
step 313: the STM32+ FPGA transceiving main control module controls the A/D conversion module to sample signals and store the signals to the PC upper computer, and the received signals correspond to the transmitting time t in the step 301 during storage;
step 314: judging whether current detection is finished, if so, continuing to enter step 315, otherwise, returning to step 309;
step 315: and judging whether to detect the next current value or not, finishing the detection, and returning to the step 305 if not.
9. The method of claim 8, wherein step 306: STM32+ FPGA transceiver main control module according to excitation current ImAnd calculating the excitation voltage U according to the constraint conditionSDuty cycle d of excitation pulse and clamping voltage UDCAnd satisfies the following conditions:
Figure FDA0002249657620000051
Figure FDA0002249657620000052
Figure FDA0002249657620000053
wherein, T is the transmission pulse cycle, satisfies T1/f, and R is coil equivalent resistance value, and L is coil equivalent inductance value, and each volume all adopts SI unit system in the formula, and the constraint condition is:
UDC≤1000
0.25≤d≤0.45
the aim is to make
Figure FDA0002249657620000054
And C is the capacitance value of the energy storage capacitor.
10. The method of claim 8, wherein step 310: the charging is performed after the constant voltage source adjustment.
CN201911029353.3A 2019-10-28 2019-10-28 Widely matched harmonic magnetic resonance detection device and detection method based on PWM control technology Active CN110703343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911029353.3A CN110703343B (en) 2019-10-28 2019-10-28 Widely matched harmonic magnetic resonance detection device and detection method based on PWM control technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911029353.3A CN110703343B (en) 2019-10-28 2019-10-28 Widely matched harmonic magnetic resonance detection device and detection method based on PWM control technology

Publications (2)

Publication Number Publication Date
CN110703343A true CN110703343A (en) 2020-01-17
CN110703343B CN110703343B (en) 2021-08-17

Family

ID=69202415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911029353.3A Active CN110703343B (en) 2019-10-28 2019-10-28 Widely matched harmonic magnetic resonance detection device and detection method based on PWM control technology

Country Status (1)

Country Link
CN (1) CN110703343B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538096A (en) * 2020-05-06 2020-08-14 吉林大学 Nuclear magnetic resonance underground water stratification detection device and detection method
CN113050175A (en) * 2021-03-08 2021-06-29 吉林大学 Helicopter aviation electromagnetic recording device and emission source parameter identification method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5610520A (en) * 1994-02-24 1997-03-11 Medrad Inc. Automatic orthogonality adjustment device for a quadrature surface coil for magnetic resonance imaging or spectroscopy
CN101251606A (en) * 2008-04-09 2008-08-27 吉林大学 Power frequency harmonic interference suppression circuit in useful signal frequency band in weak signal detection instrument
CN206757064U (en) * 2017-06-08 2017-12-15 三峡大学 A kind of nuclear magnetic resonance water detector emitter based on dynamic compensation
CN109062063A (en) * 2018-08-01 2018-12-21 合肥阅辞科技有限公司 Intelligent appliance equipment
CN110794463A (en) * 2019-10-10 2020-02-14 吉林大学 Short dead zone magnetic resonance emission device based on wide harmonic matching and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5610520A (en) * 1994-02-24 1997-03-11 Medrad Inc. Automatic orthogonality adjustment device for a quadrature surface coil for magnetic resonance imaging or spectroscopy
CN101251606A (en) * 2008-04-09 2008-08-27 吉林大学 Power frequency harmonic interference suppression circuit in useful signal frequency band in weak signal detection instrument
CN206757064U (en) * 2017-06-08 2017-12-15 三峡大学 A kind of nuclear magnetic resonance water detector emitter based on dynamic compensation
CN109062063A (en) * 2018-08-01 2018-12-21 合肥阅辞科技有限公司 Intelligent appliance equipment
CN110794463A (en) * 2019-10-10 2020-02-14 吉林大学 Short dead zone magnetic resonance emission device based on wide harmonic matching and control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
巨长磊: "分布式MRS+TEM联用仪全波多通道同步采集子系统研制", 《中国优秀硕士学位论文全文数据库 基础科学辑》 *
王洪宇: "基于并联充电技术的核磁共振找水仪发射机研制", 《中国优秀硕士学位论文全文数据库 基础科学辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538096A (en) * 2020-05-06 2020-08-14 吉林大学 Nuclear magnetic resonance underground water stratification detection device and detection method
CN113050175A (en) * 2021-03-08 2021-06-29 吉林大学 Helicopter aviation electromagnetic recording device and emission source parameter identification method
CN113050175B (en) * 2021-03-08 2022-05-13 吉林大学 Helicopter aviation electromagnetic recording device and emission source parameter identification method

Also Published As

Publication number Publication date
CN110703343B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN109597134B (en) Nuclear magnetic resonance groundwater detection device and method based on adiabatic pulse excitation source
CN105162352B (en) The bipolarity steep-sided pulse current source and steep-sided pulse current control method of inductive load
CN107783196B (en) Transient electromagnetic instrument transmitter
CN103944440B (en) One has soft copped wave characteristic grounded source emitter and control method
CN110703343A (en) Wide-matching-resonance magnetic resonance detection device and detection method based on PWM (pulse-Width modulation) regulation and control technology
CN102496933B (en) Double parallel active power filtering apparatus
CN104216021B (en) Underground nuclear magnetic resonance exploration method based on step-by-step transmission
CN106093213A (en) Portable electromagnetic ultrasonic pulse excitation apparatus
CN106154341A (en) A kind of nuclear magnetic resonance, NMR and transient electromagnetic integrative detection instrument and method of work
CN103984032A (en) Multiple-work-mode nuclear magnetism signal detection device and method for real-time signal-noise characteristic extraction
CN109917478B (en) Magnetic resonance water detection system and method for improving amplitude of acquired signal
CN101782630B (en) Electronic load controller with constant current and constant power
CN205199873U (en) Array transducer ultrasonic power supply device
CN203616291U (en) Bipolar high-power pulse ultrasonic generator
CN110794463B (en) Short-dead-zone magnetic resonance transmission device and control method based on wide-matching harmonics
CN105915101A (en) Induced polarization instrument emission method based on supercapacitor energy storage
CN109884719B (en) Nuclear magnetic resonance device for continuous emission and rapid layered detection and detection method
CN201355775Y (en) Energy picking-up mechanism of inductive-type electric energy transmission system
CN106199739A (en) A kind of nuclear magnetic resonance, NMR water detector discharger and detection method
CN201051151Y (en) A magnetic resonance water finder
CN111538096B (en) A nuclear magnetic resonance groundwater stratification detection device and detection method
CN102339085B (en) Measuring and controlling device for electromagnetic power device
CN104009532B (en) The fast charging and discharging supply unit of nuclear magnetic resonance, NMR water detector
CN208722672U (en) A kind of walkie high-current demagnetization instrument based on Switching Power Supply
CN207992467U (en) A kind of Transient Electromagnetic Apparatus transmitter

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