ECG sources for PSPICE, LTSPICE, TINA, Multisim
Note: This post uses a text file with ECG signal values that are a bit too ideal-looking. If you want realistic ECG signals in the desired range please use this spreadsheet tool I’ve created. (It uses ECG values from the MIT-BIH Normal Sinus Rhythm Database)
For PSPICE :
An ECG source is implemented using a Piecewise Linear source. To do this we should create a text file with the values of ECG voltages for the corresponding time. I’ve already done that. Download the text file here.
Now, in the parts library search for a VPWL_F_RE_FOREVER source. 
It should look like the image on the left. Now double-click the
Now that’s your ECG source.
For LTSPICE :
- Method: 1
The ECG source is implemented using a Piecewise Linear source. To do this we should create a text file with the values of ECG voltages for the corresponding time. I’ve already done that. Download the text file here.
- Place a Voltage source in the schematic
- Right-click the voltage source and click ‘Advanced’

- Then choose PWL FILE option and provide the address of the text file uploaded above.

- Method: 2
Use a .wav file as input to a voltage source
For TINA :

Files :
Source :
https://e2e.ti.com/support/amplifiers/f/14/p/248858/871282
For Multisim:
One can either use a Labview ECG VI that is already available or a Piecewise linear source.
- Labview ECG VI - http://www.ni.com/example/30925/en/
- Using a PWL source Files : ECGsignals.ms11 Source : https://forums.ni.com/t5/Multisim-and-Ultiboard/simulating-ecg-signal-on-multisim/td-p/1121584
Comments