Systems and methods for multifrequency cable compensation
09901385 ยท 2018-02-27
Assignee
Inventors
- Robert H. Wham (Boulder, CO)
- Andrey Y. Belous (Longmont, CO, US)
- Alexander M. Waskiewicz (Lafayette, CO, US)
- Anthony D. Ricke (Boulder, CO, US)
Cpc classification
A61B18/1445
HUMAN NECESSITIES
A61B18/00
HUMAN NECESSITIES
International classification
A61B18/12
HUMAN NECESSITIES
Abstract
The electrosurgical systems and methods of the present disclosure perform cable compensation using an electrosurgical generator that includes a plurality of sensors configured to sense voltage and current waveforms, a plurality of medium-band filters, a plurality of narrowband filters, and a signal processor. The plurality of medium-band filters and narrowband filters pass sensed voltage and current waveforms at a plurality of predetermined frequencies. The signal processor calculates medium-band RMS voltage and current values using the output from the plurality of medium-band filters, calculates narrowband phase and magnitude values using the output from the plurality of narrowband filters, calculates tissue impedance based on the medium-band RMS voltage and current values and the narrowband phase value, and generates a control signal to control the energy generated by the electrosurgical generator based on the calculated tissue impedance.
Claims
1. An electrosurgical generator comprising: an output stage configured to generate energy; an electrosurgical cable configured to transmit the generated energy to tissue for treating tissue; a voltage sensor configured to sense a voltage waveform of the generated energy at the output stage; a current sensor configured to sense a current waveform of the generated energy at the output stage; a first medium-band filter configured to pass the sensed voltage waveform having at least one frequency within a first medium-band range of frequencies including a harmonic frequency; a second medium-band filter configured to pass the sensed current waveform having at least one frequency within the first medium-band range of frequencies including the harmonic frequency; a first narrowband filter configured to obtain narrowband phase and magnitude values of at least one frequency of the sensed voltage waveform within the first medium-band range of frequencies; and a second narrowband filter configured to obtain narrowband phase and magnitude values of at least one frequency of the sensed current waveform within the first medium-band range of frequencies; and a signal processor configured to: determine medium-band root-mean-square (RMS) voltage and current values based on the sensed voltage and current waveforms filtered by the first and second medium-band filters; estimate impedance of the tissue based on the narrowband magnitude and phase and the medium-band RMS voltage and current values; and generate a control signal to control the output stage to generate energy based on the estimated impedance of the tissue.
2. The electrosurgical generator according to claim 1, wherein the voltage and current waveforms include harmonic distortion caused by capacitance of the electrosurgical cable.
3. The electrosurgical generator according to claim 2, further comprising: a third medium-band filter configured to pass the sensed voltage waveform having a frequency within a second medium-band range of frequencies including a third harmonic frequency; a fourth medium-band filter configured to pass the sensed current waveform within the second medium-band range of frequencies including the third harmonic frequency; a third narrowband filter configured to obtain narrowband phase and magnitude values of at least one frequency of the sensed voltage waveform within the second medium-band range of frequencies; and a fourth narrowband filter configured to obtain narrowband phase and magnitude values of at least one frequency of the sensed current waveform within the second medium-band range of frequencies, wherein the harmonic frequency is a fundamental frequency.
4. The electrosurgical generator according to claim 3, further comprising: a fifth medium-band filter configured to pass the sensed voltage waveform within a third medium-band range of frequencies including a fifth harmonic frequency; a sixth medium-band filter configured to pass the sensed current waveform within the third medium-band range of frequencies including the fifth harmonic frequency; a fifth narrowband filter configured to obtain narrowband phase and magnitude values of at least one frequency of the sensed voltage waveform within the third medium-band range of frequencies; and a sixth narrowband filter configured to obtain narrowband phase and magnitude values of at least one frequency of the sensed current waveform within the third medium-band range of frequencies.
5. The electrosurgical generator according to claim 3, wherein the signal processor further determines medium-band RMS voltage and current values based on the sensed voltage and current waveforms filtered by the third and fourth medium-band filters, calculates a total RMS voltage value by summing the RMS voltage values, and calculates a total RMS current value by summing the RMS current values.
6. The electrosurgical generator according to claim 5, wherein the signal processor selects frequencies from within the first and second medium-band ranges of frequencies and calculates weights for the medium-band RMS voltage and current values at the selected frequencies based on the narrowband magnitudes.
7. The electrosurgical generator according to claim 6, wherein the weights are percentages based on ratios between the medium-band RMS voltage values of a medium-band range of frequencies including a selected frequency and the total RMS voltage value, or the ratios between the medium-band RMS current values of a medium-band range of frequencies including a selected frequency and the total RMS current value.
8. The electrosurgical generator according to claim 6, wherein the signal processor calculates weighted RMS voltage and current values at the selected frequencies and calculates weighted powers based on the weighted RMS voltage and current values.
9. The electrosurgical generator according to claim 8, wherein the RMS voltage values and the RMS current values are calculated by using a two-port network model of the electrosurgical cable, and wherein power consumed by the tissue is calculated by adding the weighted powers.
10. The electrosurgical generator according to claim 6, wherein the signal processor calculates the impedance of the tissue at a selected frequency that has a highest weighted magnitude.
11. A method for electrosurgical cable compensation, the method comprising: generating, by an output stage, energy; transmitting, via an electrosurgical cable, the energy to tissue for treating the tissue; sensing voltage and current waveforms of the energy generated by the output stage; passing the sensed voltage and current waveforms within a first medium-band range of frequencies including a harmonic frequency; obtaining narrowband phase and magnitude values of at least one frequency of the sensed voltage and current waveforms within the first medium-band range of frequencies; determining medium-band root-mean-square (RMS) voltage and current values based on the passed voltage and current waveforms within the first medium-band range of frequencies; estimating an impedance of the tissue based on the narrowband magnitude and phase and the medium-band RMS voltage and current values; and generating a control signal to control the output stage to generate energy based on the estimated impedance of the tissue.
12. The method according to claim 11, further comprising: passing the sensed voltage and current waveforms having frequencies within a second medium-band range of frequencies including a third harmonic frequency; and obtaining narrowband phase and magnitude values of at least one frequency of the sensed voltage and current waveforms within the second medium-band range of frequencies.
13. The method according to claim 12, further comprising: passing the sensed voltage and current waveforms within a third medium-band range of frequencies including a fifth harmonic frequency; and obtaining narrowband phase and magnitude values of at least one frequency of the sensed voltage and current waveforms within the third medium-band range of frequencies.
14. The method according to claim 12, further comprising: determining medium-band root-mean-square (RMS) voltage and current values based on the passed voltage and current waveforms within the second medium-band range of frequencies; calculating a total RMS voltage value by summing medium-band RMS voltage values; calculating a total RMS current value by summing medium-band RMS current values; selecting frequencies from within the first and second medium-band ranges of frequencies; and calculating weights for the medium-band RMS voltage and current values at the selected frequencies based on the narrowband magnitude values.
15. The method according to claim 14, wherein the weights are percentages based on ratios between the medium-band RMS voltage values of a medium-band range of frequencies including a selected frequency and the total RMS voltage value, or ratios between the medium-band RMS current values of a medium-band range of frequencies including a selected a frequency and the total RMS current value.
16. The method according to claim 14, further comprising: calculating weighted RMS voltage and current values for the selected frequencies; and calculating weighted powers based on the weighted RMS voltage and current values to obtain power consumed in the tissue.
17. The method according to claim 16, wherein the power consumed in the tissue is calculated by adding the weighted powers for the selected frequencies.
18. The method according to claim 14, further comprising calculating the impedance of the tissue at a selected frequency that has a highest weighted magnitude.
19. The method according to claim 11, further comprising: calculating an average power based on the medium-band RMS voltage and current values to obtain an average power for the first medium-band range of frequencies; and calculating a power loss in the electrosurgical cable based on a known impedance of the electrosurgical cable and the medium-band RMS voltage or current value by subtracting the power loss from the average power.
20. The method according to claim 19, further comprising: calculating narrowband impedance of the tissue at a frequency that has a highest narrowband magnitude; calculating a power consumed in the tissue by subtracting the power loss from the average power; and compensating the impedance of the tissue based on the power consumed in the tissue.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Various embodiment of the present disclosure are described with reference to the accompanying drawings wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION
(13) As described above, an electrosurgical cable in an electrosurgical system creates a circuit network of impedance components between the voltage and current sensors of the electrosurgical system and the tissue being treated, which results in inaccurate power and impedance measurements at the electrosurgical generator. Thus, to more accurately measure power dissipated in and impedance of the tissue being treated, many generators employ compensation algorithms that account for the impedance of the circuit network of the cable assembly. These compensation algorithms involve the measurement and storage of multiple cable parameters, such as series inductance, shunt capacitance, and resistance, which are used as constants in the solutions to the circuit network. These compensation algorithms also involve many mathematical operations, e.g., multiplies and additions, on complex numbers having real and imaginary components.
(14) The electrosurgical systems and methods of the present disclosure increase the accuracy of measurements of the voltage, current, power, and/or impedance of a load, e.g., tissue, by analyzing a range of relevant frequencies. The systems and methods according to the present disclosure may employ different models of the electrosurgical cable assembly for estimating the actual tissue impedance. One model of the cable assembly includes a source impedance having a resistor, a capacitor (e.g., a DC blocking capacitor), and an inductor connected in series with the tissue load and a shunt impedance having a capacitor connected in parallel with the tissue load. The model of the cable assembly may not incorporate the series resistor because the resistance of the series resistor is relatively small compared to the resistance of the tissue load.
(15) Since frequencies other than the fundamental frequency of the generated electrosurgical energy may include a significant amount of energy, multiple frequencies including harmonic frequencies, sidebands, and ringing frequencies are taken into consideration for calculating average power based on sensed current and voltage waveforms. The impedance of the tissue is then calculated at a single frequency which has the highest amount of energy or the highest magnitude to achieve greater signal processing accuracy. Alternatively or additionally, the tissue impedance may be calculated at a single lower frequency, which may be more accurate because tissue impedance calculations are relatively immune to stray parasitic impedances at lower frequencies.
(16) In embodiments, the electrosurgical systems and methods of the present disclosure use complex voltage and current waveforms at multiple frequencies and measured by the current and voltage sensors to calculate the energy lost in the circuit network and actual energy delivered to the tissue being treated. The multiple frequency waveforms generated by the electrosurgical generator are analyzed by narrowband filters, e.g., Fourier transformation, Goertzel, or other frequency transform filters, and then cable compensation is performed for each frequency waveform individually. The results of this cable compensation are then combined to calculate actual current, voltage, power delivered to the tissue being treated, and the tissue impedance.
(17)
(18) The electrosurgical system 100 further includes a monopolar electrosurgical instrument 110 having an electrode for treating tissue of the patient (e.g., an electrosurgical cutting probe or ablation electrode) with a return pad 120. The monopolar electrosurgical instrument 110 can be connected to the electrosurgical generator 102 via one of the plurality of output connectors. The electrosurgical generator 102 may generate electro surgical energy in the form of radio frequency (RF) energy. The electrosurgical energy is supplied to the monopolar electrosurgical instrument 110, which applies the electrosurgical energy to tissue. The electrosurgical energy is returned to the electrosurgical generator 102 through the return pad 120. The return pad 120 provides sufficient contact area with the patient's tissue so as to minimize the risk of tissue damage due to the electrosurgical energy applied to the tissue.
(19) The electrosurgical system 100 also includes a bipolar electrosurgical instrument 130. The bipolar electrosurgical instrument 130 can be connected to the electrosurgical generator 102 via one of the plurality of output connectors. The electrosurgical energy is supplied to one of the two forceps, is applied to tissue, and is returned to the electrosurgical generator 102 through the other forceps.
(20) The electrosurgical generator 102 may be any suitable type of generator and may include a plurality of connectors to accommodate various types of electrosurgical instruments (e.g., monopolar electrosurgical instrument 110 and bipolar electrosurgical instrument 130). The electrosurgical generator 102 may also be configured to operate in a variety of modes, such as ablation, cutting, coagulation, and sealing. The electrosurgical generator 102 may include a switching mechanism (e.g., relays) to switch the supply of RF energy among the connectors to which various electrosurgical instruments may be connected. For example, when the monopolar electrosurgical instrument 110 is connected to the electrosurgical generator 102, the switching mechanism switches the supply of RF energy to the monopolar plug. In embodiments, the electrosurgical generator 102 may be configured to provide RF energy to a plurality instruments simultaneously.
(21) The electrosurgical generator 102 includes a user interface having suitable user controls (e.g., buttons, activators, switches, or touch screens) for providing control parameters to the electrosurgical generator 102. These controls allow the user to adjust parameters of the electrosurgical energy (e.g., the power level or the shape of the output waveform) so that the electrosurgical energy is suitable for a particular surgical procedure (e.g., coagulating, ablating, tissue sealing, or cutting). The electrosurgical instruments 110 and 130 may also include a plurality of user controls. In addition, the electrosurgical generator 102 may include one or more display screens for displaying a variety of information related to the operation of the electrosurgical generator 102 (e.g., intensity settings and treatment complete indicators).
(22)
(23) The appropriate frequency for the electrosurgical energy generated by the generator circuitry 200 may differ based on the electrosurgical procedures and modes of electrosurgery. For example, nerve and muscle stimulations cease at about 100,000 cycles per second (100 kHz) and some electrosurgical procedures can be performed safely at a radio frequency (RF) above 100 kHz. At frequencies over 100 kHz, the electrosurgical energy can pass through a patient to targeted tissue with minimal neuromuscular stimulation. For example, ablation uses a frequency of 472 kHz. Other electrosurgical procedures can be performed at frequencies lower than 100 kHz, e.g., 29.5 kHz or 19.7 kHz, with minimal risk of damaging nerves and muscles. The HVPS 210 and the RF output stage 220 can selectively provide AC signals with various frequencies suitable for various electrosurgical operations. The RF output stage 220 may include a resonant tank circuit that matches the impedance at the RF output stage 220 so that there is maximum or optimum power transfer from the electrosurgical generator 102 to the tissue 290.
(24) The plurality of voltage and current sensors 230 sense the AC voltage and current waveforms generated by the HVPS 210 and the RF output stage 220. In particular, voltage sensors measure voltage across the active and return lines that connect the RF output stage 220 to the cable 280 and the current sensors measure current passing through one of the active and return lines.
(25) The plurality of sensors 230 may include two or more pairs or sets of voltage and current sensors that provide redundant measurements of the voltage and current waveforms. This redundancy ensures the reliability, accuracy, and stability of the voltage and current measurements at the output of the RF output stage 220. In embodiments, the plurality of sensors 230 may include fewer or more sets of voltage and current sensors depending on the application or the design requirements.
(26) The sensed voltage and current waveforms sensed by the plurality of sensors 230 are filtered by filters 235 and sampled by the plurality of ADCs 240 to obtain digital samples of the voltage and current waveforms. The filters 235 may include an anti-aliasing filter and a high-pass filter, which together form a band-pass filter. The plurality of ADCs 240 may sample the sensed voltage and current waveforms at a frequency that is an integer multiple of the frequency of the voltage and current waveforms generated by the RF output stage 220. The number of samples may be a power of two, e.g., 2, 4, 8, 16, 32, or 64 samples per cycle, as the nulls of the filters may fall near the harmonics. Alternatively, the number of samples may not be an even multiple. The sampled current and voltage waveforms are then processed by the signal processor 250 to obtain the root mean square (RMS) voltage and current values, phases, and magnitudes of the sampled current and voltage waveforms, which are provided to the controller 260.
(27) Before the ADCs 240 sample the voltage and current waveforms, a wideband filter may pass a wide range of frequencies of interest. The wideband filter may be a bandpass filter so that low frequencies and high frequencies outside of the frequencies of interest are in the stopband of the wideband filter. In this way, high frequency noise and unwanted low frequencies can be removed before sampling and power computations. The frequencies of interest may fit within the frequency range that the ADCs 240 can handle.
(28) The signal processor 250 may implement a plurality of narrowband filters and a plurality of medium-band filters. The plurality of narrowband filters may provide information regarding the phase difference between the sensed voltage and current waveforms, and the magnitude of the sensed voltage and current waveforms at a single frequency, which may be used to determine the load impedance. The plurality of medium-band filters may filter the voltage and current RF waveforms to calculate an RMS voltage, an RMS current, and an average power over a set of frequencies. The set of frequencies may include the fundamental frequency or harmonics of the RF waveform and its sidebands which are caused by pulse repetition. The narrowband filter is used to pass a narrow range of frequencies, generally a single frequency. The medium-band filter has a wider bandwidth than the narrowband filter and may select a medium range of frequencies. For example, the narrowband filter may have a bandwidth of 10 kHz and the medium-band filter may have a bandwidth of 100 kHz.
(29) Each filter of the plurality of medium-band filters may filter a harmonic frequency, sideband frequencies of the harmonic frequency, and ringing frequencies. Each filter of the plurality of narrowband filters may filter a harmonic frequency or a center frequency of frequencies filtered by a medium-band filter.
(30) The controller 260 includes a proportional-integral-derivative (PID) controller 262 and a digital pulse width modulator (DPWM) 264. In other embodiments, the controller 260 may perform control methods other than or in addition to PID control methods. The PID controller 262 receives the output from the signal processor 250, which may be the estimated average power or impedance of the tissue, and performs a PID control algorithm based on the output from the signal processor 250. The output from the PID controller 262 is provided to the DWPM 264 which generates a control signal to control the output of the RF output stage 220. In particular, the control signal may control the duty cycle so that output power generated by the RF output stage 220 is controlled.
(31) The controller 260 also receives inputs from the UI 270 and generates control signals based on the received inputs. A user may set an electrosurgical operation mode (e.g., cutting, coagulating, ablating, or sealing) and corresponding electrosurgical signal type (e.g., pure sinusoidal, rectangular, sawtooth, pulse, triangular, or blended waveforms). The UI 270 may also allow a user to select a type of electrosurgical procedure (e.g., monopolar or bipolar), or to input desired control parameters for the electrosurgical procedure or the mode.
(32)
(33) When the current I.sub.Sen 320 passes through the source resistance R.sub.Src 332, the sensed voltage V.sub.Sen 310 drops across the source resistance R.sub.Src 332. The source capacitor C.sub.Src has an impedance that decreases with increase in frequency. Thus, the source capacitor C.sub.Src blocks the DC component of the current I.sub.Sen 320 at low frequencies, but represents a small impedance at higher frequencies and thus a small voltage drop. Then, the current I.sub.Sen 320 is divided into I.sub.Lkg 350 and I.sub.Load 360. As a result, the sensed current I.sub.Sen 320 is different from the current passing through the tissue load resistance 370 due to leakage current I.sub.Lkg 350 through the leakage capacitance C.sub.Lkg 340. Also, the sensed voltage V.sub.Sen 310 is different from the voltage across the tissue load resistance R.sub.Load 370 due to the source resistance R.sub.Src 332. Thus, the power calculated from the sensed voltage and current waveforms is different from the actual power delivered to the tissue load resistance R.sub.Load 370.
(34)
(35)
(36) The signal 416 is a sinusoidal signal having a voltage that oscillates between about 0.7 volts and about 0.7 volts with a period of about 2.12.Math.10.sup.6 seconds. Graph 420, in which the vertical axis 422 is the magnitude and the horizontal axis 424 is the frequency in Hertz (Hz), shows the frequency components of the signal 416. The frequency components include the first harmonic or fundamental frequency 426 and the third harmonic frequency 428. The fundamental frequency f.sub.1 of the signal 416 is 472 kHz and the third harmonic frequency f.sub.3 is 1,416 kHz.
(37)
(38)
(39) In the case where a continuous signal is modulated by a pulse-width modulation (PWM) signal, the continuous signal is turned on for a first portion of a period and is turned off for a second portion of the period. When the continuous signal is turned off, ringing frequencies appear. The ringing frequencies are caused by the parasitic electrical components of the output stage and can ring at the RF output stage's natural frequencies. When the continuous signal is turned off, the ringing frequencies also deliver energy to the load and are defined by the RF output stage design and the load impedance. The ringing frequencies, however, are not related to the fundamental frequency or the third harmonic frequency. Thus, systems and methods of the present disclosure utilize multi-frequency compensation methods even when the continuous signal is turned off.
(40)
(41)
(42) The magnitude of the main lobe of the frequency spectrum 550 is greater than the magnitude of the other lobes. An absolute value of the magnitudes is the power distributed at the corresponding frequencies. As shown in
(43)
(44) The electrosurgical signal waveform illustrated in
(45) To perform multi-frequency compensation, narrowband root-mean-square (RMS) measurements are taken for each of the fundamental frequency and relevant harmonics. These measurements are combined to determine the total RMS voltage, the RMS current, and the average power at the load. Then, the tissue impedance is calculated at a single frequency, e.g., the fundamental frequency or a harmonic frequency.
(46) As shown in
(47) The third and fourth sideband frequencies f.sub.1+f.sub.m2 and f.sub.1f.sub.m2, and the fifth and sixth sideband frequencies f.sub.1+f.sub.m3 and f.sub.1f.sub.m3, produce the same results as the first and second sideband frequencies. Thus, the total energy passing through the parasitic capacitance at the third and the fourth sideband frequencies average out as if the total energy passes through the parasitic capacitance at the fundamental frequency. Similarly, the total energy passing through the parasitic capacitance at the fifth and sixth sideband frequencies average out as if the total energy passes through the parasitic capacitance at the fundamental frequency. Consequently, the aggregate total energy passing through the parasitic capacitance at all sideband frequencies can be considered to pass through the parasitic capacitance at the fundamental frequency. For these reasons, compensation is performed at a single frequency by using the amplitude of the medium-band filter, which captures energy at the fundamental frequency and all its sidebands.
(48) The single frequency used for load impedance calculations may be selected from among the fundamental or harmonic frequencies when the magnitude of the electrosurgical signal at the single frequency is higher than the magnitude of the electrosurgical signal at other frequencies.
(49)
(50) The sensed voltage and current waveforms are filtered by the plurality of medium-band filters 710a and 710b, respectively. As described above with respect to
(51) The plurality of medium-band filters 710a and 710b are connected to a respective plurality of RMS calculators 730a and 730b so that voltage and current waveforms filtered by the plurality of medium-band filters 710a and 710b are provided to the RMS calculators 730a and 730b. The RMS calculators 730a and 730b calculate RMS voltage and current values and provide them to corresponding multipliers 740a-740c and 745a-745c. The RMS voltage and current values may be calculated in quadrature according to the following equations:
(52)
where I.sub.RMS.sub._.sub.n is the RMS current value at each of a plurality of frequencies, V.sub.RMS.sub._.sub.n is the RMS voltage value at each of a plurality of frequencies, I.sub.k are the current values output from the medium-band filters 710b at each of a plurality of frequencies, V.sub.k are voltage values output from the medium-band filters 710a at each of a plurality of frequencies, and n is the number of voltage or current samples for RMS calculation.
(53) The sensed current and voltage waveforms are also provided to a plurality of narrowband filters 720a and 720b. The plurality of narrowband filters 720a filter the sensed voltage waveform and the plurality of narrowband filters 720b filter the sensed current waveform to obtain phase and magnitude information for the sensed current and voltage waveforms at selected frequencies of the narrowband filters 720a and 720b. Narrowband filters 720a and 720b are tuned to a center frequency, a fundamental frequency, or a harmonic frequency that is among the plurality of frequencies filtered by the corresponding medium-band filters 710a and 710b. The narrowband filters 720a and 720b may be windowed Goertzel filters having a window size that is an integer multiple of the period of the current and voltage waveforms.
(54) The number of medium-band filters 710a and 710b and narrowband filters 720a and 720b is predetermined based on the knowledge of the harmonics, sidebands, and expected ringing frequencies associated with the signal generated by the electrosurgical generator. For example, as illustrated in
(55) Each multiplier of the plurality of multipliers 740a-740c multiplies an RMS voltage and a corresponding phase to convert a voltage in rectangular form, i.e., the real and imaginary parts, into polar form, i.e., magnitude and phase, for each group of a harmonic frequency and corresponding sidebands. The phase between the voltage and current may be determined from the narrowband filter output, such that the phase shift between the voltage and current in reference to the voltage is the difference between the phase of the voltage waveform and the phase of the current waveform in radians. Similarly, each multiplier among the plurality of multipliers 745a-745c multiplies an RMS current and a corresponding phase to calculate a current value in rectangular form for each group of a harmonic frequency and corresponding sidebands. These operations are represented by the following equations:
V.sub.RMS=V.sub.RMS.sub._.sub.ne.sup.jv.sup._.sup.a=V.sub.RMS.sub._.sub.n.Math.cos .sub.v.sub._.sub.n+jV.sub.RMS.sub._.sub.n.Math.sin .sub.v.sub._.sub.n, and(3)
I.sub.RMS=I.sub.RMS.sub._.sub.ne.sup.jl.sup._.sup.n=I.sub.RMS.sub._.sub.n.Math.cos .sub.l.sub._.sub.n+jI.sub.RMS.sub._.sub.n.Math.sin .sub.I.sub._.sub.n,(4)
where V.sub.RMS is the RMS voltage in rectangular form, V.sub.RMS.sub._.sub.n is the magnitude of the RMS voltage V.sub.RMS, .sub.V.sub._.sub.n is the phase of the voltage at a single frequency (e.g., the fundamental or harmonic frequency), I.sub.RMS is the RMS current, I.sub.RMS.sub._.sub.n is the magnitude of the RMS current I.sub.RMS, .sub.I.sub._.sub.n is the phase of the current at a single frequency (e.g., the fundamental or harmonic frequency). In other words, the output from the multipliers 740a-740c and 745a-745c are estimated RMS voltages and currents generated by the electrosurgical generator to be delivered to the tissue via a cable for each group of frequencies in rectangular or complex form.
(56) The complex RMS voltage from the multiplier 740a and the complex RMS current from the multiplier 745a are provided to cable compensator 750a that compensates for the parasitics of the cable. In the same way, the complex RMS voltage from the multiplier 740b and the complex current from the multiplier 745b are provided to the cable compensator 750b, and the complex RMS voltage from the multiplier 740c and the complex RMS current from the multiplier 745c are provided to the cable compensator 750c. The cable compensators 750a-750c perform cable compensation using a basic model of the cable and a two-port network system that is shown in
(57)
(58)
(59) The relationship between the two inputs and the two outputs may be described by a system of the following two linear equations:
(60)
The system of two linear equations can be expressed by the following matrix:
(61)
where A.sub.11 is 1, A.sub.12 is Z.sub.src, A.sub.21 is
(62)
and A.sub.22 is
(63)
The complex RMS voltage and current generated by an electrosurgical generator may be calculated by using equation (7) when the parameters of the cable are known.
(64) The cable compensators 750a-750c compensate for the parasitics of the cable to obtain the complex RMS voltage and current at the fundamental or harmonic frequency at the tissue. The two outputs of the cable compensator 750a are provided to the multiplier 755a, which multiplies the compensated complex RMS voltage and current at the tissue to obtain the power dissipated in the tissue. This operation may be expressed by the following equations:
(65)
where P.sub.Comp is the power delivered to the tissue at a harmonic frequency, I.sub.Comp* is a complex conjugate of I.sub.Comp, which is the cable-compensated complex RMS current, V.sub.Comp is the cable-compensated complex RMS voltage, .sub.V is the phase of V.sub.Comp, and .sub.I is the phase of I.sub.Comp. Since the tissue is mostly resistive, the real part of P.sub.Comp is the power dissipated in the tissue. Multipliers 755b and 755c also calculate the power delivered to the tissue at two harmonic frequencies. For example, multiplier 755a may calculate power at the fundamental frequency, multiplier 755b may calculate power at the third harmonic frequency, and multiplier 755c may calculate power at the fifth harmonic frequency.
(66) The multipliers 755a-755c provide their outputs to the adder 760, which adds the outputs together. The result of the adder 760 is an estimate of the total power or average power dissipated in the tissue for all fundamental and harmonic frequencies. More specifically, the real part of the output from the adder 760 is the power dissipated in the tissue.
(67) For the signal processing circuit shown in
(68) The signal processing circuit of
(69)
where Z.sub.Tissue is the tissue impedance, which is mostly resistive and the real part of Z.sub.Tissue is an estimate of the tissue resistance. The signal processing circuit of
(70) In embodiments, as shown in equation (10), the signal processing circuit of
P.sub.Tissue=V.sub.RMS.sub._.sub.CompI.sub.RMS.sub._.sub.Comp.Math.cos(.sub.V.sub.I),(12)
where V.sub.RMS.sub._.sub.Comp is the magnitude of the cable-compensated complex RMS voltage V.sub.Comp and I.sub.RMS.sub._.sub.Comp is the magnitude of the cable-compensated complex RMS current I.sub.Comp. By doing this, three complex multiplications are reduced to one real number subtraction and two real number multiplications.
(71) Further, the tissue impedance is also calculated by the following:
(72)
Equation (13) only includes real number calculations and does not include the additional step of taking a real part of the impedance as compared to the equation (10). In this way, computational efficiency can be substantially increased.
(73)
(74) In step 810, sensors sense voltage and current waveforms generated by an electrosurgical generator. In step 820, a plurality of medium-band filters tuned to a respective plurality of groups of frequencies and a plurality of narrowband filters tuned to respective center frequencies in the respective plurality of groups of frequencies filter the sensed voltage and current waveforms. Each group of a plurality of frequencies includes a harmonic frequency and its sidebands. Each group is predetermined based on knowledge of the type of electrosurgical operations and related types of voltage and current waveforms. The generated voltage and current waveforms have a frequency suitable for treating tissue and a type of signal, e.g., a sinusoidal, sawtooth, rectangular, triangular, square, pulse, or any blended waveform. Each medium-band filter passes a harmonic frequency and its sidebands, and each corresponding narrowband filter passes the fundamental frequency, the harmonic frequency, or the center frequency.
(75) In step 830, the RMS calculators 730a and 730b of
(76) In step 860, a controller generates a control signal based on the power, the tissue impedance, the RMS voltage, or the RMS current. Generally, electrosurgical generators have a power profile or impedance profile for an electrosurgical operation. Total power dissipated in tissue being treated may be compared to the power profile and the controller generates a control signal to control the level of power generated by the electrosurgical generator. If tissue impedance is calculated, the tissue impedance is compared to the impedance profile and the controller generates a control signal to control the generator output based on the comparison.
(77)
(78) In step 920, the magnitude M.sub.i is compared to a predetermined threshold value X. If the magnitude M.sub.i is greater than or equal to the threshold value X, step 930 is performed. If the magnitude M.sub.i is not greater than or equal to the threshold value X, step 930 is skipped and step 940 is performed. Step 940 checks whether there are any further harmonic frequencies to be checked. If there is another frequency to be check, the method returns to step 920 until every harmonic frequency is checked. In step 920, magnitude M.sub.i may be a magnitude obtained by a plurality of narrowband filters and may be the RMS voltage, the RMS current, or the calculated power. As an alternative, the RMS voltage or current obtained from the plurality of bandpass filters can be compared to a threshold value to select a frequency. In other words, a frequency can be selected when both or either one of an RMS voltage value and an RMS current value of a harmonic frequency and its sidebands are greater than or equal to a threshold value. The threshold value may be a numerical value or a percentage value of the total magnitude.
(79) The frequencies may be selected by expressing the RMS voltage and current values as a percentage value of the total energy in the selected frequencies, in quadrature or in straight percentage, and comparing the resulting percentage values to a percentage threshold. A percentage value in quadrature is calculated for the RMS voltage and current values as follows:
(80)
where V.sub.QPercentage, is a percentage in quadrature of the i-th RMS voltage value, V.sub.i is the i-th RMS voltage value
(81)
is sum of the squares of all RMS voltage values, I.sub.Qpercentage, is a percentage in quadrature of i-th RMS current value, I.sub.i is the i-th RMS current value
(82)
is the sum of the squares of all RMS current values, and n is the number of selected frequencies. A percentage value in straight percentage is calculated for RMS voltage and current values as follows:
(83)
where V.sub.Percentage, is a percentage in straight percentage of the i-th RMS voltage value,
(84)
is sum of all RMS voltage values, I.sub.Percentage, is a percentage in straight percentage of the i-th RMS current value,
(85)
is the sum of all RMS current values. The difference between the percentage values in straight percentage and the percentage values in quadrature is that the quadrature percentage tends to enhance differences and thus may be suitable for separating frequencies.
(86) In step 930, when a magnitude M.sub.i of a frequency f.sub.i is greater than or equal to a threshold value X, the frequency f.sub.i is selected. In step 940, when there are no other frequency components, step 950 is performed. In step 950, a weight for the magnitude of each selected frequency is calculated. A weight can be a percentage value in quadrature or in straight percentage. A weighted RMS voltage is calculated by multiplying the weight by the corresponding total wideband RMS voltage and a weighted RMS current is calculated by multiplying a weight by the corresponding total wideband RMS current. Frequencies that are not selected have zero weight, meaning that the frequencies have no RMS voltage, RMS current, and power. In this way, weighted multi-frequency cable compensation is performed on the frequencies that have sufficient energy. Results of the weighted multi-frequency cable compensation are estimates of the total RMS voltage, RMS current, and power delivered to the tissue being treated.
(87) In step 960, the tissue impedance is calculated based on a single frequency. The single frequency may be selected based on the magnitude and frequency of the RF waveform. For example, the single frequency may be selected so as to achieve a high magnitude of the RF waveform at a low frequency. As another example, the single frequency may be selected so as to achieve a high magnitude of the RF waveform at a frequency other than a low frequency, such as a high frequency. If a low frequency is selected, the tissue impedance calculation is performed by using equation (11) or (13) with the calculated phase information. A low frequency may be selected because low frequencies may be more accurate. There is less noise at low frequencies than at high frequencies. On the other hand, a high frequency may be selected because high frequencies have more signal with which to work and signal processing or quantization issues are less problematic. Thus, a sufficiently low frequency may be selected so that the magnitude of the RF waveform is sufficiently high. The calculated tissue impedance is used for generating a control signal to control a level of output power from an electrosurgical generator.
(88)
(89) In step 1010, the plurality of sensors sense the voltage and current waveforms generated by the electrosurgical generator. In step 1020, the sensed voltage and current waveforms are filtered by a wideband filter and a plurality of narrowband filters. The wideband filters pass all predetermined groups of harmonics and corresponding sidebands and/or ringing frequencies of interest. In particular, the voltage and waveforms filtered by the wideband filter is then sampled by ADCs and all the remaining steps of this method are performed digitally.
(90) In step 1030, voltage and current waveforms filtered by the wideband filter are multiplied by each other sample by sample to calculate the wideband power over the entire frequency spectrum of interest. Further, the RMS voltage and RMS current are also determined over the entire frequency spectrum of interest. The wideband power, the RMS voltage, and the RMS current are then passed through a low pass filter to filter out noise. The average RMS voltage and current are referred to as the RMS voltage V.sub.RMS and the RMS current I.sub.RMS.
(91) In step 1040, the plurality of narrowband filters are applied to the voltage and current waveforms filtered by the wideband filter to obtain phase and magnitude information at the group of frequencies, i.e., the fundamental, harmonic, or ringing frequencies. The magnitude information is an RMS voltage V.sub.mag.sub._.sub.i and an RMS current I.sub.mag.sub._.sub.i at each frequency f.sub.i among the frequencies of interest and the phase information is a voltage phase .sub.V.sub._.sub.i and a current phase .sub.I.sub._.sub.i at each frequency f.sub.i among the frequencies of interest.
(92) In step 1050, cable compensation is performed by using the two-port network system described above. As described above with respect
(93) In step 1060, power consumed by the tissue being treated is calculated. This is performed by subtracting the power loss from the average power. The power loss is calculated as follows:
P.sub.Loss=I.sub.RMS.sup.2.Math.Re(Z.sub.Src),(18)
where P.sub.Loss is the power loss in the generator, I.sub.RMS is the RMS current passing through the impedance of the generator, and Re(Z.sub.Src) is the real part of the source impedance or simply the resistance value of source resistor R.sub.Src. The power consumed in the tissue is then calculated as follows:
P.sub.Tissue=P.sub.AvgP.sub.Loss,(19)
where P.sub.Tissue is the power consumed in the tissue and P.sub.ave is the average power.
(94) In step 1070, the impedance of the tissue may be calculated at a single frequency according to the cable compensation process described above. The single frequency is selected as a frequency having the highest magnitude. The single frequency may be the fundamental frequency, a harmonic frequency, or a ringing frequency. The tissue impedance is calculated by using equation (13). When the tissue impedance is calculated, the RMS voltage across the tissue and the RMS current passing through the tissue are calculated according to the following equations:
(95)
where V.sub.RMS.sub._.sub.Tissue is the RMS voltage across the tissue, |Z.sub.Tissue| is the magnitude of the tissue impedance, and I.sub.RMS.sub._.sub.Tissue is the RMS current passing through the tissue.
(96) In embodiments, when the tissue load is near zero or infinity, the medium-band power may go to zero, which means that the V.sub.RMS.sub._.sub.tissue or I.sub.RMS.sub._.sub.tissue measurement is no longer correct. This may be addressed by a switch such that, when the narrowband impedance is less than a low threshold or greater than a high threshold, the V.sub.RMS.sub._.sub.tissue and I.sub.RMS.sub._.sub.tissue are replaced by the uncompensated RMS voltage and current, V.sub.RMS and I.sub.RMS, which are measured at the sensor.
(97) Although the illustrative embodiments of the present disclosure have been described herein with reference to the accompanying drawings, it is to be understood that the disclosure is not limited to those precise embodiments, and that various other changes and modification may be effected therein by one skilled in the art without departing from the scope or spirit of the disclosure.