PSPICE simulation with Schematic of Waveform Selector

3 replies · 5K views · last reply
anandan111
Messages
14
Reaction score
0

Homework Statement


Hi in response to my previous thread (principles behind the waveform selector circuit), I would now like to run a SPICE simulation using the PSPICE schematics software to obtain the theoretical values before entering my lab session. I have uploaded the schematic for your reference.

Homework Equations


Right now I have constructed the circuit in the program but I am unsure of which switch, transistor (BC548) and input signal to put in.

Also if I want a square wave input, which settings do I need to configure?

Assuming then the circuit is constructed perfectly, how am I going to observe the output at the switch?

The Attempt at a Solution


Kindly see attached for the circuit which I have constructed in PSPICE. I have left out the switch and the transistor. For the input signal I used a VSRC 5V power supply.
 
Attachments
  • Schematic of a resistor-capacitor filter ladder with a 9V battery E2 and output filter capacitor C10 (1u) to ground; source V1 feeds 4.7k and 1k divider resistors R1 and R2, then C7 100n, R4 10k, C4 47n, R5 10k, C5 47n, R6 10k, C6 47n, R11 1M with C2 10n, and R9 100k.
    schematics.jpg
    16.5 KB · Views: 756
  • Schematic titled Part 2: Schematic of Waveform Selector, showing a transistor circuit with resistors R2, R4, R5, R6, R8, R9, R11, capacitors C2, C4, C5, C6, C7, C10, a switch, a transistor, and battery E2, with a component value table below.
    waveform selector schematic.png
    17.6 KB · Views: 930
rude man said:
You're inputing just dc supplies? How do you expect to get any waveforms? And why did you omit the transistor?

Well okay I did some research yesterday and found out that if I need a square wave generator I need to use VPULSE. Okay so I used that and instead of constructing the whole circuit, I constructed the circuit based on which switch I press on.

I omitted the transistor because I didn't know which transistor to use.

Please tell me if what I am doing now is correct.
(please see attached for circuit setup and output waveform)

Also can anyone tell me why when I input a 2V square wave pulse, the voltage that appears across the 4.7k Ω resistor is still 2V when it should have been 1.649V.

Thanks!
 
Attachments
  • PSpice schematic of a voltage source V1 (vpulse) driving a 4.7k resistor R8 in series with a 1k resistor R2 to ground, with a voltage probe reading 4.7k, and a Part Name dialog for vpulse listing DC, AC, V1=0V, V2=2V, TD=0s, TR=1ms, TF=1ms.
    switch 1.png
    10.3 KB · Views: 821
  • PSpice simulation plot of V(R8:2) against time from 0s to 30s, y-axis 0 to 2.5 V, showing sparse vertical stick-like points jumping between about 0 V and 2 V.
    output waveform 1.jpg
    34.7 KB · Views: 628
Last edited:
Instead of the switch, just record the waveforms at the nodes in the circuit that the switch would connect to. If you don't have the SPICE data for the BC548 than use any other small signal NPN transistor with a similar beta.

You seem to have a time scale on your recording of seconds. It should be related to the period of the squarewave, to show just 2 or 3 complete cycles.

R8 and R2 form nothing more than a potential divider. You renamed R8 to be R1? And you have accidently shorted it out! No wire connects to their junction.

It would have been better to have this as a continuation of your earlier thread.

Sadly, I can't help with SPICE details, I've forgotten too much.
 
Last edited: