(19)
(11)EP 3 506 301 A1

(12)EUROPEAN PATENT APPLICATION

(43)Date of publication:
03.07.2019 Bulletin 2019/27

(21)Application number: 18193671.7

(22)Date of filing:  11.09.2018
(51)International Patent Classification (IPC): 
G16H 40/63(2018.01)
G16H 20/40(2018.01)
(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
KH MA MD TN

(30)Priority: 28.12.2017 US 201762611339 P
28.12.2017 US 201762611340 P
28.12.2017 US 201762611341 P
28.03.2018 US 201862649300 P
29.03.2018 US 201815940663

(71)Applicant: Ethicon LLC
Guaynabo 00969 (PR)

(72)Inventors:
  • YATES, David C.
    Cincinnati, OH Ohio 45242 (US)
  • SHELTON, IV, Frederick E.
    Cincinnati, OH Ohio 45242 (US)

(74)Representative: Bettridge, Paul Sebastian 
Carpmaels & Ransford LLP One Southampton Row
London WC1B 5HA
London WC1B 5HA (GB)

  


(54)SURGICAL SYSTEM DISTRIBUTED PROCESSING


(57) Surgical hub systems are disclosed. A surgical hub system comprises a surgical hub configured to communicably couple to a modular device comprising a sensor configured to detect data associated with the modular device and a device processor. The surgical hub comprises a hub processor, a hub memory coupled to the hub processor. The surgical hub system also comprises a distributed control system executable at least in part by each of the device processor and the hub processor. The distributed control system is configured to: receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments. When in a first mode, the distributed control system is executed by both the hub processor and the device processor. In a second mode, the distributed control system is executed solely by the device processor.




Description

BACKGROUND



[0001] The present disclosure relates to various surgical systems. Surgical procedures are typically performed in surgical operating theaters or rooms in a healthcare facility such as, for example, a hospital. A sterile field is typically created around the patient. The sterile field may include the scrubbed team members, who are properly attired, and all furniture and fixtures in the area. Various surgical devices and systems are utilized in performance of a surgical procedure.

SUMMARY



[0002] In one aspect of the invention, a system is provided. The system comprises a surgical hub configured to communicably couple to a modular device. The modular device comprises a sensor configured to detect data associated with the modular device and a device processor. The surgical hub comprises a hub processor, a hub memory coupled to the hub processor. In addition to the surgical hub, the system also comprises a distributed control system executable at least in part by each of the device processor and the hub processor. The distributed control system is configured to: receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments. When in a first mode, the distributed control system is executed by both the hub processor and the device processor. When in a second mode, the distributed control system is executed solely by the device processor.

[0003] In another aspect of the invention, another system is provided. The system comprises a modular device configured to communicably couple to a surgical hub made up of a hub processor. The modular device comprises a sensor configured to detect data associated with the modular device; a device memory; and a device processor coupled to the device memory and the sensor. In addition to the modular device, the system also comprises a distributed control system executable at least in part by each of the device processor and the hub processor. The distributed control system is configured to receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments. In a first mode, the distributed control system is executed by both the hub processor and the device processor. In a second mode, the distributed control system is executed solely by the device processor.

[0004] In yet another aspect of the invention, another system is provided. The system is configured to control a modular device comprising a sensor configured to detect data associated with the modular device. The system comprises a first surgical hub configured to communicably couple to the modular device and to a second surgical hub comprising a second processor. The first surgical hub comprises a memory and a first processor coupled to the memory. The system also comprises a distributed control system executable at least in part by each of the first processor and the second processor The distributed control system is configured to receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments.

FIGURES



[0005] The features of various aspects are set forth with particularity in the appended claims. The various aspects, however, both as to organization and methods of operation, together with further objects and advantages thereof, may best be understood by reference to the following description, taken in conjunction with the accompanying drawings as follows.

FIG. 1 is a block diagram of a computer-implemented interactive surgical system.

FIG. 2 is a surgical system being used to perform a surgical procedure in an operating room.

FIG. 3 is a surgical hub paired with a visualization system, a robotic system, and an intelligent instrument.

FIG. 4 is a partial perspective view of a surgical hub enclosure, and of a combo generator module slidably receivable in a drawer of the surgical hub enclosure.

FIG. 5 is a perspective view of a combo generator module with bipolar, ultrasonic, and monopolar contacts and a smoke evacuation component.

FIG. 6 illustrates individual power bus attachments for a plurality of lateral docking ports of a lateral modular housing configured to receive a plurality of modules.

FIG. 7 illustrates a vertical modular housing configured to receive a plurality of modules.

FIG. 8 illustrates a surgical data network comprising a modular communication hub configured to connect modular devices located in one or more operating theaters of a healthcare facility, or any room in a healthcare facility specially equipped for surgical operations, to the cloud.

FIG. 9 illustrates a computer-implemented interactive surgical system.

FIG. 10 illustrates a surgical hub comprising a plurality of modules coupled to the modular control tower.

FIG. 11 illustrates one aspect of a Universal Serial Bus (USB) network hub device.

FIG. 12 illustrates a logic diagram of a control system of a surgical instrument or tool.

FIG. 13 illustrates a control circuit configured to control aspects of the surgical instrument or tool.

FIG. 14 illustrates a combinational logic circuit configured to control aspects of the surgical instrument or tool.

FIG. 15 illustrates a sequential logic circuit configured to control aspects of the surgical instrument or tool.

FIG. 16 illustrates a surgical instrument or tool comprising a plurality of motors which can be activated to perform various functions.

FIG. 17 is a schematic diagram of a robotic surgical instrument configured to operate a surgical tool described herein.

FIG. 18 illustrates a block diagram of a surgical instrument programmed to control the distal translation of a displacement member.

FIG. 19 is a schematic diagram of a surgical instrument configured to control various functions.

FIG. 20 is a simplified block diagram of a generator configured to provide inductorless tuning, among other benefits.

FIG. 21 illustrates an example of a generator, which is one form of the generator of FIG. 20.

FIG. 22 illustrates a diagram of a situationally aware surgical system.

FIG. 23A illustrates a logic flow diagram of a process for controlling a modular device according to contextual information derived from received data.

FIG. 23B illustrates a logic flow diagram of a process for controlling a second modular device according to contextual information derived from perioperative data received from a first modular device.

FIG. 23C illustrates a logic flow diagram of a process for controlling a second modular device according to contextual information derived from perioperative data received from a first modular device and the second modular device.

FIG. 23D illustrates a logic flow diagram of a process for controlling a third modular device according to contextual information derived from perioperative data received from a first modular device and a second modular device.

FIG. 24A illustrates a diagram of a surgical hub communicably coupled to a particular set of modular devices and an Electronic Medical Record (EMR) database.

FIG. 24B illustrates a diagram of a smoke evacuator including pressure sensors.

FIG. 25A illustrates a logic flow diagram of a process for determining a procedure type according to smoke evacuator perioperative data.

FIG. 25B illustrates a logic flow diagram of a process for determining a procedure type according to smoke evacuator, insufflator, and medical imaging device perioperative data.

FIG. 25C illustrates a logic flow diagram of a process for determining a procedure type according to medical imaging device perioperative data.

FIG. 25D illustrates a logic flow diagram of a process for determining a procedural step according to insufflator perioperative data.

FIG. 25E illustrates a logic flow diagram of a process for determining a procedural step according to energy generator perioperative data.

FIG. 25F illustrates a logic flow diagram of a process for determining a procedural step according to energy generator perioperative data.

FIG. 25G illustrates a logic flow diagram of a process for determining a procedural step according to stapler perioperative data.

FIG. 25H illustrates a logic flow diagram of a process for determining a patient status according to ventilator, pulse oximeter, blood pressure monitor, and/or EKG monitor perioperative data.

FIG. 25I illustrates a logic flow diagram of a process for determining a patient status according to pulse oximeter, blood pressure monitor, and/or EKG monitor perioperative data.

FIG. 25J illustrates a logic flow diagram of a process for determining a patient status according to ventilator perioperative data.

FIG. 26A illustrates a scanner coupled to a surgical hub for scanning a patient wristband.

FIG. 26B illustrates a scanner coupled to a surgical hub for scanning a list of surgical items.

FIG. 27 illustrates a timeline of an illustrative surgical procedure and the inferences that the surgical hub can make from the data detected at each step in the surgical procedure.

FIG. 28A illustrates a flow diagram depicting the process of importing patient data stored in an EMR database and deriving inferences therefrom.

FIG. 28B illustrates a flow diagram depicting the process of determining control adjustments corresponding to the derived inferences from FIG. 28A.

FIG. 29 illustrates a block diagram of a computer-implemented interactive surgical system.

FIG. 30 illustrates a logic flow diagram of tracking data associated with an operating theater event.

FIG. 31 illustrates a diagram depicting how the data tracked by the surgical hub can be parsed to provide increasingly detailed metrics.

FIG. 32 illustrates a bar graph depicting the number of patients operated on relative to the days of a week for different operating rooms.

FIG. 33 illustrates a bar graph depicting the total downtime between procedures relative to the days of a week for a particular operating room.

FIG. 34 illustrates a bar graph depicting the total downtime per day of the week depicted in FIG. 33 broken down according to each individual downtime instance.

FIG. 35 illustrates a bar graph depicting the average procedure length relative to the days of a week for a particular operating room.

FIG. 36 illustrates a bar graph depicting procedure length relative to procedure type.

FIG. 37 illustrates a bar graph depicting the average completion time for particular procedural steps for different types of thoracic procedures.

FIG. 38 illustrates a bar graph depicting procedure time relative to procedure types.

FIG. 39 illustrates a bar graph depicting operating room downtime relative to the time of day.

FIG. 40 illustrates a bar graph depicting operating room downtime relative to the day of the week.

FIG. 41 illustrates a pair of pie charts depicting the percentage of time that the operating theater is utilized.

FIG. 42 illustrates a bar graph depicting consumed and unused surgical items relative to procedure type.

FIG. 43 illustrates a logic flow diagram of a process for storing data from the modular devices and patient information database for comparison.

FIG. 44 illustrates a diagram of a distributed computing system according to the invention.

FIG. 45 illustrates a logic flow diagram of a process, that may be performed by a system of the invention, for shifting distributed computing resources.

FIG. 46 illustrates a diagram of an imaging system according to the invention, and a surgical instrument bearing a calibration scale.


DESCRIPTION



[0006] Before explaining various aspects of surgical devices and generators in detail, it should be noted that the illustrative examples are not limited in application or use to the details of construction and arrangement of parts illustrated in the accompanying drawings and description. The illustrative examples may be implemented or incorporated in other aspects, variations and modifications, and may be practiced or carried out in various ways. Further, unless otherwise indicated, the terms and expressions employed herein have been chosen for the purpose of describing the illustrative examples for the convenience of the reader and are not for the purpose of limitation thereof.

[0007] Referring to FIG. 1, a computer-implemented interactive surgical system 100 includes one or more surgical systems 102 and a cloud-based system (e.g., the cloud 104 that may include a remote server 113 coupled to a storage device 105). Each surgical system 102 includes at least one surgical hub 106 in communication with the cloud 104 that may include a remote server 113. As illustrated in FIG. 1, the surgical system 102 includes a visualization system 108, a robotic system 110, and a handheld intelligent surgical instrument 112, which are configured to communicate with one another and/or the hub 106. The surgical system 102 may include an M number of hubs 106, an N number of visualization systems 108, an O number of robotic systems 110, and a P number of handheld intelligent surgical instruments 112, where M, N, O, and P are integers greater than or equal to one.

[0008] FIG. 3 depicts an example of a surgical system 102 being used to perform a surgical procedure on a patient who is lying down on an operating table 114 in a surgical operating room 116. A robotic system 110 is used in the surgical procedure as a part of the surgical system 102. The robotic system 110 includes a surgeon's console 118, a patient side cart 120 (surgical robot), and a surgical robotic hub 122. The patient side cart 120 manipulates at least one removably coupled surgical tool 117 through a minimally invasive incision in the body of the patient while the surgeon views the surgical site through the surgeon's console 118. An image of the surgical site is obtained by a medical imaging device 124, which is manipulated by the patient side cart 120 to orient the imaging device 124. The robotic hub 122 is used to process the images of the surgical site for subsequent display to the surgeon through the surgeon's console 118.

[0009] Other types of robotic systems can be readily adapted for use with the surgical system 102. Various examples of robotic systems and surgical tools that are suitable for use with the present disclosure are described in U.S. Provisional Patent Application Serial No. 62/611,339, titled ROBOT ASSISTED SURGICAL PLATFORM, filed December 28, 2017.

[0010] Various examples of cloud-based analytics that are performed by the cloud 104, and are suitable for use with the present disclosure, are described in U.S. Provisional Patent Application Serial No. 62/611,340, titled CLOUD-BASED MEDICAL ANALYTICS, filed December 28, 2017.

[0011] The imaging device 124 includes at least one image sensor and one or more optical components. Suitable image sensors include, but are not limited to, Charge-Coupled Device (CCD) sensors and Complementary Metal-Oxide Semiconductor (CMOS) sensors.

[0012] The optical components of the imaging device 124 include one or more illumination sources and/or one or more lenses. The one or more illumination sources are directed to illuminate portions of the surgical field. The one or more image sensors receive light reflected or refracted from the surgical field, including light reflected or refracted from tissue and/or surgical instruments.

[0013] The one or more illumination sources are configured to radiate electromagnetic energy in the visible spectrum as well as the invisible spectrum. The visible spectrum, sometimes referred to as the optical spectrum or luminous spectrum, is that portion of the electromagnetic spectrum that is visible to (i.e., can be detected by) the human eye and may be referred to as visible light or simply light. A typical human eye will respond to wavelengths in air that are from about 380 nm to about 750 nm.

[0014] The invisible spectrum (i.e., the non-luminous spectrum) is that portion of the electromagnetic spectrum that lies below and above the visible spectrum (i.e., wavelengths below about 380 nm and above about 750 nm). The invisible spectrum is not detectable by the human eye. Wavelengths greater than about 750 nm are longer than the red visible spectrum, and they become invisible infrared (IR), microwave, and radio electromagnetic radiation. Wavelengths less than about 380 nm are shorter than the violet spectrum, and they become invisible ultraviolet, x-ray, and gamma ray electromagnetic radiation.

[0015] The imaging device 124 is configured for use in a minimally invasive procedure. Examples of imaging devices suitable for use with the present disclosure include, but not limited to, an arthroscope, angioscope, bronchoscope, choledochoscope, colonoscope, cytoscope, duodenoscope, enteroscope, esophagogastro-duodenoscope (gastroscope), endoscope, laryngoscope, nasopharyngo-neproscope, sigmoidoscope, thoracoscope, and ureteroscope.

[0016] The imaging device employs multi-spectrum monitoring to discriminate topography and underlying structures. A multi-spectral image is one that captures image data within specific wavelength ranges across the electromagnetic spectrum. The wavelengths are separated by filters or by the use of instruments that are sensitive to particular wavelengths, including light from frequencies beyond the visible light range, e.g., IR and ultraviolet. Spectral imaging can allow extraction of additional information the human eye fails to capture with its receptors for red, green, and blue. The use of multi-spectral imaging is described in greater detail under the heading "Advanced Imaging Acquisition Module" in U.S. Provisional Patent Application Serial No. 62/611,341, titled INTERACTIVE SURGICAL PLATFORM, filed December 28, 2017. Multi-spectrum monitoring can be a useful tool in relocating a surgical field after a surgical task is completed to perform one or more of the previously described tests on the treated tissue.

[0017] It is axiomatic that strict sterilization of the operating room and surgical equipment is required during any surgery. The strict hygiene and sterilization conditions required in a "surgical theater," i.e., an operating or treatment room, necessitate the highest possible sterility of all medical devices and equipment. Part of that sterilization process is the need to sterilize anything that comes in contact with the patient or penetrates the sterile field, including the imaging device 124 and its attachments and components. It will be appreciated that the sterile field may be considered a specified area, such as within a tray or on a sterile towel, that is considered free of microorganisms, or the sterile field may be considered an area, immediately around a patient, who has been prepared for a surgical procedure. The sterile field may include the scrubbed team members, who are properly attired, and all furniture and fixtures in the area.

[0018] The visualization system 108 includes one or more imaging sensors, one or more image processing units, one or more storage arrays, and one or more displays that are strategically arranged with respect to the sterile field, as illustrated in FIG. 2. The visualization system 108 includes an interface for HL7, PACS, and EMR. Various components of the visualization system 108 are described under the heading "Advanced Imaging Acquisition Module" in U.S. Provisional Patent Application Serial No. 62/611,341, titled INTERACTIVE SURGICAL PLATFORM, filed December 28, 2017.

[0019] As illustrated in FIG. 2, a primary display 119 is positioned in the sterile field to be visible to an operator at the operating table 114. In addition, a visualization tower 111 is positioned outside the sterile field. The visualization tower 111 includes a first non-sterile display 107 and a second non-sterile display 109, which face away from each other. The visualization system 108, guided by the hub 106, is configured to utilize the displays 107, 109, and 119 to coordinate information flow to operators inside and outside the sterile field. For example, the hub 106 may cause the visualization system 108 to display a snap-shot of a surgical site, as recorded by an imaging device 124, on a non-sterile display 107 or 109, while maintaining a live feed of the surgical site on the primary display 119. The snap-shot on the non-sterile display 107 or 109 can permit a non-sterile operator to perform a diagnostic step relevant to the surgical procedure, for example.

[0020] The hub 106 is also configured to route a diagnostic input or feedback entered by a non-sterile operator at the visualization tower 111 to the primary display 119 within the sterile field, where it can be viewed by a sterile operator at the operating table. The input is in the form of a modification to the snap-shot displayed on the non-sterile display 107 or 109, which can be routed to the primary display 119 by the hub 106.

[0021] Referring to FIG. 2, a surgical instrument 112 is being used in the surgical procedure as part of the surgical system 102. The hub 106 is also configured to coordinate information flow to a display of the surgical instrument 112. For example, in U.S. Provisional Patent Application Serial No. 62/611,341, titled INTERACTIVE SURGICAL PLATFORM, filed December 28, 2017. A diagnostic input or feedback entered by a non-sterile operator at the visualization tower 111 is routed by the hub 106 to the surgical instrument display 115 within the sterile field, where it is viewed by the operator of the surgical instrument 112. Example surgical instruments that are suitable for use with the surgical system 102 are described under the heading "Surgical Instrument Hardware" and in U.S. Provisional Patent Application Serial No. 62/611,341, titled INTERACTIVE SURGICAL PLATFORM, filed December 28, 2017.

[0022] Referring now to FIG. 3, a hub 106 is depicted in communication with a visualization system 108, a robotic system 110, and a handheld intelligent surgical instrument 112. The hub 106 includes a hub display 135, an imaging module 138, a generator module 140, a communication module 130, a processor module 132, and a storage array 134. As illustrated in FIG. 3, the hub 106 further includes a smoke evacuation module 126 and/or a suction/irrigation module 128.

[0023] During a surgical procedure, energy application to tissue, for sealing and/or cutting, is generally associated with smoke evacuation, suction of excess fluid, and/or irrigation of the tissue. Fluid, power, and/or data lines from different sources are often entangled during the surgical procedure. Valuable time can be lost addressing this issue during a surgical procedure. Detangling the lines may necessitate disconnecting the lines from their respective modules, which may require resetting the modules. The hub modular enclosure 136 offers a unified environment for managing the power, data, and fluid lines, which reduces the frequency of entanglement between such lines.

[0024] A surgical hub is used in a surgical procedure that involves energy application to tissue at a surgical site. The surgical hub includes a hub enclosure and a combo generator module slidably receivable in a docking station of the hub enclosure. The docking station includes data and power contacts. The combo generator module includes two or more of an ultrasonic energy generator component, a bipolar RF energy generator component, and a monopolar RF energy generator component that are housed in a single unit. The combo generator module also includes a smoke evacuation component, at least one energy delivery cable for connecting the combo generator module to a surgical instrument, at least one smoke evacuation component configured to evacuate smoke, fluid, and/or particulates generated by the application of therapeutic energy to the tissue, and a fluid line extending from the remote surgical site to the smoke evacuation component.

[0025] The fluid line is a first fluid line and a second fluid line extends from the remote surgical site to a suction and irrigation module slidably received in the hub enclosure. The hub enclosure comprises a fluid interface.

[0026] Certain surgical procedures may require the application of more than one energy type to the tissue. One energy type may be more beneficial for cutting the tissue, while another different energy type may be more beneficial for sealing the tissue. For example, a bipolar generator can be used to seal the tissue while an ultrasonic generator can be used to cut the sealed tissue. A hub modular enclosure 136 is configured to accommodate different generators, and facilitate an interactive communication therebetween. One of the advantages of the hub modular enclosure 136 is enabling the quick removal and/or replacement of various modules.

[0027] A modular surgical enclosure is used in a surgical procedure that involves energy application to tissue. The modular surgical enclosure includes a first energy-generator module, configured to generate a first energy for application to the tissue, and a first docking station comprising a first docking port that includes first data and power contacts, wherein the first energy-generator module is slidably movable into an electrical engagement with the power and data contacts and wherein the first energy-generator module is slidably movable out of the electrical engagement with the first power and data contacts.

[0028] The modular surgical enclosure also includes a second energy-generator module configured to generate a second energy, different than the first energy, for application to the tissue, and a second docking station comprising a second docking port that includes second data and power contacts, wherein the second energy-generator module is slidably movable into an electrical engagement with the power and data contacts, and wherein the second energy-generator module is slidably movable out of the electrical engagement with the second power and data contacts.

[0029] The modular surgical enclosure also includes a communication bus between the first docking port and the second docking port, configured to facilitate communication between the first energy-generator module and the second energy-generator module.

[0030] Referring to FIGS. 3-7, depicted is a hub modular enclosure 136 that allows the modular integration of a generator module 140, a smoke evacuation module 126, and a suction/irrigation module 128. The hub modular enclosure 136 further facilitates interactive communication between the modules 140, 126, 128. As illustrated in FIG. 5, the generator module 140 is a generator module with integrated monopolar, bipolar, and ultrasonic components supported in a single housing unit 139 slidably insertable into the hub modular enclosure 136. As illustrated in FIG. 5, the generator module 140 is configured to connect to a monopolar device 146, a bipolar device 147, and an ultrasonic device 148. Alternatively, the generator module 140 may comprise a series of monopolar, bipolar, and/or ultrasonic generator modules that interact through the hub modular enclosure 136. The hub modular enclosure 136 is configured to facilitate the insertion of multiple generators and interactive communication between the generators docked into the hub modular enclosure 136 so that the generators would act as a single generator.

[0031] The hub modular enclosure 136 comprises a modular power and communication backplane 149 with external and wireless communication headers to enable the removable attachment of the modules 140, 126, 128 and interactive communication therebetween.

[0032] The hub modular enclosure 136 includes docking stations, or drawers, 151, herein also referred to as drawers, which are configured to slidably receive the modules 140, 126, 128. FIG. 4 illustrates a partial perspective view of a surgical hub enclosure 136, and a combo generator module 145 slidably receivable in a docking station 151 of the surgical hub enclosure 136. A docking port 152 with power and data contacts on a rear side of the combo generator module 145 is configured to engage a corresponding docking port 150 with power and data contacts of a corresponding docking station 151 of the hub modular enclosure 136 as the combo generator module 145 is slid into position within the corresponding docking station 151 of the hub module enclosure 136. The combo generator module 145 includes a bipolar, ultrasonic, and monopolar module and a smoke evacuation module integrated together into a single housing unit 139, as illustrated in FIG. 5.

[0033] The smoke evacuation module 126 includes a fluid line 154 that conveys captured/collected smoke and/or fluid away from a surgical site and to, for example, the smoke evacuation module 126. Vacuum suction originating from the smoke evacuation module 126 can draw the smoke into an opening of a utility conduit at the surgical site. The utility conduit, coupled to the fluid line, is in the form of a flexible tube terminating at the smoke evacuation module 126. The utility conduit and the fluid line define a fluid path extending toward the smoke evacuation module 126 that is received in the hub enclosure 136.

[0034] The suction/irrigation module 128 is coupled to a surgical tool comprising an aspiration fluid line and a suction fluid line. The aspiration and suction fluid lines are in the form of flexible tubes extending from the surgical site toward the suction/irrigation module 128. One or more drive systems are configured to cause irrigation and aspiration of fluids to and from the surgical site.

[0035] The surgical tool includes a shaft having an end effector at a distal end thereof and at least one energy treatment associated with the end effector, an aspiration tube, and an irrigation tube. The aspiration tube has an inlet port at a distal end thereof and the aspiration tube extends through the shaft. Similarly, an irrigation tube extends through the shaft and has an inlet port in proximity to the energy deliver implement. The energy deliver implement is configured to deliver ultrasonic and/or RF energy to the surgical site and is coupled to the generator module 140 by a cable extending initially through the shaft.

[0036] The irrigation tube is in fluid communication with a fluid source, and the aspiration tube is in fluid communication with a vacuum source. The fluid source and/or the vacuum source is housed in the suction/irrigation module 128. In one example, the fluid source and/or the vacuum source is housed in the hub enclosure 136 separately from the suction/irrigation module 128. In such example, a fluid interface is configured to connect the suction/irrigation module 128 to the fluid source and/or the vacuum source.

[0037] The modules 140, 126, 128 and/or their corresponding docking stations on the hub modular enclosure 136 include alignment features that are configured to align the docking ports of the modules into engagement with their counterparts in the docking stations of the hub modular enclosure 136. For example, as illustrated in FIG. 4, the combo generator module 145 includes side brackets 155 that are configured to slidably engage with corresponding brackets 156 of the corresponding docking station 151 of the hub modular enclosure 136. The brackets cooperate to guide the docking port contacts of the combo generator module 145 into an electrical engagement with the docking port contacts of the hub modular enclosure 136.

[0038] The drawers 151 of the hub modular enclosure 136 are the same, or substantially the same size, and the modules are adjusted in size to be received in the drawers 151. The side brackets 155 and/or 156 are larger or smaller depending on the size of the module. Alternatively, the drawers 151 are different in size and are each designed to accommodate a particular module.

[0039] Furthermore, the contacts of a particular module can be keyed for engagement with the contacts of a particular drawer to avoid inserting a module into a drawer with mismatching contacts.

[0040] As illustrated in FIG. 4, the docking port 150 of one drawer 151 can be coupled to the docking port 150 of another drawer 151 through a communications link 157 to facilitate an interactive communication between the modules housed in the hub modular enclosure 136. The docking ports 150 of the hub modular enclosure 136 may alternatively, or additionally, facilitate a wireless interactive communication between the modules housed in the hub modular enclosure 136. Any suitable wireless communication can be employed, such as for example Air Titan-Bluetooth.

[0041] FIG. 6 illustrates individual power bus attachments for a plurality of lateral docking ports of a lateral modular housing 160 configured to receive a plurality of modules of a surgical hub 206. The lateral modular housing 160 is configured to laterally receive and interconnect the modules 161. The modules 161 are slidably inserted into docking stations 162 of lateral modular housing 160, which includes a backplane for interconnecting the modules 161. As illustrated in FIG. 6, the modules 161 are arranged laterally in the lateral modular housing 160. Alternatively, the modules 161 may be arranged vertically in a lateral modular housing.

[0042] FIG. 7 illustrates a vertical modular housing 164 configured to receive a plurality of modules 165 of the surgical hub 106. The modules 165 are slidably inserted into docking stations, or drawers, 167 of vertical modular housing 164, which includes a backplane for interconnecting the modules 165. Although the drawers 167 of the vertical modular housing 164 are arranged vertically, a vertical modular housing 164 may include drawers that are arranged laterally. Furthermore, the modules 165 interact with one another through the docking ports of the vertical modular housing 164. In the example of FIG. 7, a display 177 is provided for displaying data relevant to the operation of the modules 165. In addition, the vertical modular housing 164 includes a master module 178 housing a plurality of sub-modules that are slidably received in the master module 178.

[0043] The imaging module 138 comprises an integrated video processor and a modular light source and is adapted for use with various imaging devices. The imaging device is comprised of a modular housing that can be assembled with a light source module and a camera module. The housing is a disposable housing. The disposable housing is removably coupled to a reusable controller, a light source module, and a camera module. The light source module and/or the camera module are selectively chosen depending on the type of surgical procedure. The camera module comprises a CCD sensor. The camera module comprises a CMOS sensor. The camera module is configured for scanned beam imaging. Likewise, the light source module is configured to deliver a white light or a different light, depending on the surgical procedure.

[0044] During a surgical procedure, removing a surgical device from the surgical field and replacing it with another surgical device that includes a different camera or a different light source can be inefficient. Temporarily losing sight of the surgical field may lead to undesirable consequences. The module imaging device of the present disclosure is configured to permit the replacement of a light source module or a camera module midstream during a surgical procedure, without having to remove the imaging device from the surgical field.

[0045] The imaging device comprises a tubular housing that includes a plurality of channels. A first channel is configured to slidably receive the camera module, which can be configured for a snap-fit engagement with the first channel. A second channel is configured to slidably receive the light source module, which can be configured for a snap-fit engagement with the second channel. The camera module and/or the light source module can be rotated into a final position within their respective channels. A threaded engagement can be employed in lieu of the snap-fit engagement.

[0046] Multiple imaging devices are placed at different positions in the surgical field to provide multiple views. The imaging module 138 are configured to switch between the imaging devices to provide an optimal view. The imaging module 138 is configured to integrate the images from the different imaging device.

[0047] Various image processors and imaging devices suitable for use with the present disclosure are described in U.S. Patent No. 7,995,045, titled COMBINED SBI AND CONVENTIONAL IMAGE PROCESSOR, which issued on August 9, 2011. In addition, U.S. Patent No. 7,982,776, titled SBI MOTION ARTIFACT REMOVAL APPARATUS AND METHOD, which issued on July 19, 2011, describes various systems for removing motion artifacts from image data. Such systems can be integrated with the imaging module 138. Furthermore, U.S. Patent Application Publication No. 2011/0306840, titled CONTROLLABLE MAGNETIC SOURCE TO FIXTURE INTRACORPOREAL APPARATUS, which published on December 15, 2011, and U.S. Patent Application Publication No. 2014/0243597, titled SYSTEM FOR PERFORMING A MINIMALLY INVASIVE SURGICAL PROCEDURE, which published on August 28, 2014.

[0048] FIG. 8 illustrates a surgical data network 201 comprising a modular communication hub 203 configured to connect modular devices located in one or more operating theaters of a healthcare facility, or any room in a healthcare facility specially equipped for surgical operations, to a cloud-based system (e.g., the cloud 204 that includes a remote server 213 coupled to a storage device 205). The modular communication hub 203 comprises a network hub 207 and/or a network switch 209 in communication with a network router. The modular communication hub 203 also is coupled to a local computer system 210 to provide local computer processing and data manipulation. The surgical data network 201 may be configured as passive, intelligent, or switching. A passive surgical data network serves as a conduit for the data, enabling it to go from one device (or segment) to another and to the cloud computing resources. An intelligent surgical data network includes additional features to enable the traffic passing through the surgical data network to be monitored and to configure each port in the network hub 207 or network switch 209. An intelligent surgical data network is referred to as a manageable hub or switch. A switching hub reads the destination address of each packet and then forwards the packet to the correct port.

[0049] Modular devices 1a-1n located in the operating theater are coupled to the modular communication hub 203. The network hub 207 and/or the network switch 209 is/are coupled to a network router 211 to connect the devices 1a-1n to the cloud 204 or the local computer system 210. Data associated with the devices 1a-1n is transferred to cloud-based computers via the router for remote data processing and manipulation. Data associated with the devices 1a-1n is also be transferred to the local computer system 210 for local data processing and manipulation. Modular devices 2a-2m located in the same operating theater also are coupled to a network switch 209. The network switch 209 is coupled to the network hub 207 and/or the network router 211 to connect to the devices 2a-2m to the cloud 204. Data associated with the devices 2a-2n is transferred to the cloud 204 via the network router 211 for data processing and manipulation. Data associated with the devices 2a-2m is also be transferred to the local computer system 210 for local data processing and manipulation.

[0050] It will be appreciated that the surgical data network 201 can be expanded by interconnecting multiple network hubs 207 and/or multiple network switches 209 with multiple network routers 211. The modular communication hub 203 is contained in a modular control tower configured to receive multiple devices 1a-1n/2a-2m. The local computer system 210 also is contained in a modular control tower. The modular communication hub 203 is connected to a display 212 to display images obtained by some of the devices 1a-1n/2a-2m, for example during surgical procedures. The devices 1a-1n/2a-2m include, for example, various modules such as an imaging module 138 coupled to an endoscope, a generator module 140 coupled to an energy-based surgical device, a smoke evacuation module 126, a suction/irrigation module 128, a communication module 130, a processor module 132, a storage array 134, a surgical device coupled to a display, and/or a non-contact sensor module, among other modular devices that are connected to the modular communication hub 203 of the surgical data network 201.

[0051] The surgical data network 201 comprises a combination of network hub(s), network switch(es), and network router(s) connecting the devices 1a-1n/2a-2m to the cloud. Any one of or all of the devices 1a-1n/2a-2m coupled to the network hub or network switch collects data in real time and transfers the data to cloud computers for data processing and manipulation. It will be appreciated that cloud computing relies on sharing computing resources rather than having local servers or personal devices to handle software applications. The word "cloud" is used as a metaphor for "the Internet," although the term is not limited as such. Accordingly, the term "cloud computing" is also used herein to refer to "a type of Internet-based computing," where different services-such as servers, storage, and applications-are delivered to the modular communication hub 203 and/or computer system 210 located in the surgical theater (e.g., a fixed, mobile, temporary, or field operating room or space) and to devices connected to the modular communication hub 203 and/or computer system 210 through the Internet. The cloud infrastructure may be maintained by a cloud service provider. In this context, the cloud service provider is the entity that coordinates the usage and control of the devices 1a-1n/2a-2m located in one or more operating theaters. The cloud computing services can perform a large number of calculations based on the data gathered by smart surgical instruments, robots, and other computerized devices located in the operating theater. The hub hardware enables multiple devices or connections to be connected to a computer that communicates with the cloud computing resources and storage.

[0052] Applying cloud computer data processing techniques on the data collected by the devices 1a-1n/2a-2m, the surgical data network provides improved surgical outcomes, reduced costs, and improved patient satisfaction. At least some of the devices 1a-1n/2a-2m are employed to view tissue states to assess leaks or perfusion of sealed tissue after a tissue sealing and cutting procedure. At least some of the devices 1a-1n/2a-2m are employed to identify pathology, such as the effects of diseases, using the cloud-based computing to examine data including images of samples of body tissue for diagnostic purposes. This includes localization and margin confirmation of tissue and phenotypes. At least some of the devices 1a-1n/2a-2m are employed to identify anatomical structures of the body using a variety of sensors integrated with imaging devices and techniques such as overlaying images captured by multiple imaging devices. The data gathered by the devices 1a-1n/2a-2m, including image data, is transferred to the cloud 204 or the local computer system 210 or both for data processing and manipulation including image processing and manipulation. The data is analyzed to improve surgical procedure outcomes by determining if further treatment, such as the application of endoscopic intervention, emerging technologies, a targeted radiation, targeted intervention, and precise robotics to tissue-specific sites and conditions, is pursued. Such data analysis employs outcome analytics processing, and using standardized approaches may provide beneficial feedback to either confirm surgical treatments and the behavior of the surgeon or suggest modifications to surgical treatments and the behavior of the surgeon.

[0053] The operating theater devices 1a-1n are connected to the modular communication hub 203 over a wired channel or a wireless channel depending on the configuration of the devices 1a-1n to a network hub. The network hub 207 is implemented as a local network broadcast device that works on the physical layer of the Open System Interconnection (OSI) model. The network hub provides connectivity to the devices 1a-1n located in the same operating theater network. The network hub 207 collects data in the form of packets and sends them to the router in half duplex mode. The network hub 207 does not store any media access control/internet protocol (MAC/IP) to transfer the device data. Only one of the devices 1a-1n can send data at a time through the network hub 207. The network hub 207 has no routing tables or intelligence regarding where to send information and broadcasts all network data across each connection and to a remote server 213 (FIG. 9) over the cloud 204. The network hub 207 can detect basic network errors such as collisions, but having all information broadcast to multiple ports can be a security risk and cause bottlenecks.

[0054] The operating theater devices 2a-2m are connected to a network switch 209 over a wired channel or a wireless channel. The network switch 209 works in the data link layer of the OSI model. The network switch 209 is a multicast device for connecting the devices 2a-2m located in the same operating theater to the network. The network switch 209 sends data in the form of frames to the network router 211 and works in full duplex mode. Multiple devices 2a-2m can send data at the same time through the network switch 209. The network switch 209 stores and uses MAC addresses of the devices 2a-2m to transfer data.

[0055] The network hub 207 and/or the network switch 209 are coupled to the network router 211 for connection to the cloud 204. The network router 211 works in the network layer of the OSI model. The network router 211 creates a route for transmitting data packets received from the network hub 207 and/or network switch 211 to cloud-based computer resources for further processing and manipulation of the data collected by any one of or all the devices 1a-1n/2a-2m. The network router 211 is employed to connect two or more different networks located in different locations, such as, for example, different operating theaters of the same healthcare facility or different networks located in different operating theaters of different healthcare facilities. The network router 211 sends data in the form of packets to the cloud 204 and works in full duplex mode. Multiple devices can send data at the same time. The network router 211 uses IP addresses to transfer data.

[0056] The network hub 207 is implemented as a USB hub, which allows multiple USB devices to connect to a host computer. The USB hub expands a single USB port into several tiers so that there are more ports available to connect devices to the host system computer. The network hub 207 includes wired or wireless capabilities to receive information over a wired channel or a wireless channel. A wireless USB short-range, high-bandwidth wireless radio communication protocol is employed for communication between the devices 1a-1n and devices 2a-2m located in the operating theater.

[0057] The operating theater devices 1a-1n/2a-2m communicate to the modular communication hub 203 via Bluetooth wireless technology standard for exchanging data over short distances (using short-wavelength UHF radio waves in the ISM band from 2.4 to 2.485 GHz) from fixed and mobile devices and building personal area networks (PANs). The operating theater devices 1a-1n/2a-2m communicates to the modular communication hub 203 via a number of wireless or wired communication standards or protocols, including but not limited to Wi-Fi (IEEE 802.11 family), WiMAX (IEEE 802.16 family), IEEE 802.20, long-term evolution (LTE), and Ev-DO, HSPA+, HSDPA+, HSUPA+, EDGE, GSM, GPRS, CDMA, TDMA, DECT, and Ethernet derivatives thereof, as well as any other wireless and wired protocols that are designated as 3G, 4G, 5G, and beyond. The computing module includes a plurality of communication modules. For instance, a first communication module is dedicated to shorter-range wireless communications such as Wi-Fi and Bluetooth, and a second communication module is dedicated to longer-range wireless communications such as GPS, EDGE, GPRS, CDMA, WiMAX, LTE, Ev-DO, and others.

[0058] The modular communication hub 203 serves as a central connection for one or all of the operating theater devices 1a-1n/2a-2m and handles a data type known as frames. Frames carry the data generated by the devices 1a-1n/2a-2m. When a frame is received by the modular communication hub 203, it is amplified and transmitted to the network router 211, which transfers the data to the cloud computing resources by using a number of wireless or wired communication standards or protocols, as described herein.

[0059] The modular communication hub 203 can be used as a standalone device or be connected to compatible network hubs and network switches to form a larger network. The modular communication hub 203 is generally easy to install, configure, and maintain, making it a good option for networking the operating theater devices 1a-1n/2a-2m.

[0060] FIG. 9 illustrates a computer-implemented interactive surgical system 200. The computer-implemented interactive surgical system 200 is similar in many respects to the computer-implemented interactive surgical system 100. For example, the computer-implemented interactive surgical system 200 includes one or more surgical systems 202, which are similar in many respects to the surgical systems 102. Each surgical system 202 includes at least one surgical hub 206 in communication with a cloud 204 that may include a remote server 213. In one aspect, the computer-implemented interactive surgical system 200 comprises a modular control tower 236 connected to multiple operating theater devices such as, for example, intelligent surgical instruments, robots, and other computerized devices located in the operating theater. As shown in FIG. 10, the modular control tower 236 comprises a modular communication hub 203 coupled to a computer system 210. As illustrated in the example of FIG. 9, the modular control tower 236 is coupled to an imaging module 238 that is coupled to an endoscope 239, a generator module 240 that is coupled to an energy device 241, a smoke evacuator module 226, a suction/irrigation module 228, a communication module 230, a processor module 232, a storage array 234, a smart device/instrument 235 optionally coupled to a display 237, and a non-contact sensor module 242. The operating theater devices are coupled to cloud computing resources and data storage via the modular control tower 236. A robot hub 222 also is connected to the modular control tower 236 and to the cloud computing resources. The devices/instruments 235, visualization systems 208, among others, is coupled to the modular control tower 236 via wired or wireless communication standards or protocols, as described herein. The modular control tower 236 is coupled to a hub display 215 (e.g., monitor, screen) to display and overlay images received from the imaging module, device/instrument display, and/or other visualization systems 208. The hub display also displays data received from devices connected to the modular control tower in conjunction with images and overlaid images.

[0061] FIG. 10 illustrates a surgical hub 206 comprising a plurality of modules coupled to the modular control tower 236. The modular control tower 236 comprises a modular communication hub 203, e.g., a network connectivity device, and a computer system 210 to provide local processing, visualization, and imaging, for example. As shown in FIG. 10, the modular communication hub 203 is connected in a tiered configuration to expand the number of modules (e.g., devices) that may be connected to the modular communication hub 203 and transfer data associated with the modules to the computer system 210, cloud computing resources, or both. As shown in FIG. 10, each of the network hubs/switches in the modular communication hub 203 includes three downstream ports and one upstream port. The upstream network hub/switch is connected to a processor to provide a communication connection to the cloud computing resources and a local display 217. Communication to the cloud 204 is made either through a wired or a wireless communication channel.

[0062] The surgical hub 206 employs a non-contact sensor module 242 to measure the dimensions of the operating theater and generate a map of the surgical theater using either ultrasonic or laser-type non-contact measurement devices. An ultrasound-based non-contact sensor module scans the operating theater by transmitting a burst of ultrasound and receiving the echo when it bounces off the perimeter walls of an operating theater as described under the heading "Surgical Hub Spatial Awareness Within an Operating Room" in U.S. Provisional Patent Application Serial No. 62/611,341, titled INTERACTIVE SURGICAL PLATFORM, filed December 28, 2017, in which the sensor module is configured to determine the size of the operating theater and to adjust Bluetooth-pairing distance limits. A laser-based non-contact sensor module scans the operating theater by transmitting laser light pulses, receiving laser light pulses that bounce off the perimeter walls of the operating theater, and comparing the phase of the transmitted pulse to the received pulse to determine the size of the operating theater and to adjust Bluetooth pairing distance limits, for example.

[0063] The computer system 210 comprises a processor 244 and a network interface 245. The processor 244 is coupled to a communication module 247, storage 248, memory 249, non-volatile memory 250, and input/output interface 251 via a system bus. The system bus is any of several types of bus structure(s) including the memory bus or memory controller, a peripheral bus or external bus, and/or a local bus using any variety of available bus architectures including, but not limited to, 9-bit bus, Industrial Standard Architecture (ISA), Micro-Charmel Architecture (MSA), Extended ISA (EISA), Intelligent Drive Electronics (IDE), VESA Local Bus (VLB), Peripheral Component Interconnect (PCI), USB, Advanced Graphics Port (AGP), Personal Computer Memory Card International Association bus (PCMCIA), Small Computer Systems Interface (SCSI), or any other proprietary bus.

[0064] The processor 244 is any single-core or multicore processor such as those known under the trade name ARM Cortex by Texas Instruments. In one aspect, the processor may be an LM4F230H5QR ARM Cortex-M4F Processor Core, available from Texas Instruments, for example, comprising an on-chip memory of 256 KB single-cycle flash memory, or other non-volatile memory, up to 40 MHz, a prefetch buffer to improve performance above 40 MHz, a 32 KB single-cycle serial random access memory (SRAM), an internal read-only memory (ROM) loaded with StellarisWare® software, a 2 KB electrically erasable programmable read-only memory (EEPROM), and/or one or more pulse width modulation (PWM) modules, one or more quadrature encoder inputs (QEI) analogs, one or more 12-bit analog-to-digital converters (ADCs) with 12 analog input channels, details of which are available for the product datasheet.

[0065] In one aspect, the processor 244 comprises a safety controller comprising two controller-based families such as TMS570 and RM4x, known under the trade name Hercules ARM Cortex R4, also by Texas Instruments. The safety controller is configured specifically for IEC 61508 and ISO 26262 safety critical applications, among others, to provide advanced integrated safety features while delivering scalable performance, connectivity, and memory options.

[0066] The system memory includes volatile memory and non-volatile memory. The basic input/output system (BIOS), containing the basic routines to transfer information between elements within the computer system, such as during start-up, is stored in non-volatile memory. For example, the non-volatile memory can include ROM, programmable ROM (PROM), electrically programmable ROM (EPROM), EEPROM, or flash memory. Volatile memory includes random-access memory (RAM), which acts as external cache memory. Moreover, RAM is available in many forms such as SRAM, dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM).

[0067] The computer system 210 also includes removable/non-removable, volatile/non-volatile computer storage media, such as for example disk storage. The disk storage includes, but is not limited to, devices like a magnetic disk drive, floppy disk drive, tape drive, Jaz drive, Zip drive, LS-60 drive, flash memory card, or memory stick. In addition, the disk storage can include storage media separately or in combination with other storage media including, but not limited to, an optical disc drive such as a compact disc ROM device (CD-ROM), compact disc recordable drive (CD-R Drive), compact disc rewritable drive (CD-RW Drive), or a digital versatile disc ROM drive (DVD-ROM). To facilitate the connection of the disk storage devices to the system bus, a removable or non-removable interface may be employed.

[0068] It is to be appreciated that the computer system 210 includes software that acts as an intermediary between users and the basic computer resources described in a suitable operating environment. Such software includes an operating system. The operating system, which can be stored on the disk storage, acts to control and allocate resources of the computer system. System applications take advantage of the management of resources by the operating system through program modules and program data stored either in the system memory or on the disk storage. It is to be appreciated that various components described herein can be implemented with various operating systems or combinations of operating systems.

[0069] A user enters commands or information into the computer system 210 through input device(s) coupled to the I/O interface 251. The input devices include, but are not limited to, a pointing device such as a mouse, trackball, stylus, touch pad, keyboard, microphone, joystick, game pad, satellite dish, scanner, TV tuner card, digital camera, digital video camera, web camera, and the like. These and other input devices connect to the processor through the system bus via interface port(s). The interface port(s) include, for example, a serial port, a parallel port, a game port, and a USB. The output device(s) use some of the same types of ports as input device(s). Thus, for example, a USB port is used to provide input to the computer system and to output information from the computer system to an output device. An output adapter is provided to illustrate that there are some output devices like monitors, displays, speakers, and printers, among other output devices that require special adapters. The output adapters include, by way of illustration and not limitation, video and sound cards that provide a means of connection between the output device and the system bus. It should be noted that other devices and/or systems of devices, such as remote computer(s), provide both input and output capabilities.

[0070] The computer system 210 operates in a networked environment using logical connections to one or more remote computers, such as cloud computer(s), or local computers. The remote cloud computer(s) can be a personal computer, server, router, network PC, workstation, microprocessor-based appliance, peer device, or other common network node, and the like, and typically includes many or all of the elements described relative to the computer system. For purposes of brevity, only a memory storage device is illustrated with the remote computer(s). The remote computer(s) is logically connected to the computer system through a network interface and then physically connected via a communication connection. The network interface encompasses communication networks such as local area networks (LANs) and wide area networks (WANs). LAN technologies include Fiber Distributed Data Interface (FDDI), Copper Distributed Data Interface (CDDI), Ethernet/IEEE 802.3, Token Ring/IEEE 802.5 and the like. WAN technologies include, but are not limited to, point-to-point links, circuit-switching networks like Integrated Services Digital Networks (ISDN) and variations thereon, packet-switching networks, and Digital Subscriber Lines (DSL).

[0071] The computer system 210 of FIG. 10, the imaging module 238 and/or visualization system 208, and/or the processor module 232 of FIGS. 9-10, comprises an image processor, image processing engine, media processor, or any specialized digital signal processor (DSP) used for the processing of digital images. The image processor employs parallel computing with single instruction, multiple data (SIMD) or multiple instruction, multiple data (MIMD) technologies to increase speed and efficiency. The digital image processing engine can perform a range of tasks. The image processor may be a system on a chip with multicore processor architecture.

[0072] The communication connection(s) refers to the hardware/software employed to connect the network interface to the bus. While the communication connection is shown for illustrative clarity inside the computer system, it can also be external to the computer system 210. The hardware/software necessary for connection to the network interface includes, for illustrative purposes only, internal and external technologies such as modems, including regular telephone-grade modems, cable modems, and DSL modems, ISDN adapters, and Ethernet cards.

[0073] FIG. 11 illustrates a functional block diagram of a USB network hub 300 device. The USB network hub device 300 employs a TUSB2036 integrated circuit hub by Texas Instruments. The USB network hub 300 is a CMOS device that provides an upstream USB transceiver port 302 and up to three downstream USB transceiver ports 304, 306, 308 in compliance with the USB 2.0 specification. The upstream USB transceiver port 302 is a differential root data port comprising a differential data minus (DM0) input paired with a differential data plus (DP0) input. The three downstream USB transceiver ports 304, 306, 308 are differential data ports where each port includes differential data plus (DP1-DP3) outputs paired with differential data minus (DM1-DM3) outputs.

[0074] The USB network hub 300 device is implemented with a digital state machine instead of a microcontroller, and no firmware programming is required. Fully compliant USB transceivers are integrated into the circuit for the upstream USB transceiver port 302 and all downstream USB transceiver ports 304, 306, 308. The downstream USB transceiver ports 304, 306, 308 support both full-speed and low-speed devices by automatically setting the slew rate according to the speed of the device attached to the ports. The USB network hub 300 device may be configured either in bus-powered or self-powered mode and includes a hub power logic 312 to manage power.

[0075] The USB network hub 300 device includes a serial interface engine 310 (SIE). The SIE 310 is the front end of the USB network hub 300 hardware and handles most of the protocol described in chapter 8 of the USB specification. The SIE 310 typically comprehends signaling up to the transaction level. The functions that it handles include: packet recognition, transaction sequencing, SOP, EOP, RESET, and RESUME signal detection/generation, clock/data separation, non-return-to-zero invert (NRZI) data encoding/decoding and bit-stuffing, CRC generation and checking (token and data), packet ID (PID) generation and checking/decoding, and/or serial-parallel/parallel-serial conversion. The 310 receives a clock input 314 and is coupled to a suspend/resume logic and frame timer 316 circuit and a hub repeater circuit 318 to control communication between the upstream USB transceiver port 302 and the downstream USB transceiver ports 304, 306, 308 through port logic circuits 320, 322, 324. The SIE 310 is coupled to a command decoder 326 via interface logic to control commands from a serial EEPROM via a serial EEPROM interface 330.

[0076] The USB network hub 300 connects 127 functions configured in up to six logical layers (tiers) to a single computer. Further, the USB network hub 300 connects to all peripherals using a standardized four-wire cable that provides both communication and power distribution. The power configurations are bus-powered and self-powered modes. The USB network hub 300 is configured to support four modes of power management: a bus-powered hub, with either individual-port power management or ganged-port power management, and the self-powered hub, with either individual-port power management or ganged-port power management. Using a USB cable, the USB network hub 300, the upstream USB transceiver port 302 is plugged into a USB host controller, and the downstream USB transceiver ports 304, 306, 308 are exposed for connecting USB compatible devices, and so forth.

Surgical Instrument Hardware



[0077] FIG. 12 illustrates a logic diagram of a control system 470 of a surgical instrument or tool. The system 470 comprises a control circuit. The control circuit includes a microcontroller 461 comprising a processor 462 and a memory 468. One or more of sensors 472, 474, 476, for example, provide real-time feedback to the processor 462. A motor 482, driven by a motor driver 492, operably couples a longitudinally movable displacement member to drive the I-beam knife element. A tracking system 480 is configured to determine the position of the longitudinally movable displacement member. The position information is provided to the processor 462, which is programmed or configured to determine the position of the longitudinally movable drive member as well as the position of a firing member, firing bar, and I-beam knife element. Additional motors are provided at the tool driver interface to control I-beam firing, closure tube travel, shaft rotation, and articulation. A display 473 displays a variety of operating conditions of the instruments and includes touch screen functionality for data input. Information displayed on the display 473 is overlaid with images acquired via endoscopic imaging modules.

[0078] The microcontroller 461 may be any single-core or multicore processor such as those known under the trade name ARM Cortex by Texas Instruments. The main microcontroller 461 may be an LM4F230H5QR ARM Cortex-M4F Processor Core, available from Texas Instruments, for example, comprising an on-chip memory of 256 KB single-cycle flash memory, or other non-volatile memory, up to 40 MHz, a prefetch buffer to improve performance above 40 MHz, a 32 KB single-cycle SRAM, and internal ROM loaded with StellarisWare® software, a 2 KB EEPROM, one or more PWM modules, one or more QEI analogs, and/or one or more 12-bit ADCs with 12 analog input channels, details of which are available for the product datasheet.

[0079] The microcontroller 461 comprises a safety controller comprising two controller-based families such as TMS570 and RM4x, known under the trade name Hercules ARM Cortex R4, also by Texas Instruments. The safety controller is configured specifically for IEC 61508 and ISO 26262 safety critical applications, among others, to provide advanced integrated safety features while delivering scalable performance, connectivity, and memory options.

[0080] The microcontroller 461 is programmed to perform various functions such as precise control over the speed and position of the knife and articulation systems. The microcontroller 461 includes a processor 462 and a memory 468. The electric motor 482 may be a brushed direct current (DC) motor with a gearbox and mechanical links to an articulation or knife system. A motor driver 492 is an A3941 available from Allegro Microsystems, Inc. Other motor drivers may be readily substituted for use in the tracking system 480 comprising an absolute positioning system. A detailed description of an absolute positioning system is described in U.S. Patent Application Publication No. 2017/0296213, titled SYSTEMS AND METHODS FOR CONTROLLING A SURGICAL STAPLING AND CUTTING INSTRUMENT, which published on October 19, 2017.

[0081] The microcontroller 461 is programmed to provide precise control over the speed and position of displacement members and articulation systems. The microcontroller 461 is configured to compute a response in the software of the microcontroller 461. The computed response is compared to a measured response of the actual system to obtain an "observed" response, which is used for actual feedback decisions. The observed response is a favorable, tuned value that balances the smooth, continuous nature of the simulated response with the measured response, which detects outside influences on the system.

[0082] The motor 482 is controlled by the motor driver 492 and is employed by the firing system of the surgical instrument or tool. The motor 482 is a brushed DC driving motor having a maximum rotational speed of approximately 25,000 RPM. Alernatively, the motor 482 includes a brushless motor, a cordless motor, a synchronous motor, a stepper motor, or any other suitable electric motor. The motor driver 492 comprises an H-bridge driver comprising field-effect transistors (FETs), for example. The motor 482 is powered by a power assembly releasably mounted to the handle assembly or tool housing for supplying control power to the surgical instrument or tool. The power assembly comprises a battery which includes a number of battery cells connected in series that can be used as the power source to power the surgical instrument or tool. In certain circumstances, the battery cells of the power assembly are replaceable and/or rechargeable. In at least one example, the battery cells can be lithium-ion batteries which are couplable to and separable from the power assembly.

[0083] The motor driver 492 may be an A3941 available from Allegro Microsystems, Inc. The A3941 492 is a full-bridge controller for use with external N-channel power metal-oxide semiconductor field-effect transistors (MOSFETs) specifically designed for inductive loads, such as brush DC motors. The driver 492 comprises a unique charge pump regulator that provides full (>10 V) gate drive for battery voltages down to 7 V and allows the A3941 to operate with a reduced gate drive, down to 5.5 V. A bootstrap capacitor is employed to provide the above battery supply voltage required for N-channel MOSFETs. An internal charge pump for the high-side drive allows DC (100% duty cycle) operation. The full bridge is driven in fast or slow decay modes using diode or synchronous rectification. In the slow decay mode, current recirculation can be through the high-side or the lowside FETs. The power FETs are protected from shoot-through by resistor-adjustable dead time. Integrated diagnostics provide indications of undervoltage, overtemperature, and power bridge faults and are configured to protect the power MOSFETs under most short circuit conditions. Other motor drivers are readily substituted for use in the tracking system 480 comprising an absolute positioning system.

[0084] The tracking system 480 comprises a controlled motor drive circuit arrangement comprising a position sensor 472. The position sensor 472 for an absolute positioning system provides a unique position signal corresponding to the location of a displacement member. The displacement member represents a longitudinally movable drive member comprising a rack of drive teeth for meshing engagement with a corresponding drive gear of a gear reducer assembly. The displacement member represents the firing member, which could be adapted and configured to include a rack of drive teeth. The displacement member represents a firing bar or the I-beam, each of which can be adapted and configured to include a rack of drive teeth. Accordingly, as used herein, the term displacement member is used generically to refer to any movable member of the surgical instrument or tool such as the drive member, the firing member, the firing bar, the I-beam, or any element that can be displaced. The longitudinally movable drive member is coupled to the firing member, the firing bar, and the I-beam. Accordingly, the absolute positioning system can, in effect, track the linear displacement of the I-beam by tracking the linear displacement of the longitudinally movable drive member. The displacement member is coupled to any position sensor 472 suitable for measuring linear displacement. Thus, the longitudinally movable drive member, the firing member, the firing bar, or the I-beam, or combinations thereof, are coupled to any suitable linear displacement sensor. Linear displacement sensors include contact or non-contact displacement sensors. Linear displacement sensors comprise linear variable differential transformers (LVDT), differential variable reluctance transducers (DVRT), a slide potentiometer, a magnetic sensing system comprising a movable magnet and a series of linearly arranged Hall effect sensors, a magnetic sensing system comprising a fixed magnet and a series of movable, linearly arranged Hall effect sensors, an optical sensing system comprising a movable light source and a series of linearly arranged photo diodes or photo detectors, an optical sensing system comprising a fixed light source and a series of movable linearly, arranged photo diodes or photo detectors, or any combination thereof.

[0085] The electric motor 482 can include a rotatable shaft that operably interfaces with a gear assembly that is mounted in meshing engagement with a set, or rack, of drive teeth on the displacement member. A sensor element is operably coupled to a gear assembly such that a single revolution of the position sensor 472 element corresponds to some linear longitudinal translation of the displacement member. An arrangement of gearing and sensors is connected to the linear actuator, via a rack and pinion arrangement, or a rotary actuator, via a spur gear or other connection. A power source supplies power to the absolute positioning system and an output indicator may display the output of the absolute positioning system. The displacement member represents the longitudinally movable drive member comprising a rack of drive teeth formed thereon for meshing engagement with a corresponding drive gear of the gear reducer assembly. The displacement member represents the longitudinally movable firing member, firing bar, I-beam, or combinations thereof.

[0086] A single revolution of the sensor element associated with the position sensor 472 is equivalent to a longitudinal linear displacement d1 of the of the displacement member, where d1 is the longitudinal linear distance that the displacement member moves from point "a" to point "b" after a single revolution of the sensor element coupled to the displacement member. The sensor arrangement may be connected via a gear reduction that results in the position sensor 472 completing one or more revolutions for the full stroke of the displacement member. The position sensor 472 may complete multiple revolutions for the full stroke of the displacement member.

[0087] A series of switches, where n is an integer greater than one, is employed alone or in combination with a gear reduction to provide a unique position signal for more than one revolution of the position sensor 472. The state of the switches are fed back to the microcontroller 461 that applies logic to determine a unique position signal corresponding to the longitudinal linear displacement d1 + d2 + ... dn of the displacement member. The output of the position sensor 472 is provided to the microcontroller 461. The position sensor 472 of the sensor arrangement comprises a magnetic sensor, an analog rotary sensor like a potentiometer, or an array of analog Hall-effect elements, which output a unique combination of position signals or values.

[0088] The position sensor 472 comprisea any number of magnetic sensing elements, such as, for example, magnetic sensors classified according to whether they measure the total magnetic field or the vector components of the magnetic field. The techniques used to produce both types of magnetic sensors encompass many aspects of physics and electronics. The technologies used for magnetic field sensing include search coil, fluxgate, optically pumped, nuclear precession, SQUID, Hall-effect, anisotropic magnetoresistance, giant magnetoresistance, magnetic tunnel junctions, giant magnetoimpedance, magnetostrictive/piezoelectric composites, magnetodiode, magnetotransistor, fiber-optic, magneto-optic, and microelectromechanical systems-based magnetic sensors, among others.

[0089] The position sensor 472 for the tracking system 480 comprising an absolute positioning system comprises a magnetic rotary absolute positioning system. The position sensor 472 may be implemented as an AS5055EQFT single-chip magnetic rotary position sensor available from Austria Microsystems, AG. The position sensor 472 is interfaced with the microcontroller 461 to provide an absolute positioning system. The position sensor 472 is a low-voltage and low-power component and includes four Hall-effect elements in an area of the position sensor 472 that is located above a magnet. A high-resolution ADC and a smart power management controller are also provided on the chip. A coordinate rotation digital computer (CORDIC) processor, also known as the digit-by-digit method and Volder's algorithm, is provided to implement a simple and efficient algorithm to calculate hyperbolic and trigonometric functions that require only addition, subtraction, bitshift, and table lookup operations. The angle position, alarm bits, and magnetic field information are transmitted over a standard serial communication interface, such as a serial peripheral interface (SPI) interface, to the microcontroller 461. The position sensor 472 provides 12 or 14 bits of resolution. The position sensor 472 may be an AS5055 chip provided in a small QFN 16-pin 4x4x0.85mm package.

[0090] The tracking system 480 comprising an absolute positioning system comprises and/or is programmed to implement a feedback controller, such as a PID, state feedback, and adaptive controller. A power source converts the signal from the feedback controller into a physical input to the system: in this case the voltage. Other examples include a PWM of the voltage, current, and force. Other sensor(s) may be provided to measure physical parameters of the physical system in addition to the position measured by the position sensor 472. The other sensor(s) can include sensor arrangements such as those described in U.S. Patent No. 9,345,481, titled STAPLE CARTRIDGE TISSUE THICKNESS SENSOR SYSTEM, which issued on May 24, 2016; U.S. Patent Application Publication No. 2014/0263552, titled STAPLE CARTRIDGE TISSUE THICKNESS SENSOR SYSTEM, which published on September 18, 2014; and U.S. Patent Application Serial No. 15/628,175, titled TECHNIQUES FOR ADAPTIVE CONTROL OF MOTOR VELOCITY OF A SURGICAL STAPLING AND CUTTING INSTRUMENT, filed June 20, 2017. In a digital signal processing system, an absolute positioning system is coupled to a digital data acquisition system where the output of the absolute positioning system will have a finite resolution and sampling frequency. The absolute positioning system comprises a compare-and-combine circuit to combine a computed response with a measured response using algorithms, such as a weighted average and a theoretical control loop, that drive the computed response towards the measured response. The computed response of the physical system takes into account properties like mass, inertial, viscous friction, inductance resistance, etc., to predict what the states and outputs of the physical system will be by knowing the input.

[0091] The absolute positioning system provides an absolute position of the displacement member upon power-up of the instrument, without retracting or advancing the displacement member to a reset (zero or home) position as may be required with conventional rotary encoders that merely count the number of steps forwards or backwards that the motor 482 has taken to infer the position of a device actuator, drive bar, knife, or the like.

[0092] A sensor 474, such as, for example, a strain gauge or a micro-strain gauge, is configured to measure one or more parameters of the end effector, such as, for example, the amplitude of the strain exerted on the anvil during a clamping operation, which is indicative of the closure forces applied to the anvil. The measured strain is converted to a digital signal and provided to the processor 462. Alternatively, or in addition to the sensor 474, a sensor 476, such as, for example, a load sensor, measures the closure force applied by the closure drive system to the anvil. The sensor 476, such as, for example, a load sensor, can measure the firing force applied to an I-beam in a firing stroke of the surgical instrument or tool. The I-beam is configured to engage a wedge sled, which is configured to upwardly cam staple drivers to force out staples into deforming contact with an anvil. The I-beam also includes a sharpened cutting edge that is used to sever tissue as the I-beam is advanced distally by the firing bar. Alternatively, a current sensor 478 is employed to measure the current drawn by the motor 482. The force required to advance the firing member corresponds to the current drawn by the motor 482, for example. The measured force is converted to a digital signal and provided to the processor 462.

[0093] The strain gauge sensor 474 is used to measure the force applied to the tissue by the end effector. A strain gauge is coupled to the end effector to measure the force on the tissue being treated by the end effector. A system for measuring forces applied to the tissue grasped by the end effector comprises a strain gauge sensor 474, such as, for example, a micro-strain gauge, that is configured to measure one or more parameters of the end effector, for example. The strain gauge sensor 474 measures the amplitude or magnitude of the strain exerted on a jaw member of an end effector during a clamping operation, which is indicative of the tissue compression. The measured strain is converted to a digital signal and provided to a processor 462 of the microcontroller 461. A load sensor 476 measures the force used to operate the knife element, for example, to cut the tissue captured between the anvil and the staple cartridge. A magnetic field sensor is employed to measure the thickness of the captured tissue. The measurement of the magnetic field sensor also may be converted to a digital signal and provided to the processor 462.

[0094] The measurements of the tissue compression, the tissue thickness, and/or the force required to close the end effector on the tissue, as respectively measured by the sensors 474, 476, is used by the microcontroller 461 to characterize the selected position of the firing member and/or the corresponding value of the speed of the firing member. A memory 468 stores a technique, an equation, and/or a lookup table which is employed by the microcontroller 461 in the assessment.

[0095] The control system 470 of the surgical instrument or tool also comprises wired or wireless communication circuits to communicate with the modular communication hub as shown in FIGS. 8-11.

[0096] FIG. 13 illustrates a control circuit 500 configured to control aspects of the surgical instrument or tool. The control circuit 500 is configured to implement various processes described herein. The control circuit 500 comprises a microcontroller comprising one or more processors 502 (e.g., microprocessor, microcontroller) coupled to at least one memory circuit 504. The memory circuit 504 stores machine-executable instructions that, when executed by the processor 502, cause the processor 502 to execute machine instructions to implement various processes described herein. The processor 502 is any one of a number of single-core or multicore processors known in the art. The memory circuit 504 comprises volatile and non-volatile storage media. The processor 502 includes an instruction processing unit 506 and an arithmetic unit 508. The instruction processing unit is configured to receive instructions from the memory circuit 504 of this disclosure.

[0097] FIG. 14 illustrates a combinational logic circuit 510 configured to control aspects of the surgical instrument or tool. The combinational logic circuit 510 can be configured to implement various processes described herein. The combinational logic circuit 510 comprises a finite state machine comprising a combinational logic 512 configured to receive data associated with the surgical instrument or tool at an input 514, process the data by the combinational logic 512, and provide an output 516.

[0098] FIG. 15 illustrates a sequential logic circuit 520 configured to control aspects of the surgical instrument or tool. The sequential logic circuit 520 or the combinational logic 522 is configured to implement various processes described herein. The sequential logic circuit 520 comprises a finite state machine. The sequential logic circuit 520 comprises a combinational logic 522, at least one memory circuit 524, and a clock 529, for example. The at least one memory circuit 524 stores a current state of the finite state machine. The sequential logic circuit 520 is synchronous or asynchronous. The combinational logic 522 is configured to receive data associated with the surgical instrument or tool from an input 526, process the data by the combinational logic 522, and provide an output 528. The circuit comprises a combination of a processor (e.g., processor 502, FIG. 13) and a finite state machine to implement various processes herein. The finite state machine comprises a combination of a combinational logic circuit (e.g., combinational logic circuit 510, FIG. 14) and the sequential logic circuit 520.

[0099] FIG. 16 illustrates a surgical instrument or tool comprising a plurality of motors which are activated to perform various functions. A first motor is activated to perform a first function, a second motor is activated to perform a second function, a third motor is activated to perform a third function, a fourth motor is activated to perform a fourth function, and so on. The plurality of motors of robotic surgical instrument 600 are individually activated to cause firing, closure, and/or articulation motions in the end effector. The firing, closure, and/or articulation motions are transmitted to the end effector through a shaft assembly, for example.

[0100] The surgical instrument system or tool includes a firing motor 602. The firing motor 602 is operably coupled to a firing motor drive assembly 604 which is configured to transmit firing motions, generated by the motor 602 to the end effector, in particular to displace the I-beam element. The firing motions generated by the motor 602 cause the staples to be deployed from the staple cartridge into tissue captured by the end effector and/or the cutting edge of the I-beam element to be advanced to cut the captured tissue, for example. The I-beam element is retracted by reversing the direction of the motor 602.

[0101] The surgical instrument or tool includes a closure motor 603. The closure motor 603 is operably coupled to a closure motor drive assembly 605 which is configured to transmit closure motions, generated by the motor 603 to the end effector, in particular to displace a closure tube to close the anvil and compress tissue between the anvil and the staple cartridge. The closure motions cause the end effector to transition from an open configuration to an approximated configuration to capture tissue, for example. The end effector is transitioned to an open position by reversing the direction of the motor 603.

[0102] The surgical instrument or tool includes one or more articulation motors 606a, 606b, for example. The motors 606a, 606b are operably coupled to respective articulation motor drive assemblies 608a, 608b, which are configured to transmit articulation motions generated by the motors 606a, 606b to the end effector. The articulation motions causes the end effector to articulate relative to the shaft, for example.

[0103] As described above, the surgical instrument or tool includes a plurality of motors which are configured to perform various independent functions. The plurality of motors of the surgical instrument or tool are individually or separately activated to perform one or more functions while the other motors remain inactive. For example, the articulation motors 606a, 606b are activated to cause the end effector to be articulated while the firing motor 602 remains inactive. Alternatively, the firing motor 602 is activated to fire the plurality of staples, and/or to advance the cutting edge, while the articulation motor 606 remains inactive. Furthermore the closure motor 603 is activated simultaneously with the firing motor 602 to cause the closure tube and the I-beam element to advance distally as described in more detail hereinbelow.

[0104] The surgical instrument or tool includes a common control module 610 which is employed with a plurality of motors of the surgical instrument or tool. The common control module 610 accommodates one of the plurality of motors at a time. For example, the common control module 610 is couplable to and separable from the plurality of motors of the robotic surgical instrument individually. A plurality of the motors of the surgical instrument or tool shares one or more common control modules such as the common control module 610. A plurality of motors of the surgical instrument or tool are individually and selectively engaged with the common control module 610. The common control module 610 is selectively switched from interfacing with one of a plurality of motors of the surgical instrument or tool to interfacing with another one of the plurality of motors of the surgical instrument or tool.

[0105] The common control module 610 is selectively switched between operable engagement with the articulation motors 606a, 606b and operable engagement with either the firing motor 602 or the closure motor 603. As illustrated in FIG. 16, a switch 614 is moved or transitioned between a plurality of positions and/or states. In a first position 616, the switch 614 electrically couples the common control module 610 to the firing motor 602; in a second position 617, the switch 614 electrically couples the common control module 610 to the closure motor 603; in a third position 618a, the switch 614 electrically couples the common control module 610 to the first articulation motor 606a; and in a fourth position 618b, the switch 614 electrically couples the common control module 610 to the second articulation motor 606b, for example. In certain instances, separate common control modules 610 are electrically coupled to the firing motor 602, the closure motor 603, and the articulations motor 606a, 606b at the same time. The switch 614 may be a mechanical switch, an electromechanical switch, a solid-state switch, or any suitable switching mechanism.

[0106] Each of the motors 602, 603, 606a, 606b comprises a torque sensor to measure the output torque on the shaft of the motor. The force on an end effector is sensed in any conventional manner, such as by force sensors on the outer sides of the jaws or by a torque sensor for the motor actuating the jaws.

[0107] As illustrated in FIG. 16, the common control module 610 comprises a motor driver 626 which comprises one or more H-Bridge FETs. The motor driver 626 modulates the power transmitted from a power source 628 to a motor coupled to the common control module 610 based on input from a microcontroller 620 (the "controller"), for example. The microcontroller 620 is employed to determine the current drawn by the motor while the motor is coupled to the common control module 610, as described above.

[0108] The microcontroller 620 includes a microprocessor 622 (the "processor") and one or more non-transitory computer-readable mediums or memory units 624 (the "memory"). The memory 624 stores various program instructions, which when executed cause the processor 622 to perform a plurality of functions and/or calculations described herein. One or more of the memory units 624 is coupled to the processor 622.

[0109] The power source 628 is employed to supply power to the microcontroller 620. The power source 628 may comprise a battery (or "battery pack" or "power pack"), such as a lithium-ion battery, for example. The battery pack is configured to be releasably mounted to a handle for supplying power to the surgical instrument 600. A number of battery cells connected in series is used as the power source 628. The power source 628 may be replaceable and/or rechargeable.

[0110] The processor 622 controls the motor driver 626 to control the position, direction of rotation, and/or velocity of a motor that is coupled to the common control module 610. The processor 622 signals the motor driver 626 to stop and/or disable a motor that is coupled to the common control module 610. It should be understood that the term "processor" as used herein includes any suitable microprocessor, microcontroller, or other basic computing device that incorporates the functions of a computer's central processing unit (CPU) on an integrated circuit or, at most, a few integrated circuits. The processor is a multipurpose, programmable device that accepts digital data as input, processes it according to instructions stored in its memory, and provides results as output. It is an example of sequential digital logic, as it has internal memory. Processors operate on numbers and symbols represented in the binary numeral system.

[0111] The processor 622 may be any single-core or multicore processor such as those known under the trade name ARM Cortex by Texas Instruments. The microcontroller 620 may be an LM 4F230H5QR, available from Texas Instruments. the Texas Instruments LM4F230H5QR is an ARM Cortex-M4F Processor Core comprising an on-chip memory of 256 KB single-cycle flash memory, or other non-volatile memory, up to 40 MHz, a prefetch buffer to improve performance above 40 MHz, a 32 KB single-cycle SRAM, an internal ROM loaded with StellarisWare® software, a 2 KB EEPROM, one or more PWM modules, one or more QEI analogs, one or more 12-bit ADCs with 12 analog input channels, among other features that are readily available for the product datasheet. Other microcontrollers may be readily substituted for use with the module 4410. Accordingly, the present disclosure should not be limited in this context.

[0112] The memory 624 includes program instructions for controlling each of the motors of the surgical instrument 600 that are couplable to the common control module 610. The memory 624 includes program instructions for controlling the firing motor 602, the closure motor 603, and the articulation motors 606a, 606b. Such program instructions cause the processor 622 to control the firing, closure, and articulation functions in accordance with inputs from algorithms or control programs of the surgical instrument or tool.

[0113] One or more mechanisms and/or sensors such as sensors 630 are employed to alert the processor 622 to the program instructions that should be used in a particular setting. The sensors 630 alert the processor 622 to use the program instructions associated with firing, closing, and articulating the end effector. The sensors 630 comprise position sensors which are be employed to sense the position of the switch 614. Accordingly, the processor 622 uses the program instructions associated with firing the I-beam of the end effector upon detecting, through the sensors 630 , that the switch 614 is in the first position 616; the processor 622 uses the program instructions associated with closing the anvil upon detecting, through the sensors 630 , that the switch 614 is in the second position 617; and the processor 622 uses the program instructions associated with articulating the end effector upon detecting, through the sensors 630 , that the switch 614 is in the third or fourth position 618a, 618b.

[0114] FIG. 17 is a schematic diagram of a robotic surgical instrument 700 configured to operate a surgical tool described herein . The robotic surgical instrument 700 is programmed or configured to control distal/proximal translation of a displacement member, distal/proximal displacement of a closure tube, shaft rotation, and articulation, either with single or multiple articulation drive links. The surgical instrument 700 is programmed or configured to individually control a firing member, a closure member, a shaft member, and/or one or more articulation members. The surgical instrument 700 comprises a control circuit 710 configured to control motor-driven firing members, closure members, shaft members, and/or one or more articulation members.

[0115] The robotic surgical instrument 700 comprises a control circuit 710 configured to control an anvil 716 and an I-beam 714 (including a sharp cutting edge) portion of an end effector 702, a removable staple cartridge 718, a shaft 740, and one or more articulation members 742a, 742b via a plurality of motors 704a-704e. A position sensor 734 is configured to provide position feedback of the I-beam 714 to the control circuit 710. Other sensors 738 are configured to provide feedback to the control circuit 710. A timer/counter 731 provides timing and counting information to the control circuit 710. An energy source 712 is provided to operate the motors 704a-704e, and a current sensor 736 provides motor current feedback to the control circuit 710. The motors 704a-704e are operated individually by the control circuit 710 in a open-loop or closed-loop feedback control.

[0116] The control circuit 710 comprises one or more microcontrollers, microprocessors, or other suitable processors for executing instructions that cause the processor or processors to perform one or more tasks. A timer/counter 731 provides an output signal, such as the elapsed time or a digital count, to the control circuit 710 to correlate the position of the I-beam 714 as determined by the position sensor 734 with the output of the timer/counter 731 such that the control circuit 710 can determine the position of the I-beam 714 at a specific time (t) relative to a starting position or the time (t) when the I-beam 714 is at a specific position relative to a starting position. The timer/counter 731 is configured to measure elapsed time, count external events, or time external events.

[0117] The control circuit 710 is programmed to control functions of the end effector 702 based on one or more tissue conditions. The control circuit 710 is programmed to sense tissue conditions, such as thickness, either directly or indirectly, as described herein. The control circuit 710 is programmed to select a firing control program or closure control program based on tissue conditions. A firing control program describes the distal motion of the displacement member. Different firing control programs are selected to better treat different tissue conditions. For example, when thicker tissue is present, the control circuit 710 is programmed to translate the displacement member at a lower velocity and/or with lower power. When thinner tissue is present, the control circuit 710 is programmed to translate the displacement member at a higher velocity and/or with higher power. A closure control program controls the closure force applied to the tissue by the anvil 716. Other control programs control the rotation of the shaft 740 and the articulation members 742a, 742b.

[0118] The control circuit 710 generates motor set point signals. The motor set point signals are provided to various motor controllers 708a-708e. The motor controllers 708a-708e comprise one or more circuits configured to provide motor drive signals to the motors 704a-704e to drive the motors 704a-704e as described herein. The motors 704a-704e may be brushed DC electric motors. The velocity of the motors 704a-704e are proportional to the respective motor drive signals. In some examples, the motors 704a-704e may be brushless DC electric motors, and the respective motor drive signals may comprise a PWM signal provided to one or more stator windings of the motors 704a-704e. Also, in some examples, the motor controllers 708a-708e may be omitted and the control circuit 710 may generate the motor drive signals directly.

[0119] The control circuit 710 initially operates each of the motors 704a-704e in an open-loop configuration for a first open-loop portion of a stroke of the displacement member. Based on the response of the robotic surgical instrument 700 during the open-loop portion of the stroke, the control circuit 710 selects a firing control program in a closed-loop configuration. The response of the instrument includes a translation distance of the displacement member during the open-loop portion, a time elapsed during the open-loop portion, the energy provided to one of the motors 704a-704e during the open-loop portion, a sum of pulse widths of a motor drive signal, etc. After the open-loop portion, the control circuit 710 implements the selected firing control program for a second portion of the displacement member stroke. For example, during a closed-loop portion of the stroke, the control circuit 710 modulates one of the motors 704a-704e based on translation data describing a position of the displacement member in a closed-loop manner to translate the displacement member at a constant velocity.

[0120] The motors 704a-704e receive power from an energy source 712. The energy source 712 is a DC power supply driven by a main alternating current power source, a battery, a super capacitor, or any other suitable energy source. The motors 704a-704e are mechanically coupled to individual movable mechanical elements such as the I-beam 714, anvil 716, shaft 740, articulation 742a, and articulation 742b via respective transmissions 706a-706e. The transmissions 706a-706e include one or more gears or other linkage components to couple the motors 704a-704e to movable mechanical elements. A position sensor 734 senses a position of the I-beam 714. The position sensor 734 includes any type of sensor that is capable of generating position data that indicate a position of the I-beam 714. The position sensor 734 includes an encoder configured to provide a series of pulses to the control circuit 710 as the I-beam 714 translates distally and proximally. The control circuit 710 tracks the pulses to determine the position of the I-beam 714. Other suitable position sensors may be used, including, for example, a proximity sensor. Other types of position sensors provide other signals indicating motion of the I-beam 714. Also, in some examples, the position sensor 734 may be omitted. Where any of the motors 704a-704e is a stepper motor, the control circuit 710 tracks the position of the I-beam 714 by aggregating the number and direction of steps that the motor 704 has been instructed to execute. The position sensor 734 is located in the end effector 702 or at any other portion of the instrument. The outputs of each of the motors 704a-704e include a torque sensor 744a-744e to sense force and have an encoder to sense rotation of the drive shaft.

[0121] The control circuit 710 is configured to drive a firing member such as the I-beam 714 portion of the end effector 702. The control circuit 710 provides a motor set point to a motor control 708a, which provides a drive signal to the motor 704a. The output shaft of the motor 704a is coupled to a torque sensor 744a. The torque sensor 744a is coupled to a transmission 706a which is coupled to the I-beam 714. The transmission 706a comprises movable mechanical elements such as rotating elements and a firing member to control the movement of the I-beam 714 distally and proximally along a longitudinal axis of the end effector 702. The motor 704a is coupled to the knife gear assembly, which includes a knife gear reduction set that includes a first knife drive gear and a second knife drive gear. A torque sensor 744a provides a firing force feedback signal to the control circuit 710. The firing force signal represents the force required to fire or displace the I-beam 714. A position sensor 734 is configured to provide the position of the I-beam 714 along the firing stroke or the position of the firing member as a feedback signal to the control circuit 710. The end effector 702 includes additional sensors 738 configured to provide feedback signals to the control circuit 710. When ready to use, the control circuit 710 provides a firing signal to the motor control 708a. In response to the firing signal, the motor 704a drives the firing member distally along the longitudinal axis of the end effector 702 from a proximal stroke start position to a stroke end position distal to the stroke start position. As the firing member translates distally, an I-beam 714, with a cutting element positioned at a distal end, advances distally to cut tissue located between the staple cartridge 718 and the anvil 716.

[0122] The control circuit 710 is configured to drive a closure member such as the anvil 716 portion of the end effector 702. The control circuit 710 provides a motor set point to a motor control 708b, which provides a drive signal to the motor 704b. The output shaft of the motor 704b is coupled to a torque sensor 744b. The torque sensor 744b is coupled to a transmission 706b which is coupled to the anvil 716. The transmission 706b comprises movable mechanical elements such as rotating elements and a closure member to control the movement of the anvil 716 from the open and closed positions. The motor 704b is coupled to a closure gear assembly, which includes a closure reduction gear set that is supported in meshing engagement with the closure spur gear. The torque sensor 744b provides a closure force feedback signal to the control circuit 710. The closure force feedback signal represents the closure force applied to the anvil 716. The position sensor 734 is configured to provide the position of the closure member as a feedback signal to the control circuit 710. Additional sensors 738 in the end effector 702 provide the closure force feedback signal to the control circuit 710. The pivotable anvil 716 is positioned opposite the staple cartridge 718. When ready to use, the control circuit 710 provides a closure signal to the motor control 708b. In response to the closure signal, the motor 704b advances a closure member to grasp tissue between the anvil 716 and the staple cartridge 718.

[0123] The control circuit 710 is configured to rotate a shaft member such as the shaft 740 to rotate the end effector 702. The control circuit 710 provides a motor set point to a motor control 708c, which provides a drive signal to the motor 704c. The output shaft of the motor 704c is coupled to a torque sensor 744c. The torque sensor 744c is coupled to a transmission 706c which is coupled to the shaft 740. The transmission 706c comprises movable mechanical elements such as rotating elements to control the rotation of the shaft 740 clockwise or counterclockwise up to and over 360°. The motor 704c is coupled to the rotational transmission assembly, which includes a tube gear segment that is formed on (or attached to) the proximal end of the proximal closure tube for operable engagement by a rotational gear assembly that is operably supported on the tool mounting plate. The torque sensor 744c provides a rotation force feedback signal to the control circuit 710. The rotation force feedback signal represents the rotation force applied to the shaft 740. The position sensor 734 is configured to provide the position of the closure member as a feedback signal to the control circuit 710. Additional sensors 738 such as a shaft encoder may provide the rotational position of the shaft 740 to the control circuit 710.

[0124] The control circuit 710 is configured to articulate the end effector 702. The control circuit 710 provides a motor set point to a motor control 708d, which provides a drive signal to the motor 704d. The output shaft of the motor 704d is coupled to a torque sensor 744d. The torque sensor 744d is coupled to a transmission 706d which is coupled to an articulation member 742a. The transmission 706d comprises movable mechanical elements such as articulation elements to control the articulation of the end effector 702 ±65°. The motor 704d is coupled to an articulation nut, which is rotatably journaled on the proximal end portion of the distal spine portion and is rotatably driven thereon by an articulation gear assembly. The torque sensor 744d provides an articulation force feedback signal to the control circuit 710. The articulation force feedback signal represents the articulation force applied to the end effector 702. Sensors 738, such as an articulation encoder, may provide the articulation position of the end effector 702 to the control circuit 710.

[0125] The articulation function of the robotic surgical system 700 comprises two articulation members, or links, 742a, 742b. These articulation members 742a, 742b are driven by separate disks on the robot interface (the rack) which are driven by the two motors 708d, 708e. When the separate firing motor 704a is provided, each of articulation links 742a, 742b can be antagonistically driven with respect to the other link in order to provide a resistive holding motion and a load to the head when it is not moving and to provide an articulation motion as the head is articulated. The articulation members 742a, 742b attach to the head at a fixed radius as the head is rotated. Accordingly, the mechanical advantage of the push-and-pull link changes as the head is rotated. This change in the mechanical advantage may be more pronounced with other articulation link drive systems.

[0126] The one or more motors 704a-704e comprises a brushed DC motor with a gearbox and mechanical links to a firing member, closure member, or articulation member. Another example includes electric motors 704a-704e that operate the movable mechanical elements such as the displacement member, articulation links, closure tube, and shaft. An outside influence is an unmeasured, unpredictable influence of things like tissue, surrounding bodies, and friction on the physical system. Such outside influence can be referred to as drag, which acts in opposition to one of electric motors 704a-704e. The outside influence, such as drag, may cause the operation of the physical system to deviate from a desired operation of the physical system.

[0127] The position sensor 734 is implemented as an absolute positioning system. The position sensor 734 comprises a magnetic rotary absolute positioning system implemented as an AS5055EQFT single-chip magnetic rotary position sensor available from Austria Microsystems, AG. The position sensor 734 interfaces with the control circuit 710 to provide an absolute positioning system. The position includes multiple Hall-effect elements located above a magnet and coupled to a CORDIC processor, also known as the digit-by-digit method and Volder's algorithm, that is provided to implement a simple and efficient algorithm to calculate hyperbolic and trigonometric functions that require only addition, subtraction, bitshift, and table lookup operations.

[0128] The control circuit 710 is in communication with one or more sensors 738. The sensors 738 are positioned on the end effector 702 and adapted to operate with the robotic surgical instrument 700 to measure the various derived parameters such as the gap distance versus time, tissue compression versus time, and anvil strain versus time. The sensors 738 comprise a magnetic sensor, a magnetic field sensor, a strain gauge, a load cell, a pressure sensor, a force sensor, a torque sensor, an inductive sensor such as an eddy current sensor, a resistive sensor, a capacitive sensor, an optical sensor, and/or any other suitable sensor for measuring one or more parameters of the end effector 702. The sensors 738 include one or more sensors. The sensors 738 are be located on the staple cartridge 718 deck to determine tissue location using segmented electrodes. The torque sensors 744a-744e are configured to sense force such as firing force, closure force, and/or articulation force, among others. Accordingly, the control circuit 710 can sense (1) the closure load experienced by the distal closure tube and its position, (2) the firing member at the rack and its position, (3) what portion of the staple cartridge 718 has tissue on it, and (4) the load and position on both articulation rods.

[0129] The one or more sensors 738 comprise a strain gauge, such as a micro-strain gauge, configured to measure the magnitude of the strain in the anvil 716 during a clamped condition. The strain gauge provides an electrical signal whose amplitude varies with the magnitude of the strain. The sensors 738 comprise a pressure sensor configured to detect a pressure generated by the presence of compressed tissue between the anvil 716 and the staple cartridge 718. The sensors 738 are configured to detect impedance of a tissue section located between the anvil 716 and the staple cartridge 718 that is indicative of the thickness and/or fullness of tissue located therebetween.

[0130] The sensors 738 are implemented as one or more limit switches, electromechanical devices, solid-state switches, Hall-effect devices, magneto-resistive (MR) devices, giant magneto-resistive (GMR) devices, magnetometers, among others. The sensors 738 may be implemented as solid-state switches that operate under the influence of light, such as optical sensors, IR sensors, ultraviolet sensors, among others. Still, the switches may be solid-state devices such as transistors (e.g., FET, junction FET, MOSFET, bipolar, and the like). The sensors 738 may include electrical conductorless switches, ultrasonic switches, accelerometers, and inertial sensors, among others.

[0131] The sensors 738 are configured to measure forces exerted on the anvil 716 by the closure drive system. For example, one or more sensors 738 are at an interaction point between the closure tube and the anvil 716 to detect the closure forces applied by the closure tube to the anvil 716. The forces exerted on the anvil 716 can be representative of the tissue compression experienced by the tissue section captured between the anvil 716 and the staple cartridge 718. The one or more sensors 738 are positioned at various interaction points along the closure drive system to detect the closure forces applied to the anvil 716 by the closure drive system. The one or more sensors 738 are sampled in real time during a clamping operation by the processor of the control circuit 710. The control circuit 710 receives real-time sample measurements to provide and analyze time-based information and assess, in real time, closure forces applied to the anvil 716.

[0132] A current sensor 736 is employed to measure the current drawn by each of the motors 704a-704e. The force required to advance any of the movable mechanical elements such as the I-beam 714 corresponds to the current drawn by one of the motors 704a-704e. The force is converted to a digital signal and provided to the control circuit 710. The control circuit 710 is configured to simulate the response of the actual system of the instrument in the software of the controller. A displacement member is actuated to move an I-beam 714 in the end effector 702 at or near a target velocity. The robotic surgical instrument 700 includes a feedback controller, which can be one of any feedback controllers, including, but not limited to a PID, a state feedback, a linear-quadratic (LQR), and/or an adaptive controller, for example. The robotic surgical instrument 700 includes a power source to convert the signal from the feedback controller into a physical input such as case voltage, PWM voltage, frequency modulated voltage, current, torque, and/or force, for example. Additional details are disclosed in U.S. Patent Application Serial No. 15/636,829, titled CLOSED LOOP VELOCITY CONTROL TECHNIQUES FOR ROBOTIC SURGICAL INSTRUMENT, filed June 29, 2017.

[0133] FIG. 18 illustrates a block diagram of a surgical instrument 750 programmed to control the distal translation of a displacement member. The surgical instrument 750 is programmed to control the distal translation of a displacement member such as the I-beam 764. The surgical instrument 750 comprises an end effector 752 that comprises an anvil 766, an I-beam 764 (including a sharp cutting edge), and a removable staple cartridge 768.

[0134] The position, movement, displacement, and/or translation of a linear displacement member, such as the I-beam 764, is measured by an absolute positioning system, sensor arrangement, and position sensor 784. Because the I-beam 764 is coupled to a longitudinally movable drive member, the position of the I-beam 764 is determined by measuring the position of the longitudinally movable drive member employing the position sensor 784. Accordingly, in the following description, the position, displacement, and/or translation of the I-beam 764 is achieved by the position sensor 784 as described herein. A control circuit 760 is programmed to control the translation of the displacement member, such as the I-beam 764. The control circuit 760, in some examples, comprises one or more microcontrollers, microprocessors, or other suitable processors for executing instructions that cause the processor or processors to control the displacement member, e.g., the I-beam 764, in the manner described. A timer/counter 781 provides an output signal, such as the elapsed time or a digital count, to the control circuit 760 to correlate the position of the I-beam 764 as determined by the position sensor 784 with the output of the timer/counter 781 such that the control circuit 760 can determine the position of the I-beam 764 at a specific time (t) relative to a starting position. The timer/counter 781 is configured to measure elapsed time, count external events, or time external events.

[0135] The control circuit 760 generates a motor set point signal 772. The motor set point signal 772 is provided to a motor controller 758. The motor controller 758 comprises one or more circuits configured to provide a motor drive signal 774 to the motor 754 to drive the motor 754 as described herein. In some examples, the motor 754 is a brushed DC electric motor. The velocity of the motor 754 is proportional to the motor drive signal 774. The motor 754 is a brushless DC electric motor and the motor drive signal 774 comprises a PWM signal provided to one or more stator windings of the motor 754. The motor controller 758 may be omitted, and the control circuit 760 generates the motor drive signal 774 directly.

[0136] The motor 754 receives power from an energy source 762. The energy source 762 may be or include a battery, a super capacitor, or any other suitable energy source. The motor 754 is mechanically coupled to the I-beam 764 via a transmission 756. The transmission 756 includes one or more gears or other linkage components to couple the motor 754 to the I-beam 764. A position sensor 784 senses a position of the I-beam 764. The position sensor 784 includes any type of sensor that is capable of generating position data that indicate a position of the I-beam 764. The position sensor 784 includes an encoder configured to provide a series of pulses to the control circuit 760 as the I-beam 764 translates distally and proximally. The control circuit 760 may track the pulses to determine the position of the I-beam 764. Other suitable position sensors are used, including, for example, a proximity sensor. Other types of position sensors provide other signals indicating motion of the I-beam 764.The position sensor 784 may be omitted. Where the motor 754 is a stepper motor, the control circuit 760 tracks the position of the I-beam 764 by aggregating the number and direction of steps that the motor 754 has been instructed to execute. The position sensor 784 is located in the end effector 752 or at any other portion of the instrument.

[0137] The control circuit 760 is in communication with one or more sensors 788. The sensors 788 are positioned on the end effector 752 and adapted to operate with the surgical instrument 750 to measure the various derived parameters such as gap distance versus time, tissue compression versus time, and anvil strain versus time. The sensors 788 comprise a magnetic sensor, a magnetic field sensor, a strain gauge, a pressure sensor, a force sensor, an inductive sensor such as an eddy current sensor, a resistive sensor, a capacitive sensor, an optical sensor, and/or any other suitable sensor for measuring one or more parameters of the end effector 752. The sensors 788 include one or more sensors.

[0138] The one or more sensors 788 comprise a strain gauge, such as a micro-strain gauge, configured to measure the magnitude of the strain in the anvil 766 during a clamped condition. The strain gauge provides an electrical signal whose amplitude varies with the magnitude of the strain. The sensors 788 comprise a pressure sensor configured to detect a pressure generated by the presence of compressed tissue between the anvil 766 and the staple cartridge 768. The sensors 788 are configured to detect impedance of a tissue section located between the anvil 766 and the staple cartridge 768 that is indicative of the thickness and/or fullness of tissue located therebetween.

[0139] The sensors 788 are configured to measure forces exerted on the anvil 766 by a closure drive system. For example, one or more sensors 788 can be at an interaction point between a closure tube and the anvil 766 to detect the closure forces applied by a closure tube to the anvil 766. The forces exerted on the anvil 766 can be representative of the tissue compression experienced by the tissue section captured between the anvil 766 and the staple cartridge 768. The one or more sensors 788 are positioned at various interaction points along the closure drive system to detect the closure forces applied to the anvil 766 by the closure drive system. The one or more sensors 788 are sampled in real time during a clamping operation by a processor of the control circuit 760. The control circuit 760 receives real-time sample measurements to provide and analyze time-based information and assess, in real time, closure forces applied to the anvil 766.

[0140] A current sensor 786 is employed to measure the current drawn by the motor 754. The force required to advance the I-beam 764 corresponds to the current drawn by the motor 754. The force is converted to a digital signal and provided to the control circuit 760.

[0141] The control circuit 760 is configured to simulate the response of the actual system of the instrument in the software of the controller. A displacement member is actuated to move an I-beam 764 in the end effector 752 at or near a target velocity. The surgical instrument 750 includes a feedback controller, which can be one of any feedback controllers, including, but not limited to a PID, a state feedback, LQR, and/or an adaptive controller, for example. The surgical instrument 750 includes a power source to convert the signal from the feedback controller into a physical input such as case voltage, PWM voltage, frequency modulated voltage, current, torque, and/or force, for example.

[0142] The actual drive system of the surgical instrument 750 is configured to drive the displacement member, cutting member, or I-beam 764, by a brushed DC motor with gearbox and mechanical links to an articulation and/or knife system. Another example is the electric motor 754 that operates the displacement member and the articulation driver, for example, of an interchangeable shaft assembly. An outside influence is an unmeasured, unpredictable influence of things like tissue, surrounding bodies and friction on the physical system. Such outside influence can be referred to as drag which acts in opposition to the electric motor 754. The outside influence, such as drag, causes the operation of the physical system to deviate from a desired operation of the physical system.

[0143] A surgical instrument 750 comprises an end effector 752 with motor-driven surgical stapling and cutting implements. A motor 754 drives a displacement member distally and proximally along a longitudinal axis of the end effector 752. The end effector 752 comprises a pivotable anvil 766 and, when configured for use, a staple cartridge 768 positioned opposite the anvil 766. A clinician grasps tissue between the anvil 766 and the staple cartridge 768, as described herein. When ready to use the instrument 750, the clinician provides a firing signal, for example by depressing a trigger of the instrument 750. In response to the firing signal, the motor 754 drives the displacement member distally along the longitudinal axis of the end effector 752 from a proximal stroke begin position to a stroke end position distal of the stroke begin position. As the displacement member translates distally, an I-beam 764 with a cutting element positioned at a distal end, cuts the tissue between the staple cartridge 768 and the anvil 766.

[0144] The surgical instrument 750 comprises a control circuit 760 programmed to control the distal translation of the displacement member, such as the I-beam 764, for example, based on one or more tissue conditions. The control circuit 760 is programmed to sense tissue conditions, such as thickness, either directly or indirectly, as described herein. The control circuit 760 is programmed to select a firing control program based on tissue conditions. A firing control program may describe the distal motion of the displacement member. Different firing control programs are selected to better treat different tissue conditions. For example, when thicker tissue is present, the control circuit 760 is programmed to translate the displacement member at a lower velocity and/or with lower power. When thinner tissue is present, the control circuit 760 is programmed to translate the displacement member at a higher velocity and/or with higher power.

[0145] The control circuit 760 initially operates the motor 754 in an open loop configuration for a first open loop portion of a stroke of the displacement member. Based on a response of the instrument 750 during the open loop portion of the stroke, the control circuit 760 selects a firing control program. The response of the instrument includes, a translation distance of the displacement member during the open loop portion, a time elapsed during the open loop portion, energy provided to the motor 754 during the open loop portion, a sum of pulse widths of a motor drive signal, etc. After the open loop portion, the control circuit 760 implements the selected firing control program for a second portion of the displacement member stroke. For example, during the closed loop portion of the stroke, the control circuit 760 modulates the motor 754 based on translation data describing a position of the displacement member in a closed loop manner to translate the displacement member at a constant velocity. Additional details are disclosed in U.S. Patent Application Serial No. 15/720,852, titled SYSTEM AND METHODS FOR CONTROLLING A DISPLAY OF A SURGICAL INSTRUMENT, filed September 29, 2017, .

[0146] FIG. 19 is a schematic diagram of a surgical instrument 790 configured to control various functions . The surgical instrument 790 is programmed to control distal translation of a displacement member such as the I-beam 764. The surgical instrument 790 comprises an end effector 792 that comprises an anvil 766, an I-beam 764, and a removable staple cartridge 768 which may be interchanged with an RF cartridge 796 (shown in dashed line).

[0147] Sensors 788 are implemented as a limit switch, electromechanical device, solid-state switches, Hall-effect devices, MR devices, GMR devices, magnetometers, among others. The sensors 638 are solid-state switches that operate under the influence of light, such as optical sensors, IR sensors, ultraviolet sensors, among others. Still, the switches are solid-state devices such as transistors (e.g., FET, junction FET, MOSFET, bipolar, and the like). The sensors 788 include electrical conductorless switches, ultrasonic switches, accelerometers, and inertial sensors, among others.

[0148] The position sensor 784 is implemented as an absolute positioning system comprising a magnetic rotary absolute positioning system implemented as an AS5055EQFT single-chip magnetic rotary position sensor available from Austria Microsystems, AG. The position sensor 784 interfaces with the control circuit 760 to provide an absolute positioning system. The position includes multiple Hall-effect elements located above a magnet and coupled to a CORDIC processor, also known as the digit-by-digit method and Volder's algorithm, that is provided to implement a simple and efficient algorithm to calculate hyperbolic and trigonometric functions that require only addition, subtraction, bitshift, and table lookup operations.

[0149] The I-beam 764 is implemented as a knife member comprising a knife body that operably supports a tissue cutting blade thereon and further includes anvil engagement tabs or features and channel engagement features or a foot. The staple cartridge 768 is implemented as a standard (mechanical) surgical fastener cartridge. The RF cartridge 796 is implemented as an RF cartridge. These and other sensors arrangements are described in commonly-owned U.S. Patent Application Serial No. 15/628,175, titled TECHNIQUES FOR ADAPTIVE CONTROL OF MOTOR VELOCITY OF A SURGICAL STAPLING AND CUTTING INSTRUMENT, filed June 20, 2017.

[0150] The position, movement, displacement, and/or translation of a linear displacement member, such as the I-beam 764, is measured by an absolute positioning system, sensor arrangement, and position sensor represented as position sensor 784. Because the I-beam 764 is coupled to the longitudinally movable drive member, the position of the I-beam 764 is determined by measuring the position of the longitudinally movable drive member employing the position sensor 784. Accordingly, in the following description, the position, displacement, and/or translation of the I-beam 764 is achieved by the position sensor 784 as described herein. A control circuit 760 is programmed to control the translation of the displacement member, such as the I-beam 764, as described herein. The control circuit 760, in some examples, comprises one or more microcontrollers, microprocessors, or other suitable processors for executing instructions that cause the processor or processors to control the displacement member, e.g., the I-beam 764, in the manner described. A timer/counter 781 provides an output signal, such as the elapsed time or a digital count, to the control circuit 760 to correlate the position of the I-beam 764 as determined by the position sensor 784 with the output of the timer/counter 781 such that the control circuit 760 can determine the position of the I-beam 764 at a specific time (t) relative to a starting position. The timer/counter 781 is configured to measure elapsed time, count external events, or time external events.

[0151] The control circuit 760 generates a motor set point signal 772. The motor set point signal 772 is provided to a motor controller 758. The motor controller 758 comprises one or more circuits configured to provide a motor drive signal 774 to the motor 754 to drive the motor 754 as described herein. The motor 754 is a brushed DC electric motor. The velocity of the motor 754 is proportional to the motor drive signal 774. In some examples, the motor 754 is a brushless DC electric motor and the motor drive signal 774 may comprise a PWM signal provided to one or more stator windings of the motor 754. Also, in some examples, the motor controller 758 is omitted, and the control circuit 760 generates the motor drive signal 774 directly.

[0152] The motor 754 receives power from an energy source 762. The energy source 762 may be or include a battery, a super capacitor, or any other suitable energy source. The motor 754 is mechanically coupled to the I-beam 764 via a transmission 756. The transmission 756 includes one or more gears or other linkage components to couple the motor 754 to the I-beam 764. A position sensor 784 senses a position of the I-beam 764. The position sensor 784 includes any type of sensor that is capable of generating position data that indicate a position of the I-beam 764. The position sensor 784 includes an encoder configured to provide a series of pulses to the control circuit 760 as the I-beam 764 translates distally and proximally. The control circuit 760 tracks the pulses to determine the position of the I-beam 764. Other suitable position sensors are used, including, for example, a proximity sensor. Other types of position sensors provide other signals indicating motion of the I-beam 764. Also, in some examples, the position sensor 784 is omitted. Where the motor 754 is a stepper motor, the control circuit 760 tracks the position of the I-beam 764 by aggregating the number and direction of steps that the motor has been instructed to execute. The position sensor 784 is located in the end effector 792 or at any other portion of the instrument.

[0153] The control circuit 760 is in communication with one or more sensors 788. The sensors 788 are positioned on the end effector 792 and adapted to operate with the surgical instrument 790 to measure the various derived parameters such as gap distance versus time, tissue compression versus time, and anvil strain versus time. The sensors 788 comprise a magnetic sensor, a magnetic field sensor, a strain gauge, a pressure sensor, a force sensor, an inductive sensor such as an eddy current sensor, a resistive sensor, a capacitive sensor, an optical sensor, and/or any other suitable sensor for measuring one or more parameters of the end effector 792. The sensors 788 include one or more sensors.

[0154] The one or more sensors 788 comprise a strain gauge, such as a micro-strain gauge, configured to measure the magnitude of the strain in the anvil 766 during a clamped condition. The strain gauge provides an electrical signal whose amplitude varies with the magnitude of the strain. The sensors 788 comprise a pressure sensor configured to detect a pressure generated by the presence of compressed tissue between the anvil 766 and the staple cartridge 768. The sensors 788 are configured to detect impedance of a tissue section located between the anvil 766 and the staple cartridge 768 that is indicative of the thickness and/or fullness of tissue located therebetween.

[0155] The sensors 788 are configured to measure forces exerted on the anvil 766 by the closure drive system. For example, one or more sensors 788 is at an interaction point between a closure tube and the anvil 766 to detect the closure forces applied by a closure tube to the anvil 766. The forces exerted on the anvil 766 are representative of the tissue compression experienced by the tissue section captured between the anvil 766 and the staple cartridge 768. The one or more sensors 788 are positioned at various interaction points along the closure drive system to detect the closure forces applied to the anvil 766 by the closure drive system. The one or more sensors 788 are sampled in real time during a clamping operation by a processor portion of the control circuit 760. The control circuit 760 receives real-time sample measurements to provide and analyze time-based information and assess, in real time, closure forces applied to the anvil 766.

[0156] A current sensor 786 is employed to measure the current drawn by the motor 754. The force required to advance the I-beam 764 corresponds to the current drawn by the motor 754. The force is converted to a digital signal and provided to the control circuit 760.

[0157] An RF energy source 794 is coupled to the end effector 792 and is applied to the RF cartridge 796 when the RF cartridge 796 is loaded in the end effector 792 in place of the staple cartridge 768. The control circuit 760 controls the delivery of the RF energy to the RF cartridge 796.

[0158] Additional details are disclosed in U.S. Patent Application Serial No. 15/636,096, titled SURGICAL SYSTEM COUPLABLE WITH STAPLE CARTRIDGE AND RADIO FREQUENCY CARTRIDGE, AND METHOD OF USING SAME, filed June 28, 2017.

Generator Hardware



[0159] FIG. 20 is a simplified block diagram of a generator 800 configured to provide inductorless tuning, among other benefits. Additional details of the generator 800 are described in U.S. Patent No. 9,060,775, titled SURGICAL GENERATOR FOR ULTRASONIC AND ELECTROSURGICAL DEVICES, which issued on June 23, 2015, . The generator 800 comprises a patient isolated stage 802 in communication with a non-isolated stage 804 via a power transformer 806. A secondary winding 808 of the power transformer 806 is contained in the isolated stage 802 and comprises a tapped configuration (e.g., a center-tapped or a non-center-tapped configuration) to define drive signal outputs 810a, 810b, 810c for delivering drive signals to different surgical instruments, such as, for example, an ultrasonic surgical instrument, an RF electrosurgical instrument, and a multifunction surgical instrument which includes ultrasonic and RF energy modes that can be delivered alone or simultaneously. In particular, drive signal outputs 810a, 810c output an ultrasonic drive signal (e.g., a 420V root-mean-square (RMS) drive signal) to an ultrasonic surgical instrument, and drive signal outputs 810b, 810c output an RF electrosurgical drive signal (e.g., a 100V RMS drive signal) to an RF electrosurgical instrument, with the drive signal output 810b corresponding to the center tap of the power transformer 806.

[0160] The ultrasonic and electrosurgical drive signals are provided simultaneously to distinct surgical instruments and/or to a single surgical instrument, such as the multifunction surgical instrument, having the capability to deliver both ultrasonic and electrosurgical energy to tissue. It will be appreciated that the electrosurgical signal, provided either to a dedicated electrosurgical instrument and/or to a combined multifunction ultrasonic/electrosurgical instrument is either a therapeutic or sub-therapeutic level signal where the sub-therapeutic signal is used, for example, to monitor tissue or instrument conditions and provide feedback to the generator. For example, the ultrasonic and RF signals are delivered separately or simultaneously from a generator with a single output port in order to provide the desired output signal to the surgical instrument, as will be discussed in more detail below. Accordingly, the generator combines the ultrasonic and electrosurgical RF energies and deliver the combined energies to the multifunction ultrasonic/electrosurgical instrument. Bipolar electrodes are placed on one or both jaws of the end effector. One jaw may be driven by ultrasonic energy in addition to electrosurgical RF energy, working simultaneously. The ultrasonic energy is employed to dissect tissue, while the electrosurgical RF energy is employed for vessel sealing.

[0161] The non-isolated stage 804 comprises a power amplifier 812 having an output connected to a primary winding 814 of the power transformer 806. The power amplifier 812 comprises a push-pull amplifier. The non-isolated stage 804 further comprises a logic device 816 for supplying a digital output to a digital-to-analog converter (DAC) circuit 818, which in turn supplies a corresponding analog signal to an input of the power amplifier 812. In certain forms, the logic device 816 comprises a programmable gate array (PGA), a FPGA, programmable logic device (PLD), among other logic circuits, for example. The logic device 816, by virtue of controlling the input of the power amplifier 812 via the DAC circuit 818, therefore controls any of a number of parameters (e.g., frequency, waveform shape, waveform amplitude) of drive signals appearing at the drive signal outputs 810a, 810b, 810c. As discussed below, the logic device 816, in conjunction with a processor (e.g., a DSP discussed below), implements a number of DSP-based and/or other control algorithms to control parameters of the drive signals output by the generator 800.

[0162] Power is supplied to a power rail of the power amplifier 812 by a switch-mode regulator 820, e.g., a power converter. The switch-mode regulator 820 comprises an adjustable buck regulator. The non-isolated stage 804 further comprises a first processor 822, which in one form comprises a DSP processor such as an Analog Devices ADSP-21469 SHARC DSP, available from Analog Devices, Norwood, MA, for example, although in various forms any suitable processor is employed. The DSP processor 822 controls the operation of the switch-mode regulator 820 responsive to voltage feedback data received from the power amplifier 812 by the DSP processor 822 via an ADC circuit 824. ,The DSP processor 822 receives as input, via the ADC circuit 824, the waveform envelope of a signal (e.g., an RF signal) being amplified by the power amplifier 812. The DSP processor 822 then controls the switch-mode regulator 820 (e.g., via a PWM output) such that the rail voltage supplied to the power amplifier 812 tracks the waveform envelope of the amplified signal. By dynamically modulating the rail voltage of the power amplifier 812 based on the waveform envelope, the efficiency of the power amplifier 812 is significantly improved relative to a fixed rail voltage amplifier schemes.

[0163] The logic device 816, in conjunction with the DSP processor 822, implements a digital synthesis circuit such as a direct digital synthesizer control scheme to control the waveform shape, frequency, and/or amplitude of drive signals output by the generator 800. The logic device 816 implements a DDS control algorithm by recalling waveform samples stored in a dynamically updated lookup table (LUT), such as a RAM LUT, which are embedded in an FPGA. This control algorithm is particularly useful for ultrasonic applications in which an ultrasonic transducer, such as an ultrasonic transducer, is driven by a clean sinusoidal current at its resonant frequency. Because other frequencies may excite parasitic resonances, minimizing or reducing the total distortion of the motional branch current may correspondingly minimize or reduce undesirable resonance effects. Because the waveform shape of a drive signal output by the generator 800 is impacted by various sources of distortion present in the output drive circuit (e.g., the power transformer 806, the power amplifier 812), voltage and current feedback data based on the drive signal is input into an algorithm, such as an error control algorithm implemented by the DSP processor 822, which compensates for distortion by suitably pre-distorting or modifying the waveform samples stored in the LUT on a dynamic, ongoing basis (e.g., in real time). In one form, the amount or degree of pre-distortion applied to the LUT samples is based on the error between a computed motional branch current and a desired current waveform shape, with the error being determined on a sample-by-sample basis. In this way, the pre-distorted LUT samples, when processed through the drive circuit, results in a motional branch drive signal having the desired waveform shape (e.g., sinusoidal) for optimally driving the ultrasonic transducer. In such forms, the LUT waveform samples will therefore not represent the desired waveform shape of the drive signal, but rather the waveform shape that is required to ultimately produce the desired waveform shape of the motional branch drive signal when distortion effects are taken into account.

[0164] The non-isolated stage 804 further comprises a first ADC circuit 826 and a second ADC circuit 828 coupled to the output of the power transformer 806 via respective isolation transformers 830, 832 for respectively sampling the voltage and current of drive signals output by the generator 800. In certain forms, the ADC circuits 826, 828 are configured to sample at high speeds (e.g., 80 mega samples per second (MSPS)) to enable oversampling of the drive signals. In one form, for example, the sampling speed of the ADC circuits 826, 828 enable approximately 200x (depending on frequency) oversampling of the drive signals. In certain forms, the sampling operations of the ADC circuit 826, 828 are performed by a single ADC circuit receiving input voltage and current signals via a two-way multiplexer. The use of highspeed sampling in forms of the generator 800 enable, among other things, calculation of the complex current flowing through the motional branch (which is used in certain forms to implement DDS-based waveform shape control described above), accurate digital filtering of the sampled signals, and calculation of real power consumption with a high degree of precision. Voltage and current feedback data output by the ADC circuits 826, 828 is received and processed (e.g., first-in-first-out (FIFO) buffer, multiplexer) by the logic device 816 and stored in data memory for subsequent retrieval by, for example, the DSP processor 822. As noted above, voltage and current feedback data is used as input to an algorithm for pre-distorting or modifying LUT waveform samples on a dynamic and ongoing basis. This requires each stored voltage and current feedback data pair to be indexed based on, or otherwise associated with, a corresponding LUT sample that was output by the logic device 816 when the voltage and current feedback data pair was acquired. Synchronization of the LUT samples and the voltage and current feedback data in this manner contributes to the correct timing and stability of the pre-distortion algorithm.

[0165] The voltage and current feedback data is used to control the frequency and/or amplitude (e.g., current amplitude) of the drive signals. In one form, for example, voltage and current feedback data is used to determine impedance phase. The frequency of the drive signal may then be controlled to minimize or reduce the difference between the determined impedance phase and an impedance phase setpoint (e.g., 0°), thereby minimizing or reducing the effects of harmonic distortion and correspondingly enhancing impedance phase measurement accuracy. The determination of phase impedance and a frequency control signal is implemented in the DSP processor 822, for example, with the frequency control signal being supplied as input to a DDS control algorithm implemented by the logic device 816.

[0166] The current feedback data is monitored in order to maintain the current amplitude of the drive signal at a current amplitude setpoint. The current amplitude setpoint is specified directly or determined indirectly based on specified voltage amplitude and power setpoints. Control of the current amplitude is implemented by control algorithm, such as, for example, a proportional-integral-derivative (PID) control algorithm, in the DSP processor 822. Variables controlled by the control algorithm to suitably control the current amplitude of the drive signal include, for example, the scaling of the LUT waveform samples stored in the logic device 816 and/or the full-scale output voltage of the DAC circuit 818 (which supplies the input to the power amplifier 812) via a DAC circuit 834.

[0167] The non-isolated stage 804 further comprises a second processor 836 for providing, among other things user interface (Ul) functionality. The Ul processor 836 may comprise an Atmel AT91SAM9263 processor having an ARM 926EJ-S core, available from Atmel Corporation, San Jose, California, for example. Examples of Ul functionality supported by the Ul processor 836 include audible and visual user feedback, communication with peripheral devices (e.g., via a USB interface), communication with a foot switch, communication with an input device (e.g., a touch screen display) and communication with an output device (e.g., a speaker). The Ul processor 836 communicates with the DSP processor 822 and the logic device 816 (e.g., via SPI buses). Although the Ul processor 836 may primarily support Ul functionality, it also coordinates with the DSP processor 822 to implement hazard mitigation in certain forms. For example, the Ul processor 836 may be programmed to monitor various aspects of user input and/or other inputs (e.g., touch screen inputs, foot switch inputs, temperature sensor inputs) and disables the drive output of the generator 800 when an erroneous condition is detected.

[0168] Both the DSP processor 822 and the Ul processor 836determine and monitor the operating state of the generator 800. For the DSP processor 822, the operating state of the generator 800 dictates, for example, which control and/or diagnostic processes are implemented by the DSP processor 822. For the Ul processor 836, the operating state of the generator 800 dictates, for example, which elements of a Ul (e.g., display screens, sounds) are presented to a user. The respective DSP and Ul processors 822, 836 independently maintain the current operating state of the generator 800 and recognize and evaluate possible transitions out of the current operating state. The DSP processor 822 functions as the master in this relationship and determine when transitions between operating states are to occur. The Ul processor 836 is aware of valid transitions between operating states and confirms if a particular transition is appropriate. For example, when the DSP processor 822 instructs the Ul processor 836 to transition to a specific state, the Ul processor 836 verifies that requested transition is valid. In the event that a requested transition between states is determined to be invalid by the Ul processor 836, the Ul processor 836 causes the generator 800 to enter a failure mode.

[0169] The non-isolated stage 804 further comprises a controller 838 for monitoring input devices (e.g., a capacitive touch sensor used for turning the generator 800 on and off, a capacitive touch screen). The controller 838 comprises at least one processor and/or other controller device in communication with the Ul processor 836. In one form, for example, the controller 838 comprises a processor (e.g., a Meg168 8-bit controller available from Atmel) configured to monitor user input provided via one or more capacitive touch sensors. The controller 838 comprises a touch screen controller (e.g., a QT5480 touch screen controller available from Atmel) to control and manage the acquisition of touch data from a capacitive touch screen.

[0170] When the generator 800 is in a "power off" state, the controller 838 continues to receive operating power (e.g., via a line from a power supply of the generator 800, such as the power supply 854 discussed below). In this way, the controller 838 continues to monitor an input device (e.g., a capacitive touch sensor located on a front panel of the generator 800) for turning the generator 800 on and off. When the generator 800 is in the power off state, the controller 838 wakes the power supply (e.g., enable operation of one or more DC/DC voltage converters 856 of the power supply 854) if activation of the "on/off" input device by a user is detected. The controller 838 therefore initiates a sequence for transitioning the generator 800 to a "power on" state. Conversely, the controller 838 may initiate a sequence for transitioning the generator 800 to the power off state if activation of the "on/off" input device is detected when the generator 800 is in the power on state. The controller 838 reports activation of the "on/off" input device to the Ul processor 836, which in turn implements the necessary process sequence for transitioning the generator 800 to the power off state. The controller 838 has no independent ability for causing the removal of power from the generator 800 after its power on state has been established.

[0171] The controller 838 causes the generator 800 to provide audible or other sensory feedback for alerting the user that a power on or power off sequence has been initiated. Such an alert is provided at the beginning of a power on or power off sequence and prior to the commencement of other processes associated with the sequence.

[0172] The isolated stage 802 comprises an instrument interface circuit 840 to, for example, provide a communication interface between a control circuit of a surgical instrument (e.g., a control circuit comprising handpiece switches) and components of the non-isolated stage 804, such as, for example, the logic device 816, the DSP processor 822, and/or the Ul processor 836. The instrument interface circuit 840 exchanges information with components of the non-isolated stage 804 via a communication link that maintains a suitable degree of electrical isolation between the isolated and non-isolated stages 802, 804, such as, for example, an IR-based communication link. Power is supplied to the instrument interface circuit 840 using, for example, a low-dropout voltage regulator powered by an isolation transformer driven from the non-isolated stage 804.

[0173] The instrument interface circuit 840 comprises a logic circuit 842 (e.g., logic circuit, programmable logic circuit, PGA, FPGA, PLD) in communication with a signal conditioning circuit 844. The signal conditioning circuit 844 is configured to receive a periodic signal from the logic circuit 842 (e.g., a 2 kHz square wave) to generate a bipolar interrogation signal having an identical frequency. The interrogation signal is generated, for example, using a bipolar current source fed by a differential amplifier. The interrogation signal is communicated to a surgical instrument control circuit (e.g., by using a conductive pair in a cable that connects the generator 800 to the surgical instrument) and monitored to determine a state or configuration of the control circuit. The control circuit comprises a number of switches, resistors, and/or diodes to modify one or more characteristics (e.g., amplitude, rectification) of the interrogation signal such that a state or configuration of the control circuit is uniquely discernable based on the one or more characteristics. In one form, for example, the signal conditioning circuit 844 comprises an ADC circuit for generating samples of a voltage signal appearing across inputs of the control circuit resulting from passage of interrogation signal therethrough. The logic circuit 842 (or a component of the non-isolated stage 804) then determines the state or configuration of the control circuit based on the ADC circuit samples.

[0174] The instrument interface circuit 840 comprises a first data circuit interface 846 to enable information exchange between the logic circuit 842 (or other element of the instrument interface circuit 840) and a first data circuit disposed in or otherwise associated with a surgical instrument. A first data circuit is disposed in a cable integrally attached to a surgical instrument handpiece or in an adaptor for interfacing a specific surgical instrument type or model with the generator 800. The first data circuit is implemented in any suitable manner and communicates with the generator according to any suitable protocol, including, for example, as described herein with respect to the first data circuit. The first data circuit comprise a non-volatile storage device, such as an EEPROM device. The first data circuit interface 846 is implemented separately from the logic circuit 842 and comprise suitable circuitry (e.g., discrete logic devices, a processor) to enable communication between the logic circuit 842 and the first data circuit. The first data circuit interface 846 is integral with the logic circuit 842.

[0175] The first data circuit stores information pertaining to the particular surgical instrument with which it is associated. Such information includes, for example, a model number, a serial number, a number of operations in which the surgical instrument has been used, and/or any other type of information. This information is read by the instrument interface circuit 840 (e.g., by the logic circuit 842), transferred to a component of the non-isolated stage 804 (e.g., to logic device 816, DSP processor 822, and/or Ul processor 836) for presentation to a user via an output device and/or for controlling a function or operation of the generator 800. Additionally, any type of information is communicated to the first data circuit for storage therein via the first data circuit interface 846 (e.g., using the logic circuit 842). Such information comprises, for example, an updated number of operations in which the surgical instrument has been used and/or dates and/or times of its usage.

[0176] As discussed previously, a surgical instrument is detachable from a handpiece (e.g., the multifunction surgical instrument may be detachable from the handpiece) to promote instrument interchangeability and/or disposability. In such cases, conventional generators are limited in their ability to recognize particular instrument configurations being used and to optimize control and diagnostic processes accordingly. The addition of readable data circuits to surgical instruments to address this issue is problematic from a compatibility standpoint, however. For example, designing a surgical instrument to remain backwardly compatible with generators that lack the requisite data reading functionality may be impractical due to, for example, differing signal schemes, design complexity, and cost. Forms of instruments discussed herein address these concerns by using data circuits that are implemented in existing surgical instruments economically and with minimal design changes to preserve compatibility of the surgical instruments with current generator platforms.

[0177] Additionally, forms of the generator 800 enable communication with instrument-based data circuits. For example, the generator 800 is configured to communicate with a second data circuit contained in an instrument (e.g., the multifunction surgical instrument). In some forms, the second data circuit is implemented in a many similar to that of the first data circuit described herein. The instrument interface circuit 840 comprises a second data circuit interface 848 to enable this communication. The second data circuit interface 848 comprises a tri-state digital interface, although other interfaces may also be used. In certain forms, the second data circuit is generally any circuit for transmitting and/or receiving data. The second data circuit stores information pertaining to the particular surgical instrument with which it is associated. Such information includes, for example, a model number, a serial number, a number of operations in which the surgical instrument has been used, and/or any other type of information.

[0178] The second data circuit stores information about the electrical and/or ultrasonic properties of an associated ultrasonic transducer, end effector, or ultrasonic drive system. For example, the first data circuit indicates a burn-in frequency slope, as described herein. Additionally or alternatively, any type of information is communicated to second data circuit for storage therein via the second data circuit interface 848 (e.g., using the logic circuit 842). Such information comprises, for example, an updated number of operations in which the instrument has been used and/or dates and/or times of its usage. In certain forms, the second data circuit may transmit data acquired by one or more sensors (e.g., an instrument-based temperature sensor). In certain forms, the second data circuit receives data from the generator 800 and provide an indication to a user (e.g., a light emitting diode indication or other visible indication) based on the received data.

[0179] The second data circuit and the second data circuit interface 848 is configured such that communication between the logic circuit 842 and the second data circuit can be effected without the need to provide additional conductors for this purpose (e.g., dedicated conductors of a cable connecting a handpiece to the generator 800). Information is communicated to and from the second data circuit using a one-wire bus communication scheme implemented on existing cabling, such as one of the conductors used transmit interrogation signals from the signal conditioning circuit 844 to a control circuit in a handpiece. In this way, design changes or modifications to the surgical instrument that might otherwise be necessary are minimized or reduced. Moreover, because different types of communications implemented over a common physical channel can be frequency-band separated, the presence of a second data circuit is "invisible" to generators that do not have the requisite data reading functionality, thus enabling backward compatibility of the surgical instrument.

[0180] The isolated stage 802 comprises at least one blocking capacitor 850-1 connected to the drive signal output 810b to prevent passage of DC current to a patient. A single blocking capacitor is required to comply with medical regulations or standards, for example. While failure in single-capacitor designs is relatively uncommon, such failure nonetheless has negative consequences. A second blocking capacitor 850-2 is provided in series with the blocking capacitor 850-1, with current leakage from a point between the blocking capacitors 850-1, 850-2 being monitored by an ADC circuit 852 for sampling a voltage induced by leakage current. The samples are received by the logic circuit 842, for example. Based changes in the leakage current (as indicated by the voltage samples), the generator 800 determines when at least one of the blocking capacitors 850-1, 850-2 has failed, thus providing a benefit over single-capacitor designs having a single point of failure.

[0181] In certain forms, the non-isolated stage 804 comprises a power supply 854 for delivering DC power at a suitable voltage and current. The power supply comprises, for example, a 400 W power supply for delivering a 48 VDC system voltage. The power supply 854 further comprises one or more DC/DC voltage converters 856 for receiving the output of the power supply to generate DC outputs at the voltages and currents required by the various components of the generator 800. As discussed above in connection with the controller 838, one or more of the DC/DC voltage converters 856 may receive an input from the controller 838 when activation of the "on/off" input device by a user is detected by the controller 838 to enable operation of, or wake, the DC/DC voltage converters 856.

[0182] FIG. 21 illustrates an example of a generator 900, which is one form of the generator 800 (FIG. 20). The generator 900 is configured to deliver multiple energy modalities to a surgical instrument. The generator 900 provides RF and ultrasonic signals for delivering energy to a surgical instrument either independently or simultaneously. The RF and ultrasonic signals are provided alone or in combination and are provided simultaneously. As noted above, at least one generator output can deliver multiple energy modalities (e.g., ultrasonic, bipolar or monopolar RF, irreversible and/or reversible electroporation, and/or microwave energy, among others) through a single port, and these signals can be delivered separately or simultaneously to the end effector to treat tissue.

[0183] The generator 900 comprises a processor 902 coupled to a waveform generator 904. The processor 902 and waveform generator 904 are configured to generate a variety of signal waveforms based on information stored in a memory coupled to the processor 902, not shown for clarity of disclosure. The digital information associated with a waveform is provided to the waveform generator 904 which includes one or more DAC circuits to convert the digital input into an analog output. The analog output is fed to an amplifier 1106 for signal conditioning and amplification. The conditioned and amplified output of the amplifier 906 is coupled to a power transformer 908. The signals are coupled across the power transformer 908 to the secondary side, which is in the patient isolation side. A first signal of a first energy modality is provided to the surgical instrument between the terminals labeled ENERGY1 and RETURN. A second signal of a second energy modality is coupled across a capacitor 910 and is provided to the surgical instrument between the terminals labeled ENERGY2 and RETURN. It will be appreciated that more than two energy modalities may be output and thus the subscript "n" may be used to designate that up to n ENERGYn terminals may be provided, where n is a positive integer greater than 1. It also will be appreciated that up to "n" return paths RETURNn may be provided without departing from the scope of the present disclosure.

[0184] A first voltage sensing circuit 912 is coupled across the terminals labeled ENERGY1 and the RETURN path to measure the output voltage therebetween. A second voltage sensing circuit 924 is coupled across the terminals labeled ENERGY2 and the RETURN path to measure the output voltage therebetween. A current sensing circuit 914 is disposed in series with the RETURN leg of the secondary side of the power transformer 908 as shown to measure the output current for either energy modality. If different return paths are provided for each energy modality, then a separate current sensing circuit should be provided in each return leg. The outputs of the first and second voltage sensing circuits 912, 924 are provided to respective isolation transformers 916, 922 and the output of the current sensing circuit 914 is provided to another isolation transformer 918. The outputs of the isolation transformers 916, 928, 922 in the on the primary side of the power transformer 908 (non-patient isolated side) are provided to a one or more ADC circuit 926. The digitized output of the ADC circuit 926 is provided to the processor 902 for further processing and computation. The output voltages and output current feedback information can be employed to adjust the output voltage and current provided to the surgical instrument and to compute output impedance, among other parameters. Input/output communications between the processor 902 and patient isolated circuits is provided through an interface circuit 920. Sensors also may be in electrical communication with the processor 902 by way of the interface circuit 920.

[0185] The impedance is determined by the processor 902 by dividing the output of either the first voltage sensing circuit 912 coupled across the terminals labeled ENERGY1/RETURN or the second voltage sensing circuit 924 coupled across the terminals labeled ENERGY2/RETURN by the output of the current sensing circuit 914 disposed in series with the RETURN leg of the secondary side of the power transformer 908. The outputs of the first and second voltage sensing circuits 912, 924 are provided to separate isolations transformers 916, 922 and the output of the current sensing circuit 914 is provided to another isolation transformer 916. The digitized voltage and current sensing measurements from the ADC circuit 926 are provided the processor 902 for computing impedance. As an example, the first energy modality ENERGY1 is ultrasonic energy and the second energy modality ENERGY2 is RF energy. Nevertheless, in addition to ultrasonic and bipolar or monopolar RF energy modalities, other energy modalities include irreversible and/or reversible electroporation and/or microwave energy, among others. Also, although the example illustrated in FIG. 21 shows a single return path RETURN is provided for two or more energy modalities, multiple return paths RETURNn may be provided for each energy modality ENERGYn. Thus, as described herein, the ultrasonic transducer impedance is measured by dividing the output of the first voltage sensing circuit 912 by the current sensing circuit 914 and the tissue impedance is measured by dividing the output of the second voltage sensing circuit 924 by the current sensing circuit 914.

[0186] As shown in FIG. 21, the generator 900 comprising at least one output port can include a power transformer 908 with a single output and with multiple taps to provide power in the form of one or more energy modalities, such as ultrasonic, bipolar or monopolar RF, irreversible and/or reversible electroporation, and/or microwave energy, among others, for example, to the end effector depending on the type of treatment of tissue being performed. For example, the generator 900 can deliver energy with higher voltage and lower current to drive an ultrasonic transducer, with lower voltage and higher current to drive RF electrodes for sealing tissue, or with a coagulation waveform for spot coagulation using either monopolar or bipolar RF electrosurgical electrodes. The output waveform from the generator 900 can be steered, switched, or filtered to provide the frequency to the end effector of the surgical instrument. The connection of an ultrasonic transducer to the generator 900 output would be preferably located between the output labeled ENERGY1 and RETURN as shown in FIG. 21. In one example, a connection of RF bipolar electrodes to the generator 900 output would be preferably located between the output labeled ENERGY2 and RETURN. In the case of monopolar output, the preferred connections would be active electrode (e.g., pencil or other probe) to the ENERGY2 output and a suitable return pad connected to the RETURN output.

[0187] Additional details are disclosed in U.S. Patent Application Publication No. 2017/0086914, titled TECHNIQUES FOR OPERATING GENERATOR FOR DIGITALLY GENERATING ELECTRICAL SIGNAL WAVEFORMS AND SURGICAL INSTRUMENTS, which published on March 30, 2017.

[0188] As used throughout this description, the term "wireless" and its derivatives is used to describe circuits, devices, systems, methods, techniques, communications channels, etc., that communicate data through the use of modulated electromagnetic radiation through a non-solid medium. The term does not imply that the associated devices do not contain any wires, although in some aspects they might not. The communication module implements any of a number of wireless or wired communication standards or protocols, including but not limited to Wi-Fi (IEEE 802.11 family), WiMAX (IEEE 802.16 family), IEEE 802.20, long term evolution (LTE), Ev-DO, HSPA+, HSDPA+, HSUPA+, EDGE, GSM, GPRS, CDMA, TDMA, DECT, Bluetooth, Ethernet derivatives thereof, as well as any other wireless and wired protocols that are designated as 3G, 4G, 5G, and beyond. The computing module includes a plurality of communication modules. A first communication module is dedicated to shorter range wireless communications such as Wi-Fi and Bluetooth and a second communication module is dedicated to longer range wireless communications such as GPS, EDGE, GPRS, CDMA, WiMAX, LTE, Ev-DO, and others.

[0189] As used herein a processor or processing unit is an electronic circuit which performs operations on some external data source, usually memory or some other data stream. The term is used herein to refer to the central processor (central processing unit) in a system or computer systems (especially systems on a chip (SoCs)) that combine a number of specialized "processors."

[0190] As used herein, a system on a chip or system on chip (SoC or SOC) is an integrated circuit (also known as an "IC" or "chip") that integrates all components of a computer or other electronic systems. It contains digital, analog, mixed-signal, and often radio-frequency functions-all on a single substrate. A SoC integrates a microcontroller (or microprocessor) with advanced peripherals like graphics processing unit (GPU), Wi-Fi module, or coprocessor. A SoC may contain built-in memory.

[0191] As used herein, a microcontroller or controller is a system that integrates a microprocessor with peripheral circuits and memory. A microcontroller (or MCU for microcontroller unit) is implemented as a small computer on a single integrated circuit. It is similar to a SoC; an SoC includes a microcontroller as one of its components. A microcontroller contains one or more core processing units (CPUs) along with memory and programmable input/output peripherals. Program memory in the form of Ferroelectric RAM, NOR flash or OTP ROM is also often included on chip, as well as a small amount of RAM. Microcontrollers are employed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications consisting of various discrete chips.

[0192] As used herein, the term controller or microcontroller is a stand-alone IC or chip device that interfaces with a peripheral device. This is a link between two parts of a computer or a controller on an external device that manages the operation of (and connection with) that device.

[0193] Any of the processors or microcontrollers described herein, are implemented by any single core or multicore processor such as those known under the trade name ARM Cortex by Texas Instruments. The processor may be an LM4F230H5QR ARM Cortex-M4F Processor Core, available from Texas Instruments comprising on-chip memory of 256 KB single-cycle flash memory, or other non-volatile memory, up to 40 MHz, a prefetch buffer to improve performance above 40 MHz, a 32 KB single-cycle serial random access memory (SRAM), internal read-only memory (ROM) loaded with StellarisWare® software, 2 KB electrically erasable programmable read-only memory (EEPROM), one or more pulse width modulation (PWM) modules, one or more quadrature encoder inputs (QEI) analog, one or more 12-bit Analog-to-Digital Converters (ADC) with 12 analog input channels, details of which are available for the product datasheet.

[0194] The processor comprises a safety controller comprising two controller-based families such as TMS570 and RM4x known under the trade name Hercules ARM Cortex R4, also by Texas Instruments. The safety controller is configured specifically for IEC 61508 and ISO 26262 safety critical applications, among others, to provide advanced integrated safety features while delivering scalable performance, connectivity, and memory options.

[0195] Modular devices include the modules (as described in connection with FIGS. 3 and 9, for example) that are receivable within a surgical hub and the surgical devices or instruments that can be connected to the various modules in order to connect or pair with the corresponding surgical hub. The modular devices include, for example, intelligent surgical instruments, medical imaging devices, suction/irrigation devices, smoke evacuators, energy generators, ventilators, insufflators, and displays. The modular devices described herein are controlled by control algorithms. The control algorithms can be executed on the modular device itself, on the surgical hub to which the particular modular device is paired, or on both the modular device and the surgical hub (e.g., via a distributed computing architecture). In some exemplifications, the modular devices' control algorithms control the devices based on data sensed by the modular device itself (i.e., by sensors in, on, or connected to the modular device). This data is related to the patient being operated on (e.g., tissue properties or insufflation pressure) or the modular device itself (e.g., the rate at which a knife is being advanced, motor current, or energy levels). For example, a control algorithm for a surgical stapling and cutting instrument can control the rate at which the instrument's motor drives its knife through tissue according to resistance encountered by the knife as it advances.

Surgical Hub Situational Awareness



[0196] Although an "intelligent" device including control algorithms that respond to sensed data can be an improvement over a "dumb" device that operates without accounting for sensed data, some sensed data can be incomplete or inconclusive when considered in isolation, i.e., without the context of the type of surgical procedure being performed or the type of tissue that is being operated on. Without knowing the procedural context (e.g., knowing the type of tissue being operated on or the type of procedure being performed), the control algorithm may control the modular device incorrectly or suboptimally given the particular context-free sensed data. For example, the optimal manner for a control algorithm to control a surgical instrument in response to a particular sensed parameter can vary according to the particular tissue type being operated on. This is due to the fact that different tissue types have different properties (e.g., resistance to tearing) and thus respond differently to actions taken by surgical instruments. Therefore, it may be desirable for a surgical instrument to take different actions even when the same measurement for a particular parameter is sensed. As one specific example, the optimal manner in which to control a surgical stapling and cutting instrument in response to the instrument sensing an unexpectedly high force to close its end effector will vary depending upon whether the tissue type is susceptible or resistant to tearing. For tissues that are susceptible to tearing, such as lung tissue, the instrument's control algorithm would optimally ramp down the motor in response to an unexpectedly high force to close to avoid tearing the tissue. For tissues that are resistant to tearing, such as stomach tissue, the instrument's control algorithm would optimally ramp up the motor in response to an unexpectedly high force to close to ensure that the end effector is clamped properly on the tissue. Without knowing whether lung or stomach tissue has been clamped, the control algorithm may make a suboptimal decision.

[0197] One solution utilizes a surgical hub including a system that is configured to derive information about the surgical procedure being performed based on data received from various data sources and then control the paired modular devices accordingly. In other words, the surgical hub is configured to infer information about the surgical procedure from received data and then control the modular devices paired to the surgical hub based upon the inferred context of the surgical procedure. FIG. 22 illustrates a diagram of a situationally aware surgical system 5100. In some exemplifications, the data sources 5126 include, for example, the modular devices 5102 (which can include sensors configured to detect parameters associated with the patient and/or the modular device itself), databases 5122 (e.g., an EMR database containing patient records), and patient monitoring devices 5124 (e.g., a blood pressure (BP) monitor and an electrocardiography (EKG) monitor). The surgical hub 5104 can be configured to derive the contextual information pertaining to the surgical procedure from the data based upon, for example, the particular combination(s) of received data or the particular order in which the data is received from the data sources 5126. The contextual information inferred from the received data can include, for example, the type of surgical procedure being performed, the particular step of the surgical procedure that the surgeon is performing, the type of tissue being operated on, or the body cavity that is the subject of the procedure. This ability by some aspects of the surgical hub 5104 to derive or infer information related to the surgical procedure from received data can be referred to as "situational awareness." In one exemplification, the surgical hub 5104 can incorporate a situational awareness system, which is the hardware and/or programming associated with the surgical hub 5104 that derives contextual information pertaining to the surgical procedure from the received data.

[0198] The situational awareness system of the surgical hub 5104 can be configured to derive the contextual information from the data received from the data sources 5126 in a variety of different ways. In one exemplification, the situational awareness system includes a pattern recognition system, or machine learning system (e.g., an artificial neural network), that has been trained on training data to correlate various inputs (e.g., data from databases 5122, patient monitoring devices 5124, and/or modular devices 5102) to corresponding contextual information regarding a surgical procedure. In other words, a machine learning system can be trained to accurately derive contextual information regarding a surgical procedure from the provided inputs. In another exemplification, the situational awareness system can include a lookup table storing pre-characterized contextual information regarding a surgical procedure in association with one or more inputs (or ranges of inputs) corresponding to the contextual information. In response to a query with one or more inputs, the lookup table can return the corresponding contextual information for the situational awareness system for controlling the modular devices 5102. In one exemplification, the contextual information received by the situational awareness system of the surgical hub 5104 is associated with a particular control adjustment or set of control adjustments for one or more modular devices 5102. In another exemplification, the situational awareness system includes a further machine learning system, lookup table, or other such system, which generates or retrieves one or more control adjustments for one or more modular devices 5102 when provided the contextual information as input.

[0199] A surgical hub 5104 incorporating a situational awareness system provides a number of benefits for the surgical system 5100. One benefit includes improving the interpretation of sensed and collected data, which would in turn improve the processing accuracy and/or the usage of the data during the course of a surgical procedure. To return to a previous example, a situationally aware surgical hub 5104 could determine what type of tissue was being operated on; therefore, when an unexpectedly high force to close the surgical instrument's end effector is detected, the situationally aware surgical hub 5104 could correctly ramp up or ramp down the motor of the surgical instrument for the type of tissue.

[0200] As another example, the type of tissue being operated can affect the adjustments that are made to the compression rate and load thresholds of a surgical stapling and cutting instrument for a particular tissue gap measurement. A situationally aware surgical hub 5104 could infer whether a surgical procedure being performed is a thoracic or an abdominal procedure, allowing the surgical hub 5104 to determine whether the tissue clamped by an end effector of the surgical stapling and cutting instrument is lung (for a thoracic procedure) or stomach (for an abdominal procedure) tissue. The surgical hub 5104 could then adjust the compression rate and load thresholds of the surgical stapling and cutting instrument appropriately for the type of tissue.

[0201] As yet another example, the type of body cavity being operated in during an insufflation procedure can affect the function of a smoke evacuator. A situationally aware surgical hub 5104 could determine whether the surgical site is under pressure (by determining that the surgical procedure is utilizing insufflation) and determine the procedure type. As a procedure type is generally performed in a specific body cavity, the surgical hub 5104 could then control the motor rate of the smoke evacuator appropriately for the body cavity being operated in. Thus, a situationally aware surgical hub 5104 could provide a consistent amount of smoke evacuation for both thoracic and abdominal procedures.

[0202] As yet another example, the type of procedure being performed can affect the optimal energy level for an ultrasonic surgical instrument or radio frequency (RF) electrosurgical instrument to operate at. Arthroscopic procedures, for example, require higher energy levels because the end effector of the ultrasonic surgical instrument or RF electrosurgical instrument is immersed in fluid. A situationally aware surgical hub 5104 could determine whether the surgical procedure is an arthroscopic procedure. The surgical hub 5104 could then adjust the RF power level or the ultrasonic amplitude of the generator (i.e., "energy level") to compensate for the fluid filled environment. Relatedly, the type of tissue being operated on can affect the optimal energy level for an ultrasonic surgical instrument or RF electrosurgical instrument to operate at. A situationally aware surgical hub 5104 could determine what type of surgical procedure is being performed and then customize the energy level for the ultrasonic surgical instrument or RF electrosurgical instrument, respectively, according to the expected tissue profile for the surgical procedure. Furthermore, a situationally aware surgical hub 5104 can be configured to adjust the energy level for the ultrasonic surgical instrument or RF electrosurgical instrument throughout the course of a surgical procedure, rather than just on a procedure-by-procedure basis. A situationally aware surgical hub 5104 could determine what step of the surgical procedure is being performed or will subsequently be performed and then update the control algorithms for the generator and/or ultrasonic surgical instrument or RF electrosurgical instrument to set the energy level at a value appropriate for the expected tissue type according to the surgical procedure step.

[0203] As yet another example, data can be drawn from additional data sources 5126 to improve the conclusions that the surgical hub 5104 draws from one data source 5126. A situationally aware surgical hub 5104 could augment data that it receives from the modular devices 5102 with contextual information that it has built up regarding the surgical procedure from other data sources 5126. For example, a situationally aware surgical hub 5104 can be configured to determine whether hemostasis has occurred (i.e., whether bleeding at a surgical site has stopped) according to video or image data received from a medical imaging device. However, in some cases the video or image data can be inconclusive. Therefore, in one exemplification, the surgical hub 5104 can be further configured to compare a physiologic measurement (e.g., blood pressure sensed by a BP monitor communicably connected to the surgical hub 5104) with the visual or image data of hemostasis (e.g., from a medical imaging device 124 (FIG. 2) communicably coupled to the surgical hub 5104) to make a determination on the integrity of the staple line or tissue weld. In other words, the situational awareness system of the surgical hub 5104 can consider the physiological measurement data to provide additional context in analyzing the visualization data. The additional context can be useful when the visualization data may be inconclusive or incomplete on its own.

[0204] Another benefit includes proactively and automatically controlling the paired modular devices 5102 according to the particular step of the surgical procedure that is being performed to reduce the number of times that medical personnel are required to interact with or control the surgical system 5100 during the course of a surgical procedure. For example, a situationally aware surgical hub 5104 could proactively activate the generator to which an RF electrosurgical instrument is connected if it determines that a subsequent step of the procedure requires the use of the instrument. Proactively activating the energy source allows the instrument to be ready for use a soon as the preceding step of the procedure is completed.

[0205] As another example, a situationally aware surgical hub 5104 could determine whether the current or subsequent step of the surgical procedure requires a different view or degree of magnification on the display according to the feature(s) at the surgical site that the surgeon is expected to need to view. The surgical hub 5104 could then proactively change the displayed view (supplied by, e.g., a medical imaging device for the visualization system 108) accordingly so that the display automatically adjusts throughout the surgical procedure.

[0206] As yet another example, a situationally aware surgical hub 5104 could determine which step of the surgical procedure is being performed or will subsequently be performed and whether particular data or comparisons between data will be required for that step of the surgical procedure. The surgical hub 5104 can be configured to automatically call up data screens based upon the step of the surgical procedure being performed, without waiting for the surgeon to ask for the particular information.

[0207] Another benefit includes checking for errors during the setup of the surgical procedure or during the course of the surgical procedure. For example, a situationally aware surgical hub 5104 could determine whether the operating theater is setup properly or optimally for the surgical procedure to be performed. The surgical hub 5104 can be configured to determine the type of surgical procedure being performed, retrieve the corresponding checklists, product location, or setup needs (e.g., from a memory), and then compare the current operating theater layout to the standard layout for the type of surgical procedure that the surgical hub 5104 determines is being performed. In one exemplification, the surgical hub 5104 can be configured to compare the list of items for the procedure (scanned by the scanner 5132 depicted in FIG. 26B, for example) and/or a list of devices paired with the surgical hub 5104 to a recommended or anticipated manifest of items and/or devices for the given surgical procedure. If there are any discontinuities between the lists, the surgical hub 5104 can be configured to provide an alert indicating that a particular modular device 5102, patient monitoring device 5124, and/or other surgical item is missing. In one exemplification, the surgical hub 5104 can be configured to determine the relative distance or position of the modular devices 5102 and patient monitoring devices 5124 via proximity sensors, for example. The surgical hub 5104 can compare the relative positions of the devices to a recommended or anticipated layout for the particular surgical procedure. If there are any discontinuities between the layouts, the surgical hub 5104 can be configured to provide an alert indicating that the current layout for the surgical procedure deviates from the recommended layout.

[0208] As another example, a situationally aware surgical hub 5104 could determine whether the surgeon (or other medical personnel) was making an error or otherwise deviating from the expected course of action during the course of a surgical procedure. For example, the surgical hub 5104 can be configured to determine the type of surgical procedure being performed, retrieve the corresponding list of steps or order of equipment usage (e.g., from a memory), and then compare the steps being performed or the equipment being used during the course of the surgical procedure to the expected steps or equipment for the type of surgical procedure that the surgical hub 5104 determined is being performed. In one exemplification, the surgical hub 5104 can be configured to provide an alert indicating that an unexpected action is being performed or an unexpected device is being utilized at the particular step in the surgical procedure.

[0209] Overall, the situational awareness system for the surgical hub 5104 improves surgical procedure outcomes by adjusting the surgical instruments (and other modular devices 5102) for the particular context of each surgical procedure (such as adjusting to different tissue types) and validating actions during a surgical procedure. The situational awareness system also improves surgeons' efficiency in performing surgical procedures by automatically suggesting next steps, providing data, and adjusting displays and other modular devices 5102 in the surgical theater according to the specific context of the procedure.

[0210] FIG. 23A illustrates a logic flow diagram of a process 5000a for controlling a modular device 5102 according to contextual information derived from received data. In other words, a situationally aware surgical hub 5104 can execute the process 5000a to determine appropriate control adjustments for modular devices 5102 paired with the surgical hub 5104 before, during, or after a surgical procedure as dictated by the context of the surgical procedure. In the following description of the process 5000a, reference should also be made to FIG. 22. In one exemplification, the process 5000a can be executed by a control circuit of a surgical hub 5104, as depicted in FIG. 10 (processor 244). In another exemplification, the process 5000a can be executed by a cloud computing system 104, as depicted in FIG. 1. In yet another exemplification, the process 5000a can be executed by a distributed computing system including at least one of the aforementioned cloud computing system 104 and/or a control circuit of a surgical hub 5104 in combination with a control circuit of a modular device, such as the microcontroller 461 of the surgical instrument depicted in FIG. 12, the microcontroller 620 of the surgical instrument depicted in FIG. 16, the control circuit 710 of the robotic surgical instrument 700 depicted in FIG. 17, the control circuit 760 of the surgical instruments 750, 790 depicted in FIGS. 18 and 19, or the controller 838 of the generator 800 depicted in FIG. 20. For economy, the following description of the process 5000a will be described as being executed by the control circuit of a surgical hub 5104; however, it should be understood that the description of the process 5000a encompasses all of the aforementioned exemplifications.

[0211] The control circuit of the surgical hub 5104 executing the process 5000a receives 5004a data from one or more data sources 5126 to which the surgical hub 5104 is communicably connected. The data sources 5126 include, for example, databases 5122, patient monitoring devices 5124, and modular devices 5102. In one exemplification, the databases 5122 can include a patient EMR database associated with the medical facility at which the surgical procedure is being performed. The data received 5004a from the data sources 5126 can include perioperative data, which includes preoperative data, intraoperative data, and/or postoperative data associated with the given surgical procedure. The data received 5004a from the databases 5122 can include the type of surgical procedure being performed or the patient's medical history (e.g., medical conditions that may or may not be the subject of the present surgical procedure). In one exemplification depicted in FIG. 24A, the control circuit can receive 5004a the patient or surgical procedure data by querying the patient EMR database with a unique identifier associated with the patient. The surgical hub 5104 can receive the unique identifier from, for example, a scanner 5128 for scanning the patient's wristband 5130 encoding the unique identifier associated with the patient when the patient enters the operating theater, as depicted in FIG. 26A. In one exemplification, the patient monitoring devices 5124 include BP monitors, EKG monitors, and other such devices that are configured to monitor one or more parameters associated with a patient. As with the modular devices 5102, the patient monitoring devices 5124 can be paired with the surgical hub 5104 such that the surgical hub 5104 receives 5004a data therefrom. In one exemplification, the data received 5004a from the modular devices 5102 that are paired with (i.e., communicably coupled to) the surgical hub 5104 includes, for example, activation data (i.e., whether the device is powered on or in use), data of the internal state of the modular device 5102 (e.g., force to fire or force to close for a surgical cutting and stapling device, pressure differential for an insufflator or smoke evacuator, or energy level for an RF or ultrasonic surgical instrument), or patient data (e.g., tissue type, tissue thickness, tissue mechanical properties, respiration rate, or airway volume).

[0212] As the process 5000a continues, the control circuit of the surgical hub 5104 can derive 5006a contextual information from the data received 5004a from the data sources 5126. The contextual information can include, for example, the type of procedure being performed, the particular step being performed in the surgical procedure, the patient's state (e.g., whether the patient is under anesthesia or whether the patient is in the operating room), or the type of tissue being operated on. The control circuit can derive 5006a contextual information according to data from ether an individual data source 5126 or combinations of data sources 5126. Further, the control circuit can derive 5006a contextual information according to, for example, the type(s) of data that it receives, the order in which the data is received, or particular measurements or values associated with the data. For example, if the control circuit receives data from an RF generator indicating that the RF generator has been activated, the control circuit could thus infer that the RF electrosurgical instrument is now in use and that the surgeon is or will be performing a step of the surgical procedure utilizing the particular instrument. As another example, if the control circuit receives data indicating that a laparoscope imaging device has been activated and an ultrasonic generator is subsequently activated, the control circuit can infer that the surgeon is on a laparoscopic dissection step of the surgical procedure due to the order in which the events occurred. As yet another example, if the control circuit receives data from a ventilator indicating that the patient's respiration is below a particular rate, then the control circuit can determine that the patient is under anesthesia.

[0213] The control circuit can then determine 5008a what control adjustments are necessary (if any) for one or more modular devices 5102 according to the derived 5006a contextual information. After determining 5008a the control adjustments, the control circuit of the surgical hub 5104 can then control 5010a the modular devices according to the control adjustments (if the control circuit determined 5008a that any were necessary). For example, if the control circuit determines that an arthroscopic procedure is being performed and that the next step in the procedure utilizes an RF or ultrasonic surgical instrument in a liquid environment, the control circuit can determine 5008a that a control adjustment for the generator of the RF or ultrasonic surgical instrument is necessary to preemptively increase the energy output of the instrument (because such instruments require increased energy in liquid environments to maintain their effectiveness). The control circuit can then control 5010a the generator and/or the RF or ultrasonic surgical instrument accordingly by causing the generator to increase its output and/or causing the RF or ultrasonic surgical instrument to increase the energy drawn from the generator. The control circuit can control 5010a the modular devices 5102 according to the determined 5008a control adjustment by, for example, transmitting the control adjustments to the particular modular device to update the modular device's 5102 programming. In another exemplification wherein the modular device(s) 5102 and the surgical hub 5104 are executing a distributed computing architecture, the control circuit can control 5010a the modular device 5102 according to the determined 5008a control adjustments by updating the distributed program.

[0214] FIGS. 23B-D illustrate representative implementations of the process 5000a depicted in FIG. 23A. As with the process 5000a depicted in FIG. 23A, the processes illustrated in FIGS. 23B-D can, in one exemplification, be executed by a control circuit of the surgical hub 5104. FIG. 23B illustrates a logic flow diagram of a process 5000b for controlling a second modular device according to contextual information derived from perioperative data received from a first modular device. In the illustrated exemplification, the control circuit of the surgical hub 5104 receives 5004b perioperative data from a first modular device. The perioperative data can include, for example, data regarding the modular device 5102 itself (e.g., pressure differential, motor current, internal forces, or motor torque) or data regarding the patient with which the modular device 5102 is being utilized (e.g., tissue properties, respiration rate, airway volume, or laparoscopic image data). After receiving 5004b the perioperative data, the control circuit of the surgical hub 5104 derives 5006b contextual information from the perioperative data. The contextual information can include, for example, the procedure type, the step of the procedure being performed, or the status of the patient. The control circuit of the surgical hub 5104 then determines 5008b control adjustments for a second modular device based upon the derived 5006b contextual information and then controls 5010b the second modular device accordingly. For example, the surgical hub 5104 can receive 5004b perioperative data from a ventilator indicating that the patient's lung has been deflated, derive 5006b the contextual information therefrom that the subsequent step in the particular procedure type utilizes a medical imaging device (e.g., a scope), determine 5008b that the medical imaging device should be activated and set to a particular magnification, and then control 5010b the medical imaging device accordingly.

[0215] FIG. 23C illustrates a logic flow diagram of a process 5000c for controlling a second modular device according to contextual information derived from perioperative data received from a first modular device and the second modular device. In the illustrated exemplification, the control circuit of the surgical hub 5104 receives 5002c perioperative data from a first modular device and receives 5004c perioperative data from a second modular device. After receiving 5002c, 5004c the perioperative data, the control circuit of the surgical hub 5104 derives 5006c contextual information from the perioperative data. The control circuit of the surgical hub 5104 then determines 5008c control adjustments for the second modular device based upon the derived 5006c contextual information and then controls 5010c the second modular device accordingly. For example, the surgical hub 5104 can receive 5002c perioperative data from a RF electrosurgical instrument indicating that the instrument has been fired, receive 5004c perioperative data from a surgical stapling instrument indicating that the instrument has been fired, derive 5006c the contextual information therefrom that the subsequent step in the particular procedure type requires that the surgical stapling instrument be fired with a particular force (because the optimal force to fire can vary according to the tissue type being operated on), determine 5008c the particular force thresholds that should be applied to the surgical stapling instrument, and then control 5010c the surgical stapling instrument accordingly.

[0216] FIG. 23D illustrates a logic flow diagram of a process 5000d for controlling a third modular device according to contextual information derived from perioperative data received from a first modular device and a second modular device. In the illustrated exemplification, the control circuit of the surgical hub 5104 receives 5002d perioperative data from a first modular device and receives 5004d perioperative data from a second modular device. After receiving 5002d, 5004d the perioperative data, the control circuit of the surgical hub 5104 derives 5006d contextual information from the perioperative data. The control circuit of the surgical hub 5104 then determines 5008d control adjustments for a third modular device based upon the derived 5006d contextual information and then controls 5010d the third modular device accordingly. For example, the surgical hub 5104 can receive 5002d, 5004d perioperative data from an insufflator and a medical imaging device indicating that both devices have been activated and paired to the surgical hub 5104, derive 5006d the contextual information therefrom that a video-assisted thoracoscopic surgery (VATS) procedure is being performed, determine 5008d that the displays connected to the surgical hub 5104 should be set to display particular views or information associated with the procedure type, and then control 5010d the displays accordingly.

[0217] FIG. 24A illustrates a diagram of a surgical system 5100 including a surgical hub 5104 communicably coupled to a particular set of data sources 5126. A surgical hub 5104 including a situational awareness system can utilize the data received from the data sources 5126 to derive contextual information regarding the surgical procedure that the surgical hub 5104, the modular devices 5102 paired to the surgical hub 5104, and the patient monitoring devices 5124 paired to the surgical hub 5104 are being utilized in connection with. The inferences (i.e., contextual information) that one exemplification of the situational awareness system can derive from the particular set of data sources 5126 are depicted in dashed boxes extending from the data source(s) 5126 from which they are derived. The contextual information derived from the data sources 5126 can include, for example, what step of the surgical procedure is being performed, whether and how a particular modular device 5102 is being used, and the patient's condition.

[0218] In the example illustrated in FIG. 24A, the data sources 5126 include a database 5122, a variety of modular devices 5102, and a variety of patient monitoring devices 5124. The surgical hub 5104 can be connected to various databases 5122 to retrieve therefrom data regarding the surgical procedure that is being performed or is to be performed. In one exemplification of the surgical system 5100, the databases 5122 include an EMR database of a hospital. The data that can be received by the situational awareness system of the surgical hub 5104 from the databases 5122 can include, for example, start (or setup) time or operational information regarding the procedure (e.g., a segmentectomy in the upper right portion of the thoracic cavity). The surgical hub 5104 can derive contextual information regarding the surgical procedure from this data alone or from the combination of this data and data from other data sources 5126.

[0219] The surgical hub 5104 can also be connected to (i.e., paired with) a variety of patient monitoring devices 5124. In one exemplification of the surgical system 5100, the patient monitoring devices 5124 that can be paired with the surgical hub 5104 can include a pulse oximeter (SpO2 monitor) 5114, a BP monitor 5116, and an EKG monitor 5120. The perioperative data that can be received by the situational awareness system of the surgical hub 5104 from the patient monitoring devices 5124 can include, for example, the patient's oxygen saturation, blood pressure, heart rate, and other physiological parameters. The contextual information that can be derived by the surgical hub 5104 from the perioperative data transmitted by the patient monitoring devices 5124 can include, for example, whether the patient is located in the operating theater or under anesthesia. The surgical hub 5104 can derive these inferences from data from the patient monitoring devices 5124 alone or in combination with data from other data sources 5126 (e.g., the ventilator 5118).

[0220] The surgical hub 5104 can also be connected to (i.e., paired with) a variety of modular devices 5102. In one exemplification of the surgical system 5100, the modular devices 5102 that can be paired with the surgical hub 5104 can include a smoke evacuator 5106, a medical imaging device 5108, an insufflator 5110, a combined energy generator 5112 (for powering an ultrasonic surgical instrument and/or an RF electrosurgical instrument), and a ventilator 5118.

[0221] The medical imaging device 5108 includes an optical component and an image sensor that generates image data. The optical component includes a lens or a light source, for example. The image sensor includes a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS), for example. In various exemplifications, the medical imaging device 5108 includes an endoscope, a laparoscope, a thoracoscope, and other such imaging devices. Various additional components of the medical imaging device 5108 are described above. The perioperative data that can be received by the surgical hub 5104 from the medical imaging device 5108 can include, for example, whether the medical imaging device 5108 is activated and a video or image feed. The contextual information that can be derived by the surgical hub 5104 from the perioperative data transmitted by the medical imaging device 5108 can include, for example, whether the procedure is a VATS procedure (based on whether the medical imaging device 5108 is activated or paired to the surgical hub 5104 at the beginning or during the course of the procedure). Furthermore, the image or video data from the medical imaging device 5108 (or the data stream representing the video for a digital medical imaging device 5108) can processed by a pattern recognition system or a machine learning system to recognize features (e.g., organs or tissue types) in the field of view (FOV) of the medical imaging device 5108, for example. The contextual information that can be derived by the surgical hub 5104 from the recognized features can include, for example, what type of surgical procedure (or step thereof) is being performed, what organ is being operated on, or what body cavity is being operated in.

[0222] In one exemplification depicted in FIG. 24B, the smoke evacuator 5106 includes a first pressure sensor P1 configured to detect the ambient pressure in the operating theater, a second pressure sensor P2 configured to detect the internal downstream pressure (i.e., the pressure downstream from the inlet), and a third pressure sensor P3 configured to detect the internal upstream pressure. In one exemplification, the first pressure sensor P1 can be a separate component from the smoke evacuator 5106 or otherwise located externally to the smoke evacuator 5106. The perioperative data that can be received by the surgical hub 5104 from the smoke evacuator 5106 can include, for example, whether the smoke evacuator 5106 is activated, pressure readings from each of the sensors P1, P2, P3, and pressure differentials between pairs of the sensors P1, P2, P3. The perioperative data can also include, for example, the type of tissue being operated on (based upon the chemical composition of the smoke being evacuated) and the amount of tissue being cut. The contextual information that can be derived by the surgical hub 5104 from the perioperative data transmitted by the smoke evacuator 5106 can include, for example, whether the procedure being performed is utilizing insufflation. The smoke evacuator 5106 perioperative data can indicate whether the procedure is utilizing insufflation according to the pressure differential between P3 and P1. If the pressure sensed by P3 is greater than the pressure sensed by P1 (i.e., P3 - P1 > 0), then the body cavity to which the smoke evacuator 5106 is connected is insufflated. If the pressure sensed by P3 is equal to the pressure sensed by P1 (i.e., P3 - P1 = 0), then the body cavity is not insufflated. When the body cavity is not insufflated, the procedure may be an open type of procedure.

[0223] The insufflator 5110 can include, for example, pressure sensors and current sensors configured to detect internal parameters of the insufflator 5110. The perioperative data that can be received by the surgical hub 5104 from the insufflator can include, for example, whether the insufflator 5110 is activated and the electrical current drawn by the insufflator's 5110 pump. The surgical hub 5104 can determine whether the insufflator 5110 is activated by, for example, directly detecting whether the device is powered on, detecting whether there is a pressure differential between an ambient pressure sensor and a pressure sensor internal to the surgical site, or detecting whether the pressure valves of the insufflator 5110 are pressurized (activated) or non-pressurized (deactivated). The contextual information that can be derived by the surgical hub 5104 from the perioperative data transmitted by the insufflator 5110 can include, for example, the type of procedure being performed (e.g., insufflation is utilized in laparoscopic procedures, but not arthroscopic procedures) and what body cavity is being operated in (e.g., insufflation is utilized in the abdominal cavity, but not in the thoracic cavity). In some exemplifications, the inferences derived from the perioperative data received from different modular devices 5102 can be utilized to confirm and/or increase the confidence of prior inferences. For example, if the surgical hub 5104 determines that the procedure is utilizing insufflation because the insufflator 5110 is activated, the surgical hub 5104 can then confirm that inference by detecting whether the perioperative data from the smoke evacuator 5106 likewise indicates that the body cavity is insufflated.

[0224] The combined energy generator 5112 supplies energy to one or more ultrasonic surgical instruments or RF electrosurgical instruments connected thereto. The perioperative data that can be received by the surgical hub 5104 from the combined energy generator 5112 can include, for example, the mode that the combined energy generator 5112 is set to (e.g., a vessel sealing mode or a cutting/coagulation mode). The contextual information that can be derived by the surgical hub 5104 from the perioperative data transmitted by the combined energy generator 5112 can include, for example, the surgical procedural type (based on the number and types of surgical instruments that are connected to the energy generator 5112) and the procedural step that is being performed (because the particular surgical instrument being utilized or the particular order in which the surgical instruments are utilized corresponds to different steps of the surgical procedure). Further, the inferences derived by the surgical hub 5104 can depend upon inferences and/or perioperative data previously received by the surgical hub 5104. Once the surgical hub 5104 has determined the general category or specific type of surgical procedure being performed, the surgical hub 5104 can determine or retrieve an expected sequence of steps for the surgical procedure and then track the surgeon's progression through the surgical procedure by comparing the detected sequence in which the surgical instruments are utilized relative to the expected sequence.

[0225] The perioperative data that can be received by the surgical hub 5104 from the ventilator 5118 can include, for example, the respiration rate and airway volume of the patient. The contextual information that can be derived by the surgical hub 5104 from the perioperative data transmitted by the ventilator 5118 can include, for example, whether the patient is under anesthesia and whether the patient's lung is deflated. In some exemplifications, certain contextual information can be inferred by the surgical hub 5104 based on combinations of perioperative data from multiple data sources 5126. For example, the situational awareness system of the surgical hub 5104 can be configured to infer that the patient is under anesthesia when the respiration rate detected by the ventilator 5118, the blood pressure detected by the BP monitor 5116, and the heart rate detected by the EKG monitor 5120 fall below particular thresholds. For certain contextual information, the surgical hub 5104 can be configured to only derive a particular inference when the perioperative data from a certain number or all of the relevant data sources 5126 satisfy the conditions for the inference.

[0226] As can be seen from the particular exemplified surgical system 5100, the situational awareness system of a surgical hub 5104 can derive a variety of contextual information regarding the surgical procedure being performed from the data sources 5126. The surgical hub 5104 can utilize the derived contextual information to control the modular devices 5102 and make further inferences about the surgical procedure in combination with data from other data sources 5126. It should be noted that the inferences depicted in FIG. 24A and described in connection with the depicted surgical system 5100 are merely exemplary and should not be interpreted as limiting in anyway. Furthermore, the surgical hub 5104 can be configured to derive a variety of other inferences from the same (or different) modular devices 5102 and/or patient monitoring devices 5124. In other exemplifications, a variety of other modular devices 5102 and/or patient monitoring devices 5124 can be paired to the surgical hub 5104 in the operating theater and data received from those additional modular devices 5102 and/or patient monitoring devices 5124 can be utilized by the surgical hub 5104 to derive the same or different contextual information about the particular surgical procedure being performed.

[0227] FIGS. 25A-J depict logic flow diagrams for processes for deriving 5008a, 5008b, 5008c, 5008d contextual information from various modular devices, as discussed above with respect to the processes 5000a, 5000b, 5000c, 5000d depicted in FIGS. 23A-D. The derived contextual information in FIGS. 25A-C is the procedure type. The procedure type can correspond to techniques utilized during the surgical procedure (e.g., a segmentectomy), the category of the surgical procedure (e.g., a laparoscopic procedure), the organ, tissue, or other structure being operated on, and other characteristics to identify the particular surgical procedure (e.g., the procedure utilizes insufflation). The derived contextual information in FIGS. 25D-G is the particular step of the surgical procedure that is being performed. The derived contextual information in FIGS. 25H-J is the patient's status. It can be noted that the patient's status can also correspond to the particular step of the surgical procedure that is being performed (e.g., determining that the patient's status has changed from not being under anesthesia to being under anesthesia can indicate that the step of the surgical procedure of placing the patient under anesthesia was carried out by the surgical staff). As with the process 5000a depicted in FIG. 23A, the processes illustrated in FIGS. 25A-J can, in one exemplification, be executed by a control circuit of the surgical hub 5104. In the following descriptions of the processes illustrated in FIGS. 25A-J, reference should also be made to FIG. 24A.

[0228] FIG. 25A illustrates a logic flow diagram of a process 5111 for determining a procedure type according to smoke evacuator 5106 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5111 receives 5113 perioperative data from the smoke evacuator 5106 and then determines 5115 whether the smoke evacuator 5106 is activated based thereon. If the smoke evacuator 5106 is not activated, then the process 5111 continues along the NO branch and the control circuit of the surgical hub 5104 continues monitoring for the receipt of smoke evacuator 5106 perioperative data. If the smoke evacuator 5106 is activated, then the process 5111 continues along the YES branch and the control circuit of the surgical hub 5104 determines 5117 whether there is a pressure differential between an internal upstream pressure sensor P3 (FIG. 24B) and an external or ambient pressure sensor P1 (FIG. 24B). If there is a pressure differential (i.e., the internal upstream pressure of the smoke evacuator 5106 is greater then the ambient pressure of the operating theater), then the process 5111 continues along the YES branch and the control circuit determines 5119 that the surgical procedure is an insufflation-utilizing procedure. If there is not a pressure differential, then the process 5111 continues along the NO branch and the control circuit determines 5121 that the surgical procedure is not an insufflation-utilizing procedure.

[0229] FIG. 25B illustrates a logic flow diagram of a process 5123 for determining a procedure type according to smoke evacuator 5106, insufflator 5110, and medical imaging device 5108 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5123 receives 5125, 5127, 5129 perioperative data from the smoke evacuator 5106, insufflator 5110, and medical imaging device 5108 and then determines 5131 whether all of the devices are activated or paired with the surgical hub 5104. If all of these devices are not activated or paired with the surgical hub 5104, then the process 5123 continues along the NO branch and the control circuit determines 5133 that the surgical procedure is not a VATS procedure. If all of the aforementioned devices are activated or paired with the surgical hub 5104, then the process 5123 continues along the YES branch and the control circuit determines 5135 that the surgical procedure is a VATS procedure. The control circuit can make this determination based upon the fact that al of these devices are required for a VATS procedure; therefore, if not all of these devices are being utilized in the surgical procedure, it cannot be a VATS procedure.

[0230] FIG. 25C illustrates a logic flow diagram of a process 5137 for determining a procedure type according to medical imaging device 5108 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5137 receives 5139 perioperative data from the medical imaging device 5108 and then determines 5141 whether the medical imaging device 5108 is transmitting an image or video feed. If the medical imaging device 5108 is not transmitting an image or video feed, then the process 5137 continues along the NO branch and the control circuit determines 5143 that the surgical procedure is not a VATS procedure. If the medical imaging device 5108 is not transmitting an image or video feed, then the process 5137 continues along the YES branch and the control circuit determines 5145 that the surgical procedure is a VATS procedure. In one exemplification, the control circuit of the surgical hub 5104 can execute the process 5137 depicted in FIG. 25C in combination with the process 5123 depicted in FIG. 25B in order to confirm or increase the confidence in the contextual information derived by both processes 5123, 5137. If there is a discontinuity between the determinations of the processes 5123, 5137 (e.g., the medical imaging device 5108 is transmitting a feed, but not all of the requisite devices are paired with the surgical hub 5104), then the surgical hub 5104 can execute additional processes to come to a final determination that resolves the discontinuities between the processes 5123, 5137 or display an alert or feedback to the surgical staff as to the discontinuity.

[0231] FIG. 25D illustrates a logic flow diagram of a process 5147 for determining a procedural step according to insufflator 5110 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5147 receives 5149 perioperative data from the insufflator 5110 and then determines 5151 whether there is a pressure differential between the surgical site and the ambient environment of the operating theater. In one exemplification, the insufflator 5110 perioperative data can include a surgical site pressure (e.g., the intra-abdominal pressure) sensed by a first pressure sensor associated with the insufflator 5110, which can be compared against a pressure sensed by a second pressure sensor configured to detect the ambient pressure. The first pressure sensor can be configured to detect an intra-abdominal pressure between 0-10 mmHg, for example. If there is a pressure differential, then the process 5147 continues along the YES branch and the control circuit determines 5153 that an insufflation-utilizing step of the surgical procedure is being performed. If there is not a pressure differential, then the process 5147 continues along the NO branch and the control circuit determines 5155 that an insufflation-utilizing step of the surgical procedure is not being performed.

[0232] FIG. 25E illustrates a logic flow diagram of a process 5157 for determining a procedural step according to energy generator 5112 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5157 receives 5159 perioperative data from the energy generator 5112 and then determines 5161 whether the energy generator 5112 is in the sealing mode. In various exemplifications, the energy generator 5112 can include two modes: a sealing mode corresponding to a first energy level and a cut/coagulation mode corresponding to a second energy level. If the energy generator 5112 is not in the sealing mode, then the process 5157 proceeds along the NO branch and the control circuit determines 5163 that a dissection step of the surgical procedure is being performed. The control circuit can make this determination 5163 because if the energy generator 5112 is not on the sealing mode, then it must thus be on the cut/coagulation mode for energy generators 5112 having two modes of operation. The cut/coagulation mode of the energy generator 5112 corresponds to a dissection procedural step because it provides an appropriate degree of energy to the ultrasonic surgical instrument or RF electrosurgical instrument to dissect tissue. If the energy generator 5112 is in the sealing mode, then the process 5157 proceeds along the YES branch and the control circuit determines 5165 that a ligation step of the surgical procedure is being performed. The sealing mode of the energy generator 5112 corresponds to a ligation procedural step because it provides an appropriate degree of energy to the ultrasonic surgical instrument or RF electrosurgical instrument to ligate vessels.

[0233] FIG. 25F illustrates a logic flow diagram of a process 5167 for determining a procedural step according to energy generator 5112 perioperative data. In various aspects, previously received perioperative data and/or previously derived contextual information can also be considered by processes in deriving subsequent contextual information. This allows the situational awareness system of the surgical hub 5104 to derive additional and/or increasingly detailed contextual information about the surgical procedure as the procedure is performed. In this exemplification, the process 5167 determines 5169 that a segmentectomy procedure is being performed. This contextual information can be derived by this process 5167 or other processes based upon other received perioperative data and/or retrieved from a memory. Subsequently, the control circuit receives 5171 perioperative data from the energy generator 5112 indicating that a surgical instrument is being fired and then determines 5173 whether the energy generator 5112 was utilized in a previous step of the procedure to fire the surgical instrument. The control circuit can determine 5173 whether the energy generator 5112 was previously utilized in a prior step of the procedure by retrieving a list of the steps that have been performed in the current surgical procedure from a memory, for example. In such exemplifications, when the surgical hub 5104 determines that a step of the surgical procedure has been performed or completed by the surgical staff, the surgical hub 5104 can update a list of the procedural steps that have been performed, which can then be subsequently retrieved by the control circuit of the surgical hub 5104. In one exemplification, the surgical hub 5104 can distinguish between sequences of firings of the surgical instrument as corresponding to separate steps of the surgical procedure according to the time delay between the sequences of firings, whether any intervening actions were taken or modular devices 5102 were utilized by the surgical staff, or other factors that the situational awareness system can detect. If the energy generator 5112 has not been previously utilized during the course of the segmentectomy procedure, the process 5167 proceeds along the NO branch and the control circuit determines 5175 that the step of dissecting tissue to mobilize the patient's lungs is being performed by the surgical staff. If the energy generator 5112 has been previously utilized during the course of the segmentectomy procedure, the process 5167 proceeds along the YES branch and the control circuit determines 5177 that the step of dissecting nodes is being performed by the surgical staff. An ultrasonic surgical instrument or RF electrosurgical instrument is utilized twice during the course of an example of a segmentectomy procedure (e.g., FIG. 27); therefore, the situational awareness system of the surgical hub 5104 executing the process 5167 can distinguish between which step the utilization of the energy generator 5112 indicates is currently being performed based upon whether the energy generator 5112 was previously utilized.

[0234] FIG. 25G illustrates a logic flow diagram of a process 5179 for determining a procedural step according to stapler perioperative data. As described above with respect to the process 5167 illustrated in FIG. 25F, the process 5179 utilizes previously received perioperative data and/or previously derived contextual information in deriving subsequent contextual information. In this exemplification, the process 5179 determines 5181 that a segmentectomy procedure is being performed. This contextual information can be derived by this process 5179 or other processes based upon other received perioperative data and/or retrieved from a memory. Subsequently, the control circuit receives 5183 perioperative data from the surgical stapling instrument (i.e., stapler) indicating that the surgical stapling instrument is being fired and then determines 5185 whether the surgical stapling instrument was utilized in a previous step of the surgical procedure. As described above, the control circuit can determine 5185 whether the surgical stapling instrument was previously utilized in a prior step of the procedure by retrieving a list of the steps that have been performed in the current surgical procedure from a memory, for example. If the surgical stapling instrument has not been utilized previously, then the process 5179 proceeds along the NO branch and the control circuit determines 5187 that the step of ligating arteries and veins is being performed by the surgical staff. If the surgical stapling instrument has been previously utilized during the course of the segmentectomy procedure, the process 5179 proceeds along the YES branch and the control circuit determines 5189 that the step of transecting parenchyma is being performed by the surgical staff. A surgical stapling instrument is utilized twice during the course of an example of a segmentectomy procedure (e.g., FIG. 27); therefore, the situational awareness system of the surgical hub 5104 executing the process 5179 can distinguish between which step the utilization of the surgical stapling instrument indicates is currently being performed based upon whether the surgical stapling instrument was previously utilized.

[0235] FIG. 25H illustrates a logic flow diagram of a process 5191 for determining a patient status according to ventilator 5110, pulse oximeter 5114, BP monitor 5116, and/or EKG monitor 5120 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5191 receives 5193, 5195, 5197, 5199 perioperative data from each of the ventilator 5110, pulse oximeter 5114, BP monitor 5116, and/or EKG monitor 5120 and then determines whether one or more values of the physiological parameters sensed by each of the devices fall below a threshold for each of the physiological parameters. The threshold for each physiological parameter can correspond to a value that corresponds to a patient being under anesthesia. In other words, the control circuit determines 5201 whether the patient's respiration rate, oxygen saturation, blood pressure, and/or heart rate indicate that the patient is under anesthesia according data sensed by the respective modular device 5102 and/or patient monitoring devices 5124. In one exemplification, if the all of the values from the perioperative data are below their respective thresholds, then the process 5191 proceeds along the YES branch and the control circuit determines 5203 that the patient is under anesthesia. In another exemplification, the control circuit can determine 5203 that the patient is under anesthesia if a particular number or ratio of the monitored physiological parameters indicate that the patient is under anesthesia. Otherwise, the process 5191 proceeds along the NO branch and the control circuit determines 5205 that the patient is not under anesthesia.

[0236] FIG. 25I illustrates a logic flow diagram of a process 5207 for determining a patient status according to pulse oximeter 5114, BP monitor 5116, and/or EKG monitor 5120 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5207 receives 5209, 5211, 5213 (or attempts to receive) perioperative data the pulse oximeter 5114, BP monitor 5116, and/or EKG monitor 5120 and then determines 5215 whether at least one of the devices is paired with the surgical hub 5104 or the surgical hub 5104 is otherwise receiving data therefrom. If the control circuit is receiving data from at least one of these patient monitoring devices 5124, the process 5207 proceeds along the YES branch and the control circuit determines 5217 that the patient is in the operating theater. The control circuit can make this determination because the patient monitoring devices 5214 connected to the surgical hub 5104 must be in the operating theater and thus the patient must likewise be in the operating theater. If the control circuit is not receiving data from at least one of these patient monitoring devices 5124, the process 5207 proceeds along the NO branch and the control circuit determines 5219 that the patient is not in the operating theater.

[0237] FIG. 25J illustrates a logic flow diagram of a process 5221 for determining a patient status according to ventilator 5110 perioperative data. In this exemplification, the control circuit of the surgical hub 5104 executing the process 5221 receives 5223 perioperative data from the ventilator 5110 and then determines 5225 whether the patient's airway volume has decreased or is decreasing. In one exemplification, the control circuit determines 5225 whether the patient's airway volume falls below a particular threshold value indicative of a lung having collapsed or been deflated. In another exemplification, the control circuit determines 5225 whether the patient's airway volume falls below an average or baseline level by a threshold amount. If the patient's airway volume has not decreased sufficiently, the process 5221 proceeds along the NO branch and the control circuit determines 5227 that the patient's lung is not deflated. If the patient's airway volume has decreased sufficiently, the process 5221 proceeds along the YES branch and the control circuit determines 5229 that the patient's lung is not deflated.

[0238] In one exemplification, the surgical system 5100 can further include various scanners that can be paired with the surgical hub 5104 to detect and record objects and individuals that enter and exit the operating theater. FIG. 26A illustrates a scanner 5128 paired with a surgical hub 5104 that is configured to scan a patient wristband 5130. In one aspect, the scanner 5128 includes, for example, a barcode reader or a radio-frequency identification (RFID) reader that is able to read patient information from the patient wristband 5130 and then transmit that information to the surgical hub 5104. The patient information can include the surgical procedure to be performed or identifying information that can be cross-referenced with the hospital's EMR database 5122 by the surgical hub 5104, for example. FIG. 26B illustrates a scanner 5132 paired with a surgical hub 5104 that is configured to scan a product list 5134 for a surgical procedure. The surgical hub 5104 can utilize data from the scanner 5132 regarding the number, type, and mix of items to be used in the surgical procedure to identify the type of surgical procedure being performed. In one exemplification, the scanner 5132 includes a product scanner (e.g., a barcode reader or an RFID reader) that is able to read the product information (e.g., name and quantity) from the product itself or the product packaging as the products are brought into the operating theater and then transmit that information to the surgical hub 5104. In another exemplification, the scanner 5132 includes a camera (or other visualization device) and associated optical character recognition software that is able to read the product information from a product list 5134. The surgical hub 5104 can be configured to cross-reference the list of items indicated by the received data with a lookup table or database of items utilized for various types of surgical procedures in order to infer the particular surgical procedure that is to be (or was) performed. As shown in FIG. 26B, the illustrative product list 5134 includes ring forceps, rib spreaders, a powered vascular stapler (PVS), and a thoracic wound protector. In this example, the surgical hub 5104 can infer that the surgical procedure is a thoracic procedure from this data since these products are only utilized in thoracic procedures. In sum, the scanner(s) 5128, 5132 can provide serial numbers, product lists, and patient information to the surgical hub 5104. Based on this data regarding what devices and instruments are being utilized and the patient's medical information, the surgical hub 5104 can determine additional contextual information regarding the surgical procedure.

[0239] In order to assist in the understanding of the process 5000a illustrated in FIG. 23A and the other concepts discussed above, FIG. 27 illustrates a timeline 5200 of an illustrative surgical procedure and the contextual information that a surgical hub 5104 can derive from the data received from the data sources 5126 at each step in the surgical procedure. In the following description of the timeline 5200 illustrated in FIG. 27, reference should also be made to FIG. 22. The timeline 5200 depicts the typical steps that would be taken by the nurses, surgeons, and other medical personnel during the course of a lung segmentectomy procedure, beginning with setting up the operating theater and ending with transferring the patient to a post-operative recovery room. The situationally aware surgical hub 5104 receives data from the data sources 5126 throughout the course of the surgical procedure, including data generated each time medical personnel utilize a modular device 5102 that is paired with the surgical hub 5104. The surgical hub 5104 can receive this data from the paired modular devices 5102 and other data sources 5126 and continually derive inferences (i.e., contextual information) about the ongoing procedure as new data is received, such as which step of the procedure is being performed at any given time. The situational awareness system of the surgical hub 5104 is able to, for example, record data pertaining to the procedure for generating reports (e.g., see FIGS. 31-42), verify the steps being taken by the medical personnel, provide data or prompts (e.g., via a display screen) that may be pertinent for the particular procedural step, adjust modular devices 5102 based on the context (e.g., activate monitors, adjust the FOV of the medical imaging device, or change the energy level of an ultrasonic surgical instrument or RF electrosurgical instrument), and take any other such action described above.

[0240] As the first step 5202 in this illustrative procedure, the hospital staff members retrieve the patient's EMR from the hospital's EMR database. Based on select patient data in the EMR, the surgical hub 5104 determines that the procedure to be performed is a thoracic procedure. Second 5204, the staff members scan the incoming medical supplies for the procedure. The surgical hub 5104 cross-references the scanned supplies with a list of supplies that are utilized in various types of procedures and confirms that the mix of supplies corresponds to a thoracic procedure (e.g., as depicted in FIG. 26B). Further, the surgical hub 5104 is also able to determine that the procedure is not a wedge procedure (because the incoming supplies either lack certain supplies that are necessary for a thoracic wedge procedure or do not otherwise correspond to a thoracic wedge procedure). Third 5206, the medical personnel scan the patient band (e.g., as depicted in FIG. 26A) via a scanner 5128 that is communicably connected to the surgical hub 5104. The surgical hub 5104 can then confirm the patient's identity based on the scanned data. Fourth 5208, the medical staff turns on the auxiliary equipment. The auxiliary equipment being utilized can vary according to the type of surgical procedure and the techniques to be used by the surgeon, but in this illustrative case they include a smoke evacuator, insufflator, and medical imaging device. When activated, the auxiliary equipment that are modular devices 5102 can automatically pair with the surgical hub 5104 that is located within a particular vicinity of the modular devices 5102 as part of their initialization process. The surgical hub 5104 can then derive contextual information about the surgical procedure by detecting the types of modular devices 5102 that pair with it during this pre-operative or initialization phase. In this particular example, the surgical hub 5104 determines that the surgical procedure is a VATS procedure based on this particular combination of paired modular devices 5102. Based on the combination of the data from the patient's EMR, the list of medical supplies to be used in the procedure, and the type of modular devices 5102 that connect to the hub, the surgical hub 5104 can generally infer the specific procedure that the surgical team will be performing. Once the surgical hub 5104 knows what specific procedure is being performed, the surgical hub 5104 can then retrieve the steps of that procedure from a memory or from the cloud and then cross-reference the data it subsequently receives from the connected data sources 5126 (e.g., modular devices 5102 and patient monitoring devices 5124) to infer what step of the surgical procedure the surgical team is performing. Fifth 5210, the staff members attach the EKG electrodes and other patient monitoring devices 5124 to the patient. The EKG electrodes and other patient monitoring devices 5124 are able to pair with the surgical hub 5104. As the surgical hub 5104 begins receiving data from the patient monitoring devices 5124, the surgical hub 5104 thus confirms that the patient is in the operating theater, as described in the process 5207 depicted in FIG. 25I, for example. Sixth 5212, the medical personnel induce anesthesia in the patient. The surgical hub 5104 can infer that the patient is under anesthesia based on data from the modular devices 5102 and/or patient monitoring devices 5124, including EKG data, blood pressure data, ventilator data, or combinations thereof, as described in the process 5191 depicted in FIG. 25H, for example. Upon completion of the sixth step 5212, the pre-operative portion of the lung segmentectomy procedure is completed and the operative portion begins.

[0241] Seventh 5214, the patient's lung that is being operated on is collapsed (while ventilation is switched to the contralateral lung). The surgical hub 5104 can infer from the ventilator data that the patient's lung has been collapsed, as described in the process 5221 depicted in FIG. 25J, for example. The surgical hub 5104 can infer that the operative portion of the procedure has commenced as it can compare the detection of the patient's lung collapsing to the expected steps of the procedure (which can be accessed or retrieved previously) and thereby determine that collapsing the lung is the first operative step in this particular procedure. Eighth 5216, the medical imaging device 5108 (e.g., a scope) is inserted and video from the medical imaging device is initiated. The surgical hub 5104 receives the medical imaging device data (i.e., video or image data) through its connection to the medical imaging device. Upon receipt of the medical imaging device data, the surgical hub 5104 can determine that the laparoscopic portion of the surgical procedure has commenced. Further, the surgical hub 5104 can determine that the particular procedure being performed is a segmentectomy, as opposed to a lobectomy (note that a wedge procedure has already been discounted by the surgical hub 5104 based on data received at the second step 5204 of the procedure). The data from the medical imaging device 124 (FIG. 2) can be utilized to determine contextual information regarding the type of procedure being performed in a number of different ways, including by determining the angle at which the medical imaging device is oriented with respect to the visualization of the patient's anatomy, monitoring the number or medical imaging devices being utilized (i.e., that are activated and paired with the surgical hub 5104), and monitoring the types of visualization devices utilized. For example, one technique for performing a VATS lobectomy places the camera in the lower anterior corner of the patient's chest cavity above the diaphragm, whereas one technique for performing a VATS segmentectomy places the camera in an anterior intercostal position relative to the segmental fissure. Using pattern recognition or machine learning techniques, for example, the situational awareness system can be trained to recognize the positioning of the medical imaging device according to the visualization of the patient's anatomy. As another example, one technique for performing a VATS lobectomy utilizes a single medical imaging device, whereas another technique for performing a VATS segmentectomy utilizes multiple cameras. As yet another example, one technique for performing a VATS segmentectomy utilizes an infrared light source (which can be communicably coupled to the surgical hub as part of the visualization system) to visualize the segmental fissure, which is not utilized in a VATS lobectomy. By tracking any or all of this data from the medical imaging device 5108, the surgical hub 5104 can thereby determine the specific type of surgical procedure being performed and/or the technique being used for a particular type of surgical procedure.

[0242] Ninth 5218, the surgical team begins the dissection step of the procedure. The surgical hub 5104 can infer that the surgeon is in the process of dissecting to mobilize the patient's lung because it receives data from the RF or ultrasonic generator indicating that an energy instrument is being fired. The surgical hub 5104 can cross-reference the received data with the retrieved steps of the surgical procedure to determine that an energy instrument being fired at this point in the process (i.e., after the completion of the previously discussed steps of the procedure) corresponds to the dissection step. Tenth 5220, the surgical team proceeds to the ligation step of the procedure. The surgical hub 5104 can infer that the surgeon is ligating arteries and veins because it receives data from the surgical stapling and cutting instrument indicating that the instrument is being fired. Similarly to the prior step, the surgical hub 5104 can derive this inference by cross-referencing the receipt of data from the surgical stapling and cutting instrument with the retrieved steps in the process. Eleventh 5222, the segmentectomy portion of the procedure is performed. The surgical hub 5104 can infer that the surgeon is transecting the parenchyma based on data from the surgical stapling and cutting instrument, including data from its cartridge. The cartridge data can correspond to the size or type of staple being fired by the instrument, for example. As different types of staples are utilized for different types of tissues, the cartridge data can thus indicate the type of tissue being stapled and/or transected. In this case, the type of staple being fired is utilized for parenchyma (or other similar tissue types), which allows the surgical hub 5104 to infer that the segmentectomy portion of the procedure is being performed. Twelfth 5224, the node dissection step is then performed. The surgical hub 5104 can infer that the surgical team is dissecting the node and performing a leak test based on data received from the generator indicating that an RF or ultrasonic instrument is being fired. For this particular procedure, an RF or ultrasonic instrument being utilized after parenchyma was transected corresponds to the node dissection step, which allows the surgical hub 5104 to make this inference. It should be noted that surgeons regularly switch back and forth between surgical stapling/cutting instruments and surgical energy (i.e., RF or ultrasonic) instruments depending upon the particular step in the procedure because different instruments are better adapted for particular tasks. Therefore, the particular sequence in which the stapling/cutting instruments and surgical energy instruments are used can indicate what step of the procedure the surgeon is performing. Upon completion of the twelfth step 5224, the incisions and closed up and the post-operative portion of the procedure begins.

[0243] Thirteenth 5226, the patient's anesthesia is reversed. The surgical hub 5104 can infer that the patient is emerging from the anesthesia based on the ventilator data (i.e., the patient's breathing rate begins increasing), for example. Lastly, the fourteenth step 5228 is that the medical personnel remove the various patient monitoring devices 5124 from the patient. The surgical hub 5104 can thus infer that the patient is being transferred to a recovery room when the hub loses EKG, BP, and other data from the patient monitoring devices 5124. As can be seen from the description of this illustrative procedure, the surgical hub 5104 can determine or infer when each step of a given surgical procedure is taking place according to data received from the various data sources 5126 that are communicably coupled to the surgical hub 5104.

[0244] In addition to utilizing the patient data from EMR database(s) to infer the type of surgical procedure that is to be performed, as illustrated in the first step 5202 of the timeline 5200 depicted in FIG. 27, the patient data can also be utilized by a situationally aware surgical hub 5104 to generate control adjustments for the paired modular devices 5102. FIG. 28A illustrates a flow diagram depicting the process 5240 of importing patient data stored in an EMR database 5250 and deriving inferences 5256 therefrom. Further, FIG. 28B illustrates a flow diagram depicting the process 5242 of determining control adjustments 5264 corresponding to the derived inferences 5256 from FIG. 28A. In the following description of the processes 5240, 5242, reference should also be made to FIG. 22.

[0245] As shown in FIG. 28A, the surgical hub 5104 retrieves the patient information (e.g., EMR) stored in a database 5250 to which the surgical hub 5104 is communicably connected. The unredacted portion of the patient data is removed 5252 from the surgical hub 5104, leaving anonymized, stripped patient data 5254 related to the patient's condition and/or the surgical procedure to be performed. The unredacted patient data is removed 5252 in order to maintain patient anonymity for the processing of the data (including if the data is uploaded to the cloud for processing and/or data tracking for reports). The stripped patient data 5254 can include any medical conditions that the patient is suffering from, the patient's medical history (including previous treatments or procedures), medication that the patient is taking, and other such medically relevant details. The control circuit of the surgical hub 5104 can then derive various inferences 5256 from the stripped patient data 5254, which can in turn be utilized by the surgical hub 5104 to derive various control adjustments for the paired modular devices 5102. The derived inferences 5256 can be based upon individual pieces of data or combinations of pieces of data. Further, the derived inferences 5256 may, in some cases, be redundant with each other as some data may lead to the same inference. By integrating each patient's stripped patient data 5254 into the situational awareness system, the surgical hub 5104 is thus able to generate pre-procedure adjustments to optimally control each of the modular devices 5102 based on the unique circumstances associated with each individual patient. In the illustrated example, the stripped patient data 5254 includes that (i) the patient is suffering from emphysema, (ii) has high blood pressure, (iii) is suffering from a small cell lung cancer, (iv) is taking warfarin (or another blood thinner), and/or (v) has received radiation pretreatment. In the illustrated example, the inferences 5256 derived from the stripped patient data 5254 include that (i) the lung tissue will be more fragile than normal lung tissue, (ii) hemostasis issues are more likely, (iii) the patient is suffering from a relatively aggressive cancer, (iv) hemostasis issues are more likely, and (v) the lung tissue will be stiffer and more prone to fracture, respectively.

[0246] After the control circuit of the surgical hub 5104 receives or identifies the implications 5256 that are derived from anonymized patient data, the control circuit of the surgical hub 5104 is configured to execute a process 5242 to control the modular devices 5102 in a manner consistent with the derived implications 5256. In the example shown in FIG. 28B, the control circuit of the surgical hub 5104 interprets how the derived implications 5256 impacts the modular devices 5102 and then communicates corresponding control adjustments to each of the modular devices 5102. In the example shown in FIG. 28B, the control adjustments include (i) adjusting the compression rate threshold parameter of the surgical stapling and cutting instrument, (ii) adjusting the visualization threshold value of the surgical hub 5104 to quantify bleeding via the visualization system 108 (FIG. 2) (this adjustment can apply to the visualization system 108 itself or as an internal parameter of the surgical hub 5104), (iii) adjusts the power and control algorithms of the combo generator module 140 (FIG. 3) for the lung tissue and vessel tissue types, (iv) adjusts the margin ranges of the medical imaging device 124 (FIG. 2) to account for the aggressive cancer type, (v) notifies the surgical stapling and cutting instrument of the margin parameter adjustment needed (the margin parameter corresponds to the distance or amount of tissue around the cancer that will be excised), and (vi) notifies the surgical stapling and cutting instrument that the tissue is potentially fragile, which causes the control algorithm of the surgical stapling and cutting instrument to adjust accordingly. Furthermore, the data regarding the implications 5256 derived from the anonymized patient data 5254 is considered by the situational awareness system to infer contextual information 5260 regarding the surgical procedure being performed. In the example shown in FIG. 28B, the situational awareness system further infers that the procedure is a thoracic lung resection 5262, e.g., segmentectomy.

[0247] Determining where inefficiencies or ineffectiveness may reside in a medical facility's practice can be challenging because medical personnel's efficiency in completing a surgical procedure, correlating positive patient outcomes with particular surgical teams or particular techniques in performing a type of surgical procedure, and other performance measures are not easily quantified using legacy systems. As one solution, the surgical hubs can be employed to track and store data pertaining to the surgical procedures that the surgical hubs are being utilized in connection with and generate reports or recommendations related to the tracked data. The tracked data can include, for example, the length of time spent during a particular procedure, the length of time spent on a particular step of a particular procedure, the length of downtime between procedures, modular device(s) (e.g., surgical instruments) utilized during the course of a procedure, and the number and type of surgical items consumed during a procedure (or step thereof). Further, the tracked data can include, for example, the operating theater in which the surgical hub is located, the medical personnel associated with the particular event (e.g., the surgeon or surgical team performing the surgical procedure), the day and time at which the particular event(s) occurred, and patient outcomes. This data can be utilized to create performance metrics, which can be utilized to detect and then ultimately address inefficiencies or ineffectiveness within a medical facility's practice. In one exemplification, the surgical hub includes a situational awareness system, as described above, that is configured to infer or determine information regarding a particular event (e.g., when a particular step of a surgical procedure is being performed and/or how long the step took to complete) based on data received from data sources connected to the surgical hub (e.g., paired modular devices). The surgical hub can then store this tracked data to provide reports or recommendations to users.

Aggregation and Reporting of Surgical Hub Data



[0248] FIG. 29 illustrates a block diagram of a computer-implemented interactive surgical system 5700. The system 5700 includes a number of surgical hubs 5706 that, as described above, are able to detect and track data related to surgical procedures that the surgical hubs 5706 (and the modular devices paired to the surgical hubs 5706) are utilized in connection with. In one exemplification, the surgical hubs 5706 are connected to form local networks such that the data being tracked by the surgical hubs 5706 is aggregated together across the network. The networks of surgical hubs 5706 can be associated with a medical facility, for example. The data aggregated from the network of surgical hubs 5706 can be analyzed to provide reports on data trends or recommendations. For example, the surgical hubs 5706 of a first medical facility 5704a are communicably connected to a first local database 5708a and the surgical hubs 5706 of a second medical facility 5704b are communicably connected to a second local database 5708b. The network of surgical hubs 5706 associated with the first medical facility 5704a can be distinct from the network of surgical hubs 5706 associated with the second medical facility 5704b, such that the aggregated data from each network of surgical hubs 5706 corresponds to each medical facility 5704a, 5704b individually. A surgical hub 5706 or another computer terminal communicably connected to the database 5708a, 5708b can be configured to provide reports or recommendations based on the aggregated data associated with the respective medical facility 5704a, 5704b. In this exemplification, the data tracked by the surgical hubs 5706 can be utilized to, for example, report whether a particular incidence of a surgical procedure deviated from the average in-network time to complete the particular procedure type.

[0249] In another exemplification, each surgical hub 5706 is configured to upload the tracked data to the cloud 5702, which then processes and aggregates the tracked data across multiple surgical hubs 5706, networks of surgical hubs 5706, and/or medical facilities 5704a, 5704b that are connected to the cloud 5702. Each surgical hub 5706 can then be utilized to provide reports or recommendations based on the aggregated data. In this exemplification, the data tracked by the surgical hubs 5706 can be utilized to, for example, report whether a particular incidence of a surgical procedure deviated from the average global time to complete the particular procedure type.

[0250] In another exemplification, each surgical hub 5706 can further be configured to access the cloud 5702 to compare locally tracked data to global data aggregated from all of the surgical hubs 5706 that are communicably connected to the cloud 5702. Each surgical hub 5706 can be configured to provide reports or recommendations based on the comparison between the tracked local data relative to local (i.e., in-network) or global norms. In this exemplification, the data tracked by the surgical hubs 5706 can be utilized to, for example, report whether a particular incidence of a surgical procedure deviated from either the average in-network time or the average global time to complete the particular procedure type.

[0251] In one exemplification, each surgical hub 5706 or another computer system local to the surgical hub 5706 is configured to locally aggregate the data tracked by the surgical hubs 5706, store the tracked data, and generate reports and/or recommendations according to the tracked data in response to queries. In cases where the surgical hub 5706 is connected to a medical facility network (which may include additional surgical hubs 5706), the surgical hub 5706 can be configured to compare the tracked data with the bulk medical facility data. The bulk medical facility data can include EMR data and aggregated data from the local network of surgical hubs 5706. In another exemplification, the cloud 5702 is configured to aggregate the data tracked by the surgical hubs 5706, store the tracked data, and generate reports and/or recommendations according to the tracked data in response to queries.

[0252] Each surgical hub 5706 can provide reports regarding trends in the data and/or provide recommendations on improving the efficiency or effectiveness of the surgical procedures being performed. In various exemplifications, the data trends and recommendations can be based on data tracked by the surgical hub 5706 itself, data tracked across a local medical facility network containing multiple surgical hubs 5706, or data tracked across a number of surgical hubs 5706 communicably connected to a cloud 5702. The recommendations provided by the surgical hub 5706 can describe, for example, particular surgical instruments or product mixes to utilize for particular surgical procedures based on correlations between the surgical instruments/product mixes and patient outcomes and procedural efficiency. The reports provided by the surgical hub 5706 can describe, for example, whether a particular surgical procedure was performed efficiently relative to local or global norms, whether a particular type of surgical procedure being performed at the medical facility is being performed efficiently relative to global norms, and the average time taken to complete a particular surgical procedure or step of a surgical procedure for a particular surgical team.

[0253] In one exemplification, each surgical hub 5706 is configured to determine when operating theater events occur (e.g., via a situational awareness system) and then track the length of time spent on each event. An operating theater event is an event that a surgical hub 5706 can detect or infer the occurrence of. An operating theater event can include, for example, a particular surgical procedure, a step or portion of a surgical procedure, or downtime between surgical procedures. The operating theater events can be categorized according to an event type, such as a type of surgical procedure being performed, so that the data from individual procedures can be aggregated together to form searchable data sets. FIG. 31 illustrates an example of a diagram 5400 depicting the data tracked by the surgical hubs 5706 being parsed to provide increasingly detailed metrics related to surgical procedures or the use of the surgical hub 5706 (as depicted further in FIGS. 32-36) for an illustrative data set. In one exemplification, the surgical hub 5706 is configured to determine whether a surgical procedure is being performed and then track both the length of time spent between procedures (i.e., downtime) and the time spent on the procedures themselves. The surgical hub 5706 can further be configured to determine and track the time spent on each of the individual steps taken by the medical personnel (e.g., surgeons, nurses, orderlies) either between or during the surgical procedures. The surgical hub can determine when surgical procedures or different steps of surgical procedures are being performed via a situational awareness system, which is described in further detail above.

[0254] FIG. 30 illustrates a logic flow diagram of a process 5300 for tracking data associated with an operating theater event. In the following description, description of the process 5300, reference should also be made to FIG. 29. In one exemplification, the process 5300 can be executed by a control circuit of a surgical hub 206, as depicted in FIG. 10 (processor 244). In yet another exemplification, the process 5300 can be executed by a distributed computing system including a control circuit of a surgical hub 206 in combination with a control circuit of a modular device, such as the microcontroller 461 of the surgical instrument depicted FIG. 12, the microcontroller 620 of the surgical instrument depicted in FIG. 16, the control circuit 710 of the robotic surgical instrument 700 depicted in FIG. 17, the control circuit 760 of the surgical instruments 750, 790 depicted in FIGS. 18 and 19, or the controller 838 of the generator 800 depicted in FIG. 20. For economy, the following description of the process 5300 will be described as being executed by the control circuit of a surgical hub 5706; however, it should be understood that the description of the process 5300 encompasses all of the aforementioned exemplifications.

[0255] The control circuit of the surgical hub 5706 executing the process 5300 receives 5302 perioperative data from the modular devices and other data sources (e.g., databases and patient monitoring devices) that are communicably coupled to the surgical hub 5706. The control circuit then determines 5304 whether an event has occurred via, for example, a situational awareness system that derives contextual information from the received 5302 data. The event can be associated with an operating theater in which the surgical hub 5706 in being used. The event can include, for example, a surgical procedure, a step or portion of a surgical procedure, or downtime between surgical procedures or steps of a surgical procedure. Furthermore, the control circuit tracks data associated with the particular event, such as the length of time of the event, the surgical instruments and/or other medical products utilized during the course of the event, and the medical personnel associated with the event. The surgical hub 5706 can further determine this information regarding the event via, for example, the situational awareness system.

[0256] For example, the control circuit of a situationally aware surgical hub 5706 could determine that anesthesia is being induced in a patient through data received from one or more modular devices 5102 (FIG. 22) and/or patient monitoring devices 5124 (FIG. 22). The control circuit could then determine that the operative portion of the surgical procedure has begun upon detecting that an ultrasonic surgical instrument or RF electrosurgical instrument has been activated. The control circuit could thus determine the length of time for the anesthesia inducement step according to the difference in time between the beginning of that particular step and the beginning of the first step in the operative portion of the surgical procedure. Likewise, the control circuit could determine how long the particular operative step in the surgical procedure took according to when the control circuit detects the subsequent step in the procedure begins. Further, the control circuit could determine how long the overall operative portion of the surgical procedure took according to when the control circuit detects that the final operative step in the procedure ends. The control circuit can also determine what surgical instruments (and other modular devices 5102) are being utilized during the course of each step in the surgical procedure by tracking the activation and/or use of the instruments during each of the steps. The control circuit can also detect the completion of the surgical procedure by, for example, detecting when the patient monitoring devices 5124 have been removed from the patient (as in step fourteen 5228 of FIG. 27). The control circuit can then track the downtime between procedures according to when the control circuit infers that the subsequent surgical procedure has begun.

[0257] The control circuit executing the process 5300 then aggregates 5306 the data associated with the event according to the event type. In one exemplification, the aggregated 5306 data can be stored in a memory 249 (FIG. 10) of the surgical hub 5706. In another exemplification, the control circuit is configured to upload the data associated with the event to the cloud 5702, whereupon the data is aggregated 5306 according to the event type for all of the data uploaded by each of the surgical hubs 5706 connected to the cloud 5702. In yet another exemplification, the control circuit is configured to upload the data associated with the event to a database associated with a local network of the surgical hubs 5706, whereupon the data is aggregated 5306 according to the event type for all of the data uploaded across the local network of surgical hubs 5706.

[0258] In one exemplification, the control circuit is further configured to compare the data associated with the event type to baseline data associated with the event type. The baseline data can correspond to, for example, average values associated with the particular event type for a particular hospital, network of hospitals, or across the entirety of the cloud 5702. The baseline data can be stored on the surgical hub 5706 or retrieved by the surgical 5706 as the perioperative data is received 5302 thereby.

[0259] Aggregating 5306 the data from each of the events according to the event type allows individual incidents of the event type to thereafter be compared against the historical or aggregated data to determine when deviations from the norm for an event type occur. The control circuit further determines 5308 whether it has received a query. If the control circuit does not receive a query, then the process 5300 continues along the NO branch and loops back to continue receiving 5302 data from the data sources. If the control circuit does receive a query for a particular event type, the process 5300 continues along the YES branch and the control circuit then retrieves the aggregated data for the particular event type and displays 5310 the appropriate aggregated data corresponding to the query. In various exemplifications, the control circuit can retrieve the appropriate aggregated data from the memory of the surgical hub 5706, the cloud 5702, or a local database 5708a, 5708b.

[0260] In one example, the surgical hub 5706 is configured to determine a length of time for a particular procedure via the aforementioned situational awareness system according to data received from one or more modular devices utilized in the performance of the surgical procedure (and other data sources). Each time a surgical procedure is completed, the surgical hub 5706 uploads or stores the length of time required to complete the particular type of surgical procedure, which is then aggregated with the data from every other instance of the type of procedure. The surgical hub 5706, cloud 5702, and/or local database 5708a, 5708b can then determine an average or expected procedure length for the particular type of procedure from the aggregated data. When the surgical hub 5706 receives a query as to the particular type of procedure thereafter, the surgical hub 5706 can then provide feedback as to the average (or expected) procedure length or compare an individual incidence of the procedure type to the average procedure length to determine whether the particular incidence deviates therefrom.

[0261] The surgical hub 5706 can be configured to automatically compare each incidence of an event type to average or expected norms for the event type and then provide feedback (e.g., display a report) when a particular incidence of the event type deviates from the norm. For example, the surgical hub 5706 can be configured to provide feedback whenever a surgical procedure (or a step of the surgical procedure) deviates from the expected length of time to complete the surgical procedure (or the step of the surgical procedure) by more than a set amount.

[0262] Referring back to FIG. 31, the surgical hub 5706 could be configured to track, store, and display data regarding the number of patients operated on (or procedures completed) per day per operating theater (bar graph 5402 depicted further in FIG. 32), for example. The surgical hub 5706 could be configured to further parse the number of patients operated on (or procedures completed) per day per operating theater and can be further parsed according to the downtime between the procedures on a given day (bar graph 5404 depicted further in FIG. 33) or the average procedure length on a given day (bar graph 5408 depicted further in FIG. 35). The surgical hub 5706 can be further configured to provide a detailed breakdown of the downtime between procedures according to, for example, the number and length of the downtime time periods and the subcategories of the actions or steps during each time period (bar graph 5406 depicted further in FIG. 34). The surgical hub 5706 can be further configured to provide a detailed breakdown of the average procedure length on a given day according to each individual procedure and the subcategory of actions or steps during each procedure (bar graph 5410 depicted further in FIG. 36). The various graphs shown in FIGS. 31-36 can represent data tracked by the surgical hub 5706 and can further be generated automatically or displayed by the surgical hub 5706 in response to queries submitted by users.

[0263] FIG. 32 illustrates an example bar graph 5402 depicting the number of patients 5420 operated on relative to the days of the week 5422 for different operating rooms 5424, 5426. The surgical hub 5706 can be configured to provide (e.g., via a display) the number of patients 5420 operated on or procedures that are completed in connection with each surgical hub 5706, which can be tracked through a situational awareness system or accessing the hospital's EMR database, for example. In one exemplification, the surgical hub 5706 can further be configured to collate this data from different surgical hubs 5706 within the medical facility that are communicably connected together, which allows each individual surgical hub to present the aggregated data of the medical facility on a hub-by-hub or operating theater-by-theater basis. In one exemplification, the surgical hub 5706 can be configured to compare one or more tracked metrics to a threshold value (which may be unique to each tracked metric). When at least one of the tracked metrics exceeds the threshold value (i.e., either increases above or drops below the threshold value, as appropriate for the particular tracked metric), then the surgical hub 5706 provides a visual, audible, or tactile alert to notify a user of such. For example, the surgical hub 5706 can be configured to indicate when the number of patients or procedures deviates from an expected, average, or threshold value. For example, FIG. 32 depicts the number of patients on Tuesday 5428 and Thursday 5430 for a first operating theater 5424 as being highlighted for being below expectation. Conversely, no days are highlighted for a second operating theater 5426 for this particular week, which means in this context that the number of patients for each day falls within expectations.

[0264] FIG. 33 illustrates a bar graph 5404 depicting the total downtime between procedures 5432 relative to the days of a week 5434 for a particular operating room. The surgical hub 5706 can be configured to track the length of downtime between surgical procedures through a situational awareness system, for example. The situational awareness system can detect or infer when each particular downtime instance is occurring and then track the length of time for each instance of downtime. The surgical hub 5706 can thereby determine the total downtime 5432 for each day of the week 5434 by summing the downtime instances for each particular day. In one exemplification, the surgical hub 5706 can be configured to provide an alert when the total length of downtime on a given day (or another unit of time) deviates from an expected, average, or threshold value. For example, FIG. 33 depicts the total downtime 5432 on Tuesday 5436 and Friday 5438 as being highlighted for deviating from an expected length of time.

[0265] FIG. 34 illustrates a bar graph 5406 depicting the total downtime 5432 per day of the week 5434 as depicted in FIG. 33 broken down according to each individual downtime instance. The number of downtime instances and the length of time for each downtime instance can be represented within each day's total downtime. For example, on Tuesday in the first operating theater (OR1) there were four instances of downtime between procedures and the magnitude of the first downtime instance indicates that it was longer than the other three instances. In one exemplification, the surgical hub 5706 is configured to further indicate the particular actions or steps taken during a selected downtime instance. For example, in FIG. 34, Thursday's second downtime instance 5440 has been selected, which then causes a callout 5442 to be displayed indicating that this particular downtime instance consisted of performing the initial set-up of the operating theater, administering anesthesia, and prepping the patient. As with the downtime instances themselves, the relative size or length of the actions or steps within the callout 5442 can correspond to the length of time for each particular action or step. The detail views for the downtime instances can be displayed when a user selects the particular instance, for example.

[0266] FIG. 35 illustrates a bar graph 5408 depicting the average procedure length 5444 relative to the days of a week 5446 for a particular operating theater. The surgical hub 5706 can be configured to track the average procedure length through a situational awareness system, for example. The situational awareness system can detect or infer when each particular step of a surgical procedure is occurring (see FIG. 27, for example) and then track the length of time for each of the steps. The surgical hub 5706 can thereby determine the total downtime 5432 for each day of the week 5434 by summing the lengths of the downtime instances for the particular day. In one exemplification, the surgical hub 5706 can be configured to indicate when the average procedure length deviates from an expected value. For example, FIG. 35 depicts Thursday's average procedure length 5448 for the first operating room (OR1) as being highlighted for deviating from an expected length of time.

[0267] FIG. 36 illustrates a bar graph 5410 depicting the procedure lengths 5450 relative to procedure types 5452. The depicted procedure lengths 5450 can either represent the average procedure lengths for particular types of procedures or the procedure lengths for each individual procedure performed on a given day in a given operating theater. The procedure lengths 5450 for different procedure types 5452 can then be compared. Further, the average lengths for the steps in a procedure type 5452 or the length for each particular step in a particular procedure can be displayed when a procedure is selected. Further, the procedure types 5452 can be tagged with various identifiers for parsing and comparing different data sets. For example, in FIG. 36 the first procedure 5454 corresponds to a colorectal procedure (specifically, a low anterior resection) where there was a preoperative identification of abdominal adhesions. The second procedure 5456 corresponds to a thoracic procedure (specifically, a segmentectomy). It should be noted again that the procedures depicted in FIG. 36 can represent the lengths of time for individual procedures or the average lengths of time for all of the procedures for the given procedure types. Each of the procedures can further be broken down according to the length of time for each step in the procedure. For example, FIG. 36 depicts the second procedure 5456 (a thoracic segmentectomy) as including an icon or graphical representation 5458 of the length of time spent on the dissect vessels, ligate (the vessels), nodal dissection, and closing steps of the surgical procedure. As with the procedure lengths themselves, the relative size or length of the steps within the graphical representation 5442 can correspond to the length of time for each particular step of the surgical procedure. The detail views for the steps of the surgical procedures can be displayed when a user selects the particular procedure, for example. In one exemplification, the surgical hub 5706 can be configured to identify when a length of time to complete a given step in the procedure deviates from an expected length of time. For example, FIG. 36 depicts the nodal dissection step as being highlighted for deviating from an expected length of time.

[0268] In one exemplification, an analytics package of the surgical hub 5706 can be configured to provide the user with usage data and results correlations related to the surgical procedures (or downtime between procedures). For example, the surgical hub 5706 can be configured to display methods or suggestions to improve the efficiency or effectiveness of a surgical procedure. As another example, the surgical hub 5706 can be configured to display methods to improve cost allocation. FIGS. 37-42 depict examples of various metrics that can be tracked by the surgical hub 5706, which can then be utilized to provide medical facility personnel suggestions for inventory utilization or technique outcomes. For example, a surgical hub 5706 could provide a surgeon with a suggestion pertaining to a particular technique outcome prior to or at the beginning of a surgical procedure based on the metrics tracked by the surgical hub 5706.

[0269] FIG. 37 illustrates a bar graph 5460 depicting the average completion time 5462 for particular procedural steps 5464 for different types of thoracic procedures. The surgical hub 5706 can be configured to track and store historical data for different types of procedures and calculate the average time to complete the procedure (or an individual step thereof). For example, FIG. 37 depicts the average completion time 5462 for thoracic segmentectomy 5466, wedge 5468, and lobectomy 5470 procedures. For each type of procedure, the surgical hub 5706 can track the average time to complete each step thereof. In this particular example, the dissection, vessel transection, and node dissection steps are indicated for each type of procedure. In addition to tracking and providing the average time for the steps of the procedure types, the surgical hub 5706 can additionally track other metrics or historical data, such as the complication rate for each procedure type (i.e., the rate of procedures having at least one complication as defined by the surgical hub 5706 or the surgeon). Additional tracked metrics for each procedure type, such as the complication rate, can also be depicted for comparison between the different procedure types.

[0270] FIG. 38 illustrates a bar graph 5472 depicting the procedure time 5474 relative to procedure types 5476. The surgical hub 5706 can be configured to track and store historical data or metrics for different procedure types 5476 or classes, which can encompass multiple subtypes of procedures. For example, FIG. 38 depicts the procedure time 5474 for surgical procedures classified as a thoracic 5478, bariatric 5480, or colorectal 5482 procedure. In various exemplifications, the surgical hub 5706 can output the procedure time 5474 for the procedure classifications expressed in terms of either the total length of time or the average time spent on the given procedure types 5476. The analytics package of the surgical hub 5706 can, for example, provide this data to the surgeons, hospital officials, or medical personnel to track the efficiency of the queried procedures. For example, FIG. 38 depicts bariatric procedures 5480 as taking a lower average time (i.e., being more time efficient) than either thoracic procedures 5478 or colorectal procedures 5482.

[0271] FIG. 39 illustrates a bar graph 5484 depicting operating room downtime 5486 relative to the time of day 5488. Relatedly, FIG. 40 illustrates a bar graph 5494 depicting operating room downtime 5496 relative to the day of the week 5498. Operating room downtime 5486, 5496 can be expressed in, for example, a length of a unit of time or relative utilization (i.e., percentage of time that the operating room is in use). The operating room downtime data can encompass an individual operating room or an aggregation of multiple operating rooms at a medical facility. As discussed above, a surgical hub 5706 can be configured to track whether a surgical procedure is being performed in the operating theater associated with the surgical hub 5706 (including the length of time that a surgical procedure is or is not being performed) utilizing a situational awareness system, for example. As shown in FIGS. 39 and 40, the surgical hub 5706 can provide an output (e.g., bar graphs 5484, 5494 or other graphical representations of data) depicting the tracked data pertaining to when the operating room is being utilized (i.e., when a surgical procedure is being performed) and/or when there is downtime between procedures. Such data can be utilized to identify ineffectiveness or inefficiencies in performing surgical procedures, cleaning or preparing operating theaters for surgery, scheduling, and other metrics associated with operating theater use. For example, FIG. 39 depicts a comparative increase in operating room downtime 5486 at a first instance 5490 from 11:00 a.m.-12:00 p.m. and a second instance 5492 from 3:00-4:00 p.m. As another example, FIG. 40 depicts a comparative increase in operating room downtime 5496 on Mondays 5500 and Fridays 5502. In various exemplifications, the surgical hub 5706 can provide operating theater downtime data for a particular instance (i.e., a specific time, day, week, etc.) or an average operating theater downtime data for a category of instances (i.e., aggregated data for a day, time, week, etc.). Hospital officials or other medical personnel thus could use this data to identify specific instances where an inefficiency may have occurred or identify trends in particular days and/or times of day where there may be inefficiencies. From such data, the hospital officials or other medical personnel could then investigate to identify the specific reasons for these increased downtimes and take corrective action to address the identified reason.

[0272] In various exemplifications, the surgical hub 5706 can be configured to display data in response to queries in a variety of different formats (e.g., bar graphs, pie graphs, infographics). FIG. 41 illustrates a pair of pie charts depicting the percentage of time that the operating theater is utilized. The operating theater utilization percentage can encompass an individual operating theater or an aggregation of multiple operating theaters (e.g., the operating rooms at a medical facility or every operating room for all medical facilities having surgical hubs 5706 connected to the cloud 5702). As discussed above, a surgical hub 5706 can be configured to determine when a surgical procedure is or is not being performed (i.e., whether the operating theater associated with the surgical hub 5706 is being utilized) using a situational awareness system, for example. In addition to expressing operating theater utilization in terms of an average or absolute amount for different time periods (as depicted in FIGS. 39-40), the surgical hub 5706 can additionally express operating theater utilization in terms of a percentage or relative amount compared to a maximum possible utilization. As above, the operating theater utilization can be parsed for particular time periods, including the overall utilization (i.e., the total historical percentage of time in use) for the particular operating theater (or groups of operating theaters) or the utilization over the span of a particular time period. As shown in FIG. 41, a first pie chart 5504 depicts the overall operating theater utilization 5508 (85%) and a second pie chart 5506 depicts the operating theater utilization for the prior week 5510 (75%). Hospital officials and other medical personnel could use this data to identify that there may have been some inefficiency that occurred in the prior week that caused the particular operating theater (or group of operating theaters) to be utilized less efficiently compared to the historical average so that further investigations can be carried out to identify the specific reasons for this decreased utilization.

[0273] In some exemplifications, the surgical hub 5706 is configured to track detect and track the number of surgical items that are utilized during the course of a surgical procedure. This data can then be aggregated and displayed (either automatically or in response to a query) according to, for example, a particular time period (e.g., per day or per week) or for a particular surgical procedure type (e.g., thoracic procedures or abdominal procedures). FIG. 42 illustrates a bar graph 5512 depicting consumed and unused surgical items 5514 relative to procedure type 5516. The surgical hub 5706 can be configured to determine or infer what surgical items are being consumed during the course of each surgical procedure via a situational awareness system. The situational awareness system can determine or receive the list of surgical items to be used in a procedure (e.g., see FIG. 26B), determine or infer when each procedure (and steps thereof) begins and ends, and determine when a particular surgical item is being utilized according to the procedural step being performed. The inventory of surgical items that are consumed or unused during the course of a surgical procedure can be represented in terms of the total number of surgical items or the average number of surgical items per procedure type 5516, for example. The consumed surgical items can include non-reusable items that are utilized during the course of a surgical procedure. The unused surgical items can include additional items that are not utilized during the procedure(s) or scrap items. The procedure type can correspond to broad classifications of procedures or a specific procedure type or technique for performing a procedure type. For example, in FIG. 42 the procedure types 5516 being compared are thoracic, colorectal, and bariatric procedures. For each of these procedure types 5516, the average number of consumed and unused surgical items 5514 are both provided. In one aspect, the surgical hub 5706 can be configured to further parse the consumed and/or unused surgical items 5514 by the specific item type. In one exemplification, the surgical hub 5706 can provide a detailed breakdown of the surgical items 5514 making up each item category for each surgical procedure type 5516 and graphically represent the different categories of surgical items 5514. For example, in FIG. 42, the unused surgical items are depicted in dashed lines and the consumed surgical items are depicted in solid lines. In one exemplification, the surgical hub 5706 is configured to further indicate the specific within a category for a particular procedure type 5516. For example, in FIG. 34, the consumed items category for the thoracic procedure type has been selected, which then causes a callout 5520 to be displayed listing the particular surgical items in the category: stapler cartridges, sponges, saline, fibrin sealants, surgical sutures, and stapler buttress material. Furthermore, the callout 5520 can be configured to provide the quantities of the listed items in the category, which may be the average or absolute quantities of the items (either consumed or unused) for the particular procedure type.

[0274] In one exemplification, the surgical hub 5706 can be configured to aggregate tracked data in a redacted format (i.e., with any patient-identifying information stripped out). Such bulk data can be utilized for academic or business analysis purposes. Further, the surgical hub 5706 can be configured to upload the redacted or anonymized data to a local database of the medical facility in which the surgical hub 5706 is located, an external database system, or the cloud 5702, whereupon the anonymized data can be accessed by user/client applications on demand. The anonymized data can be utilized to compare outcomes and efficiencies within a hospital or between geographic regions, for example.

[0275] The process 5300 depicted in FIG. 30 improves scheduling efficiency by allowing the surgical hubs 5706 to automatically store and provide granular detail on correlations between lengths of time required for various procedures according to particular days, particular types of procedures, particular hospital staff members, and other such metrics. This process 5300 also reduces surgical item waste by allowing the surgical hubs 5706 to provide alerts when the amount of surgical items being consumed, either on a per-procedure basis or as a category, are deviating from the expected amounts. Such alerts can be provided either automatically or in response to receiving a query.

[0276] FIG. 43 illustrates a logic flow diagram of a process 5350 for storing data from the modular devices and patient information database for comparison. In the following description, description of the process 5350, reference should also be made to FIG. 29. In one exemplification, the process 5350 can be executed by a control circuit of a surgical hub 206, as depicted in FIG. 10 (processor 244). In yet another exemplification, the process 5350 can be executed by a distributed computing system including a control circuit of a surgical hub 206 in combination with a control circuit of a modular device, such as the microcontroller 461 of the surgical instrument depicted FIG. 12, the microcontroller 620 of the surgical instrument depicted in FIG. 16, the control circuit 710 of the robotic surgical instrument 700 depicted in FIG. 17, the control circuit 760 of the surgical instruments 750, 790 depicted in FIGS. 18 and 19, or the controller 838 of the generator 800 depicted in FIG. 20. For economy, the following description of the process 5350 will be described as being executed by the control circuit of a surgical hub 5706; however, it should be understood that the description of the process 5350 encompasses all of the aforementioned exemplifications.

[0277] The control circuit executing the process 5350 receives data from the data sources, such as the modular device(s) and the patient information database(s) (e.g., EMR databases) that are communicably coupled to the surgical hub 5706. The data from the modular devices can include, for example, usage data (e.g., data pertaining to how often the modular device has been utilized, what procedures the modular device has been utilized in connection with, and who utilized the modular devices) and performance data (e.g., data pertaining to the internal state of the modular device and the tissue being operated on). The data from the patient information databases can include, for example, patient data (e.g., data pertaining to the patient's age, sex, and medical history) and patient outcome data (e.g., data pertaining to the outcomes from the surgical procedure). In some exemplifications, the control circuit can continuously receive 5352 data from the data sources before, during, or after a surgical procedure.

[0278] As the data is received 5352, the control circuit aggregates 5354 the data in comparison groups of types of data. In other words, the control circuit causes a first type of data to be stored in association with a second type of data. However, more than two different types of data can be aggregated 5354 together into a comparison group. For example, the control circuit could store a particular type of performance data for a particular type of modular device (e.g., the force to fire for a surgical cutting and stapling instrument or the characterization of the energy expended by an RF or ultrasonic surgical instrument) in association with patient data, such as sex, age (or age range), a condition (e.g., emphysema) associated with the patient. In one exemplification, when the data is aggregated 5354 into comparison groups, the data is anonymized such that all patient-identifying information is removed from the data. This allows the data aggregated 5354 into comparison groups to be utilized for studies, without compromising confidential patient information. The various types of data can be aggregated 5354 and stored in association with each other in lookup tables, arrays, and other such formats. In one exemplification, the received 5352 data is automatically aggregated 5354 into comparison groups. Automatically aggregating 5354 and storing the data allows the surgical hub 5706 to quickly return results for queries and the groups of data to be exported for analysis according to specifically desired data types.

[0279] When the control circuit receives 5356 a query for a comparison between two or more of the tracked data types, the process 5350 proceeds along the YES branch. The control circuit then retrieves the particular combination of the data types stored in association with each other and then displays 5358 a comparison (e.g., a graph or other graphical representation of the data) between the subject data types. If the control circuit does not receive 5356 a query, the process 5350 continues along the NO branch and the control circuit continues receiving 5352 data from the data sources.

[0280] In one exemplification, the control circuit can be configured to automatically quantify a correlation between the received 5352 data types. In such aspects, the control circuit can calculate a correlation coefficient (e.g., the Pearson's coefficient) between pairs of data types. In one aspect, the control circuit can be configured to automatically display a report providing suggestions or other feedback if the quantified correlation exceeds a particular threshold value. In one aspect, the control circuit of the surgical hub 5706 can be configured to display a report on quantified correlations exceeding a particular threshold value upon receiving a query or request from a user.

[0281] In one exemplification, a surgical hub 5706 can compile information on procedures that the surgical hub 5706 was utilized in the performance of, communicate with other surgical hubs 5706 within its network (e.g., a local network of a medical facility or a number of surgical hubs 5706 connected by the cloud 5702), and compare results between type of surgical procedures or particular operating theaters, doctors, or departments. Each surgical hub 5706 can calculate and analyze utilization, efficiency, and comparative results (relative to all surgical hubs 5706 across a hospital network, a region, etc.). For example, the surgical hub 5706 can display efficiency and comparative data, including operating theater downtime, operating theater cleanup and recycle time, step-by-step completion timing for procedures (including highlighting which procedural steps take the longest, for example), average times for surgeons to complete procedures (including parsing the completion times on a procedure-by-procedure basis), historical completion times (e.g., for completing classes of procedures, specific procedures, or specific steps within a procedure), and/or operating theater utilization efficiency (i.e., the time efficiency from a procedure to a subsequent procedure). The data that is accessed and shared across networks by the surgical hubs 5706 can include the anonymized data aggregated into comparison groups, as discussed above.

[0282] For example, the surgical hub 5706 can be utilized to perform studies of performance by instrument type or cartridge type for various procedures. As another example, the surgical hub 5706 can be utilized to perform studies on the performance of individual surgeons. As yet another example, the surgical hub 5706 can be utilized to perform studies on the effectiveness of different surgical procedures according to patients' characteristics or disease states.

[0283] In another exemplification, a surgical hub 5706 can provide suggestions on streamlining processes based on tracked data. For example, the surgical hub 5706 can suggest different product mixes according to the length of certain procedures or steps within a procedure (e.g., suggest a particular item that is more appropriate for long procedure steps), suggest more cost effective product mixes based on the utilization of items, and/or suggest kitting or pre-grouping certain items to lower set-up time. In another exemplification, a surgical hub 5706 can compare operating theater utilization across different surgical groups in order to better balance high volume surgical groups with surgical groups that have more flexible bandwidth. In yet another aspect, the surgical hub 5706 could be put in a forecasting mode that would allow the surgical hub 5706 to monitor upcoming procedure preparation and scheduling, then notify the administration or department of upcoming bottlenecks or allow them to plan for scalable staffing. The forecasting mode can be based on, for example, the anticipated future steps of the current surgical procedure that is being performed using the surgical hub 5706, which can be determined by a situational awareness system.

[0284] In another exemplification, a surgical hub 5706 can be utilized as a training tool to allow users to compare their procedure timing to other types of individuals or specific individuals within their department (e.g., a resident could compare his or her timing to a particular specialist or the average time for a specialist within the hospital) or the department average times. For example, users could identify what steps of a surgical procedure they are spending an inordinate amount of time on and, thus, what steps of the surgical procedure that they need to improve upon.

[0285] In one exemplification, all processing of stored data is performed locally on each surgical hub 5706. In another exemplification, each surgical hub 5706 is part of a distributed computing network, wherein each individual surgical hub 5706 compiles and analyzes its stored data and then communicates the data to the requesting surgical hub 5706. A distributed computing network could permit fast parallel processing. In another exemplification, each surgical hub 5706 is communicably connected to a cloud 5702, which can be configured to receive the data from each surgical hub 5706 and then perform the necessary processing (data aggregation, calculations, and so on) on the data.

[0286] The process 5350 depicted in FIG. 43 improves the ability to determine when procedures are being performed inefficiently by allowing the surgical hubs 5706 to provide alerts when particular procedures, either on a per-procedure basis or as category, are deviating from the expected times to complete the procedures. Such alerts can be provided either automatically or in response to receiving a query. This process 5350 also improves the ability to perform studies on what surgical instruments and surgical procedure techniques provide the best patient outcomes by automatically tracking and indexing such data in easily-retrievable and reportable formats.

[0287] Some systems described herein offload the data processing that controls the modular devices (e.g., surgical instruments) from the modular devices themselves to an external computing system (e.g., a surgical hub) and/or a cloud. However in some exemplifications, some modular devices can sample data (e.g., from the sensors of the surgical instruments) at a faster rate that the rate at which the data can be transmitted to and processed by a surgical hub. As one solution, the surgical hub and the surgical instruments (or other modular devices) can utilize a distributed computing system where at least a portion of the data processing is performed locally on the surgical instrument. This can avoid data or communication bottlenecks between the instrument and the surgical hub by allowing the onboard processor of the surgical instrument to handle at least some of the data processing when the data sampling rate is exceeding the rate at which the data can be transmitted to the surgical hub. In some exemplifications, the distributed computing system can cease distributing the processing between the surgical hub and the surgical instrument and instead have the processing be executed solely onboard the surgical instrument. The processing can be executed solely by the surgical instrument in situations where, for example, the surgical hub needs to allocate its processing capabilities to other tasks or the surgical instrument is sampling data at a very high rate and it has the capabilities to execute all of the data processing itself.

[0288] Similarly, the data processing for controlling the modular devices, such as surgical instruments, can be taxing for an individual surgical hub to perform. If the surgical hub's processing of the control algorithms for the modular devices cannot keep pace with the use of the modular devices, then the modular devices will not perform adequately because their control algorithms will either not be updated as needed or the updates to the control algorithms will lag behind the actual use of the instrument. As one solution, the surgical hubs can be configured to utilize a distributed computing system where at least a portion of the processing is performed across multiple separate surgical hubs. This can avoid data or communication bottlenecks between the modular devices and the surgical hub by allowing each surgical hub to utilize the networked processing power of multiple surgical hubs, which can increase the rate at which the data is processed and thus the rate at which the control algorithm adjustments can be transmitted by the surgical hub to the paired modular devices. In addition to distributing the computing associated with controlling the various modular devices connected to the surgical hubs, a distributed computing system can also dynamically shift computing resources between multiple surgical hubs in order to analyze tracked data in response to queries from users and perform other such functions. The distributed computing system for the surgical hubs can further be configured to dynamically shift data processing resources between the surgical hubs when any particular surgical hub becomes overtaxed.

[0289] The modular devices that are communicably connectable to the surgical hub can include sensors, memories, and processors that are coupled to the memories and configured to receive and analyze data sensed by the sensors. The surgical hub can further include a processor coupled to a memory that is configured to receive (through the connection between the modular device and the surgical hub) and analyze the data sensed by the sensors of the modular device. In one exemplification, the data sensed by the modular device is processed externally to the modular device (e.g., external to a handle assembly of a surgical instrument) by a computer that is communicably coupled to the modular device. For example, the advanced energy algorithms for controlling the operation of a surgical instrument can be processed by an external computing system, rather than on a controller embedded in the surgical instrument (such as instrument using an Advanced RISC Machine (ARM) processor). The external computer system processing the data sensed by the modular devices can include the surgical hub to which the modular devices are paired and/or a cloud computing system. In one exemplification, data sampled at a particular rate (e.g., 20 Ms/sec) and a particular resolution (e.g., 12 bits resolution) by a surgical instrument is decimated and then transmitted over a link to the surgical hub to which the surgical instrument is paired. Based on this received data, the control circuit of the surgical hub then determines the appropriate control adjustments for the surgical instrument, such as controlling power for an ultrasonic surgical instrument or RF electrosurgical instrument, setting motor termination points for a motor-driven surgical instrument, and so on. The control adjustments are then transmitted to the surgical instrument for application thereon.

Distributed Processing



[0290] FIG. 44 illustrates a diagram of a distributed computing system 5600 according to the invention. The distributed computing system 5600 includes a set of nodes 5602a, 5602b, 5602c that are communicably coupled by a distributed multi-party communication protocol such that they execute a shared or distributed computer program by passing messages therebetween. Although three nodes 5602a, 5602b, 5602c are depicted, the distributed computing system 5600 can include any number of nodes 5602a, 5602b, 5602c that are communicably connected together. Each of the nodes 5602a, 5602b, 5602c comprises a respective memory 5606a, 5606b, 5606c and processor 5604a, 5604b, 5604c coupled thereto. The processors 5604a, 5604b, 5604c execute the distributed multi-party communication protocol, which is stored at least partially in the memories 5606a, 5606b, 5606c. Each node 5602a, 5602b, 5602c can represent either a modular device or a surgical hub. Therefore, the depicted diagram represents aspects wherein various combinations of surgical hubs and/or modular devices are communicably coupled. In various exemplifications, the distributed computing system 5600 can be configured to distribute the computing associated with controlling the modular device(s) (e.g., advanced energy algorithms) over the modular device(s) and/or the surgical hub(s) to which the modular device(s) are connected. In other words, the distributed computing system 5600 embodies a distributed control system for controlling the modular device(s) and/or surgical hub(s).

[0291] In some exemplifications, the modular device(s) and surgical hub(s) utilize data compression for their communication protocols. Wireless data transmission over sensor networks can consume a significant amount of energy and/or processing resources compared to data computation on the device itself. Thus data compression can be utilized to reduce the data size at the cost of extra processing time on the device. In one exemplification, the distributed computing system 5600 utilizes temporal correlation for sensing data, data transformation from one dimension to two dimension, and data separation (e.g., upper 8 bit and lower 8 bit data). In another exemplification, the distributed computing system 5600 utilizes a collection tree protocol for data collection from different nodes 5602a, 5602b, 5602c having sensors (e.g., modular devices) to a root node. In yet another aspect, the distributed computing system 5600 utilizes first-order prediction coding to compress the data collected by the nodes 5602a, 5602b, 5602c having sensors (e.g., modular devices), which can minimize the amount of redundant information and greatly reduce the amount of data transmission between the nodes 5602a, 5602b, 5602c of the network. In yet another exemplification, the distributed computing system 5600 is configured to transmit only the electroencephalogram (EEG) features. In still yet another exemplification, the distributed computing system 5600 can be configured to transmit only the complex data features that are pertinent to the surgical instrument detection, which can save significant power in wireless transmission. Various other exemplifications can utilize combinations of the aforementioned data compression techniques and/or additional techniques of data compression.

[0292] FIG. 45 illustrates a logic flow diagram of a process 5650, that may be performed by the system of the invention, for shifting distributed computing resources. In the following description of the 5650, reference should also be made to FIG. 44. In one exemplification, the process 5650 can be executed by a distributed computing system including a control circuit of a surgical hub 206, as depicted in FIG. 10 (processor 244), in combination with a control circuit of a second surgical hub 206 and/or a control circuit of a modular device, such as the microcontroller 461 of the surgical instrument depicted FIG. 12, the microcontroller 620 of the surgical instrument depicted in FIG. 16, the control circuit 710 of the robotic surgical instrument 700 depicted in FIG. 17, the control circuit 760 of the surgical instruments 750, 790 depicted in FIGS. 18 and 19, or the controller 838 of the generator 800 depicted in FIG. 20. For economy, the following description of the process 5650 will be described as being executed by the control circuits of one or more nodes; however, it should be understood that the description of the process 5650 encompasses all of the aforementioned exemplifications.

[0293] The control circuits of each node execute 5652 a distributed control program in synchrony. As the distributed control program is being executed across the network of nodes, at least one of the control circuits monitors for a command instructing the distributed computing system to shift from a first mode, wherein the distributed computing program is executed across the network of nodes, to a second mode, wherein the control program is executed by a single node. In one exemplification, the command can be transmitted by a surgical hub in response to the surgical hub's resources being needed for an alternative computing task. In another exemplification, the command can be transmitted by a modular device in response to the rate at which the data is sampled by the modular device outpacing the rate at which the sampled data can be communicated to the other nodes in the network. If a control circuit determines that an appropriate command has been received 5654, the process 5650 continues along the YES branch and the distributed computing system 5600 shifts to a single node executing 5656 the program. For example, the distributed computing system 5600 shifts the distributed computing program from being executed by both a modular device and a surgical hub to being executed solely by the modular device. As another example, the distributed computing system 5600 shifts the distributed computing program from being executed by both a first surgical hub and a second surgical hub to being executed solely by the first surgical hub. If no control circuit determines that an appropriate command has been received 5654, the process continues along the NO branch and the control circuits of the network of nodes continues executing 5652 the distributed computing program across the network of nodes.

[0294] In the event that the program has been shifted to being executed 5656 by a single node, the control circuit of the particular node solely executing the distributed program and/or a control circuit of another node within the network (which previously was executing the distributed program) monitors for a command instructing the node to re-distribute the processing of the program across the distributed computing system. In other words, the node monitors for a command to re-initiate the distributed computing system. In one exemplification, the command to re-distribute the processing across the network can be generated when the sampling rate of the sensor is less than the data communication rate between the modular device and the surgical hub. If a control circuit receives 5658 an appropriate command to re-distribute the processing, then the process 5650 proceeds along the YES branch and the program is once again executed 5652 across the node network. If a control circuit has not received 5658 an appropriate command, then the node continues singularly executing 5656 the program.

[0295] The process 5650 depicted in FIG. 45 eliminates data or communication bottlenecks in controlling modular devices by utilizing a distributed computing architecture that can shift computing resources either between the modular devices and surgical hubs or between the surgical hubs as needed. This process 5650 also improves the modular devices' data processing speed by allowing the processing of the modular devices' control adjustments to be executed at least in part by the modular devices themselves. This process 5650 also improves the surgical hubs' data processing speed by allowing the surgical hubs to shift computing resources between themselves as necessary.

[0296] It can be difficult during video-assisted surgical procedures, such as laparoscopic procedures, to accurately measure sizes or dimensions of features being viewed through a medical imaging device due to distortive effects caused by the device's lens. Being able to accurately measure sizes and dimensions during video-assisted procedures could assist a situational awareness system for a surgical hub by allowing the surgical hub to accurately identify organs and other structures during video-assisted surgical procedures. As one solution, a surgical hub could be configured to automatically calculate sizes or dimensions of structures (or distances between structures) during a surgical procedure by comparing the structures to markings affixed to devices that are intended to be placed within the FOV of the medical imaging device during a surgical procedure. The markings can represent a known scale, which can then be utilized to make measurements by comparing the unknown measured length to the known scale.

[0297] In one exemplification, the surgical hub is configured to receive image or video data from a medical imaging device paired with the surgical hub. When a surgical instrument bearing a calibration scale is within the FOV of the medical imaging device, the surgical hub is able to measure organs and other structures that are likewise within the medical imaging device's FOV by comparing the structures to the calibration scale. The calibration scale can be positioned on, for example, the distal end of a surgical instrument.

[0298] FIG. 46 illustrates a diagram of an imaging system 5800 according to the invention and a surgical instrument 5806 bearing a calibration scale 5808. The imaging system 5800 includes a medical imaging device 5804 that is paired with a surgical hub 5802. The surgical hub 5802 can include a pattern recognition system or a machine learning system configured to recognize features in the FOV from image or video data received from the medical imaging device 5804. In one exemplification, a surgical instrument 5806 (e.g., a surgical cutting and stapling instrument) that is intended to enter the FOV of the medical imaging device 5804 during a surgical procedure includes a calibration scale 5808 affixed thereon. The calibration scale 5808 can be positioned on the exterior surface of the surgical instrument 5806, for example. In aspects wherein the surgical instrument 5806 is a surgical cutting and stapling instrument, the calibration scale 5808 can be positioned along the exterior surface of the anvil. The calibration scale 5808 can include a series of graphical markings separated at fixed and/or known intervals. The distance between the end or terminal markings of the calibration scale 5808 can likewise be a set distance L (e.g., 35 mm). In one exemplification, the end markings (e.g., the most proximal marking and the most distal marking) of the calibration scale 5808 are differentiated from the intermediate markings in size, shape, color, or another such fashion. This allows the image recognition system of the surgical hub 5802 to identify the end markings separately from the intermediate markings. The distance(s) between the markings can be stored in a memory or otherwise retrieved by the surgical hub 5802. The surgical hub 5802 can thus measure lengths or sizes of structures relative to the provided calibration scale 5808. In FIG. 46, for example, the surgical hub 5802 can calculate that the artery 5810a has a diameter or width of D1 (e.g., 17.0 mm), the vein 5810b has a diameter or width of D2 (e.g., 17.5 mm), and the distance between the vessels is D3 (e.g., 20 mm) by comparing the visualizations of these distances D1, D2, D3 to the known length L of the calibration scale 5808 positioned on the surgical instrument 5806 within the FOV of the medical imaging device 5804. The surgical hub 5802 can recognize the presence of the vessels 5810a, 5810b via an image recognition system. In some exemplifications, the surgical hub 5802 can be configured to automatically measure and display the size or dimension of detected features within the FOV of the medical imaging device 5804. In some exemplifications, the surgical hub 5802 can be configured to calculate the distance between various points selected by a user on an interactive display that is paired with the surgical hub 5802.

[0299] The imaging system 5800 configured to detect and measure sizes according to a calibration scale 5808 affixed to surgical instruments 5806 provides the ability to accurately measure sizes and distances during video-assisted procedures. This can make it easier for surgeons to precisely perform video-assisted procedures by compensating for the optically distortive effects inherent in such procedures.

[0300] Various aspects of the subject matter described herein are set out in the following numbered examples.

Example 1. A system comprising a surgical hub configured to communicably couple to a modular device comprising a sensor configured to detect data associated with the modular device and a device processor, the surgical hub comprising: a hub processor; and a hub memory coupled to the hub processor; and a distributed control system executable at least in part by each of the device processor and the hub processor, the distributed control system configured to: receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments; wherein in a first mode the distributed control system is executed by both the hub processor and the device processor, and in a second mode the distributed control system is executed solely by the device processor.

Example 2. The system of any one of Examples 1, wherein the distributed control system is configured to shift from the first mode to the second mode when a sampling rate of the sensor is greater than a data transmission rate from the modular device to the surgical hub.

Example 3. The system of any one of Examples 1-2, wherein the distributed control system is configured to shift from the second mode to the first mode when a sampling rate of the sensor is less than a data transmission rate from the modular device to the surgical hub.

Example 4. The system of any one of Examples 1-3, wherein the modular device comprises a radiofrequency (RF) electrosurgical instrument and the distributed control system is configured to control an energy level of the RF electrosurgical instrument.

Example 5. The system of any one of Examples 1-4, wherein the modular device comprises a surgical cutting and stapling instrument and the distributed control system is configured to control a rate at which a motor of the surgical cutting and stapling instrument drives a knife.

Example 6. A system comprising: a modular device configured to communicably couple to a surgical hub comprising a hub processor, the modular device comprising: a sensor configured to detect data associated with the modular device; a device memory; and a device processor coupled to the device memory and the sensor; and a distributed control system executable at least in part by each of the device processor and the hub processor, the distributed control system configured to: receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments; wherein in a first mode the distributed control system is executed by both the hub processor and the device processor, and in a second mode the distributed control system is executed solely by the device processor.

Example 7. The system of any one of Examples 6, wherein the distributed control system is configured to shift from the first mode to the second mode when a sampling rate of the sensor is greater than a data transmission rate from the modular device to the surgical hub.

Example 8. The system of any one of Examples 6-7, wherein the distributed control system is configured to shift from the second mode to the first mode when a sampling rate of the sensor is less than a data transmission rate from the modular device to the surgical hub.

Example 9. The system of any one of Examples 6-8, wherein the modular device comprises a radiofrequency (RF) electrosurgical instrument and the distributed control system is configured to control an energy level of the RF electrosurgical instrument.

Example 10. The system of any one of Examples 6-9, wherein the modular device comprises a surgical cutting and stapling instrument and the distributed control system is configured to control a rate at which a motor of the surgical cutting and stapling instrument drives a knife.

Example 11. A system configured to control a modular device comprising a sensor configured to detect data associated with the modular device, the system comprising: a first surgical hub configured to communicably couple to the modular device and to a second surgical hub comprising a second processor, the first surgical hub comprising: a memory; and a first processor coupled to the memory; and a distributed control system executable at least in part by each of the first processor and the second processor, the distributed control system configured to: receive the data detected by the sensor; determine control adjustments for the modular device according to the data; and control the modular device according to the control adjustments.

Example 12. The system of any one of Examples 11, wherein the distributed control system is transitionable between a first mode, where the distributed control system is executed by both the first processor and the second processor, and a second mode, where the distributed control system is executed solely by the first processor.

Example 13. The system of any one of Examples 11-12, wherein the distributed control system is configured to shift between the first mode and the second mode upon receiving a command.

Example 14. The system of any one of Examples 11-13, wherein the modular device comprises a radiofrequency (RF) electrosurgical instrument and the distributed control system is configured to control an energy level of the RF electrosurgical instrument.

Example 15. The system of any one of Examples 11-14, wherein the modular device comprises a surgical cutting and stapling instrument and the distributed control system is configured to control a rate at which a motor of the surgical cutting and stapling instrument drives a knife.



[0301] While several forms have been illustrated and described, it is not the intention of the applicant to restrict or limit the scope of the appended claims to such detail. Numerous modifications, variations, changes, substitutions, combinations, and equivalents to those forms may be implemented and will occur to those skilled in the art without departing from the scope of the present disclosure. Moreover, the structure of each element associated with the described forms can be alternatively described as a means for providing the function performed by the element. Also, where materials are disclosed for certain components, other materials may be used. It is therefore to be understood that the foregoing description and the appended claims are intended to cover all such modifications, combinations, and variations as falling within the scope of the disclosed forms. The appended claims are intended to cover all such modifications, variations, changes, substitutions, modifications, and equivalents.

[0302] The foregoing detailed description has set forth various forms of the devices and/or processes via the use of block diagrams, flowcharts, and/or examples. Insofar as such block diagrams, flowcharts, and/or examples contain one or more functions and/or operations, it will be understood by those within the art that each function and/or operation within such block diagrams, flowcharts, and/or examples can be implemented, individually and/or collectively, by a wide range of hardware, software, firmware, or virtually any combination thereof. Those skilled in the art will recognize that some aspects of the forms disclosed herein, in whole or in part, can be equivalently implemented in integrated circuits, as one or more computer programs running on one or more computers (e.g., as one or more programs running on one or more computer systems), as one or more programs running on one or more processors (e.g., as one or more programs running on one or more microprocessors), as firmware, or as virtually any combination thereof, and that designing the circuitry and/or writing the code for the software and or firmware would be well within the skill of one of skill in the art in light of this disclosure. In addition, those skilled in the art will appreciate that the mechanisms of the subject matter described herein are capable of being distributed as one or more program products in a variety of forms, and that an illustrative form of the subject matter described herein applies regardless of the particular type of signal bearing medium used to actually carry out the distribution.

[0303] Instructions used to program logic to perform various disclosed aspects can be stored within a memory in the system, such as dynamic random access memory (DRAM), cache, flash memory, or other storage. Furthermore, the instructions can be distributed via a network or by way of other computer readable media. Thus a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), but is not limited to, floppy diskettes, optical disks, compact disc, read-only memory (CD-ROMs), and magneto-optical disks, read-only memory (ROMs), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic or optical cards, flash memory, or a tangible, machine-readable storage used in the transmission of information over the Internet via electrical, optical, acoustical or other forms of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.). Accordingly, the non-transitory computer-readable medium includes any type of tangible machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).

[0304] As used in any aspect herein, the term "control circuit" may refer to, for example, hardwired circuitry, programmable circuitry (e.g., a computer processor comprising one or more individual instruction processing cores, processing unit, processor, microcontroller, microcontroller unit, controller, digital signal processor (DSP), programmable logic device (PLD), programmable logic array (PLA), or field programmable gate array (FPGA)), state machine circuitry, firmware that stores instructions executed by programmable circuitry, and any combination thereof. The control circuit may, collectively or individually, be embodied as circuitry that forms part of a larger system, for example, an integrated circuit (IC), an application-specific integrated circuit (ASIC), a system on-chip (SoC), desktop computers, laptop computers, tablet computers, servers, smart phones, etc. Accordingly, as used herein "control circuit" includes, but is not limited to, electrical circuitry having at least one discrete electrical circuit, electrical circuitry having at least one integrated circuit, electrical circuitry having at least one application specific integrated circuit, electrical circuitry forming a general purpose computing device configured by a computer program (e.g., a general purpose computer configured by a computer program which at least partially carries out processes and/or devices described herein, or a microprocessor configured by a computer program which at least partially carries out processes and/or devices described herein), electrical circuitry forming a memory device (e.g., forms of random access memory), and/or electrical circuitry forming a communications device (e.g., a modem, communications switch, or optical-electrical equipment). Those having skill in the art will recognize that the subject matter described herein may be implemented in an analog or digital fashion or some combination thereof.

[0305] As used in any aspect herein, the term "logic" may refer to an app, software, firmware and/or circuitry configured to perform any of the aforementioned operations. Software may be embodied as a software package, code, instructions, instruction sets and/or data recorded on non-transitory computer readable storage medium. Firmware may be embodied as code, instructions or instruction sets and/or data that are hard-coded (e.g., nonvolatile) in memory devices.

[0306] As used in any aspect herein, the terms "component," "system," "module" and the like can refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution.

[0307] As used in any aspect herein, an "algorithm" refers to a self-consistent sequence of steps leading to a desired result, where a "step" refers to a manipulation of physical quantities and/or logic states which may, though need not necessarily, take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It is common usage to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. These and similar terms may be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities and/or states.

[0308] A network may include a packet switched network. The communication devices may be capable of communicating with each other using a selected packet switched network communications protocol. One example communications protocol may include an Ethernet communications protocol which may be capable permitting communication using a Transmission Control Protocol/Internet Protocol (TCP/IP). The Ethernet protocol may comply or be compatible with the Ethernet standard published by the Institute of Electrical and Electronics Engineers (IEEE) titled "IEEE 802.3 Standard", published in December, 2008 and/or later versions of this standard. Alternatively or additionally, the communication devices may be capable of communicating with each other using an X.25 communications protocol. The X.25 communications protocol may comply or be compatible with a standard promulgated by the International Telecommunication Union-Telecommunication Standardization Sector (ITU-T). Alternatively or additionally, the communication devices may be capable of communicating with each other using a frame relay communications protocol. The frame relay communications protocol may comply or be compatible with a standard promulgated by Consultative Committee for International Telegraph and Telephone (CCITT) and/or the American National Standards Institute (ANSI). Alternatively or additionally, the transceivers may be capable of communicating with each other using an Asynchronous Transfer Mode (ATM) communications protocol. The ATM communications protocol may comply or be compatible with an ATM standard published by the ATM Forum titled "ATM-MPLS Network Interworking 2.0" published August 2001, and/or later versions of this standard. Of course, different and/or after-developed connection-oriented network communication protocols are equally contemplated herein.

[0309] Unless specifically stated otherwise as apparent from the foregoing disclosure, it is appreciated that, throughout the foregoing disclosure, discussions using terms such as "processing," "computing," "calculating," "determining," "displaying," or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

[0310] One or more components may be referred to herein as "configured to," "configurable to," "operable/operative to," "adapted/adaptable," "able to," "conformable/conformed to," etc. Those skilled in the art will recognize that "configured to" can generally encompass active-state components and/or inactive-state components and/or standby-state components, unless context requires otherwise.

[0311] The terms "proximal" and "distal" are used herein with reference to a clinician manipulating the handle portion of the surgical instrument. The term "proximal" refers to the portion closest to the clinician and the term "distal" refers to the portion located away from the clinician. It will be further appreciated that, for convenience and clarity, spatial terms such as "vertical", "horizontal", "up", and "down" may be used herein with respect to the drawings. However, surgical instruments are used in many orientations and positions, and these terms are not intended to be limiting and/or absolute.

[0312] Those skilled in the art will recognize that, in general, terms used herein, and especially in the appended claims (e.g., bodies of the appended claims) are generally intended as "open" terms (e.g., the term "including" should be interpreted as "including but not limited to," the term "having" should be interpreted as "having at least," the term "includes" should be interpreted as "includes but is not limited to," etc.). It will be further understood by those within the art that if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases "at least one" and "one or more" to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles "a" or "an" limits any particular claim containing such introduced claim recitation to claims containing only one such recitation, even when the same claim includes the introductory phrases "one or more" or "at least one" and indefinite articles such as "a" or "an" (e.g., "a" and/or "an" should typically be interpreted to mean "at least one" or "one or more"); the same holds true for the use of definite articles used to introduce claim recitations.

[0313] In addition, even if a specific number of an introduced claim recitation is explicitly recited, those skilled in the art will recognize that such recitation should typically be interpreted to mean at least the recited number (e.g., the bare recitation of "two recitations," without other modifiers, typically means at least two recitations, or two or more recitations). Furthermore, in those instances where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). In those instances where a convention analogous to "at least one of A, B, or C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, or C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). It will be further understood by those within the art that typically a disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms unless context dictates otherwise. For example, the phrase "A or B" will be typically understood to include the possibilities of "A" or "B" or "A and B."

[0314] With respect to the appended claims, those skilled in the art will appreciate that recited operations therein may generally be performed in any order. Also, although various operational flow diagrams are presented in a sequence(s), it should be understood that the various operations may be performed in other orders than those which are illustrated, or may be performed concurrently. Examples of such alternate orderings may include overlapping, interleaved, interrupted, reordered, incremental, preparatory, supplemental, simultaneous, reverse, or other variant orderings, unless context dictates otherwise. Furthermore, terms like "responsive to," "related to," or other past-tense adjectives are generally not intended to exclude such variants, unless context dictates otherwise.

[0315] It is worthy to note that any reference to "one aspect," "an aspect," "an exemplification," "one exemplification," and the like means that a particular feature, structure, or characteristic described in connection with the aspect is included in at least one aspect. Thus, appearances of the phrases "in one aspect," "in an aspect," "in an exemplification," and "in one exemplification" in various places throughout the specification are not necessarily all referring to the same aspect. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more aspects.

[0316] Any patent application, patent, non-patent publication, or other disclosure material referred to in this specification and/or listed in any Application Data Sheet is incorporated by reference herein, to the extent that the incorporated materials is not inconsistent herewith. As such, and to the extent necessary, the disclosure as explicitly set forth herein supersedes any conflicting material incorporated herein by reference. Any material, or portion thereof, that is said to be incorporated by reference herein, but which conflicts with existing definitions, statements, or other disclosure material set forth herein will only be incorporated to the extent that no conflict arises between that incorporated material and the existing disclosure material.

[0317] In summary, numerous benefits have been described which result from employing the concepts described herein. The foregoing description of the one or more forms has been presented for purposes of illustration and description. It is not intended to be exhaustive or limiting to the precise form disclosed. Modifications or variations are possible in light of the above teachings. The one or more forms were chosen and described in order to illustrate principles and practical application to thereby enable one of ordinary skill in the art to utilize the various forms and with various modifications as are suited to the particular use contemplated. It is intended that the claims submitted herewith define the overall scope.


Claims

1. A system comprising:

a surgical hub configured to communicably couple to a modular device comprising a sensor configured to detect data associated with the modular device and a device processor, the surgical hub comprising:

a hub processor; and

a hub memory coupled to the hub processor; and

a distributed control system executable at least in part by each of the device processor and the hub processor, the distributed control system configured to:

receive the data detected by the sensor;

determine control adjustments for the modular device according to the data; and

control the modular device according to the control adjustments;

wherein in a first mode the distributed control system is executed by both the hub processor and the device processor, and in a second mode the distributed control system is executed solely by the device processor.


 
2. A system comprising:

a modular device configured to communicably couple to a surgical hub comprising a hub processor, the modular device comprising:

a sensor configured to detect data associated with the modular device;

a device memory; and

a device processor coupled to the device memory and the sensor; and

a distributed control system executable at least in part by each of the device processor and the hub processor, the distributed control system configured to:

receive the data detected by the sensor;

determine control adjustments for the modular device according to the data; and

control the modular device according to the control adjustments;

wherein in a first mode the distributed control system is executed by both the hub processor and the device processor, and in a second mode the distributed control system is executed solely by the device processor.


 
3. The system of claim 1 or claim 2, wherein the distributed control system is configured to shift from the first mode to the second mode when a sampling rate of the sensor is greater than a data transmission rate from the modular device to the surgical hub.
 
4. The system of any preceding claim, wherein the distributed control system is configured to shift from the second mode to the first mode when a sampling rate of the sensor is less than a data transmission rate from the modular device to the surgical hub.
 
5. The system of any preceding claim, wherein the modular device comprises a radiofrequency (RF) electrosurgical instrument and the distributed control system is configured to control an energy level of the RF electrosurgical instrument.
 
6. The system of any preceding claim, wherein the modular device comprises a surgical cutting and stapling instrument and the distributed control system is configured to control a rate at which a motor of the surgical cutting and stapling instrument drives a knife.
 
7. A system configured to control a modular device comprising a sensor configured to detect data associated with the modular device, the system comprising:

a first surgical hub configured to communicably couple to the modular device and to a second surgical hub comprising a second processor, the first surgical hub comprising:

a memory; and

a first processor coupled to the memory; and

a distributed control system executable at least in part by each of the first processor and the second processor, the distributed control system configured to:

receive the data detected by the sensor;

determine control adjustments for the modular device according to the data; and

control the modular device according to the control adjustments.


 
8. The system of claim 6, wherein the distributed control system is transitionable between a first mode, where the distributed control system is executed by both the first processor and the second processor, and a second mode, where the distributed control system is executed solely by the first processor.
 
9. The system of claim 7, wherein the distributed control system is configured to shift between the first mode and the second mode upon receiving a command.
 
10. The system of any one of claims 6 to 8, wherein the modular device comprises a radiofrequency (RF) electrosurgical instrument and the distributed control system is configured to control an energy level of the RF electrosurgical instrument.
 
11. The system of any one of claims 6 to 9, wherein the modular device comprises a surgical cutting and stapling instrument and the distributed control system is configured to control a rate at
 




Drawing


















































































































































































Search report















Search report




Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description