Articles
Designing a Wireless Heart Rate Monitor with Remote Data Logging
Thu, 01/07/2010 - 10:58am
LISTED UNDER:
The current generation of monitors are portable heart rate sensors that have found their way into general purposes for activities such as exercise and sports. While these devices are useful for individual purposes, they do not facilitate use by a coach or manager.
By Archana Yarlagadda, Cypress Semiconductor click to enlarge Figure 1. Block diagram of traditional HRM system. |
Heart Rate Monitors (HRM) have been an inherent part and important step of diagnosis in medical field for ages. The current generation of portable heart rate sensors has extended the usability of these devices out to the average person for use during day to day activities such as exercise and sports. These devices are typically either mechanically based (converting vessel ripples using piezoelectric signals) or utilize pulse rate electrical signal detection methods, which require placement of two or more electrodes on the skin for electric impulse reception.
click to enlarge Figure 2. Block Diagram of Wireless HRL with Remote Data Logging. |
The system suggested in this article uses one receiver as a Hub that aggregates data from several different transmitters. This allows supervision and data logging when several monitors are collocated for applications like sports, hospitals, and/or research by coaches, medical caregivers, or supervisors. This new method will be helpful both in facilitating fitness training for athletes as well as remote monitoring of patients. It also allows the resources on the receiver to be shared, thus decreasing overall system cost.
click to enlarge Figure 3. ECG output of an ideal pulse rate SoC Implementation. |
The SoC chip where the heart rate is captured, processed, and displayed can be connected to a wireless transmitter over with which the data will be transmitted through an I2C communication. In traditional systems, the data is displayed directly on the display and/or transmitted to a specific wireless receiver. This system cannot be used to monitor a group of athletes during their training season or group of patients in a hospital because multiple transmitters will interfere with each other. In order to avoid interference, developers can instead “bind” a single receiver to many transmitters by assigning a unique identifier to each transmitter in the area of coverage. This will form a complete remote data logging system as shown in Figure 2.
In order to implement Remote Data Logging (RDL) in this fashion, developers must reconsider some of the important blocks in the HRM system, namely the sensor electrodes, SoC implementation, and transmitter/receiver pairs.
Sensor Electrodes
click to enlarge Figure 4. State diagram of Transmitter and Receiver in Wireless HRM. |
The ideal signal obtained from the ECG, with no noise, is shown in Figure 3. The peak signal should be identified from other smaller noise peaks. These noise peaks in the signal are filtered out and the R-R interval is averaged out over a period of time. The reciprocal of the R-R interval then gives the heart rate in terms of Beats-Per-Minute (BPM).
The most important block required in the proposed system shown in Figure 1 is the SoC. The ECG signal obtained from the electrodes is passed through a differential amplifier with a high common mode rejection ratio. This reduces common mode environmental noise and amplifies only the desired signal. Though the filter is shown as one part in the block diagram, the noise filtering is a distinct different block of the system, both in the analog and digital domains. The Analog-to-Digital Convertor (ADC) block is used to convert the analog sensor signal into the digital domain. The pulse detector uses a threshold comparator to detect the R peaks. These peaks are collected for a certain number of clock cycles. The final value of heartbeat in terms of BPM is processed in the firmware and this value, in the traditional system, is displayed onto a dedicated console. In case of remote supervision and data logging, this value is transmitted through the RF transmitter with a unique ID. The SoC used for implementation of this project was CY8C27x43. This system can be implemented with any SoC that has the ability to implement the blocks mentioned.
RF Transmitter and Receiver
click to enlarge Figure 5. Graphical user interface showing remote data logging and supervision. |
The wireless transceiver is implemented using a Star Network Protocol (SNP). The receiver that is connected to the data-logging system forms the “Hub” for the network and each of the heart rate monitors connected to the athletes form the “Nodes” in the network. The Hub that is used in the CyFi kit can connect up to 250 nodes, setting this as the upper limit for the number of athletes that can be monitored at a single time with this system.
The unique ID with which the Node/Athlete is identified can be either be assigned “On-the-Fly”, assigned by the Hub, or be predefined. Using an On-the-Fly ID method simplifies monitoring of large number of nodes at the same time by eliminating the need to worry whether a particular predefined ID is being used by multiple nodes. The connection between the hub and a specific node is done during the configuration communication (bind mode) and the hub receives the information during the application communication (data mode).
When the hub is set in the bind mode sequence, it assumes the network parameters and “listens” to any bind requests from the receiver. When the bind is activated on the node side, it sends out a Hub Bind Request packet and waits for the acknowledgment from the Hub. Both the node and the Hub perform this sequence on different channels until their channels overlap. The timing of the channel hopping is made such that the hub and the node will have multiple channel overlap and thus sufficient binding opportunities. Once the node receives the acknowledgement from the hub, it stores the parameter data that the hub decides into Flash and then uses this in the data packets that it sends henceforth. The state diagram for the Hub and the Node for the protocol is given in Figure 4.
Computer GUI Interface
The coach/supervisor can then process the data obtained on the USB port using the required form of analysis. The graphs shown in Figure 5 show remotely logged data after it has been plotted by the “Sense and Control Dashboard” software GUI available with the CyFi kit. Each plot shows the data collected from a specific transmitter. The Y-axis shows the heart rate in terms of BPM and the X-axis is the Time. Based on the graphs, a doctor can monitor multiple patients simultaneously or a coach can decide the cardio-vascular regime for individual athletes. The same graphs can be used in different fields to make different decisions based on the heart rate of the subjects under study.The efficiency, range, and cost-effectiveness of heart monitoring and other sensor systems can be improved through the use of wireless and SoC technology. By leveraging a hub-based topology, developers can reduce the cost and complexity of managing and remotely logging data from multiple monitors. In this way, developers can design systems that meet the cost and reliability of a variety of applications, from high-impact sports monitoring to critical patient heart monitoring in hospitals.
Archana Yarlagadda is an applications engineer at Cypress Semiconductor specializing in Programmable System on Chip (PSoC) application designs.






