Simulation problems and their solution - PSPICE

8:55 PM

The output of the rectifier was not sinusoidal. It was like the one shown below.



Then i found the problem in  the .tran command. The script of the .tran command is

tran <tstep> <tstop> <tstart> <tmax>

In this synax the parameters are as follows
tstep: initial time step for numerical integration. This is just a suggested value as the simulator may reduce or increase this value as needed.

tstop: simulation stops when tstop is reached
tstart: transient analysis always starts from t=0. If tstart is given results are saved only from tstart to tstop (i.e., results from 0 to tstart are calculated but discarded).
tmax: maximum allowed time step. Sometimes the simulator may choose a time step too long and details are lost or even results become inaccurate. This parameter is useful for the analysis of some oscillators.

After readjusting the tmax value the output is as shown below.



Reference: https://vision.lakeheadu.ca/eng4136/spice/transient_analysis.html

You Might Also Like

0 comments

Copyright statement

Copyright © 2015-2017 by Hadeed A Sher

All rights reserved. No part of this blog may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without my prior written permission. For permission requests, write to the blog author addressed “Attention: Permissions Coordinator,” at the contact form.


Disclaimer

This blog is about my PhD work and an archive to my engineering education. However, additional study material for the courses i teach and that i have studied is also archived here.
All the circuits in this blog are tested by myself under specific conditions. BE CAREFUL if you are experimenting them, the blogger and this blog are not responsible to any harm and or damage to yourself and your equipment.


Contact form

Name

Email *

Message *