High frequency electric knife generator based on FPGA
Technical field
The present invention relates to a kind of surgical operating instrument, particularly a kind of high frequency electric knife generator based on FPGA.
Background technology
High frequency electric knife is widely used, not only in direct-view operation, as general surgery, breast are outer, brain is outer, department of eye, decorative sursery be widely used, and be applied in more and more in various endoscopic surgerys, as: peritoneoscope, prostate are cut in the operations such as mirror, gastroscope, cystoscope, hysteroscope.High frequency electric knife generator is its core component.At present, traditional high frequency electric knife extensively adopts single-chip microcomputer to control complete machine, implements the automatic adjusting to power waveform, voltage, electric current under various functions, and the detection of various safety indexs.But with respect to digital control some shortcomings that also exist: control circuit assembly is many, model is complicated; Analog device is easily aging; Control method is single, the control algolithm that more difficult realization is advanced.Along with the development of EDA technology, the Circuits System of using the digital electronic system based on FPGA to form power device is controlled, for Electrosurgical digital control a kind of new effective ways that provide are provided.
Summary of the invention
The present invention be directed to present high frequency electric knife control circuit assembly many, model is complicated, analog device is easily aging, the problem that control method is single, propose a kind of high frequency electric knife generator based on FPGA, utilized FPGA programmability, adopted SPWM modulator approach, by resonant mode half-bridge inversion circuit mode, control frequency, the amplitude and power of radio frequency output signal, make it to be applicable to the required cutting of biological tissue's body and/or condense.
Technical scheme of the present invention is: a kind of high frequency electric knife generator based on FPGA, power supply provides d. c. voltage signal to radio frequency generation module, d. c. voltage signal amplifies and half-bridge circuit shaping through radio frequency generation module resonance, after becoming high-voltage alternating radiofrequency signal, export, output sends to biological tissue by radiation electrode and backward channel; The impedance of impedance detection unit inspection biological tissue also sends to FPGA main control unit impedance parameter, and FPGA main control unit is adjusted the dutycycle of SPWM ripple in real time according to impedance parameter, and SPWM ripple outputs to radio frequency generation module.
Described radio frequency generation module is comprised of resonance circuit and half-bridge switch formula power amplifier two parts, and resonance circuit forms RC oscillating circuit by the electric capacity of connecting and inductance, and its resonant frequency is 1/
half-bridge switch formula power amplifier is comprised of two MOS switching tubes of connecting and the Capacitance parallel connection of two series connection, two MOS switching tube central points of the electric capacity of resonance circuit series connection and the series connection of inductance two ends one termination half-bridge switch formula discharge circuit, two electric capacity central points of the series connection of another termination half-bridge switch formula discharge circuit, the electric capacity two ends of resonance circuit are outfan.
Described FPGA main control unit comprises that current and voltage of power supply feedback and control, impedance detection feedback and control, SPWM modulate, and its peripheral circuit also comprises crystal oscillator, man machine interface and buffer circuit; Current and voltage of power supply feedback connects power supply with control, processes power supply signal, and impedance detection feedback and control inputs connect the output of impedance detection unit, and output connects SPWM modulation; SPWM modulation output connects two MOS switching tubes of radio frequency generation module; Crystal oscillator drives signal for FPGA device provides clock; The input and output isolation of buffer circuit to main control unit, man machine interface can setup parameter to FPGA main control unit.
Described SPWM modulation mainly comprises that sine-wave generator, triangular-wave generator, modulation degree M control, comparator.
Beneficial effect of the present invention is: the present invention is based on the high frequency electric knife generator of FPGA, controller can realize accurate control, fast response time, easily revises, can field programming; Controller highly versatile, stable performance; The most important thing is, large-scale FPGA let us can all be integrated in microprocessor, specialized hardware algorithm unit, special-purpose waveform generating unit, signal acquisition process unit on single-chip, makes it to become a complete electronics dedicated control system.
Accompanying drawing explanation
Fig. 1 is the high frequency electric knife generator schematic diagram that the present invention is based on FPGA;
Fig. 2 the present invention is based on radio frequency generation functions of modules circuit diagram in the high frequency electric knife generator of FPGA;
Fig. 3 the present invention is based on FPGA main control unit functional schematic in the high frequency electric knife generator of FPGA;
Fig. 4 the present invention is based on SPWM modulation algorithm schematic diagram in the high frequency electric knife generator of FPGA.
The specific embodiment
High frequency electric knife generator schematic diagram based on FPGA as shown in Figure 1, first 200V d. c. voltage signal is produced by power supply 101, offers radio frequency generation module 102; By radio frequency generation module 102 resonance, amplify and half-bridge circuit shaping, become high-voltage alternating radiofrequency signal; Finally by radiation electrode and backward channel, send to biological tissue 103.Impedance detection unit 104 is for detection of the impedance of biological tissue 103 and impedance parameter is sent to FPGA main control unit 105, FPGA main control unit 105 is adjusted the dutycycle of SPWM ripple in real time according to impedance parameter, to control the amplitude of radio frequency generation module 102 output signals, make it to be applicable to biological required cutting and/or condense.
Radio frequency generation functions of modules circuit diagram as shown in Figure 2, described radio frequency generation module 102, is comprised of resonance circuit and half-bridge switch formula power amplifier two parts.Resonance circuit forms RC oscillating circuit by the electric capacity 203 of connecting with inductance 202, and its resonant frequency is 1/
.Half-bridge switch formula power amplifier is composed in parallel by electric capacity 205, the electric capacity 206 of the MOS switch 201,204 of connecting and series connection.MOS switch 201,204 central points of the electric capacity of resonance circuit series connection and the series connection of inductance two ends one termination half-bridge switch formula discharge circuit, the electric capacity 205 of the series connection of another termination half-bridge switch formula discharge circuit, electric capacity 206 central points, resistance 207 is load.
FPGA main control unit functional schematic as shown in Figure 3, FPGA main control unit 105 comprises that current and voltage of power supply feeds back and control 302, impedance detection feedback and control 305, SPWM modulation 304, and its peripheral structure also comprises crystal oscillator 303, man machine interface 301 and buffer circuit 306; Current and voltage of power supply feedback and control 302 feedbacks for control appliance power supply 101 and output, impedance detection is fed back and is controlled 305 adjustment of the Output rusults according to impedance detection 104 SPWM and modulate 304 dutycycles of exporting; SPWM modulation 304 outputs connect the MOS switch 201 and 204 of radio frequency generation module 102; Crystal oscillator 303 drives signal for FPGA device provides clock; The input and output isolation of 306 pairs of main control units of buffer circuit, avoids homology to disturb, man machine interface 301 can setup parameter to FPGA main control unit 105.
SPWM modulates 304 algorithm schematic diagrams as shown in Figure 4, mainly comprises sine-wave generator 401, triangular-wave generator 404, modulation degree M control 402, comparator 103; Offset of sinusoidal wave producer 401 compares with synchronization sine wave and triangular wave amplitude size that triangular-wave generator 404 produces, and sine wave is greater than triangular wave and exports positive pulse, otherwise exports negative pulse or low level.