Smart oscillating positive expiratory pressure device

SA522431772B1Active Publication Date: 2024-10-24TRUDELL MEDICAL INT INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA522431772
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-02-27
Publication Date
2024-10-24
Estimated Expiration
2040-08-26

AI Technical Summary

Technical Problem

Existing oscillating positive expiratory pressure (OPEP) devices lack user feedback and adherence monitoring, leading to poor compliance and ineffective treatment in chronic obstructive pulmonary disease (COPD) and cystic fibrosis (CF) patients, with hospital systems bearing the burden of non-compliant patients.

Method used

A smart OPEP device providing real-time feedback on frequency, mean pressure, and amplitude of oscillations, with data archiving and analysis for progress tracking, and integration with healthcare systems for adherence monitoring and performance goal setting.

Benefits of technology

Enhances user engagement and treatment compliance by offering immediate feedback and data-driven insights, improving treatment effectiveness and adherence.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

SMART OSCILLATING POSITIVE EXPIRATORY PRESSURE DEVICE ABSTRACT A respiratory therapy device having a diagonal feedback array, and methods for the user thereof. Fig. 86A.
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention generally relates to a smart oscillating positive expiratory pressure device, and methods of using and assembling the same.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Chronic obstructive pulmonary disease (COPD) and cystic fibrosis (CF) can cause increased breathing, leading to dyspnea, respiratory muscle fatigue, and general discomfort. Oscillating positive expiratory pressure (OPEP) treatments can be used as a drug-free method to remove excess mucus from the lungs of patients with COPD and CF. OPEP can also be used after surgery to reduce the risk of post-surgical pulmonary complications. OPEP devices typically provide minimal feedback to the user or caregiver regarding the device's performance and / or effectiveness during the treatment session. Additionally, a significant percentage (60%) of COPD patients do not adhere to prescribed treatment, with hospital systems bearing the burden of non-compliant patients who return to the hospital within 30 days.<h2 style=";text-align:left;direction:ltr">In addition, OPEP devices do not typically provide feedback on treatment adherence, progress tracking, or proper use technique.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> UK patent GB2412324 relates to a self-contained respirator comprising optical fibres for transmitting a light signal or signals from a light emitter positioned outside the wearer's field of vision, providing the wearer with a visual indication of the light emitter signals.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> U.S. patent US5627324 discloses a peak flow meter comprising an elongated body with a predetermined longitudinal orientation, a predetermined cross-sectional shape, and a growth zone. The body has an open inlet and an open outlet.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> U.S. patent US20040187869 describes a dry powder inhaler training device, comprising a dry powder inhalation simulator and a control circuit for measuring the pressure drop at the opening and displaying a single value corresponding to both the inhalation velocity and the peak inhalation flow rate. This device is generally used to inhale a metered dose of medication, and specifically to train a patient on the use of the dispenser assembly to achieve optimal results.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In brief, in one embodiment, the smart OPEP device provides feedback to the user (patient or caregiver) regarding the frequency, mean pressure, and amplitude of pressure oscillations generated during a treatment session. Additionally, data and information collected regarding the performance of the OPEP device may be archived and analyzed to provide an overview of the user's progress, which may be made available to healthcare providers and insurance companies, for example, to monitor treatment adherence. Patient-specific data may be provided to monitor trends over time. Performance goals and / or thresholds may be established to assist the user in achieving correct techniques, and treatment effectiveness may be assessed by surveying the patient's quality of life and correlating it with performance. Additionally, with the performance characteristics being measured, the user may set up the device, and the user may be motivated through various feedback, including counting breaths or playing games based on the measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the smart accessory for an oscillating positive expiratory pressure (OPEP) device includes an adapter having a first end, which can be coupled to the oscillating positive expiratory pressure (OPEP) device, a second end opposite the first end, which can be coupled to a mouthpiece, a flow channel defined between the first and second ends, and a port communicating with the flow channel between the first and second ends. A flexible membrane is disposed across the port and includes a first side in flow communication with the flow channel and a second side opposite to the first end partially defining a chamber. A pressure sensor and / or a microthermal flow sensor are in flow communication with the chamber. A control module is coupled to the adapter and is effective for collecting data from the pressure sensor and / or microthermal flow sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the air conditioner can be detached from the oscillating positive expiratory pressure (OPEP) device, and the control unit can be detached from the air conditioner and placed to the side. Connection between the flexible membrane and the air conditioner is maintained, for example, using a tether. In one embodiment, the flexible membrane is movable from a first position where the membrane is positioned across the port and partially defines a compartment and a second position where the membrane is not positioned across the port. The air conditioner, with the membrane attached, can be washed by moving the membrane to the first position and reconnecting the control unit to the air conditioner.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another aspect, an embodiment of an oscillating positive expiratory pressure (OPEP) device includes a mouthpiece that defines a longitudinal axis and has an end port and a housing connected to the mouthpiece and having a top surface. At least a portion of the top surface is spaced longitudinally from the end port and defines a viewing surface adapted to be visible to a user with the end port positioned in the mouth of the user. A feedback array is disposed on the viewing surface, wherein the feedback array extends diagonally across the viewing surface. Directional indicators and quantitative descriptors may also be applied to the viewing surface.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should be understood that the feedback matrix, directional indicia and quantitative descriptors may also be provided on other respiratory care systems, including various medicament delivery devices, such as, but not limited to, holding chambers, dry powder inhalers and / or nebulizers, whether applied directly to a housing component thereof, or by application to a module housing attached thereto.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another aspect, an embodiment of a method for using an oscillating positive expiratory pressure device includes exhaling through a terminal port to a mouthpiece that defines a longitudinal axis, and viewing a feedback array disposed on an upper surface of a housing connected to the mouthpiece, wherein the feedback array extends diagonally across the viewing surface, illuminating at least a portion of the array to indicate whether the expiratory flow or pressure is within or outside a predetermined acceptable range. Similar methods may be used with other respiratory therapy devices, e.g., during the inspiratory cycle when using a valved holding chamber, dry powder inhaler, and / or nebulizer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Providing user feedback during treatment ensures user engagement and improves overall treatment compliance. The diagonal orientation of the array allows the user to see a progression (left to right or right to left) in the light sequence, including from lowest to highest, or from center to outer. The diagonal alignment of the array makes it easy for the user to view the array with their peripheral vision even when performing other tasks, such as watching television. The diagonal arrangement along the top surface is highly visible and avoids the need for the lights to protrude too far from the top surface, thus keeping the device as compact as possible. Furthermore, the light sequence and color scheme are easy to understand and provide an attractive user interface.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present models, together with their further elements and advantages, will be best understood by reference to the following detailed description taken in conjunction with the accompanying drawings.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a graph of an OPEP pressure waveform that identifies various performance characteristics.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a block diagram of an OPEP device with smart capabilities.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 3 is a perspective view of the pressure sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 is a partial and exploded perspective view of one of the smart OPEP models.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 5a-z show different flow sensors.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 is a perspective view of the flexible sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 7a and b are partial sectional views of the OPEP device with a flexible sensor in a non-flexible and flexible configuration, respectively.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 8a and b are partial sectional views of the OPEP device with a non-contact position sensor in the first and second pressure configurations, respectively.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 is a partial sectional view of an OPEP with a spring-assisted non-contact position sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is a perspective view of a linear variable differential transformer (LVDT).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 11 is a partial sectional view of an OPEP device with a conductive membrane.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 12 is a partial sectional view of an OPEP with a Hall Effect sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 13 is a partial sectional view of an OPEP with a light curtain sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 14 is a partial sectional view of an OPEP device with a vane potentiometer.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 15 is a partial sectional view of an OPEP device with a piezo flex sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 16 is a partial sectional view of an OPEP with a proximity sensor and a vane in the closed position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 17 is a series of exploded perspective views of the OPEP with the proximity sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 18 is a perspective view of a PCB microphone.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 19 is a partial sectional view of an OPEP with an LED / image sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 20 is a partial cross-sectional view of the OPEP with another LED / image sensor model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 21 is a view of a user interface with an input screen.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 22 shows various LED outputs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 23 is a view of a user interface with an output screen.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24 is a partial view of a smart OPEP device layout.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 25 is a flowchart of the performance objectives for the OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 26 is an idealized graph of an audio signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 27 shows disassembled and unexploded partial views of an OPEP with LED output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 28 is a view of the LED output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 29 is a perspective view of an OPEP device with either auditory or vibratory / tactile output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 30 is a schematic of a system with an OPEP device communicating with a user interface via a wireless protocol.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 31 is a flowchart of the intelligent OPEP algorithm.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 32 shows examples of output screens for the user interface.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 33 is a view of a user interface with one form of the output game.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 34 is a user interface view with one of the output game models providing feedback about pressure and frequency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 35 is a flowchart of performance limits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 36 is a partial perspective view of an OPEP with dual flow sensors.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 37 is a flowchart for analyzing the I:E ratio.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 38 is a graph showing the I:E ratio.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 39 is a graph showing the linear regression of mean pressure versus QoL score.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 40 is a flowchart to determine the relationship between the QoL score and the measurements taken from the OPEP device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 41 is a flowchart and partial cross-sectional view of an active OPEP device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 42 is a flow-volume loop diagram.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 43a and b are partial section views of the control module in the installed and uninstalled position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 44 is a block diagram of a smart OPEP system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 45 is a flowchart of the processing sequence using the intelligent OPEP system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 46a and b are typical graphs of pressure versus time data collected from a smart OPEP device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 47 and 48 are sectional views of the OPEP device shown with and without internal components, respectively.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 49 is a diagram showing the computer structure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 50 is a schematic illustration of a communication system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 51 is a perspective view of another model of a smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 52a and b are sectional views of the smart OPEP converter shown in Figure 51.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 53 is a perspective view of the switch and user interface / controller.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 54 is a bottom view of the switch and user interface / controller shown in Figure 53.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 55 is a perspective view of another model of a smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 56 is a side view of the smart OPEP shown in Figure 55.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 57 is a side view of the adapter and another model of the user interface / controller.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 58 is a bottom perspective view of the switch and user interface / controller shown in Figure 57.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 59 is a perspective view of another embodiment of a smart OPEP that includes the conditioner and user interface / controller shown in Figure 57.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 60 is a sectional view of one of the pressure sensor models.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 61 is a sectional view of one example of a flow sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 62 is a block diagram showing a smart OPEP with a user interface / controller.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 63 and 63a-c are flowcharts illustrating the operation of one of the smart OPEP models.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 64 is a flowchart showing the operation of another smart OPEP model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 65 is a flowchart illustrating the operation of one of the smart OPEP models.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 66a and b are front and back views of another model of the smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 67 is a flowchart illustrating the operation of the smart OPEP shown in Figures 66a and b.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 68 is a cross-sectional view of the smart OPEP shown in Figures 65a and b.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 69 is an enlarged and partial sectional view of the OPEP smart switch.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 70 is a perspective view of a T-connector with a membrane attached to it.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 71 is a bottom view of an electronic housing.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 72 is a perspective view of the washable components of the Smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 73 is a perspective view of the non-washable electronic housing component of the Smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 74a and b are front and rear perspective views of the smart switch.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 75 is a perspective view of one model of a membrane.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 76A is a sectional view of the membrane shown in Figure 75.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 76b is a top view of the T-connector.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 77 is a partial sectional view of the smart transformer and OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 78 is a graph of pressure curves from different models of T-connector (with and without damping slot).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 79 and 80 are front and back views of another model of the smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 81 is a top view of the smart OPEP shown in Figures 79 and 80.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 82 is a sectional view of the smart OPEP taken along line 82-82 of Figure 81.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 83 is a top view of the PCB integrated into the smart OPEP shown in Figures 79 and 80.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 84 is a block diagram of one embodiment of the intelligent OPEP system incorporated in Figures 79 and 80.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 85, 85A and 85B are flowcharts illustrating the operation of the smart OPEP shown in Figures 79 and 80.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 86a and 86b are side views of another model of the smart OPEP device in use.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 87 is a top view of a display surface with a set of reactions arranged on it.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 88 is a side view of a holding chamber with a feed-back matrix arranged on it.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 89 is a side view of a dry powder inhaler with a feedback array arranged on it.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 90 is a side view of a nebulizer with a set of reactions arranged thereon.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It should be understood that the term "plurality," as used herein, means two or more. The term "coupled" means connected or linked, directly or indirectly, e.g., to an intervening member, and does not require the link to be fixed or permanent, although it may be fixed or permanent. It should be understood that the use of the numerical terms "first," "second," "third," etc., as used herein does not indicate any particular sequence or order of components. It should be understood that the terms "user" and "patient" as used herein refer to any user, including pediatric and / or adolescent, adult humans and / or animals.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "smart" refers to features that follow the general format of input, where information is fed into the system; analysis, where the system acts on or modifies the information; and output, where the new information leaves the system. The phrase "performance characteristics" refers to measurements, such as frequency or amplitude, that determine how well a device is performing. Frequency is defined as the number of oscillations per second; however, during a typical OPEP maneuver, the rate of oscillations may not be constant. Accordingly, frequency can be defined as the inverse of the time between oscillations (1 / T), measured in hertz. This second definition calculates the frequency of each oscillation and averages it over a period of time. Maximum pressure is the maximum pressure per oscillation, typically measured in cmH2O. Minimum pressure is the minimum pressure per oscillation, typically measured in cmH2O. Upper pressure is the average of the maximum pressure for a given period of time, for example, one second. Lower pressure is the average of the minimum pressure for a given period of time, for example, one second. Capacity is the difference between the upper and lower pressures.<h2 style=";text-align:left;direction:ltr">Mean pressure is the average of the upper and lower pressures. True mean pressure is the average of the entire pressure waveform for a given period of time. True mean pressure is usually lower than mean pressure because the typical pressure waveform generated is not uniform—that is, it tends toward the lower pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 1, the OPEP pressure waveform is shown with various performance characteristics. Figure 2 shows the block diagram of an OPEP device, illustrated by the dashed box surrounding the internal components, which are equipped with intelligent capabilities. One exemplary OPEP device is the Aerobika® OPEP device, shown in Figures 4, 24, 27-30, 47, 48, and 86a and b, available from Monaghan Medical Corporation, Plattsburg, New York. Various OPEP devices and structures are also disclosed in U.S. Patent No. 8,985,111, issued March 24, 2015, entitled Oscillating Positive Expiratory Pressure Device, U.S. Patent No. 8,985,111.<h2 style=";text-align:left;direction:ltr">8,539,951, issued September 24, 2013, titled Oscillating Positive Expiratory Pressure Device, U.S. Patent No. 9,220,855, issued December 29, 2015, titled Oscillating Positive Expiratory Pressure Device, U.S. Publication 2012 / 0304988, published December 6, 2012, titled Oscillating Positive Expiratory Pressure Device, U.S. Publication 2015 / 0297848, published October 22, 2015, titled Oscillating Positive Expiratory Pressure Device, and U.S. Publication 2015 / 0053209, published February 26, 2015, titled Oscillating Positive Expiratory Pressure Device, and its full disclosures are hereby incorporated herein by reference. It should be understood that other OPEP devices may be configured with other components that create pressure fluctuations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 47, 48, and 86A and B, a user, such as a patient, interacts with the OPEP device 2 via a mouthpiece 4. The OPEP device includes a housing 6 containing a mouthpiece chamber 48, chambers 14A and 14B, a chamber inlet 16 in communication with the mouthpiece, and one or more chamber outlets 18. Typically, OPEP devices allow the user to inhale and exhale, although some devices may only allow exhalation. The housing 6 has a front section 8, a rear section 10, and an inner casing 12, which can be detached so that the components therein can be periodically accessed, cleaned, or reconfigured, as required to maintain optimal operating conditions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The OPEP device 2 further includes an inhalation port 20, a one-way valve 22, an adjustment mechanism 24, a restricting member 26, a vane 28, a variable nozzle 30, or a valley assembly. As illustrated in Figures 47 and 48, the inner sleeve 12 is configured to fit into the housing 6 between the front section 8 and the rear section 10, partially defining the chamber 14a,b, including the first chamber and the second chamber. The first and second chamber ports 18 are machined within the inner sleeve. The OPEP device 2 may include an adjustment mechanism 24, with an actuator 25, adapted to change the relative position of the chamber inlet 16. The user may adjust both the frequency and amplitude of the OPEP treatment administered by the OPEP device 2 without opening the housing and disassembling the OPEP device components. For example, the OPEP device may have multiple settings, for example, five (5), including high, medium, and low.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The OPEP 2 device may be adapted for use with other or additional interfaces, such as an aerosol delivery device. In this regard, the OPEP 2 device is equipped with an inhalation port 20 in fluid communication with the nozzle 4. As noted above, the inhalation port may include a separate one-way valve 22 configured to allow the user of the OPEP 2 device to both inhale ambient air through the one-way valve 22 and exhale through the chamber inlet 16, without withdrawing the mouthpiece 4 of the OPEP 2 device from the user between inhalations and exhalations. Additionally, the commercially available aerosol delivery devices mentioned above may be connected to the inhalation port 20 for the simultaneous administration of aerosol therapy (upon inhalation) and OPEP therapy (upon exhalation).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The exhaled flow path 40 originates at the nozzle 4 and is directed through the nozzle chamber 48 toward the chamber inlet 16, which may or may not be blocked by the restricting member 26, or the valve assembly, which may include a seat valve and a butterfly valve. After passing through the chamber inlet 16, the exhaled flow path 40 enters the first chamber 14a and rotates 180° toward the variable nozzle 30. After passing through an orifice of the variable nozzle, the exhaled flow path enters the second chamber 14b. In the second chamber 14b, the exhaled flow path 40 may exit the second chamber 41, and ultimately the housing 6, through at least one of the chamber ports 18. It should be understood that the exhaled flow path 40 identified by the dashed line is typical, and that air exhaled into the OPEP device 2 may flow in any number of directions or paths as it passes from the nozzle 4 to the ports 18.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 53-56, a first embodiment of an adapter 400 and a user interface / controller 408 is shown. In general, the adapter 400 includes a body 402, a conduit 404 extending from the body 402, and a plug 406 disposed along and inserted into the conduit 404. The user interface / controller 408, which may include a pressure measuring device disposed at a port 403 of the conduit 404.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The body 402 may be sized and shaped to integrate with existing OPEP devices, for example, as shown in Figures 51, 55, and 59, with the mouthpiece 4 of the OPEP device 2. For example, the body 402 may include 22 mm conical male / female ISO connectors 410 and 412 shaped and sized to connect to the port 414 of the OPEP device 2 and the insertion portion 416 of the mouthpiece 4, respectively. During operation, the mouthpiece 4 is detached from the OPEP device 2, and the conditioner is positioned or coupled between the mouthpiece and the OPEP device. It should be understood that the conditioner may be coupled to other components of the OPEP, such as the inhalation port 20.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Extending from the body 402 is a conduit 404 configured to transmit pressure from within the OPEP 2 device to the user interface / controller 408. The inlet 405 allows pressure within the body 402 to be transmitted to the conduit 404. As illustrated, the conduit 404 extends away from the body 402, then angles alongside the OPEP 2 device, thereby maintaining the portability and ergonomics of the OPEP 2 device, and avoiding the need for long tubing or additional attachments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The user interface / controller 408 is positioned at the outlet 403 of the conduit 404. However, it should be recognized that a portion of the conduit 404 may extend into a conduit in the user interface / controller 408, or another pressure measuring device. Preferably, the user interface / controller 408 may include one or more numeric, color, graphic, or other visual indicators, one or more audible or other auditory indicators, or a combination of one or more of both visual and auditory indicators. In one exemplary embodiment illustrated, the user interface / controller 408 includes a visual display, such as a plurality of LEDs 150 and a display 420, which may display various data, as further described below. Preferably, the user interface / controller 408 is positioned relative to the respiratory therapy device such that the indicator and signals are visible to the user during treatment.<h2 style=";text-align:left;direction:ltr">As shown in the typical embodiment in Figures 51 and 55, the user interface / controller 408 is positioned relative to the respiratory therapy device in the form of an OPEP 2 device such that the visual display 418, 420 is positioned adjacent to the top of the device and can be viewed by the user of the OPEP 2 device during treatment. Referring to Figure 59, the user interface / controller 408 is positioned along the side of the OPEP 2 device, but with the visual display 418 facing the user.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The plug 406 may be inserted by applying appropriate pressure into and / or along the channel 404 at a point where the channel 404 angles together with the OPEP 2 device. In one embodiment, the plug may not be removable, but may be made of a self-sealing material, such as silicone, that allows a needle or other similar instrument to be inserted and removed for cleaning purposes while maintaining a seal. In another embodiment, the plug may be removed periodically to clean the adapter 400. As illustrated in Fig. 52B, the plug 406 includes a breaker 409 that can be aligned with a passage 410 in the channel 404. When the plug 406 is inserted into the channel 404 such that the breaker 409 is partially or fully aligned with the passage 410, a pressure-holding orifice 407 is formed in the channel 404. The pressure-holding orifice 407 is configured to dampen vibrations in the pressures transmitted from the OPEP 2 device to the user interface / controller 408.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The size and shape of the pressure holding orifice 407 may be selectively adjusted by rotating the plug 406 relative to the passage 410, thereby increasing or decreasing the amount of damping. While the pressure holding orifice 407 is shown as adjustable, it should be understood that the size and shape of the pressure holding orifice 407 may be fixed. Furthermore, it should be understood that the pressure holding orifice 407 may be positioned anywhere along the conduit 404 between the body 402 and the user interface / controller 408. However, in order for the pressure holding orifice 407 to effectively dampen pressure fluctuations from the OPEP device 2 to the user interface / controller 408, the cross-sectional area of ​​the pressure holding orifice 407 must be less than the cross-sectional area of ​​the conduit 404 along the entire length of the conduit 404. In this embodiment, the pressure holding orifice 407 has a diameter of 0.5 mm to 1.5 mm, or a cross-sectional area of ​​between 0.196 mm² and 1.767 mm². Preferably, the pressure stabilizer 507 has an orifice diameter of 0.6 mm2 to 0.9 mm2, or a cross-sectional area of ​​between 0.283 mm2 and 0.636 mm2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 66A and B, 68-74B, 79-83, 86A and B, another embodiment of an adapter 600, 900 and a user interface / controller 608, 908 is shown. In general, the adapter 600, 900 includes a T-connector T620 consisting of a cylindrical tube 622 defining a flow channel 624. The tube has first and second terminals 626, 628, each configured as tubular segments, and a port 630 connecting to the flow channel between the first and second terminals. The first end 626 may have a smaller outside diameter than the second end and is shaped and dimensioned to receive a tubular portion 632 of the OPEP, while the second end 628 is shaped and sized to receive a tubular portion 634 of the mouthpiece 4. The port has a cylindrical body 636 and a flange portion 638, an upper face 640. A circumferential groove 642 is formed in the face. The flange portion further defines a circumferential groove 644 extending around the circumference of the cylindrical body. A plurality of tabs 646 extends radially outward from the flange portion, with a tapered lower leading edge 648, or ramp, to promote sliding with the control module 608.<h2 style=";text-align:left;direction:ltr">It extends through the opening 650 across the edge portion adjacent to one side of the transformer, as shown in Fig. 76b.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The flexible membrane 660 includes an annular flange 662 with a flat top face 664 and a downward-extending flange 668. The flange is shaped and dimensioned to fit into the circumferential groove 642 of the port, forming a sealed (airtight) fit with it. The membrane 660 also includes an annular / bellows hinge portion 670, or a thin J-shaped wall attached to a central cylindrical body 672. The membrane is preferably made of silicone rubber, e.g., Silopren silicone rubber available from Mometive. The body 672 is, for example, 2.5 mm thick, so that the body has insufficient mass relative to the bellows portion, 0.30 mm thick, to provide better control response. A lanyard 678 extends downward from the flange at a location diverging from the wall. The lanyard has a tapered nose portion 680 and an annular catch 682 that defines the shoulder. The tapered nose portion facilitates insertion through the slot 650, with the lanyard being pulled through the slot 650 until the catch shoulder engages the underside of the rim.<h2 style=";text-align:left;direction:ltr">The membrane 660 is movable from a first, engaged position, where the ridge 668 is inserted into the groove 642, and a second position, where the ridge is removed from the groove, for example, to allow the underside of the membrane and the inside of the T-connector to be washed or cleaned. A lanyard 678 maintains contact between the membrane and the T-connector when the membrane is moved between the first and second positions. The underside 674 of the membrane is in fluid contact with the flow channel 624 of the T-connector, while the opposite upper side 676 partially defines a chamber 684.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 66A and B, 68-74B, 79-84, 86A and B, the control unit 608, 908 includes a housing 700, 910 having upper and lower casings 702, 704, 912, 914. The lower casing 702, 912 includes a chamber portion 706 that covers the upper side 676 of the membrane, with the upper side and chamber portion of the chamber 684 defined. The chamber portion 706 is generally circular or cylindrical in shape and includes a top wall 708 and a first perimeter wall 710 extending downward from the top wall, with the top wall and first perimeter wall partially defining the chamber. A second perimeter wall 712 is positioned radially outward from the first wall and connected thereto by a web portion 714 having multiple openings. The corresponding set of tabs 716 (as shown in Figure 71) extends diagonally inward from the bottom edge of the second wall, with the tabs spaced 718. In operation, the housing 700 is positioned over the port 630 and the membrane 660, with the tabs 638 on the port aligned with the tabs 718.<h2 style=";text-align:left;direction:ltr">The cover 700, 910 is pressed onto the membrane 660 and rotated so that the tabs 716 are aligned with the tabs 638 on the port (as shown in 5 for each), with the lower portion of the mesh 714 pressed against the upper surface of the membrane rim 662, where the rib / rim 668 is pressed into the groove 642, thus forming a tight seal and securing the inner chamber 684 between the membrane portion and the chamber of the housing. The control unit 608, 908 can be detached reversibly by rotating the control unit relative to the port until the tabs 638 are aligned with the spaces 718, whereupon the two components can be moved axially apart from each other. After detaching, the membrane 660 can also be moved away from the port to allow the membrane and T-connector to be washed / cleaned, retaining it in the T-connector connection via a lanyard.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The chamber portion also includes an annular flange (Fig. 71), or travel / stop member 720, which extends downward from the top wall and is disposed above the membrane. The annular flange does not extend 360 degrees, but has a mouth portion, or opening, positioned adjacent to a sensor port 724, such that air within the volume limits of the annular flange may escape to other parts of the chamber, for example, when the membrane engages the stop member. The stop member 720 is spaced apart from the upper side 676 of its central body portion. The stop member limits upward movement of the central body portion during use. The lower casing 704 extends longitudinally above the top of the OPEP device. Ventilation holes 722 may be configured in its lower wall to provide cooling for the electronic components contained therein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The port 724 is in fluid contact with the inner chamber. In one embodiment, the pressure sensor 730 is coupled to the port, for example, by pressing the sensor against a seal 728, e.g., an O-ring, with the insertion portion 726 of the sensor in fluid contact with the inner chamber. The upper casing 702, 914 is coupled with the lower casing 704, 912 in one embodiment, for example, with fasteners 732, with the upper casing pressing the sensor 730 against the seal. A circuit board 740, 940 and a battery 742, along with the pressure sensor 730, are located in the lower and / or upper casing, which defines the internal space in the housing. The user interface / controller 608 includes a visual display 908, such as a set of (one or more) LEDs 750, a micro USB port 422, an SD card port 424, and an on / off switch 430. In the embodiment of Figures 79-83, the controller includes an accelerometer 930, disposed of and integrated into the circuit board 940. One suitable accelerometer is the MEMS accelerometer part number MMA8452Q available from NXP Semiconductors, for example.<h2 style=";text-align:left;direction:ltr">The accelerometer may be used in place of, or in conjunction with, the switch 430. Preferably, the user interface / controller 608 is positioned relative to the respiratory therapy device so that the indicator and indicators are visible to the user or caregiver during treatment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 86A and B and 87, an oscillating PEP device with a mouthpiece 4, a tubing 620, and a port 20 defining a longitudinal axis 901 is shown in the user's mouth in the use position. The conditioner 900, which includes a control unit 908 containing the housing 910, is connected to the mouthpiece 4, with the upper housing 912 of the housing 910 defining the upper surface 905. At least a portion of the upper surface 905, and in the embodiment of Figure 86A and B the entire upper surface, are spaced longitudinally from the terminal port 903 in the longitudinal direction 907. The upper surface 905 defines a viewing surface 911 visible to the user when the terminal port 903 is positioned in the user's mouth as shown in Figures 86A and B. The viewing surface may be flat or curved. The feedback array 909 is placed or arranged on the inspection surface 911. The feedback array 909 extends diagonally across the inspection surface 911, meaning that it extends in the longitudinal direction 907 as well as the lateral direction (together) 913.<h2 style=";text-align:left;direction:ltr">In one embodiment, the feedback array 909 is substantially linear and extends along axis 915 between opposite corners of the viewing surface 911, although it should be understood that the term "diagonal" as used herein does not require orientation between two corners, but rather only some lateral displacement over some longitudinal displacement. In one embodiment, the feedback array 909 is linear and is arranged along axis 915 to define an angle relative to the longitudinal axis 901 projected onto the same plane, with the feedback array crossing the longitudinal axis 901, or the centerline 927 of the viewing surface 911. The angle a may be between 0 and 90 degrees, more preferably between 15 and 75 degrees, and approximately 28 or 62 degrees in alternative embodiments. It should be understood that the array may be curved, linear, or nonlinear, and may be defined as an array with more than one row in a diagonal direction. In a preferred embodiment, the inspection surface 911 is substantially horizontal when the housing 910 is positioned in a user's mouth with the terminal port 903 positioned in the user's mouth.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the feedback array includes a plurality of spaced lights 919, 921, and 923. In one embodiment, the plurality of lights includes a first final light 917 positioned closest to the user and port 903 and a second final light 925 positioned furthest from the user and port 903. The first final light 917 is adapted to illuminate a first color indicating user input is below a predetermined acceptable range, defined as pressure, frequency, or flow, while the second final light 925 is adapted to illuminate a second color indicating user input is above a predetermined acceptable range, and wherein at least one of the plurality of lights 921 positioned between the first and second final lights 917, 925 is adapted to illuminate a third color indicating user input is within the predetermined acceptable range. In one embodiment, the first color is blue, the second color is red, and the third color is green, although it should be understood that the first, second, and third colors may be any color as long as they are distinct from each other.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, a pair of first end lights 919 are adapted to illuminate the first color and a pair of second end lights 923 are adapted to illuminate the second color, with a plurality of intermediate lights 921, including at least two intermediate lights and in one embodiment four intermediate lights, positioned between the first and second end lights 919, 923.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Preferably, lamps 919, 921, and 923 are LED lamps, which can be illuminated, either collectively or individually, with one or more colors. It should be understood that the first and second end lamps may comprise more than one or two lamps in each group (at each end of the group). LED lamps may be separated or configured as part of a light strip. It should be understood that the array may comprise more than one row of lights, or it may comprise a (rectangular) array of lights, but only with the lights extending along the diagonal illuminated as described.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As illustrated in Figure 87, the inspection surface is configured with directional indicators 931, 933, and 935 below the feedback matrix. The directional indicators include a first arrow 931 below one end of the matrix, first end lights 919 in one embodiment, and a second arrow 933 below the other end of the matrix, or second end lights 923 in another embodiment. A strip 935 forms the basis for the intermediate lights 921 and provides a visual connection between the arrows 931, 933, as well as contrasting the lights 921 with the inspection surface. The directional indicators are preferably of a different color from the surrounding portion of the inspection surface 911. In one embodiment, the arrows 931, 933 are directed toward each other, while in another embodiment, the arrows are directed away from each other.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one embodiment, the first end light 917, or pair of lights 919, is adapted to illuminate a fourth color different from the first color, for example to indicate a low power source, or a low battery 742. For example, the color may be amber or yellow. The first end light 917, or pair 919 thereof, may also illuminate intermittently, or flash, in the fourth color, when the device has low battery power. The first end light 917, or pair 919 thereof, may be adapted to illuminate another color different from the first or fourth color, for example to indicate a dead battery 742. For example, the color may be red. Again, the light or lights may illuminate intermittently, turn on / off, to indicate a dead battery, or may remain lit. After or during charging, the color of the first light(s) may change, for example, blue or green, to show that the device is charged and ready for use. The first terminal light 917, or the pair 919 thereof, may illuminate in the first color (for example, blue) when the device is powered on and ready for use.<h2 style=";text-align:left;direction:ltr">In another embodiment, the first terminal light(s) is adapted to illuminate a fourth color indicating that the device is not associated with a memory storage device, for example when an SD card is missing or not inserted into port 424, or a USB cable is not inserted into the port.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The housing 908 further includes quantitative descriptors 941, 943, 945 applied to the inspection surface 911 adjacent to the feedback matrix 909 and direction signals. The quantitative descriptors include a first quantitative descriptor 941 applied to the inspection surface adjacent to the first extreme end light(s) 917, 919 and a second quantitative descriptor 945 applied to the inspection surface adjacent to the second extreme light 923, 925. In one embodiment, the first quantitative descriptor 941 is the word "LOW" and the second quantitative descriptor 945 is the word "HIGH," although it should be understood that other words, alphanumeric indicators, and / or arrows may also be appropriate to communicate to the user that the feedback array illuminated only adjacent to the first and second quantitative descriptors 941, 945 is not associated with an acceptable flow, pressure, and / or frequency, but rather needs to be increased or decreased, respectively. In one embodiment, a third quantitative descriptor 943 is applied to the inspection surface adjacent to the intermediate lights 921 positioned between the first and second end lights.<h2 style=";text-align:left;direction:ltr">For example, the third quantitative descriptor might be presented as the word "GOOD," "Acceptable," and / or "OK," or some other word or alphanumeric cue that tells the user that the feedback array illuminated in the intermediate region is associated with an acceptable flow, pressure, and / or frequency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one exemplary embodiment, the first extreme end light(s) 912, 919 illuminates in the first color (e.g., blue) when the pressure is less than 10 cm-H2O (“LOW”), the second end light in the second color (e.g., red) when the pressure is greater than 25 cm-H2O (“HIGH”), and the intermediate light(s) 921 illuminates in the third color (e.g., green) when the pressure is greater than or equal to 10 cm-H2O and less than or equal to 25 cm-H2O (“GOOD” or “Very Good”). As shown for example in Table 1 below, different usage sessions are shown, with recorded data showing the percentage of time the user was exhaling in the low, high, and good / well zones. Each row in Table 1 represents a session, with the columns representing the type of data recorded or logged.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Table 1: SD Card RAW Data Log<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It should be understood that the feedback array can be used with other feedback systems, including various auditory and vibratory systems.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">While the OPEP device described herein is one type of respiratory therapy device, it should be understood that the module 908, with the feedback matrix 909, direction indicators 931, 933, 935 and quantitative descriptors 941, 943, 945 may also be connected to and applied to other respiratory therapy devices, including various aspiratory training devices, or the inspection surface 911 and the feedback matrix 909, direction indicators 931, 933, 935 and quantitative descriptors 941, 943, 945 may also be directly applied to other respiratory therapy devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Similarly, unit 908 may be connected to various respiratory care systems, including various drug delivery devices, as illustrated in Figures 88-90. For example, and without limitation, as shown in Figure 88, unit 908 may be practicably connected to a holding chamber, e.g., a valved holding chamber 1000, with a pressurized metered dose inhaler (MDI) 1006 inserted at one end. Unit 908 is arranged in the upper portion of the holding chamber 1000 (two alternate positions A, A' shown) such that the feedback array 909 is visible to the user when the mouthpiece is inserted into the user's mouth. Unit 908 includes the same feedback array 909, directional indicators 931, 933, and 935, and quantitative descriptors 941, 943, and 945 shown in Figure 87.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">During operation, when the MDI 1006 or other drug delivery device is actuated, medication will fill the chamber, for example, when the inhalation valve is closed. A sensor, such as a mechanical flow indicator or pressure sensor, whether separately configured or selected by the inhalation valve or actuator, is in a neutral position because no inhalation has occurred. Accordingly, the feedback array 909 is either unlit or lit to show a ready state. When the user begins to inhale, the inhalation valve will open, creating negative pressure and causing the sensor to actuate or record sufficient inhalation flow / pressure within a predetermined range. The feedback array may provide feedback if the inhaled flow is too low or too high, similar to the feedback array above regarding the exhaled flow / pressure for an OPEP device.<h2 style=";text-align:left;direction:ltr">Alternatively, or in addition to indicating appropriate individual inhalation cycles, one or more lights in the feedback array may illuminate and remain illuminated for an extended period of time upon treatment completion to signal that the user has successfully completed a treatment, e.g., requiring multiple inhalation cycles.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Unit 908 may also be conveniently connected to the dry powder inhaler 1002 as shown in Figure 89 (see configuration B) and / or the nebulizer 1004 as shown in Figure 90 (see configuration C). As with the preceding devices, unit 908 is arranged on top of the nebulizer 1004 or inhaler 1002 so that the inspection surface 911 and the feedback matrix 909 are visible to the user when the mouthpiece 4 is inserted into the user's mouth. Module 908 may include the same feedback matrix 909, directional indicators 931, 933, 935, and quantitative descriptors 941, 943, and 945 shown in Figure 87. The same process occurs with multiple inhalation / exhalation valves, sensors, and / or nebulizer actuators configured as a flow indicator, or with other internal sensors that record flow / pressure providing input to module 908.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should be understood that the inspection surface 911, the feedback matrix 909, the directional indicators 931, 933, 935, and the quantitative descriptors 941, 943, 945 may be directly incorporated into one or more of the storage chamber components, dry powder inhalers, and OPEP nebulizers shown in Figures 86A, B, and 88-90, for example, by providing these features on a top viewing surface 911 of one or more of the housing components (see configurations A', B', C'), including but not limited to the body or mouthpiece thereof, and that these features are not limited to the unit 908. For example, the inspection surface 911 shown in Figure 87 may be machined onto any housing component of those devices as shown in the alternative arrangements (A', B', C') of Figures 88, 89, and 90.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to another embodiment illustrated in Figure 77, the T-connector includes a curved wall 780 extending below the port. The curved wall defines a second chamber 782 in conjunction with the underside 674 of the membrane 660. A damping orifice 784 extends across the curved wall and provides fluid communication between the flow channel 624 and the second chamber 782. In one embodiment, the damping orifice 784 has a diameter in the range of 0.5 to 1.5 mm. In this way, the first and second chambers 684 782 are defined on opposite sides of the membrane, the first chamber being hermetically sealed, with the second chamber 782 in fluid communication with the flow channel via the damping orifice.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 53-56, during OPEP therapy, oscillating backpressure is transmitted to the user of the OPEP device, which the user receives at the mouthpiece. When the conditioner and user interface / controller 408 are connected to this OPEP device, e.g., the OPEP device 2, the oscillating pressure is transmitted from within the body 402 to the user interface / controller 408 via the conduit 404. However, the oscillations in the pressure are relieved by the pressure-holding orifice 407, whereby airflow along the conduit 404 is restricted via the pressure-holding orifice 407. After the pressure is relieved by the pressure-holding orifice 407, the pressure is received and measured by the user interface / controller 408, which in turn provides the user with a visual indication of the pressure achieved during OPEP therapy administration. This allows the user or caregiver to monitor the therapy or treatment regimen to ensure that the appropriate pressures are achieved for the specified time period. In some cases, it may be desirable to follow a treatment regimen or therapy that alternates exhaling at a high pressure for a predetermined period of time and exhaling at a low pressure for a predetermined period of time.<h2 style=";text-align:left;direction:ltr">A visual or audible indication of the pressure achieved during treatment will allow the user or caregiver to determine the level of compliance with the prescribed treatment regimen or therapy. The various components of OPEP and the conditioner are disclosed in U.S. Publication No. US2015 / 0224269A1, published August 13, 2015, the full disclosure of which is hereby incorporated by reference.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The shaded area 50 in Figure 2 represents the internal volume, defined, for example, by the mouthpiece 48, which becomes pressurized when the valve mechanism closes. The shaded area outside the boundaries of the OPEP device represents the "smart" features that involve three processes: input, analysis, and output. Input may come from the high-pressure area 50 as shown in Figure 2, such as the adapter, although it may originate from another part of the device depending on the measurement being performed or recorded.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Inputs<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The term "input" refers to any information entering the intelligent OPEP system, and may take the form of raw data from a sensor, a command to initiate a process, or personal data entered by a user. For example, an input may be a signal from one or more input components, such as a sensor. For example, as illustrated in Figures 3 and 4, the pressure sensor 52 generates an electrical signal as a function of the pressure in the system or chamber 48. The pressure sensor may be used to calculate any of the performance characteristics indicated above, as well as to evaluate the user's technology. The sensor assembly 54 may include a pressure sensor housing 202 disposed on a printed circuit board (PCB), along with a BTLE module 56, a processor (e.g., a microprocessor) 60, an LED indicator 154, memory, wireless communication capabilities, and a battery 58, or solar-assisted charging, and may connect to an output component, e.g., a user's (patient, caregiver, and / or other authorized user's) computing device, such as a mobile device 62, including a smartphone or tablet. The assembly may be configured as removable<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Control unit 608, 908, as shown in Figures 66A-69 and 79-84. A single pressure sensor 52 may provide all measurement requirements. The pressure sensor may be of the differential, absolute, or gauge type. The sensor assembly is connected to the OPEP device, with a cover 64 positioned over the assembly. An input component is considered to be in contact with the chamber 48 if it is capable of sensing or measuring pressure or flow therein, even if the input component is separated from the interior of the chamber, for example, by a membrane or other substrate (see, for example, Figures 60, 61, and 68). The input component is effective for sensing flow and / or pressure and generating an input signal associated with the flow or pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 5a-g, various flow sensors are shown that generate an electrical signal as a function of airflow 70 in the system. The flow sensor can be used to calculate frequency, as well as to evaluate user technology. Flow sensors may include incorporating a Venturi 780 in the form of a mouthpiece chamber (Figure 5a), including pitot tubes 72, which compare the pressure generated by stagnant flow at the pitot tube inlet to the surrounding fluid pressure and determine the fluid velocity (Figure 5b), or using sound transmitters / receivers 74 to measure the time it takes for sound to travel from transmitter 1 (74) to receiver 2 (80), and then from transmitter 2 (80) to receiver 1 (74) (Figure 5c) and calculating flow based on the difference in time, which is proportional to the flow velocity. Alternatively, as shown in Figure 5d, the airflow causes a displacement of a magnetic component 82, which in turn changes the inductance of the coil 84. The inductance of the coil is related to the displacement, which may be related to the flow rate. A bias spring 86 (e.g., tension or compression) may be provided to return the magnet to the “zero flux” position when there is no flux.<h2 style=";text-align:left;direction:ltr">Referring to Figure 5e, the airflow causes the vane 88 to move, changing the resistance of the potentiometer 90, which is related to the flow rate. Again, a biasing spring 92 (e.g., torsion) may be included to return the vane to the "zero flow" position when there is no flow. Referring to Figure 5f, the vane 94, having, for example, a set of blades, rotates in response to the flow, with the shaft speed 96 related to the relative flow rate. Referring to Figure 5g, the flow 70 passes over a heater wire 98, which then begins to cool. More current flows through the wire to maintain a constant temperature, with the measured current being related to the flow rate.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 43a, b, 68, and 82, the control unit 54, 608, 908 is not in fluid communication with the internal volume, e.g., the mouth chamber 48 or the flow channel 624, or the OPEP device, but rather is separated by a flexible membrane 200, 660, which moves in response to changes in pressure within the device, e.g., the chamber 48 or the flow channel 624. In this way, the control unit 54, 608 is connected to the chamber 48 or the flow channel 624 via pulses from the membrane 200, 660, but the control unit 54, 608, 908 is not in fluid communication with the chamber 48 or the flow channel 624.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In this way, the OPEP device or housing can be cleaned without damaging the electronic components, and these components are not in liquid contact with the user's breathing or inhaled and / or exhaled airflow. When the control unit is removed or moved to an unattached position, the flexible membrane 200 remains attached to the housing 6, and the membrane 660 remains connected to the T-connector 620, e.g., to the lanyard, even if the membrane is moved to an unattached position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">At rest, the pressure in the OPEP chamber 48, 14a, 14b, is atmospheric or ambient. The pressure (P) in the flow channel 624 and the first and second chambers 684 and 782 are the same. As the pressure in the chamber or flow channel increases, an upward / outward force is applied to the membrane 200, 660, causing it to move toward the module 54. Since the measuring chamber 202, 684, formed between the membrane 200, 660 and the module, is sealed by the membrane, the air volume in the measuring chamber 202, 684 decreases as the pressure in the chamber 202, 684 increases. The control unit measures the pressure change within the sealed measuring chamber and determines the pressure inside the OPEP chamber 48 (or 14a, 14b), or the flow channel 624, using a conversion algorithm. During inhalation, the pressure in the chamber 48, 14a and / or 14b, and the flow channel 624 becomes negative, imparting an inward or inward force to the diaphragm 202, 660. As the flexible diaphragm is pulled away from the control unit 54, 608, 908, the pressure inside the measuring chamber decreases, or becomes negative.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Again, the control unit 54, 608, 908 measures this chamber pressure and determines the corresponding or actual pressure in the chamber 48 or flow channel 625. As such, the unit 54, 608, 908 measures the pressure without being in fluid contact with the chamber 48, or flow channel 624, and the user's inhaled / exhaled flow.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figures 77 and 78, the damping slot 784 pre-damps the diaphragm pulses 660, which can smooth the pressure curve with fewer pulses, thus providing easier algorithm analysis and more accurate output.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 44, 83, and 84, the controller 158, the BTLE module, the LED indicator, the memory, and the pressure sensor are electrically connected to a power source, e.g., a battery. The controller receives a signal from the pressure sensor and sends / receives data to / from the BTLE module, which then communicates with the mobile device 62, a user interface, and / or another processor. The controller also sends a signal to the LED indicator 154, 750 as required, and can save data and retrieve data from internal memory. Data can be further communicated and stored on a memory card 950, an SD card installed in the port, or connected via a micro USB port. The real-time clock 952 and the backup battery 954 can also be integrated into the PCB 940.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 6 and 7a and b, the flexible sensor 100 is shown as being disposed adjacent to a high-pressure cavity or area defined by the chamber 48. The resistance measured by the flexible sensor is proportional to the amount of flex applied and may be used as an indirect pressure measurement. The flexible sensor may be positioned on the low-pressure side of the silicone membrane 102. The membrane 102 moves in response to increased pressure within the cavity or system, causing the sensor 100, projecting above the membrane or an actuator pad extending from it, to flex. The membrane 102 may include an actuator pad 104 that operates the flexible sensor 100. The resistance change from flexion may be related to the pressure in the system. The electronic components, including the sensor, are separated from the flow path by the membrane 102, preventing contamination. Cleanliness of the flow path may be particularly important for cystic fibrosis patients. At the same time, the electronic components can be easily removed for cleaning and sterilization.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 8a and b, the non-contact position sensor 106 may provide either the absolute or relative position of an object and, like an elastic sensor, may be used to indirectly measure pressure changes. Some types of non-contact position sensors are capacitive displacement sensors, ultrasonic sensors, and proximity sensors. The sensors may be used to measure the displacement of a moving surface in response to pressure changes. At ambient or atmospheric pressure, the base component 108 coupled to a silicone wire 112 is positioned at a distance of "x" mm from the sensor 110. As the pressure increases, the base 108, attached, for example, to a rolling bellows, is moved toward the sensor 110, e.g., the active displacement sensor housing, and the distance "x" decreases. Therefore, the distance between the base 108 and the sensor 110 is inversely proportional to the pressure. If the pressure increases, the distance decreases, and vice versa. The sensor may also measure negative pressure, for example, with an increased distance "x".<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">If the pressure inside the device is too high, the silicone bellows may not be stiff enough to resist the bottom. As shown in Figure 9, an auxiliary spring 112, such as a mechanical compression spring, may be placed between the base 108 and the sensor 110. In this way, the system is able to measure the increased pressures. As with the models of Figures 7a and b, the electronic components of Figures 8a, b, and 9 are separated and isolated from the flow path by the silicone membrane or bellows. In addition, the electronic components may be removable.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figure 10, the linear variable differential regulator (LVDT) 112 is shown. The LVDT is a contact sensor and measures the linear displacement of the flexible membrane 102 or the base 108 shown in the immediately preceding embodiments. The displacement may be pressure-related.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figure 11, conductive membrane 114 is provided. The membrane is made of silicone with conductive properties. As pressure within the system increases, the membrane deflects and the resistance or capacitance changes, which may be related to pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 12, magnet 116 is configured with a spring. As the pressure within the system changes, the distance between the magnet and the Hall Effect sensor 120 may be related to the pressure. A return spring 118 may be coupled to the magnet.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figure 13, a light curtain 122 can be used to determine the displacement of the membrane 124, which is displaced by pressure. As pressure increases, the base or platform portion 126 of the membrane moves across the light curtain 122, with the movement being related to pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figures 5e and 14, the potentiometer vane 88 is positioned in the flow path 70. The amount of vane rotation is proportional to the flow within the chamber and, ultimately, to the pressure. A return spring 92 is incorporated to reset the vane when there is no flow.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figure 15, a Piezo Flex 128 sensor is placed in the flow path. The flexible sensor bends in response to the room airflow. As the sensor bends, the resistance changes. The resistance change may be related to flow rate and pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 16 and 17, proximity sensor 130 is used to detect the presence of nearby objects without physical contact. In this case, proximity sensor 130 is used to detect whether the vane tip 134 is present. Each time the vane oscillates, the sensor detects its position, and the time between oscillations can be calculated. In the closed position, the vane comes within 5 mm of the sensor at the highest resistance setting. A lower resistance setting will reduce the distance between the vane and the sensor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Another embodiment uses a proximity sensor 136 to monitor the control nozzle 30. When the valve / vane mechanism 134 opens and closes to create pressure oscillations, the flow within the device also oscillates. When the flow is high, the control nozzle 30 is in the open state, and when the flow is low, the control nozzle is in the closed state. The open / closed movement of the control nozzle can be detected and converted into a frequency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The accelerometer measures the appropriate acceleration and can be used to calculate the frequency of vibrations as the valve / vane mechanism 26, 134 opens and closes. The accelerometer can be placed on the device at the location that provides the greatest vibration.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A microphone 140, similar to the microphone shown in Figure 18, may be mounted on the printed circuit board and positioned in the same location as the proximity sensor in Figures 16 and / or 17. The microphone picks up the sound of the starting and stopping airflow, as well as any mechanical contact that occurs with the oscillating mechanism.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> LED 142 and photo sensor 144 can be used to calculate the frequency of the oscillating mechanism. In this arrangement, an LED is located on one side of the butterfly valve 146 and a photo sensor is located on the other side. When the valve opens, light passes through the valve seat and is measured by the photo sensor. When the valve closes, or the seat 148 is used, light is prevented from reaching the photo sensor. The timing of this data can be used to calculate the frequency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Another LED / image sensor arrangement is shown in Figure 20. In this arrangement, the LED is located on the far side of the vane chamber 14b, and the image sensor is located on the side wall by one of the exhaust ports 18. Because the vane 134 rotates on one side, it prevents light from reaching the image sensor. Because the vane rotates on the other side, light from the LED is able to reach the image sensor. The timing of this data can be used to calculate frequency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figure 21, the mobile device 62, such as a smartphone, may include an application that provides INPUT if smart features are not integrated into the OPEP device. The application may allow selection of the desired feedback array and adjustment of targets and / or limits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">User quality of life inputs are used to calculate a QoL score that may be related to DFP performance. Different inputs can be used to calculate a QoL score, and algorithms can be designed or modified for different disease types. User input can be performed using an additional input component, such as a computer, or a smartphone app. Some examples of QoL inputs are:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> St. George's Respiratory Questionnaire for COPD<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Simplified questionnaire<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> User's journal<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Steps / Day<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Number of hours the user sits<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The various features and / or inputs of a wake-up device include, but are not limited to, one or more of an accelerometer, pressure sensor, flow sensor, humidity sensor, temperature sensor, mechanical switch / button, pressure switch, flow switch, temperature switch, infrared light sensor, conductive switch / lip on mouthpiece or hand on device / shut-off circuit, humidity sensor, flex sensor on membrane, capacitive displacement, linear variable differential conditioner, conductive membrane, microphone, MAF sensor, hot wire, programmable timer / user / alarm reminder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Various features and / or inputs for session identification (ID), session "start," "stop" times, and "duration" include a software clock and / or algorithm. Various features and / or inputs for "breath count" include, but are not limited to, an accelerometer, pressure sensor, flow sensor, humidity sensor, temperature sensor, microphone, and / or mechanical switch. Inputs and features for average pressure and average frequency include, but are not limited to, one or more of the various sensors disclosed herein throughout. An "instant pressure alert" may include an algorithm that alerts the user in real time when a predetermined (preset) maximum pressure threshold is exceeded. The alert may be visual (LED, display), tactile, or audible.<h2 style=";text-align:left;direction:ltr">At one or more mucus numbers (lung obstruction level), cough numbers, and / or wheezing numbers may be calculated using algorithms from humidity, temperature, and microphone sensor data, including, for example, ratings for each on a scale of 1 to 10. Respiratory temperature may be calculated by the temperature sensor, while respiratory humidity may be calculated by the humidity sensor. The device's alarm timer may be a programmable feature that alerts / reminds the user to use the device. The snooze button may be triggered to reset / snooze the alarm for a predetermined period of time (e.g., 10 minutes) up to a maximum number of resets (e.g., 6), with the reminder automatically turning off. The session pause / play feature provides the user with the flexibility to pause the treatment session, for example, if something important interrupts the session, and then restart the session once it is more convenient. The algorithm calculates the actual usage time, eliminating pause time. The cleaning reminder may be visual (flashing LED lights), audible, or haptic.<h2 style=";text-align:left;direction:ltr">A timed reminder, for example, based on actual time used, number of uses, number of breaths, and / or total time, or a combination thereof, provides cues or reminders to clean the device as recommended. The reminder may be programmed to provide an alert that fits a specific schedule. A device replacement warning provides the user and / or other recipient with cues or a prompt that the device needs to be replaced. The reminder may be visual (flashing LED lights), audible, or tactile. The warning may, for example, be based on actual time used, number of uses, number of breaths, and / or total time, or a combination thereof. The warning may be programmed to provide an alert that fits a specific schedule. A treatment completion notification may be based on an algorithm that calculates session time based on breath volume and session quality (e.g., average pressure within a recommended range (e.g., 10 to 20 cm / H2O)). Data may be transmitted to connected devices (either wired or wireless), including USB, Bluetooth, Wi-Fi, and other known communication systems.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> OUTPUT<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 22 and 23, output is defined as new information leaving the Smart OPEP "system," with information communicated by the output component. Output may take the form of visual, auditory, and sensory feedback, or be related to the user's quality of life and disease progression. A number of outputs and output components are appropriate, including a visual output component, which can be easily integrated into the Smart OPEP device and allows for multiple levels of feedback. For example, an array 150 of three (3) LEDs 152, each a different color, may indicate whether the input is low, high, or acceptable.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Instead of three (3) separate LEDs (e.g., red, amber, and green), a tri-color LED 154 may also be used. If more than three (3) discreet feedback states are required, a bar graph LED 156 may be used. As noted above, outputs may also be conveyed by the preview surface 911, the feedback matrix 909, the directional indicators 931, 933, 935, and the quantitative descriptors 941, 943, 945.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 51, 55, and 59, the user interface may also include a display 420 (e.g., an LED display), which may display various data and information, both in real time and on a command / retrieval platform. The user interface / controller 408 may also include a micro USB port 422 for data transfer and / or charging of the unit. The unit 408 may also include a micro SD card port 424, where an SD card may be inserted for data exchange (upload / download). The unit may also include a microphone and / or speaker 426, which may provide audible output, but also provide audible input and commands that can be recognized, followed, and played / acted upon by the control unit 408. The user interface may include a touchscreen for inputting data and instructions to the control unit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Audible and sensory / tactile (vibration) output components can also be used to provide feedback to the user. For example, sound or vibration occurs when the input is within an acceptable range, or if the input exceeds a certain threshold.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The mobile device 62, or other computer interface, may serve as an output component and provide an interface with a smartphone application as an output if smart features are not integrated into the OPEP device. The application may display real-time performance characteristics, data trends, or games that motivate the user to complete the session.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 62-76B and 83-87, the operation of the smart OPEP provides an intelligent data logger. It should be understood that the user interface and console may be used with other types of respiratory care systems. The user interface provides the patient / user, caregiver (e.g., physician), insurers, and other healthcare providers with various useful information that can be used to improve the patient / user's health. The interface may provide various recipients with information and instructions about when to use the device, alerts if a preset pressure threshold (input) is exceeded, information about when to clean the device (e.g., at regular intervals) with minimal user input, and inform the user and / or other relevant recipients when a treatment session is complete. In one embodiment, the user may pick up the device, use the device with minimal interaction / effort (e.g., no manual recording or interaction with an electronic input device), and then put the device down until the next use.<h2 style=";text-align:left;direction:ltr">The module may record all information collected by the various sensors and other inputs and display it live to the user, for example, via a display 420, or record / store data for later review, for example, by downloading it to an SD card inserted into port 424, or to a computer or other device via a USB port 422. The device may also wirelessly transmit data to a device, such as a computer, a table, a smartphone (e.g., a mobile app), and other known and suitable devices. As mentioned, the module may include a live display 420, or a connection (wired or wireless) to a smart device with a digital display, whereby the module (via the display 420 or microphone 426) or the digital display may alert the user, or other intended recipient, when it is time to conduct a treatment session, inform the user when it is time to clean the device, inform the user when it is time to replace the device, and / or inform the user when the treatment session has been completed.<h2 style=";text-align:left;direction:ltr">The device can also inform the user, or intended recipient, of the session duration, number of breaths taken, average treatment pressure, average treatment frequency, maximum pressure warning, low battery warning, mucus blockage level, cough severity level, wheezing severity level, respiratory temperature, and respiratory humidity level. The device's communication with the user may be visual, auditory, or tactile. The user can also activate a push button, or 430 trigger, to delay or reset a reminder alarm (e.g., snooze) if it is not currently convenient. The trigger can also be activated to turn on (wake-up) or power the unit on.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the embodiment of Figures 79-87, the accelerometer 930 senses motion and wakes the device, for example, motion in the range of 0 to 1 g. Conversely, if the device is left undisturbed, the device times out and automatically goes into sleep mode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">During operation, and referring to Figures 63-76B and 85-85B, the unit may provide a session reminder, e.g., an audible or visual alarm. The time and frequency of reminders may be programmable by the user and / or another provider, locally or remotely. Once the alarm is activated, the user may reset the alarm with a delay (i.e., snooze), e.g., from 10 to 30 minutes by operating the actuator 430, or stop the time entirely, e.g., by pressing the button down or entering a sequence of button pushes. If snooze is not activated, the unit then determines whether input has been received from one or more sensors, including pressure, flow, humidity, temperature, a flexible sensor or diaphragm, capacitive displacement, a conductive membrane of a linear variable differential transformer, and / or a light curtain. For example, input has been detected regarding whether the user is blowing into the device. If input, motion, and / or action is detected, the device will power on, activate the LED, and record the session time / date. If no input or action is detected, the device will reenter sleep mode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Once the device is triggered, for example, by switching on the switch 430, or by detecting motion by the accelerometer 930, with an LED indicating that amount (see Figures 67 and 85a and b), an algorithm calculates and records the average pressure for the session using inputs from another sensor, including, but not limited to, a flexible membrane sensor, a capacitive displacement transducer, a linear variable differential transducer, a conductive membrane and / or a light curtain, or combinations thereof. The frequency of sessions may also be recorded (for example, averaged) based on inputs from one or more sensors, including pressure, an accelerometer, a flexible membrane sensor, a microphone, a capacitive displacement transducer, a linear variable differential transducer, a conductive membrane and / or a light curtain, or combinations thereof. The number of breaths during each session may also be recorded based on input from one or more sensors, including pressure, flow, humidity, temperature, a flexible diaphragm sensor, a microphone, capacitive displacement, a variable linear differential conditioner, a conductive membrane, and / or a light curtain, or combinations thereof.<h2 style=";text-align:left;direction:ltr">As the user continues to interact with the device, for example, by blowing into the device, the sensors and module continue to record and compute data. Once the sensors and module determine that the user is no longer using the device, for example, by blowing into the device, the device may time out after a predetermined period of time (for example, 10 seconds to 5 minutes), or the switch may turn off, along with an LED, or one of the array lights 909, providing an indication that the device is no longer in operation. Data may be stored on an SD card and / or transferred to a mobile application or PC, either wired or wirelessly.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">During use, the visual display may display or provide indications of the session date, start time, session duration timer, session stop / operation interface (e.g., touchscreen operator), respiration counter (expiratory count), average expiratory time, average pressure, average frequency, instantaneous pressure alert (e.g., overflow), mucus number / classification, cough number / classification, wheezing number / classification, respiration temperature, respiration humidity, average expiratory time (%) where pressure >5 cmH2O, device cleaning reminder, or device life status. This same data / information may be stored, along with the session identification and start time. The LED display and matrix 909 may turn off after the session is terminated and the device enters sleep mode.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 65, the trigger may be, for example, a button press, to wake the device, or the accelerometer may wake the device, which activates the visual display, for example, an LED light. When the user blows into the device, for example, a mouthpiece, the algorithm again calculates the number of breaths per session, the average pressure during the session, and the instantaneous (for example, maximum) pressure (manometer) using the pressure sensor 434 or the precise heat flux sensor 436. The LED assembly 909 may provide a real-time visual display, or feedback, to the user about the instantaneous pressure, for example, red (too high or exceeding the maximum limit), amber (reaching / approaching the maximum limit), or green (in a predetermined acceptable range).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The pressure sensor 434, 730 or the precision heat flow sensor 436 with a flexible diaphragm 440, 660 may be separated from the OPEP flow channel, with the diaphragm defining a closed chamber 438, 684 as shown in Figures 60-76B. The indirect pulse pressure generated by the diaphragm 440, 660 in the chamber 438, 684 in response to the pulse pressure in the OPEP is detected by the pressure sensor 434, 730. Similarly, the indirect pulse air flow generated by the diaphragm 440 in response to the pulse pressure in the OPEP is detected by the precision heat flow sensor. For example, the pulse pressure in the OPEP may be 0 to 60 cm H2O. Feature: Performance objectives.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This feature provides feedback to the user based on specific performance goals. For example, if the average pressure is within the range of 10 to 15 cm / s² or 10 to 25 cm / s², this feature will inform the user that their average pressure is too high, too low, or acceptable, including, for example, providing feedback through the 909 Feedback Matrix. The patient or healthcare provider can set performance goals or set limits based on generally accepted treatment protocols.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The general schematic of this feature is shown below in Figure 24 and includes a sensor 154, which may include, but is not limited to, any of the sensors previously disclosed herein, or combinations thereof, the ability to process raw data, including, for example, a processor 158, an output component 150, 154, 156 for displaying feedback, and, if necessary, the ability to manually enter performance limits. The location of the sensor may vary depending on the type of sensor chosen or the performance characteristics being measured, as described herein for various embodiments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The performance characteristics that may be included in this feature are indicated above and in this application. Table 2 below lists typical performance characteristics and various suitable sensors for measuring the characteristics.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Table 2: Performance Characteristics<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Performance characteristics Frequency Average pressure Average true pressure Amplitude Upper pressure Lower pressure<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Pressure sensor XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Flexible Sensor XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Non-contact position sensor XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> LVDT XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Conductive membrane XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Hall Effect Sensor XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Light curtain XXXXXX<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> X-flow sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> potentiometer feather X<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Flexible Piezo Sensor X<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> LED / X-ray image sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> X-Proximity Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Accelerating X<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Microphone X<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The flow chart for this feature is shown in Figure 25. The dashed area represents an integrated model that does not allow modification of the target limits and in this case provides feedback about the mean pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the process, the user first selects the feedback type. "Get Type & Set Type" specifies the performance characteristic to be analyzed. The user then decides whether to use custom targets and enter thresholds. If not, default thresholds are set based on the selected performance characteristics. Next, sensor 154 begins sending raw data, and the selected performance characteristic is calculated. A series of decisions are then made based on the calculated value of the performance characteristic. If the value is greater than the upper threshold, the output is high. If the value is less than the lower threshold, the output is low. If the value is neither, the output is good, with this information reported to the user during use via the feedback array 909. Next, the flowchart checks whether the user has selected "Ending Feedback." If not, the cycle repeats. The above logic provides three confidential feedback states. If necessary, additional logic can be added to provide better feedback accuracy.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The analysis can be completed using a 158 processor, for example, a microcontroller, embedded in the PCB, or it can be performed using an external computing device, such as a mobile device, including a smartphone or tablet. As shown in Table 1, frequency can be determined from any sensor; however, pressure outputs require a pressure sensor (either direct or indirect). In order to calculate frequency from the pressure input, processing techniques such as peak-to-peak time and Fourier<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Analysis or autocorrelation can be used. Figure 1 shows an example of a pressure waveform processed using the peak-to-peak technique.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> If the input is an audio signal, the average can be calculated to simplify the waveform. The simpler waveform can then be processed in the same way as a compression signal to determine frequency. Referring to Figure 26, the raw audio data (bars) were averaged using the Root Sum of Squares technique, and the result is displayed by the line. Each peak (point) is then identified, and the time between peaks is calculated and used to determine frequency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The output of this feature may be visual 160, audible 162, or sensory 164 and may be integrated into the device. An example of an integrated solution is shown in Figures 4 and 27-29. In one embodiment, the integrated solution will not provide for the selection of performance characteristics or adjustment of performance limits. In other embodiments, the integrated solution may provide a user interface that allows such selection and adjustment, for example, via a keypad, buttons, or touchscreen.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 31, the algorithm for calculating performance characteristics includes recording the raw data and filtering or smoothing the raw data to remove any noise, which can be achieved through well-known techniques including the moving average, Butterworth filter, Fourier filter, or Kernel filter. The slope direction is determined using the filtered / smoothed data, whether positive or negative, with increase = +1 and decrease = -1. Slope changes between positive and negative are identified and described as peaks, with changes from negative to positive described as troughs. For each peak and trough, a time stamp and pressure value are recorded. Typical data are shown in Figures 46A and B. Using the time and pressure values ​​for each peak and trough, the frequency, amplitude, and mean are calculated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A frequency analysis can be performed using the time and pressure data shown in Figures 46a and b. The peaks. The time (t) between peaks is calculated, which produces the frequencies (f), with f = fsample / t, where fsample = 1000 Hz.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A computing device, such as a mobile device comprising a smartphone 62, may serve as an output device (and also as a manual input (auxiliary input component) and analysis source). In these examples, the Smart OPEP communicates with the smartphone via a wireless protocol such as Bluetooth as illustrated in Figure 30. The application (app) will allow the user to enter the desired performance characteristics and set limits if necessary (Figure 21). The output display 170 and / or feedback matrix 909 will display the target limits and provide feedback to the user (e.g., too high, too low, or good) as illustrated in Figures 21, 23, 32, and 87.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 33 and 34, another possible output of this feature could be to turn the session into a game. For example, and referring to Figure 33, the bird 180 represents the current performance characteristic value, which must pass through the tubes 182 without departing from the (upper and lower) limits 184 and 186. If frequency and pressure targets are required, care must be taken to ensure that the user is not overwhelmed by the feedback array and is able to compensate for their breathing style to meet the required targets. A custom output graphic could be developed to help the user control two performance characteristics, such as frequency and pressure. Figure 34 shows an example of a simple game that helps the user control both frequency and pressure. The objective of the game is to place the ball in the hole, and the current location of the ball depends on frequency and pressure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figures 45, 85, 85A, and 85B, to begin a treatment session, the user first awakens the OPEP device, for example, by pressing a manual button or automatically while holding the device with the accelerometer 930. Once awakened, the device pairs with a mobile device, such as a smartphone, if available. If a mobile device is available, an application can be opened and any previous data held in the mobile device's memory can be downloaded. The user may be prompted to modify performance goals if desired. Once performance goals are set, the application opens a feedback array so the user can monitor their performance throughout treatment. If a smartphone is not available, previous performance goals are used and data are saved internally. The OPEP device begins monitoring positive pressure. If at any time during treatment the device does not detect a positive change in pressure for a specified period of time, the device saves any treatment data either to the mobile device or internal memory and enters standby mode to conserve power.<h2 style=";text-align:left;direction:ltr">If positive pressure is detected, the OPEP device will begin measuring pressure (positive and negative), calculating performance characteristics such as frequency, amplitude, and average pressures, and providing feedback to the user regarding their technique.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, with reference to the embodiment of Figures 86A, B, and 87, one embodiment of a method for using an oscillating PEP device includes receiving real-time feedback from the feedback array 909. In particular, the user exhales through the tip port to the mouthpiece 4. Before and during the exhalation, the user watches the feedback array positioned on the viewing surface 911 to receive feedback on whether the device is functioning properly, is ready for use, and ultimately, whether the pressure, flow, and fluctuations are within a predetermined acceptable range during use. For example, at least a portion of the feedback array 909 may illuminate to indicate whether the expiratory flow or pressure is within or outside a predetermined acceptable range.<h2 style=";text-align:left;direction:ltr">Specifically, the first end light(s) 917, 919 may illuminate in a first color when the expiratory flow or pressure is below a predetermined acceptable range, the second end light(s) 925, 923 at the opposite end of the array may illuminate in a second color when the expiratory flow or pressure is above the predetermined acceptable range, and at least one of the plurality of lights 921 positioned between the first and second end lights may illuminate in a third color when the expiratory flow or pressure is within the predetermined acceptable range. As stated above, in one embodiment, the first color is blue, the second color is red, and the third color is green. The first end light may include a pair of first end lights 919 or more than two first end lights. The second end light may include a pair of second end lights 923 or more than two second end lights. At least one of the plurality of lights 921 positioned between the first and second lights may include at least two intermediate lights, and in one embodiment, four intermediate lights.<h2 style=";text-align:left;direction:ltr">The user may also view the directional indicators 9231, 933, and 935 that form the basis of the feedback array, and the quantitative descriptors 941, 943, and 945 located adjacent to them, which provide further feedback on the lighting sequence, use, and operation of the device. For example, the user may view quantitative descriptors 941 and 945, along with the illuminated lights, and determine whether they need to increase flow / pressure (e.g., illuminated lights adjacent to the "LOW" descriptor with an arrow pointing toward the intermediate array labeled "GOOD"), or decrease flow / pressure (e.g., illuminated lights adjacent to the "HIGH" descriptor with an arrow pointing toward the intermediate array labeled "GOOD"). While the lights themselves may be sufficient to provide feedback, the combination of lights, directional indicators, and quantitative descriptors increases compliance and proper use through the collective feedback array provided to the user.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The LEDs may also be illuminated in other colors or sequences to provide other indications or feedback. For example, and without limitation, the first end light(s) 917, 919 may illuminate a fourth color different from the first color when the power source drops below a predetermined power level, or the first end light(s) may illuminate a fifth color different from the fourth color when the power source is exhausted. The first end light(s) may also illuminate a fourth color when the device is not associated with a memory storage device, such as an SD card, which is not inserted into an SD card port, or a USB cable is not inserted into a USB port.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By providing user feedback during treatment, the user is more likely to interact with the systems, which can ensure user engagement and, consequently, improve overall treatment adherence. The diagonal orientation of the feedback matrix 909 allows the user to see the progression (left to right or right to left) of the lighting sequence, including from lowest to highest, or from center to outer. The diagonal alignment of the feedback matrix 909 makes it easy for the user to view the feedback matrix 909 with their peripheral vision even when performing other tasks, such as watching television. The diagonal arrangement along the viewing surface is highly visible and avoids the need for the lamps 919, 921, and 923 to protrude too far from the top surface, thus keeping the device as compact as possible. Furthermore, the light sequence and color scheme are easy to understand and provide an attractive user interface.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">One aspect of the embodiments disclosed here relates to data processing. Data recorded by the OPEP may be transferred to an external device, such as a smartphone, tablet, personal computer, etc. If such an external device is unavailable, the data may be stored internally in the OPEP in a data storage unit or other memory and transferred upon the next synchronization between the OPEP and the external device. Software may accompany the OPEP to perform data transfer and analysis.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In order to provide faster and more accurate processing of data, for example from one or more different sensors, generated within the smart OPEP, the data can be wirelessly transmitted to a smartphone and / or a local and / or remote computing device to interpret and act upon the raw sensor data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one implementation, the smart OPEP includes circuitry for transmitting raw sensor data in real time to a local device, such as a smartphone. The smartphone may display graphics or instructions to the user and execute processing software to interpret and act upon the raw data. The smartphone may include software that filters and processes the raw sensor data and outputs relevant status information contained in the raw sensor data to a display on the smartphone. The smartphone or other local computing device may alternatively use its local resources to connect to a remote database or server to retrieve processing instructions or forward the raw sensor data for remote processing and interpretation, and receive the processed and interpreted sensor data back from the remote server for display to the user or caregiver present with the smart OPEP.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition to simply presenting data, statistics, or instructions on a display screen of a smartphone or other local computer near the smart OPEP, proactive processes related to the smart OPEP can be effectively managed and controlled. For example, if a smartphone or other local computer near the smart OPEP determines that sensor data indicates that treatment has ended, or that further treatment is required, the smartphone or other local computing device could communicate this information directly to the patient. Other variations are also being considered, such as where a remote server connected to the smartphone, or in direct communication with the smart OPEP via a communications network, could provide information and instructions to the patient / user.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In other applications, real-time data collected in the smart OPEP and transmitted via the smartphone to a remote server may trigger the remote server to track and notify the supervising physician or caregiver regarding a particular treatment issue during a session or a pattern that develops over time based on a particular user's previous treatment sessions. Based on data from one or more sensors in the smart OPEP, the remote server may generate alerts to be sent via text message, email, or other electronic communication to the user, the user's physician, or other caregiver.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The electronic circuitry in the intelligent OPEP (e.g., the controller arrangement in Figures 4, 44, 83, and 84), the local computing device, and / or the remote server discussed above, may include some or all of the capabilities of a computer connected to a network and / or directly to other computers. As illustrated in Figures 49 and 50, the computer 500 may include a processor 502, a storage device 516, a display or other output device 510, an input device 512, and a network interface device 520, all connected via a bus 508. A battery 503 is connected to the computer and powers it. The computer may be connected to a network. The processor 502 represents a central processing unit of any type of architecture, such as CISC (Complex Instruction Set Computing), RISC (Reduced Instruction Set Computing), VLIW (Very Long Instruction Word), or a hybrid architecture, although any suitable processor may be used. The processor 502 executes instructions and includes the part of the computer 500 that controls the operation of the entire computer.<h2 style=";text-align:left;direction:ltr">Unless depicted in Figures 49 and 50, the processor 502 typically includes a control unit that organizes data and stores programs in memory and transfers data and other information between the various parts of the computer 500. The processor 502 receives input data from the input device 512 and the network 526, reads and stores instructions (e.g., processor executable code) 524 and data in main memory 504, such as random access memory (RAM), non-volatile memory 506, such as read-only memory (ROM), and storage device 516. The processor 502 may present data to a user via the output device 510.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although computer 500 has only one processor 502 and one bus 508, the disclosed embodiment applies equally to computers that may have multiple processors and computers that may have multiple buses with some or all of the different functions performed in different ways.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A storage device 516 represents one or more mechanisms for storing data. For example, the storage device 516 may include a computer-readable medium 522 such as a read-only memory (ROM), random-access memory, non-volatile storage media, optical storage media, flash memory devices, and / or other machine-readable media. In other embodiments, any suitable type of storage medium may be used. Although only one storage device 516 is shown, multiple storage devices and multiple types of storage devices may exist. Furthermore, although the computer 500 is depicted to contain the storage device 516, it may be distributed across other computers, for example, on a server.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The storage device 516 may include a controller (not shown) and a computer-readable medium 522 with instructions 524 executable on the processor 502 to perform the functions described above by reference to processing sensor data, displaying sensor data or instructions based on sensor data, controlling aspects of the intelligent OPEP to change its operation, or communicating with third parties or other remote resources to provide update information or retrieve data from those remote resources. In another embodiment, some or all of the functions are implemented via hardware rather than a processor-based system. In one embodiment, the controller is a web browser, but in other embodiments, the controller may be a database system, file system, email system, media manager, image manager, or may include any other functions capable of accessing data elements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The storage device 516 may also contain additional software and data (not shown), which is not necessary for understanding the invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Output device 510 is the portion of the computer 500 that displays output to the user. The output device 510 may be a liquid crystal display (LCD) known in computer art. In other embodiments, the output device 510 may be replaced by a gas-based or plasma-based flat-panel display or a conventional cathode-ray tube (CRT). In the remaining embodiments, any suitable display device may be used. Although only one output device 510 is displayed, in other embodiments there may be any number of output devices of different or the same type. In one embodiment, the output device 510 displays a user interface. The input device 512 may be a keyboard, mouse, other pointing device, trackball, touchpad, touch screen, keyboard, microphone, voice recognition device, or any other mechanism suitable for the user to input data into the computer 500 and manipulate the user interface discussed previously.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although only one 512 input device is shown, another model may have any number and type of input devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The network interface device 520 provides communication from the computer 500 to the network 526 via any suitable communications protocol. The network interface device 520 sends and receives data items from the network 526 via a wireless or wired transceiver 514. The transceiver 514 may be cellular frequency, radio frequency (RF), infrared (IR), any number of known wireless networks, or wired transmission systems capable of communicating with the network 526 or other intelligent devices 102 having some or all of the features of the exemplary computer of FIGS 49 and 50. The bus 508 may represent one or more buses, e.g., USB, PCI, ISA (Industry Standard Architecture), X-Bus, EISA (Extended Industry Standard Architecture), or any other suitable bus and / or bridge (also called a bus controller).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer 500 may be implemented using any suitable hardware and / or software, such as a personal computer or other electronic computing device. The computer 500 may be a laptop, notebook, tablet, or handheld computer, smartphones, PDAs, pocket computers, devices, telephones, or mainframe computers, which are examples of other possible configurations of the computer 500. The network 526 may be any suitable network and may support any suitable protocol for communication with the computer 500. In one embodiment, the network 526 may support wireless communications. In another embodiment, the network 526 may support wired communications, such as a telephone line or cable. In another embodiment, the network 526 may support the IEEE (Institute of Electrical and Electronics Engineers) 802.3x Ethernet specification. In another embodiment, the network 526 may be the Internet and may support IP (Internet Protocol). In yet another embodiment, the network 526 may be a LAN or WAN. In another embodiment, the network 526 may be a hotspot service provider network.<h2 style=";text-align:left;direction:ltr">In another embodiment, the network 526 may be an intranet. In another embodiment, the network 526 may be a GPRS (General Packet Radio Service) network. In another embodiment, the network 526 may be any suitable cellular data network or cell-based wireless network technology. In yet another embodiment, the network 526 may be an IEEE 802.11 wireless network. In yet another embodiment, the network 526 may be any suitable network or plurality of networks. Although a single network 526 is shown, in other embodiments there may be any number of networks (of the same or different types).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should be understood that the various techniques described herein may be implemented in connection with hardware, software, or, where appropriate, a combination of both. Thus, the methods and devices of the subject matter currently disclosed, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embedded in tangible media, such as floppy disks, CD-ROMs, hard drives, or other machine-readable storage medium, where, when the program code is loaded and executed by a device, such as a computer, the device becomes a device for executing the subject matter currently disclosed. In the case of program code execution on programmable computers, the computing device generally includes a processor, processor-readable storage media (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.<h2 style=";text-align:left;direction:ltr">One or more programs may implement or utilize the operations described in connection with the currently disclosed subject matter, for example, through the use of an application programming interface, reusable controls, or the like. These programs may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, the program(s) may also be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language and may be integrated with hardware implementations. Although exemplary embodiments may suggest using aspects of the currently disclosed subject matter in the context of one or more independent computer systems, the subject matter is not so limited, but may be implemented in connection with any computing environment, such as a network or distributed computing environment. Furthermore, aspects of the currently disclosed subject matter may be implemented on or across a set of processing chips or devices, and storage may similarly be dispersed across a set of devices. Such devices may include, for example, personal computers, network servers, and mobile devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Providing users with feedback regarding their technology is a feature of the smart OPEP that will help improve treatment. The controller 158, which may be located on or within various embodiments of the smart OPEP described herein, communicates with one or more sensors, switches, and / or measuring devices that track or control the operation of the smart OPEP. The controller may store collected data in memory for later download to a receiver, or it may transmit data to a receiver in real time. In addition, the controller may perform some processing of data collected from the sensors, or it may store and transmit raw data. Radio frequency transmitter and / or receiver modules may be coupled to the controller of the smart OPEP to communicate with fixed or handheld computing devices in real time or at a later time when the smart OPEP is within communication range of a communications network to the fixed or handheld computing devices. The controller may include one or more of the features of the computer system 500 shown in Figure 49.<h2 style=";text-align:left;direction:ltr">In addition, one or more sensors, switches, or gauges may be in wired or wireless connection to the control unit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For clarity in displaying other features of the various Smart OPEP embodiments described, the control circuit has been omitted from some of the illustrations. However, it is conceivable that a controller or other processing agent capable of at least managing routing or storing data from the Smart OPEP could be present in one version of these embodiments. In other implementations, the Smart OPEP may not include an internal processor, and the various sensors, gauges, and switches of a particular embodiment may communicate wirelessly directly with a remote controller or other processing device, such as a handheld device or remote server. One example of the circuit is shown in Figures 83-85b. Data collected by the controller or other processing device may be compared with predicted or preprogrammed values ​​in the memory of the local controller or other remote location to provide the basis for feedback on whether the desired performance or treatment is being performed. If the controller is more complex and includes more than the 500 computer components described in Figure 49, all of this processing may be local to the Smart OPEP.<h2 style=";text-align:left;direction:ltr">In more primitive console arrangements, data may simply be date / time stamped and stored locally or remotely for later processing. In one embodiment, data may be stamped locally or remotely with a unique device or patient identifier.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> FEATURE: Performance Limits<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Referring to Figure 35, the patient or HCP can be notified if a pressure threshold is exceeded. The primary purpose of this feature is to ensure patient safety and is a simplified version of the previous feature. For example, OPEP therapy is used after surgery, and patients may need to remain under a certain pressure. The flowchart in Figure 35 is similar to the flowchart in Figure 25, but only has an upper limit. Any of the outputs discussed above can be used for this feature, such as a visual, audible, vibrating, or smartphone screen.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Real-Time DFP Feedback<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The previous features may only inform the user if the input is high, low, or acceptable. An additional feature provides real-time quantitative feedback of the desired performance characteristic.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> All inputs listed in the previous features can be used for this feature:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.1. Pressure Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.2. Flex Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.3. Non-contact Position Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.4. Linear variable differential transformer (LVDT)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.5. Conductive Membrane<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.6. Hall Effect Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.7. Light Curtain<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.8. Flow Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.9. Potentiometer Vane<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.10. Piezo Flex Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.11. LED / Photo Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.12. Proximity Sensor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.2.13. Accelerometer<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">10.2.14. Microphone<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The inputs can be analyzed to determine:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.1. Peak and Decline Detection<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.2. Average peak<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.3. Average valley<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.4. Amplitude<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.5. Mean pressure<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.6. True mean pressure<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 10.3.7. Frequency<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To view DFP in real time, a computer is required, such as a laptop, smartphone, tablet, or other separate device with a screen.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: DFP History<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Another feature provides a way for the patient or HCP to review DFP data from previous sessions. DFP data can be viewed over time, and the user can retrieve and view data by specific time components, including, but not limited to, day, week, month, year, or all time. This allows the user to quickly visualize trends in performance.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Ensure Proper Setting<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This feature provides feedback to the user regarding the appropriate resistance setting. In one embodiment, the OPEP device offers five (5) resistance settings that alter the frequency, amplitude, and average pressure performance. For a given flow rate, increasing the resistance setting results in increased frequency and pressure characteristics. In one embodiment, for example, the IFU of the Aerobika® OPEP device, the correct resistance setting will produce an I:E ratio of 1:3 or 1:4 for 10-20 minutes without excessive strain. Therefore, the inputs will be used to determine the start and end of the inhalation and exhalation cycles. Some possible inputs include a flow sensor, a pressure sensor, or a microphone.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A flow sensor can be placed in the mouthpiece and used to determine the I:E ratio. A single flow sensor, placed at position 1 in Figure 36, should be capable of measuring flow in both directions. It would also be possible to use two (2) unidirectional flow sensors: one at position 1 for exhalation and one at position 2, as shown in Figure 36, for inhalation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A pressure sensor can be used to calculate the I:E ratio. If the pressure is negative, the flow is inhaled, and if the pressure is positive, the flow is exhaled. The pressure sensor can be positioned as shown in Figure 24.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an alternative embodiment, two (2) microphones may be used to calculate the I:E ratio, similar to the dual flow sensors shown in Figure 36. Only one microphone will be able to determine whether the flow is appropriate and not whether it is inhaled or exhaled.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To analyze the I:E ratio, four (4) time points must be defined: the beginning and end of inhalation (T1 and T2), and the beginning and end of exhalation (T3 and T4). The analysis can follow the logic shown in Figure 37. If two (2) sensors are used, additional logic is required to determine whether the flow is inhaled or exhaled.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The output of this feature may provide recommendations to the user to either increase the resistance, decrease the resistance, or leave the resistance setting unchanged. An output component may be built into the device and be either visual, audible, or tactile, as shown in Figures 27-28, or the output may be displayed on a separate device such as a smartphone, other computer, or monitor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Setting Recommendation Based on Previous Data<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This feature will analyze historical DFP data and provide setting recommendations. This feature may calculate the I:E ratio for each breath and then calculate the average I:E ratio for the session. Based on the average I:E ratio, this feature will provide a setting change recommendation using the logic shown in Figure 37 and / or referenced above.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Proper Technique<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This feature will provide the user with training and coaching on the proper technique for performing the OPEP maneuver based on the IFU, and can be updated to other devices. In one embodiment, this feature may take the form of an app that will communicate with the OPEP device via BTLE (see Figure 4 for details).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The appropriate OPEP maneuver depends on several variables, such as the I:E ratio, frequency, pressure, and setting. These inputs were discussed previously.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The ideal OPEP maneuver follows these steps: Inhale slowly, taking a deeper breath than normal but not filling the lungs, hold the breath, and exhale effectively. To analyze step 1, the app needs to know the user's breathing pattern. This is done during the initial setup or training session and can be re-evaluated if the user's performance changes. To begin, the user inhales normally through the device to calculate the baseline inspiratory pressure (IPtidal), or tidal volume (TV). Next, the user will fully inhale through the device to calculate the maximum inspiratory pressure (IPmax), or inspiratory capacity (IC). The app will then calculate a target inspiratory pressure (IPtarget) or volume for step 1, which is greater than the IPtidal (or resting capacity) and less than the IPmax (or inspiratory capacity). The starting point for the IPtarget (or target inspiratory volume) will be the average of the IPtidal and IPmax (or TV and IC).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The next step involves holding your breath for 2-3 seconds. Breath hold = T3 - T2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Next, the user exhales actively, but not forcefully. The frequency and pressures should be within the target range, and the exhalation should last 3-4 times longer than the inhalation. Active exhalation is a personalized description of the OPEP maneuver, so the app will calculate the frequency, average pressure, and I:E ratio in real time, using this information and data to determine whether the appropriate technique is being achieved.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The outputs of this coaching feature will guide the user toward the correct OPEP technique based on the user's breathing pattern and defined performance goals. If any of the above steps are not performed correctly, the app will provide suggestions for changing the user's technique. For example, if the user does not hold their breath before exhaling, the app will provide a reminder. In another example, the app might suggest that the user increase the flow rate because the average pressure is too low and not within acceptable limits. To signal the user's "coaching," the app might ask the user to demonstrate the proper OPEP maneuver multiple times. The app might also play the audio of the proper OPEP maneuver, which might assist the user in actively exhaling. The app might also include training videos that demonstrate the proper technique and examples of people performing proper OPEP maneuvers. The app might also notify the user's healthcare provider (HCP) if the proper technique is not completed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Session Assist<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition to the training feature, the Smart OPEP device can assist the user in following the correct treatment regimen. Session Assist features assist the user or HCP in completing an OPEP session. For the first time, an OPEP session can be confusing and complex. The user needs to count breaths, remember the proper technique, remember when to perform a "huff" cough, etc. For example, the Aerobika® OPEP IFU device recommends the following steps: Perform 10-20 OPEP maneuvers or breaths. After at least 10 breaths, perform 2-3 "huff" coughs. Repeat for 10-20 minutes twice / day on a regular basis, increasing to 3-4 times / day if necessary.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Using predefined inputs, this feature will count the number of breaths and provide feedback to the user, either with the number remaining or the number completed. The app will then remind the user to "huff" after the appropriate number of breaths, then repeat the breath count / cough cycle for 10–20 minutes. The user can enter the total number of breaths to complete or the total session time as a goal and track progress. Session Assist will also track the number of sessions per day, which can be used to determine the user's progress or quality of life.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Quality of Life Score<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This feature converts quantitative data into qualitative data that is easier for the user, HCP, or payer to understand. There are three (3) steps involved: determining a quality of life (QoL) score for the user, relating past DFP performance to the QoL score, and predicting a QoL score based on trends in DFP performance. Various inputs can be used to calculate a QoL score that will be related to DFP performance. Inputs can be both qualitative and quantitative. Algorithms can be designed or modified for different disease types. Some examples of QoL inputs are: St. John's Wort Questionnaire.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The goal is to calculate a QoL score that evolves over time as the user's condition improves or worsens. Initially, the user completes a questionnaire, and a baseline QoL score is calculated. The user's diary will be scanned for keywords such as good day, bad day, cough, wheezing, etc., and the QoL score will be adjusted based on how often the keywords appear (i.e., good day = +1, wheezing = -1). The app may also count (or integrate with another app or device such as a FitBit) the number of steps taken per day and use this information to adjust the QoL score.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Once a QoL score is created, the application will determine the relationship between the QoL score and the measurements in the DFP log. This may require a period of time while the application "learns" how the two variables are related (2). In the following example, after one week of OPEP sessions (2x / day) and the user's daily QoL input, the following linear regression equation is determined: QoL = 5.6xMP - 6.8, as shown in Figure 39. The linear regression equation can also be calculated for each of the other measurable equations, and the equations with the largest magnitude "m" (y = mx + b) are used to predict the QoL score. For example, if the frequency / QoL equation is: QoL = 1.2F + 5.2, it indicates that, for this particular user, changes in frequency are less likely to indicate a change in QoL than changes in mean pressure. A flowchart for this feature is shown in Figure 40. Outputs of this feature include: current and previous QoL score, suggestions for improving QoL score, measurable outcomes against QoL and linear regression results, encouragement when QoL score declines, and / or notification to the HCP when QoL score declines.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Device Status<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This feature provides feedback to the user about the device itself. Several options exist, including notifying the user, HCP, or payer that the device needs to be replaced. This may take the form of an in-app reminder, or it may lock features until a new batch or serial number is entered. The feedback array may also include notifying the user when the device needs cleaning. Cleaning notifications can be based on the number of sessions between cleanings and / or changes in device performance over time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Stakeholder Updates<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A stakeholder is defined as an individual or organization, outside of the patient's immediate family, that has an interest in the patient's condition, treatment, and progress. This stakeholder may include the patient's physician, respiratory therapists, hospital, or insurance company. Some examples of stakeholder updates include: updating an insurance company with user usage data to monitor patient adherence and / or updating a health care provider with the user's progress since the last visit, usage data, and QoL score.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Active OPEP<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 41, a device is disclosed that automatically adjusts resistance to maintain specified performance characteristics (e.g., pressure (amplitude) and / or frequency) within the desired range. The range and / or performance characteristics to be controlled can be pre-programmed into the device or entered by the user as described above. The microprocessor will receive data from the sensor, and the algorithm will decide how to adjust the device. The microprocessor then gives a command to the actuator 190, and the actuator will actually perform the control adjustment, such as valve seat 148 or chamber inlet direction. The encoder 192 will confirm the actuator position and transmit this information back to the microprocessor. This will improve user compliance because all the user needs to do is breathe out into the device. The device will automatically adjust and control the resistance setting to achieve the desired treatment. Another option may be to program variations in frequency or pressure into the algorithm, as some research has shown to be beneficial.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Feature: Lung Health<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 42, one embodiment includes a flow sensor, which makes it possible to assess a patient's lung health by suppressing oscillations and allowing the device to function like a spirometer. The flow sensor must be able to measure flow in both directions (inhalation and exhalation). The algorithm takes the measured flow and generates the flow-volume loop shown below in Figure 42. From the FV loop, several parameters can be calculated and fed back to the patient.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although the present invention has been described with reference to preferred embodiments, those skilled in the art will recognize that variations in form and detail may be made without departing from the spirit and scope of the invention. As such, it is intended that the foregoing detailed description is illustrative and not limiting, and that the appended claims, including all equivalents thereof, are intended to limit the scope of the invention.