• ECG


    起搏检测在我的另外两篇博客提供了参考电路。

    http://blog.csdn.net/iamlvshijie/article/details/8922544

    http://blog.csdn.net/iamlvshijie/article/details/9171517

    本篇文章主要讲解ADS1298的起搏检测功能的实现。

    实现方法

    从数据手册上pace dectect 章节可以看到(sbas459H的69页)ads1298提供了两种方式检测起搏信号:

    1 软件方法

    要求采样率有一定的要求(采样定律),需要达到32khz,再用数字信号处理方法识别起搏脉冲。

    优点:灵活地设置检测起搏脉冲的阈值。

    但是必须考虑到两点:

    1 pga 的带宽(pga也是放大器)

    2 硬件方法

    硬件方法见以下: 

    参考这份帖子

    http://e2e.ti.com/support/data_converters/precision_data_converters/f/73/t/119171.aspx

     

    Take a look at Figure 64 (page 69) of the current ADS1298 data sheet.  The TESTx_PACE_OUT signals are buffered output from the internal PGA.  The hardware pace detection circuitry is basically a comparator circuit.  When using the ADS1298with hardware pace detection, you would have this comparator circuit fed by the output signals of the TESTx_PACE_OUT.  The output pulse you receive from the comparator then is fed back into a GPIO on the ADS1298.  The status (absence or presence) of the pulse would then be part of the 24-bit status word you get from the ADS1298

    上面这段话说明了思路,就是将ADS1298的某路模拟信号,通过buffer从TESTx_PACE_OUT引脚输出来,通过外部起搏电路检测,这个检测电路其实就是一个比较器,将比较的结果(数字信号)输入到GPIO中去,而GPIO的状态存放在在读取数据中(1),这样处理器在读取心电数据的同时就可以读取pace有无。 

    所以带有起搏信号的心电信号经过芯片从paceout引脚输出,其中的增益为6(pga)*0.4= 2.4 。

    可以从心电的输入通道输入一个正弦波,再在paceout引脚处检测信号大小。 

    寄存器配置:

    (1)读取ADS1298的数据格式 具体见我的博客 

    就是选择paceout 的来源,选通相应的开关。

    wct相关

    还有一个要注意的是,连接到paceout的通道的信号有可能同时引到了wct引脚的放大器上,wct会造成信号的干扰。具体见wct相关章节。

  • 相关阅读:
    2015新年说点啥
    How to debug the CPU usage 100
    C# Keyword usage virtual + override VS new
    Getting out of your comfort zone.
    Resource for learning Algos
    深圳五险一金缴纳比例
    HashSet/List 排序
    DataGrid 刷新选中问题
    WPF常用代码:Visual Logical Tree
    WPF常用代码:依赖属性
  • 原文地址:https://www.cnblogs.com/AijunHe/p/6082876.html
Copyright © 2020-2023  润新知