PSPICE rectified AC to voltage regulator

In summary: IC?In summary, the OP-amp is not drawing current from the source. The BJT supposed to be a current regulator, so my understanding is that it will increase current flow from collecter to emitter when there's voltage at the base.
  • #1
Zeuss1220
15
0
I'm using a LM[Three-One-Seven] to regulate dc voltage output from mains power(240V ac). For PSPICE simulation, I was instructed to use an ideal OpAmp and Darlington BJT to model the IC in PSPICE. I came up with the following model, which satisfies the equation Vo=Vref(1 + RL/RH), where Vref = 1.25V(nominal voltage for the IC). Function of the circuit is to supply power to another device.

Refer to attachment regulatorDC.jpg

[For OPAMP, VPOS = 50V, VNEG= -50V]
I tried using a dc input to the circuit and it works as expected i.e. Output voltage = 1.25(1+RL/RH) for any input voltage and load resistance as long as the input is higher than the desired output. For example, having RL=1320, RH = 120 and Vin = 10, I only obtain 10.2V instead of 15V.

To obtain power from the mains, a transformer and a rectifier is required. So firstly, I attempted to simulate the circuit without the transformer.
I have tried connecting a AC source(VSIN) to a full-wave diode rectifier(w/ smoothing cap) to the circuit. However, the circuit still gives a output of 15V(same resistor values as example above), for any VAMPL of the VSIN, even VAMPL = 0. I used two VSIN with ground in the middle because PSPICE requires me to ground that loop else I get an convergence error.

Refer to regulatorAC.jpg

What is the mistake I'm making? I tried the function of the rectifier seperately in a simple test circuit, and it works fine. Is it something to do with the OPAMP's VPOS and VNEG? It didn't seem to affect during the test with dc input. Or is the current being drawn for the source(although the voltage isn't sufficient) to give the desired voltage at the output? If that's the case, do I need to use the transformer to isolate the regulator from the source? I have tried using XFRM_Linear as a transformer and still have the same undesired results.

Please tell me if any clarification is needed. Thank you in advance.EDIT: The circuit still gives 15V output WITHOUT any input source connected. Only sources remaining are the 1.25V VDC for the reference voltage and the supply to the OpAmp
 

Attachments

  • regulatorDC.jpg
    regulatorDC.jpg
    34.4 KB · Views: 946
  • regulatorAC.JPG
    regulatorAC.JPG
    28.5 KB · Views: 898
Last edited:
Physics news on Phys.org
  • #2
I haven't used spice for a long long time but...

When the input voltage is set to zero is it possible the circuit continues to power itself from C8? Perhaps monitor a few more nodes in the input side. See what the voltage is on C8 when the AC input is zero.
 
  • #3
There's 15.68V DC at the input side, with or without the smoothing cap (in fact with or without the input bypass cap too).
 
  • #4
Weird. Has to be a bug somewhere in the model.
 
  • #5
It has something to do with the diode and the op amp. The power to the output comes from the OpAmp supply. During the test without the rectifier, the input(Vin) of the regulator is connected directly to the source(VSIN). So Vin must = VSIN. So the source is the one limiting the output voltage. Using the rectifier, Vin is not forced to = VSIN. So Vin goes up to any desired value to give the output voltage as 15V, again the power coming from the OpAmp. The difference between VSIN and Vin, is dropped across the diode (forward bias voltage), which in practice may break the diode.

The voltage across the diode is not forced to be = forward bias voltage (e.g 0.6V). Either something is wrong with my regulator model or I should use a different diode, if it helps?
 
  • #6
Zeuss1220 said:
EDIT: The circuit still gives 15V output WITHOUT any input source connected. Only sources remaining are the 1.25V VDC for the reference voltage and the supply to the OpAmp
Yes. :biggrin: When you use a high-powered OP-AMP it can supply all the power you need, there is no requirement for the transformer and rectifier! The regulated output is all sourced from the OP-AMP; being ideal it has no trouble compensating for the Darlington Pair's gain being very low (read, 0).
 
  • Like
Likes 1 person
  • #7
The ideal Op amp should be an feedback error amplifier. So should I set the supply voltage lower? or is there a problem with regulator model design?
 
  • #8
You could try restricting the OP-AMP's output capability.
 
  • #9
The only parameters of the OpAmp I can change is its supply. I tried setting it at 5V, but it is limiting the output voltage.

Source: 30V dc
Input without rectifier.
Op amp supply: 5V

Output votlage: 4.05V

The BJT is not "*drawing current" from the source. The BJT supposed to be a current regulator, so my understanding is that it will increase current flow from collecter to emitter when there's voltage at the base. Is this correct?
 
  • #10
In a "real" device the power for the op-amp would be derived from the mains. No mains, no power for the op-amp and so no "phantom" output.

Why not make the op-amp power supply and the "regulator" reference supply controlled voltage sources? Choose a voltage or current that would only exist when the AC mains are present to activate these supplies.
 
  • #11
@gneill
I understand what you're trying to say, and I see how that's sensible in practice. But I was specifically instructed to use an Ideal Op Amp for simulation.

As for the reference voltage, I have no other idea besides a DC source. I'm not sure whether using another "source" in the model affects the function of the circuit.

The idea is to simulate the a voltage regulator circuit using an OpAmp(for feedback error amplification) and a Darlingtion BJT(for current regulation).
 
  • #13
Zeuss1220 said:
The only parameters of the OpAmp I can change is its supply. I tried setting it at 5V, but it is limiting the output voltage.

Source: 30V dc
Input without rectifier.
Op amp supply: 5V
For starters, you could add a resistance in series with the base of the Darlington Pair to limit the drive current from the OP-AMP.
 
  • Like
Likes 1 person
  • #14
Adding a high value resistor at the base of the darlington pair seemed to do the trick. Even at 50V op amp supply, sufficient voltage is required from the source to provide an output voltage of 15V. I used an 8k resistor, are there any recommended value I should use instead?

From what I understand, the most of the voltage from the opamp output falls across the resistor, whereas only the *forward-bias voltage appears across the base-emitter. Earlier, all of the voltage appears across BE, hence the OpAmp supplies the output voltage.

Please correct my understanding if necessary. Its very important for me that I understand completely anything I work on or learn.
 
  • #15
Whoa! I didn't have in mind kΩ! I thought a few Ohms might do, enough to limit the base current to about 5% of the load current. Or pretend the Darlington Pair has a gain of, say, 40, and work backwards.

A practical OP-AMP would have some output resistance and drive limitation.
 
  • #16
Low ohms give me convergence errors. Not sure what it actually means though, came across it numerous times working with this circuit.
 
  • #17
You don't seem to have indicated over what power range you wish to test this model. The required value of added resistance is load dependent. With no load, it may indeed need multiple kΩ. (A resistor may not be best representative of a real OP-AMP, perhaps a current limiter. But I think a single well-chosen resistor may well suffice provided your needs are modest.)
 
  • #18
For this simulation, load current absorption is to be assumed as 0.5A, hence 30 Ohms load resistor.
I get no difference in outpt for op amp resistor value varied to different kOhm values. Like I mentioned earlier, values in the tens or hundred ohms give me a convergence error. I'll assume the value as 8k for now.

I'm having some doubts on the temperature dependency of the circuit. I simulated the circuit for multiple temperatures, no difference were observed. However, does the real 317 performance gets affected by temperature besides component damage?
 
  • #19
Zeuss1220 said:
I'm having some doubts on the temperature dependency of the circuit. I simulated the circuit for multiple temperatures, no difference were observed. However, does the real 317 performance gets affected by temperature besides component damage?
Using an "ideal OP-AMP" and that ideal 1.25V voltage source leaves little else to show temp dependencies, I guess.

You can find datasheets online. http://imageshack.us/a/img811/5412/thgooglefriend1.gif
 
Last edited by a moderator:

1. What is a PSPICE rectified AC to voltage regulator?

A PSPICE rectified AC to voltage regulator is a type of electronic circuit that converts alternating current (AC) from a power source into a steady, regulated direct current (DC) output voltage. This is achieved through the use of diodes, capacitors, and other components to rectify and filter the AC signal.

2. How does a PSPICE rectified AC to voltage regulator work?

A PSPICE rectified AC to voltage regulator works by using a combination of diodes and capacitors to convert the AC signal into a pulsating DC signal. This pulsating DC signal is then filtered and smoothed out to produce a stable DC output voltage.

3. What is the purpose of using a PSPICE rectified AC to voltage regulator?

The purpose of using a PSPICE rectified AC to voltage regulator is to provide a stable and regulated DC voltage for electronic devices. This is necessary because many electronic devices require a specific voltage to function properly, and the PSPICE rectified AC to voltage regulator ensures that the output voltage remains constant even if the input AC voltage fluctuates.

4. What are the advantages of using a PSPICE rectified AC to voltage regulator?

There are several advantages of using a PSPICE rectified AC to voltage regulator. These include providing a stable and regulated output voltage, protecting electronic devices from power fluctuations, and being able to handle a wide range of input voltages. It also requires fewer components and is more cost-effective compared to other types of voltage regulators.

5. Are there any limitations to using a PSPICE rectified AC to voltage regulator?

One limitation of using a PSPICE rectified AC to voltage regulator is that it can only regulate the output voltage to a certain extent. If the input AC voltage is too low or too high, the regulator may not be able to provide the desired output voltage. Additionally, it may produce some ripple in the output voltage, which may need to be further filtered for sensitive electronic devices.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
8
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
896
  • Engineering and Comp Sci Homework Help
Replies
9
Views
3K
  • Electrical Engineering
Replies
10
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Electrical Engineering
Replies
14
Views
2K
  • Electrical Engineering
Replies
7
Views
3K
  • Electrical Engineering
Replies
21
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
Back
Top