Ambulatory recorder having volatile and non-volatile memories

Information

  • Patent Grant
  • 6128520
  • Patent Number
    6,128,520
  • Date Filed
    Thursday, August 6, 1998
    26 years ago
  • Date Issued
    Tuesday, October 3, 2000
    24 years ago
  • Inventors
  • Original Assignees
  • Examiners
    • Winakur; Eric F.
    Agents
    • Woods; Thomas F.
    • Jaro; Michael J.
    • Patton; Harold
Abstract
An ambulatory recorder having a volatile and a non-volatile memory is described. The recorder actively manages the transfer of the data in the volatile to the non-volatile memory. In particular, the sampling frequency and number of channels to be sampled are monitored. These parameters, along with the total buffer size available, are used to determine the final complete data set which can be stored in the buffer. Thereafter, the contents of the buffer are transferred to the non-volatile memory. In such a manner the recorder avoids filling the buffer in the middle of a sampling tick, in which case the remaining data to be sampled would be lost.
Description

FIELD OF THE INVENTION
The present invention relates to ambulatory recording for medical and especially diagnostic purposes, and particularly to an ambulatory recorder having a volatile and a non-volatile memory.
BACKGROUND OF THE INVENTION
Various physiologic signals are often recorded and analyzed. These signals may included digestive pH, various digestive motility and pressure signals, EEG and EMG, signals, and so on.
Typically, physicians require the concurrent recording a variety of physiologic signals. For example, gastric pH is often collected at the same time as pressure. Through the concurrent collection of various parameters the physician may better understand the patient's condition.
Ambulatory recording and recorders are widely used to collect such data. Such devices include the Digitrapper Mk III.TM. ambulatory recorder from Synectics Medical AB, the GastroScan II.TM. from Medical Instruments Corporation, and the SuperLogger.TM. from Sandhill Scientific. These types of devices make it possible for patients to remain at home, or at least to be ambulant in a hospital setting while physiological data is recorded. Typically the devices comprise a lightweight recorder in which the desired physiological data signals are temporarily stored and later downloaded for future analysis.
Many types of physiological data may be recorded, including ECG (Electrocardiogram) data, EEG (Electroencephalogram) data or pH and pressure data (Motility) in the gastrointestinal tract. Preferably such a recorder should be able to record among a programmable number of channels at a variety of programmable frequencies.
Among the problems with current recorders, however, is that of energy usage. Such recorders, because they must be ambulatory, are battery powered. Thus an ambulatory medical recorder must minimize energy usage while performing almost constant sampling across a variable number of channels at one or more frequencies.
One approach to limit power consumption, while still permitting an enhanced graphical user interface, is to equip the device with two microprocessors. A first, real time processor for sampling, which operates with a relatively low current drain, and a second, non time processor for permitting an enhanced graphical user interface are employed.
Such a device, comprising a real time sampling processor, volatile memory, and a non real time operating system processor, and a non-volatile memory must, however periodically transfer the data collected in the volatile memory to the non-volatile memory.
Typically such a device samples and collects data during specific processor power on or "awake" cycles. One problem which may arise during such data transfer is when the device samples along several channels and the volatile memory becomes filled before all the channels to be sampled at a particular time are actually sampled. That is, if a memory buffer is filled during a tick before all the channels are sampled, then the remaining data which should be collected is not collected and is thus lost.
SUMMARY OF THE INVENTION
An ambulatory recorder having a volatile and a non-volatile memory is described. The recorder actively manages the transfer of the data in the volatile to the non-volatile memory. In particular, the sampling frequency and number of channels to be sampled are monitored. These parameters, along with the total buffer size available, are used to determine the final complete data set which can be stored in the buffer. Thereafter, the contents of the buffer are transferred to the non volatile memory. In such a manner the recorder avoids filling the buffer in the middle of a sampling tick, in which case the remaining data to be sampled would be lost.





BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1A depicts an ambulatory recorder of the present invention.
FIG. 1B illustrates a further manner in which the recorder 1 may also establish an infra red data communication link with a host PC.
FIG. 2 is a block diagram of the data recording system shown in FIG. 1B.
FIG. 3A illustrates a buffer being filled in the middle of a tick.
FIG. 3B further illustrates how to avoid the overflow:
FIG. 3C further illustrates the memory filling and availability during each processor wake-up cycle or tick.
FIG. 4 depicts the general steps used to manage the memory buffer size such that there will always be room for the complete set of data samples scheduled to be collected during the next tick cycle.
FIG. 5 illustrates how to calculate the number of tick max per buffer.
FIG. 6 is a back view of the recorder.
FIG. 7 is a side view of the recorder





The FIGS. are not necessarily to scale.
DETAILED DESCRIPTION OF THE DRAWINGS
FIG. 1A depicts an ambulatory recorder of the present invention. As seen, ambulatory recorder 1 of the present invention may be carried by a patient. In the preferred embodiment, the recorder may be either carried through a mounting in the back of the recorder enclosure which fastens to a patient's belt 5, or the same mounting may be coupled to be carried using a shoulder harness (not shown). As seen, recorder is coupled to the patient 4 through one or more sensing catheters 2. Sensing catheters may be positioned in any area of the patient's body from which data is to be sensed, including the esophagus, as depicted in this FIG. It should be noted that the ambulatory recorder of the present invention may be used to collect many or various types of data including gastrointestinal data such as pH and pressure data, neurological, and neuromuscular, EEG or EMG data.
Among the various sensing catheters which may be coupled to the device are manometry catheters and pH testing catheters, including the Synectics Medical AB, Stockholm, Sweden Model G 91-9 series of Multi use pH catheters; Synectics Medical AB Model G 91-2 series of Multi use pH catheters with perfusion port; or the Zinectics Inc., Salt Lake City, Utah disposable 24 pH catheter Model series G91-6 or G 91-7. While a single catheter 2 is shown depicted in this figure, recorder further permits two separate sensors to be coupled to the device, as seen in FIG. 1B.
As further seen in this figure, the recorder may also communicate with a host PC 10 via an infra red data link facility through an IrDA connection 11, such as, a JETEYE ESI-57680 device available from Extended Systems, Inc., Boise, Id., which communicates with the recorder using the infra Red Data Association 1.1 Connection Protocol. As seen, infra red data connection establishes a communication link to infra red port 12 on recorder 1.
FIG. 1B illustrates a further manner in which the recorder 1 may also establish an infra red data communication link with a host PC. In particular, the infra red data communication data recorder may be established when the recorder is not worn by the patient. As discussed in more detail below, one of the advantages of the present invention is that the infra red data components and recorder case permit such a link to be established when the device is worn as shown in FIG. 1A or when the device is removed from the patient and positioned in proximity to mouse 11.
FIG. 2 is a block diagram of the data recording system shown in FIG. 1B. As seen, recorder 1 features a battery 20 which is coupled to the signal conditioning /data acquisition block driven by a real time processor 21. Battery 20 powers non-real time processor 22 that runs the application. As disclosed in more detail below, real time processor 21 is a low power processor which is used to sample data which is received from sensor input 23 by a sensor attached thereto (not shown in FIG. 2).
Sampling is achieved through the signal conditioning providing an excitation to the sensor coupled to sensor input 23. Such excitation voltage is often used to power and, thus, permit sensing to occur in a variety of different types of sensors, including pressure sensors, as is well known in the art. The sampling and sensing controls are provided by the real time processor 21. Real time processor also drives a LED indicator 25 to show the system is running even when the screen is off.
As further seen, this processor is coupled to second non-real time processor 22. Second processor 22 is provided primarily to perform those high processing operations associated with multitasking, graphical user interface, floating point calculation, Infra Red communication and long term memory storage. In particular, second processor is primarily provided to operate a Windows CE operating system as well as one or more embedded applications, as depicted. As further seen, this processor is coupled to audible buzzer 31 as well as keyboard controls 32, a screen 33 and non-volatile memory 30. Non-volatile memory provides a long term memory for the device such that data can be recorded and preserved, even if power is lost. In the preferred embodiment, keyboard controls processes a series of four push buttons, each of which provide one or more different types of system inputs, as provided by the Windows CE.TM. operating system, available from Microsoft Corporation, Redmond, Wash.
As further seen in this figure, recorder features an infra red port 35 to communicate with the host PC. As depicted in FIG. 1B, the infra red connection permits recorder 1 to receive and exchange data with host PC 10. Host PC, as seen, includes both a Windows 98.TM. operating system available from Microsoft Corporation, Redmond, Wash., as well as one or more host applications. Host applications permit the diagnosis of the recorded values.
In a preferred embodiment of the present invention, the real time processor 21 is a model PIC16LC67 IC from Microchip Technology Inc., Chandler, Ariz.; non-real time processor 22 is a model ElanSC400 IC from Advanced Micro Devices, Inc. Sunnyvale, Calif.; and non-volatile memory 30a is the model Minicard AMMCL004AWP from Advanced Micro Devices, Inc. Sunnyvale, Calif.
As discussed above, the recorder of the present invention operates by sampling data from real time processor 21. Real time processor 21 includes a buffer memory such as a volatile memory, or such as RAM which temporarily stores the sampled data sets collected during each microprocessor wake-up or tick cycle. Prior to the memory being filled, however, it is important that the memory buffer contents be transferred to non-volatile permanent memory for further future access and analysis.
Because the number of channels which are sampled as well as the frequencies at which each of these channels are sampled may be programmed, there are possible variations between the sizes of the data points collected during each processor wake-up cycle. As mentioned above, one of the problems which may occur is, prior to the memory buffer having its contents transferred to the non-volatile memory, the buffer itself can be filled within a processor wake-up cycle. At this point the remaining data to be sampled could be lost.
The present invention solves this problem by monitoring the memory size of the buffer along with the amount of samples to be collected during each specific tick or a sample cycle. In such a manner, the present invention permits the recorder to transfer and manage the memory buffer size such that there will always be room for the complete set of data samples scheduled to be collected during the next tick or sample cycle.
FIG. 3A illustrates a buffer being filled in the middle of a tick or sample cycle. As seen, memory has a maximum buffer size M. At tick 1 memory buffer has an amount of data stored into it. Equal amounts of data are stored during ticks 2 and 3. (Note, in this example, an unequal amount of data is collected at each tick, because of different sampling rates being employed although as can be appreciated equal amounts of data can be collected over various cycles in some cases). As seen, at tick 4, the memory had less capacity than the amount of data which was collected during the tick, i.e. the maximum buffer size M was exceeded prior to the full amount of data being collected during tick 4. As illustrated, this resulted in data being lost, i.e. not stored in the memory and, thus, not able to be stored in the non-volatile permanent memory for further analysis.
FIG. 3B further illustrates how to avoid the overflow: The real time processor needs to download its buffer after a completed sampling every 3 ticks. The buffer is therefore emptied before reaching its limit. The principle is to calculate the maximum number of ticks to complete before emptying the buffer that will assure that the buffer is never overflowed according to how many channels the device samples and according to the different frequencies. The number of maximum ticks is calculated before sampling is initiated and is used during the entire recording period. The advantage of calculating only once and not on the fly after each tick is that the microprocessor uses fewer computation cycles and therefore less energy.
FIG. 3C further illustrates the memory filling and availability during each processor wake-up cycle or tick. The reader should note the sampling channels and frequencies used in this illustration do not correspond with those used in FIGS. 3A and 3B, discussed above. As seen at tick 1, the processor samples along channels 1 and 2. At the beginning of the wake-up cycle no samples are stored in the memory and twelve spaces are available. After the tick is completed, two samples are stored in volatile memory and ten remaining spaces are available. During tick 2 sampling occurs along channels 1 and 4. During this tick two additional samples are collected and the number of samples in the volatile memory increases from two, at the beginning of the wake-up cycle, to four, at the end of the wake-up cycle. Concomitantly, the number of spaces available in the volatile memory decreases from ten, at the beginning of the wake-up cycle, to eight, at the end of the wake-up cycle. A continual increase in the number of samples in the volatile memory occurs through ticks 3, 4 and 5 with a concomitant decrease in the number of spaces available in the volatile memory, until, as seen, at the end of tick 5, the number of spaces available in volatile memory at the end of the wake-up cycle is one. As seen, this causes data loss during tick 6 (i.e., during tick 6 data from channels 1, 2 and 3 are lost). As seen, however, the number of samples in the volatile memory at the beginning of the wake-up cycle is eleven and only one space is available in the volatile memory at the beginning of the wake-up cycle. Thus, during tick 6 there is not enough space in the volatile memory to store all the samples which are desired. At this point, a memory overfill would be seen and some or all of the data to be collected in tick 6 would be lost.
FIG. 4 depicts the general steps used to manage the memory buffer size such that there will always be room for the complete set of data samples scheduled to be collected during the next tick cycle. As seen in step 51, the memory buffer size is calculated. Next, the recorder proceeds to block 52 and calculates the data per tick Next, the recorder proceeds to block 53 and samples data and stores it in the buffer memory. In block 54 the remaining free buffer memory is calculated. Next, at 55 a decision is made whether the remaining free buffer memory is less than the data before next scheduled tick. If it is, the recorder proceeds back to block 53 and samples the data and puts it in the memory. If, however, the remaining free buffer memory is less than the size of the data set before next scheduled tick, the recorder would proceed to block 56 and transfer the buffer memory to the non-volatile memory prior to again returning to block 53. In such a manner, the recorder is able to manage the buffer memory size so that there is always enough remaining free buffer memory to permit the next data set to be stored.
FIG. 5 illustrates how to calculate the number of maximum ticks per buffer. The initial condition is that every channel has been assigned a sampling frequency. For example, we can take 3 channels with channel 1 at 1/4 Hz, channel 2 at 1 Hz and channel 3 at 4 Hz. At 41, the device examines the frequencies at which sampling is to occur for every channel and calculates the lowest common frequency (4 Hz in our example). Next, at 42 the device sets or determinates respective tick count for each individual frequency. The tick count represents the number of ticks to wait before sampling a channel. A value of 1 means that a channel is to be sampled every tick, a value of 2 means a channel is sampled every 2 ticks, and so on. In our example, tick count (Nb Tick) n for channel 1 is 16, for channel 2 is 4 and for channel 3 is 1.
Step 43 calculates the Number of Ticks to fill the buffer (NbTicksMax) by:
NbTicksMax=M/.SIGMA..sub.n=1 to 3 (1/NbTick.sub.n),
where
M represents the maximum number of samples that the buffer can contain. In our example, we let M equal to 100, thus producing.
.SIGMA..sub.n=1 to 3 (1/NTick.sub.n)=1/16+1/4+1=1.3125,
and thus
NbTicksMax=100/1.3125=n6.19
The device truncates this value and thus only takes the integer part (76) to be sure we will never download during a tick and the buffer will never overflow.
FIG. 6 is a back view of the recorder. As seen, recorder 1 features a belt loop 174 which may be used to mount the recorder to a patient using either the patient's belt or the shoulder strap.
FIG. 7 is a side view of recorder 1. As further seen in this view, housing 155 features a pair of sensor inputs 175 and 176. In the preferred embodiment, input 175 is for a pH catheter while input 176 is for a pressure measuring catheter.
Claims
  • 1. An ambulatory recorder, comprising:
  • a sensor for sensing at least one physiologic parameter from a patient;
  • a first real-time processor to perform at least a first process on the at least one physiologic parameter and create a first data set, the first processor further comprising a first volatile buffer memory being suitable to store the first data set, the first volatile buffer memory having a memory limit;
  • a second non-real time processor to perform at least a second process on the first data set to yield a second data set, the first processor being coupled to the second processor so that the first data set may be transferred to the second processor from the first processor;
  • a second non-volatile memory coupled to the second processor, the second memory being suitable for storing the second data set; and
  • means for managing the amount of data stored in the first volatile buffer memory so that the first volatile buffer memory limit cannot be reached.
  • 2. An ambulatory recorder according to claim 1, further comprising means for calculating the volatile memory buffer size limit.
  • 3. An ambulatory recorder according to claim 1, further comprising means for calculating an amount of remaining free volatile buffer memory.
  • 4. An ambulatory recorder according to claim 3, further comprising means for determining whether the amount of remaining free volatile buffer memory is less than the amount of data to be sampled during a subsequent sample cycle.
  • 5. An ambulatory recorder according to claim 4, further comprising means for transferring the first data set from the volatile buffer memory to the non-volatile memory.
  • 6. An ambulatory recorder according to claim 1, further comprising means for mounting the ambulatory recorder to a patient, the mounting means being connected to the recorder.
  • 7. An ambulatory recorder according to claim 6, wherein the mounting means comprises a loop configured for a belt or a shoulder strap to be inserted therethrough.
  • 8. An ambulatory recorder according to claim 1, wherein the sensor comprises a pH sensing catheter.
  • 9. An ambulatory recorder comprising:
  • a sensor for sensing at least one physiologic parameter from a patient;
  • a first processor to perform at least a first process on the at least one physiologic parameter and create a first data set, the processor performing the first process during each sample cycle of the processor, the first processor further comprising a first volatile buffer memory suitable for storing the first data set, the first volatile buffer memory having a size limit;
  • means for calculating the amount of data acquired per sample cycle;
  • a second non-real time processor to perform at least a second process on the first data set to yield a second data set, the first processor being coupled to the second processor so that the first data set may be transferred to the second processor from the first processor;
  • a second non-volatile memory coupled to the second processor, the second memory being suitable for storing the second data set; and
  • means for managing the amount of data stored in the first volatile buffer memory so that the first volatile buffer memory limit cannot be reached.
  • 10. An ambulatory recorder according to claim 9, further comprising means for calculating the volatile memory buffer size limit.
  • 11. An ambulatory recorder according to claim 9, further comprising means for calculating an amount of remaining free volatile buffer memory.
  • 12. An ambulatory recorder according to claim 11, further comprising means for determining whether the amount of remaining free volatile buffer memory is less than the amount of data to be sampled during a subsequent sample cycle.
  • 13. An ambulatory recorder according to claim 9, further comprising means for transferring the first data set from the volatile buffer memory to the non-volatile memory.
  • 14. An ambulatory recorder according to claim 9, further comprising means for mounting the ambulatory recorder to a patient, the mounting means being attached to the recorder.
  • 15. An ambulatory recorder according to claim 14, wherein the mounting means comprises a loop configured for a belt or a shoulder strap to be inserted therethrough.
  • 16. An ambulatory recorder according to claim 9, wherein the sensor comprises a pH sensing catheter.
  • 17. A method of operating an ambulatory recorder, the ambulatory recorder comprising at least one sensor for sensing at least one physiologic parameter from a patient, a first real-time processor to perform at least a first process on the at least one physiologic parameter and create a first data set, the first processor further comprising a first volatile buffer memory suitable for storing the first data set, the first volatile buffer memory having a memory limit, a second non-real time processor to perform at least a second process physiologic on the first data set to yield a second data set, the first processor being coupled to the second processor so that the first data set may be transferred to the second processor from the first processor, a second non-volatile memory coupled to the second processor, the second memory being suitable for storing the second data set, and means for managing the amount of data stored in the first volatile buffer memory so that the first volatile buffer memory limit cannot be reached, comprising:
  • providing the at least one sensor;
  • providing the first and second processors;
  • providing the first memory and the second memory;
  • operatively connecting the sensor, the first and second processors and the first and second memories;
  • calculating the amount of data acquired per sample cycle.
  • 18. A method of operating an ambulatory recorder according to claim 17, further comprising calculating the first volatile memory buffer size limit.
  • 19. An ambulatory recorder according to claim 18, further comprising sampling medical data and storing said sampled data in the volatile buffer memory.
  • 20. An ambulatory recorder according to claim 19, further comprising calculating remaining free volatile buffer memory.
  • 21. An ambulatory recorder according to claim 20, further comprising determining whether the amount of remaining free volatile buffer memory is less than the amount of data to be sampled during a subsequent sample cycle.
  • 22. An ambulatory recorder according to claim 21, further comprising transferring the volatile buffer memory to the non-volatile memory.
  • 23. An ambulatory recorder according to claim 17, further comprising mounting the ambulatory recorder to a patient.
  • 24. An ambulatory recorder according to claim 17, wherein providing a sensor comprises providing a pH sensing catheter.
US Referenced Citations (84)
Number Name Date Kind
D396037 Cappa et al. Jul 1998
3898984 Mandel et al. Aug 1975
3941137 Vredenbregt et al. Mar 1976
4003379 Ellinwood, Jr. Jan 1977
4082084 Lipscher Apr 1978
4129125 Lester et al. Dec 1978
4183354 Sibley et al. Jan 1980
4198963 Barkalow et al. Apr 1980
4333475 Moreno et al. Jun 1982
4353375 Colburn et al. Oct 1982
4365636 Barker Dec 1982
4370983 Lichtenstein Feb 1983
4464172 Lichtenstein Aug 1984
4503859 Petty et al. Mar 1985
4529401 Leslie et al. Jul 1985
4531527 Reinhold, Jr. et al. Jul 1985
4592018 Wiegman May 1986
4628928 Lowell Dec 1986
4632119 Reichstein Dec 1986
4667682 Ihlenfeld, III May 1987
4684367 Schaffer et al. Aug 1987
4715385 Cudahy et al. Dec 1987
4748562 Miller et al. May 1988
4771772 DeWitt Sep 1988
4774956 Kruse et al. Oct 1988
4794934 Motoyama et al. Jan 1989
4895161 Cudahy et al. Jan 1990
4900305 Smith et al. Feb 1990
4917092 Todd et al. Apr 1990
4974599 Suzuki Dec 1990
5002062 Suzuki Mar 1991
5007427 Suzuki et al. Apr 1991
5010888 Jadvar et al. Apr 1991
5012411 Policastro et al. Apr 1991
5016636 Kulakowski May 1991
5042481 Suzuiki et al. Aug 1991
5072458 Suzuki Dec 1991
5086778 Mueller et al. Feb 1992
5107835 Thomas Apr 1992
5111396 Mills et al. May 1992
5111818 Suzuki et al. May 1992
5113869 Nappholz et al. May 1992
5117827 Stuebe et al. Jun 1992
5131816 Brown et al. Jul 1992
5158083 Sacristan et al. Oct 1992
5188104 Wernicke et al. Feb 1993
5213568 Lattin et al. May 1993
5222503 Ives et al. Jun 1993
5224485 Powers et al. Jul 1993
5226431 Bible et al. Jul 1993
5228450 Sellers Jul 1993
5238001 Gallant et al. Aug 1993
5261401 Baker et al. Nov 1993
5263491 Thornton Nov 1993
5273033 Hoffman Dec 1993
5292344 Douglas Mar 1994
5305202 Gallant et al. Apr 1994
5305761 Byrne et al. Apr 1994
5307263 Brown Apr 1994
5309920 Gallant et al. May 1994
5338157 Blomquist Aug 1994
5341291 Roizen et al. Aug 1994
5343870 Gallant et al. Sep 1994
5355892 Saltzstein Oct 1994
5368562 Blomquist et al. Nov 1994
5381351 Kwong et al. Jan 1995
5388587 Knutsson et al. Feb 1995
5411022 McCue et al. May 1995
5429602 Hauser Jul 1995
5431634 Brown Jul 1995
5432698 Fujita Jul 1995
5438985 Essen-Moller Aug 1995
5479019 Gross Dec 1995
5479935 Essen-Moller Jan 1996
5507904 Fisher et al. Apr 1996
5526809 Fiddian-Green Jun 1996
5545183 Altman Aug 1996
5607460 Kroll Mar 1997
5645068 Mezack et al. Jul 1997
5657759 Essen-Moller Aug 1997
5701894 Cherry et al. Dec 1997
5704368 Asano et al. Jan 1998
5704890 Bliss et al. Jan 1998
5749907 Mann May 1998
Foreign Referenced Citations (1)
Number Date Country
0 356 603 Sep 1988 SEX