【正文】
LANZHOU UNIVERSITY OF TECHNOLOGY 畢業(yè)設(shè)計 題 目 基于 Android的便攜式健康監(jiān)測系統(tǒng) —— Android系統(tǒng)開發(fā) 學(xué)生姓名 學(xué) 號 專業(yè)班級 通信 2021 級 3 班 指導(dǎo)教師 學(xué) 院 計算機與通信 答辯日期 2021 年 6 月 16 日 蘭州理工大學(xué)畢業(yè)設(shè) 計 摘 要 隨著移動互聯(lián)網(wǎng)的迅速發(fā)展,利用便攜終端監(jiān)測人體健康狀態(tài)成為一種愈發(fā)可行的醫(yī)療手段 。本設(shè)計針對此問題提出了一套切實可行的設(shè)計方案,設(shè)計中首先通過脈搏傳感器采集到人體的脈搏信號,然后借由藍牙以無線形式發(fā)送給 Android 終端,同時在 Android 下提取藍牙信號,以及實現(xiàn)數(shù)據(jù)的讀取與存儲,并以接收到的數(shù)據(jù)實時繪制波形,最終通過對波形的處理分析可得出測試者當前的心率,并對測試者當前的健康狀態(tài)作出簡單的評測和建議。 本設(shè)計的數(shù)據(jù)來源為光電脈搏傳感器,是通過透光性檢測血液濃度變化并以光強度的變化引起的電壓變化作為數(shù)據(jù)傳出;此數(shù)據(jù)經(jīng)藍牙開發(fā)板處理為數(shù)字信號,并由藍牙形式不斷廣播;在 Android 下開 發(fā)的應(yīng)用通過開啟設(shè)備的藍牙功能搜索到廣播的藍牙信號,通過協(xié)議建立連接并獲取數(shù)據(jù)服務(wù),實時接收采集的脈搏信號;應(yīng)用對采集的數(shù)據(jù)進行算法處理,存入文本文件,并在圖表中給出實時的波形圖;通過分析此波形,應(yīng)用可計算出測試者當前的心率,并由心率對測試者的健康狀況作初步的判斷。其他功能諸如注冊功能,靜態(tài)顯示等也可通過在應(yīng)用中添加相應(yīng)代碼實現(xiàn),目的是通過保證數(shù)據(jù)的準確性和添加必要的功能,豐富并完善應(yīng)用,使之可以廣泛使用。 關(guān)鍵詞: 脈搏;藍牙; Android;波形;健康 蘭州理工大學(xué)畢業(yè)設(shè) 計 Abstract Along with rapid development of Mobile Inter,monitoring the health status by portable terminal, bees a more feasible choice of medical design put foward an available scheme aimed at the the design,first of all,collecting human pulse signal by pulse sensor , then send it to the android terminal by bluetooth as wireless form,extract the signal from bluetooth on Android system, realizes the data read and data store, and then draw the realtime waveform according to received data, the current heart rate could be obtained through the handling of waveform analysis and testing, finally we learn on the current health status of the tester and make a simple review and advice. The datas for the design collected by photoelectric pulse sensor, the pluse sensor works by the transmission of light,to detect the change of blood concentration with the change of light intensity, result in voltage changing. The data converted to the digital signal on the bluetooth development board,and broadcast constantly .The application on the android could start bluetooth of the equipment and gained the broadcasting bluetooth signal, then established a connection and access to data services, received the pulse signal in realtime state. The data would be processed by algorithm in application, saved in the text file, and realtime waveform is given in the chart on the view of the wave form, the application could calculate the current heart rate of tester, and then application could show the the healthy condition of the tester according to the heart rate . Other functions such as registration, and static display can be achieved by adding the corresponding code in the application,such approach ensure the accuracy of the data and add the necessary function, enrich and perfect the application, make it can be widely used. Key words:pluse。bluetooth。Android。waveform。health蘭州理工大學(xué)畢業(yè)設(shè) 計 目 錄 第一章 緒論 ........................................................................................................................................ 1 移動醫(yī)療的背景 .................................................................................................................... 1 設(shè)計的意義與目的 ................................................................................................................ 2 設(shè)計的內(nèi)容和功能實現(xiàn) ........................................................................................................ 2 設(shè)計的可行方案 .................................................................................................................... 3 Matlab+壓電傳感器 ................................................................................................... 3 Android 應(yīng)用 +光電傳感器 ......................................................................................... 3 第二章 硬件設(shè)計 ................................................................................................................................ 4 Android 硬件平臺 .................................................................................................................. 4 模擬器 Genymotion .................................................................................................... 4 智能手機 ..................................................................................................................... 6 藍牙開發(fā)平臺 ........................................................................................................................ 8 藍牙 BLE 簡介 .................................................................................................... 8 開發(fā)板 CC254x.......................................................................................................... 8 心率傳感器 ............................................................................................................................ 9 壓電傳感器 ................................................................................................................. 9 光電傳感器 ............................................................................................................... 10 第三章 軟件設(shè)計 .............................................................................................................................. 12 軟件整體結(jié)構(gòu) ...................................................................................................................... 12 軟件功能說明 ........................................................................................................... 12 整體流程說明 ........................................................................................................... 13 各功能模塊設(shè)計 .................................................................................................................. 13 藍牙傳輸模塊 ........................................................................................................... 13 數(shù)據(jù)接收模塊 ........................................................................................................... 16 數(shù)據(jù)處理模塊 .........................................................