Simulate a circuit diagram of a step-down chopper using Multisim/MATLAB

15 replies · 4K views · last reply
Fatima Hasan
Messages
315
Reaction score
14
Homework Statement
Attached below.
Relevant Equations
-
Using Multisim or any Electrical Engineering software:

Circuit diagram of a step-down chopper: a 0/5V 500 Hz ramp source feeds a 741 op-amp comparator with a 10k potentiometer reference, driving a BUP36 transistor through a 1k resistor, with a 1k load resistor and 100V source at the output.
I tried to simulate using Multisim, I got the output voltage.
How to find the waveform for the current ?

Multisim screenshot of a circuit with a 741 op-amp driving a transistor Q1, a function generator XFG2 at 500 Hz, potentiometer R2 at 50%, resistors R1 and R3 at 1 kΩ, a 100 V source V1, and an oscilloscope XSC1 showing a flat trace near zero.


Could someone confirm my answer please? Any help is really appreciated .
 
Sorry, how is "Figure 3" the circuit diagram of a step-down chopper? Did that come from some textbook? I'm not seeing any relationship to Figure 2 yet...
 
berkeman said:
Sorry, how is "Figure 3" the circuit diagram of a step-down chopper? Did that come from some textbook? I'm not seeing any relationship to Figure 2 yet...
It's given by the instructor.
 
Fatima Hasan said:
It's given by the instructor.
Then could you please first explain how the circuit in Figure 3 is an inplementation of the block diagram in Figure 2? What circuit components in Figure 3 are in each block in Figure 2? :wink:
 
berkeman said:
Then could you please first explain how the circuit in Figure 3 is an inplementation of the block diagram in Figure 2? What circuit components in Figure 3 are in each block in Figure 2? :wink:
I don't know what is the relation between the two figures. So, I only concentrate on figure(3) to simulate.
 
berkeman said:
Then could you please first explain how the circuit in Figure 3 is an inplementation of the block diagram in Figure 2? What circuit components in Figure 3 are in each block in Figure 2? :wink:
I think there is no relation between them, because figure(3) is also given in another experiment without figure(2). And the same question is repeated ( simulate figure(3) ).
 
Fatima Hasan said:
So, I only concentrate on figure(3) to simulate.
Okay, so let's disregard the thread title (I can fix it up later), and ignore Figure 2. Then tell me what you think the circuit in Figure 3 is doing... What is the LM741 opamp being used as (hint -- it's not being used as an opamp in that circuit). And what is the output of this circuit (hint -- it's not where you are probing...).
 
berkeman said:
What is the LM741 opamp being used as
It should amplify the weak signal .
 
berkeman said:
And what is the output of this circuit (hint -- it's not where you are probing...)
I tried to connect the oscilloscope to the 1k resistor, on the right , but nothing appears.
Multisim screenshot of an oscilloscope window (XSC1) showing a blank black trace display, with channel A and B scales at 5 V/Div and timebase at 10 ms/Div; behind it, part of a schematic with resistor R3 labelled 1kΩ and wire connections.
 
Your screenshot shows the 'scope probe on the output of your 100V power supply that is connected to the collector of the transistor through a resistor. The "output" should be the collector of the transistor...

Can you show all of the node voltages in the circuit? What are you doing with the voltage source on the left? I think the original circuit showed a sawtooth waveform into that pin of the LM741.

BTW -- Did you say what that LM741 is being used as?
 
berkeman said:
Your screenshot shows the 'scope probe on the output of your 100V power supply that is connected to the collector of the transistor through a resistor. The "output" should be the collector of the transistor...

Can you show all of the node voltages in the circuit? What are you doing with the voltage source on the left? I think the original circuit showed a sawtooth waveform into that pin of the LM741.

BTW -- Did you say what that LM741 is being used as?
I connected a sawtooth waveform to pin2 of LM741 .
LM741 is used to amplify the signal .
I connected the scope to the collector of the transistor directly , but the result is still the same.
Multisim schematic of an op-amp (741) stage with a sawtooth function generator feeding the inverting input, a 10k potentiometer R2 on the non-inverting input, R1 1k to a transistor Q1 with R3 1k to a 100V source, and an oscilloscope XSC1 showing a flat trace.
 
Here's the thing about computer simulations: They simulate exactly what you program them to do. You can draw your circuit and just run the simulator, but, in my experience, you will have about 10-20% chance of it working. You know; garbage in, garbage out.

People make mistakes. A key engineering skill, in any discipline, is to check your work. So once you have drawn the schematic, you should spend some time checking carefully to make sure it is what you intended. This practice will save you lots of time and aggravation. For example, look at every pin on your IC and verify that it is connected to what you want it to be connected to.
 
  • Like
Likes   Reactions: BvU and berkeman
Fatima Hasan said:
I connected a sawtooth waveform to pin2 of LM741 .
LM741 is used to amplify the signal .
I connected the scope to the collector of the transistor directly , but the result is still the same.
Please learn to plot multiple waveforms on the same display at the same time, and to plot a length of time that shows multiple cycles of interest in your switching waveform. Thank you.

Show on one plot of multiple cycles:
  • The + and - inputs to the opamp (which is being used as a _______ [not an "amplifier"])
  • The output of the opamp which is mostly the same as the base of the transistor
  • The drain of the transistor
 
DaveE said:
Here's the thing about computer simulations: They simulate exactly what you program them to do. You can draw your circuit and just run the simulator, but, in my experience, you will have about 10-20% chance of it working. You know; garbage in, garbage out.

People make mistakes. A key engineering skill, in any discipline, is to check your work. So once you have drawn the schematic, you should spend some time checking carefully to make sure it is what you intended. This practice will save you lots of time and aggravation. For example, look at every pin on your IC and verify that it is connected to what you want it to be connected to.
I tried to modified the circuit and here's what I got:
Output voltage:
Oscilloscope trace on a black grid showing a periodic pulse waveform: narrow high pulses with steep rising edges and flat tops, repeating at regular intervals above a flat low baseline.

Output current :
Oscilloscope-style waveform of a square-wave pulse train on a black background, with dashed horizontal and vertical reference lines and a rising pulse edge at each period.


Could you confirm my answer please?
 
Fatima Hasan said:
Could you confirm my answer please?
No. I don't know what your new circuit is (I suppose the corrected version shown before), and your plots have no information about the waveform. 1V, 100V, 1mV? However, I will say this: it appears that your circuit is making pulses. The circuit you showed before (with some minor corrections) will also make voltage pulses.

Anyway, I'm glad your making progress, but don't you think you can check it yourself? What is this circuit supposed to do? Suppose the transistor was off what would the displayed voltage be? What about when it's on?When should it be on? When should it be off? Frequency? Duty cycle?
 
Fatima Hasan said:
I tried to modified the circuit and here's what I got:
Output voltage:
View attachment 262156
Output current :
View attachment 262157

Could you confirm my answer please?
I tried to simulate the circuit again:
Multisim schematic of an op-amp comparator driving a 2N2222A transistor switch into a 1.0 kΩ resistor and 100 V source, with a function generator, potentiometer R7 set to 10 kΩ at 70 %, and several oscilloscopes.

The load voltage:
Oscilloscope-XSC2 screen showing a periodic pulse train: sharp rising edges with slight slope, flat tops near 100 V, drop to 0 V, 2 ms per division timebase, Channel A at 50 V per division.

The load current:
Screenshot of an oscilloscope window (XSC5) showing a pulse train on a black grid: four rectangular pulses of constant height rising from a low baseline, with Channel A at 50 V/Div and timebase 2 ms/Div.

Oscilloscope 1
Multisim oscilloscope screenshot showing a sawtooth waveform with a steep drop and a long linear rise, with a function generator panel set to 500 Hz, 99% duty cycle, 5 Vp amplitude and 0 V offset.


However, the values of the load current and load voltage seem to be incorrect. Could someone check where is my mistake, please ?