Based on MedicalOS, the home health care reference design shows the architecture to develop an in home healthcare system which is hardware agnostic and connect it to the cloud . It consists of the following components:
- ● a FRDM-K64F Kintetis evaluation board connected via TCP/IPv4/v6 to a wireless router,
- a TI Tiva 129 launchpad evaluation board connected via TCP/IPv4/v6 to a wireless router,
- an STM3240g evaluation board connected via TCP/IPv4/v6 to a wireless router,
- a wireless router which is connected to the internet,
- a windows server,
- the UNISON RTOS MedicalOS package,
- and an Android phone.
Home health care is all about remote monitoring and control. These systems are designed to provide feedback such as:
- Did mother fall? An accelerometer output can be used to find this out.
- Did she get up today? A variety of sensors and sensor fusion could provide this data.
- Did she eat?
- Did she take her meds?
- Did she go outside - is she close to home? Where is she?
All of these features can be added to both WearableOS based home health care devices and MedicalOS based more stationary devices. These products are designed specifically for minimizing time to market, minimizing risk and minimizing cost.
In terms of the reference design, the FRDM-K64 represents a home healthcare node in the reference design. Using the UNISON RTOS MedicalOS configuration, this node be expanded to offer additional wireless capabilities including Bluetooth Classic, BLE, 6loWPAN becoming an intelligent wireless gateway for portable health devices.
The STM3240g and the Tiva 129 could also represent home healthcare node in the reference design. Using the UNISON RTOS MedicalOS configuration, these nodes could also be expanded to offer additional wireless capabilities including Bluetooth Classic, BLE, 6loWPAN becoming an intelligent wireless gateway for portable health devices and also have storage and database capabilities often required in these applications.
The evaluation modules all run the home healthcare main application and is intended to collect information and relay it to the cloud. The main protocol to allow many different homes to securely connect to the cloud is MQTT-client which runs over TCP/IPv4/v6 with the full UNISON / MedicalOS security features. It also runs SNTP client.
To show changing data, the FRDM board sends accelerometer data to the server so others may receive this information by first publishing and then writing this data using the MedicalOS MQTT client. To show remote control of the device, a command set is supported which allows the user to change LED colors on the FRDM board. These commands are accepted using a Subscribe in the application and reading the data from the accelerometer when it arrives using the MedicalOS MQTT client.
The wireless router provides a means for the Android phone to connect to the system using WiFi and also provides a connection to the Internet for the server. The reference design is also completely Internet enabled and the Android phone could connect via GPRS, LTE, or another WiFi router.
The server runs MQTT server and SNTP server. Many devices can connect to the sever and send information using publish, subscribe, read and write. Users can see the various events that are sent to the server, the devices that send messages to the server. The MQTT server is Mosquito.
The Android phone runs an off the shelf application which allows it to subscribe to data from the MQTT server (using WiFi or over the Internet), publish commands to the server, and read and write data to/from the server. This is exactly what a home health care system needs to do. Using these commands the user can change the LED color on the FRDM-K64 or watch the accelerometer data from the board. It can do similar things for the Tiva 129 but because the sensor board is included with a battery, there is more data to be read. In a similar fashion the ST3240g can be the main hub for a home with remote phone control.