Electrosurgical generator power control method, apparatus, device, and storage medium
By acquiring voltage and current data of the electrosurgical generator in real time, calculating impedance and power, and adjusting power using phase-shifted full-bridge and PID control algorithms, the problem of poor power control in existing technologies is solved, thus improving the vascular coagulation effect.
Patent Information
- Application Number
- CN202411945707.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-12-27
AI Technical Summary
Existing electrosurgical generator power control methods fail to output power according to the protein denaturation process, resulting in poor vascular coagulation.
By acquiring sampled voltage and current data in real time, calculating real-time impedance and power, and using the phase-shifted full-bridge method and PID control algorithm, the real-time power is adjusted to the reference power to ensure that the power output matches the protein denaturation process.
It enables dynamic adjustment of power output based on the protein denaturation process, reducing tissue damage and improving vascular coagulation.
Smart Images

Figure CN119745498B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electrosurgical generator device, and particularly relates to an electrosurgical generator power control method and device, equipment and storage medium. BACKGROUND
[0002] The electrosurgical generator, also known as high-frequency electrotome, is a device for surgical operation by generating high-frequency current. The core function is to heat the tissue by using high-frequency current, so as to realize the separation and coagulation of the tissue and achieve the purpose of cutting and hemostasis. When the electrosurgical generator (high-frequency electrotome) applies high-frequency current to the tissue during work, the water in the tissue evaporates, the protein is denatured by heating, and the impedance also changes at any time. Therefore, power control is needed to adjust the power output in time to avoid tissue carbonization and increase thermal injury.
[0003] At present, there are some methods for power control of the electrosurgical generator. However, the existing power control methods do not output power according to the process of protein denaturation, which may lead to poor blood vessel coagulation effect. SUMMARY
[0004] In order to help solve the problem that the existing power control method does not output power according to the process of protein denaturation, which may lead to poor blood vessel coagulation effect, the present application provides an electrosurgical generator power control method, device, equipment and storage medium.
[0005] In a first aspect, the present application provides an electrosurgical generator power control method, which adopts the following technical scheme: the method is applied to an electrosurgical generator power control system, and the method comprises the following steps:
[0006] obtaining real-time sampling voltage data and real-time sampling current data, calculating a real-time impedance value and a real-time power according to the real-time sampling voltage data and the real-time sampling current data;
[0007] calculating a reference power according to the real-time impedance value and a preset impedance-power correspondence;
[0008] adjusting the output value of the real-time power according to the reference power by using a phase-shifted full-bridge method, so that the output value of the real-time power is equal to the value of the reference power.
[0009] In a specific implementation scheme, the step of calculating the real-time impedance value and the real-time power according to the real-time sampling voltage data and the real-time sampling current data comprises:
[0010] calculating and obtaining a voltage effective value, a current effective value and a phase difference according to the real-time sampling voltage data and the real-time sampling current data;
[0011] The real-time impedance value and real-time power are calculated and obtained according to the voltage effective value, the current effective value and the phase difference.
[0012] In one specific implementation, the calculation of the voltage effective value, the current effective value and the phase difference comprises:
[0013]
[0014] θ = V θ -I θ
[0015] wherein V n represents the real-time sampling voltage data, I n represents the real-time sampling current data, N represents the total number of sampling data points, V rms represents the voltage effective value, I rms represents the current effective value, and θ represents the phase difference. θ represents the voltage phase, and I θ represents the current phase.
[0016] In one specific implementation, the calculation of the real-time impedance value and real-time power comprises:
[0017]
[0018] P = V rms *I rms *cos(θ)
[0019] wherein R represents the real-time impedance value, P represents the real-time power, V rms represents the voltage effective value, I rms represents the current effective value, and θ represents the phase difference.
[0020] In one specific implementation, the calculation of the preset impedance and power corresponding relationship comprises:
[0021] lgP REF = -K1+K2R-K3R 2 +K4R 3 ,
[0022] wherein K1, K2, K3 and K4 represent coefficients, K1, K3 and K4 are positive numbers less than 1, K2 is a positive number less than 5; R represents the real-time impedance; and P REF represents the reference power.
[0023] In one specific embodiment, the electrosurgical generator power control system includes an FPGA module; the adjusting the output value of the real-time power according to the reference power to make the output value of the real-time power equal to the value of the reference power using the phase-shifted full-bridge method includes:
[0024] inputting the reference power and the real-time power into a preset PID control algorithm, calculating and outputting a PID control amount;
[0025] inputting the PID control amount into the FPGA module to control the FPGA module to generate a PWM signal with a phase-shifted difference;
[0026] adjusting the output value of the real-time power according to the PWM signal with a phase-shifted difference using the phase-shifted full-bridge method to make the output value of the real-time power equal to the value of the reference power.
[0027] In one specific embodiment, the inputting the reference power and the real-time power into a preset PID control algorithm, calculating and outputting a PID control amount includes:
[0028] P e = P REF - P
[0029] P D = P e - P e(n-1)
[0030] Out = PID K * P e + PID I * ∑P e + PID D * P D
[0031] wherein P REF represents the reference power, P represents the real-time power, P e represents a power error, P D represents a power difference, PID K represents a proportional coefficient of the preset PID control algorithm, PID I represents an integral coefficient of the preset PID control algorithm, and PID D represents a differential coefficient of the preset PID control algorithm.
[0032] In a second aspect, the present application provides an electrosurgical generator power control device, which adopts the following technical solution: the device is applied to an electrosurgical generator power control system, and the device includes:
[0033] a real-time data calculation module configured to obtain real-time sampling voltage data and real-time sampling current data, and calculate a real-time impedance value and a real-time power based on the real-time sampling voltage data and the real-time sampling current data;
[0034] a reference power calculation module configured to calculate a reference power based on the real-time impedance value and a preset impedance-power correspondence relationship;
[0035] a real-time power adjustment module configured to adjust an output value of the real-time power based on the reference power by using a phase-shifted full-bridge method, so that the output value of the real-time power is equal to a value of the reference power.
[0036] In a third aspect, the present application provides a computer device, which adopts the technical scheme as follows: comprising a memory and a processor, the memory stores a computer program capable of being loaded and executed by the processor and performing any one of the above-mentioned electrosurgical generator power control methods.
[0037] In a fourth aspect, the present application provides a computer readable storage medium, which adopts the technical scheme as follows: storing a computer program capable of being loaded and executed by the processor and performing any one of the above-mentioned electrosurgical generator power control methods.
[0038] In summary, the present application has the following beneficial technical effects:
[0039] By obtaining the sampling voltage and the sampling current in real time, the real-time impedance value and the power can be calculated. Considering that the power needs to be adjusted according to the protein denaturation process to avoid tissue injury and improve the blood vessel coagulation effect during the use of the instrument, the real-time power is adjusted to the reference power output by using the phase-shifted full-bridge technology. The power adjusted according to the electrical energy output of the load impedance ensures that the output power dynamically changes according to the protein denaturation process within a safe range, thereby reducing tissue injury. BRIEF DESCRIPTION OF DRAWINGS
[0040] Figure 1 is a flowchart of the electrosurgical generator power control method in the embodiment of the present application;
[0041] Figure 2 is a schematic diagram of the impedance value and the reference power correspondence relationship in the embodiment of the present application;
[0042] Figure 3 is a schematic diagram of the electrosurgical generator power control device in the embodiment of the present application;
[0043] Figure 4 is a schematic diagram of the computer device in the embodiment of the present application.
[0044] Reference signs: 301, real-time data calculation module; 302, reference power calculation module; 303, real-time power adjustment module. DETAILED DESCRIPTION
[0045] The following Figures 1-4 The present application is further described in detail.
[0046] The embodiment of the present application discloses a method for controlling the power of an electrosurgical generator. The method can control the output power of the electrosurgical generator during use, and adjust the output power of the electrosurgical generator in real time as the protein denatures, thereby avoiding high-temperature carbonization of the tissue and increasing thermal injury.
[0047] An electrosurgical generator, also known as a high-frequency electrotome, is a device for performing surgical operations by generating high-frequency current. The core function is to heat the tissue using high-frequency current, thereby achieving tissue separation and coagulation, and achieving the purpose of cutting and hemostasis. When the electrosurgical generator (high-frequency electrotome) applies high-frequency current to the tissue during operation, as the water in the tissue evaporates, the protein denatures, and the impedance changes at any time, therefore, power control is needed to adjust the power output in real time, to avoid high-temperature carbonization of the tissue and increase thermal injury.
[0048] There are currently some methods for controlling the power of an electrosurgical generator. However, the existing power control methods do not adjust the power output according to the process of protein denaturation, which may result in poor coagulation of blood vessels. In order to better control the power output of the device and improve the coagulation effect of blood vessels, the present application provides a method for controlling the power of an electrosurgical generator.
[0049] Reference Figure 1 The method comprises the following steps:
[0050] S10, acquiring real-time sampling voltage data and real-time sampling current data, and calculating real-time impedance values and real-time power based on the real-time sampling voltage data and the real-time sampling current data.
[0051] Specifically, the sampling voltage data and the sampling current data collected in real time are acquired. The data acquisition method can acquire feedback data in real time through an ADC sampling circuit. The voltage and current data collected by the ADC sampling circuit are discrete data points. The real-time impedance values and the real-time power can be calculated based on the collected sampling voltage data and the sampling current data, so as to control the adjustment of the real-time power.
[0052] The electrosurgical generator is a device for performing surgery by generating high-frequency current. When the electrosurgical generator works to apply high-frequency current to the tissue, as the water in the tissue evaporates, the protein is denatured by heating, and the impedance changes at any time. Therefore, the power needs to be adjusted in real time, and it cannot work with fixed output power, so as to improve the effect of final blood vessel coagulation and reduce unnecessary damage.
[0053] S20, calculating the reference power according to the real-time impedance value and the preset impedance-power correspondence.
[0054] Specifically, due to the use of the electrosurgical generator, the evaporation of water in the tissue causes the protein to be denatured by heating, and the impedance changes. Different impedance values correspond to a reference power. Controlling the real-time power to reach the reference power can avoid high-temperature carbonization and increase heat damage as much as possible. The correspondence between the impedance value and the reference power is set in advance, as shown in the following table: Figure 2 The table shows the impedance value on the horizontal axis, with units of Ohms, and the power on the vertical axis, with units of Watts. According to the impedance-power correspondence diagram, the calculation method of the impedance-power correspondence can be represented as:
[0055] lgP REF =-K1+K2R-K3R 2 +K4R 3 ,
[0056] wherein K1, K2, K3 and K4 represent coefficients, K1, K3 and K4 are positive numbers less than 1, and K2 is a positive number less than 5; R represents the real-time impedance; P REF represents the reference power.
[0057] In the embodiments of the present application, K1 is taken as 0.094, K2 is taken as 2.527, K3 is taken as 0.8325, and K4 is taken as 0.04817. The calculation method of the impedance-power correspondence can be represented as:
[0058] lgP REF =-0.094++2.527R-0.8325R 2 +0.04817R 3 .
[0059] S30, adjusting the output value of the real-time power according to the reference power by using the phase-shifted full-bridge method, so that the output value of the real-time power is equal to the value of the reference power.
[0060] Specifically, the phase-shifted full-bridge is based on the pulse width modulation (PWM) technology and the operation of the full-bridge circuit. When the input direct current voltage passes through a proper conversion circuit, a high-frequency square wave signal is formed as a control signal of the phase-shifted full-bridge, which is called a carrier signal. In the phase-shifted full-bridge, when the carrier signal is at a high level, the switching elements on two diagonal lines in the phase-shifted full-bridge are turned on, and the switching elements on the other two diagonal lines are turned off; when the carrier signal is at a low level, the situation is reversed. By controlling the on and off time of the switching elements, the amplitude and phase of the output voltage can be adjusted, so that the purpose of adjusting the output power can be achieved. Through the phase-shifted full-bridge technology, the measured real-time power is adjusted to the reference power, so that the error between the real-time power and the reference power is 0, and finally the power adjustment is realized, and the adjusted power is output to the tissue.
[0061] In the scheme of the present application, the real-time impedance value and power can be calculated by acquiring the sampling voltage and sampling current in real time. Considering that the power needs to be adjusted according to the protein denaturation process during the use of the instrument to avoid tissue injury and improve the blood vessel coagulation effect, the real-time power is adjusted to the reference power output through the phase-shifted full-bridge technology. The whole power adjustment process is adjusted according to the power output of the load impedance, and the output power is dynamically changed according to the protein denaturation process within a safe range, so as to reduce tissue damage.
[0062] In one embodiment, the way of calculating the real-time impedance value and the real-time power according to the real-time sampling voltage data and the real-time sampling current data can be specifically performed as follows:
[0063] First, the voltage effective value, the current effective value and the phase difference are calculated and obtained according to the real-time sampling voltage data and the real-time sampling current data. The calculation formula of the voltage effective value, the current effective value and the phase difference can be represented as follows:
[0064]
[0065] θ=V θ -I θ
[0066] wherein V n represents the real-time sampling voltage data, I n represents the real-time sampling current data, N represents the total number of sampling data points, V rms represents the voltage effective value, I rms represents the current effective value, θ represents the phase difference, V θ represents the voltage phase, and I θ represents the current phase.
[0067] After that, the real-time impedance value and the real-time power are calculated according to the voltage effective value, the current effective value and the phase difference, and the calculation method of the calculated real-time impedance value and the real-time power can be represented as:
[0068]
[0069] P = V rms * rms *cos(θ),
[0070] Wherein, R represents the real-time impedance value, P represents the real-time power, V rms represents the voltage effective value, I rms represents the current effective value, and θ represents the phase difference.
[0071] In the scheme of the present application, the impedance value dynamically changes during the protein denaturation process, the real-time voltage and current data are collected to calculate the real-time impedance value and the real-time power, the corresponding reference power is obtained through the real-time impedance value, and the calculated real-time power is adjusted to the reference power output, so as to achieve the purpose of power control, reduce tissue damage and improve the use effect of the instrument.
[0072] In one embodiment, the electrosurgical generator power control system comprises an FPGA module; the output value of the real-time power is adjusted according to the reference power in a phase-shifted full-bridge method, and the mode that the output value of the real-time power is equal to the value of the reference power can be specifically implemented as:
[0073] First, the reference power and the real-time power are input into a preset PID control algorithm, and the PID control amount is calculated and output, and the calculation method of the PID control amount output by the PID control algorithm can be represented as:
[0074] P e =P REF -P
[0075] P D =P e -P e(n-1)
[0076] Out=P K *P e +P I *∑P e +P D *P D
[0077] Wherein, P REF represents the reference power, P represents the real-time power, P e represents the power error, P D represents the power difference, and PID Krepresents a proportional coefficient of a preset PID control algorithm, PID I represents an integral coefficient of a preset PID control algorithm, PID D represents a differential coefficient of a preset PID control algorithm.
[0078] Then, the calculated PID control quantity is input into the FPGA module, and the FPGA module is controlled to generate a PWM signal with a phase shift difference; since the adjustment power adopts a phase-shift full-bridge method, the phase-shift full-bridge method is based on a pulse width modulation (PWM) technology and a full-bridge circuit, and therefore, the FPGA module is used to generate a PWM signal with a phase shift difference according to the output PID control quantity, so as to use the phase-shift full-bridge method to adjust the real-time power in real time. Finally, the phase-shift full-bridge method is used to adjust the output value of the real-time power according to the PWM signal with the phase shift difference, so that the output value of the real-time power is equal to the value of the reference power.
[0079] The error between the real-time power and the reference power is calculated by the PID control algorithm, so that the adjustment can be performed in real time. The output Out of the PID algorithm is the output PID control quantity. When there is an error between the real-time power and the reference power, the calculated power error is not 0, and the final output Out value is also not 0, and then the real-time power needs to be adjusted. When the adjusted real-time power reaches the reference power, the final output value of the PID control algorithm is 0, and then no adjustment is needed, and the output adjusted power can be output.
[0080] In the scheme of the present application, the PID control algorithm and the phase-shift full-bridge method are combined to control the real-time output power. The phase-shift full-bridge is a high-efficiency and stable circuit topology structure. In combination with the PID control algorithm, the output power is controlled according to the real-time acquired voltage and current data, so that the output power can be dynamically adjusted according to the process of protein temperature denaturation, and the coagulation effect of blood vessels after use of the device is improved.
[0081] Figure 1 is a flowchart of the method for controlling the power of the electrosurgical generator in one embodiment. It should be understood that, although the steps in the flowchart of Figure 1 are shown in a sequential order, such that each subsequent step is performed only after the previous step has been completed, the steps do not have to be performed in this order. Unless the context clearly indicates otherwise, the steps can be performed in any order, and the steps can be performed in an overlapping manner. Furthermore, Figure 1 at least some of the steps in the flowchart of may include multiple sub-steps or multiple stages, and the sub-steps or stages do not have to be performed at the same time, but can be performed at different times. Furthermore, the order of the sub-steps or stages does not have to be sequential, but can be performed in an overlapping manner with other steps or sub-steps or stages of other steps.
[0082] Based on the above method, the application further discloses an electrosurgical generator power control device.
[0083] With reference to Figure 3 The device comprises the following modules:
[0084] The real-time data calculation module 301 is configured to acquire real-time sampling voltage data and real-time sampling current data, and calculate real-time impedance and real-time power based on the real-time sampling voltage data and the real-time sampling current data.
[0085] The reference power calculation module 302 is configured to calculate reference power based on the real-time impedance and a preset impedance-power correspondence.
[0086] The real-time power adjustment module 303 is configured to adjust the output value of the real-time power based on the reference power by using a phase-shifted full-bridge method, so that the output value of the real-time power is equal to the value of the reference power.
[0087] In one embodiment, the real-time data calculation module 301 is specifically configured to calculate and obtain a voltage effective value, a current effective value, and a phase difference based on the real-time sampling voltage data and the real-time sampling current data, and calculate and obtain the real-time impedance and the real-time power based on the voltage effective value, the current effective value, and the phase difference.
[0088] In one embodiment, the calculation method of the voltage effective value, the current effective value, and the phase difference in the real-time data calculation module 301 comprises:
[0089]
[0090] θ = V θ -I θ
[0091] wherein, V n represents the real-time sampling voltage data, I n represents the real-time sampling current data, N represents the total number of sampling data points, V rms represents the voltage effective value, I rms represents the current effective value, θ represents the phase difference, V θ represents the voltage phase, I θ represents the current phase.
[0092] In one embodiment, the calculation method of the real-time impedance and the real-time power in the real-time data calculation module 301 comprises:
[0093]
[0094] P = V rms *I rms *cos(θ),
[0095] wherein, R represents a real-time impedance value, P represents a real-time power, V rms represents a voltage effective value, I rms represents a current effective value, and θ represents a phase difference.
[0096] In one embodiment, the calculation method of the preset impedance and power corresponding relationship in the reference power calculation module 302 includes:
[0097] lgP REF = -K1 + K2R - K3R 2 + K4R 3 ,
[0098] wherein, K1, K2, K3 and K4 represent coefficients, K1, K3 and K4 are positive numbers less than 1, K2 is a positive number less than 5; R represents a real-time impedance; P REF represents a reference power.
[0099] In one embodiment, the real-time power adjustment module 303 is specifically configured to input the reference power and the real-time power into a preset PID control algorithm, calculate and output a PID control amount, input the PID control amount into an FPGA module, control the FPGA module to generate a PWM signal with a phase shift difference, and adjust an output value of the real-time power according to the PWM signal with the phase shift difference by using a phase shift full bridge method, so that the output value of the real-time power is equal to the value of the reference power.
[0100] In one embodiment, the input of the reference power and the real-time power into the preset PID control algorithm in the real-time power adjustment module 303 includes:
[0101] P e = P REF - P
[0102] P D = P e - P e(n-1)
[0103] Out = PID K * P e + PID I * ∑P e + PID D * P D
[0104] wherein, P REF represents a reference power, P represents a real-time power, P e represents a power error, P D represents a power difference, PID K represents a proportional coefficient of a preset PID control algorithm, and PID Irepresents an integral coefficient of a preset PID control algorithm, PID D represents a differential coefficient of a preset PID control algorithm.
[0105] The power control device for the electrosurgical generator provided in the embodiments of the present application can be applied to the power control method for the electrosurgical generator provided in the above embodiments, and the relevant details are referred to the above method embodiments, which have similar implementation principles and technical effects, and thus will not be described here again.
[0106] It should be noted that the power control device for the electrosurgical generator provided in the embodiments of the present application is only exemplified by the above division of the functional modules / functional units when performing power control of the electrosurgical generator, and in actual application, the above functions can be completed by different functional modules / functional units according to needs, that is, the internal structure of the power control device for the electrosurgical generator is divided into different functional modules / functional units to complete all or part of the above described functions. In addition, the implementation of the power control method for the electrosurgical generator provided in the above method embodiments and the implementation of the power control device for the electrosurgical generator provided in the present embodiment belong to the same concept, and the specific implementation process of the power control device for the electrosurgical generator provided in the present embodiment is described in the above method embodiments, which will not be described here again.
[0107] The embodiments of the present application further disclose a computer device.
[0108] Specifically, as shown in the figure, Figure 4 The computer device can be a desktop computer, a notebook computer, a palm computer, a cloud server, and the like. The computer device can include, but is not limited to, a processor and a memory. The processor and the memory can be connected through a bus or other means. The processor can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, graphics processing units (GPUs), embedded neural network processing units (NPUs) or other dedicated deep learning coprocessors, discrete gates or transistor logic devices, discrete hardware components, and the like chips, or combinations of the above chips.
[0109] The memory, as a non-transitory computer readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the methods in the above embodiments of the present application. The processor executes various functions and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, implements the methods in the above method embodiments. The memory can include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function; and the data storage area can store data created by the processor and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory remotely arranged with respect to the processor, and these remote memories can be connected to the processor through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0110] The embodiments of the present application also disclose a computer readable storage medium.
[0111] Specifically, the computer readable storage medium is used to store a computer program, and the computer program is executed by the processor to implement the methods in the above method embodiments. Those skilled in the art can understand that all or part of the processes in the above method embodiments of the present application can be completed by a computer program instructing related hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc. The storage medium can also include a combination of the above types of memories.
[0112] The specific embodiments are only an explanation of the present application, and are not a limitation of the present application. Those skilled in the art can make modifications to the embodiments without creative contributions as long as the modifications are within the scope of the claims of the present application.
Claims
1. A computer-readable storage medium, characterized in that, A computer program is stored that can be loaded by a processor and executed to provide a method for controlling the power of an electrosurgical generator, the method being applied to a power control system for an electrosurgical generator, the method comprising: Acquire real-time sampled voltage data and real-time sampled current data, and calculate real-time impedance value and real-time power based on the real-time sampled voltage data and real-time sampled current data; The reference power is calculated based on the real-time impedance value and the preset impedance-power correspondence. A phase-shifted full-bridge method is used to adjust the output value of the real-time power according to the reference power, so that the output value of the real-time power is equal to the value of the reference power. The electrosurgical generator power control system includes an FPGA module; the step of using a phase-shifted full-bridge method to adjust the output value of the real-time power according to the reference power, so that the output value of the real-time power is equal to the value of the reference power, includes: The reference power and the real-time power are input into a preset PID control algorithm to calculate and output the PID control quantity; The PID control input is input to the FPGA module to control the FPGA module to generate a PWM signal with phase shift difference; The phase-shifted full-bridge method is used to adjust the output value of the real-time power according to the PWM signal with phase shift difference, so that the output value of the real-time power is equal to the value of the reference power; The step of inputting the reference power and the real-time power into a preset PID control algorithm, and calculating and outputting the PID control quantity includes: , in, P represents the reference power, and P represents the real-time power. Indicates power error. This indicates a power differential. This represents the proportional coefficient of the preset PID control algorithm. This represents the integral coefficient of the preset PID control algorithm. This represents the derivative coefficient of the preset PID control algorithm.
2. The computer-readable storage medium according to claim 1, characterized in that: The calculation of real-time impedance and real-time power based on the real-time sampled voltage data and the real-time sampled current data includes: The effective values of voltage, current, and phase difference are calculated and obtained based on the real-time sampled voltage data and the real-time sampled current data. The real-time impedance value and real-time power are calculated and obtained based on the effective voltage value, the effective current value, and the phase difference.
3. The computer-readable storage medium according to claim 2, characterized in that: The calculation methods for the effective voltage value, effective current value, and phase difference include: , in, This refers to the real-time sampled voltage data. This refers to the real-time sampled current data, where N represents the total number of data points in the sampled data. This indicates the effective value of the voltage. This represents the effective value of the current. This indicates the phase difference. Indicates voltage phase, Indicates the phase of the current.
4. The computer-readable storage medium according to claim 2, characterized in that: The calculation methods for the real-time impedance value and real-time power include: , Where R represents the real-time impedance value, and P represents the real-time power. This indicates the effective value of the voltage. This represents the effective value of the current. This indicates the phase difference.
5. The computer-readable storage medium according to claim 1, characterized in that: The calculation method for the preset impedance-power correspondence includes: , Wherein, K1, K2, K3, and K4 represent coefficients, K1, K3, and K4 are positive numbers less than 1, and K2 is a positive number less than 5; R represents the real-time impedance; This represents the reference power.
6. A computer device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program capable of being loaded by the processor and executing the method stored in any of the computer-readable storage media as claimed in claims 1 to 5.
Citation Information
Patent Citations
Electrosurgical instrument host control method, electrosurgical generator and computer equipment
CN118845191A