- 系留模式: 用户可使用USB-C电缆将健康传感器平台连接到基于PC的GUI。该模式支持电路板上安装的全部传感器，包括ECG、光学和温度传感器。GUI提供运行快速演示(使用默认寄存器设置)的选项，以及通过更改各个传感器或模拟前端的寄存器设置，详细评估各个传感器。
- 非系留模式(离线):健康传感器平台收集数据并将其保存到板载闪存，随后即可下载数据，进行后期处理。该模式要求像系留模式一样将健康传感器平台连接PC GUI，以配置传感器和向板载闪存写入任务；随后即可断开，离线执行。工作在该模式时，必须安装电池支架和纽扣电池(不含)。
- 非系留模式(实时): 客户可实时将数据流化传输到Android (备有app可供下载)。我们提供了一些演示功能，介绍如何将平台连接到app。客户可利用提供的源代码开发自己的app，以满足具体需求。app支持以下功能：:
支持ARM mbed开发环境，适用于希望自定义平台操作的开发者。与平台配套提供的MAXREFDES100HDK#编程适配器提供无需驱动的拖放式编程方法，可用于更新固件，另外也提供虚拟UART接口和CMSIS-DAP兼容调试器。关于固件开发的详细信息和源代码示例，请访问：MAX32620HSP platform page on the ARM mbed developer site。
设计, 制作, 测试
Detailed Hardware Description
The MAX32620 microcontroller lies at the center of the hSensor platform. The following sensors are installed: MAX30003/MAX30004 biopotential analog front-end (AFE), MAX30205 human body temperature sensor, MAX30101 pulse oximeter and heart-rate sensor, LIS2DH 3-axis accelerometer, LSM6DS3 3D accelerometer and 3D gyroscope, and BMP280 absolute barometric pressure sensor.
The hSensor platform can be powered by a USB connection or by a CR2032-type coin cell battery. When both USB and coin cell are attached the power is drawn from the USB due to MOSFET/Schottky diode at Q4. If a coin cell is attached without USB the coin cell is used to power the hSensor platform.
The hSensor platform uses a MAX14720 PMIC for the majority of the power management. The PMIC has internal programming such that a 3-second button press at SW1 turns the device on. A 20-second press at SW1 turns the PMIC off.
The PMIC has a power-on configuration that provides 1.2V, 1.8V and VSYS voltages. Here VSYS comes from SWOUT, which in turn comes from the battery or USB through the PMIC pin SWIN. After power-up, the microcontroller configures the PMIC for a boost voltage of 3.3V, which appears at the HVOUT pin.
While the PMIC provides the majority of power management there are some additional power supply chips. The temperature sensors are powered by a MAX8880 LDO, which is powered by HVOUT (3.3V) and regulates this down to 2.5V. The PMIC itself is fed by a MAX8881 3.3V LDO when the hSensor is attached to USB.
Mode selection signals
The hSensor platform uses the USB type C connector for debug (programming) and accessory signals. In some circumstances, these signals would contend with a USB host, so there is circuity to isolate these signals as needed.
The MAX9064 has an internal comparison voltage of 0.2V and two of them are used to monitor the USB pins A5 and B5 (typically designated as CC/VCONN). The USB A5 and B5 pins have 5.1kΩ pulldowns on the HSP board, a USB cable has a 56kΩ pullup on only pin A5 and a debug adapter board has 56kΩ pullups on both pin A5 and B5.
The following table indicates how the hSensor platform self-configures based on the USB A5 and B5 pins.
|USB Pin A5||USB Pin B5||Mode||Connection|
|Low||Low||Accessory||VIO and UART enabled by micro|
|Low||High||USB Cable||All accessory signals isolated|
|High||High||Debug||SWD, RST, VIO, and UART enabled|
The MAX32620 is a 32-bit ARM® Cortex®-M4F (M4 plus floating point unit) microcontroller, suited for emerging medical and fitness applications. The architecture combines high-efficiency, signal-processing functionality with low cost, and ease of use. The device features 4 powerful and flexible power modes. Built-in dynamic clock gating and firmware controlled power gating minimize power consumption for any application. Multiple SPI, UART, and I2C serial interfaces, as well as a 1-Wire® master and USB, allow for interconnection to a wide variety of external sensors. A four-input, 10-bit ADC with selectable reference is provided.
Refer to the MAX32620 data sheet for details and design resources including evaluation kit, developing tools & user guides.
MAX30003/MAX30004 Biopotential AFE
The MAX30003/MAX30004 is a complete, biopotential AFE solution for wearable applications. It offers high performance for clinical and fitness applications, with ultra-low power for long battery life. The MAX30003/MAX30004 is a single biopotential channel providing ECG waveforms and heart-rate detection.
The biopotential channel has ESD protection, EMI filtering, internal lead biasing, DC leads-off detection, ultra-low power leads-on detection during standby mode, and extensive calibration voltages for built-in self-test. Soft power-up sequencing ensures no large transients are injected into the electrodes. The biopotential channel also has high-input impedance, low noise, high CMRR, programmable gain, various low-pass and high-pass filter options, and a high resolution analog-to-digital converter (ADC). The biopotential channel is DC coupled, can handle large electrode voltage offsets, and has a fast recovery mode to quickly recover from overdrive conditions, such as defibrillation and electrosurgery.
The MAX30003/MAX30004 interface is compatible with SPI/QSPI™/Micro-wire/DSP. In the hSensor platform, the MAX30003/MAX30004 communicates with the MAX32620 microcontroller through an SPI bus.
The MAX30003/MAX30004 is available in a 28-pin TQFN and 30-bump wafer-level package (WLP), operating over the 0°C to +70°C commercial temperature range.
For users who want to connect the ECG cables for measurement, remove R6, R21, R44, and R45 on the sensor board. Solder ECG cables on ECGP and ECGN pads on the sensor board.
Refer to the MAX30003/MAX30004 data sheet for details.
MAX30205 Human Body Temperature Sensor
The hSensor board has two MAX30205 installed, one on the top side and one on the bottom side.
The MAX30205 temperature sensor accurately measures temperature and provides an overtemperature alarm/interrupt/shutdown output. This device converts the temperature measurements to digital form using a high-resolution, sigma-delta ADC. The accuracy of the MAX30205 meets the clinical thermometry specification of the ASTM E1112 when soldered on the final PCB. Communication is through an I2C-compatible, 2-wire serial interface.
The I2C serial interface accepts standard write byte, read byte, send byte, and receive byte commands to read the temperature data and configure the behavior of the open-drain overtemperature shutdown output.
The MAX30205 features three address select lines with a total of 32 available addresses. The sensor has a 2.7V to 3.3V supply-voltage range, low-600µA supply current, and a lockup-protected I2C-compatible interface that make it ideal for wearable fitness and medical applications.
In the hSensor platform, the top side MAX30205 (U2) I2C address is 0b1001-001x, the bottom side MAX30205 (U12) I2C address is 0b1001-000x.
This device is available in an 8-pin TDFN package and operates over the 0°C to +50°C temperature range.
Refer to the MAX30205 data sheet for details.
Quick Start Guide for PC Application
Download the latest MAXREFDES100# PC GUI program MAXREFDES100SWxxx.zip and serial driver MAXREFDES100SerialDriverxxxx.zip located at the MAXREFDES100# web page.
- MAXREFDES100# board
- A PC with a spare USB port
- One USB type A to C cable
The MAXREFDES100# board is fully assembled and tested. Use the following steps below to verify proper board operation.
- Unzip the hSensor serial port driver MAXREFDES100SerialPortDriverxxxx.zip to a local folder. MAXREFDES100SerialPortDriverxxxx.zip to a local folder.
- Unzip the PC GUI program MAXREFDES100SWxxx.zip to a local folder and run MAXREFDES100SWxxx.exe to install the program on the PC.
- Run the GUI program and ignore the following pop up window. Click OK to continue.
Figure 2. Connection Issue window.
- Click Cancel button on the following pop up window:
Figure 3. Connection window 1.
- The GUI program should appear as follow:
Figure 4. Hardware Not Connected window.
- Connect the hSensor board to the PC with the USB A to C cable.
- Press and hold the SW1 switch on the hSensor board for 3 seconds and then release. During this time, the PC looks for the device driver for the hSensor if the Maxim hSensor serial driver has not been installed on this computer.
- Open the Device Manager window, the hSensor is enumerated as CDC Device as shown in the following window:
Figure 5. Device Manager window 1.
- Right click CDC DEVICE and then click Update Driver Software... to finish the driver installation. The driver is located where MAXREFDES100SerialPortDriverxxxx.zip was unzipped.
- After the driver installation is done, the hSensor is enumerated as a serial port and the Device Manager should display as below:
Figure 6. Device Manager window 2.
- Go back to the hSensor GUI program, click Device menu, and then click Connect menu item, the GUI program should be connecting to the hSensor hardware. The following window should appear. Check the status bar, verify the hardware is connected.
Figure 7. Home tab.
- In the future sessions, launch the GUI program by clicking the Startmenu and selecting the Maxim Integrated folder and then selecting Health Sensor Platform software icon. The GUI should automatically connect to the sensor board. If a connection screen pops up, select the right serial port number and click the Connect button as shown below:
Figure 8. Connection window 2.
Detailed Software Description
The GUI program enables users to quickly configure and evaluate the sensors' features. It also provide intuitive graphs for data collection and visualization.
The File menu lets a user exit the application.
The Device menu lets a user connect and disconnect the hSensor hardware from the GUI program.
The Options menu lets a user show or hide the MAX30003/MAX30004 register names on the GUI, load or save device register settings, and enable or disable Advanced tab.
The Logging menu lets a user log ECG, R-to-R, optical, and accelerometer sensor data in a CSV file format.
The Help menu shows the program information.
TheHome tab sheet (Figure 7) displays the block diagram of the hSensor platform hardware, it also provides quick links to navigate to other tab sheets.
The Optical tab sheet (Figure 9) is used to configure the MAX30101 optical sensor parameters. It includes the sensor mode configuration, sensor ADC configurations, and LED settings. It also has graphs to show ADC codes and the LIS2DH accelerometer measurements. Click Start Monitor button to plot optical and acceleration measurements. Click Stop Monitor button to stop the measurements. . Click Start Monitor button to plot optical and acceleration measurements. Click Stop Monitor button to stop the measurements.
Figure 9. Optical tab.
The Temperature tab sheet (Figure 10) controls the two MAX30205 temperature sensors on the top and bottom sides of the hSensor board.
Figure 10. Temperature tab.
ECG Channel Tab
The ECG Channel tab sheet (Figure 11) controls the MAX30003/MAX30004 ECG channel and R-to-R settings.
Figure 11. ECG Channel tab.
ECG MUX Tab
The ECG MUX tab sheet (Figure 12) controls the MAX30003/MAX30004 input multiplexers' settings. A typical setting is shown below:
Figure 12. ECG MUX tab.
Best Practices for Measuring ECG
- When streaming data to the GUI using the USB-C cable, use a laptop running from battery power to eliminate the noise from the power supply and to avoid being patient connected because isolation is not built into the Health Sensor Platform.
- Disconnect other devices from the laptop such as monitors and projectors to reduce interference.
- Move the board and ECG cables away from sources of electrical noise and closer to the body where the electrodes are placed.
- Long unshielded ECG cables are very susceptible to picking up noise, so using short and/or twisted ECG cables and keeping them close to the body where the electrodes are reduces coupled noise.
- Shielded ECG cables that are grounded to the PCB might reduce noise coupling.
- Using no ECG cables and moving the PCB close to the body being measured improves performance.
- Connecting a third electrode between the RL position or similar on the body and the VCM test point on the Health Sensor Platform PCB acts as a body bias and reduces coupled noise.
The Plots tab sheet (Figure 13) displays MAX30003/MAX30004 ECG measurement values and input MUX status.
Figure 13. Plots tab.
Flash Log Tab
The Flash Log tab sheet (Figure 14) allows users to configure data logging to flash memory. The Read button reads the current configured settings from flash memory and applies it to the UI. The Erase button clears the data-logging settings. The Write button commits the data log settings to flash memory by selecting the desired logging channels and parameters on this tab. This also clears any data values stored on the flash memory. For optical, and MAX30003/MAX30004 settings, use the drop-down options on their respective tabs. The Advanced button shows the raw command parameters from the UI or settings read from flash memory. The Prefix and Suffix fields allow users to execute custom commands. The Save to File button downloads the data from the flash memory to one or more CSV files. The Write button and Save to File button operations may require a long period of time to complete depending upon the amount of data stored on the flash memory.
Figure 14. Flash Log tab.
The Registers tab sheet (Figure 15) lists all the registers for the MAX30101, MAX30205 (top), MAX30205 (bottom), MAX30003/MAX30004, MAX14720, and the LIS2DH. A user can directly read or write the registers.
Figure 15. Registers tab.
Quick Start Guide for Android Application
The hSensor Android App is a GUI program running on an Android device. The program collects hSensor data and graphically displays it on the device screen. The program communicates with the hSensor hardware through Bluetooth 4.0 Low Energy radio.
- MAXREFDES100# board
- Android device running at least version 4.4
- Android device with Bluetooth 4.0 support
- One CR2032 coin cell battery (optional)
- A PC with a spare USB port (optional if battery powered)
- One USB type A to C cable (optional if battery powered)
- Insert the CR2032 battery into the battery holder B1.
- If no battery is available, connect the hSensor platform hardware to a PC or Mac though a USB type C connector.
- Press and release SW1 switch on the board. The red LED beside the switch should flash.
- Download the latest MAXREFDES100# Android app MAXREFDES100_Androidxxx.zip located at the MAXREFDES100# web page. Unzip it and install it on the device. The app requires Android 4.4 or later.
- Tap the MAXREFDES100 icon to start the hSensor Android App.
Figure 16. Android Application Screenshot 1.
- Tap the Scan button at the bottom of the screen. The scan lists all of the devices currently advertising using Bluetooth 4.0.
- Tap the MAXREFDES100 device in the list to connect to the hSensor platform hardware.
Figure 17. Android Application Screenshot 2.
- The following screen shows up.
The hSensor platform sensors are listed when the device is connected. Temperature, accelerometer and pressure are shown. Heart-rate information can be shown from the MAX30003/MAX30004 ECG device.
The hSensor initially does not contain ECG configuration parameters and the default configuration is ECG and R-to-R enabled with internal self-calibration running at 4Hz so it display as a 240bpm heart rate. The ECG can be custom configured by using the GUI on the ECG Channel, ECG Mux, and the Flash Log tabs shown in Figures 11, 12, and 14. The GUI Advanced button under the Flash Log tab shows the raw command parameters from the UI and allows for further custom configuration. In addition to the ECG parameters, the accelerometer needs to be enabled when writing this configuration into the hSensor. The temperature sensors and pressure sensor is always shown when using the Android app and do not require configuration. The Write button within the GUI commits the new configuration into the hSensor. This configuration is used when pressing the Start button on the Android app.
After the GUI is used to provide ECG configuration, the ECG leads must be connected to the hSensor platform and to the body in order to show a correct reading. After connecting the leads, click the Start button on the screen. The platform starts sampling ECG R-to-R information and displays the resulting heart rate on the screen in addition to the temperature, accelerometer, and barometer data.
The hSensor device may be disconnected by pressing the DISCONNECT button found at the top of the screen.
The MAXREFDES100# firmware is based on an interrupt-driven design model. After power-up, the microcontroller configures the power management device and sensors to their default settings. The microcontroller then waits for remote procedure calls (RPC) from GUI or Android application.
The following is the simplified firmware flowchart:
Figure 19. Firmware Flowchart V10.
1-Wire is a registered trademark of Maxim Integrated Products, Inc.
Android is a registered trademark of Google Inc.
ARM is a registered trademark and registered service mark and Cortex is a registered trademark of ARM Limited.
The Bluetooth word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by Maxim is under license.
QSPI is a trademark of Motorola, Inc.
Windows is a registered trademark and registered service mark of Microsoft Corporation.
|MAX30003||超低功耗、单通道集成生物电势(ECG、R至R检测) AFE||模拟前端(AFE)IC||立即购买||Design Kits|
|MAX32620||超低功耗Arm Cortex-M4，带有基于FPU的微控制器（MCU），带有2MB闪存和256KB SRAM||微控制器(MCU)||立即购买||Design Kits|
|MAXREFDES100#: Health Sensor Platform||117KB||2019-07-09|
|MAXREFDES100#: Health Sensor Platform||5MB||2017-11-03|
|MAXREFDES100#: Health Sensor Platform||458KB||2017-11-03|