当前位置:首页 > 医疗电子 > 医疗电子
[导读]Cypress 公司的PSoC CY8C21x23是集成了可配置的模拟和数字外设功能,存储器和微控制器,能替代多种基于MCU的传统系统的元件.M8C处理器采用功能强大的哈佛架构,速度高达24MHz,工作电压2.4V-5.25V.本文介绍PSoC CY8C21x2

Cypress 公司的PSoC CY8C21x23是集成了可配置的模拟和数字外设功能,存储器和微控制器,能替代多种基于MCU的传统系统的元件.M8C处理器采用功能强大的哈佛架构,速度高达24MHz,工作电压2.4V-5.25V.本文介绍PSoC CY8C21x23主要特性,方框图以及采用PSoC 的血压监测仪所用主要元件,原理和方框图.

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血压计外形图

更多医疗电子信息请关注:21ic医疗电子频道

本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

LED驱动电源的输入包括高压工频交流(即市电)、低压直流、高压直流、低压高频交流(如电子变压器的输出)等。

关键字: 驱动电源

在工业自动化蓬勃发展的当下,工业电机作为核心动力设备,其驱动电源的性能直接关系到整个系统的稳定性和可靠性。其中,反电动势抑制与过流保护是驱动电源设计中至关重要的两个环节,集成化方案的设计成为提升电机驱动性能的关键。

关键字: 工业电机 驱动电源

LED 驱动电源作为 LED 照明系统的 “心脏”,其稳定性直接决定了整个照明设备的使用寿命。然而,在实际应用中,LED 驱动电源易损坏的问题却十分常见,不仅增加了维护成本,还影响了用户体验。要解决这一问题,需从设计、生...

关键字: 驱动电源 照明系统 散热

根据LED驱动电源的公式,电感内电流波动大小和电感值成反比,输出纹波和输出电容值成反比。所以加大电感值和输出电容值可以减小纹波。

关键字: LED 设计 驱动电源

电动汽车(EV)作为新能源汽车的重要代表,正逐渐成为全球汽车产业的重要发展方向。电动汽车的核心技术之一是电机驱动控制系统,而绝缘栅双极型晶体管(IGBT)作为电机驱动系统中的关键元件,其性能直接影响到电动汽车的动力性能和...

关键字: 电动汽车 新能源 驱动电源

在现代城市建设中,街道及停车场照明作为基础设施的重要组成部分,其质量和效率直接关系到城市的公共安全、居民生活质量和能源利用效率。随着科技的进步,高亮度白光发光二极管(LED)因其独特的优势逐渐取代传统光源,成为大功率区域...

关键字: 发光二极管 驱动电源 LED

LED通用照明设计工程师会遇到许多挑战,如功率密度、功率因数校正(PFC)、空间受限和可靠性等。

关键字: LED 驱动电源 功率因数校正

在LED照明技术日益普及的今天,LED驱动电源的电磁干扰(EMI)问题成为了一个不可忽视的挑战。电磁干扰不仅会影响LED灯具的正常工作,还可能对周围电子设备造成不利影响,甚至引发系统故障。因此,采取有效的硬件措施来解决L...

关键字: LED照明技术 电磁干扰 驱动电源

开关电源具有效率高的特性,而且开关电源的变压器体积比串联稳压型电源的要小得多,电源电路比较整洁,整机重量也有所下降,所以,现在的LED驱动电源

关键字: LED 驱动电源 开关电源

LED驱动电源是把电源供应转换为特定的电压电流以驱动LED发光的电压转换器,通常情况下:LED驱动电源的输入包括高压工频交流(即市电)、低压直流、高压直流、低压高频交流(如电子变压器的输出)等。

关键字: LED 隧道灯 驱动电源
关闭