Monday, February 21, 2011

Simulating Complex ECG Patterns with an Arbitrary Waveform Generator

Using an electrocardiogram (ECG sometimes called an EKG) is an invaluable way to identify various physical ailments. Today there is a wide array of cardiac equipment that displays and interprets ECG signal patterns. Medical equipment designers need a flexible way to seamlessly generate accurate ECG signal patterns to verify and test their designs. In this post, I will discuss how to generate complex ECG signal patterns with an arbitrary waveform generator (AWG). Below in the figure is a 12-lead ECG waveform.

There are three methods to create and store an ECG on an AWG:
1. You can use a device such as a digitizer or oscilloscope to capture an actual ECG signal from a patient. Then you upload the digitized points to the AWG. With modern AWGs, there are many ways to accomplish this, including using a .csv file and a memory stick.
2. You can use mathematical software to create an ECG signal. There may be custom software for the AWG that can do this, or you could use a standard software package, such as MATLAB ®.
3. If your instrument has this capability, you can use your AWG’s built-in "typical" ECG waveform. The Agilent 33521A has a built-in ECG waveform.

Using an AWG’s arb sequencing capability to simulate complex ECG patterns
AWGs that have arb sequencing ability, like the 33521A function/arb waveform generator, can seamlessly transition from one arb waveform stored in memory to another without any discontinuities in the output. The figure below shows an example using the 33521A’s arb sequencing feature to combine three different ECG waveforms stored in different places in memory into one waveform.

The first ECG waveform cycle is meant to be an "ideal" ECG waveform. The other two were based on the first one but were changed in a systematic way using MATLAB software. Notice the second ECG
waveform has a flattened T wave. In the third ECG waveform, the T wave is inverted.
The 33521A’s sequencing capability provides flexibility for controlling when it sequences from one waveform to another. One way to control sequencing is to specify how many cycles each waveform is run before sequencing to the next. Sequences can also return to a waveform that was used previously in that sequence.
Combining the 33521A’s arb sequencing feature with its large arb memory, 1 million points per channel standard with 16 million optional, gives you the ability to simulate complex ECG patterns for thorough testing of cardiac monitoring equipment designs. For example, each ECG waveform shown in the above figure were created with about 500 points. You could store up to 2,000 different ECG waveforms of this size in the 33521A’s standard arb memory. The 33521A allows arb sequences to contain up to 512 steps, allowing you to create complex ECG patterns for thorough testing. You can control arb sequences on the 33521A asynchronously by using triggers to control waveform transitions instead of cycle counts. This provides you with the ability to continuously cycle a waveform for some undetermined time period until it receives a software trigger or external trigger or front-panel trigger. Once it receives the trigger, the 33521A transitions to the next waveform in the sequence. You can also mix the two ways of transitioning through a sequence, specifying a count and using triggers.

Free Matlab ECG simulation program
You can download and use an ECG simulator program created in MATLAB®. You can find the ECG simulator download and instructions at simulation-using-matlab or type “ECG MATLAB” into a search engine and it should be at the top of the results. The program creates ECG waveforms using multiple Fourier series summed together. A Fourier series is used for each distinct wave shape in the ECG waveform, such as the P wave, T wave, etc. The program allows you to adjust various ECG waveform parameters to simulate various cardiac conditions. You can then transfer the ECG waveform you created to a 33521A either by storing it in a .csv file and using a memory stick or remotely via Matlab's instrument toolbox feature.


  1. That was helpfull for some beginners. DMM formation not that simple as amused, but I tried for once. I have been learning for Asic Chip Design. My learning included fast, low power with high speed designs for automotive and electronic designs.


  3. Very nice article. I recommand it to my friends,I,ll be back here again and again visit here
    ALOKA UST-5286

  4. Very nice article. I recommand it to my friends,I,ll be back here again and again visit here
    ALOKA UST-5512N

  5. Very nice article. I recommand it to my friends,I,ll be back here again and again . ALOKA UST-5546

  6. Very informative and impressive post you have written, this is quite interesting and i have went through it completely, an upgraded information is shared, keep sharing such valuable information.

  7. Your post will be rather good, and I’m sure some will find it interesting because it’s about a topic that’s as widely

    discussed as others. Some may even find it useful.Thanks so much for your post.



  8. I love this content. Very informative article. Thanks for sharing……Take a look to our blog:
    ALOKA UST-5546

  9. Great post. I have in fact enjoyed reading your website posts. I have been googling blogs and sites in related manner recently and i have to state you have a nice
    Electrolyte Analyzer

  10. Very intersting post…. I enjoyed reading your informative article and considering the points ALOKA UST-5546

  11. Quite interesting. LOL. thank you for your sharing
    Backing up data in advance is really important. Or you would have to use
    windows vista data recovery for help, which is really troublesome.

  12. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.

  13. Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store. I’d prefer to use some with the content on my blog whether you don’t mind. Natually I’ll give you a link on your web blog. Thanks for sharing.
    cara mengobati infeksi saluran kemih
    cara mengobati anyang anyangan pada wanita

  14. Wow that's a wonderfull blog having all details & helpful. UK Power Cord

  15. شركة مكافحة الصراصير بالرياض شركة مكافحة حشرات بالرياض
    شركة رش مبيدات بالرياض شركة رش مبيدات بالرياض
    شركة مكافحة حشرات بالرياض شركة مكافحة حشرات بالرياض
    شركة عزل الاسطح بالرياض شركة عزل الاسطح بالرياض
    شركة تنظيف بالبخار بالرياض شركة رش مبيدات بالرياض
    افضل شركة كشف تسربات المياه بالرياض افضل شركة كشف تسربات المياه بالرياض
    افضل شركة كشف تسربات المياه بالرياض افضل شركة كشف تسربات المياه بالرياض

  16. شركة نقل اثاث بمكة شركة نقل اثاث بمكة
    شركة نقل اثاث بمكة شركة نقل اثاث بمكة
    شركة نقل اثاث بجدة شركة نقل اثاث بجدة
    شركة نقل اثاث بمكة شركة نقل اثاث بمكة
    شركة نقل اثاث بجدة شركة نقل اثاث بجدة
    شركة نقل اثاث بجدة شركة نقل اثاث بجدة
    شركة نقل اثاث بمكة شركة نقل اثاث بمكة

  17. In the past, politics and/or technological how to recover permanently deleted photos from iphone 6
    challenges stood in the way of industry. Furthermore, technology will continue to reduce the cost of extracting oil from the ground as time goes on. And companies will embark on new projects outside of North America when the economics are favorable.

  18. To do Not Pressure OR Anything, But Have Ever This considered post there is statement PT Lampung Service this is a
    Service HP Bandar Lampung whose looking to do day
    Iklan Baris Lampung to this looking then to out standing that is
    Business Of Luxury Design I will try it.
    Jasa Kursus Service HP They have jumping places and so that the device other kid's activity.Youtuber Lampung ,

    Thanks ! Visit Back Subscribel Here ->Youtuber Lampung <-

  19. Thanks for your very good and useful site
    Good content was on your site
    دانلود اهنگ


  20. Here is a good Weblog You might Come across Fascinating that we Encourage Youโปรโมชั่นGclub ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
    เพียงแค่คุณสมัคร Gclub กับทางทีมงานของเราเพียงเท่านั้น
    สมัครสล็อตออนไลน์ >>> goldenslot
    สนใจร่วมลงทุนกับเรา สมัครเอเย่น Gclub คลิ๊กได้เลย

  21. Enjoyed studying this, very good stuff, thanks.
    เว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
    เป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
    และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
    สมัครสมาชิกที่นี่ >>> Gclub Royal1688

  22. مجله اینترنتی بخدانید – بخندید و بخوانید و بدانید در بخدانید

    دوستان و همراهان عزیز یکی از سایت های مطرحی که امروز قصد معرفی آن را داریم مجله سرگرمی بخدانید با آدرس ( ) است که در زمینه های مختلفی در حال فعالیت می باشد.

    آموزش اوریگامی- مجله سرگرمی بخدانید

    در کنار همه آموزش هایی که در این سایت وجود دارد آموزش اوریگامی یکی از مهمترین و موثرترین موارد است. آموزش اوریگامی در واقع همان بازی با کاغذ است که می توان به کمک کمی هنر به خرج دادن اشکال و ابزار های زیبا و شکیلی را با کاغذ ایجاد نمود.

    آموزش ویندوز 10 – مجله سرگرمی بخدانید

    آموزش ویندوز 10 نیز در دسته بندی آموزش نرم افزار ها و سیستم های عامل در این سایت به وضوح به چشم می خورد.

    دمنوش برای رفع استرس – مجله سرگرمی بخدانید

    یکی از مسائل جالب در این سایت تنوع در موضوعات است.

    در دنیای پر تلاطم امروز ، همواره شاهد قضایایی هستیم که آرامش ما را به هم می زنند.

    چی بخوریم لاغر بشیم ؟ – مجله سرگرمی بخدانید

    امروزه دغدغه بسیاری از افراد این است که چی بخوریم لاغر بشیم ؟

    همچنین مطالب دیگه ایی هم هست نظیر آموزش درست کردن قرمه سبزی که بهتون کمک میکنه چطوری بهترین خورشت رو درست کنید

    یا بیوگرافی مهراد جم که از خواننده های جدید و خوش صدا هست که خوندنش خالی از لطف نیست

    اگر به گیاهان دارویی علاقه دارین معرفی گیاه زنیان رو به شما پیشنهاد میکنم

    اگر به هر دلیلی دنبال مهاجرت هستید و نمیدونید چطوریه ما به شما راحت ترین روش های مهاجرت رو میگیم

    و یه لیست بلند بالا از معرفی اسامی دخترانه خاص براتون آماده کردیم که ببینید و لذت ببرید

  23. One of the strategies the company has adopted in becoming the best Urgent College Paper Writing Services providing company in the industry is the focus on delivering College Essay Writing Service that are 100% unique.

  24. لیست دوره های آموزشی ایـ توجیهی به شرح ذیل می باشد:

    دوره حضوری آموزش کشت گلخانه ای زعفران
    دوره حضوری آموزش کشت، پرورش و فراوری جلبک
    دوره حضوری آموزش کاشت سیر
    دوره حضوری آموزش کاشت آنغوزه
    دوره حضوری آموزش پرورش و تکثیر میلورم
    دوره حضوری آموزش کشت هیدروپونیک صیفی جات (خیار و گوجه)
    دوره حضوری آموزش کاشت آلوئه ورا (گلخانه ای و مزرعه ای)
    دوره حضوری آموزش کاشت هیدروپونیک گل رز