當前位置:首頁 > 醫(yī)療電子 > 醫(yī)療電子
[導讀]Cypress 公司的PSoC CY8C21x23是集成了可配置的模擬和數(shù)字外設(shè)功能,存儲器和微控制器,能替代多種基于MCU的傳統(tǒng)系統(tǒng)的元件.M8C處理器采用功能強大的哈佛架構(gòu),速度高達24MHz,工作電壓2.4V-5.25V.本文介紹PSoC CY8C21x2

Cypress 公司的PSoC CY8C21x23是集成了可配置的模擬和數(shù)字外設(shè)功能,存儲器和微控制器,能替代多種基于MCU的傳統(tǒng)系統(tǒng)的元件.M8C處理器采用功能強大的哈佛架構(gòu),速度高達24MHz,工作電壓2.4V-5.25V.本文介紹PSoC CY8C21x23主要特性,方框圖以及采用PSoC 的血壓監(jiān)測儀所用主要元件,原理和方框圖.

Blood Pressure Monitor with PsoC

CY8C21123, CY8C21223, CY8C21323 : PSoC? Programmable System-on-Chip PSoC? is a true programmable embedded system-on-chip integrating configurable analog and digital peripheral functions, memory and a microcontroller on a single chip. The PSoC family consists of many programmable system-on-chip controller devices. These devices are designed to replace multiple traditional MCU-based system components with a low cost single-chip programmable component. A PSoC device includes configurable blocks of analog and digital logic, and programmable interconnect. This architecture allows the user to create customized peripheral configurations, to match the requirements of each individual application. Additionally, a fast CPU, Flash program memory, SRAM data memory, and configurable I/O are included in a range of convenient pinouts.

The PSoC architecture consists of four main areas: the Core, the System Resources, the Digital System, and the Analog System. Configurable global bus resources allow the combining of all device resources into a complete custom system. Each PSoC device includes four digital blocks. Depending on the PSoC package, up to two analog comparators and up to 16 General Purpose I/O (GPIO) are also included. The GPIO provide access to the global digital and analog interconnects.

CY8C21x23主要特性:

■ Powerful Harvard Architecture Processor:

? M8C Processor Speeds up to 24 MHz

? Low Power at High Speed

? 2.4V to 5.25V Operating Voltage

? Operating Voltages down to 1.0V using On-Chip Switch Mode Pump (SMP)

? Industrial Temperature Range: -40°C to +85°C

Advanced Peripherals (PSoC? Blocks):

? Four Analog Type “E” PSoC Blocks Provide:

? Two Comparators with DAC References

? Single or Dual 10-Bit 8:1 ADC

? Four Digital PSoC Blocks Provide:

? 8 to 32-Bit Timers, Counters, and PWMs

? CRC and PRS Modules

? Full Duplex UART, SPI? Master or Slave: Connectable to All GPIO Pins

? Complex Peripherals by Combining Blocks

■ Flexible On-Chip Memory:

? 4K Flash Program Storage 50,000 Erase/Write Cycles

? 256 Bytes SRAM Data Storage

? In-System Serial Programming (ISSP)

? Partial Flash Updates

? Flexible Protection Modes

? EEPROM Emulation in Flash

■ Complete Development Tools:

? Free Development Software (PSoC Designer?)

? Full Featured, In-Circuit Emulator and Programmer

? Full Speed Emulation

? Complex Breakpoint Structure

? 128 Bytes Trace Memory

■ Precision, Programmable Clocking:

? Internal ±2.5% 24/48 MHz Oscillator

? Internal Oscillator for Watchdog and Sleep

■ Programmable Pin Configurations:

? 25 mA Sink, 10 mA Source on all GPIO

? Pull Up, Pull Down, High Z, Strong, or Open Drain Drive Modes on All GPIO

? Up to Eight Analog Inputs on GPIO

? Configurable Interrupt on all GPIO

■ Additional System Resources:

? I2C Master, Slave and MultiMaster to 400 kHz

? Watchdog and Sleep Timers

? User Configurable Low Voltage Detection

? Integrated Supervisory Circuit

? On-Chip Precision Voltage Reference

圖1.CY8C21x23方框圖

Blood pressure is one of the vital signs in the human body. It is measured using both invasive and non invasive techniques. This application note demonstrates how to build a non invasive blood pressure monitor using the PSoC?. This design does not use any external active components to buffer, amplify, and filter the signal.

The blood pressure monitor operates on the following principles.

The cuff is worn around the upper arm and it is inflated beyond the typical systolic pressure.

It is then deflated. The pressure starts decreasing, resulting in blood flow through the artery; this makes the artery to pulsate.

The pressure measured on the device during onset of pulsations defines the systolic blood pressure.

Then the cuff pressure is reduced further. The oscillations become increasingly significant, until they reach maximum amplitude.

The pressure at the maximum amplitude of these oscillations defines the average blood pressure.

The oscillations start decreasing as the cuff pressure reduces. The pressure at this point defines the minimal blood pressure or diastolic blood pressure.

This method of measuring blood pressure is the oscillometric method. It is often used in automatic blood pressure monitor devices because of its excellent reliability. Estimation of systolic and diastolic pressure is done using various empirical algorithms. The device uses oscillometric method to determine systolic and diastolic pressures .

This system includes the following blocks:

Pressure sensor

Amplifier

Filter

Multiplexer and ADC

Heart rate timer

Safety timer

Pneumatics

Display

圖2. PSoC血壓方框圖

PSoC血壓計主要元件:

1. Pressure Sensor

The pressure sensor for blood pressure monitoring system should have the following characteristics:

Measure pressures from 0 mmHG (0 Kpa) to 300 mmHg (40 Kpa).

Gauge type, because blood pressure in relation to atmospheric pressure

MPX2053 (piezoresistive pressure sensor from Free scale) is used in this example. It gives differential output with maximum measurable pressure range of 50 Kpa. It has a transfer characteristic of (20 mV/50 Kpa) 0.4 mv for every 1 Kpa change in pressure or 53 μV per mmHG with Vs=5V.

2. Amplifier

The sensor output is in the order of a few mega volts. Three opamp topology instrumentation amplifier is used to amplify the pressure signal. It provides a gain of 93.

Gain = Diff Gain * Conversion Gain = 48 * 1.98 = 93

3. Filter

The sensor output consists of two signals: cuff pressure signal and oscillometric signal. The oscillometric signal has frequency components between 0.3 Hz to 20 Hz. Two stage filters are used to filter out the oscillometric pulses.

4. First Stage

A high gain AC filter, described in the Cypress application note AN2320 is implemented in the first stage.

圖3.高AC 增益放大器電路

The filter’s cutoff is set around 1 Hz. This filter removes all DC components and gives the AC signal a sufficient gain. The output of the first stage has unwanted high frequency components.

5. Second Stage

High frequency components are removed using two pole low pass filters implemented inside PSoC. This filter is constructed using two switched capacitor blocks. The filter’s cutoff is set at 50 Hz with a 0 dB gain.

6. Multiplexer and ADC

DC Pressure signal and the oscillometric are multiplexed to ADC inside the PSoC. The MUX selects one of these signals to a 13-bit incremental ADC, which runs at a sampling rate of 30 samples/second.

7. Heart Rate Timer

A 24-bit timer is used to calculate the heart rate. Timer is clocked using a source of frequency 62.5 kHz. The period value is set to 500000 to deliver an output of 4 seconds. Heart rate is calculated by capturing the timer period at oscillometric pulse triggers.

Start the four second window timer

Capture the timer’s period value when oscillometric pulses crosses the defined threshold

Record timer value for four such crossings

8. Safety Timer

This timer generates an interrupt every four seconds and checks if the cuff pressure is above specific threshold for that time window. (AAMI safety standards defines the maximum time limit for holding a particular pressure at arm cuff.) If the pressure in the cuff exceeds the safety pressure level then the solenoid valve is opened to deflate the cuff completely.

9. Pneumatics

Pneumatics forms the main part of any blood pressure monitoring system. Pneumatics of a typical monitor has the following:

Cuff

Air chamber

Rolling pump

Solenoid valve

The cuff is worn around the upper arm; it detects the change in pressure due to pulsation of artery. Cuff is connected to pressure sensor through air chamber, which in turn connects to the solenoid valve and rolling pump. Rolling pump inflates the cuff. Solenoid valve deflates the cuff at a defined rate .Usually the deflation rate is lowered if more samples of oscillometric pulses are needed and vice versa. Figure 5 shows the pneumatics setup used to build a typical blood pressure monitor.

10. Display

A 16x2 character LCD is used to display the results Using RS232 communication, the. oscillometric pulses are recorded with reference to pressure in cuff. Figure 6 shows the oscillometric pulses and pressure in cuff recorded during deflation.

圖4.PSoC血壓計外形圖

更多醫(yī)療電子信息請關(guān)注:21ic醫(yī)療電子頻道

本站聲明: 本文章由作者或相關(guān)機構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內(nèi)容真實性等。需要轉(zhuǎn)載請聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

9月2日消息,不造車的華為或?qū)⒋呱龈蟮莫毥谦F公司,隨著阿維塔和賽力斯的入局,華為引望愈發(fā)顯得引人矚目。

關(guān)鍵字: 阿維塔 塞力斯 華為

加利福尼亞州圣克拉拉縣2024年8月30日 /美通社/ -- 數(shù)字化轉(zhuǎn)型技術(shù)解決方案公司Trianz今天宣布,該公司與Amazon Web Services (AWS)簽訂了...

關(guān)鍵字: AWS AN BSP 數(shù)字化

倫敦2024年8月29日 /美通社/ -- 英國汽車技術(shù)公司SODA.Auto推出其旗艦產(chǎn)品SODA V,這是全球首款涵蓋汽車工程師從創(chuàng)意到認證的所有需求的工具,可用于創(chuàng)建軟件定義汽車。 SODA V工具的開發(fā)耗時1.5...

關(guān)鍵字: 汽車 人工智能 智能驅(qū)動 BSP

北京2024年8月28日 /美通社/ -- 越來越多用戶希望企業(yè)業(yè)務(wù)能7×24不間斷運行,同時企業(yè)卻面臨越來越多業(yè)務(wù)中斷的風險,如企業(yè)系統(tǒng)復雜性的增加,頻繁的功能更新和發(fā)布等。如何確保業(yè)務(wù)連續(xù)性,提升韌性,成...

關(guān)鍵字: 亞馬遜 解密 控制平面 BSP

8月30日消息,據(jù)媒體報道,騰訊和網(wǎng)易近期正在縮減他們對日本游戲市場的投資。

關(guān)鍵字: 騰訊 編碼器 CPU

8月28日消息,今天上午,2024中國國際大數(shù)據(jù)產(chǎn)業(yè)博覽會開幕式在貴陽舉行,華為董事、質(zhì)量流程IT總裁陶景文發(fā)表了演講。

關(guān)鍵字: 華為 12nm EDA 半導體

8月28日消息,在2024中國國際大數(shù)據(jù)產(chǎn)業(yè)博覽會上,華為常務(wù)董事、華為云CEO張平安發(fā)表演講稱,數(shù)字世界的話語權(quán)最終是由生態(tài)的繁榮決定的。

關(guān)鍵字: 華為 12nm 手機 衛(wèi)星通信

要點: 有效應(yīng)對環(huán)境變化,經(jīng)營業(yè)績穩(wěn)中有升 落實提質(zhì)增效舉措,毛利潤率延續(xù)升勢 戰(zhàn)略布局成效顯著,戰(zhàn)新業(yè)務(wù)引領(lǐng)增長 以科技創(chuàng)新為引領(lǐng),提升企業(yè)核心競爭力 堅持高質(zhì)量發(fā)展策略,塑強核心競爭優(yōu)勢...

關(guān)鍵字: 通信 BSP 電信運營商 數(shù)字經(jīng)濟

北京2024年8月27日 /美通社/ -- 8月21日,由中央廣播電視總臺與中國電影電視技術(shù)學會聯(lián)合牽頭組建的NVI技術(shù)創(chuàng)新聯(lián)盟在BIRTV2024超高清全產(chǎn)業(yè)鏈發(fā)展研討會上宣布正式成立。 活動現(xiàn)場 NVI技術(shù)創(chuàng)新聯(lián)...

關(guān)鍵字: VI 傳輸協(xié)議 音頻 BSP

北京2024年8月27日 /美通社/ -- 在8月23日舉辦的2024年長三角生態(tài)綠色一體化發(fā)展示范區(qū)聯(lián)合招商會上,軟通動力信息技術(shù)(集團)股份有限公司(以下簡稱"軟通動力")與長三角投資(上海)有限...

關(guān)鍵字: BSP 信息技術(shù)
關(guān)閉
關(guān)閉