EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: Alexandros81 on April 05, 2018, 01:58:05 pm

Title: I need help to simulate a full-wave rectifier in EasyEDA
Post by: Alexandros81 on April 05, 2018, 01:58:05 pm
Hi.
I have created the circuit shown in EasyEDA. I took the circuit from the Malvino book of Electronics.
I try to simulate it and I get the waveform attached. This is not what I should get.
I attach also the transformer settings.

thanks
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: glarsson on April 05, 2018, 02:12:50 pm
What did you expect? The curve from the simulation says it shows Vs, the signal on the transformer primary, as a sine wave. Did you intend to show VL?
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: janoc on April 05, 2018, 02:16:40 pm
What did you expect? The curve from the simulation says it shows Vs, the signal on the transformer primary, as a sine wave. Did you intend to show VL?

VL is the blue straight line trace (check the upper left corner of the "scope" window).
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: BrianHG on April 05, 2018, 04:40:15 pm
Maybe it's working, you just dont have the vertical resolution.  Try changing your transformer ratio from 0.1 to 1 to double check.
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: Alexandros81 on April 05, 2018, 04:52:16 pm
I've changed the transformer ratio to 1 and I don't see any change.
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: BrianHG on April 05, 2018, 04:56:48 pm
Are all the wires truly making contact at the pins of each component?
Can you generate a netlist to verify?
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: Alexandros81 on April 05, 2018, 05:22:04 pm
Is this the netlist?
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: ratio on April 05, 2018, 06:04:19 pm
Check the polarity of the secondaries.
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: BrianHG on April 05, 2018, 11:59:24 pm
Is this the netlist?
Yes, right at the top.

You can see:
V1 is a sine wave wired to you probe VS & GND.

Also, you can see that:
R1 is 1K and wired to GND and probe VL.

The second part looks like a new component is being defined, but, it stops there without any wiring below it...

However, there is no transformer wired, or, listed in the netlist, even though it is shown in the schematic.
Is your wires in your schematic actually making electrical contact with the transformer's inputs?
When wiring, have you snapped to electrical grid?
OR
Do you have the model for the transformer installed?

Note: I have not used EasyEDA, but, this is a similar problem I once had with Protel99's Schematic capture with custom components.  Perhaps someone else here on the forum has seen this before with EasyEDA.
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: Alexandros81 on April 06, 2018, 12:02:14 pm
Quote
Is your wires in your schematic actually making electrical contact with the transformer's inputs?

Yes they do.

Quote
When wiring, have you snapped to electrical grid?
OR
Do you have the model for the transformer installed?

Can you explain more these questions?
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: Alexandros81 on April 06, 2018, 12:09:18 pm
Also same problem with this more simple circuit.
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: BrianHG on April 06, 2018, 04:04:40 pm
The diodes are not wired in the netlist.
There is clearly a defined diode hence the line before the .control, but, it's not wired to any of the net names.

Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: T3sl4co1l on April 06, 2018, 06:20:33 pm
Use components from the library that have attached SPICE models.

Or if none exist... use LTSpice or something instead?

Tim
Title: Re: I need help to simulate a full-wave rectifier in EasyEDA
Post by: Alexandros81 on April 06, 2018, 08:10:02 pm
Quote
Use components from the library that have attached SPICE models.
How do I see which components have attached SPICE models?