【正文】
LANZHOU UNIVERSITY OF TECHNOLOGY 畢業(yè)設(shè)計(jì) 題 目 基于 Android的便攜式健康監(jiān)測(cè)系統(tǒng) —— Android系統(tǒng)開發(fā) 學(xué)生姓名 學(xué) 號(hào) 專業(yè)班級(jí) 通信 2022 級(jí) 3 班 指導(dǎo)教師 學(xué) 院 計(jì)算機(jī)與通信 答辯日期 2022 年 6 月 16 日 蘭州理工大學(xué)畢業(yè)設(shè)計(jì) 摘 要 隨著移動(dòng)互聯(lián)網(wǎng)的迅速發(fā)展,利用便攜終端監(jiān)測(cè)人體健康狀態(tài)成為一種愈發(fā)可行的醫(yī)療手段 。本設(shè)計(jì)針對(duì)此問題提出了一套切實(shí)可行的設(shè)計(jì)方案,設(shè)計(jì)中首先通過(guò)脈搏傳感器采集到人體的脈搏信號(hào),然后借由藍(lán)牙以無(wú)線形式發(fā)送給 Android 終端,同時(shí)在 Android 下提取藍(lán)牙信號(hào),以及實(shí)現(xiàn)數(shù)據(jù)的讀取與存儲(chǔ),并以接收到的數(shù)據(jù)實(shí)時(shí)繪制波形,最終通過(guò)對(duì)波形的處理分析可得出測(cè)試者當(dāng)前的心率,并對(duì)測(cè)試者當(dāng)前的健康狀態(tài)作出簡(jiǎn)單的評(píng)測(cè)和建議。 本設(shè)計(jì)的數(shù)據(jù)來(lái)源為光電脈搏傳感器,是通過(guò)透光性檢測(cè)血液濃度變化并以光強(qiáng)度的變化引起的電壓變化作為數(shù)據(jù)傳出;此數(shù)據(jù)經(jīng)藍(lán)牙開發(fā)板處理為數(shù)字信號(hào),并由藍(lán)牙形式不斷廣播;在 Android 下開 發(fā)的應(yīng)用通過(guò)開啟設(shè)備的藍(lán)牙功能搜索到廣播的藍(lán)牙信號(hào),通過(guò)協(xié)議建立連接并獲取數(shù)據(jù)服務(wù),實(shí)時(shí)接收采集的脈搏信號(hào);應(yīng)用對(duì)采集的數(shù)據(jù)進(jìn)行算法處理,存入文本文件,并在圖表中給出實(shí)時(shí)的波形圖;通過(guò)分析此波形,應(yīng)用可計(jì)算出測(cè)試者當(dāng)前的心率,并由心率對(duì)測(cè)試者的健康狀況作初步的判斷。其他功能諸如注冊(cè)功能,靜態(tài)顯示等也可通過(guò)在應(yīng)用中添加相應(yīng)代碼實(shí)現(xiàn),目的是通過(guò)保證數(shù)據(jù)的準(zhǔn)確性和添加必要的功能,豐富并完善應(yīng)用,使之可以廣泛使用。 關(guān)鍵詞: 脈搏;藍(lán)牙; Android;波形;健康 蘭州理工大學(xué)畢業(yè)設(shè)計(jì) 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è)計(jì) 目 錄 第一章 緒論 ........................................................................................................................................ 1 移動(dòng)醫(yī)療的背景 .................................................................................................................... 1 設(shè)計(jì)的意義與目的 ................................................................................................................ 2 設(shè)計(jì)的內(nèi)容和功能實(shí)現(xiàn) ........................................................................................................ 2 設(shè)計(jì)的可行方案 .................................................................................................................... 3 Matlab+壓電傳感器 ................................................................................................... 3 Android 應(yīng)用 +光電傳感器 ......................................................................................... 3 第二章 硬件設(shè)計(jì) ................................................................................................................................ 4 Android 硬件平臺(tái) .................................................................................................................. 4 模擬器 Genymotion .................................................................................................... 4 智能手機(jī) ..................................................................................................................... 6 藍(lán)牙開發(fā)平臺(tái) ........................................................................................................................ 8 藍(lán)牙 BLE 簡(jiǎn)介 .................................................................................................... 8 開發(fā)板 CC254x .......................................................................................................... 8 心率傳感器 ............................................................................................................................ 9 壓電傳感器 ................................................................................................................. 9 光電傳感器 ............................................................................................................... 10 第三章 軟件設(shè)計(jì) .............................................................................................................................. 12 軟件整體結(jié)構(gòu) ...................................................................................................................... 12 軟件功能說(shuō)明 ........................................................................................................... 12 整體流程說(shuō)明 ........................................................................................................... 13 各功能模塊設(shè)計(jì) .................................................................................................................. 13 藍(lán)牙傳輸模塊 ........................................................................................................... 13 數(shù)據(jù)接收模塊 ........................................................................................................... 16 數(shù)據(jù)處理模塊 .........................................................