an embodiment of the present invention will be described in detail below with reference to the accompanying drawings . fig1 is a block diagram showing an embodiment of an electronic clinical sphygmomanometer according to the present invention . in the figure , a cuff , denoted by 1 , is adapted to be wound around the upper arm of a person so as to constrict the artery . a rubber tube , denoted by 2 , constitutes an inlet / outlet passage through which pressurized air is fed to , and discharged from , the cuff 1 . a pump , denoted by 3 , serves to feed pressurized air into the cuff 1 . a high - speed exhaust valve ( hsev ), denoted by 4 , serves to exhaust air from the cuff 1 at high speed . a slow - speed exhaust valve ( lsev ), denoted by 5 , serves to decrease the pressure in the cuff 1 at a constant rate ( for example , 2 - 3 mmhg / second ). a pressure sensor ( p - s ), denoted by 6 , serves to detect the pressure in the cuff 1 and output a cuff - pressure signal p . an amplifier ( amp ), denoted by 7 , serves to amplify the cuff - pressure signal p . a filter amplifier ( f - amp ), denoted by 8 , serves to extract a pulse - wave signal component ap from the cuff - pressure signal p and amplify the extracted signal component . an a / d converter ( a / d ) is denoted by 9 , and this serves to convert either the cuff - pressure signal p or the pulse - wave signal ap into digital data . a microphone , denoted by 10 , serves to pick up a korotkoff - sound signal k . a filter comparator ( f - cmp ) 11 is arranged to efficiently pass a korotkoff - sound signal at a pressure close to the diastolic blood pressure ( for example , a signal component which ranges from 10 hz to 80 hz ), to compare the korotkoff - sound signal with a predetermined threshold value and to output a pulse signal kl representing the result of this comparison . a single - shot circuit ( ss ), denoted by 12 , is arranged to output a pulse signal klc of fixed pulse width ( e . g ., 40 μs ) in response to the trailing edge of the kl signal . a filter comparator ( f - cmp ) is denoted by 13 , and this is arranged to efficiently pass a korotkoff - sound signal at a pressure close to the systolic blood pressure ( for example , a signal component which ranges from 10 hz to 60 hz ), to compare the korotkoff - sound signal with a predetermined threshold value and to output a pulse signal kh representing the result of this comparison . a single - shot circuit ( ss ), denoted by 14 , is arranged to output a pulse signal khc of fixed pulse width ( e . g ., 40 μs ) in response to the leading edge of the kh signal . a central processing unit ( cpu ), denoted by 15 , is arranged to execute the main control of the electronic clinical sphygmomanometer . the cpu 15 is provided with interruption inputs i 1 , i 2 and i 3 . a rom is denoted by 16 and a control program to be executed by the cpu 15 , for example , a control program such as that shown in fig2 and 4 is stored in the rom 16 . a ram is denoted by 17 , and is used as a work area by the cpu 15 . a timer ( tm ) is denoted by 15 - 1 , and is arranged to measure the duration of a predetermined time period ( for example , 60 ms ) until it reaches a time - out state . a liquid - crystal display ( lcd ), denoted by 18 , serves to display the systolic blood pressure ( sys ), the diastolic blood pressure ( dia ), error information and so on . a buzzer ( bz ), denoted by 19 , serves to inform a user of , for example , the completion of measurement . a measurement start switch ( sw ) is denoted by 20 , and the user can actuate the switch 20 to command the sphygmomanometer to start a measurement operation . fig2 is a flow chart of the control provided over the measurement of blood pressure in the embodiment . when electrical power is supplied to the present apparatus , this control process is started . in step s1 , the high - speed exhaust valve 4 is opened and , in step s2 , the process waits for the cuff pressure p to reach zero . when the cuff pressure p reaches zero , the high - speed exhaust valve 4 is closed in step s3 . in step s4 , the process waits for the measurement start switch ( sw ) 20 to be pressed . when the switch ( sw ) 20 is pressed , driving of the pump 3 is started in step s5 . in step s6 , the process waits for the cuff pressure p to reach a set value ( for example , 140 to 150 mmhg ). when the cuff pressure p reaches the set value , the driving of the pump 3 is stopped in step s7 . in step s8 , the slow - speed exhaust valve 5 is opened . in this manner , the cuff pressure p is made to decrease at a constant rate ( 2 - 3 mmhg / second ) and , during this time , the data sampling shown in fig3 and 4 ( a ) to 4 ( c ) is executed . in step s9 , it is determined whether an end - of - measurement flag endf is set to &# 34 ; 1 &# 34 ;. after the systolic blood pressure sys and the diastolic blood pressure dia have been measured , the end - of - measurement flag endf is set to &# 34 ; 1 &# 34 ;. if the end - of - measurement flag endf is set to &# 34 ; 1 &# 34 ;, this indicates that the end of the measurement is normal . then , the process proceeds to step s12 , where the diastolic blood pressure is displayed on the lcd 18 . incidentally , the systolic blood pressure sys is displayed at a previous time . if the end - of - measurement flag endf is not set to &# 34 ; 1 &# 34 ;, the process proceeds to step s10 , where it is determined whether or not the cuff pressure p is lower than a predetermined low pressure l ( for example , 20 mmhg ). if the cuff pressure p is not lower than the predetermined pressure l , it is determined that the cuff pressure p is within a measurable range , and the flow returns to step s9 . if the cuff pressure p is lower than the predetermined pressure l , it is determined that the cuff pressure p has fallen below the measurable range , and the process proceeds to step s11 . in step s11 , the characters &# 34 ; error &# 34 ; are displayed on the lcd 18 . in step s13 , the cpu 15 transmits a tone signal tone to the buzzer 19 . the tone signal tone transmitted for the case of a normal end differs from that transmitted for the case of an abnormal end . in step s14 , the slow - speed exhaust valve 5 is closed , and the process returns to step s1 . in steps s1 to s3 , the air remaining in the cuff 1 is exhausted at high speed and , in step s4 , the process waits for the next measurement to be started . fig3 is a flow chart of data sampling executed in the embodiment . this process is started after step s8 of fig2 has been executed . in steps s21 to s25 , a sequence of initialization steps is executed . more specifically , in step s21 , interruption - enable flags i 1 to i 3 ( enf ) for the respective interruption routines i 1 , i 2 , and i 3 are all reset to an interruption - unable state ( 0 ). in step s22 , the contents of both a systolic - blood - pressure register sysr and a diastolic - blood - pressure register diar are cleared . in step s23 , a pulse - wave flag aupf is cleared which indicates whether the level of the pulse - wave signal ap exceeds a return - line level t h . in step s24 , the end - of - systolic - measurement flag sysf and the detection - of - diastolic flag diaf are cleared . in step s25 , the end - of - measurement flag endf is cleared . in step s26 , the pulse - wave signal ap is sampled . in step s27 , it is determined whether the pulse - wave signal ap is higher than the return - line level t h . for example , if the pulse - wave signal ap provided at the input of the a / d converter 9 ranges between 0 and 3 volts , the return - line level t h could be set at 1 volt . if the level of the pulse - wave signal ap is higher than the return - line level t h , it is determined in step s28 whether or not the value of the pulse - wave flag aupf is &# 34 ; 0 &# 34 ;. if it is determined , in step s28 , that the pulse - wave flag aupf has the value 0 , this indicates that the level of the pulse - wave signal ap has exceeded the return - line level t h . the process then proceeds to step s29 , in which &# 34 ; 1 &# 34 ; is set in the pulse - wave flag aupf . in step s30 , it is determined whether or not the value of an end - of - systolic - measurement flag sysf is &# 34 ; 1 &# 34 ;. if the value of the end - of - systolic - measurement flag sysf is not &# 34 ; 1 &# 34 ;, this indicates that the systolic blood pressure is being measured . therefore , in step s31 , &# 34 ; 1 &# 34 ; is set in the interruption - enable flag i 1 enf so that interruption based on the signal khc is enabled . the time interval which elapses until this flag i 1 enf is reset from &# 34 ; 1 &# 34 ; to &# 34 ; 0 &# 34 ; corresponds to the duration of a pulse - wave gate signal used for determining the systolic blood pressure . if it is determined , in step s30 , that the value of the end - of - systolic - measurement flag sysf is &# 34 ; 1 &# 34 ;, this indicates that the diastolic blood pressure is being measured . therefore , in step s32 , &# 34 ; 1 &# 34 ; is set in the interruption - enable flag i 2 enf so that interruption based on the signal klc is enabled . the time interval which elapses until this flag i 2 enf is reset from &# 34 ; 1 &# 34 ; to &# 34 ; 0 &# 34 ; corresponds to the duration of a pulse - wave gate signal used for determining the diastolic blood pressure . if it is determined , in step s28 , that the value of the pulse - wave flag aupf is not &# 34 ; 0 &# 34 ;, this indicates that the level of the pulse - wave signal ap already exceeds the return - line level t h . the process then merely continues the sampling of the pulse - wave signal ap , waiting for the interruption routine i 1 or i 2 to be executed . if it is determined , in step s27 , that the level of the pulse - wave signal ap is not higher than the return - line level t h , it is determined in step s33 whether or not the value of the pulse - wave flag aupf is &# 34 ; 1 &# 34 ;. if it is determined that the pulse - wave flag aupf has the value 1 , this indicates that the level of the pulse - wave signal ap has dropped below the return - line level t h . the process proceeds to step s34 , in which &# 34 ; 0 &# 34 ; is set in the pulse - wave flag aupf . in step s35 , it is determined whether or not the value of the interruption - enable flag i 2 enf is &# 34 ; 1 &# 34 ;. if the value of the interruption - enable flag i 2 enf is not &# 34 ; 1 &# 34 ;, this indicates that the level of the pulse - wave signal ap has dropped below the return - line level t h when the value of the interruption - enable flag i 1 enf is &# 34 ; 1 &# 34 ;. this fact means that a signal khc has not yet been generated during the period in which the value of the interruption - enable flag i 1 enf is &# 34 ; 1 &# 34 ;. the flow then proceeds to step s36 , where the timer 15 - 1 ( for measuring , e . g ., 60 ms ) is started to extend the duration of a pulse - wave gate signal used for determining the systolic blood pressure . in step s37 , &# 34 ; 1 &# 34 ; is set in the timer - interruption - enable flag i 3 enf so that timer interruption is enabled . if it is determined , in step s35 , that the value of the interruption - enable flag i 2 enf is &# 34 ; 1 &# 34 ;, as in the case of the interruption - enable flag i 1 enf mentioned above , it means that the signal klc has not been generated during the period in which the value of the interruption - enable flag i 2 enf is &# 34 ; 1 &# 34 ;. in this embodiment , in such a case , the duration of the pulse - wave gate signal is not extended , and the process proceeds to step s38 , where &# 34 ; 0 &# 34 ; is set in the interruption - enable flag i 2 enf . in step s39 , it is determined whether the value of the detection - of - diastolic flag diaf is &# 34 ; 1 &# 34 ;. if the value of the detection - of - diastolic flag diaf is not &# 34 ; 1 &# 34 ;, this means that no signal klc has been sampled within the duration of the pulse - wave gate . therefore , the process returns to step s26 . if the value of the detection - of - diastolic flag diaf is &# 34 ; 1 &# 34 ;, this means that at least one signal klc has been sampled within the duration of the pulse - wave gate signal used for determining the diastolic blood pressure . the process , therefore , proceeds to step s40 , where it is determined whether the state of no signal klc being generated continues subsequently over a period corresponding to two beats during the period in which the interruption - enable flag i 2 enf is &# 34 ; 1 &# 34 ;. if such a state does not occur during the period corresponding to two beats , the process returns to step s26 . if this state occurs during such a period , it means that the end of the data sampling is normal . then , the process proceeds to step s41 , where &# 34 ; 1 &# 34 ; is set in the end - of - measurement flag endf . if it is determined , in step s33 , that the value of the pulse - wave flag aupf is not &# 34 ; 1 &# 34 ;, this indicates that the level of the pulse - wave signal ap has already fallen below the return - line level t h , and the process merely continues the sampling of the pulse - wave signal ap , waiting for the level of the pulse - wave signal ap to exceed the return - line level t h . fig4 ( a ) to 4 ( c ) are flow charts of the interruption routines i 1 , i 2 , and i 3 , respectively . if a signal khc is generated during the period in which the value of the interruption - enable flag i 1 enf is &# 34 ; 1 &# 34 ;, the process enters the interruption routine i 1 shown in fig4 ( a ). in step s51 , &# 34 ; 0 &# 34 ; is set in the interruption - enable flag i 1 enf in order to prevent the interruption i 1 from occurring repeatedly . since the value of the interruption - enable flag i 3 enf may be &# 34 ; 1 &# 34 ; at this point in time , &# 34 ; 0 &# 34 ; is also set in the interruption - enable flag i 3 enf . in step s52 , the cuff pressure p at the time of generation of the signal khc is sampled , and data on the cuff - pressure p are stored in systolic - blood - pressure registers sysr ( n : n = 1 , 2 , 3 ). the first data is stored in the register sysr ( 1 ). subsequently , the second and third data are likewise stored in the registers sysr ( 2 ) and ( 3 ), respectively , so that the data corresponding to pulse waves for three beats are stored . in step s53 , it is determined whether or not the data on the cuff pressures p for three pulse - wave beats have been stored . if it is determined that the data for three beats have not yet been stored , the process returns . if the data for three beats have been stored , this means that the data required to confirm the systolic blood pressure has been sampled . accordingly , in step s54 , &# 34 ; 1 &# 34 ; is set in the end - of - systolic - measurement flag sysf and , in step s55 , the data which represents the blood pressure corresponding to the first beat is read from the systolic - blood - pressure register sysr ( 1 ) and is in turn displayed on the lcd 18 as the systolic blood pressure sys . if a signal klc is generated during the period in which the value of the interruption - enable flag i 2 enf is &# 34 ; 1 &# 34 ;, the process enters the interruption routine i 2 shown in fig4 ( b ). in step s61 , &# 34 ; 0 &# 34 ; is set in the interruption - enable flag i 2 enf in order to prevent the interruption i 2 from occurring repeatedly . in step s62 , the cuff pressure p at the time of generation of the signal klc is sampled , and data on the cuff - pressure p is stored in the diastolic - blood - pressure register diar . in this manner , the contents of the diastolic - presssure register diar are rewritten with new sampled data . since data has been detected which may represent the diastolic blood pressure , in step s63 , &# 34 ; 1 &# 34 ; is set in the end of diastolic - blood - pressure measurement flag diaf . if a time - out signal is generated during the period in which the value of the interruption - enable flag i 3 enf is &# 34 ; 1 &# 34 ;, the process enters the interuption routine i 3 shown in fig4 ( c ). in step s71 , &# 34 ; 0 &# 34 ; is set in the interruption - enable flag i 3 enf . in step s72 , &# 34 ; 0 &# 34 ; is also set in the interruption - enable flag i 1 enf since the timer 15 - 1 has reached the time - out state ( since 60 ms have elapsed ), thereby closing the pulse - wave gate . fig5 is a timing chart of the data sampling executed in the embodiment . in the figure , a signal kh &# 39 ; is a signal which has passed through the filter comparator ( f - cmp ) 13 , and a signal kl &# 39 ; is a signal which has passed through the filter comparator ( f - cmp ) 11 . the left half of fig5 shows the states of respective signals during the period of measurement of the systolic blood pressure ( the value of the flag sysf =&# 34 ; 0 &# 34 ;). as shown in this left half , a pulse - wave gate signal kg ( the value of the flag i 1 enf =&# 34 ; 1 &# 34 ;) is reset if the signal khc is generated during the duration of the pulse - wave gate signal kh . if no signal khc is generated while kg is high , the duration of the pulse - wave gate signal kg is extended by 60 ms from the moment that the level of the pulse - wave signal ap falls below the return - line level t h . this extension is provided in order to accommodate the phase relationship between the korotkoff - sound signal khc and the pusle - wave signal ap corresponding to a pressure close to the systolic blood pressure . the right half of fig5 shows the states of the respective signals during the period of measurement of the diastolic blood pressure ( the value of the flag sysf =&# 34 ; 1 &# 34 ;). as shown in this right half , the pulse - wave gate signal kg ( the value of the flag i 2 enf =&# 34 ; 1 &# 34 ;) is reset if the signal klc is generated during the duration of the pulse - wave gate signal kg . if no signal klc is generated while kg is high , the pulse - wave gate signal kg is reset at the time that the level of the pulse - wave signal ap falls below the return - line level t h . this setting is likewise intended to accommodate the phase relationship between the korotkoff - sound signal klc and the pulse - wave signal ap corresponding to a pressure close to the diastolic blood pressure . although in the above - described embodiment the pulse - wave signal ap is separated and extracted from the detected cuff - pressure signal p , the method of picking up the pulse - wave signal ap is not limited to the above - described one . as another example , a microphone may be used to pick up a heart - beat signal and this heart - beat signal may be used as the pulse - wave signal ap . the above embodiment is explained with reference to the example in which the systolic blood pressure sys and the diastolic blood pressure dia are measured during the step of decreasing the cuff pressure while exhausting air from the cuff 1 at slow speeds , but this example is not construed as a limiting one . as another example , the diastolic blood pressure dia and the systolic blood pressure sys may be measured during the step of increasing the cuff pressure at a fixed speed . in this case , the pressure measured when a korotkoff - sound signal first appears corresponds to the diastolic blood pressure dia , while the pressure measured when the korotkoff - sound signal disappears corresponds to the systolic blood pressure sys . as described above , in accordance with the present invention , since a pulse - wave gate is always accurately opened with respect to the duration of a korotkoff - sound signal , it is possible to effect highly reliable measurement of blood pressure . as many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof , it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims .
in an electronic clinical sphygmomamometer of the type which measures blood pressure on the basis of a korotkoff - sound signal in a pulse - wave gate signal , the level of a detected pulse - wave signal is compared with a predetermined threshold level to form a pulse - wave gate signal the duration of which corresponds to a period over which the level of the pulse - wave signal is higher than the predetermined threshold level . if no korotkoff - sound detection signal is provided in the pulse - wave gate signal thus formed , the duration of the pulse - wave gate signal is extended by a predetermined time period . the thus - extended duration of the pulse - wave period required to measure the systatic blood pressure gate signal serves as the measurement .