Signal generator in Microcap 12

Hi, I need to define a signal generator (voltage) of a heart beat. I have one heart beat cycle in text file format (time voltage): t1 v1 t2 v2 . . tn vn Could anybody help me to define such a generator in Microcap 12?

Reply to
Stachu Chebel
Loading thread data ...

so a "PWL" source

found this on the web (for ltspice)

formatting link

(0 0 10m 0.00001023 20m 0.000019995 30m 0.00003627 40m 0.0000744 50m

0.000093 60m 0.0001116 70m 0.0001209 80m 0.0001023 90m 0.0000744 100m 0.0000372 110m 0 120m -0.0000186 130m -0.0000279 140m -0.0000279 150m

-0.0000372 160m -0.0000465 170m -0.0000558 180m -0.0000651 190m

-0.0000744 200m -0.0000837 210m -0.000093 220m -0.0001116 230m

-0.0001302 240m -0.0001488 250m -0.0001767 260m -0.0002232 270m

-0.0002604 280m -0.000279 290m -0.0002511 300m -0.000093 310m 0.000465

320m 0.00186 330m 0.002046 340m 0.0016275 350m 0 360m -0.000186 370m

-0.000372 380m -0.0004185 390m -0.0003255 400m -0.000186 410m

-0.0001395 420m -0.000093 430m -0.0000465 440m -0.0000186 450m

-0.0000093 460m 0 470m 0 480m 0 490m 0 500m 0 510m 0 520m 0 530m 0

540m 0 550m 0 560m 0 570m 0 580m 0 590m 0 600m 0.000009207 610m 0.0000186 620m 0.0000372 630m 0.0000465 640m 0.0000651 650m 0.0000837 660m 0.0001023 670m 0.0001209 680m 0.0001488 690m 0.0001953 700m 0.0002325 710m 0.0002511 720m 0.0002604 730m 0.0002418 740m 0.000186 750m 0.0001395 760m 0.000093 770m 0.0000558 780m 0.0000279 790m 0.0000186 800m 0.0000093 810m 0.0000093 820m 0 830m 0 840m 0 850m 0 860m 0 870m 0 880m 0 890m 0 900m 0 910m 0 920m 0 930m 0 940m 0 950m 0 960m 0 970m 0 980m 0 990m 0 1000m 0)

but what you actually measure in the real world depends largely on electrode placement.

--
  Jasen.
Reply to
Jasen Betts

isim/

Hi Jasen, I was misunderstood. I'm not looking for the ECG data (voltage vs. time). I already have it. In fact from the same website. My problem is how to put t his data into a schematic primitive (voltage/signal generator) that will dr ive the schematic that I want to simulate with Microcap 12.

Stachu

Reply to
Stachu Chebel

His answer was to the point nevertheless: Import your data into a PWL source.

Jeroen Belleman

Reply to
Jeroen Belleman

?(a):

ltisim/

I already have it. In fact from the same website. My problem is how to put this data into a schematic primitive (voltage/signal generator) that will drive the schematic that I want to simulate with Microcap 12.

USR (user) source. Save your voltage levels as a series in a plain text fil e with the extension .usr

Reply to
Rich S

?(a):

ltisim/

I already have it. In fact from the same website. My problem is how to put this data into a schematic primitive (voltage/signal generator) that will drive the schematic that I want to simulate with Microcap 12.

for guidance, look at the SAMPLE.USR file in the DATA folder.

Reply to
Rich S

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.