SYSTEM FOR CONTROL OF BLOOD PROCESSOR

Abstract: A blood processor (100) is provided with a microprocessor (110) and a memory (120), and external to the blood processor (100) there is provided a general purpose computer system (200) programmed with a convenient interface (210) for creating scripts. The general purpose computer system (200) translates the scripts into custom interpretive code adapted for processing by the microprocessor (110) in the blood processor (100), and the code is written into the memory (120) of the blood processor (100) via the microprocessor (110) in the blood processor (100).

Description: SYSTEM FOR CONTROL OF BLOOD PROCESSOR BACKGROUND OF THE INVENTION: Related Applica ions: This application is related to the following U.S. Patents, each of which is incorporated herein by reference for all purposes: 5,603,845; 5,733,446; 5,738,784; 5,830,352. Field of the Invention: This invention relates to a method and system for controlling a blood processor. To be more particular, this invention is especially applicable to a blood processor that produces fibrin sealant. In its most specific embodiment, the invention is a method and system for controlling a blood processor to produce autologous fibrin sealant. Related Art: A blood processor may be understood, in general terms, as a machine that performs some process on blood. The blood may be human blood. A simple centrifuge may thus be thought of as a primitive blood processor. Blood processors range in complexity from very simple to very complex. The complexity of a blood processor may be thought of as being in direct relation to the number, the kind, and the delicacy of the processes it performs. For example, the separation of red blood cells with a centrifuge is, by itself, a fairly simple process. A blood processor to perform only such a separation needs only relatively simple controls, such as an on/off switch, a speed setting, or the like. In a similar vein, a highly complex apparatus for processing blood might require a myriad of controls. Complex blood processing procedures may require several steps. The more complex a procedure is, the more desirable it becomes to automate as much of the procedure as possible so as to avoid human error and also to promote uniformity in execution of the steps. To automate processing in a blood processor, it is known to include in the blood processor an application specific integrated circuit (ASIC) . An ASIC is designed to control the operation of the blood processor through the several or many steps of a complex blood processing procedure. An ASIC is a reliable and useful control mechanism for automating a blood processor. An ASIC is disadvantageous, however, in the respect that it cannot be freely modified. In a highly complex blood processor, capable of performing many different operations and steps, this is a disadvantage because new procedures or modifications of old procedures may be desired. A blood processor with only an ASIC cannot be freely modified to execute such procedures . SUMMARY OF THE INVENTION: It is an object of the invention to provide a system for the convenient production and modification of the control programs that control the automated execution of blood processing procedures. To achieve this objective, a blood processor is provided with a computer and memory, and external to the blood processor there is provided a general purpose computer system programmed with a convenient interface for creating scripts; the general purpose computer system translates the scripts into code of a custom interpretive language adapted to be interpreted by the computer in the blood processor, and the script of custom interpretive language instructions is written into the memory of the blood processor. In one embodiment of the invention, multiple scripts are stored in the blood processor, and a barcode or the like on a disposable blood preparation unit indicates to the b " Ood processor which of the multiple scripts should be invoked. The invention will be better understood from the following description in which an exemplary embodiment is described in detail with the aid of the accompanying figures. It is to be understood that the described embodiment is merely an example of the realization of the invention and is for explanation only. In other words, the invention is not limited in its applicability to this one example. RRTEF DESCRIPTION OF THE DRAWING FIGURES: Fig. 1 shows, in simplified schematic form, a preferred embodiment of the invention. Fig. 2 shows, in simplified schematic form, a blood processor according to the invention. Fig. 3 shows, in simplified schematic form, an external computer featuring a user interface and script generator according to the invention. Fig. 4 shows a blood processor including a bar code reader according to one embodiment of the invention . Fig. 5 shows an example of a part of a script according to one embodiment of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT: In Fig. 1, a blood processor 100 is provided with a microprocessor 110 and a memory 120. An external computer 200 has a blood processor interface 210, a script generator 220, and a user interface 230. The external computer 200 is linked to the blood processor 100. To be more specific, the blood processor interface 210 of the external computer 200 is operably linked to write information into the memory 120 of the blood processor 100. The microprocessor 110 accesses the memory 120 to read the script of custom interpretive language instructions. As schematically shown in Fig. 2, the blood processor 100 is provided with a low level hardware interface 130 to which the microprocessor 110 is operably linked. The low level hardware interface 130 provides an interface whereby the microprocessor 110 may independently control a plurality of devices 140 of the blood processor 100. As used here, "devices" means sensors, detectors, motors, actuators, displays, solenoids, or the like. Control of a device 140 may include receiving the input from a sensor or detector, driving a motor, actuator, display, or solenoid, or generally providing inputs to or taking output from any device 140. In operation, the blood processor 100 according to the invention has, in memory 120, a program or set of programs readable by the microprocessor 110. The microprocessor 110 operates according to the program read from the memory 120. Typically, an input from one of the devices 140 will be used to initiate the blood processing procedure. For example, a blood processor 100 may have a start button. The start button is a kind of device 140. The start button, when activated, may output an electrical signal in response to the activation. This electrical signal passes to the low level hardware interface 130 and may be provided as an interrupt to the microprocessor 110. In response to the signal from the start button, the microprocessor 110 may command the plurality of devices 140 in accordance with the program steps defined in the memory 120 of the blood processor 100. The program steps may be thought of as predefined scripts which the microprocessor 110 must follow. It will be appreciated that the scripts stored in the memory 120 of the blood processor 100 are not generally intelligible by an unaided human. The program steps that comprise the scripts are in a custom interpretive language specially adapted to the blood processor 100. Furthermore, it will be appreciated that the scripts are not created inside the blood processor 100 apparatus, but are created externally and downloaded, via the computer of the blood processor 100, into the memory 120 of the blood processor 100. Downloading of such instructions is performed in a manner well known to those of skill in this field. The act of downloading instructions or scripts into memory 120 is not the subject of this invention, and detailed description thereof will be omitted for the sake of clarity. Referring back to Fig. 1, there is represented an external computer 200 having a blood processor interface 210, a script generator 220, and a user interface 230. As mentioned, the blood processor interface 210 provides a means whereby the script of custom interpretive language instructions may be passed from the external computer 200 to the memory 120 of the blood processor 100. As with the aspect of the blood processor 100 concerned with downloading, this aspect of the external computer 200 is not further discussed in detail. The script generator 220 and the user interface 230 of the external computer 200 are important in achieving the object of the invention. The key advantages of these components will be made apparent by first discussing a conventional way to generate instructions, and then by explaining the invention. It is conventional to obtain machine language instructions for execution by a microprocessor 110 by writing source code of a human-readable programming language. Examples of human-readable programming languages are C, FORTRAN, BASIC, and C++, to name a few. The source code is typically stored on a Computer-readable medium, such as a disk, and is used as an input to a compiler for the particular programming language. A compiler may perform operations on the source code, as is well known in this field, and produce, as an output, machine language instructions. Compilers may also retrieve source code from associated files such as header files, and may retrieve machine language code from library files, as part of the operations of making machine language code corresponding to the input source code. The resulting machine language instructions may be stored in a file and downloaded to the blood processor 100. Having briefly described the conventional manner of obtaining a set of instructions for execution by a microprocessor 110, an explanation will be given as to the script generator 220 and user interface 230 according to the invention. According to the invention, there is provided a user interface 230 working cooperatively with a script generator 220. The user interface 230 may be graphical in nature or not, although graphical user interface 230s are preferred for ease of use. The User interface 230 and script generator 220 may be customized to the architecture of the blood processor 100. The external computer 200 is depicted in Fig. 3. The script generator 220 contains information of three general types : device information 222 relating to all of the different controls, sensors, buttons, and displays of the blood processor 100; operation information 224 that is indicative of the different operations that may be performed with respect to the devices; and • limits information 226 that indicates operational limits for the operations. These three types of information may be embodied in any manner. The presently preferred manner of embodying this information is exemplified in the following description made with respect to a shield that may be automatically raised, automatically lowered, and automatically locked. The devices 140 associated with the shield include a stepper motor that moves the shield, a first sensor that detects the shield to be in a fully closed position, and a second sensor that detects the shield to be in a fully locked position. The operations information associated with the foregoing may include operations of locking or unlocking the locking mechanism, of moving the shield in a closing or an opening direction, of stopping the shield, and the like. The limits information 226 associated with the operations may include maximum speed of travel for the shield, maximum travel distance for the shield, and the like, The following table shows how several operations may be defined: enum commands { shield_open = 0x0020, shield_close = 0x0021, shield_lock = 0x0022, shield_unlock = 0x0023, shield_up = 0x0024, shield_down = 0x0025, shield_open = 0x0020, shield_lock_detect = 0x0026 ... Similarly, limits may be defined as: #define shield_max_travel = 1523 #define shield_home_position = 0 #define shield_locked = 1 #define shield_unlocked = 0 #define shield_max_travel_speed = 5 The user interface 230 might thus present a human readable form of each command from a menu, allowing the user to select from the permitted commands. The user might set up a script using commands such as: Shield Close, speed = max Shield Lock Shield Compare lock-sensor, shield-locked The above commands "Shield Close" and "Shield Compare" have associated parameters. For example, the Shield Close command may have a speed parameter associated with it. The speed parameter could be used to drive the shield stepper motor, for example, in larger or smaller steps. The following table shows how an interpretive language command might be provided in response to the user selecting a particular command via the user interface. In the table, the user has entered a command to perform an "up" operation on the device that drives the shield, which device might be a stepper motor. The user interface requires the user to enter the necessary parameters, such as speed of the upward movement and distance to be traveled. The user interface conveniently displays the units that relate to the parameters of each operation. Here, the "shield up" command has been formed with the speed parameter being 4 steps/s, and the distance to travel being 900 tenths of a millimeter (i.e., 9 centimeters) . The user interface, knowing that the maximum speed allowed for shield travel is 5 steps/s, does not permit the user to enter a value greater than 5 for the speed parameter. Likewise, the maximum travel allowed may also be checked against the predetermined limit, i.e., shield_max_travel . In the table above, the corresponding interpretive language command is shown. In particular, the shield_up command is changed into the hexadecimal value 24 (x24) , which is the command identifier used by the microprocessor of the blood processor. The microprocessor is pre-programmed to respond to the command x24 by controlling the stepper motor that drives the shield of the blood processor to move the shield in an upward direction. The parameters 4 and 900 are used by the microprocessor to control the stepper motor's speed (i.e., 4 steps per second) and the number of steps actually commanded (i.e., the equivalent of 9 cm) . The numbers 4 and 900 are preferably converted to hexadecimal values as part of the script generation. Different commands will require different numbers of parameters. The precise manner of making the defined commands easily readable through a graphical user interface 230 is not the subject of this application, and will be well within the capability of those skilled in interface design. Likewise, the precise manner of embodying the devices, operations, and limits information (222, 224, 226) in a computer program also is not the subject of this application and, supplied with the above concepts, it is within the capability of the software and control systems engineer to actually study a blood processor 100 and to define a suitable set of commands and program steps. The user interface 230 permits a user to select from different operations on corresponding devices 140 within particular limits. The script generator 220 takes the items and their parameters selected by the user, and produces corresponding instructions in the custom interpretive language. That is, the script generator 220 generates custom interpretive language instructions with the appropriate addresses and parameters that correspond to the set of steps selected by the user. The user interface 230 and script generator 220 may be combined into a single module, of course, or broken down into several modules. Variations are possible, but the central idea is to allow the user to create a script for the blood processor 100 without the necessity for the user to be a computer programmer. The user interface 230 and/or script generator 220 should permit the storage of scripts for later recall and modification. Once the scripts of custom interpretive language instructions are thus stored, the blood processor interface 210 may be invoked to download the script into the memory 120 of the blood processor 100 via the blood processor 100. A concrete example of a script generated according to the invention will now be described for illustration purposes only. The VIVOSTAT™ system by the BRISTOL-MYERS SQUIBB company is an example of a highly complex blood processor 100 to which the invention is applicable. The VIVOSTAT™ system produces autologous fibrin sealant from a patient's own blood in approximately 30 minutes. The apparatus includes a start button and a display panel, which are the only controls making up the man/machine interface. In other words, the user inserts a preparation unit, pushes the start button, and waits while the blood processor performs a myriad of complex operations. The display panel indicates progress during the processing. The VIVOSTAT™ system has numerous devices, as will become evident from the following description. An example of some of the human-readable set of steps to accomplish the automated blood processing phase is shown in Fig. 5. In Fig. 5, the first column includes step numbers, the second column includes operations (which are often descriptive of the device being operated on) , the third column includes parameter information relating to the operations, the fourth column includes parameter values, and the fifth column includes unit-related information to make the script more easily readable. The first line on Fig. 5, for example, relates to the 72d step in a series of steps. The operation relates to the flywheel device. The operation, to be precise, is a deceleration operation. The relevant parameters are the final speed and the deceleration rate. The final speed parameter is 2000 revolutions per minute. The rate of deceleration is 1000 RPM per second. The second line of Fig. 5 is the 73d step in the series of steps. The device being controlled is the piston (mentioned below) of a preparation unit. The operation is a wait operation. In this instance, no parameters are applicable. In general, to produce autologous fibrin sealant from whole blood, the following steps are taken: A. During a preparation phase: 1. Manually, citrate is transferred into a reservoir chamber of a disposable preparation unit, e.g., a unit as described in any of the above-identified '845, '446, or '784 patents. 2. Whole blood is manually collected from the patient and directly transferred to the reservoir chamber. 3. A dissolving buffer syringe is manually placed in the preparation unit. The preparation unit with syringe is placed inside the VIVOSTAT™ blood processor unit. B. During an automated processing phase: 4. The processor unit shield is closed. The preparation unit is engaged. A piston is moved down and enzyme (biotinylated batroxobin) is released from a cartridge inside the preparation unit into a reaction chamber of the preparation unit, e.g., as described in U.S. patent 5,830,352. 5. A halogen lamp, near infrared sensor-controlled heating system within the blood processor heats the preparation unit reservoir chamber until the temperature of the blood returns to 37°C. 6. The processor spins the preparation unit, separating the plasma from the cells. The cells aggregate on the wall of the reservoir chamber while the plasma forms an inner core. 7. The piston is moved up and draws the separated plasma core from the reservoir chamber into the reaction chamber, there to mix with the enzyme. The piston moves to a height sufficient to draw 60ml of plasma. A red blood cell detector is used to ensure that no red blood cells are drawn into the reaction chamber. Once mixing is complete, the preparation unit is spun at 9000 rpm, thus converting the fibrinogen into fibrin, which in this case is fibrin I, and which immediately polymerizes, the gel-like polymer being deposited on the wall of the reaction chamber in a thin film. 8. The preparation unit is brought to a standstill. Air is drawn into the reaction chamber. The piston is moved so as to compress the air, forcing all but the fibrin I polymer and residual biotinylated batroxobin into the reservoir chamber. Short spins are performed so as to remove any additional residual plasma in the fibrin I polymer. 9. The dissolving buffer is released into the reaction chamber from the syringe. The preparation unit is rotated in one direction, and then the other, repeatedly, so as to dissolve the fibrin I in the buffer and to produce a fibrin (I) monomer solution. Avidin- agarose is released into the reaction chamber to act as an enzyme capture reagent. The preparation unit is spun intermittently and the avidin-agarose complexes with the residual biotinylated batroxobin. 10. The fibrin I - enzyme complex mixture is caused to flow into a filtration chamber of the preparation unit. The preparation unit is spun and centrifugal force transfers the fibrin I monomer solution through an annular filter into a collection chamber of the preparation unit. Since the agarose-avidin-biotin-batroxobin enzyme complex is unable to pass through the annular filter, it remains in the filtration chamber. 11. The resulting purified fibrin I monomer solution is transferred from the collection chamber of the preparation unit back into the syringe via a safety filter. The shield is moved out of the way and the preparation unit is disengaged. C. Application phase 12. The fibrin I monomer solution is combined with a pHIO buffer at the site of application, thus causing polymerization of the fibrin monomer into fibrin polymer. It will be appreciated that the user interface 230 and script generator 220 relieve the user of the task of programming in a programming language, and generate scripts in a custom interpretive language customized to the blood processor by virtue of the information contained in the device definition file and the operation definition file. The custom interpretive language instructions are downloaded into the blood processor 100 via the blood processor interface 210 and the computer onboard the blood processor 100. In another embodiment of the invention, the memory 120 of the blood processor 100 is capable of Storing multiple scripts. This is advantageous when combined with a barcode scanner or the like in the blood processor 100. In Fig. 4, microprocessor 110 controls a barcode reader 150 to read a barcode (not shown) of preparation unit 300. For example, a first script might relate to performing processing on blood in a normal manner, the amount of blood expected being 60cc. In this hypothetical process, a first amount of another chemical is released from the above-identified syringe into the blood, perhaps 5cc. A second script might relate to performing the same general process, but for the blood of a neonatal infant. It would be unsafe to draw 60cc of blood from the neonate, and so only a few cc would be drawn and used. The amount automatically dispensed from the syringe would need to be correspondingly reduced in the second script. By affixing an appropriate barcode or other indicator on the disposable preparation unit 300, the barcode reader 150 or the like in the blood processor 100 may automatically obtain an indication of whether the first script or the second script is to be executed. Additional scripts may be added to the blood processor so that a third script may be generated to perform blood processing in a third manner. Since the blood processor is not controlled by an ASIC, the scripts need not all be predefined; rather, scripts may be added or changed later, making the blood processor according to this embodiment of the invention especially advantageous. For the sake of generality, it will be appreciated that a barcode reader is not the only means by which information from the preparation unit might be provided to the blood processor. It will occur to those familiar in this field to use optical character recognition, for example, or to use another indicator such as a certain shape or color of the preparation unit. The term "reader" will therefore mean all of these and similar ways of indicating, on the preparation unit, a different script should be followed. The term "indicator" will mean the identifying indicia or shape of the preparation unit detectable by the reader. It is contemplated that numerous modifications may be made to the disclosed system for control of a blood processor, without departing from the spirit and scope of the invention as defined in the following claims .

Claims: T CLAIM: i 1. A system for controlling a blood processor, : comprising: 3 a blood processor with a microprocessor and . memory; and 5 an external computer having a user interface and 6 a script generator; 7 said blood processor having a plurality of 8 devices, each with one or more respective operations; 9 said script generator including device and lo operation information relating to said plurality of π devices and said respective operations; 12 said user interface being adapted to display said 1 device information and said operation information; i4 said external computer recording a selected set is of steps indicating selected ones of said respective 16 operations for said plurality of devices; 17 said script generator outputting said selected is steps in a custom interpretive language readable by 19 said microprocessor of said blood processor; and 20 said script being loaded into said memory of said 2i blood processor. i 2. The system for controlling a blood processor 2 as set forth in claim 1, wherein said selected set of 3 steps include: 4 spinning whole blood in a first chamber to 5 separate plasma from cells; 6 moving a piston of a preparation unit to draw 7 plasma from said first chamber to a second chamber; 8 mixing said plasma in said second chamber with an 9 enzyme which converts fibrinogen in said plasma into a 10 fibrin polymer; π releasing a dissolving buffer into said second 12 chamber from a syringe; 13 rotating said preparation unit in alternate i4 directions to dissolve said fibrin polymer in said is buffer forming a fibrin monomer solution; 16 releasing an enzyme capture reagent into said 17 second chamber; is manipulating said preparation unit so that said 19 fibrin monomer solution flows into a third chamber of 20 said preparation unit; 2i rotating said preparation unit so that said 22 fibrin monomer flows through an annular filter into a 23 fourth chamber of said preparation unit; and transferring said fibrin monomer into said syringe . 3. The system for controlling a blood processor as set forth in claim 2, wherein: said memory of said blood processor includes said script and a different script, defining a plurality of scripts; and said blood processor includes a reader reading an indicator of said preparation unit and providing an indication corresponding to said indicator; said microprocessor selecting one of said plurality of scripts based on said indication. 4. The system for controlling a blood processor as set forth in claim 3, wherein said reader is a bar code reader. 5. The system for controlling a blood processor as set forth in claim 1, wherein: said script generator further comprises limits information; said selected set of steps includes, for each of said steps, respective parameter information; and said user interface uses said limits information to check for invalid values in said parameter information .

Inventors: CARR RAYMOND A, CARR, RAYMOND, A.
Applicants: SQUIBB BRISTOL MYERS CO, BRISTOL-MYERS SQUIBB COMPANY
Application year: 2000
Main classification: B04B13
IPC codes: A61L24, B04B5, B04B13, G01N1, G01N33, G01N35