DC-DC input resistance for LTSpice simulation

eetech00

Joined Jun 8, 2013
4,724
1. Leave the junction of the voltage sources grounded so they behave correctly as AC voltage generators.

2. You can remove the ground from the diodes but then the diode junction must becomes a "neutral" node, so the filter caps and load resistor will need to be reconnected to "neutral". Also, use diodes with models (for example, 1N4007).

3. What type of filter is that supposed to be?

4. Here is calc I used:

VAC input:
VL_rms = 39.9

Convert VAC to Peak:
VL_pk = VL_rms*sqrt(2)

Compute VDC out:
Vdc = ((3*sqrt(3))/pi) * (VLpeak/sqrt(3)) = 53.884-(diode drops) = ~48VDC (won't be exact)

5. Simulate for at least 10-100 cycles so a good sample is obtained by the simulator.
 

0ri0n

Joined Jan 7, 2025
184
1. Leave the junction of the voltage sources grounded so they behave correctly as AC voltage generators.
As was already mentioned a few times, the voltage sources should not be grounded. If you do that anyway, hundreds of amps are driven through the now redundant bottom diodes during the negative half wave(s) and you are left with half wave rectification.

VAC input:
VL_rms = 39.9

Convert VAC to Peak:
VL_pk = VL_rms*sqrt(2)

Compute VDC out:
Vdc = ((3*sqrt(3))/pi) * (VLpeak/sqrt(3)) = 53.884-(diode drops) = ~48VDC (won't be exact)
The line-to-line RMS voltage VL_rms is already off which leads to the wrong average DC output voltage Vdc. Only 48V DC left? How or where are ~5.8V "lost"?
 

eetech00

Joined Jun 8, 2013
4,724
As was already mentioned a few times, the voltage sources should not be grounded. If you do that anyway, hundreds of amps are driven through the now redundant bottom diodes during the negative half wave(s) and you are left with half wave rectification.
No. The diodes, filter and load should be referenced to "neutral" instead of simulator ground.

The line-to-line RMS voltage VL_rms is already off which leads to the wrong average DC output voltage Vdc. Only 48V DC left? How or where are ~5.8V "lost"?
Compute VDC out:
Vdc = ((3*sqrt(3))/pi) * (VLpeak/sqrt(3)) = 53.884-(diode drops) = ~48VDC (won't be exact)

The whole point of this is to produce 48vdc out with some ripple into a 1305 ohm load (load acting as an SMPS).
I don't know what the filter is supposed to represent.
A DC voltage source could have been used with some ripple added, instead of using an three phase AC source.
 

Danko

Joined Nov 22, 2017
2,222
The whole point of this is to produce 48vdc out with some ripple into a 1305 ohm load (load acting as an SMPS).
I don't know what the filter is supposed to represent.
48 V_dc with 30 mV_pk-pk, 90 Hz ripples:
1786658065372.png
ADDED:
V_dc = (V_phase_peak * sqrt(3)) - (2 * V_forward_diode)
V_dc = 49.88 - 1.88 = 48 V
 
Last edited:

0ri0n

Joined Jan 7, 2025
184
No. The diodes, filter and load should be referenced to "neutral" instead of simulator ground.
...then why are the voltage sources connected to the same GND as the load? Neutral is not the same as load GND.

Compute VDC out:
Vdc = ((3*sqrt(3))/pi) * (VLpeak/sqrt(3)) = 53.884-(diode drops) = ~48VDC (won't be exact)
My point was that the 53.884V is not correct because VL_rms is already wrong. The sudden jump to 48V DC is still unclear.
 

Fred_47

Joined Sep 1, 2025
7
Hi!
I’m simulating a three-phase rectifier with diodes and an R-78HE5.0-0.3 DC-DC converter in LTSpice.
The three sine waves come from a three-phase motor which I assume runs at 15 Hz, so with 8 pole pairs that’s approximately 111 rpm (this is just an example)

---------------------------------------------1---------------------------------------------
Can I simulate the DC-DC converter by replacing it with an equivalent resistor?

I’m afraid I might be doing something wrong when setting up the three input generators
Do you really mean a generator rather than motor? A 15Hz 8 pole synchronous machine will run at 225RPM (RPM=120*f / POLES)

Machines are rated with line to line (L-L) RMS voltage and Line RMS current no matter how the windings are connected. The output terminals are T1, T2, & T3. If the other end of the windings are brought out they will be T4, T5 & T6.

Others have pointed out that the generator neutral must not be connected to the common (either pole) of a full wave rectifier or to any other node in the circuit. Generally, power rectifiers are fed from a dedicated transformer that is either a delta or wye connected and is ungrounded. For actual physical equipment the actual circuit ground is somewhere after the rectifier. Placement of the ground terminal can make making measurements difficult since Spice uses circuit ground as the reference.

A generalized 3 phase generator using V peak and f as input parameters is used in the circuit below. I've also generalized the output filter. The frequency was picked to make the important places on the 3 phase waveform line up with the grid.

Since the generator neutral can't be connected to any part of the circuit, it isn't modeled. You can experiment with different filter arrangements by changing the appropriate param values.

You may need a better DC-DC converter model since some filter settings may interact with the switching devices in the converter. The input phase currents are nasty and will produce all sorts of harmonics that will cause increases losses in a real rotating machine or transformer.

First time posting images so apologies if they're too big/small/wrong format, etc.

Screenshot 2026-08-15 at 13.21.36.png


Screenshot 2026-08-15 at 13.31.54.png
 

Attachments

Thread Starter

andrew74

Joined Jul 25, 2022
263
Do you really mean a generator rather than motor? A 15Hz 8 pole synchronous machine will run at 225RPM (RPM=120*f / POLES)

Machines are rated with line to line (L-L) RMS voltage and Line RMS current no matter how the windings are connected. The output terminals are T1, T2, & T3. If the other end of the windings are brought out they will be T4, T5 & T6.

Others have pointed out that the generator neutral must not be connected to the common (either pole) of a full wave rectifier or to any other node in the circuit. Generally, power rectifiers are fed from a dedicated transformer that is either a delta or wye connected and is ungrounded. For actual physical equipment the actual circuit ground is somewhere after the rectifier. Placement of the ground terminal can make making measurements difficult since Spice uses circuit ground as the reference.

A generalized 3 phase generator using V peak and f as input parameters is used in the circuit below. I've also generalized the output filter. The frequency was picked to make the important places on the 3 phase waveform line up with the grid.

Since the generator neutral can't be connected to any part of the circuit, it isn't modeled. You can experiment with different filter arrangements by changing the appropriate param values.

You may need a better DC-DC converter model since some filter settings may interact with the switching devices in the converter. The input phase currents are nasty and will produce all sorts of harmonics that will cause increases losses in a real rotating machine or transformer.

First time posting images so apologies if they're too big/small/wrong format, etc.

View attachment 370474


View attachment 370475
Hi, and thanks for the reply and the simulation.

When you say we need better DC-DC modeling, do you happen to know how to do it?
The only thing I've thought of is trying different resistor values, simulating a current draw that varies over time.

I would also like to understand if a possible filter could create stability for the switching power supply that I use.
 

Thread Starter

andrew74

Joined Jul 25, 2022
263
Do you really mean a generator rather than motor? A 15Hz 8 pole synchronous machine will run at 225RPM (RPM=120*f / POLES)

Machines are rated with line to line (L-L) RMS voltage and Line RMS current no matter how the windings are connected. The output terminals are T1, T2, & T3. If the other end of the windings are brought out they will be T4, T5 & T6.

Others have pointed out that the generator neutral must not be connected to the common (either pole) of a full wave rectifier or to any other node in the circuit. Generally, power rectifiers are fed from a dedicated transformer that is either a delta or wye connected and is ungrounded. For actual physical equipment the actual circuit ground is somewhere after the rectifier. Placement of the ground terminal can make making measurements difficult since Spice uses circuit ground as the reference.

A generalized 3 phase generator using V peak and f as input parameters is used in the circuit below. I've also generalized the output filter. The frequency was picked to make the important places on the 3 phase waveform line up with the grid.

Since the generator neutral can't be connected to any part of the circuit, it isn't modeled. You can experiment with different filter arrangements by changing the appropriate param values.

You may need a better DC-DC converter model since some filter settings may interact with the switching devices in the converter. The input phase currents are nasty and will produce all sorts of harmonics that will cause increases losses in a real rotating machine or transformer.

First time posting images so apologies if they're too big/small/wrong format, etc.

View attachment 370474


View attachment 370475
One more question: why are C1 and L2 in the filter you included only 1 pF and 1 nF, respectively? Are they almost negligible in the circuit?
If I'm right, then it's a simple low-pass filter consisting of C2 and L1

If I'm wrong, though, I don't understand the cutoff frequency and the "topology" of the filter... it looks like a pi-filter with an inductor added at the end. Or two CL-CL high-pass filters
 

Danko

Joined Nov 22, 2017
2,222
I would also like to understand if a possible filter could create stability for the switching power supply that I use.
Stability of voltage after filter is the same as stability of input voltage.
One more question: why are C1 and L2 in the filter you included only 1 pF and 1 nF, respectively? Are they almost negligible in the circuit?
If I'm right, then it's a simple low-pass filter consisting of C2 and L1
CALCULATOR
1786961087360.png
 
Last edited:
One more question: why are C1 and L2 in the filter you included only 1 pF and 1 nF, respectively? Are they almost negligible in the circuit?
I didn't intend the L C arrangement to be any particular filter.

The C1, L1, C2, L2 arrangement allows trying different arrangements and sizes of C & L without editing the schematic.

Rather than add or remove parts by editing the diagram, you add or remove by changing the value. Since Spice won't allow 0 values you pick very small values to remove the part from the circuit. For me, that is faster than editing the circuit diagram. Prior to Sept. '25 the only circuit simulation available to me was command line Spice where iterating a circuit topology could result in leaving out or adding spurious connections.

One drawback is that having a mix of regular and very small parts slows the computation.

It is somewhat like grounding thru a 10M or 10T resistor. The part satisfies Spice's requirement for a ground without actually grounding the circuit.
 
Last edited:
When you say we need better DC-DC modeling, do you happen to know how to do it?
The only thing I've thought of is trying different resistor values, simulating a current draw that varies over time.
My hunch is that the DC-DC converter has a similar topology to a SMPS. I would model at least the input switching components or some sort of stand in that includes the input filter and a PWM load to introduce the high frequency pulsating current and /or voltage.

My experience with SMPS is very minimal (actually non-existent) and I would look to models of commercial products for guidance.

Any commercial DC-DC converter will have an input filter or a requirement of a certain capacitance at the input. It may also specify avoidance of a range of capacitance. Any inductance in your filter will interact with the DC-DC converter input and the switching frequency may (probably will) excite undesirable behavior.

Looking at the datasheet for an LM2576 (picked at random) , I would try to model the circuit at the output driven by a simple PWM switching device in place of the LM2576 as a beginning attempt. Maybe just the output circuit first then add the switch. When the switch is closed the output (pin 2) is attached to your DC supply, when the switch is open, your supply is disconnected. This happens at a very high frequency compared to your generator.

I didn't check but I suspect that there are Spice models of DC-DC converters available from manufacturers.

Browsing the datasheet I note that the input cap is required and the text makes clear that inductance at the input is not your friend. Maybe just avoiding inductance in your filter is enough and a resistor is a good enough model. I don't have the experience to say one way or another.
Screenshot 2026-08-17 at 10.59.33.png
 

Thread Starter

andrew74

Joined Jul 25, 2022
263
Do you really mean a generator rather than motor? A 15Hz 8 pole synchronous machine will run at 225RPM (RPM=120*f / POLES)

Machines are rated with line to line (L-L) RMS voltage and Line RMS current no matter how the windings are connected. The output terminals are T1, T2, & T3. If the other end of the windings are brought out they will be T4, T5 & T6.

Others have pointed out that the generator neutral must not be connected to the common (either pole) of a full wave rectifier or to any other node in the circuit. Generally, power rectifiers are fed from a dedicated transformer that is either a delta or wye connected and is ungrounded. For actual physical equipment the actual circuit ground is somewhere after the rectifier. Placement of the ground terminal can make making measurements difficult since Spice uses circuit ground as the reference.

A generalized 3 phase generator using V peak and f as input parameters is used in the circuit below. I've also generalized the output filter. The frequency was picked to make the important places on the 3 phase waveform line up with the grid.

Since the generator neutral can't be connected to any part of the circuit, it isn't modeled. You can experiment with different filter arrangements by changing the appropriate param values.

You may need a better DC-DC converter model since some filter settings may interact with the switching devices in the converter. The input phase currents are nasty and will produce all sorts of harmonics that will cause increases losses in a real rotating machine or transformer.

First time posting images so apologies if they're too big/small/wrong format, etc.

View attachment 370474


View attachment 370475
Why didn’t you use three generators arranged in this way in your simulation?
1787043066147.png

Is it just a matter of habit?
I imagine it’s exactly the same as your setup… obviously with a different voltage amplitude
 
Top