pspice add 2 sine waves for an input

J

Jason S.

Guest
How do I give an input to a circuit in PSPICE Lite 9.2 that is the sum
of 3 sine waves?

Normally for one sine wave I would do something like
V1 1 0 AC 1 SIN(0 .006 1E3 0 0 30)

I want to have the input be something like
V1 1 0 AC 1 (SIN(0 .006 1E3 0 0 30)+SIN(0 .012 2E3 0 0 90)+SIN(0 2 3E3
0 0 0))

That is, V1=.006sin(1000t+30)+.012sin(2000t+90)+2sin(3000t)

Thanks
 
On 23 Sep 2003 13:33:57 -0700, jjj912@yahoo.com (Jason S.) wrote:

How do I give an input to a circuit in PSPICE Lite 9.2 that is the sum
of 3 sine waves?

Normally for one sine wave I would do something like
V1 1 0 AC 1 SIN(0 .006 1E3 0 0 30)

I want to have the input be something like
V1 1 0 AC 1 (SIN(0 .006 1E3 0 0 30)+SIN(0 .012 2E3 0 0 90)+SIN(0 2 3E3
0 0 0))

That is, V1=.006sin(1000t+30)+.012sin(2000t+90)+2sin(3000t)

Thanks
V1 1 0 SIN(0 .006 1E3 0 0 30)
V2 2 1 SIN(0 .012 2E3 0 0 90)
V3 3 2 SIN(0 2 3E3 0 0 0)

V(3,0) is the sum.

You *may* need a resistor:

R 3 0 1E9

otherwise you may get a floating node error.

(And I assume you meant there to be "2*pi*f*t" in your "That is"
equation rather than "f*t"?)

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 

Welcome to EDABoard.com

Sponsor

Back
Top