Therapeutic Exercise Platform for Type-2 Diabetic Mellitus

Exercise enables continuous glycemic control for diabetic patients, and it is effective in preventing diabetic complications and maintaining emotional stability. However, it is difficult for diabetic patients to know the appropriate intensity and duration of exercise. Excessive exercise causes sudden hypoglycemia, and patients avoid therapeutic exercise or perform it conservatively owing to the repeated hypoglycemia symptoms. In this paper, we propose a new therapeutic exercise platform that supports type 2 diabetes patients to exercise regularly according to the exercise prescription received from the hospital. The proposed platform includes the following three significant contributions. First, we develop a hardware platform that automatically tracks and records all aerobic exercise performed by a patient indoors or outdoors using a wearable band and aerobic exercise equipment. Second, we devise a patient-specific exercise stress test to know whether the patient is exercising according to his or her usual exercise regimen. Finally, we develop a mobile application that informs patients in real-time whether they are exercising appropriately for their exercise regimen each time they exercise. For platform evaluation and future improvement, we received satisfaction ratings and functional improvements through a questionnaire survey on 10 type 2 diabetes patients and 10 persons without a diabetes diagnosis who had used the proposed platform for more than 3 months. Most users were (1) satisfied with automatic exercise recording, and (2) exercise time increased. Diabetics reported that their fasting blood glucose was dropped, and they were more motivated to exercise. These results prove that exercise must be combined with medication for blood glucose management in chronic diabetic patients. The proposed platform can be helpful for patients to continue their daily exercise according to their exercise prescription.


Introduction
Type 1 diabetes is caused by a lack of insulin, which controls blood glucose levels in the body due to inherited genetic traits, lifestyle, and aging. Type 2 diabetes is caused by a combination of resistance to insulin action and an inadequate compensatory insulin secretory response. The number of type 2 diabetic patients is increasing rapidly because of the increasing elderly population and lifestyle changes. Complications are more dangerous than diabetes itself, such as kidney disease, retinopathy, and neurological disorders. Diabetic patients commonly experience emotional stress when blood glucose management is neglected, such as anxiety, depression, and regret [1,2]. Mental stress and physical pain make the patient's quality of life worse when diabetes develops into a chronic disease. It is essential to develop a convenient and accurate blood glucose management program that helps diabetic patients to manage their blood glucose levels by themselves [3,4].
The purpose of diabetes treatment is to keep blood glucose levels within the normal range, that is, diabetes self-management. The key is balancing between lifestyle habits that affect blood glucose. The patient should exercise regularly, control diet to maintain adequate calories, and take diabetes medications. Blood glucose monitoring can help the patient understand the link between blood glucose, food, exercise, and medication. Furthermore, the patients should try to improve their poor lifestyle continuously.
Most diabetic patients take their diabetes medications on time. The patients who manage blood glucose well should record blood glucose readings before and after meals and the amount of food consumed. It will help balance food intake and blood glucose levels. In addition, exercise is another lifestyle that significantly affects blood glucose levels. However, it is hard to record precisely the exercise performed by the patient and to calculate the patient's appropriate amount of exercise. Although there have been many studies on the relationship between exercise and blood glucose levels for decades, the number of mobile applications that patients can use for blood glucose management are few or limited.
A therapeutic exercise significantly affects the patient's emotional stability, reducing the risk of cardiovascular disease which is related to complications. However, it is difficult for diabetic patients to know the appropriate intensity and duration of exercise due to fear of hypoglycemia caused by excessive exercise and different physical conditions for each individual. Therefore, most diabetic patients are less aware of the importance of therapeutic exercise [5]. Most previous studies about therapeutic exercise have attempted to analyze the effect of exercise on blood glucose levels [6][7][8][9][10]. They attempted to determine the appropriate intensity, duration, frequency of exercise for blood glucose management in diabetics. Several studies considered exercise therapy for diabetic patients, focusing mainly on aerobic exercise using a treadmill, ergometer, or stepper; or exercising without a device, such as walking or running.
A study using an ergometer showed a comparison of the reduction in blood glucose levels after exercise in healthy people and diabetics [11]. According to this study, both diabetic patients and persons without a diabetes diagnosis have lower blood glucose levels after exercise than pre-exercise blood glucose levels. However, after 60 minutes of exercise in persons without a diabetes diagnosis, blood glucose levels were not significantly different from before exercise. In contrast, after 60 minutes of exercise in diabetic patients, blood glucose levels were up to 80% before exercise. This fact indicates that exercise helps people with diabetes manage their blood glucose levels. A study on blood glucose response concerning exercise intensity for type 1 diabetes patients [12] showed that high-intensity exercise made patients more sensitive to exercise intensity immediately after exercise. It also presented that moderate-intensity and intermittent high-intensity exercise program reduces blood glucose levels more effectively than continuous moderate-intensity exercise. Resistance exercise using a band or similar device has also been effective, particularly for type 2 diabetic patients who have difficulty with aerobic exercise [13].
Although most patients agreed that they should perform regular exercise individually at home, research on developing a continuous healthcare system supporting this is insufficient. This paper proposes a therapeutic exercise platform to help diabetic patients exercise with appropriate exercise intensity when walking or running outdoors or using aerobic exercise equipment indoors. Patients diagnosed with diabetes receive an appropriate exercise prescription in the hospital. As time passes after receiving an exercise plan, the patient's condition changes. It is difficult for the patient to know the appropriate exercise intensity.
The proposed platform provides an exercise program to achieve prescribed exercise goals. It automatically obtains heart rate and exercise information during exercise session and supports a real-time monitoring mode to ensure that the patient is exercising correctly. In addition, a patient's health and fitness will change over time. The proposed platform also provides an exercise stress test mode to adjust the exercise intensity according to the current patient's condition. Figure 1 shows the exercise sequence of the proposed platform.
(1) The patient visits a hospital and receives an exercise prescription after an exercise stress test. It includes the type of exercise, specific workloads, duration, and frequency of exercise sessions for their blood glucose management.
Electronics 2021, 10, 1820 3 of 22 (2) The proposed platform sets the patient's exercise program according to the exercise prescription. Then, it provides the program during the exercise session.
(3) The patient exercises during the exercise session according to the exercise program. The proposed platform automatically obtains heart rate and exercise information and provides them in real-time to check their exercise.
(4) At the end of the exercise session, the proposed platform evaluates whether the patient exercised according to the exercise prescription. If the difference is significant, the platform fine-tunes the exercise program to maintain the original exercise prescription with additional exercise stress testing.
(1) The patient visits a hospital and receives an exercise prescription after an exer stress test. It includes the type of exercise, specific workloads, duration, and frequenc exercise sessions for their blood glucose management.
(2) The proposed platform sets the patient's exercise program according to the e cise prescription. Then, it provides the program during the exercise session.
(3) The patient exercises during the exercise session according to the exercise p gram. The proposed platform automatically obtains heart rate and exercise informa and provides them in real-time to check their exercise.
(4) At the end of the exercise session, the proposed platform evaluates whether patient exercised according to the exercise prescription. If the difference is significant, platform fine-tunes the exercise program to maintain the original exercise prescrip with additional exercise stress testing.
As a result, the proposed platform helps the patient exercise while maintaining initial goal by adjusting the exercise program, even if the patient's condition or exer sensitivity changes from when receiving an exercise prescription. This paper presents hardware configuration, the exercise stress test for adjustment of the exercise progr and the user application of the proposed platform. To develop this platform, we built a hardware system that monitors patient mo ment indoors and outdoors. The proposed platform analyzes the patient's exercise adjusts the exercise intensity according to the result to provide the patient with an exer session. A total of 10 diabetic patients and 10 persons without a diabetes diagnosis u the proposed platform for 3 months, and we analyzed the effectiveness of the propo platform through their survey.

Therapeutic Exercise and Blood Glucose Management
Most self-managed programs for diabetes support balancing between physical e cise, insulin dosage or medication, blood glucose monitoring, and diet. Each patient different physical strength, and the effect of exercise on blood glucose levels is also dif ent. Therefore, most patients consider exercise as a supplemental glycemic con method. It is essential to study the effect of exercise on blood glucose levels to use exer as an effective glycemic control method. In particular, it is crucial to develop a therape exercise program that can recommend an exercise suitable for glycemic control to patie according to their preferred exercise pattern and individual exercise ability.
For decades, many kinds of research have been conducted to use therapeutic exer for blood glucose management [14][15][16][17][18][19][20][21][22]. The aim of therapeutic exercise for diabetic As a result, the proposed platform helps the patient exercise while maintaining the initial goal by adjusting the exercise program, even if the patient's condition or exercise sensitivity changes from when receiving an exercise prescription. This paper presents the hardware configuration, the exercise stress test for adjustment of the exercise program, and the user application of the proposed platform.
To develop this platform, we built a hardware system that monitors patient movement indoors and outdoors. The proposed platform analyzes the patient's exercise and adjusts the exercise intensity according to the result to provide the patient with an exercise session. A total of 10 diabetic patients and 10 persons without a diabetes diagnosis used the proposed platform for 3 months, and we analyzed the effectiveness of the proposed platform through their survey.

Therapeutic Exercise and Blood Glucose Management
Most self-managed programs for diabetes support balancing between physical exercise, insulin dosage or medication, blood glucose monitoring, and diet. Each patient has different physical strength, and the effect of exercise on blood glucose levels is also different. Therefore, most patients consider exercise as a supplemental glycemic control method. It is essential to study the effect of exercise on blood glucose levels to use exercise as an effective glycemic control method. In particular, it is crucial to develop a therapeutic exercise program that can recommend an exercise suitable for glycemic control to patients according to their preferred exercise pattern and individual exercise ability.
For decades, many kinds of research have been conducted to use therapeutic exercise for blood glucose management [14][15][16][17][18][19][20][21][22]. The aim of therapeutic exercise for diabetic patients is to increase insulin sensitivity. It is to mitigate or ideally to prevent diabetes complications. Insulin secretion decreases as the prevalence period of diabetes increases and fasting plasma glucose increases. Pan et al. presented that long-term regular exercise can improve lipid metabolism by reducing blood glucose levels and increasing insulin sensitivity to muscles, thereby improving various risk factors such as arteriosclerosis [14]. Oshida Additionally, they concluded that aerobic exercise, including resistance one, can improve insulin resistance and quality of life [15]. Table 1 summarizes recent findings regarding how long-term regular aerobic and resistance exercises help manage patients' blood glucose levels [16][17][18][19]. Diabetic patients should perform exercise stress tests and receive exercise prescriptions before starting exercise. Resistance exercise is a fundamental factor in exercise prescription constituted by exercise modality. In this paper, only aerobic exercise is focused as the main exercise factor. The three essential factors in exercise prescription are the intensity, duration, and frequency of exercise. These are all quantitative conditions, and highlighting one condition can increase the effectiveness of exercise. In particular, the most important thing is the exercise intensity [23].
Many studies have been conducted to determine the appropriate exercise intensity. In general, exercise intensity should be based on the anaerobic threshold measured by cardiopulmonary exercise testing (CPX) [24]. The test is both expensive and time-consuming, and most exercise facilities do not have a respiratory gas analyzer. Instead of CPX, it is possible to set the desired training intensity, expressed as a % of maximum heart rate, HR max , with the Karvonen formula.
First, target heart rate (THR) is obtained from Karvonen's formula. The maximum heart rate is roughly estimated using Equation (1). The heart rate reserve (HRR) is obtained from subtracting resting heart rate, HR rest , from HR max as Equation (2). Target heart rate is calculated from predicted heart rate reserve, exercise intensity, and resting heart rate using Equation (3).
HR max = 220 -age (1) where Exercise intensity is the constant number of exercise intensity and is the coefficient determined by a value ranging from 0.3 to 0.8 based on the desired exercise intensity. HR max describes the highest heart rate achieved by a subject exercising to exhaustion and is verified by a plateau of heart rate [25]. In the literature, HR max refers to the peak heart rate at the termination of a graded maximal exercise test [26,27]. HR max predicted by age alone may be practically convenient for the various groups. However, the magnitude and possible modifying effect are not fully established. Nes et al. presented that HR max was linearly and inversely related to age explained by the formula; 211 − (0.64 × age). Gellish et al. suggested 206.9 -(0.67 × age), which has become the de-facto standard approach to determine maximum heart rate [28].
The simplest method is the Bogs scale method, which scores the feeling of difficulty during exercise: 13 = a little hard, 15 = hard, etc. However, the myocardial burden, i.e., the burden on the heart depending on aerobic exercise type, cannot be the same for all patients, even if the exercise prescription sets the correct exercise intensity based on heart rate or maximum oxygen intake or user awareness.
Exercise intensity for diabetic patients is evaluated by the amount of oxygen intake or heart rate during an exercise stress test. The American Diabetes Association recommends that appropriate exercise intensity for diabetic patients is 50-70% of HR max , whereas the Japanese Medical Association recommends 40-60% of HR max as optimal exercise intensity for type 2 diabetics [29]. Appropriate exercise intensity in Korean diabetic patients was determined after deriving patient HR max or maximum oxygen intake through an exercise stress test [30]. Regression analysis using data from 581 diabetic patients determined by Equation (4).
MET (metabolic equivalents) and RPE (ratings of perceived exertion) must be considered for each exercise device to include individual deviations. Exercise duration and frequency must also be considered, and exercise type and duration should be tailored to individual patient circumstances.
The exercise test is mainly performed on aerobic exercise equipment, such as ergometers and treadmills. Treadmills provide exercise load with walking slope and speed, while ergometers provide exercise load with pedal resistance and speed. Vital signs, such as blood pressure and heart rate, are measured during the exercise stress test. Blood glucose levels are also monitored before and after exercise to analyze the relationship between exercise load and blood glucose levels.
Several studies have shown that blood glucose levels decrease during high or mediumintensity exercise [13,[31][32][33][34]. The intermittent high-intensity exercise produced more significant blood glucose level reduction than continuous moderate-intensity exercise. Blood glucose reduction due to exercise was proportional to exercise intensity and time. Thus, moderate and intermittent high-intensity exercise for 45 minutes or more is beneficial for blood glucose than high-intensity exercise for a short period.
In general, when diabetes is diagnosed, the appropriate amount of exercise considering the patient's physical strength is determined through CPX. However, if the patient repeats the same intensity for a long time, the patient's exercise ability should be improved. In practice, a method other than CPX is needed to predict AT (anaerobic threshold) and determine exercise intensity. The best way is to develop an exercise platform that allows patients to determine the exercise intensity using their aerobic exercise equipment easily. While the patient is exercising like always, the exercise information and the heart rate are obtained automatically. After the exercise intensity is determined using the obtained information, the result is notified to the patient. Because the patient can test easily, exercise tests can be performed whenever they feel that their exercise ability has changed. Consequently, it can help the patient quickly know the appropriate exercise intensity.

Proposed Therapeutic Exercise Platform
This study proposes a system that supports diabetic patients to manage their blood glucose levels using the proposed therapeutic exercise platform, as shown in Figure 2. The proposed system has three main functions.
proposed system has three main functions.
1. Automatically obtain exercise information whenever patients exercise outdoors or indoors. 2. Analyze the change of exercise ability due to the long-term exercise regime, i.e., a simple exercise stress test that allows the user to test their athletic ability. 3. Provide exercise coaching that informs the user whether they are exercising appropriately during a session.
The proposed exercise platform is composed mainly of hardware parts and smartphone applications. The hardware part serves to acquire exercise information and heart rate during exercise automatically. The smartphone application provides a simple exercise test and real-time exercise monitoring results using the hardware part's information. Each of them is described in detail below.

Hardware Configuration of the Proposed Therapeutic Exercise Platform
The proposed platform supports therapeutic exercise for blood glucose management based on aerobic options, i.e., jogging and walking outdoors and using a stationary bike or treadmill indoors. During the exercise session, the proposed platform automatically acquires exercise information such as exercise type, speed, and exercise time. It transfers the data to the proposed smartphone application in real-time.
The hardware configuration of the proposed platform includes five elements, as shown in Figure 2a. First, it uses a radio frequency identification (RFID) module to identify the user, which is embedded into the exercise equipment. Second, it uses a wearable band or ear-clip heart rate sensor to check heart rate during the exercise session. Third, the wearable band is responsible for monitoring outdoor exercise, including the heart rate of patients. Fourth, an exercise data acquisition (DAQ) device is added to the exercise devices to monitor the indoor aerobic exercise. Finally, glucometers are used to record the blood glucose readings. Figure 3 shows the data flow of the proposed therapeutic exercise platform. The collected data is calculated as necessary information, and then it is stored in the internal memory of each device. When the smartphone and each device are synchronized, this information is transmitted to the smartphone application.

1.
Automatically obtain exercise information whenever patients exercise outdoors or indoors.

2.
Analyze the change of exercise ability due to the long-term exercise regime, i.e., a simple exercise stress test that allows the user to test their athletic ability.

3.
Provide exercise coaching that informs the user whether they are exercising appropriately during a session.
The proposed exercise platform is composed mainly of hardware parts and smartphone applications. The hardware part serves to acquire exercise information and heart rate during exercise automatically. The smartphone application provides a simple exercise test and real-time exercise monitoring results using the hardware part's information. Each of them is described in detail below.

Hardware Configuration of the Proposed Therapeutic Exercise Platform
The proposed platform supports therapeutic exercise for blood glucose management based on aerobic options, i.e., jogging and walking outdoors and using a stationary bike or treadmill indoors. During the exercise session, the proposed platform automatically acquires exercise information such as exercise type, speed, and exercise time. It transfers the data to the proposed smartphone application in real-time.
The hardware configuration of the proposed platform includes five elements, as shown in Figure 2a. First, it uses a radio frequency identification (RFID) module to identify the user, which is embedded into the exercise equipment. Second, it uses a wearable band or ear-clip heart rate sensor to check heart rate during the exercise session. Third, the wearable band is responsible for monitoring outdoor exercise, including the heart rate of patients. Fourth, an exercise data acquisition (DAQ) device is added to the exercise devices to monitor the indoor aerobic exercise. Finally, glucometers are used to record the blood glucose readings. Figure 3 shows the data flow of the proposed therapeutic exercise platform. The collected data is calculated as necessary information, and then it is The hardware part of the proposed platform acquires exercise information and heart rate information whenever a patient exercises. The hardware part obtains information by dividing outdoor exercise and indoor exercise.
During exercise, the patients monitor various exercise factors using the proposed hardware configuration. The device configuration differs depending on the outdoor exercise and indoor exercise using a stationary bike and treadmill. When the patients perform jogging or walking outdoors, a wearable band acquires exercise and heart rate information by itself. When exercising indoors, the patient first identifies the user of the exercise equipment using their RFID tag containing their information. Then, they start to exercise using exercise equipment, including DAQ, to obtain the exercise information automatically. They also wear a wearable band or ear-clip heart rate sensor to measure their heart rate.
First, we describe the hardware configuration and operation for outdoor exercise. The proposed platform can monitor outdoor exercise using commercial wearable bands such as Xiaomi's MiBand [35]. They incorporate low-power processors, inertial sensors, and optical biosensors connected to a smartphone through a Bluetooth network. These can measure the number of steps and heart rate and store the obtained data in their memory, with append data synchronization time stored separately. The sum of the magnitudes of the acceleration vectors, EA is calculated as Equation (5).
where x, y, and z are signal values along each axis. An interrupt signal is generated when EA > threshold (held in the sensor memory), and the processor then classifies behavior type by interrupt occurrence frequency. The wearable band starts at the start stage and precedes system initialization as shown in Figure 4. By executing Global variable unit (), System setup (), and Bluetooth setup (), system-wide variables are initialized, processor I/O pins are set, and Bluetooth profiles are set, respectively. Then, the smartphone application initiates information synchronization with the wearable band over a Bluetooth network when it is connected. Next, it compares the data stored by the wearable band and the smartphone application. If the data are matched, it ends immediately. Otherwise, it starts to perform the data synchronization process after device authentication of the wearable band.
In the wearable band, every information is determined through the occurrence time interval when a sensor interrupt signal is generated from the three-axis MEMS (microelectro-mechanical system) accelerometer. If it does not occur, the system switches the processor to deep sleep mode to reduce power consumption. The wearable band begins to calculate the number of steps by performing the Data processing () process if the interrupt occurs. Patient physical activity information is automatically transmitted to the smartphone, including walking count, heart rate, and sleeping time. Thus, exercise start The hardware part of the proposed platform acquires exercise information and heart rate information whenever a patient exercises. The hardware part obtains information by dividing outdoor exercise and indoor exercise.
During exercise, the patients monitor various exercise factors using the proposed hardware configuration. The device configuration differs depending on the outdoor exercise and indoor exercise using a stationary bike and treadmill. When the patients perform jogging or walking outdoors, a wearable band acquires exercise and heart rate information by itself. When exercising indoors, the patient first identifies the user of the exercise equipment using their RFID tag containing their information. Then, they start to exercise using exercise equipment, including DAQ, to obtain the exercise information automatically. They also wear a wearable band or ear-clip heart rate sensor to measure their heart rate.
First, we describe the hardware configuration and operation for outdoor exercise. The proposed platform can monitor outdoor exercise using commercial wearable bands such as Xiaomi's MiBand [35]. They incorporate low-power processors, inertial sensors, and optical biosensors connected to a smartphone through a Bluetooth network. These can measure the number of steps and heart rate and store the obtained data in their memory, with append data synchronization time stored separately. The sum of the magnitudes of the acceleration vectors, E A is calculated as Equation (5).
where x, y, and z are signal values along each axis. An interrupt signal is generated when E A > threshold (held in the sensor memory), and the processor then classifies behavior type by interrupt occurrence frequency. The wearable band starts at the start stage and precedes system initialization as shown in Figure 4. By executing Global variable unit (), System setup (), and Bluetooth setup (), system-wide variables are initialized, processor I/O pins are set, and Bluetooth profiles are set, respectively. Then, the smartphone application initiates information synchronization with the wearable band over a Bluetooth network when it is connected. Next, it compares the data stored by the wearable band and the smartphone application. If the data are matched, it ends immediately. Otherwise, it starts to perform the data synchronization process after device authentication of the wearable band.
In the wearable band, every information is determined through the occurrence time interval when a sensor interrupt signal is generated from the three-axis MEMS (microelectro-mechanical system) accelerometer. If it does not occur, the system switches the processor to deep sleep mode to reduce power consumption. The wearable band begins to calculate the number of steps by performing the Data processing () process if the interrupt occurs. Patient physical activity information is automatically transmitted to the smartphone, including walking count, heart rate, and sleeping time. Thus, exercise start time, duration, speed per minute, and end time are derived from the number of steps whenever the patient performs aerobic exercise such as running or walking outdoors. The only exception is a command to measure heart rate. It acts as an external interrupt, Ext.interrupt, and it is transmitted to the wearable band periodically. After this interrupt is received, the wearable band is activated. The acquired heart rate is stored together with time in its internal memory.

PEER REVIEW 8 of 23
time, duration, speed per minute, and end time are derived from the number of steps whenever the patient performs aerobic exercise such as running or walking outdoors. The only exception is a command to measure heart rate. It acts as an external interrupt, Ext.interrupt, and it is transmitted to the wearable band periodically. After this interrupt is received, the wearable band is activated. The acquired heart rate is stored together with time in its internal memory. Second, we use exercise equipment such as stationary bikes and treadmills for indoor exercise. We devised an exercise DAQ board for indoor aerobic exercise equipment to obtain exercise information. The proposed DAQ was linked with a smartphone and wearable band through a Bluetooth network to acquire detailed exercise information, such as exercise start time, duration, end time, exercise load (each minute), and heart rate, in realtime whenever the patient exercised [3]. The mainboard of DAQ is an Intel Curie board, which has a built-in NRF51822 BLE chipset from Nordic [36]. We adopt the magnetic sensor as the SainSmart hall sensor module and the heart rate sensor as the Grove ear-clip heart rate sensor [37,38].
The exercise information acquisition device fabricated in this paper was attached to a treadmill and an ergometer. Table 2 shows the exercise information acquired to help the diabetic patient manage exercise therapy. Exercise start and end times were obtained from the real-time clock module, with average speed, moving distance, exercise load (average heart rate), and calories consumed calculated from the DAQ information. Table 2 shows exercise information that was transmitted in real-time when the smartphone was connected. The data was summarized and automatically stored in the memory unit. Second, we use exercise equipment such as stationary bikes and treadmills for indoor exercise. We devised an exercise DAQ board for indoor aerobic exercise equipment to obtain exercise information. The proposed DAQ was linked with a smartphone and wearable band through a Bluetooth network to acquire detailed exercise information, such as exercise start time, duration, end time, exercise load (each minute), and heart rate, in real-time whenever the patient exercised [3]. The mainboard of DAQ is an Intel Curie board, which has a built-in NRF51822 BLE chipset from Nordic [36]. We adopt the magnetic sensor as the SainSmart hall sensor module and the heart rate sensor as the Grove ear-clip heart rate sensor [37,38].
The exercise information acquisition device fabricated in this paper was attached to a treadmill and an ergometer. Table 2 shows the exercise information acquired to help the diabetic patient manage exercise therapy. Exercise start and end times were obtained from the real-time clock module, with average speed, moving distance, exercise load (average heart rate), and calories consumed calculated from the DAQ information. Table 2 shows exercise information that was transmitted in real-time when the smartphone was connected. The data was summarized and automatically stored in the memory unit. Exercise amount was obtained from the rotational speed measured by attaching a permanent magnet to the rotating body, as shown in Figure 5 using a hall effect. The processor calculates movement distance, D total , and Instantaneous movement speed, V t as and where C dist is a fixed movement distance constant, N rot is the number of rotation signals, and ∆t is the time difference between the current time, t, and previous time, t − 1, when the processor recognized the magnetic field monitoring signal from the sensor. where Cdist is a fixed movement distance constant, Nrot is th and Δt is the time difference between the current time, t, an the processor recognized the magnetic field monitoring sign    Figure 6 shows the motion information acquisition operation. All system variables are initialized when booting starts from the system boot loader. System setup includes peripheral I/O setup, Bluetooth profile setup, memory index processing, and display initialization. Bluetooth connection is checked after initialization completes. The system only measures and stores exercise information if it is not connected, whereas real-time information transmission and synchronization are also performed if it is connected.
The proposed indoor aerobic exercise monitoring method is as follows.

1.
The user wears an exercise band or Bluetooth low energy (BLE) based heart rate monitor and starts exercising.

2.
The band identifies the user to the exercise equipment through the RFID tag.

3.
The proposed exercise monitoring system recognizes exercise commencement when the rotating body starts to rotate and initializes user status and start date, and time.

4.
The proposed DAQ device collects exercise information during exercising: instantaneous exercise speed every second, heart rate every minute.

5.
Each exercise equipment stores user identification, date, start time, end time, duration, type, distance, speed per minute, and total distance. It also stores user biometric information, including exercise intensity and heart rate change per minute. The obtained information is transmitted to the smartphone in real-time.  Figure 6 shows the motion information acquisition operation. All system variables are initialized when booting starts from the system boot loader. System setup includes peripheral I/O setup, Bluetooth profile setup, memory index processing, and display initialization. Bluetooth connection is checked after initialization completes. The system only measures and stores exercise information if it is not connected, whereas real-time information transmission and synchronization are also performed if it is connected. Figure 6. The data synchronization process between aerobic equipment and smartphone application in the proposed therapeutic exercise platform.

Simple Exercise Stress Test to Reflect Changes in the Patient's Athletic Ability
An exercise stress test is often used to diagnose coronary heart disease. In sports medicine, exercise stress testing is presently used to assess physical fitness, determine functional capacity, diagnose cardiac disease, define the prognosis of known cardiac disease, prescribe an exercise plan, and guide cardiac rehabilitation [39][40][41]. Guidelines on whether or not to perform systematic exercise stress tests for diabetic individuals vary according to the region and professional associations [42]. Riebe et al. stated that preparticipation health screening would be based on the individual's current physical activity level, the desired exercise intensity, the presence of symptoms, and his medical history [41,43]. The American Diabetes Association pointed out pre-exercise medical clearance is unnecessary if the patients want to begin low-or moderate-intensity physical activity not exceeding the demands of brisk walking or everyday living [44,45].
In this section, the proposed platform introduces a simple exercise test that calculates the appropriate amount of exercise for patients during their usual exercise. The proposed exercise test is based on either the Karvonen formula or modified Borg RPE. Patients periodically perform the proposed exercise test to determine their moderate exercise intensity and help them exercise at the right intensity.
In general, the exercise test is performed according to protocols. The most common protocol used during the exercise test is the Bruce protocol. The test is performed in a designated lab, supervised by trained healthcare personnel. The patient closed their eyes for 5 minutes, and then their heart rate and blood pressure were measured at rest. The exercise test was terminated if the patient had experienced any subjective symptoms (difficulty breathing, local fatigue, leg pain) or maximum blood pressure increased by 250/115 mmHg (millimeters of Mercury) or more. The test used a treadmill, electrocardiogram (ECG), metabolic cart, blood pressure monitor, perceived exertion, and pulse meter. The modified Bruce protocol is preferred for exercise stress testing, as shown in Table 3 [46]. Its outcomes are well-validated, and exercise capacity measured in MET has a good prognostic value. Kim et al. [47] presented the study to provide valuable data for CR-10 as the RPE. Using these results, we reconstructed as shown in Table 3 as an exercise load test scale for the proposed platform. The test started at low intensity and gradually increased intensity for each step, as shown in Table 3. Borg developed a RPE [48,49]. It is a widely used and reliable indicator to monitor and guide exercise intensity by allowing patients to rate their level of exertion during exercise subjectively. Two RPE scales are commonly used; the original Borg scale (6 to 20 scale) and the revised category-rate scale, CR-10 (0 to 10 scale). A high correlation exists between a person's perceived exertion rating times ten and the actual heart rate during physical activity, so a person's exertion rating may provide a relatively good estimate of the actual heart rate during activity [45]. In the proposed therapeutic exercise platform, we used the CR-10 Borg scale, not the original Borg scale, increasing exercise awareness between 1~3 MET each step. The other most significant advantage of the CR-10 is its easy handling by allowing daily changes in the exercise.
Most patients undergo exercise stress tests in hospitals at the initial diagnosis of diabetes, and they receive appropriate exercise prescriptions. As patients repeat the same intensity exercise for a long time, they feel the exercise intensity gradually lower. Besides, the patient's physical strength varies depending on several factors. To maintain the prescribed intensity of exercise, patients should repeatedly check their exercise stress during their usual exercise. The proposed therapeutic exercise platform supports a simple exercise stress test to check the effect of exercise intensity on heart rate and RPE. It adjusts the exercise intensity according to the results and informs the patient about the adjusted exercise intensity to continue exercising according to the exercise prescription. Figure 7 shows an example of an exercise prescription at the early stages of diabetic diagnosis. After the exercise test, the patient receives the prescribed target heart rate and weekly target exercise intensity based on heart rate, as shown in Figure 7a. Figure 7b shows a look-up table. During the exercise test, the patient's heart rate and the RPE are linked with the exercise intensity at each test step, and they are recorded in a look-up table. This table shows the relationship between the heart rate and exercise speed obtained each time the patient exercised. It is used to tune the exercise speed in the exercise session before the patient exercises.
The proposed exercise test is based on the modified Bruce protocol, and it is conducted for about 20 minutes at the exercise intensity shown in Table 3 using a treadmill or a stationary bike. The patient maintains a low exercise intensity for 9 mins. For the remaining 15 mins, the intensity is increased gradually to reach the target heart rate. During the test, the patient's heart rate, exercise intensity, and RPE are obtained in real-time. A wearable band or ear-clip heart rate sensor is to obtain the heart rate. Exercise intensity and RPE are obtained from the proposed DAQ and chatbot, respectively.
cise stress test to check the effect of exercise intensity on heart rate and RPE. It adjusts the exercise intensity according to the results and informs the patient about the adjusted exercise intensity to continue exercising according to the exercise prescription. Figure 7 shows an example of an exercise prescription at the early stages of diabetic diagnosis. After the exercise test, the patient receives the prescribed target heart rate and weekly target exercise intensity based on heart rate, as shown in Figure 7a. Figure 7b shows a look-up table. During the exercise test, the patient's heart rate and the RPE are linked with the exercise intensity at each test step, and they are recorded in a look-up table. This table shows the relationship between the heart rate and exercise speed obtained each time the patient exercised. It is used to tune the exercise speed in the exercise session before the patient exercises. The patient performs the proposed test by selecting one of the following three methods depending on the available exercise equipment and vital sensors. The first method is based on the modified Bruce protocol, and it is used when the patient has a treadmill suitable for the protocol. The second method is used when the user exercises using a treadmill or indoor bike with a heart rate sensor. The third method is used when the user exercises outdoors or wants to test with RPE with a wearable band. In all cases, patients should measure their resting heart rate, HR rest before the exercise test.
The first method performs an exercise test according to the modified Bruce protocol shown in Table 3. At each stage, the patient's heart rate is measured, and the CR-10 RPE felt by the patient is also recorded. According to the heart rate measured in each stage, the speed and grade are determined as the recommended exercise intensity.
The second method is to perform an exercise test by simply measuring the heart rate in real-time. As shown in Table 3, the patient starts the exercise from the low intensity according to the exercise protocol using a treadmill or a stationary cycle. They perform the exercise for 9 mins when it reaches 58% of the heart rate reserve. Then, the patient increases the exercise intensity until the target heart rate is reached, as shown in Table 3. During the proposed exercise test, the measured heart rate is displayed to the patient. After the examination, the exercise speed of the treadmill or cycle for each stage is recommended as the patient's exercise intensity.
The last method is to perform a simple exercise test with a modified Borg RPE that the patient feels himself. The patient maintains low-intensity exercise on a treadmill or bike for 9 mins before reaching level 1.48 of the modified Borg RPE. As shown in Table 3, the patient increases the exercise speed until the target RPE level is reached and maintains the exercise speed for 3 minutes. The recommended exercise intensity is determined by the average exercise speed of each stage of each RPE recorded.
The proposed test allows the patients to run simply exercise tests whenever necessary. The test result is used to adjust the intensity of exercise to match the patient's exercise ability. Busch et al. [50] presented the classification of physical activity intensity using the 2009 ACSM (American College of Sports Medicine) classifications. Low intensity is classified as 50-63% HRR max . Moderate and vigorous intensities are 64-76% HRR max and 77-93% HRR max , respectively. We considered the appropriate exercise intensity to be sufficient to reach 50-76% HRR max . Additionally, moderate and intermittent medium or high-intensity exercise for 45 min or more is beneficial for blood glucose management. Consequently, patients can adjust their exercise intensity and time after setting the coaching algorithm according to their abilities. We developed a smartphone application to provide an exercise monitoring and coaching program based on their exercise stress test results.

Proposed Real-Time Exercise Monitoring Application
For diabetics, exercise therapy is vital for blood glucose management. However, diabetic patients are less aware of the importance of exercise therapy due to the fear of hypoglycemia caused by excessive exercise and the different physical abilities [4]. This section describes the proposed exercise monitoring and coaching method to inform the patient of the appropriate exercise intensity and exercise time using the proposed therapeutic exercise platform. In this section, exercise intensity refers to the exercise speed according to the patient's heart rate during exercise.
The proposed exercise monitoring and coaching application help diabetics continue to exercise according to a prescribed exercise protocol. First, the patients launch the coaching application, and they enter the type of exercise and the scheduled exercise time. The coaching application recommends an exercise plan that combines intermediate and intermittent high-intensity exercises according to the exercise test results in advance.
For example, each exercise coaching instance consists of a set of 45 min. The patient exercises according to a predetermined exercise coaching algorithm. This application measures the patient's heart rate every minute during exercise and guides them to maintain the recommended exercise speed. The proposed application alerts the patient in real-time if the patient's exercise speed is too low or too high (e.g., if the patient's heart rate is below 50% of HRmax or above 75% of HRmax). It also sends a warning if the patient does not exercise at the recommended exercise speed. After completing an exercise, the collected exercise information is summarized, and statistics are generated.
The data acquisition of the proposed platform supports not only automatic input from sensors, but also voice or manual input by the user as shown in Figure 8. The proposed application allows the user to voice input of RPE values using a chatbot during exercise. In addition, the user can manually modify the record when not exercising. The information collected during the patient's exercise fine-tunes the exercise program to the patient's exercise goal. The real-time monitoring of the proposed application has four display modes. The first mode is an exercise plan mode. If there is an exercise prescription, a recommended exercise plan is displayed. Otherwise, it displays the exercise mode selected by the user. The remaining three modes show the comparison result of the recommended exercise and the exercise being performed for exercise speed, heart rate, and RPE, as shown in Figure 8. tient of the appropriate exercise intensity and exercise time using the proposed therapeutic exercise platform. In this section, exercise intensity refers to the exercise speed according to the patient's heart rate during exercise. The proposed exercise monitoring and coaching application help diabetics continue to exercise according to a prescribed exercise protocol. First, the patients launch the coaching application, and they enter the type of exercise and the scheduled exercise time. The coaching application recommends an exercise plan that combines intermediate and intermittent high-intensity exercises according to the exercise test results in advance.
For example, each exercise coaching instance consists of a set of 45 min. The patient exercises according to a predetermined exercise coaching algorithm. This application measures the patient's heart rate every minute during exercise and guides them to maintain the recommended exercise speed. The proposed application alerts the patient in realtime if the patient's exercise speed is too low or too high (e.g., if the patient's heart rate is below 50% of HRmax or above 75% of HRmax). It also sends a warning if the patient does not exercise at the recommended exercise speed. After completing an exercise, the collected exercise information is summarized, and statistics are generated.
The data acquisition of the proposed platform supports not only automatic input from sensors, but also voice or manual input by the user as shown in Figure 8. The proposed application allows the user to voice input of RPE values using a chatbot during exercise. In addition, the user can manually modify the record when not exercising. The information collected during the patient's exercise fine-tunes the exercise program to the patient's exercise goal. The real-time monitoring of the proposed application has four display modes. The first mode is an exercise plan mode. If there is an exercise prescription, a recommended exercise plan is displayed. Otherwise, it displays the exercise mode selected by the user. The remaining three modes show the comparison result of the recommended exercise and the exercise being performed for exercise speed, heart rate, and RPE, as shown in Figure 8.

Evaluation Results
We devised the following three hardware configurations to acquire exercise data and vital signs during exercise. First, the proposed platform used Xiaomi's Mi band, a commercial wearable band, to acquire the number of steps and heart rate by time. Second, an

Evaluation Results
We devised the following three hardware configurations to acquire exercise data and vital signs during exercise. First, the proposed platform used Xiaomi's Mi band, a commercial wearable band, to acquire the number of steps and heart rate by time. Second, an exercise DAQ device was added to the treadmill and stationary bike to obtain the exercise information. Third, an ear-clip heart rate sensor was added to obtain the heart rate during exercise. These were linked with a smartphone application through BLE communication with a glucometer.
The exercise DAQ was mounted on the aerobic exercise device, and it included a magnetic sensor, SD card, and BLE module in a 32-bit processor. We chose an Intel Curie board as microcontroller unit because it was also easy to use and compatible with Genuino and Arduino 101. It connected with an external RFID unit and a heart rate sensor to obtain user identification and heart rate information.
The first experiment was to evaluate the accuracy of the exercise speed information acquired through DAQ. As shown in Tables 4 and 5, the rotation axis of two stationary bikes (A, B) and two treadmills (A, B) was rotated 1,000 times at different speeds and then obtained from DAQ. Both experiments had less than 2% error and accuracy close to 100% at low speeds. The results indicate that the exercise speed obtained from the designed DAQ had an accuracy of at least 98%. The second experiment was to measure the accuracy of the heart rate acquired from the heart rate sensor. During exercise using a stationary bike and a treadmill, the heart rate obtained from DAQ and the result of Polar's T34 heart rate monitor were compared. The result is shown in Figure 9. The measurement error was up to 2%, and the average error was within 1%, indicating that an error rate is irrespective of the movement speed. Therefore, the proposed DAQ could measure real-time heart rate with at least 98% accuracy regardless of changes in exercise intensity.
After we evaluated the proposed therapeutic exercise platform, including the hardware part and the smartphone application, we tested the accuracy in an actual exercise environment. The comparison results of the proposed DAQ and a commercial heart rate monitor, Polar T34, are shown in Figure 10. The exercise was performed in the order of warm-up, intermittent high intensity, and medium intensity. Figure 10 shows the patient's heart rate change according to the change in exercise intensity. In the warm-up phase, the heart rate gradually increased, and in the high-intensity exercise section, the heart rate increased to 80% of the maximum heart rate. After that, it indicates that the heart rate stably lowered in the middle-intensity exercise section. The average difference is within 2%. This result proves that the proposed therapeutic exercise platform was suitable for monitoring exercise in real-time. Electronics 2021, 10, x FOR PEER REVIEW 15 of 23 Figure 9. The experiment result of heart rate sensing between proposed DAQ and other counterparts.
After we evaluated the proposed therapeutic exercise platform, including the hardware part and the smartphone application, we tested the accuracy in an actual exercise environment. The comparison results of the proposed DAQ and a commercial heart rate monitor, Polar T34, are shown in Figure 10. The exercise was performed in the order of warm-up, intermittent high intensity, and medium intensity. Figure 10 shows the patient's heart rate change according to the change in exercise intensity. In the warm-up phase, the heart rate gradually increased, and in the high-intensity exercise section, the heart rate increased to 80% of the maximum heart rate. After that, it indicates that the heart rate stably lowered in the middle-intensity exercise section. The average difference is within 2%. This result proves that the proposed therapeutic exercise platform was suitable for monitoring exercise in real-time.   After we evaluated the proposed therapeutic exercise platform, including the hardware part and the smartphone application, we tested the accuracy in an actual exercise environment. The comparison results of the proposed DAQ and a commercial heart rate monitor, Polar T34, are shown in Figure 10. The exercise was performed in the order of warm-up, intermittent high intensity, and medium intensity. Figure 10 shows the patient's heart rate change according to the change in exercise intensity. In the warm-up phase, the heart rate gradually increased, and in the high-intensity exercise section, the heart rate increased to 80% of the maximum heart rate. After that, it indicates that the heart rate stably lowered in the middle-intensity exercise section. The average difference is within 2%. This result proves that the proposed therapeutic exercise platform was suitable for monitoring exercise in real-time.  The proposed therapeutic exercise application was implemented using two languages, Java 1.8 and Kotlin [51]. The smartphone operating system was set to Android. The minimum version of the supported Android operating system was set to API (application programming interface) 19 (version name: Kitkat) that supports low-power Bluetooth. The proposed application was implemented as shown in Figure 11. It consisted of the initial screen, entered user information, device registration, and management. Furthermore, the patients input their exercise prescription or exercise setting determined by patients. Then, the application could help the patients to exercise their prescription or exercise plan. Figure 12 shows the results of exercise monitoring. First, the patient could perform a simple exercise test. The proposed simple exercise load test could be performed by selecting one of the modified Bruce protocol, HRR, and RPE modes. The test results were used to determine the appropriate exercise intensity for the patient, as shown in Figure 12a. During exercise, the patient can monitor in real-time whether he exercises according to the exercise plan. In this case, the patient could select monitoring mode three modes of exercise speed, heart rate, or RPE. Figure 12b is a real-time monitoring screen showing whether the patient was exercising according to the exercise plan based on the heart rate. After the exercise is over, the exercise result was summarized and displayed to the patient, as shown in Figure 12c.
The proposed therapeutic exercise application was implemented using two languages, Java 1.8 and Kotlin [51]. The smartphone operating system was set to Android. The minimum version of the supported Android operating system was set to API (application programming interface) 19 (version name: Kitkat) that supports low-power Bluetooth. The proposed application was implemented as shown in Figure 11. It consisted of the initial screen, entered user information, device registration, and management. Furthermore, the patients input their exercise prescription or exercise setting determined by patients. Then, the application could help the patients to exercise their prescription or exercise plan. Figure 11. Proposed mobile application user interface (UI); (a) log-in, (b) application setting, (c) device scan, (d) input of exercise prescription or user's plan and recommended exercise plan. Figure 12 shows the results of exercise monitoring. First, the patient could perform a simple exercise test. The proposed simple exercise load test could be performed by selecting one of the modified Bruce protocol, HRR, and RPE modes. The test results were used to determine the appropriate exercise intensity for the patient, as shown in Figure 12a. During exercise, the patient can monitor in real-time whether he exercises according to the exercise plan. In this case, the patient could select monitoring mode three modes of exercise speed, heart rate, or RPE. Figure 12b is a real-time monitoring screen showing whether the patient was exercising according to the exercise plan based on the heart rate. After the exercise is over, the exercise result was summarized and displayed to the patient, as shown in Figure 12c.  Table 6 shows the comparison results between the proposed therapeutic exercise platform and other counterparts. Automatic refers to the ability of an application to connect with a device and automatically record relevant data to the application. Manual represents that the user directly enters the relevant records into the application. Additionally, exercise plan adjust refers to a function of automatically adjusting an exercise program  Table 6 shows the comparison results between the proposed therapeutic exercise platform and other counterparts. Automatic refers to the ability of an application to connect with a device and automatically record relevant data to the application. Manual represents that the user directly enters the relevant records into the application. Additionally, exercise plan adjust refers to a function of automatically adjusting an exercise program according to a user's exercise experience. The significate feature is that the proposed platform was linked with aerobic exercise equipment, a wearable band, and a heart-rate sensor. The platform gathered precise exercise information and heart rate during exercise. It used the information to adjust the exercise program of the exercise session to keep the excise intensity indicated from the exercise prescription. An exercise stress test in the proposed therapeutic exercise platform could estimate the relationship between the patient's heart rate and exercise speed. If the patients keep doing aerobic exercise for a long time, it is good to improve their physical fitness and exercise ability. Therefore, the intensity and loads should continually increase over time. Whenever a patient felt that his or her exercise ability improved, an exercise stress test was performed to obtain a relationship between maximum heart rate reserve and exercise speed. The proposed platform adjusted the exercise intensity in the exercise session by reflecting the exercise stress test results. The exercise speed of the exercise session was adjusted to match the maximum heart rate reserve of the exercise plan. Patients could exercise by adjusting the exercise intensity according to their physical changes. A closed beta service has been performed since 2017. We released our application to Google play store for a closed test. Among the users who used the application who answered that they had a high understanding of diabetes, diabetic patients and those who did not have a diagnosis of diabetes were selected and the experimental group was recruited. Finally, we selected the patient population from patients with a prevalence of 3 years or more and a fasting blood glucose level greater than 160 mg/dL. The questionnaire is shown in Figure 13. For platform evaluation and future improvement, we received satisfaction ratings and functional improvements through a questionnaire survey as shown in Figure 14 on 10 type 2 diabetes patients and ten persons without a diabetes diagnosis as shown in Table 7. Overall, the patients and others expressed high satisfaction with ease of use. The patient's additional opinions are as follows. First, it is necessary to update diabetes education about therapeutic exercise. Second, exercises after a meal increased compared to before use. Third, if the function to share experiences with other users is added, motivation will be better. Fourth, it is necessary to provide the personal exercise coaching or consulting function for an exercise. Finally, the number of symptoms of hypoglycemia decreased after exercise. Moreover, it became possible to control the exercise time and intensity according to the amount of meal.

Conclusions
In this paper, we present a therapeutic exercise platform. The proposed platform can support diabetic patients in managing their blood glucose levels by balancing physical exercise, insulin dosage or medication, blood glucose monitoring, and diet. In particular, well-planned and structured exercise is vital to control blood glucose levels in diabetes and reduce the risk of developing diabetes complications.
The proposed system has three main functions. First, it automatically obtains exercise information precisely whenever patients exercise outdoors or indoors. Second, it can analyze the change of exercise ability due to the long-term exercise regime, i.e., a simple

Conclusions
In this paper, we present a therapeutic exercise platform. The proposed platform can support diabetic patients in managing their blood glucose levels by balancing physical exercise, insulin dosage or medication, blood glucose monitoring, and diet. In particular, well-planned and structured exercise is vital to control blood glucose levels in diabetes and reduce the risk of developing diabetes complications.
The proposed system has three main functions. First, it automatically obtains exercise information precisely whenever patients exercise outdoors or indoors. Second, it can analyze the change of exercise ability due to the long-term exercise regime, i.e., a simple

Conclusions
In this paper, we present a therapeutic exercise platform. The proposed platform can support diabetic patients in managing their blood glucose levels by balancing physical exercise, insulin dosage or medication, blood glucose monitoring, and diet. In particular, well-planned and structured exercise is vital to control blood glucose levels in diabetes and reduce the risk of developing diabetes complications.
The proposed system has three main functions. First, it automatically obtains exercise information precisely whenever patients exercise outdoors or indoors. Second, it can analyze the change of exercise ability due to the long-term exercise regime, i.e., a simple exercise test that frequently allows the user to test their athletic ability. Third, it provides an exercise monitoring and coaching program that informs the user whether they are exercising appropriately during a session. Therefore, most patients consider exercise as a supplemental glycemic control method with medication or diet. The proposed therapeutic exercise platform is crucial to develop a therapeutic exercise program that can recommend an exercise suitable for glycemic control to patients according to their preferred exercise pattern and individual exercise ability.
The proposed therapeutic exercise platform consists of a hardware part responsible for obtaining exercise and heart-rate data and smartphone applications that provide a simple exercise test and real-time exercise monitoring results. The proposed exercise test is to calculate the appropriate amount of exercise for the patient. The proposed test can be performed not only by the typical modified Bruce protocol but also by the method based on heart rate reserve and rated perceived exertion for convenience. The evaluation result shows that the exercise speed and heart rate in the proposed hardware part have less than 2% error. This fact proves that the proposed DAQ can be applicable for various exercise environments regardless of exercise intensity changes. Ten diabetic patients and ten person without a diabetes diagnosis used the proposed platform for more than three months, and we analyzed the effectiveness of the proposed platform through their survey. Overall, the patients expressed high satisfaction with ease of use. Besides, most of the patients reported that both the number of blood glucose measurements and the exercise increased. This study conducted a usability evaluation of the proposed exercise platform with limited users only. Future studies should aim to address the limitations that exist in our work. We plan to verify the functionality of the blood glucose management platform, including exercise therapy, by accumulating pre-and post-exercise blood glucose levels for a long period of time for diabetic patients. Consequently, the proposed therapeutic exercise platform can be useful for the patients to make a well-planned and structured exercise for their glycemic control.

Conflicts of Interest:
The authors declare no conflict of interest.