Hi, thanks for replying me. but still i am too new to pspice, can you explain further? Thanks.Saying that Vpulse can't simulate as what it is doesn't give use much to work with.
How are you configuring the source? What parameters are you using? What is it doing (or not doing) that it shouldn't (or should)?
If the square wave was simply plus and minus 15 V could you simulate that?
If the waveform was a constant -5 V could you simulate that?
If you had two voltage supplies and you wanted to connect them so that their voltages add, could you simulate that?
Does that give you any ideas?
You say that you can't get the pulse source to do what you want. Okay. Fine. But how can we possibly tell what you are doing wrong with the pulse source when you won't tell us how you set it up or how it is behaving. Just saying that it doesn't do what you wanted it to gives us nothing to work with! This is like calling up an auto mechanic and telling him that you can't get cold air to come out of the vents and then asking them what you need to do to fix it. How can they possibly do that unless you give them detailed information about what you did and what happened in response?Hi, thanks for replying me. but still i am too new to pspice, can you explain further? Thanks.
Sorry for that, this is what i've made and it's not result that i was expectedYou say that you can't get the pulse source to do what you want. Okay. Fine. But how can we possibly tell what you are doing wrong with the pulse source when you won't tell us how you set it up or how it is behaving. Just saying that it doesn't do what you wanted it to gives us nothing to work with! This is like calling up an auto mechanic and telling him that you can't get cold air to come out of the vents and then asking them what you need to do to fix it. How can they possibly do that unless you give them detailed information about what you did and what happened in response?
Ya, that's the problem, i dont know how to set the Vin to be +10 and -20, and the analysis is not as expectedOkay. What result were you expecting?
These appear to be the operating point values (the values at the very beginning of the simulation). So at that time the pulse output if 0V. That agrees with the green probe. The voltage at the top of the supply is 5 V. That agrees with the fact that it is at the positive terminal of a 5 V battery that is tied to the common. And the diode has a voltage of 415 mV across it. That might seem low, since we like to think of the forward drops being in the 600 mV to 700 mV range, but with a 100 kΩ resistor you only have about 46 uA flowing in it. The rule of thumb for a silicon PN junction is that the voltage changes by 60 mV for every decade change in current. So it the diode normally had 600 mV across it with, say, 50 mA of current in it, then at 50 uA of current the voltage would be down by about 180 mV putting it in the 420 mV range. So that's not unreasonable at all.
Keep in mind that this is ONLY the initial operating point solution.
You are probably more interested in the transient analysis simulation results. What do those look like?
As to getting the pulse source to match the waveform you want, the waveform you are trying to simulate goes between +20 V and -10 V. You've set up your pulse source to go between 0 V and 10 V. What do you think you might want to change that to?