Could some electronics guru please shed some light on this ? I created a SPICE model for a simple brushed DC motor. It is complete as it includes the models for torque and inertia. When excited with a SPICE pulse or piece-wise linear model, the armature current, when plotted shows the upward and downward spikes, of the correct amplitude, as expected. Now when I replace the SPICE pulse or piece-wise linear sources with a DC source and a power MOSFET that is pulsed (switched-on/off) with at the same frequency as for the pure SPICE case, the armature current looks very different. Namely, there are no downward going spikes, and the amplitude of the positive spikes is smaller than when the excitation is made with the SPICE pulse or piece-wise linear. I have used a SPICE 'switch' but that has not helped either. I use HSpice or NgSpice alternatively, and the results are consistent. Any hints/suggestions would be of immense help. Thanks in advance.
- posted
11 years ago