Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Thanks, Russ! Do you mean Mars face (which I had up for a couple of days), or the Tonto picture? That was actually my son, who is a full-blooded gringo. Before Tonto, there was a picture of me in my gold-prospecting getup, and before that, the Mars face again.Russlk said:Ron: I liked your previous picture much better!
Copy this code and paste it into Notepad, then save it in the SwCADIII directory as fullwave rectifier.asc.whiz115 said:guys i have downloaded the LTspice...please help me to setup a simulation!
Version 4
SHEET 1 880 680
WIRE 128 0 128 -48
WIRE 128 192 128 80
WIRE 224 80 224 64
WIRE 272 -48 128 -48
WIRE 272 -16 272 -48
WIRE 272 64 224 64
WIRE 272 64 272 48
WIRE 272 96 272 64
WIRE 272 192 128 192
WIRE 272 192 272 160
WIRE 384 -48 272 -48
WIRE 384 -16 384 -48
WIRE 384 64 384 48
WIRE 384 96 384 64
WIRE 384 192 272 192
WIRE 384 192 384 160
WIRE 544 64 384 64
WIRE 544 96 544 64
WIRE 544 192 544 160
WIRE 592 64 544 64
WIRE 672 64 592 64
WIRE 672 96 672 64
WIRE 672 192 672 176
FLAG 224 80 0
FLAG 544 192 0
FLAG 672 192 0
FLAG 592 64 out
SYMBOL voltage 128 -16 R0
WINDOW 3 -177 101 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(0 17 50)
SYMATTR InstName V1
SYMBOL diode 368 -16 R0
SYMATTR InstName D1
SYMATTR Value 1N4001
SYMBOL diode 256 96 R0
WINDOW 3 133 65 Left 0
SYMATTR InstName D2
SYMATTR Value 1N4001
SYMBOL diode 288 48 R180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Left 0
SYMATTR InstName D3
SYMATTR Value 1N4001
SYMBOL diode 400 160 R180
WINDOW 0 24 72 Left 0
WINDOW 3 136 -2 Left 0
SYMATTR InstName D4
SYMATTR Value 1N4001
SYMBOL cap 528 96 R0
SYMATTR InstName C1
SYMATTR Value 4000µ
SYMBOL res 656 80 R0
SYMATTR InstName R1
SYMATTR Value 15
TEXT 202 242 Left 0 !.tran 50m
Ron H said:Copy this code and paste it into Notepad
Version 4
SHEET 1 880 680
WIRE 432 32 32 32
WIRE 592 32 432 32
WIRE 240 64 -304 64
WIRE 32 128 32 32
WIRE 96 128 32 128
WIRE 240 128 240 64
WIRE 240 128 160 128
WIRE 592 160 592 32
WIRE -304 176 -304 64
WIRE 432 176 432 32
WIRE 32 192 32 128
WIRE 240 192 240 128
WIRE 32 208 32 192
WIRE 432 240 432 224
WIRE 32 320 32 256
WIRE 96 320 32 320
WIRE 240 320 240 256
WIRE 240 320 160 320
WIRE 432 320 432 240
WIRE 432 320 240 320
WIRE 592 320 592 224
WIRE 592 320 432 320
WIRE -304 384 -304 256
WIRE -80 384 -304 384
WIRE 32 384 32 320
WIRE 32 384 -80 384
WIRE -80 480 -80 384
FLAG -80 480 0
SYMBOL voltage -304 160 R0
WINDOW 123 24 132 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 12
SYMATTR InstName V1
SYMATTR Value SINE(0 12 60)
SYMBOL schottky 96 144 R270
WINDOW 0 32 32 VTop 0
WINDOW 3 0 32 VBottom 0
SYMATTR InstName D1
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 96 304 M90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName D2
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 48 192 M0
SYMATTR InstName D3
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 256 192 M0
SYMATTR InstName D4
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL polcap 416 176 R0
WINDOW 3 24 64 Left 0
SYMATTR Value 4700µ
SYMATTR InstName C1
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=50 Irms=2 Rser=0.041 MTBF=2000 Lser=0 ppPkg=1
SYMBOL res2 576 160 R0
SYMATTR InstName R1
SYMATTR Value 30
SYMATTR SpiceLine tol=1 pwr=5
TEXT -208 504 Left 0 !.tran 1
Your code gives me an "unknown schematic syntax" error, but the "retry" option worked. Don't know what that's all about.whiz115 said:thank you Ron H! you're great guy!
while i was waiting your reply i tried to play with LTspice and i almost
did the simulation by myself! it looks very close to what you did...with
some mistakes ofcourse! check it if you want! it's my first time working
this program... and i think it's very cool i'm very new and i don't know...are there any better than this?
Not sure what you mean. More cap gives less ripple. Caveat: Huge capacitors can cause very high peak currents (see below). These can damage the diodes and/or the capacitor, and can cause EMI (electromagnetic interference).to the subject...
experimenting with the code you just gave me i realized that too much
capacitance it doesn't solve the problem with ripple noise, there is a limit
and after that it's pointless! am i correct?
They are the voltages at the terminals of the voltage source. Have you discovered how to probe with the mouse?please tell me what is V(n001) V(n002)?
In order for the cap to recharge every half cycle, high-current spikes must flow through the rectifiers and into the capacitor. Probe the diode currents to see what I mean.I(C1) probably it's the current in the capacitor, but why i see spikes
every 10ms? (sorry...probably it's very stupid question...
but i can't understand what i see there)
Only as accurate as the models of the components. For simple circuits like this, it's pretty good, although the high peak currents involved can cause problems in a real circuit if you don't build it to handle them.how accurate is this program?
PLEASE take a look at the RMS current in the capacitor! Most caps your voltage formulas etc are going to have you choosing will burn themselves up!Ron H said:Only as accurate as the models of the components. For simple circuits like this, it's pretty good, although the high peak currents involved can cause problems in a real circuit if you don't build it to handle them.
Ron H said:Not sure what you mean. More cap gives less ripple. Caveat: Huge capacitors can cause very high peak currents (see below). These can damage the diodes and/or the capacitor, and can cause EMI (electromagnetic interference).
Ron H said:They are the voltages at the terminals of the voltage source. Have you discovered how to probe with the mouse?
Ron H said:In order for the cap to recharge every half cycle, high-current spikes must flow through the rectifiers and into the capacitor. Probe the diode currents to see what I mean.
Ron H said:Only as accurate as the models of the components. For simple circuits like this, it's pretty good, although the high peak currents involved can cause problems in a real circuit if you don't build it to handle them.
1uF=1ma is a common rule of thumb, nothing more.whiz115 said:
why? i think it's irrelevant if i use regulator or what is the input voltage,
i think a capacitor can charge to any voltage within it's limits,
as i said before, someone told me that 1uF=1mA...if we have 1uF capacitor
it can keep charge of 1mA and i just want to ask if this is the actual ratio...
if you need to know voltage...ok let's say 12V but i don't understand what's
the point...
Caveat: Huge capacitors can cause very high peak currents (see below). These can damage the diodes and/or the capacitor, and can cause EMI (electromagnetic interference).
whiz115 said:a second problem that i noticed is when i ran Ron H's code, the voltage before and after rectification was almost the same.... and not something like that:
12*1,41= 16,92V
I also think that it has no relevance.Ron H said:I'm not sure why SwCAD III includes wattage in the resistor definition box. As far as I know, it has no relevance to the simulation.
Not a problem. I was not accusing you of anything, just trying to make sure there were no surprise fireworksRon H said:This is a classic example of how simulators get people into trouble. If you don't understand electronics, simulators will only confuse you. As I said before, garbage in=garbage out.
Whiz, simulators will allow you to run sims (and they will seem to work just fine) that, if built in hardware, would go up in smoke. They are not a substitute for education and common sense.
I'm not sure why SwCAD III includes wattage in the resistor definition box. As far as I know, it has no relevance to the simulation.
Cadstarsucks has good advice about ESR and the possibility of destroying your capacitors. BTW, Cadstarsucks, in my own defense, I DID say
That is indeed common practice. In production supplies it is often a balancing act between ratings and prices...as better parts come down in price the older ones get switched out.eng1 said:yes.. and since power is proportional to i^2, what about splitting the input capacitor into two capacitors in parallel to achieve the same value? The ripple current would be shared between the two caps.
eng1 said:Almost the same?? Where did you put the probe? and what do you see?
Try this: place two labels (a and b) at the pins of the generator. Run the simulation and click on "Add Trace". Write V(b)-V(a) in the edit box. You'll see a 12 Vrms sine wave.