This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Convergence Problem with a Lamp Model Simulation

Other Parts Discussed in Thread: TINA-TI

Hi,

I am trying to simulate a Fluorescent lamp Model with TINA-TI. I first implemented the model in Orcad PSPICE, then imported the netlist to TINA, edited it to create a MACRO to be used in TINA-TI. 

However, whenever I run the transient simulation, I get the convergence problem. I have tried to adjust the Simulation parameters but nothing seems to help. The same circuit runs in PSICE well (after checking the Autoconvergence option). 5140.flamp03.TSC

Can you help to identify what is the reason? I can see that an EVALUE block E_E_rad is the one causing issue (same causes an issue in PSPICE, but Autoconvergence resolves this). 

My TINA-TI version  9.3.50.40 SF-TI. Attached is the .TSC file and the .TSM file if needed.0250.FLAMP03.TSM

Saqib

  • Saquib,

            I looked at the lamp's netlist and I noticed that there might be a division by zero performed by the E_E_rad voltage controlled voltage source. I added 1 uVolt to the denominator of the source and it seems to solve the convergence issue. In your macro replace the E_E_rad line for the updated definition, see below:

    OLD: E_E_rad     RAD 0 VALUE { A2*exp(-E*A3/(K*V(Tlamp))) }

    Replace with

    NEW: E_E_rad     RAD 0 VALUE { A2*exp(-E*A3/(K*V(Tlamp) + 1U)) }

    Should you have any further questions or concerns, please feel free to re-post.

    Regards,

    Marcos.

  • Hi Marcos,

     

    Thanks. Yes, the convergence issue is gone, however, in the Transient analysis, I see a Sine Wave that is very low in amplitude (just within +/-1V) whereas the expected waveform is about +/-180V SIne wave. What result do you see? I can see correct waveform in PSPICE.

     

    Saqib