System and methods for the synchronization of a non-real time operating system PC to a remote real-time data collecting microcontroller
10254785 ยท 2019-04-09
Assignee
Inventors
Cpc classification
G09C1/00
PHYSICS
A61B5/7475
HUMAN NECESSITIES
G16H50/20
PHYSICS
H04L67/12
ELECTRICITY
A61B5/4884
HUMAN NECESSITIES
A61B5/6803
HUMAN NECESSITIES
A61B5/002
HUMAN NECESSITIES
A61B5/4803
HUMAN NECESSITIES
H04W4/70
ELECTRICITY
International classification
A61B5/053
HUMAN NECESSITIES
A61B5/00
HUMAN NECESSITIES
A61B5/1171
HUMAN NECESSITIES
G09C1/00
PHYSICS
H04W4/70
ELECTRICITY
A61B5/16
HUMAN NECESSITIES
G16H50/20
PHYSICS
Abstract
A system synchronizes a PC exhibiting latency of operations to a biosensor enabled microcontroller with real-time clock by providing an encoding scheme that captures the subject's absolute reaction time transmits the subject's reaction time from the PC exhibiting latency to the microcontroller with real-time clock. The system includes a transmitter that transmits a stimulus signal from the PC exhibiting latency, an input device indicating the subject's response to the stimulus signal, an encoding circuit adapted to encode a difference in time between the stimulus signal and the subject's response to the stimulus signal, an emitter adapted to transmit the encoded difference signal representing the subject's reaction time, and a complementary receiver adapted to detect the encoded difference signal. The receiver includes a decoding circuit that decodes the encoded difference signal to determine the subject's reaction time, and the receiver provides the subject's reaction time to the microcontroller with real-time clock for synchronization with received biosensor data such as EEG data.
Claims
1. A system for synchronizing a PC exhibiting latency of operations and a biosensor enabled microcontroller with real-time clock, comprising: a transmitter that transmits a stimulus signal from the PC exhibiting latency; an input device indicating the subject's response to the stimulus signal; an encoding circuit adapted to encode a difference in time between the stimulus signal and the subject's response to the stimulus signal; an emitter adapted to transmit the encoded difference signal representing the subject's reaction time; and a complementary receiver adapted to detect the encoded difference signal and including a decoding circuit that decodes the encoded difference signal to determine the subject's reaction time, said receiver providing the subject's reaction time to the microcontroller with real-time clock for synchronization with received biosensor data.
2. A system as in claim 1, wherein the emitter comprises a visible LED, an ultrasonic transducer, an infrared (IR) LED, an audible speaker, audible transducer, a Bluetooth transmitter/transceiver, a Wi-Fi transmitter/transceiver, a ZigBee transmitter/transceiver or AM or FM transmitter/transceiver.
3. A system as in claim 2, wherein the receiver comprises a visible photodiode, visible phototransistor, an ultrasonic receiver/microphone, an infrared (IR) photodiode, an infrared phototransistor, an audible microphone, a Bluetooth receiver/transceiver, a Wifi receiver/transceiver, a ZigBee receiver/transceiver, an AM receiver/transceiver, or an FM receiver/transceiver.
4. A system as in claim 1, wherein the input device is a mouse and the encoding circuit is responsive to the stimulus signal from the transmitter and an input signal from the mouse in response to the stimulus signal.
5. A system as in claim 4, wherein the encoding circuit encodes the difference signal as an on/off keyed wireless signal and provides the encoded difference signal to the emitter for wireless transmission to the complementary receiver.
6. A system as in claim 5, wherein the encoding circuit encodes a left mouse click as one keyed pulse and a right mouse click as two keyed pulses.
7. A system as in claim 1, wherein the complementary receiver is located at an EEG headset of the subject, said EEG headset including said decoding circuit and said microcontroller for synchronizing the subject's reaction time to EEG data collected by said EEG headset.
8. A system as in claim 7, wherein the emitter comprises an audible speaker and the receiver comprises an earbud of the subject, said earbud providing received sound signals to said decoding circuit.
9. A system as in claim 7, wherein the EEG headset includes a finger tap input as said input device.
10. A system as in claim 1, wherein the input device is a stylus and the PC exhibiting latency is a tablet PC.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the invention can be better understood with reference to the following drawings, of which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(18) The invention will be described in detail below with reference to
Definitions
(19) By electrode to the scalp we mean to include, without limitation, those electrodes requiring gel, dry electrode sensors, contactless sensors and any other means of measuring the electrical potential or apparent electrical induced potential by electromagnetic means.
(20) By monitor the brain and nervous system we mean to include, without limitation, surveillance of normal health and aging, the early detection and monitoring of brain dysfunction, monitoring of brain injury and recovery, monitoring disease onset, progression and response to therapy, for the discovery and optimization of treatment and drug therapies, including without limitation, monitoring investigational compounds and registered pharmaceutical agents, as well as the monitoring of illegal substances and their presence or influence on an individual while driving, playing sports, or engaged in other regulated behaviors.
(21) A medical therapy as used herein is intended to encompass any form of therapy with potential medical effect, including, without limitation, any pharmaceutical agent or treatment, compounds, biologics, medical device therapy, exercise, biofeedback or combinations thereof.
(22) By EEG data we mean to include without limitation the raw time series, any spectral properties determined after Fourier or other transformation into the frequency domain, any nonlinear properties after non-linear analysis, any wavelet properties, any summary biometric variables and any combinations thereof.
(23) A sensory and cognitive challenge as used herein is intended to encompass any form of sensory stimuli (to the five senses), cognitive challenges (to the mind), and other challenges (such as a respiratory CO.sub.2 challenge, virtual reality balance challenge, hammer to knee reflex challenge, etc.).
(24) A sensory and cognitive challenge state as used herein is intended to encompass any state of the brain and nervous system during the exposure to the sensory stimuli and cognitive load challenge.
(25) An electronic system as used herein is intended to encompass, without limitation, hardware, software, firmware, analog circuits, DC-coupled or AC-coupled circuits, optical circuits, digital circuits, FPGA, ASICS, visual displays, audio transducers, temperature transducers, olfactory and odor generators, or any combination of the above.
(26) By spectral bands we mean without limitation the generally accepted definitions in the standard literature conventions such that the bands of the PSD are often separated into the Delta band (f<4 Hz), the Theta band (4<f<7 Hz), the Alpha band (8<f<12 Hz), the Beta band (12<f<30 Hz), and the Gamma band (30<f<100 Hz). The exact boundaries of these bands are subject to some interpretation and are not considered hard and fast to all practitioners in the field.
(27) By calibrating we mean the process of inputting known signals into the system and adjusting internal gain, offset or other adjustable parameters in order to bring the system to a quantitative state of reproducibility.
(28) By conducting quality control we mean conducting assessments of the system with known input signals and verifying that the output of the system is as expected. Moreover, verifying the output to known input reference signals constitutes a form of quality control which assures that the system was in good working order either before or just after a block of data was collected on a human subject.
(29) By biomarker we mean an objective measure of a biological or physiological function or process.
(30) By biomarker features or metrics we mean a variable, biomarker, metric or feature which characterizes some aspect of the raw underlying time series data. These terms are equivalent for a biomarker as an objective measure and can be used interchangeably.
(31) By non-invasively we mean lacking the need to penetrate the skin or tissue of a human subject.
(32) By diagnosis we mean any one of the multiple intended use of a diagnostic including to classify subjects in categorical groups, to aid in the diagnosis when used with other additional information, to screen at a high level where no a priori reason exists, to be used as a prognostic marker, to be used as a disease or injury progression marker, to be used as a treatment response marker or even as a treatment monitoring endpoint.
(33) By electronics module or EM or reusable electronic module or REM or multi-functional biosensor or MFB we mean an electronics module or device that can be used to record biological signals from the same subject or multiple subjects at different times. By the same terms, we also mean a disposable electronics module that can be used once and thrown away which may be part of the future as miniaturization becomes more common place and costs of production are reduced. The electronics module can have only one sensing function or a multitude (more than one), where the latter (more than one) is more common. All of these terms are equivalent and do not limit the scope of the invention.
(34) By biosignals or bio signals or bio-signals we mean any direct or indirect biological signal measurement data streams which either directly derives from the human subject under assessment or indirectly derives from the human subject. Non-limiting examples for illustration purposes include EEG brainwave data recorded either directly from the scalp or contactless from the scalp, core temperature, physical motion or balance derived from body worn accelerometers, gyrometers, and magnetic compasses, the acoustic sound from a microphone to capture the voice of the individual, the stream of camera images from a front facing camera, the heart rate, heart rate variability and arterial oxygen from a would pulse oximeter, the skin conductance measured along the skin (Galvonic Skin Conductance/Resistance, also called Electrodermal Activity), the cognitive task information recorded as keyboard strokes, mouse clicks or touch screen events. There are many other biosignals to be recorded as well.
(35) By microprocessor or microcontroller we mean any computational oriented silicon or other integrated circuit technology that includes a microprocessor along with or without direct storage RAM, including non-limiting illustrative examples as a 16-bit TI MSP430 or a 32-bit ARM Cortex M0 or M4 microcontroller from Freescale, STMicro, or other manufacturer.
(36) By jittery PC with latency we mean any commercial computing device with an operating system that is able to go off and do activities and tasks that the user cannot control (such as garbage collection) and is not considered a real-time operating system (RTOS) as conventionally known in the embedded microcontroller community. This would include most commercial PCs including desktops, laptops, tablets and smartphones running standard versions of Microsoft Windows, Linux, Google's Android operating system or Apple's iOS operating system. The exception would be a device installed with a real-time operating system whereby all event control is provided to the engineer and user and none kept by the device manufacturer and operating system creator.
(37) By Real-Time Clock we mean any time keeping implementation that generates a high-precision and high-accuracy time facility that will allow deterministic time-stamping of events by firmware or software with low computational overhead. As a non-limiting example, high-precision could be understood as timing intervals less than 0.1 milliseconds whereas high-accuracy could be understood as +/5 PPM.
(38) A System of Multiple Transducers to Both Stimulate and Record Physiological and Brain Response as a Periodic Biosensor Assessment for Brain Related Issues
(39) The systems and methods of the invention comprise multiple transducers to both stimulate and record the physiological response of the brain and the body in order to assess its health and function. Central to the system is the ability to directly record brainwave activity from an electrode place non-invasively on or near the scalp. Moreover, additional information on brain health and function can be derived from transducers that measure position and motion, temperature, cardiovascular properties like heart rate, heart rate variability, and arterial oxygen, as well as cognitive information, speech, eye movement, and surface skin conductance to name a few non-limiting additional biological signal measurement data stream examples. It is often necessary to bring the system to the human subject, getting out of the hospital or doctor's office and enabling data collection in the home or sports field or combat theater, thus providing accessibility to the brain health and function assessment from a lightweight and portable form factor. Moreover, it would be advantageous to have a minimal cost associated with the system so that it can be used around the globe to help those in need of brain health and function assessments.
(40) A solution to these problems includes the creation of a system of body worn or body proximal electronic modules (EMs) or reusable electronic modules (REMs) with the ability to both record biological signal measurement data streams (biosensor data) as well as present stimuli to the human subject in the form of various sensory and cognitive challenges and tasks. In particular, one such electronic module (EM) or reusable electronic module (REM) can be placed in the vicinity of the head and be either reused over and over if it does not touch the human body or disposed of if it comes in direct contact with the human body.
(41) Precision Synchronization Need Between Peripheral PC and Microcontroller with Biosensor Inputs
(42) A peripheral computer system (typically laptop or tablet PC but includes smartphone and other intermediate form factors) is used to administer a human subject's brain health assessment including various biosensors to record physiological parameters and streams of biosensor data. It can also include temporal measures of a subject's reaction time when presented with a sensory stimulus (i.e. video, acoustic) and records the subject's response via the computer or other input device (i.e. mouse, stylus, keyboard, microphone, accelerometer, etc.) as it measures the reaction time between stimulus presentation and the subject's response via the peripheral computer's clock. The precision and repeatability of the reaction time measurement is typically dependent on a commercial multi-tasking operating system which can introduce timing errors due to software latency and timing jitter (e.g. Microsoft Windows, Linux, Google Android, or Apple iOS).
(43) The present invention describes a low-cost and simple to implement electronic hardware solution which can attach to the peripheral computer system. In one particular embodiment, the invention provides real-time time-stamping between the patient's stimulus, the patient's response and other biosensor data that is streaming from the human subject to an embedded microcontroller with a real-time clock, capable of synchronizing the various data packets at a much higher rate (less than 1 millisecond and perhaps as fast 0.1 microsecond) and greater temporal precision than a commercial multi-tasking OS not designed as a real-time operating system (RTOS).
(44) The real-time hardware system in an exemplary embodiment includes a sensor that detects when a stimulus is generated by the computer system or presented to the subject, a second sensor to sense the subject's response, and a microcontroller to precisely record the response time with microsecond resolution. In addition, the invention provides a synchronization signal to the biosensor measurement system enabling a time-lock the biosensor data to the stimulus/response event in the peripheral PC.
(45) It is often difficult to synchronize the presentation of stimuli and probes on a commercial PC (desktop, laptop, or tablet, or smartphone) with temporal resolution greater than the latency of the inherent fluctuations in the operating system on the PC (most often Windows, Linux, Android or iOS). The present invention is a solution which can temporally synchronize the probes and stimuli on the laptop PC with the biosensor system using various encoding schemes.
(46) Temporally Precise Means to Synchronize Stimuli/Probes on a Jittery PC with Latency with Biosensor Data Streams Attached to an Embedded Microcontroller with Real-Time Clock
(47) One embodiment of the invention is illustrated in
(48) Consider
(49) One could periodically on the PC side output a signal from the PC 420 that could be sensed by a sensor connected to the embedded microprocessor with a real-time clock 430. As a first non-limiting example, the PC sound card could emit a short 20 millisecond burst of sine waves of various frequencies. The first burst at the first second could be 1010 Hz so that 20 periods could be broadcast in the short 20 millisecond transmission. In the next burst a second later, the frequency could be 1020 Hz, the third emission could be 1030 Hz, etc. Thus, after N seconds, the frequency would be encoded to contain 1000 Hz+N*10 Hz. If N=120 seconds, then the last burst would contain 1000 Hz+120*10 Hz=2200 Hz. In this fashion, a microphone sensor attached to the embedded microprocessor could be used to precisely adjust for latency in the variable PC operating system.
(50) Generally speaking, information transfer from the peripheral PC to the microcontroller will require energy to be transmitted from the PC to the microcontroller. This energy can be in the form of an electrical signal if hardwired or alternately in the form of light (photons), sound waves, radio transmission (RF). Other forms of energy can be contemplated as well. Sub-forms can further be segmented as well, such as photons that can be visible or UV or infrared. In the case of sound waves, they can be audible to a human or ultrasonic.
(51) An alternate embodiment can be seen in
(52) Alternate embodiments are self-apparent and include use of ultrasound waves via an ultrasonic transducer in the 20-50 KHz range which is inaudible to humans but easily broadcast and measured with modern emitters and receivers. Small emitter devices could be plugged into the USB, headphone output and other analog and digital outputs of the PC 520 which are then coupled to particular biosensors included in the microprocessor 530 in order to temporally synchronize the PC with the recording biosensor array.
(53) Alternate embodiments include the use of an infra-red LED (wavelengths shorter than the eye can see) with an appropriate IR photodiode to receive the transmitted light, audible sounds and an audible microphone, or even a first Bluetooth radio 1 and a second Bluetooth radio 2.
(54) As can be seen in
(55) Visual StimulusMouse Click Response Hardware
(56) The hardware for a visual stimulus and mouse click response computer system, as illustrated in
(57) When the visual stimulus is presented to the patient, a small dot 568 is also simultaneously illuminated on the computer display 570 under the light sensor 566. The light sensor signal 580 would be amplified by amplifier 582 (
(58) To sense the patient's response, a customized mouse 572 (
(59) The gated digital on/off pulse 588 would be used to turn on/off a wireless transmitter 559 which would transmit an On/Off Keyed (OOK) modulated carrier to a matching receiver 578 (
(60) The wireless transmitter/receiver pair could be a radio transmitter operating in the RF spectrum, a pulsed infrared light operating in the infrared spectrum, or an ultrasonic pulse operating in the ultrasonic sound spectrum as follows.
(61) RF Link
(62) The hardware for an RF wireless link may include the LINX Inc., TXM-433-LR RF Transmitter and RXM-433-LR Receiver pair that operates in the 433 MHz RF band. The small sized integrated circuit makes a simple low-parts-count solution for a RF link. http://www.linxtechnologies.com/resources/data-guides/txm-xxx-lr.pdf. Alternate choices include a Silicon Labs SI4010 paired with a ST4313 or a RF Solutions AM110C1-315 operable in the 868 MHz and 915 MHz band as well. Even use of a 2.4 GHz radio transceiver like the Nordic nRF24L01+ can be used in a pair. Bluetooth transceivers, ZigBee, ANT and others are also embodiments of the present invention. Even Wi-Fi modules such as ESP8266 Wi-Fi could be employed in a pair.
(63) Infrared Link
(64) The IR transmitter hardware for an infrared wireless link may include a Vishay Semiconductors TSAL4400 infrared (IR) light emitting diode (LED) operating at an IR wavelength of 940 nm and pulsed on/off via the microcontroller at a carrier frequency of 36 kHz. http://www.vishay.com/docs/81006/tsa14400.pdf. The IR receiver hardware could include, as non-limiting examples, a Vishay Semiconductor TSOP6236 which has a 36 kHz band-pass filter to eliminate background noise. http://www.vishay.com/docs/82463/tsop62.pdf. Also possible would be VS1838 TL and TL1838 or VS1838B universal receiving head.
(65) Ultrasonic Link
(66) The ultrasonic transmitter hardware for an ultrasonic link may include a Murata Electronics MA40S4S ultrasonic transmitter operating at an acoustic frequency of 40 kHz using the microcontroller to generator the 40 kHz carrier. http://www.murata.com//media/webrenewal/support/library/catalog/products/k70e.ashx. The ultrasonic receiver hardware could include a Murata Electronics MA40S4R receiver. Alternates pairs of transmitter/receiver in the ultrasonic space include the HC-SR04 transmitter with a US-015 receiver, as well as a TCT40-16T transmitter with a TCT40-16R receiver.
(67) Hardwired Link
(68) The transmission link could also be a hardwired connection between the biosensor headset and the stimulus/response circuitry. In this configuration, optical isolation circuitry would be used to insure patient safety.
(69) Test Number Identification/Calibration
(70) A preamble transmission prior to start of the patient's test could be easily sent by using two or more light sensors attached to the computer screen 570. By lighting an appropriate array of dots in a binary format, the microcontroller could identify which test is about to occur and transmit this information to the EEG data acquisition microcontroller.
(71) Thus, in the embodiment shown in
(72) Various parts of the system can now be examined in more detail. As shown in
(73)
(74)
(75)
(76)
(77)
(78) In an alternate embodiment,
(79)
(80) Acoustic Linkage between Transmitter and Receiver
(81) The present invention can also be used with other types of stimuli such as an acoustic stimulus. In this configuration, the light-sensor would be replaced with a miniature microphone 694 (
(82) In
(83) Other Types of Response Devices
(84) The present invention can also be used with other patient response devices besides a computer mouse. In
(85) Moreover, the response to the stimulus could also be an eye-blink of the Subject. In this arrangement, an EEG signal at positions Fp1 and/or Fp2 would easily pick-up the eye-blink response directly.
(86) The response to the stimulus could also be a tilt of the patient's head, as embodied in
(87) The advantage of this configuration of
(88) Other Encoding Schemes for Binary and Larger Choices
(89)
(90) Those skilled in the art will also appreciate that the invention may be applied to other applications and may be modified without departing from the scope of the invention. For example, the jittery PC with latency described herein may be used in an industrial application and the remote sensors and embedded microcontroller could be on a server, in the cloud, in the electronics module, or on a local PC, tablet PC, smartphone, or custom hand held device. Accordingly, the scope of the invention is not intended to be limited to the exemplary embodiments described above, but only by the appended claims.