The present disclosure relates generally to devices and methods for simulating optical flow and, more particularly, to an optical flow simulator for simulating blood flow for testing an optical sensor.
Optical blood flow measurement is widely used in a variety of clinical and consumer devices in the form of Photoplethysmography (“PPG”). Using a phototransmitter (e.g., a light-emitting diode) and a photodetector, a PPG sensor can be used to determine the movement of blood in a vein or artery near the surface of a subject's skin by measuring the amount of light absorbed by red hemoglobin in the blood. When developing and/or manufacturing PPG sensors, it is often necessary to validate the design of the sensor and verify proper functioning by testing the sensor on an individual. Testing PPG sensor design and function directly on individuals gives rise to testing efficiencies and other logistical problems. For example, in order to verify the PPG sensor's ability to detect unhealthy PPG patterns, the PPG sensor much be tested on an individual with unhealthy blood flow, thereby severely limiting the pool of potential test subjects. Further, other solutions for simulating blood flow involve complicated systems (e.g., pumping water through a tube with a peristaltic pump), and are often cost prohibitive. Thus, new devices and methods are needed for validating PPG sensor design and verifying sensor performance. The present disclosure addresses these and other problems.
In accordance with some embodiments of the invention, an optical flow simulator includes a stepper motor controlled by a microcontroller to move a surface having color distribution that varies along a path. In accordance with some embodiments of the invention, the colored (e.g., green, yellow, blue, purple, red) surface can take the form of a disk, a wheel or cylindrical surface, a belt, a spherical surface, or a conical surface. In accordance with some embodiments of the invention, the colored (e.g., green, yellow, blue, purple, red) surface can extend over the sides of polygonal structure, such as a square, a rectangle or any other n sided object. The microcontroller controls the speed of movement (e.g., rotation) of the colored surface to simulate the speed of the fluid flow. A sensor under test, such as a reflective PPG sensor, can be placed in proximity to the colored (e.g., green, yellow, blue, purple, red) surface such that it detects the change in color or amplitude of the light reflecting from the colored surface to simulate fluid flow under the sensor.
According to some implementations of the present disclosure, the optical flow simulator includes a disk coupled to a stepper motor that is connected to microcontroller configured to control the speed of rotation of the disk. The disk can include a predefined color distribution that is varied along a circular path or track on the disk such that when the disk rotates, the color along the circular path changes in a predefined way. The stepper motor includes a spindle that is coupled to the disk, either directly or indirectly (e.g., by gears, belts, or a transmission). The microcontroller controls the rotational speed of the stepper motor and causes the disk to rotate at a predefined rotational speed. Responsive to rotation of the disk at the predefined rotational speed, the color distribution on the surface of the disk produces a simulated optical signal that can be used to test a reflective PPG sensor, for example.
According to some implementations of the present disclosure, the optical flow simulator includes a belt coupled to a stepper motor that is connected to a microcontroller configured to control the speed of rotation of the belt. The belt can include a color distribution linearly varied along a path defined on a surface of the belt. The belt can be fitted over a plurality of rollers or pulleys. The stepper motor includes a spindle that is coupled to the belt, either directly or indirectly (e.g., by gears, belts, or a transmission). The microcontroller controls the rotational speed of the stepper motor and causes the belt to move at a predefined linear speed. Responsive to the movement of the belt at the predefined speed, the color distribution on the belt surface produces a simulated optical signal that can be used to test a reflective PPG sensor, for example.
According to some implementations of the present disclosure, an optical flow simulator includes a semi-translucent disk, belt or cylinder that moves (e.g. rotates). The semi-translucent disk includes a predefined light transmissivity distribution that is varied along a path. The stepper motor includes a spindle that is coupled to the semi-translucent disk, belt or cylinder, either directly or indirectly (e.g., by gears, belts, or a transmission). The microcontroller controls the rotational speed of the stepper motor and causes the spindle to rotate the disk, belt or cylinder at a predefined rotational speed. Responsive to the movement of the semi-translucent disk, belt or cylinder at the predefined speed, the light transmissivity distribution produces a simulated optical signal that can be used to test a transmissive PPG sensor, for example.
These and other aspects of the present invention will become more apparent from the following detailed description of the system in conjunction with the accompanying drawings.
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
The accompanying drawings, which are incorporated into this specification, illustrate one or more exemplary embodiments of the inventions and, together with the detailed description, serve to explain the principles and applications of these inventions. The drawings and detailed description are illustrative, and are intended to facilitate an understanding of the inventions and their application without limiting the scope of the invention. The illustrative embodiments can be modified and adapted without departing from the spirit and scope of the inventions.
The present disclosure is susceptible to various modifications and alternative forms, and some representative embodiments have been shown by way of example in the drawings and will be described in detail herein. It should be understood, however, that the inventive aspects of the disclosure are not limited to the particular forms disclosed. Rather, the disclosure is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.
The present invention is directed to methods and systems for testing and calibrating optical flow sensors by simulating the optical signals perceived by the sensor. In accordance with embodiments of the invention, the optical sensors detect either reflected or transmitted light signals (e.g., color and/or intensity) and can be used to detect fluid flow, for example, blood flow via PPG. In accordance with some embodiments of the invention, the system includes a surface that includes a predefined optically varying pattern that can be moved in proximity to the sensor to simulate the optically reflective or optically transmissive light signals that are received by the sensor. Using the predefined optical patterns, the optical sensors, such as PPG sensors can be calibrated and tested.
Similarly, as shown in
As shown in
Generally referring to
To form the color distribution 126 of the disk 120, the color distribution 126 can be printed or sprayed on a paper disk having substantially the same size and shape as the disk 120. The color distribution can be generated from a computerized image that matches the optical properties of the fluid to be monitored by the sensor 110. The paper disk can be coupled to or mounted on the upper surface of the disk 120, for example, via a permanent or removable adhesives or by clips or clamps. Alternatively, the paper disk can be removable from the disk 120 by, for example, a hook and loop fastener, or pressure clips. The color distribution 126 can be printed on the paper disk via an ink-jet printer, a laser-jet printer, or any other suitable mechanism. Alternatively, in some implementations, the color distribution 126 can be directly printed or sprayed on the surface or edge of disk 120.
The individual color of each of the plurality of arc segments 128 of the color distribution 126 (e.g., from dark green to light green, or dark red to light red) can be selected such that, when rotated at a predefined speed, the color distribution 126 produces an optical signal in the optical sensor that simulates the fluid flow to be monitored by PPG. As described herein, the reflective optical sensor 110 measures the amount of light absorbed by blood in an artery or vein when placed against an individual's skin. Similarly, when the reflective optical sensor 110 is positioned adjacent to the color distribution 126, as shown in
To control the amplitude of the optical signal produced by the disk 120, the color of each of the plurality of arc segments 128 of the color distribution 126 is selected according to an algorithm 500, which is illustrated by the flow diagram of
During the raw PPG waveform collecting step 510, a raw PPG waveform 512 (
During the sampling step 520, a sample period 514 is selected from the raw PPG waveform 512. During the sample discretizing and normalizing step 530, the sample period 514 is separated into discrete segments (e.g., heartbeat time segment). As shown in
step value=MAX−MIN/255 (1)
Next, each of the 256 discrete segments of the period 514 is assigned an eight-bit value ranging between 0 and 255 according to equation (2) below by dividing the measured amplitude of the segment by the step value and rounding to the nearest whole integer:
eightbit value=amplitude/step value (2)
Each eight-bit value, which ranges between 0 and 255, can also be represented as 8 individual bits (0, 1, 2, 3, 4, 5, 6, 7), with each bit having a value of 0 or 1. For higher resolution (e.g., 16 bit) or lower resolution (e.g., 4 bit), the divisor in equation (1) can be increased (e.g., 65536) or decreased (e.g., 16), respectively.
During the color mapping step 540, the eight-bit value of each of the 256 discrete segments can be converted to a color value according to any known color system model (e.g., RGB (Red, Green, Blue color space), HSV (Hue, Saturation, Value color space), HLS (Hue, Luminance, Saturation color space), or CMYK (Cyan, Magenta, Yellow and Key-BlacK color space)). Alternatively, the color mapping could simply map the amplitude to the intensity, hue, and/or saturation space of the detected signal for a single color (e.g. monochrome) or a plurality of colors. Thus, the eight-bit values can be converted into 256 (or more or less) different possible color values, which are then assigned to each of the 256 discrete segments. Using these color values, the individual color of each of the plurality of arc segments 128 (
Because one period of the raw PPG waveform 512 (i.e., one heartbeat) was derived from the raw PPG waveform sampling step 510, the optical signal simulates one heartbeat for each revolution of the disk 120. As shown in
Alternatively, while the sample period 514 is shown in
While the sample period 514 is described as being discretized into 256 segments during the sample discretizing and normalizing step 530, the sample period 514 can also be separated into more or less discrete segments, for example, 65,536 or 16 discrete segments. In such implementations, each of the 65,536 discrete segments of the sample period 514 can be assigned a sixteen-bit value during step 530. During the color mapping step 540, each discrete segment can be assigned a color value using any color model representation. In this configuration, the plurality of arc segments 128 includes 65,536 arc segments each having a color assigned by the color mapping step 540.
Referring to
To rotate the disk 120 at a predefined speed, the disk 120 (
In some implementations, the position of the reflective optical sensor 110 can be varied relative to the outer edge 124 of the disk 120 to increase or decrease the signal-to-noise ratio of the simulated optical signal. As the position of the reflective optical sensor 110 moves relative to the outer edge 124 towards the central aperture 122 (and/or vice versa), the color distribution 126 of the disk 120 is the same at each location on the disk 120 between the outer edge 124 and central aperture 122. Thus, the period of the optical signal will be the same regardless of the relative position of the reflective optical sensor 110 between the outer edge 124 and the central aperture 122. However, the signal-to-noise ratio of the simulated optical signal is a function of the relative position of the reflective optical sensor 110. When the reflective optical sensor 110 is positioned closer to the outer edge 124, the light emitted by the photo transmitter 112 illuminates an effectively larger area than when the reflective optical sensor 110 is positioned closer to the central aperture 122. Thus, positioning the reflective optical sensor 110 closer to the outer edge 124 decreases the influence of other portions of the color distribution 126 (i.e., noise) and increases the signal-to-noise ratio of the simulated optical signal.
Because (i) the color distribution 126 of the disk 120 controls the amplitude of the optical signal and (ii) the stepper motor 130 and microcontroller 140 rotate the disk 120 at a predefined rotational speed to control the period of the optical signal, the optical flow simulator 100 can be used to test the functioning of the reflective optical sensor 110 in a variety of ways. For instance, if the predefined rotational speed of the disk 120 is set to 60 RPM, and the reflective optical sensor 110 measures a simulated heart rate that is not substantially equal to 60 BPM, a user is alerted to an error in the reflective optical sensor 110 design or manufacture. Alternatively, as shown in
In yet another example, the stepper motor 130 and the microcontroller 140 can be used to rotate the disk 120 at a plurality of predefined speeds in succession to test the sensitivity of the reflective optical sensor 110 to changes in heart rate. The predefined rotational speed of the disk 120 can be slowly increased from, for example, 60 RPM to 180 RPM in order to simulate an increase in heart rate from 60 BPM for 180 BPM. Alternatively, the microcontroller 140 can be used change the rotational speed of the disk 120 from a first predefined rotational speed to a second predefined rotational speed for a very short (i.e., substantially instantaneous) period of time, and then immediately return the disk 120 to the first predefined rotational speed in order to test the reflective optical sensor 110's ability to detect slight variances in heart rate.
Advantageously, the optical flow simulator 100 allows a user to test an optical sensor's ability to detect unhealthy heart conditions (e.g., arrhythmia) without having to apply the sensor to a patient with said unhealthy heart condition, thus increasing testing efficiency while decreasing testing costs.
Referring to
The stepper motor 230 and the microcontroller 240 can be similar to the stepper motor 130 and the microcontroller 140 of the optical flow sensor 100. The stepper motor 230 differs, however, in that it rotates at least one of the plurality of rollers 222 over which the belt 220 is extended, thereby moving the belt 220 along arrow B. Just as the rotational speed of the disk 120 controls the period (or frequency) of the simulated optical signal produced by the optical flow simulator 100, a linear speed of the belt 220 controls the period (or frequency) of the simulated optical signal produced by the optical flow simulator 200. In accordance with some embodiments of the invention, the rotational speed of the stepper motor 230 and the diameter of the roller determine the speed the belt and depending on the configuration of the color distribution (e.g., how many heart beats are simulated by a full revolution of the belt), the heart rate can be simulated. For example, for one heart beat per revolution of the belt (e.g, of length L) on a drive roller of diameter D, the stepper motor 230 would need to rotated at a speed of (60×L)/(π×D) in revolutions per minute.
Referring to
The stepper motor 330 and the microcontroller 340 can be the same as the stepper motor 130 and the microcontroller 140 of the optical flow sensor 100. The disk 320 is similar to the disk 120 of the optical flow sensor 100 but differs in that it is made from a semi-translucent material and has a light transmissivity distribution 326. The light transmissivity distribution 326 is similar to the color distribution 126 of the disk 120 in that it varies along a circular path. Because the optical flow simulator 300 is used to test the transmissive optical sensor 310, as opposed to the reflective optical sensor 110, the light transmissivity distribution 326 is selected to vary the amount of light that passes through the disk 320. Thus, the light transmissivity distribution 326 controls the amplitude of the optical signal produced by the optical flow simulator 300 in the same or similar manner as the color distribution 126 of the optical flow simulator 100. Likewise, the light transmissivity distribution 326 is selected using an algorithm that is the same or similar to the algorithm 500 used to select the color distribution 126 of the optical flow simulator 100.
In some implementations, an optical flow simulator that is similar to the optical flow simulator 100 includes a disk, a stepper motor, a microcontroller, and an optical frame. The disk includes a color distribution (or a light transmissivity distribution) of the disk can be positioned on a side surface of the disk defined by the circumference of the disk (not shown). In such implementations, the color distribution is similar to the color distribution 126 in that it produces an optical signal, but differs in that it comprises a plurality of linear segments, each of which having an individual color. The reflective optical sensor is positioned directly adjacent to the side surface of the disk. As the disk rotates via the stepper motor and microcontroller in the same or similar manner as the disk 120 described above, a different one of the plurality of linear segments of the color distribution passes adjacent to the reflective optical sensor. Thus, the color distribution creates an optical signal that is the same as or similar to the optical signal of the optical flow simulator 100.
While the present invention has been described with reference to one or more particular embodiments, those skilled in the art will recognize that many changes may be made thereto without departing from the spirit and scope of the present invention. Each of these embodiments and obvious variations thereof fall within the spirit and scope of the invention. Additional embodiments according to aspects of the present invention can combine any number of features from any of the embodiments described herein.
The present application claims the benefit of and priority to U.S. Provisional Patent Application No. 62/504,808, filed May 11, 2017, entitled, “Optical Flow Simulators and Methods of Using the Same,” which is incorporated by reference herein in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2018/030139 | 4/30/2018 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
62504808 | May 2017 | US |