CONTROL SYSTEM AND PROCESS FOR APPLICATION OF ENERGY TO AIRWAY WALLS AND OTHER MEDIUMS

Abstract: The present invention includes a system for delivering energy to an airway wall of a lung comprising an energy delivering apparatus and a PID controller having one or more variable gain factors which are rest after energy deliver has begun. The energy delivering apparatus may include a flexible elongated member and a distal expandable basket having at least one electrode for transferring energy to the airway wall and at least one temperature sensor for measuring temperature. The PID controller determines a new power set point base on an error between a preset temperature and the measured temperature. The algorithm can be Pi+1 = Pi + G( alpha ei+ beta ei-1+ gamma ei-2) where alpha , beta and gamma are preset values and alpha is from 1 to 2; beta is from -1 to -2; and gamma is from -0.5 to 0-5. In another variation, the controller is configured to shut down if various measured parameters are exceeded such as, for example, energy, impedance, temperature, temperature differences, activation time and combinations thereof. Methods for treating a target medium using a PID algorithm are also provided.

Description: CONTROL SYSTEM AND PROCESS FOR APPLICATION OF ENERGY TO AIRWAY WALLS AND OTHER MEDIUMS CROSS REFERENCE TO RELATED APPLICATIONS This application claims priority to International Application No. PCT/US 00/28745 filed October 17, 2000 which is hereby incorporated by reference in its entirety. FIELD OF THE INVENTION This invention is related to systems for applying energy to lung airways and in particular, to a system and method for controlling the energy delivered to the airways using a PID algorithm to minimize error between a preset temperature and a measured temperature. BACKGROUND Various obstructive airway diseases have some reversible component. Examples include COPD and asthma. There are an estimated 10 million Americans afflicted with Asthma. Asthma is a disease in which bronchoconstriction, excessive mucus production, and inflammation and swelling of airways occur, causing widespread but variable airflow obstruction thereby making it difficult for the asthma sufferer to breathe. Asthma is a chronic disorder, primarily characterized by persistent airway inflammation. Asthma is further characterized by acute episodes of additional airway narrowing via contraction of hyper-responsive airway smooth muscle. Reversible aspects of obstructive pulmonary disease generally include excessive mucus production in the bronchial tree. Usually, there is a general increase in bulk (hypertrophy) of the large bronchi and chronic inflammatory changes in the small airways. Excessive amounts of mucus are found in the airways and semisolid plugs of mucus may occlude some small bronchi. Also, the small airways are narrowed and show inflammatory changes. Reversible aspects include partial airway occlusion by excess secretions and airway narrowing secondary to smooth muscle contraction, bronchial wall edema and inflammation of the airways. In asthma, chronic inflammatory processes in the airway play a central role in increasing the resistance to airflow within the lungs. Many cells and cellular elements are involved in the inflammatory process, particularly mast cells, eosinophils T lymphocytes, neutrophils, epithelial cells, and even airway smooth muscle itself. The reactions of these cells result in an associated increase in the existing sensitivity and hyper-responsiveness of the airway smooth muscle cells that line the airways to the particular stimuli involved. The chronic nature of asthma can also lead to remodeling of the airway wall (i.e., structural changes such as thickening or edema) which can further affect the function of the airway wall and influence airway hyper-responsiveness. Other physiologic changes associated with asthma include excess mucus production, and if the asthma is severe, mucus plugging, as well as ongoing epithelial denudation and repair. Epithelial denudation exposes the underlying tissue to substances that would not normally come in contact with them, further reinforcing the cycle of cellular damage and inflammatory response. In susceptible individuals, asthma symptoms include recurrent episodes of shortness of breath (dyspnea), wheezing, chest tightness, and cough. Currently, asthma is managed by a combination of stimulus avoidance and pharmacology. Stimulus avoidance is accomplished via systematic identification and minimization of contact with each type of stimuli. It may, however, be impractical and not always helpful to avoid all potential stimuli. Pharmacological management of asthma includes: (1) long term control through use of - ti-inflammatories and long-acting bronchodilators and (2) short term management of acute exacerbations through use of short-acting bronchodilators. Both of these approaches require repeated and regular use of the prescribed drugs. High doses of corticosteroid anti- inflammatory drugs can have serious side effects that require careful management. In addition, some patients are resistant to steroid treatment. The difficulty involved in patient compliance with pharmacologic management and the difficulty of avoiding stimulus that triggers asthma are common barriers to successful asthma management. Current management techniques are thus neither completely successful nor free from side effects. Accordingly, it would be desirable to provide a system and method which improves airflow without the need for patient compliance. Various energy delivering systems have been developed to intraluminally treat anatomical structures and lumen other than the lung airways. Unfortunately, the systems which are useful in treating such structures are generally not helpful in developing techniques to treat the lung airways because the lung airways are markedly different than other tissue structures. For example, lung airways are particularly heterogeneous. Variations in lung tissue structure occur for a number of reasons such as: the branching pattern of the tracheobronchial tree leads to local variation in the size and presence of airways; the vasculature of the lungs is a similar distributed network causing variation in size and presence of blood vessels; within the airways are variable amounts of differing structures such as cartilage, airway smooth muscle, and mucus glands and ducts; and energy delivery may also be influenced differently at the periphery, near the outer surface of a lung lobe, than in the central portion. Lung airways also include a number of protruding folds. Other tissue structures such as blood vessels typically do not have the folds found in airways. Airways contain mucous and air whereas other structures contain different substances. The tissue chemistry between various lumens and airways is also different. In view of these differences, it is not surprising that conventional energy delivering systems cannot be universally applied to treat all tissue structures. Moreover, power shut-offs and other safety mechanisms must be precisely tailored to specific tissue so that the tissue is not harmed by application of excess energy. Accordingly, an intraluminal RF energy delivering system that is capable of safely delivering RF energy to lung airways is desired. In particular, a system which is capable of controlling the temperature when treating an airway of an asthma or COPD patient is desired. It is also desirable to provide a system having built-in safeguards that shut the power off thereby preventing damage to the subject tissue or collateral tissue. SUMMARY OF THE INVENTION The present invention includes a system for delivering energy to an airway wall of a lung comprising an energy delivering apparatus and a PID controller. The energy delivering apparatus may include a flexible elongated member and a distal expandable basket having at least one electrode for transferring energy to the airway wall and at least one temperature sensor for measuring temperature (TM) of the airway wall when energy is delivered to the airway wall. The system further comprises a PID controller for determining a new power set point (Pi + based on an error (e) between a preset temperature (Ts) and the measured temperature wherein the PID controller applies an algorithm having a variable gain factor (G). In one variation of the present invention, the algorithm is Pi-n = P; + G(αei+ βeu + γej. 2 ) where α, β and γ are preset values. For instance, in one variation of the present invention, α is from 1 to 2; β is from -1 to -2; and γ is from -0.5 to 0.5. In another variation of the present invention, α, β, γ are 1.6, -1.6, and 0.0 respectively. In another variation of the present invention, the gain factor used in the PID algorithm is reset 0.1 to 2 seconds after energy delivery has begun. The gain factor can also be reset 0.5 seconds after energy delivery has begun. The invention includes resetting G to 0.9 to 1.0 if a temperature rise in °C per Joule is less than or equal to 2.5; 0.4 to 0.5 if a temperature rise in °C per Joule is between 2.5 to 5.0; to 0.2 to 0.3 if a temperature rise in °C per Joule is equal to 5.0 to 7.5; and to 0.1 to 0.2 if a temperature rise in °C per Joule is greater than 7.5. Initially, the gain factor is equal to 0.4 to 0.5 and preferably 0.45 to 0.47. In another variation of the present invention, the PID algorithm is Pj + i = Pj + (Gie; + G 2 ei.] + G 3 ei- ) and Gi ,G 2 and G 3 are variable gain factors. The invention includes configuring the controller such that G Ϊ G 2 and G 3 are reset to 0.9 to 2.00, -0.9 to -2.00 and 0.5 to -0.5 respectively if a temperature rise in °C per Joule is less than or equal to 2.5; to 0.40 to 1.00, -0.40 to -1.00 and 0.25 to -0.25 respectively if a temperature rise in °C per Joule is between 2.5 to 5.0; to 0.20 to 0.60, -0.20 to -0.60 and 0.15 to -0.15 respectively if a temperature rise in °C per Joule is equal to 5.0 to 7.5; and to 0.10 to 0.40, -0.10 to -0.40 and 0.10 to -0.10 respectively if a temperature rise in °C per Joule is greater than 7.5. Each of the variable gain factors may be equal to a product of at least one preset value and at least one variable value. In another variation of the present invention, the controller is configured such that the energy delivery is terminated if the energy delivered exceeds a maximum energy such as 120 joules. In another variation of the present invention, the controller is configured to deliver energy for an activation time period such as up to 15 seconds, 8 to 12 seconds, or 10 seconds. In another variation of the present invention, the controller is configured such that T s is set at a value between 60 to 80 ° C, or 65 ° C. In another variation of the present invention, the controller is configured to measure impedance and said energy delivery is terminated when said impedance drops below a preset impedance value such as 40 to 60 ohms. In another variation of the present invention, the controller is configured to terminate the energy delivery if T M exceeds Ts by a pre-selected value such as 10, 15 or 20 ° C. In another variation of the present invention, the controller is configured to terminate the energy delivery if the output power is greater or equal to a nominal output power and T drops by a critical temperature difference within a sampling period. The invention includes a nominal output power set at a value of at least 17 watts; the sampling period is set at a value of at least 0.5 seconds; and the critical temperature difference is 2 ° C. In another variation of the present invention, the controller is configured to terminate the energy delivery if said T M averaged over a time window exceeds Ts by a fixed temperature difference. The fixed temperature difference may be a value between 1 and 10 ° C or 5 ° C. The time window is between 1 and 5 seconds or 2 seconds. In another variation of the present invention, the controller is configured to terminate if the measured temperature drops by 10 or more ° C in a sample period such as 1.0 seconds or 0.2 seconds. Another variation of the present invention is a method for treating a lung by transferring energy from an active region of an energy delivery apparatus to an airway wall of the lung. The energy delivery apparatus includes a flexible elongate body and a distal section and the active region is located in the distal section. The energy delivery apparatus further has a temperature sensor located in the distal section for measuring a temperature (TM) of said airway wall and the method comprises the following steps: setting a preset temperature (Ts); determining a power set point (Pi) to deliver energy from the active region to the target medium; measuring the TM using the temperature sensor; and determining a new power set point (Pi + based on an error (e) between the preset temperature (Ts) and the measured temperature (TM) using a PID algorithm. In yet another variation of the present invention, a process for transferring energy to a target medium using an energy delivery apparatus is provided. The energy delivery apparatus includes a flexible elongate body and a distal section wherein the distal section includes an expandable basket with at least one active region for transferring energy to the target medium. The energy delivery apparatus further has a temperature sensor located in the distal section for measuring a temperature (T M ) of the target medium. The process comprises the following steps: setting a preset temperature (Ts); determining a power set point (Pj) to deliver energy from the active region to the target medium; measuring T M using the temperature sensor; and determining a new power set point (Pi + i) based on an error (e) between the preset temperature (Ts) and the measured temperature (TM) using an algorithm having a variable gain factor. The energy may be delivered to an airway wall of a lung in vivo, in vitro or to another target such as a sponge or towel which may be moistened with saline solution. Saline solution increases the conductivity of the target. In one variation of the present invention, the algorithm is Pi + i = Pi + G(αe; + βe H + γej- ) where α, β and γ are preset values: α is from 1 to 2; β is from -1 to -2; and γ is from - 0.5 to 0.5. In another variation of the present invention, α, β, γ are 1.6, -1.6, and 0.0 respectively. In another variation of the present invention, the gain factor is reset 0.1 to 2 seconds after energy delivery has begun. The gain factor can also be reset 0.5 seconds after energy delivery has begun. The invention includes resetting G to 0.9 to 1.0 if a temperature rise in °C per Joule is less than or equal to 2.5; 0.4 to 0.5 if a temperature rise in °C per Joule is between 2.5 to 5.0; to 0.2 to 0.3 if a temperature rise in °C per Joule is equal to 5.0 to 7.5; and to 0.1 to 0.2 if a temperature rise in °C per Joule is greater than 7.5. Initially, the gain factor is equal to 0.4 to 0.5 and preferably 0.45 to 0.47. In another variation of the present invention, the energy delivery is terminated if the energy delivered exceeds a maximum energy such as 120 joules. In another variation of the present invention, energy is delivered for an activation time period such as 0 to 15 seconds, 8 to 12 seconds, or 10 seconds. In another variation of the present invention, Ts is set at a value between 60 to 80, or 65 ° C. In another variation of the present invention, impedance is measured and energy delivery is terminated when the impedance drops below a preset impedance value such as 40 to 60 ohms. In another variation of the present invention, the energy is terminated if T exceeds Ts by a pre-selected value such as 10, 15 or 20 ° C. In another variation of the present invention, energy is terminated if the output power is greater or equal to a nominal output power and T M drops by a critical temperature difference within a sampling period. In variations of the present invention, the nominal output power is set at a value of at least 17 watts; the sampling period is set at a value of at least 0.5 seconds; and the critical temperature difference is 2 ° C. In another variation, the energy delivery apparatus is configured to deliver an amount of power up to a maximum power. The maximum power can be from 10 to 40 watts and preferably from 15 to 20 watts. In another variation of the present invention, energy delivery is terminated if T M averaged over a time window exceeds Ts by a fixed temperature difference. The fixed temperature difference may be a value between 1 and 10 ° C or 5 ° C. The time window is between 1 and 5 seconds or 2 seconds. In another variation of the present invention, the energy delivery is terminated if the measured temperature drops by 10 or more ° C in a sample period such as 1.0 seconds or 0.2 seconds. BRIEF DESCRIPTION OF THE DRAWINGS The invention will now be described in greater detail with reference to the various embodiments illustrated in the accompanying drawings: FIG. 1 is a block diagram of a feedback loop of the present invention. FIG. 2 A is a cross sectional view of a medium sized bronchus in a healthy patient. FIG. 2B is a cross sectional view of a bronchiole in a healthy patient. FIG. 3 is a cross sectional view of the bronchus of FIG. 2 A showing the remodeling and constriction occurring in an asthma patient. FIG. 4 is an illustration of the lungs being treated with a device and controller according to the present invention. FIG. 5 A is an illustration of an energy delivery device in accordance with the present invention. FIGS. 5B-5D show a partial view of a thermocouple attached to a basket leg in accordance with the present invention. DETAILED DESCRIPTION The present invention includes a controller and an energy deliver apparatus to deliver energy to the airway walls of the lungs. Amongst other features, the controller includes a feedback loop having a variable gain factor as diagramed in FIG. 1. The system is useful in treating asthma and various symptoms of reversible obstructive pulmonary disease. Examples of suitable applications and methods are disclosed in International Application No. PCT/US00/28745 filed October 17, 2000. The present invention is particularly useful in treating lung tissue. This is surprising in view of the unique and complicated structure of lung tissue. Referring first to FIG. 2A and 2B, a cross section of two different airways in a healthy patient is shown. The airway of FIG. 2 A is a medium sized bronchus having an airway diameter Dl of about 3 mm. FIG. 2B shows a section through a bronchiole having an airway diameter D2 of about 1.5 mm. Each airway includes a folded inner surface or epithelium 10 surrounded by stroma 12 and smooth muscle tissue 14. The larger airways including the bronchus shown in FIG. 2 A also have mucous glands 16 and cartilage 18 surrounding the smooth muscle tissue 14. Nerve fibers 20 and blood vessels 24 surround the airway. The airway is thus quite different from other tissues such as blood vessel tissue which does not include such folds, cartilage or mucous glands. In contrast, FIG. 3 illustrates the bronchus of FIG. 2 A in which the smooth muscle 14 has hypertrophied and increased in thickness causing the airway diameter to be reduced from the diameter Dl to a diameter D3. Accordingly, the airways to be treated with the device of the present invention may be 1 mm in diameter or greater, more preferably 3 mm in diameter or greater. FIG. 4 is an illustration of the lungs being treated with a system 36 according to the present invention. The system 36 includes a controller 32 and an energy treatment device 30 which may be an elongated member as described further below. The device 30 also includes an expandable distal section which can be positioned at a treatment site 34 within a lung or another target medium. In operation, the device is manipulated to the treatment site 34. RF energy, for example, is delivered through the energy delivering device and penetrates the surface of the lung tissue such that tissue is affected below the epithelial layer as well as on the surface of the lung tissue. ENERGY DELIVERING DEVICE As indicated above, the present invention includes a controller 32 and a device 30 through which it delivers energy to the target medium 34. A device 30 of the present invention should be of a size to access the bronchus or bronchioles of the human lung. The device may be sized to fit within bronchoscopes, preferably, with bronchoscopes having a working channel of 2 mm or less. The device may also include a steering member configured to guide the device to a desired target location. For example, this steering member may deflect a distal tip of the device in a desired direction to navigate to a desired bronchi or bronchiole. The energy delivering apparatus 30 typically includes an elongate body having a proximal section and a distal section. The distal section features a radially expandable basket having a plurality of legs. The legs may be electrodes or have an active region defined by an insulated covering which contacts the medium to be treated. The basket is expanded with an actuator mechanism which may be provided in a handle attached to proximal end of the elongate body. Examples of energy delivering devices in accordance with the present invention are described in co-pending U.S. Application No. 09/436,455 filed November 8, 1999 which is hereby incorporated by reference in its entirety. TEMPERATURE SENSOR The invention also includes a temperature detecting element. Examples of temperature detecting elements include thermocouples, infrared sensors, thermistors, resistance temperature detectors (RTDs), or any other apparatus capable of detecting temperatures or changes in temperature. The temperature detecting element is preferably placed in proximity to the expandable member. FIG. 5 A is a partial view of a variation of the invention having thermocouple 137 positioned about midway along basket leg 106. FIG. 5B is an enlarged partial view of the thermocouple 137 of FIG. 5 A showing the leads 139 separately coupled on an inwardly- facing surface of the leg 106. Consequently, the basket leg itself is used as part of the thermocouple junction upon which the temperature measurement is based. In other words, the thermocouple junction is intrinsic to the basket leg. This configuration is preferred because it provides an accurate temperature measurement of tissue contacting the leg 106 in the vicinity of the thermocouple leads. In contrast, typical thermocouple configurations consist of a thermocouple junction offset or extrinsic to the basket leg. We believe that thermocouple junctions having an offset from or extrinsic to the basket leg do not measure temperature as accurately in certain applications as thermocouple junctions which are intrinsic to the basket leg. The leads 139 may be placed at other locations along the leg 106 including an edge 405. Joining the leads 139 to the edge 405, however, is undesirable because of its relatively small bonding surface. FIG. 5B also shows basket leg 106 having an outer insulating material or coating 410. The boundaries 415 of the insulating material 410 define an uninsulated, active section of electrode leg 106 which delivers energy to the tissue walls. Preferably, the insulating coating 410 is heat shrink tubing or a polymeric coating. However, other insulating materials may be used. FIGS. 5C and 5D show another variation of the present invention having thin foil or laminated thermocouple leads 139. The thermocouple leads 139 are configured as foils or layers which can be, for example, prefabricated foils or sputtered films. Suitable materials for the thermocouple leads (listed in pairs) include, but are not limited to: Constantan and Copper; Constantan and Nickel-Chromium; Constantan and Iron; and Nickel- Aluminum and Nickel-Chromium. The thermocouple pair, CHROMEL and ALUMEL (both of which are registered trademarks of Hoskins Manufacturing) is preferred. CHROMEL and ALUMEL is a standard thermocouple pair and has been shown to be biocompatible and corrosion resistant in our applications. The thermocouple leads 139 may be placed such that each lead approaches the center of the basket leg from an opposite end of the basket leg. The leads 139 then terminate in bond joints 440 and 450. Alternatively, as shown in the configuration of FIG. 5D, both thermocouple leads 139 may run from the same end of the basket leg 106. Preferably, insulating layers 430 and 440 are disposed between the thin film leads 139 and the basket leg 106. The insulating layers 430 and 440 electrically separate the leads 139 as well as electrically separate the leads from the leg 106. The insulating layers 430 and 440 limit the thermocouple junction to bond joints 450 and 460, which are optimally positioned on active region 420 of basket leg 106. CONTROLLER The present invention includes a controller which controls the energy to be delivered to the airways via an energy transfer device. The controller includes at least one of the novel features disclosed hereinafter and may also incorporate features in known RF energy controllers. An example of a RF generator which may be modified in accordance with the present invention is the FORCE™ 2 Generator manufactured by Valleylab, Boulder, Colorado, U.S.A. Another suitable technique to generate and control RF energy is to modulate RF output of a RF power amplifier by feeding it a suitable control signal. The controller and power supply is configured to deliver enough energy to produce a desired effect in the lung. The power supply should also be configured to deliver the energy for a sufficient duration such that the effect persists. This is accomplished by a time setting which may be entered into the power supply memory by a user. The power supply or generator of the present invention can also employ a number of algorithms to adjust energy delivery, to compensate for device failures (such as thermocouple detachment), to compensate for improper use (such as poor contact of the electrodes), and to compensate for tissue inhomogeneities which can affect energy delivery such as, for example, subsurface vessels, adjacent airways, or variations in connective tissue. The power supply can also include circuitry for monitoring parameters of energy transfer: (for example, voltage, current, power, impedance, as well as temperature from the temperature sensing element), and use this information to control the amount of energy delivered. In the case of delivering RF energy, typical frequencies of the RF energy or RF power waveform are from 300 to 1750 kHz with 300 to 500 kHz or 450 to 475 being preferred. The RF power-level generally ranges from about 0-30 W but depends upon a number of factors such as, size of the electrodes. The controller may also be configured to independently and selectively apply energy to one or more of the basket leg electrodes. A power supply may also include control modes for delivering energy safely and effectively. Energy may be delivered in open loop (power held constant) mode for a specific time duration. Energy may also be delivered in temperature control mode, with output power varied to maintain a certain temperature for a specific time duration. In the case of RF energy delivery via RF electrodes, the power supply may also operate in impedance control mode. TEMPERATURE CONTROL MODE In a temperature control mode, the power supply may operate up to a 75 °C setting. That is, the temperature measured by the thermocouple can reach up to 75 ° C before the power supply is shut off. The duration must be long enough to produce the desired effect, but as short as possible to allow treatment of all of the desired target airways within a lung. For example, up to 15 seconds is suitable, and more preferably 8 to 12 seconds with about 10 seconds per activation (while the device is stationary) being preferred. Shorter duration with higher temperature will also produce an acceptable acute effect. It should be noted that different device constructions utilize different parameter settings to achieve the desired effect. For example, while direct RF electrodes typically utilize temperatures up to 75°C in temperature control mode, resistively heated electrodes may utilize temperatures up to 90°C. ENERGY PULSES AND ENERGY MODULATION Short bursts or pulses of RF energy may also be delivered to the target tissue. Short pulses of RF energy heat the proximal tissue while the deeper tissue, which is primarily heated by conduction through the proximal tissue, cools between the bursts of energy. Short pulses of energy therefore tend to isolate treatment to the proximal tissue. The application of short pulses of RF energy may be accomplished by modulating the RF power waveform with a modulation waveform. Modulating the RF power waveform may be performed while employing any of the other control algorithms discussed herein so long as they are not exclusive of one another. For example, the RF energy may be modulated while in a temperature control mode. Examples of modulation waveforms include but are not limited to a pulse train of square waves, sinusoidal, or any other waveform types. In the case of square wave modulation, the modulated RF energy can be characterized in terms of a pulse width (the time of an individual pulse of RF energy) and a duty cycle (the percent of time the RF output is applied). A suitable duty cycle can be up to 100% which is essentially applying RF energy without modulation. Duty cycles up to 80% or up to 50% may also be suitable for limiting collateral damage or to localize the affect of the applied energy. FEEDBACK ALGORITHM As indicated above, the present invention includes controllers having various algorithms. The algorithms may be either analog and digital based. A preferred embodiment is a three parameter controller, or Proportional-Integral-Derivative (PID) controller which employs the following algorithm: Pi + i = Pj + G(αej + βei-i + γej_ ) where Pi + i is a new power set point, Pj is a previous power set point, α, β and γ are preset values, G is a variable gain factor and e, , en, ej- correspond to error at the present time step, error one step previous and error two steps previous where the error is the difference between the preset temperature and a measured temperature. We have found that by using a variable gain factor (G) to adaptively control RF energy delivery, the system of the present invention can treat a wide range of tissue types including lung tissue bronchus, bronchioles and other airway passages. The variable gain factor scales the coefficients (alpha, beta, and gamma; each a function of the three PID parameters) based on, for example, the temperature response to energy input during the initial temperature ramp up. Exemplary PID parameters are presented herein, expressed in alpha-beta-gamma space, for an energy delivering device and controller of the present invention. These settings and timings are based on testing in various animal lung tissues using an energy delivering apparatus as described above. First, the gain factor preferably varies and is reset 0.1 to 2 and more preferably at 0.5 seconds after energy delivery has begun. Preferably, the gain factor is reset as follows: G is reset to 0.9 to 1.0 and preferably 0.9 if a temperature rise in °C per Joule is less than or equal to 2.5; G is reset to 0.4 to 0.5 and preferably 0.5 if a temperature rise in °C per Joule is between 2.5 to 5.0; G is reset to 0.2 to 0.3 and preferably 0.2 if a temperature rise in °C per Joule is equal to 5.0 to 7.5; and G is reset to 0.1 to 0.2 and preferably 0.1 if a temperature rise in °C per Joule is greater than 7.5. We have also found that a suitable value for α is from 1 to 2; for β is from -1 to -2; and for γ is from -0.5 to 0.5. More preferably α, β, γ are 1.6, -1.6, and 0.0 respectively. It is also possible to change the relative weights of alpha, beta, and gamma depending upon monitored temperature response working in either PID or Alpha-Beta- Gamma coordinate space beyond just scaling the alpha-beta-gamma coefficients with a variable gain factor. This can be done by individually adjusting any or all of alpha, beta, or gamma. In another variation of the present invention, the PID algorithm is Pj +1 = P, + (G^i + G ei- ! + G 3 ej_ ) and G] ; G and G 3 are each variable gain factors. The invention includes configuring the controller such that G ϊ G 2 and G 3 are reset to 0.90 to 2.00, -0.90 to -2.00 and 0.50 to -0.50 respectively if a temperature rise in °C per Joule is less than or equal to 2.5; to 0.40 to 1.00, -0.40 to -1.00 and 0.25 to -0.25 respectively if a temperature rise in °C per Joule is between 2.5 to 5.0; to 0.20 to 0.60, -0.20 to -0.60 and 0.15 to -0.15 respectively if a temperature rise in °C per Joule is equal to 5.0 to 7.5; and to 0.10 to 0.40, -0.10 to -0.40 and 0.10 to -0.10 respectively if a temperature rise in °C per Joule is greater than 7.5. Each of the variable gain factors may be equal to a product of at least one preset value and at least one variable value. It is also possible to employ an algorithm that continuously adapts to signals rather than at discrete sample steps, intervals or periods. The algorithm takes into account several variables upon which observed temperature response depends including, for example: initial temperature, time history of energy delivery, and the amount of energy required to maintain set point temperature. An exemplary analog PID algorithm is: u = Kp e + Kif edt + Ko(de/dt) where u is a signal to be adjusted such as, for example, a current, a voltage difference, or an output power which results in energy delivery from the electrode to the airway wall. Kp, Ki and K D are preset or variable values which are multiplied with the proper error term where e(t) is the difference between a preset variable and a measured process variable such as temperature at time (t). The above equation is suitable for continuous and/or analog type controllers. POWER SHUT DOWN SAFETY ALGORITHMS In addition to the control modes specified above, the power supply may include control algorithms to limit excessive thermal damage to the airway tissue. Damage may be limited by terminating or shutting down the energy being delivered to the target medium. The algorithms can be based on the expectation that the sensed temperature of the tissue will respond upon the application of energy. The temperature response, for example, may be a change in temperature in a specified time or the rate of change of temperature. The expected temperature response can be predicted as a function of the initially sensed temperature, the temperature data for a specified power level as a function of time, or any other variables found to affect tissue properties. The expected temperature response may thus be used as a parameter in a power supply safety algorithm. For example, if the measured temperature response is not within a predefined range of the expected temperature response, the power supply will automatically shut down. Other control algorithms may also be employed. For example, an algorithm may be employed to shut down energy delivery if the sensed temperature does not rise by a certain number of degrees in a pre-specified amount of time after energy delivery begins. Preferably, if the sensed temperature does not increase more than about 10 ° C in about 3 seconds, the power supply is shut off. More preferably, if the sensed temperature does not increase more than about 10 ° C in about 1 second, the power supply is shut off. Another way to stop energy delivery includes shutting down a power supply if the temperature ramp is not within a predefined range at any time during energy delivery. For example, if the measured rate of temperature change does not reach a predefined value, the power supply will stop delivery of the RF energy. The predefined values are predetermined and based on empirical data. Generally, the predefined values are based on the duration of time RF energy is delivered and the power-level applied. A suitable predefined rate of temperature change to stop energy delivery is from 8 ° C/second to 15 ° C/second in the first 5 seconds (preferably in the first 2 seconds) of commencing energy delivery. Other algorithms include shutting down a power supply if a maximum temperature setting is exceeded or shutting down a power supply if the sensed temperature suddenly changes, such a change includes either a drop or rise, this change may indicate failure of the temperature sensing element. For example, the generator or power supply may be programmed to shut off if the sensed temperature drops more than about 10 ° C in about 0.1 to 1 seconds and more preferably in about 0.2 seconds. In another configuration, the power is terminated when the measured temperature exceeds a pre-selected temperature or exceeds the set point temperature by a pre-selected amount. For example, when the set point is exceeded by 5 to 20 ° C, more preferably 15 ° C the power will terminate. In another configuration, power is terminated when the measured temperature (averaged over a time window) exceeds a pre-selected temperature. For example, power may be terminated when the measured temperature (averaged over 1 to 5 seconds and preferably averaged over 2 seconds) exceeds the preset temperature by a predetermined amount. The predetermined amount is generally from 1 to 10 ° C and preferably about 5 ° C. Suitable preset temperatures are from 60 to 80 ° C and most preferably about 65 ° C. Accordingly, in one exemplary configuration, the power is stopped when the measured temperature (averaged over 2 seconds) exceeds 70 ° C. In another configuration, the power is terminated when the amount of energy delivered exceeds a maximum amount. A suitable maximum amount is 120 Joules for an energy delivery apparatus delivering energy to the airways of lungs. In another configuration, the power is shut down depending on an impedance measurement. The impedance is monitored across a treated area of tissue within the lung. Impedance may also be monitored at more than one site within the lungs. The measuring of impedance may be but is not necessarily performed by the same electrodes used to deliver the energy treatment to the tissue. The impedance may be measured as is known in the art and as taught in U.S. Application No. 09/436,455 which is incorporated by reference in its entirety. Accordingly, in one variation of the present invention, the power is adjusted or shut off when a measured impedance drops below a preset impedance value. When using the energy delivering device of the present invention to treat airways, a suitable range for the preset impedance value is from 40 to 60 ohms and preferably about 50 ohms. In another variation, the energy delivery apparatus is configured to deliver an amount of power up to a maximum power. The maximum power can be from 10 to 40 watts and preferably from 15 to 20 watts. In yet another configuration, the power supply is configured to shut down if the power delivered exceeds a maximum power and the measured temperature drops by a critical temperature difference within a sampling period of time. A suitable maximum power is from 15 to 20 Watts and preferably about 17 watts. The sampling period of time generally ranges from 0.1 to 1.0 seconds and preferably is about 0.5 seconds. A suitable range for the critical temperature difference is about 2 ° C. It is to be understood that any of the above algorithms and shut-down configurations may be combined in a single controller. However, algorithms having mutually exclusive functions may not be combined. While the power supply or generator preferably includes or employs a microprocessor, the invention is not so limited. Other means known in the art may be employed. For example, the generator may be hardwired to run one or more of the above discussed algorithms. The controller is preferably programmable and configured to receive and manipulate other signals than the examples provided above. For example, other useful sensors may provide input signals to the processor to be used in determining the power output for the next step. The treatment of an airway may also involve placing a visualization system such as an endoscope or bronchoscope into the airways. The treatment device is then inserted through or next to the bronchoscope or endoscope while visualizing the airways. Alternatively, the visualization system may be built directly into the treatment device using fiber optic imaging and lenses or a CCD and lens arranged at the distal portion of the treatment device. The treatment device may also be positioned using radiographic visualization such as fluoroscopy or other external visualization means. EXAMPLES A system to treat airways in accordance with the present invention was built and tested in vivo on two canines. The system included an energy delivering apparatus having a distal basket. The basket included electrode legs and a temperature sensor mounted to one of the legs. The system also included a generator programmed to measure the temperature change per energy unit during the first half-second of treatment. A PID gain factor was adjusted depending on the measured tissue response. That is, the gain factor was adjusted based on the temperature change per joule output during the first half second. In general, this corresponds to a higher gain for less responsive tissue and lower gain for more responsive tissue. After treating the test subjects with a general anesthetic, RF energy was delivered to target regions using an energy delivery device and generator as described above. In particular, energy activations were performed on all available intraparenchymal airways three millimeters or larger in diameter in both lungs. Three hundred sixty-three activations using a 65°C temperature setting were performed in the two animals (i.e., 180 activations per animal). Additionally, in twenty of the activations in each animal, the energy delivery device was deliberately deployed improperly to provide a "Stress" condition. In each activation, the measured temperature reached and stabilized at 65 ° C or, in the case of the twenty activations under "stress" conditions, the power properly shut off. Thus, the present invention can successfully treat lung tissue with a variable gain setting and various safety algorithms to safely maintain a preset temperature at the electrode or lung tissue surface. This temperature control is particularly advantageous when treating the airways of lungs to reduce asthma symptoms. This invention has been described and specific embodiments or examples of the invention have been portrayed to convey a proper understanding of the invention. The use of such examples is not intended to limit the invention in any way. Additionally, to the extent that there are variations of the invention which are within the spirit of the disclosure and are equivalent to features found in the claims, it is the intent that the claims cover those variations as well. All equivalents are considered to be within the scope of the claimed invention, even those which may not have been set forth herein merely for the sake of brevity. Also, the various aspects of the invention described herein may be modified and/or used in combination with such other aspects also described to be part of the invention either explicitly or inherently to form other advantageous variations considered to be part of the invention covered by the claims which follow. The invention described herein expressly incorporates the following co-pending applications by reference in their entirety: U.S. Application No. 09/095,323; U.S. Application No. 09/095,323; U.S. Application No. 09/349,715; U.S. Application No. 09/296,040; U.S. Application No. 09/436,455; and U.S. Application No. 09/535,856.

Claims: CLAIMS 1. A system for delivering energy to an airway wall of a lung comprising: an energy delivering apparatus comprising a flexible elongated member and a distal expandable basket, said expandable basket having at least one electrode for transferring energy to said airway wall and at least one temperature sensor for measuring temperature (TM) of said airway wall when energy is delivered to said airway wall; and a PID controller for determining a new power set point (PH- based on an error (e) between a preset temperature (Ts) and said measured temperature (TM) wherein said PID controller applies an algorithm having a variable gain factor (G). 2. The system of claim 1 wherein said algorithm is Pι +1 = Pj + G(αe; + βe;-] + γej. 2 ) where α, β and γ are preset values. 3. The system of claim 2 wherein said controller is configured such that G is reset 0.1 to 2 seconds after energy delivery has begun. 4. The system of claim 3 wherein said controller is configured such that G is reset 0.5 seconds after energy delivery has begun. 5. The system of claim 4 wherein said controller is configured such that G is reset to 0.9 to 1.0 if a temperature rise in °C per Joule is less than or equal to 2.5. 6. The system of claim 4 wherein said controller is configured such that G is reset to 0.4 to 0.5 if a temperature rise in °C per Joule is between 2.5 to 5.0. 7. The system of claim 4 wherein said controller is configured such that G is reset to 0.2 to 0.3 if a temperature rise in °C per Joule is equal to 5.0 to 7.5. 8. The system of claim 4 wherein said controller is configured such that G is reset to 0.1 to 0.2 if a temperature rise in °C per Joule is greater than 7.5. 9. The system of claim 2 wherein α is from 1 to 2, 10. The system of claim 9 wherein β is from -1 to -2. 11. The system of claim 10 wherein γ is from -0.5 to 0.5 12. The system of claim 11 wherein α, β, γ are 1.6, -1.6, and 0.0 respectively. 13. The system of claim 1 wherein said controller is configured such that said energy delivery is terminated if said energy delivered exceeds a maximum energy. 14. The system of claim 13 wherein said maximum energy is 120 j oules. 15. The system of claim 1 wherein said controller is configured to deliver energy for an activation time period. 16. The system of claim 15 wherein said controller is configured such that the activation time period is up to 15 seconds. 17. The system of claim 16 wherein said controller is configured such that the activation time period is 8 to 12 seconds. 18. The system of claim 17 wherein said controller is configured such that the activation time period is 10 seconds. 19. The system of claim 1 wherein said controller is configured such that Ts is set at a value between 60 to 80 ° C. 20. The system of claim 19 wherein Ts is set at 65 ° C. 21. The system of claim 1 wherein said controller is configured to measure impedance and said energy delivery is terminated when said impedance drops below a preset impedance value. 22. The system of claim 21 wherein said preset impedance value is 40 to 60 ohms. 23. The system of claim 1 wherein said controller is configured to terminate said energy delivery if said T M exceeds Ts by a pre-selected value. 24. The system of claim 23 wherein said pre-selected value is 10 ° C. 25. The system of claim 23 wherein said pre-selected value is 15 ° C. 26. The system of claim 23 wherein said pre-selected value is 20 ° C. 27. The system of claim 1 wherein said controller is configured to terminate said energy delivery if said output power is greater or equal to a nominal output power and said T drops by a critical temperature difference within a sampling period. 28. The system of claim 27 wherein said nominal output power is set at a value of at least 17 watts. 29. The system of claim 28 wherein said sampling period is set at a value of at least 0.5 seconds. 30. The system of claim 29 wherein said critical temperature difference is 2 ° C. 31. The system of claim 1 wherein said controller is configured to terminate said energy delivery if said T M averaged over a time window exceeds Ts by a fixed temperature difference. 32. The system of claim 31 wherein said fixed temperature difference is between 1 and 10 ° C. 33. The system of claim 32 wherein said fixed temperature difference is 5 ° C. 34. The system of claim 33 wherein said time window is between 1 and 5 seconds. 35. The system of claim 34 wherein said time window is 2 seconds. 36. The system of claim 1 wherein said controller is configured to terminate if said measured temperature drops by 10 or more ° C in a sample period. 37. The system of claim 36 wherein the sample period is 1.0 seconds. 38. The system of claim 36 wherein the sample period is 0.2 seconds. 39. The system of claim 1 wherein the gain factor is initially equal to a value between 0.4 and 0.5. 40. A method for treating a lung by transferring energy from an active region of an energy delivery apparatus to an airway wall of said lung, said energy delivery apparatus having a flexible elongate body and a distal section and said active region being located in said distal section, said energy delivery apparatus further having a temperature sensor located in said distal section for measuring a temperature (TM) of said airway wall, said method comprising: setting a preset temperature(Ts) ; determining a power set point (Pj) to deliver energy from said active region to said target medium; measuring said T M using said temperature sensor; determining a new power set point (Pj +1 ) based on an error (e) between said preset temperature (Ts) and said measured temperature (TM) using a PID algorithm. 41. A process for transferring energy to a target medium using an energy delivery apparatus, said energy delivery apparatus having a flexible elongate body and a distal section wherein said distal section includes an expandable basket with at least one active region for transferring energy to said target medium, said energy delivery apparatus further having a temperature sensor located in said distal section for measuring a temperature (T M ) of said target medium, said process comprising: setting a preset temperature(Ts); determining a power set point (Pi) to deliver energy from said active region to said target medium; measuring said T M using said temperature sensor; determining a new power set point (Pj + i) based on an error (e) between said preset temperature (Ts) and said measured temperature (TM) using an algorithm having a variable gain factor. 42. The process of claim 41 wherein said algorithm is: Pi + i = Pi + G(ae; + βeι_ι + γej. 2 ) where α, β and γ are preset values. 43. The process of claim 42 comprising resetting G 0.1 to 2 seconds after energy delivery has begun. 44. The process of claim 43 comprising resetting G 0.5 seconds after energy delivery has begun. 45. The process of claim 44 comprising resetting G to 0.9 to 1.0 if a temperature rise in °C per Joule is less than or equal to 2.5. 46. The process of claim 44 comprising resetting G to 0.4 to 0.5 if a temperature rise in °C per Joule is between 2.5 to 5.0. 47. The process of claim 44 comprising resetting G to 0.2 to 0.3 if a temperature rise in °C per Joule is equal to 5.0 to 7.5. 48. The process of claim 44 comprising resetting G to 0.1 to 0.2 if a temperature rise in °C per Joule is greater than 7.5. 49. The process of claim 42 comprising setting α between 1 and 2. 50. The process of claim 49 comprising setting β between -1 to -2. 51. The process of claim 50 comprising setting γ to -0.5 to 0.5. 52. The process of claim 51 comprising setting α, β, γ to 1.6, -1.6, and 0.0 respectively. 53. The process of claim 41 comprising terminating said energy delivery if said energy delivered exceeds a maximum energy. 54. The process of claim 53 wherein said maximum energy is 120 joules. 55. The process of claim 41 wherein energy is delivered for an activation period. 56. The process of claim 55 wherein said activation period up to 15 seconds. 57. The process of claim 56 wherein said activation period is 8 to 12 seconds. 58. The process of claim 57 wherein said activation period is 10 seconds. 59. The process of claim 41 comprising setting Ts at a value between 60 to 80 ° C. 60. The process of claim 59 comprising setting Ts at 65 ° C. 61. The process of claim 41 further comprising measuring impedance and terminating said energy delivery when said impedance drops below a preset impedance value. 62. The process of claim 61 wherein said preset impedance value is from 40 to 60 ohms. 63. The process of claim 41 comprising terminating said energy delivery if said T M exceeds Ts by a pre-selected value. 64. The process of claim 63 wherein said pre-selected value is 10 ° C. 65. The process of claim 63 wherein said pre-selected value is 15 ° C. 66. The process of claim 63 wherein said pre-selected value is 20 ° C. 67. The process of claim 41 comprising terminating said energy delivery if an output power is greater or equal to a nominal output power and said TM drops by a critical temperature difference within a sampling period. 68. The process of claim 67 wherein said nominal output power is set at a value of at least 17 watts. 69. The process of claim 68 wherein said sampling period is set at a value of at least 0.5 seconds. 70. The process of claim 69 wherein said critical temperature difference is 2 ° C. 71. The process of claim 41 comprising terminating said energy delivery if said TM averaged over a time window exceeds Ts by a fixed temperature difference. 72. The process of claim 71 wherein said fixed temperature difference is a value between 1 and 10 ° C. 73. The process of claim 72 wherein said fixed temperature difference is 5 ° C. 74. The process of claim 73 wherein said time window is between 1 and 5 seconds. 75. The process of claim 74 wherein said time window is 2 seconds. 76. The process of claim 41 wherein said delivering energy to a target medium is performed by delivering energy to an airway wall of a lung in vivo. 77. The process of claim 41 wherein said delivering energy to a target medium is performed by delivering energy to an airway wall of an excised lung. 78. The process of claim 41 wherein said delivering energy to a target medium is performed by delivering energy to a sponge or towel. 79. The system of claim 1 wherein said PID controller applies an algorithm having a plurality of variable gain factors. 80. The system of claim 79 wherein said algorithm is Pj +1 = P, + (Gie; + G 2 ej. 1 + G 3 ej. 2 ) where Gi G 2 and G 3 are variable gain factors. 81. The system of claim 80 wherein said controller is configured such that said variable gain factors are reset 0.1 to 2 seconds after energy delivery has begun. 82. The system of claim 81 wherein said controller is configured such that said variable gain factors are reset 0.5 seconds after energy delivery has begun. 83. The system of claim 82 wherein said controller is configured such that Gi ,G 2 and G 3 are reset to 0.90 to 2.00, -0.90 to -2.00 and 0.5 to -0.5 respectively if a temperature rise in °C per Joule is less than or equal to 2.5. 84. The system of claim 82 wherein said controller is configured such that G l3 G and G 3 are reset to 0.40 to 1.00, -0.40 to -1.00 and 0.25 to -0.25 respectively if a temperature rise in °C per Joule is between 2.5 to 5.0. 85. The system of claim 82 wherein said controller is configured such that Gi G 2 and G 3 are reset to 0.20 to 0.60, -0.20 to -0.60 and 0.15 to -0.15 respectively if a temperature rise in °C per Joule is equal to 5.0 to 7.5. 86. The system of claim 82 wherein said controller is configured such that G ls G 2 and G 3 are reset to 0.10 to 0.40, -0.10 to -0.40 and 0.10 to -0.10 respectively if a temperature rise in °C per Joule is greater than 7.5. 87. The system of claim 80 wherein each of said variable gain factors is equal to a product of at least one preset value and at least one variable value. 88. The process of claim 41 wherein said PID controller applies an algorithm having a plurality of variable gain factors. 89. The process of claim 88 wherein said algorithm is Pj +1 = P, + Gιe + G 2 {.ι + G 3 ej. 2 ) where Gi G 2 and G 3 are variable gain factors. 90. The process of claim 89 wherein said controller is configured such that said variable gain factors are reset 0.1 to 2 seconds after energy delivery has begun. 91. The process of claim 90 wherein said controller is configured such that said variable gain factors are reset 0.5 seconds after energy delivery has begun. 92. The process of claim 91 wherein said controller is configured such that Gi G 2 and G 3 are reset to 0.90 to 2.00, -0.90 to -2.00 and 0.50 to -0.50 respectively if a temperature rise in °C per Joule is less than or equal to 2.5. 93. The process of claim 91 wherein said controller is configured such that G l5 G 2 and G 3 are reset to 0.40 to 1.00, -0.40 to -1.00 and 0.25 to -0.25 respectively if a temperature rise in °C per Joule is between 2.5 to 5.0. 94. The process of claim 91 wherein said controller is configured such that d G 2 and G 3 are reset to 0.20 to 0.60, -0.20 to -0.60 and 0.15 to -0.15 respectively if a temperature rise in °C per Joule is equal to 5.0 to 7.5. 95. The process of claim 91 wherein said controller is configured such that G 1; G 2 and G 3 are reset to 0.10 to 0.40, -0.10 to -0.40 and 0.10 to -0.10 respectively if a temperature rise in °C per Joule is greater than 7.5. 96. The process of claim 91 wherein each of said variable gain factors is equal to a product of at least one preset value and at least one variable value. 97. The system of claim 1 wherein the energy delivery apparatus is configured to deliver an amount of power up to a maximum power. 98. The system of claim 97 wherein the maximum power is 10 to 40 watts. 99. The system of claim 98 wherein the maximum power is 15 to 20 watts. 100. The process of claim 41 wherein the energy delivery apparatus is configured to deliver an amount of power up to a maximum power. 101. The process of claim 100 wherein the maximum power is 10 to 40 watts. 102. The process of claim 101 wherein the maximum power is 15 to 20 watts.

Inventors: BIGGS MICHAEL, DANEK CHRISTOPHER JAMES, STERN ROGER A, BIGGS, MICHAEL, DANEK, CHRISTOPHER, JAMES, STERN, ROGER, A.
Applicants: BIGGS MICHAEL, BRONCUS TECH INC, DANEK CHRISTOPHER JAMES, STERN ROGER A, BIGGS, MICHAEL, BRONCUS TECHNOLOGIES, INC., DANEK, CHRISTOPHER, JAMES, STERN, ROGER, A.
Application year: 2001
Main classification: A61B18
IPC codes: A61B17, A61B18, A61F7