referring first to fig1 an intravenous infusion pump apparatus embodying the present invention comprises a central processing unit ( cpu ) 1 , a random access memory ( ram ) 2 , and a read - only memory ( rom ) 8 . the central processing unit 1 supervises the entire sequence of operation of the infusion pump apparatus as a whole whereas the random access memory 2 is used for a temporary storage of various data used in arithmetic calculations performed by the central processing unit 1 . the read - only memory 8 stores a program necessary to operate the central processing unit 1 . a warning / display indicator 4 is adapted to receive signals , detected by various detectors as will be described later , through the central processing unit to provide an audible and / or visual message represented by such signals . an electric power supply circuit 5 provides all necessary electric power to various circuit components of the apparatus . an indicator lamp 8 is operable to provide an indication that the apparatus is issuing an audible and / or visual warning during the administration of a medical solution to a patient through a peristaltic infusion pump assembly as will be described later . a programming display 7 is operable to provide a display of information associated with the infusion of the medical solution such as , for example , the flow rate of the medical solution being administrated , the total amount of the medical solution to be administrated and the cumulative amount of the medical solution administrated . an alarm drive circuit 8 is operable , when the apparatus is in a state of emergency , to drive an alarm to call an attention of an attendant physician or nurse . a pump drive unit 10 includes an electrically driven stepper motor for driving the peristaltic infusion pump assembly 60 shown in fig2 . a motor drive circuit 9 is used to drive the stepper motor in response to a series of drive pulses outputted from the central processing unit 1 . a motor drive detector 11 is used to detect , and provides to the central processing unit 1 a motor drive signal indicative of , the number of revolutions of the stepper motor . it is to be noted that the number of revolutions of the stepper motor detected by this motor drive detector 11 corresponds to the amount of the medical solution being delivered to the patient through the peristaltic infusion pump assembly . a bubble detector 13 is used to detect the presence or absence of bubbles in the infusion tubing 61 . an analog - to - digital ( a / d ) converter 12 is operable to convert analog signals indicative of the level of detection of bubbles and the level of a battery voltage into respective digital signals which are in turn supplied to the central processing unit 1 . a door detector circuit 15 monitors a door of the apparatus and provides a door open signal when the door is opened . an upstream flow detector circuit 16 is used to detect a reduction in pressure inside an upstream portion of the infusion tubing 61 between a solution bag ( the source of the medical solution ) and the peristaltic infusion pump assembly 60 which would take place as a result of an occurrence of an abnormality , for example , a clogging , in that upstream portion of the infusion tubing 61 . a downstream flow detector circuit 17 is operable to detect an increase in pressure inside a downstream portion of the infusion tubing 61 between the peristaltic infusion pump assembly 60 and the patient which would take place as a result of an occurrence of an abnormality , for example , an occlusion , in that downstream portion of the infusion tubing 61 . a keyboard 18 adapted to be manipulated by an operator of the apparatus when the apparatus is desired to be operated includes a plurality of numerical input keys through which an operator of the apparatus can input the amount of the medical solution to be administrated and the flow rate thereof , a plurality of control keys for assisting the inputting , a start key for initiating the administration of the medical solution when depressed , a stop key for interrupting the administration of the medical solution when depressed , a call key for causing the cumulative amount of the medical solution administrated when depressed . a lock switch 19 is used to lock the keyboard 18 and an electric power supply key in a disabled condition for the purpose of avoiding the possibility that the apparatus may be manipulated by those other than the authorized operator , i . e ., the authorized attendant physician or nurse . a clock 20 is used to provide visual information on the length of time during which the apparatus is operated and the time at which any warning is made and for any other purpose . an electric power switch 24 is used to selectively switch the power supply circuit 5 on and off . for the purpose of the present invention , the random access memory 2 referred to above stores the motor stepped number m , i . e ., the number of counted steps over which the stepper motor are rotated or advanced , which may be equal to or a function of the number of motor drive pulses outputted from the central processing unit 1 to the motor drive circuit 9 . on the other hand , the read - only memory 3 stores a first threshold value m 0 , descriptive of the start of the deadband , and a second threshold value m 1 descriptive of the termination of the deadband . each of the first and second threshold values m 0 and m 1 may be represented by the different number of steps to which the stepper motor has been driven stepwise . referring now to fig2 for the discussion of the details of the peristaltic infusion pump assembly 60 , the pump assembly 60 shown therein is generally similar to that shown in and discussed with reference to fig7 in that the both include the plurality of the cam lobes 63a to 63h rigid on the drive shaft 62 and the plurality of the fingers 64a to 64h operatively positioned between the arms ca and cb and adapted to be sequentially driven in the direction perpendicular to the drive shaft 62 between retracted and projected positions to form a moving zone of occlusion along the infusion tubing 61 in cooperation with the backup plate 68 . however , the peristaltic pump assembly 60 shown in fig2 differs from that shown in fig7 in that , for mounting of a sensor unit as will be described later , a generally c - shaped bracket b of one - piece construction having upper and lower bracket arms ba and bb and a bridge bc connecting the bracket arms ba and bb together is employed while the support arms ca and cb are rigidly secured to , or otherwise formed integrally with , the bridge bc of the c - shaped bracket b so as to extend parallel to the adjacent bracket arms ba and bb . it is to be noted that , if the bracket arms ba and bb are so designed as to have respective bearings for the support of the drive shaft 62 and the space between the bracket arms ba and bb is chosen to be of a size sufficient to operatively accommodate the fingers 64a to 64h together with the cam lobes 63a to 63h , the use of the upper and lower support arms ca and cb may be dispensed with . in any event , the peristaltic infusion pump assembly of the construction so far described is well known and , therefore , no further detail thereof will be reiterated for the sake of brevity . rigidly mounted on the drive shaft 62 and positioned on one side of the bracket arm ba remote from the stack of the fingers 64a to 64h is a rotary disc 65 supported for rotation together with the drive shaft 62 . as best shown in fig3 the rotary disc 65 has its outer peripheral portion formed with a plurality of , for example , twelve , slits 75 that are circumferentially equally spaced from each other about the axis of rotation thereof , i . e ., the drive shaft 62 , one of said slits 75 being , as indicated by 75a , of a width greater than that of any one of the remaining slits 75 . this rotary disc 65 also has a reference slit 77 defined therein in the form of an aperture at a location radially inwardly of one of the slits 75 which is positioned on a trailing side of the larger width slit 75a with respect to the direction thereof as indicated by the arrow . this reference slit 77 is utilized to define a reference position of the rotary disc 65 . the sensor unit 66 mounted atop the bracket arm ba as shown in fig2 forms a part of the motor drive detector 11 shown in fig1 and includes a generally c - shaped casing having a pair of spaced arms carrying a light emitting element 67 and a light receiving element 68 , respectively . the light emitting element 67 and the light receiving element 68 are positioned and supported in face - to - face relationship with each other on respective sides of the path of movement of the slits in the rotary disc 65 . thus , it will readily be seen that , during each complete rotation of the rotary disc 65 together with the drive shaft 62 , the sensor unit 66 detects a passage of rays of light from the light emitting element 67 towards the light receiving element 68 through the slits 75 and 75a and 77 and provides the central processing unit 1 with a signal indicative of the passage of the rays of light through the slits . in fig3 of the twelve slits 75 and 75a , the successive four slits 75 are shown as corresponding to the deadband while the remaining slits 75 and 75a are shown as corresponding to the liveband . the central processing unit 1 shown in fig1 applies a pulse signal through the motor drive circuit 9 to the pump drive unit 10 to drive the stepper motor . as the stepper motor is so driven , the drive shaft 62 shown in fig2 is driven in one direction about its own longitudinal axis thereby sequentially driving the fingers 64a to 64h in the manner as hereinbefore discussed to deliver the medical solution through that portion of the infusion tubing 61 . as is well known to those skilled in the art , during the rotation of the drive shaft 62 in one direction , the liveband and the deadband repeatedly alternate each other . the motor drive detector 11 outputs an interruption signal to the central processing unit 1 when rotary disc 65 being rotated together with the drive shaft 62 comes to a predetermined position , that is , when the sensor unit 66 detects the passage of light through the reference slit 77 in the rotary disc 65 . the central processing unit 1 then refers to the number of pulses outputted to the pump drive unit 10 to determine whether the liveband is in progress or whether the deadband is in progress . once the liveband is determined in progress , the central processing unit executes a sampling of an output signal from the bubble detector 13 cyclically at predetermined equal intervals to detect the presence of a bubble of a size greater than a predetermined bubble size . fig5 ( a ) and 5 ( b ) illustrate a condition in which the deadband period starts when the bubble in the infusion tubing 61 comes to a position intercepting the bubble detector 13 and a condition in which the bubble remains in position to intercept the bubble detector 13 after the subsequent passage of a predetermined time t while the deadband is in progress , respectively . accordingly , if the sampling of the output signal from the bubble detector 13 is continued during this deadband period , there is the possibility that the presence of bubbles of a size not greater than the predetermined bubble size may be detected . fig4 ( a ) and 4 ( b ) illustrates the passage of the bubble through the infusion tubing 61 across the bubble detector 13 after the predetermined time t while the liveband is in progress . by sampling the output signal generated from the bubble detector 13 during the liveband period , the presence of the bubble of a size greater than the predetermined bubble size can be accurately detected . the sequence of sampling performed by the central processing unit 1 will now be described with reference to the flowcharts shown in fig6 ( a ) to 6 ( c ). when the interruption signal is applied from the motor drive detector 11 to the central processing unit 1 , the latter executes an interruption flow shown in fig6 ( b ). by this interruption flow of fig6 ( b ), the motor stepped number m stored in the random access memory 2 is initialized ( i . e ., cleared ) to zero at step s101 . this central processing unit 1 also executes another interruption flow shown in fig6 ( c ) when the timing comes at which the pulse is to be outputted to the motor drive circuit 9 . by this interruption flow of fig6 ( c ), the motor stepped number m stored in the random access memory 2 is incremented by one at step s201 , followed by step s202 at which the output pulse from the central processing unit 1 is applied to the motor drive circuit 9 . the central processing unit 1 makes a decision at step s1 to determine if the stepper motor is being rotated . if a result of decision at step s1 indicates that the stepper motor is being rotated , the program flow goes to step s2 at which another decision is made to determine if the motor stepped number m is equal to or greater than the first threshold value m 0 stored in the read - only memory 3 . if a result of decision at step s2 indicates that the motor stepped number m is smaller than the threshold value m 0 signifying that the stepper motor is being driven during the liveband period , the program flow goes to step s4 . on the other hand , if the result of decision at step s2 indicates that the motor stepped number m is equal to or greater than the threshold value m 0 signifying that the stepper motor is being driven during the deadband period , the program flow goes to a further decision step s3 at which a decision is made to determine if the motor stepped number m is equal to or smaller than the second threshold value m 1 stored in the read - only memory 3 . if a result of decision at step s3 indicates that the motor stepped number m is equal to or smaller than the second threshold value signifying that the stepper motor is being driven during the deadband period , the program flow terminates with no sampling of the output signal from the bubble detector 13 being carried out . on the other hand , if the result of decision at step s3 indicates that the motor stepped number m is greater than the second threshold value m 1 signifying that the stepper motor is being driven during the liveband period , the program flow goes to step s4 at which a decision is made to determine if the time has come to perform the sampling of the output signal from the bubble detector 13 . if a result of decision at step s4 indicates that it is not the timing for the execution of the sampling , the program flow terminates , but if the result of decision at step s4 indicates that it is the timing for the execution of the sampling , the sampling is performed by the central processing unit 1 at step s5 to detect the presence or absence of a bubble in the infusion tubing 61 , followed by step s6 at which a decision is made to determine if the infusion tubing 61 contains the bubble . in the event that a result of decision at step s6 indicates that the infusion tubing 61 contains the bubble , the program flow goes to step s7 at which not only is the stepper motor brought to a halt , but the warning / display indicator 4 , the indicator lamp 6 and the alarm drive circuit 8 are also energized to call the attention of the attendant physician or nurse that the infusion tubing 61 contains the bubble . on the other hand , if the result of decision at step s6 indicates that no bubble is found in the infusion tubing 61 , the program flow terminates immediately . as hereinabove described , the central processing unit 1 refers to the motor stepped number to determine whether the liveband is in progress or whether the deadband is in progress and executes the sampling of the output signal from the bubble detector 13 only during the liveband period to detect the presence in the infusion tubing 61 of the bubble of a size greater than the predetermined bubble size . therefore , an unnecessary sampling of the output signal from the bubble detector does not take place and , also , no variation occurs in size of the bubble detected by the bubble detector . from the foregoing description of the preferred embodiment of the present invention , it is clear that the sampling of the output from the bubble detector is carried out only during a first period from the timing at which one of the finger members closest to the source of the medical solution squeezes that portion of the infusion tubing to the timing at which one of the finger members closest to the destination squeezes that portion of the infusion tubing , and is not carried out during a second period from the timing at which one of the finger members closest to the destination squeezes that portion of the infusion tubing to the timing at which one of the finger members squeezes that portion of the infusion tubing . therefore , only during a period in which the medical solution actually flows through the infusion tubing , the output signal generated from the bubble detector is sampled . this ensures an elimination of an unnecessary sampling of the output signal from the bubble detector and , also , that of any possible variation occurring in size of the bubble detected by the bubble detector . also , the drive means may comprise a stepper motor , a drive shaft drivingly coupled with the stepper motor and a cam lobe for each of the finger members . the respective cam lobe is mounted on the drive shaft for rotation together therewith for translating a rotary motion of the drive shaft into a linear movement performed by the associated finger member . in this system , the first and second periods can easily be determined in dependence on the number of pulses used to drive the stepper motor . furthermore , the drive means may also comprise a rotary disc mounted on the drive shaft for rotation together therewith and having a peripheral portion formed with a plurality of circumferentially spaced slits . in this case , the use may be made of a sensor unit for detecting the angle of rotation of the rotary disc in terms of the number of the slits which have passed across the sensor unit , so that the first and second periods can easily be determined in dependence on the number of the slits detected by the sensor unit as having passed across the sensor unit . although the present invention has fully been described in connection with the various embodiments thereof with reference to the accompanying drawings , it is to be noted that various changes and modifications are apparent to those skilled in the art . by way of example , although in the foregoing embodiment the use has been made of the first and second threshold values m 0 and m 1 which are stored in the read - only memory 3 and with which the motor stepped number m outputted from the central processing unit 1 is compared to determine the liveband and the deadband , the present invention may not be limited thereto and arrangement may be made to determine the liveband and the deadband by comparing the number of the slits 75 and 75a which pass across the sensor unit 66 with the first and second threshold values m 0 and m 1 . also , while it has been described that the presence of the bubble of a size greater than the predetermined bubble size is detected by the sampling performed by the central processing unit 13 of the output signal from the bubble detector 13 , it is possible to count the number of bubbles of a size greater than the predetermined bubble size that are found per unitary time . accordingly , such changes and modifications are to be understood as included within the scope of the present invention as defined by the appended claims , unless they depart therefrom .
a sampling method for sampling an output emerging from a bubble detector used in an infusion device of a type including an resilient infusion tubing , a peristaltic pump including a plurality of juxtaposed finger members for sequentially squeezing a portion of the infusion tubing while producing at least one moving zone of occlusion along the infusion tubing for infusing a medical solution intravenouly , a stepper motor for driving the peristaltic pump . the sampling of an output from the bubble detector is carried out only during a first period from the timing at which a most upstream member of the finger members squeezes that portion of the infusion tubing to the timing at which a most downstream member of the finger members closest to the destination subsequently squeezes that portion of the infusion tubing , but not during a second period from the timing at which the most downstream finger member squeezes that portion of the infusion tubing to the timing at which the most upstream finger member squeezes that portion of the infusion tubing .