PowerPoint Presentation

Similar documents
/ XY 24 Z 25 XYZ

甄試報告1125.PDF

Microsoft Word - AP1515V02


The BIST Scheme for Digital-to Analog converters 1

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

MCU DSP MSO MCU DSP MSO MSO MSO MCU/DSP I/O MSO 16 Microchip IC18 turn-on MSO chirp MCU I/O I 2 C

Microsoft Word - LD5515_5V1.5A-DB-01 Demo Board Manual

GH1220 Hall Switch

SPHE8202R Design Guide Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provi

KDC-U5049 KDC-U4049 Made for ipod, and Made for iphone mean that an electronic accessory has been designed to connect specifically to ipod, or iphone,

DR2010.doc

Cube20S small, speedy, safe Eextremely modular Up to 64 modules per bus node Quick reaction time: up to 20 µs Cube20S A new Member of the Cube Family

audiogram3 Owners Manual

enews174_2

Lab 4

RF & MICROWAVE COMPONENTS

ICD ICD ICD ICD ICD

MODEL 62000H SERIES 5KW / 10KW / 15KW 0 ~ 375A 0 ~ 1000V/2000V( ) : 200/220Vac, 380/400Vac, 440/480Vac 3U/15KW / & 150KW / ( 10 ms ~ 99 hours)

HC50246_2009

Chroma 61500/ bit / RMS RMS VA ()61500 DSP THD /61508/61507/61609/61608/ (61500 ) Chroma STEP PULSE : LISTLIST 100 AC DC

您 對 本 產 品 的 選 擇 充 分 顯 示 了 您 對 音 響 設 備 的 精 通, 我 們 十 分 感 謝 您 的 惠 顧, 並 為 本 公 司 提 供 優 質 產 品 一 貫 傳 統 而 感 到 無 比 的 自 豪 為 使 您 的 裝 置 與 使 用 能 得 到 最 好 的 發 揮, 我 們

Microsoft PowerPoint - ATF2015.ppt [相容模式]

TX-NR3030_BAS_Cs_ indd

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

行业

Cadence Poqi

untitled

目次 

國家圖書館典藏電子全文

HC20131_2010

untitled

穨良導絡值與驗診壓力之關聯研究

1 VLBI VLBI 2 32 MHz 2 Gbps X J VLBI [3] CDAS IVS [4,5] CDAS MHz, 16 MHz, 8 MHz, 4 MHz, 2 MHz [6] CDAS VLBI CDAS 2 CDAS CDAS 5 2

EMI LOOPS FILTERING EMI ferrite noise suppressors

!!

60C

(02) (02) (02) (02) (02

/ vs

热设计网

52C

68369 (ppp quickstart guide)

f 0, : = jπfl Z C f 0, (ESR) A C = ε r ε 0 d (d) (A) 4 (ESR) (L) (Z C ) (Z C ) 4 (f 0 ) # (C) (L) :, f 0 = π LC f 0, 5 PCB (V IN ) (R L ) ESL, V IN R

行业

Pin Configurations Figure2. Pin Configuration of FS2012 (Top View) Table 1 Pin Description Pin Number Pin Name Description 1 GND 2 FB 3 SW Ground Pin.

Microsoft Word - LR1122B-B.doc

WFC40810

目 录 目 录 1. 安 装 和 快 速 入 门 附 件 1.1 随 机 附 件 附 件 信 息... 3 连 接 和 设 定 1.3 连 接 记 录 纸... 4 快 速 入 门 1.5 发 送 传 真 / 复 印 接 收 传 真

行业

行业

untitled

BC04 Module_antenna__ doc

P3B-F Pentium III/II/Celeron TM

NANO COMMUNICATION 23 No.3 90 CMOS 94/188 GHz CMOS 94/188 GHz A 94/188 GHz Dual-Band VCO with Gm- Boosted Push-Push Pair in 90nm CMOS 90 CMOS 94

邏輯分析儀的概念與原理-展示版

EK-STM32F

WVT new

专业主干课程与主要专业课程教学大纲(2009年、2011年).doc

a) Rating and Characteristics Disk Type 05D *Rated Rated Peak Varistor Clamping Typ. cap. Series Part No. Rated Voltage Energy Rated Power Current(8 2

1.ai

r_09hr_practical_guide_kor.pdf

Adam Equipment

CAUTION RISK OF ELECTRIC SHOCK DO NOT OPEN 2

Stability for Op Amps

2/80 2

HC70245_2008

csg(1_29)cs.p65

01CP-WX3030WNetc_CO_ENG.indd

HC20093A_2008

FILTRON 1. DC AC AC 220V 50HZ / / / / 4. 1) / DC AC FILTRON DC AC FILTRON DC 12V 12VDC D

CANVIO_AEROCAST_CS_EN.indd

Microsoft PowerPoint - Sens-Tech WCNDT [兼容模式]

AL-M200 Series

2

FM1935X智能非接触读写器芯片

Microsoft Word - MWRF_Components.doc

Microsoft PowerPoint - 6-B.ppt

第一章 前言

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

untitled

Microsoft Word - AUCOL_2007JUN19_BOE_BAB_SAF_INF_POT_TA_999.doc

操作指导手册

iml v C / 4W Down-Light EVM - pplication Notes. IC Description The iml8683 is a Three Terminal Current Controller (TTCC) for regulating the cur

IEC A( ) B C D II

行业

SDP

Guide to Install SATA Hard Disks


iml88-0v C / 8W T Tube EVM - pplication Notes. IC Description The iml88 is a Three Terminal Current Controller (TTCC) for regulating the current flowi

LK110_ck

Bus Hound 5

2001/07/13 DST4600A DST4600A

行业

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

時脈樹設計原則

Logitech Wireless Combo MK45 English

A dissertation for Master s degree Metro Indoor Coverage Systems Analysis And Design Author s Name: Sheng Hailiang speciality: Supervisor:Prof.Li Hui,

CD DX Onkyo CD CD Cs

Transcription:

實驗一報告 報告繳交期限 : 10 月 9 日 ( 二 )11:00 Report content ( 報告內容 ) 1. Complete three experiment reports ( 三份實驗紀錄表格檔案 ) 2. Complete additional questions 請合併成一個 PDF 檔案寄到助教的信箱 (belab.ntu@gmail.com), 主旨標明組別及實驗序

行事曆

期中報告 期中報告 (Group) 題目 : 生醫工程相關皆可, 例如 : 生理電信號原理 醫學影像等 在決定題目之前請先跟助教討論, 確定報告的題目範圍是否會太廣而無法負荷 要求 : 每組報告時間約 15 分鐘, 提問 5 分鐘 ( 有提問者另外加分 ) 註 : 期中報告結束的一個禮拜一定要給我們發票 11/06 截止

實驗二 : 生理電信號量測電路 設計與實現

Introduction 根據實驗一選定的生理電信號繼續對這種信號作量測電路的設計 在操作實驗一的時候你發現什麼? 應該很順利都可以量到信號 是否跟文獻做過比較? 自行設計電路 不同的生理電信號其設計方式也會不同 利用 NI ELVIS / Arduino + Android APP Invertor 實現

Experiment Overview Design circuit(s) for bio-signal detection 1. ECG 2. EMG 3. EEG PART I Digitize the detected waveform (ADC) Transmit to the self-designed APP via bluetooth APP: Waveform display oscilloscope PART II

PART I: 量測電路 Circuit Design for Bio-Signal Detection

PARTI: Introduction Characteristics of ECG, EMG, and EEG waveform Based on the findings from experiment 1 and published reports/journals Examples: amplitude, center frequency and bandwidth Design your own detection circuit(s) Use NI ELVIS II to test the effectiveness of your circuit Energy efficient circuit

Simplified Layout of Detection Circuit Signal Inputs (3 Leads) ~µv ~mv Pre-Amplification Filter (LPF / HPF / NOTCH / BPF) Display Post-Amplification ADC Circuitry Voltage Level Shifter Signal Output (0V 5V)

Noise Figure 如何達成最高的增益 最低的雜訊指數? Noise Figure

Pre Amplifier Lead II 三點 ECG( 正極 負極 接地 ) OP 放大器? 雙極訊號轉為單極訊號 差動放大器

Buffer 使前一級電路不受負載影響 R=

儀表放大器 差動放大器 儀表放大器 (INA128) 在正負輸入端都加上 unit gain buffer 非常低直流偏移 低漂移 低雜訊 非常高的開迴路增益 非常大的共模拒斥比 高輸入阻抗

市電 市電, 又稱壁上電源 交流電 輸電網, 為城市裡主要提供市民使用的電源 一般家庭用電為 AC 100~125V 60Hz 正弦波 該如何解決 60Hz 的訊號影響? Notch filter

訊號頻率範圍 從頻譜以及文獻看訊號主要的頻帶在哪 設計適當的濾波器 高通濾波器 (DC offset 低頻雜訊) 低通濾波器 ( 高頻雜訊 ) Notch filter( 市電 )

Low Pass Filter V out V in R V out 1 R + sc V out V in = f c = 1 2πRC = V out 1 sc = V in R 1 1 1 + src = RC s + 1 RC C = 0.33uF R = 10k Cut off frequency = 48Hz

Low Pass Filter 頻率響應 Gain = 1 RC s + 1 RC 1 2πRC 參考電路 ( 二階低通濾波器 ) Sallen-Key Lowpass filter

High Pass Filter V out V in = V out 1 R sc 1 V out R + sc = scv in V out = src V in 1 + src = s s + 1 RC f c = 1 2πRC

High Pass Filter 頻率響應 Gain = s s + 1 RC 1 2πRC 參考電路 ( 二階低通濾波器 ) Sallen-Key highpass filter

Notch Filter Twin-T notch Center reject frequency https://www.changpuak.ch/electronics/active_notch_filt er.php

Notch Filter Wien Bridge Notch Filter f c = 1 2πRC

Post Amplifier 基本 OP 放大器 non-inverting amplifier Gain=1+R2/R1

Level Shifter Arduino 接收電壓範圍 0~5V 不准送負的電壓進去 Arduino V out = V + 1 + R2 R1 V + = R3V2 R3 + R4 + R4V1 R3 + R4 透過電阻與電源的分壓讓心電圖的訊號平移至 0V 以上

Analog to Digital Converter 如何將 0~5V 電壓轉換為數位訊號? 8bits ADC 2^8=256 0~255 例如輸入電壓 3V 255/5*3=153(DEC)=10011001(BIN)

Digital Signal ADC (Analog-Digital-Convertor) Nyquist sampling frequency Quantization error Offset error (LSB) Digital filter: MATLAB Built-in functions: butter / besself / cheby1 / maxflat Self-design: designfilt

Simplified Layout of Detection Circuit Pre-Amplification Filter (LPF / HPF / NOTCH / BPF) Post-Amplification Circuitry Voltage Level Shifter

This detection circuit could be the platform for building your term project

Goals Accuracy MOST IMPORTANT! Regardless of the complexity of the detection circuit Compare the detected signal with the results from exp.1 ECG: PR interval / QRS interval / ST intervals etc. EMG: Tonus measurement etc. 與實驗二結果比較 量到的電信號波形穩定與否 Noise 的情況又是如何?SNR? 商用儀器 v.s. 自行設計之電路

Goals 1. ECG EMG 必須透過電路設計出適當的濾波器 2. EEG 可以藉由電腦設計出適當的濾波器 α: 8 13Hz β: 13 40Hz θ: 4~7Hz δ: 0.5~4Hz

PART II: 資料擷取與 APP 設計 DAQ and APP for Bio-Signal Detection

Simplified Layout of Detection Circuit Signal Inputs (3 Leads) ~µv ~mv Pre-Amplification Filter (LPF / HPF / NOTCH / BPF) Display Post-Amplification ADC Circuitry Voltage Level Shifter Signal Output (0V 5V)

Analog Input 類比輸入 Analog Outputs 類比輸出 Func. Generator 函數產生器 Manual Control 手動控制 Var. Power Supply 可變電源 Fix Power Supply & Ground 固定電源 & 接地

NI ELVISmx Instrument Launcher 可變電源供應器 - 可變電源供應器 +

NI ELVISmx Instrument Launcher 啟動 頻率 波形 振幅 Offset

NI ELVISmx Instrument Launcher 顯示 頻道 歸零 刻度 Time Base 啟動 固定波形 紀錄

NI ELVISmx Instrument Launcher

PARTI: Introduction Analog signal Digital signal Digital filter Decrease the chance of signal distortion System integration Arduino Uno v3 (or any mcu eval. board) User interface & display recorded signal Bluetooth (BT) module HC-05 App Inventor 2 Android APP

Arduino Uno Microcontroller evaluation board ATmega328 microcontroller Clock: 16 MHz 14 Digital I/O 6 Analog inputs 10 bits ADC Software serial function https://www.arduino.cc/en/main/arduinoboarduno

Arduino IDE 1. Import Library 2. Define Variables/Constants 1. Setup Pins 2. Initialize Functions Do until power is turned off! 1. Read ADC output 2. Send ADC result via BT module

Arduino IDE Tool Please select the correct board and port

HC-05 Bluetooth Module Enter AT Mode 1. KEY: HIGH (or) 2. Push Button Down Before power up Bluetooth Module 1. AT 2. AT+NAME? 3. AT+PSWD? 4. AT+UART = Baud Rate, 停止位元, 同位 (parity) 位元

App Inventor 2 You need to have a Google Account URL: ai2.appinventor.mit.edu http://ai2.appinventor.mit.edu/

App Inventor 2 http://ai2.appinventor.mit.edu/

App Inventor 2 http://ai2.appinventor.mit.edu/

App Inventor 2 http://ai2.appinventor.mit.edu/

Important! Arduino CANNOT sample negative voltages. Voltage range: Vref_- (i.e., GND) and Vref_+ (i.e., +5V, +3.3V or external voltage) What is your sampling frequency, and how is this defined in Arduino s code. Syntax: references Arduino http://arduino.cc/en/reference/homepage App Inventor 2 http://appinventor.mit.edu/explore/library.html Please download: Arduino software: http://www.arduino.cc/en/main/software

Demo Date: 23 October 2018 (12:20 14:00) Circuit: ECG(30%), EMG(30%) and EEG (20%) Display your recorded waveform on oscilloscope (ELVIS II) Display your recorded waveform on your designed APP (Arduino + App, 20%) Grading Accuracy of the bio-signal recorded App v.s. Oscilloscope

Report Date: 30 October 2018, 11am Contents Normal report format: Introduction, Method, Results, Discussions, Conclusions Design/Specification: circuits, Arduino program, App Additional questions! ( 詳見生醫工程網頁 )