5 posts / 0 new
Last post
#1 Jan 8, 2019
chrW
Offline
Last seen: 6 months 1 week ago
Joined: 2019-01-08 05:02

Invalid number

Hi,
after successfully importing TLC556 model to pspice I startet netlist generation - with success.
Then I startet a new simulation (time for 2s) with voltage view at output. The subcircuit of the TLC556
rised an invalid number I'm not able to identify.

Can anybody help me on this very problem?
Please find below the latest session log.

Thanks

--------

**** INCLUDING test_556-SCHEMATIC1.net ****
* source TEST_556
R_R1         N00793 N00426  1k  
R_R3         N00426 N00532  1k  
R_R4         N00426 N00493  1k  
R_R5         N00279 0  1k  
X_U1         N00532 N00793 N00532 N00493 N00279 N00493 N00426 0 TLC556
V_V1         N00426 0 12V

**** RESUMING test_556-SCHEMATIC1-test.sim.cir ****
.END

**** EXPANSION OF SUBCIRCUIT X_U1.XMN3 ****
.PARAM L1E {L1 - LDN}
.PARAM L2E {L2 - LDN}
.PARAM B1 {M1*(W1/L1)*(KPN/2)}
.PARAM MR { M2*W2/L2E/(M1*W1/L1E) }
.PARAM RDS {1/(2*SQRT(M2*(W2/L2E)*(KPN/2)*IDIN))}
.PARAM IS 1E-12
.PARAM NN {VTON/(VT*Log(1 + IDIN/IS))}
X_U1.XMN3.FB X_U1.TRGO 0 X_U1.XMN3.V1 {MR}
--------------------------------------$
ERROR -- Invalid number

Tue, 2019-01-08 05:22
RobertoGb
RobertoGb's picture
Offline
Last seen: 1 hour 13 min ago
Joined: 2016-05-24 03:10

Hi,

There is a problem with the value of the parameter MR. Coudl you check please, that there is not spaces here:

.PARAM MR { M2*W2/L2E/(M1*W1/L1E) }

It should look like this:

.PARAM MR {M2*W2/L2E/(M1*W1/L1E)}

If this is not the problem, then try defiing M1 and M2, because I do not know where this params are defined.

If it does not help, please send the cir file.

Regards

 

Tue, 2019-01-08 06:42 (Reply to #2)
chrW
Offline
Last seen: 6 months 1 week ago
Joined: 2019-01-08 05:02

Dear Roberto,

thank's for reply
I corrected the formula in the model-lib of TLC.
Unfortunately without any effect on my simulation. Never the less there some other
formulas including spaces e.g.

.PARAM L1E {L1 - LDN}

but no other between brace and variable.

The Values M1 and M2 are initialized within the model-file: M1 = 1 and M2 = 2

Below the latest output

I'll try to read all the module based files to determine any formula errors and will afterwards include the cir file.

Best regards

Christian

**** EXPANSION OF SUBCIRCUIT X_U1.XMN3 ****
.PARAM L1E {L1 - LDN}
.PARAM L2E {L2 - LDN}
.PARAM B1 {M1*(W1/L1)*(KPN/2)}
.PARAM MR {M2*W2/L2E/(M1*W1/L1E)}
.PARAM RDS {1/(2*SQRT(M2*(W2/L2E)*(KPN/2)*IDIN))}
.PARAM IS 1E-12
.PARAM NN {VTON/(VT*Log(1 + IDIN/IS))}
X_U1.XMN3.FB X_U1.TRGO 0 X_U1.XMN3.V1 {MR}
--------------------------------------$
ERROR -- Invalid number

Tue, 2019-01-08 15:04
retiredEE
Offline
Last seen: 4 weeks 14 hours ago
Joined: 2018-03-21 12:19

I downloaded the TLC556 package from the Texas Instrument website and ran the astable and monostable versions of their example circuits with no error issues with the subcicuits.  I noticed in your netlist there are no capacitors.  Why?  Other than the Vcc decoupling cap, they are necessary for proper timer operation.
 

Wed, 2019-01-09 00:27 (Reply to #4)
chrW
Offline
Last seen: 6 months 1 week ago
Joined: 2019-01-08 05:02

Hi retiredEE,

in fact . my circuit is much more complicated, including timer-delays, startup sequencers, booster an so on (with capacitors) :) ).
Of course with the same subcircuit-effect - so I used a quite simple circuit for this forum to explain my problem.

Regarding the effect, that your circuit works fine, I corrected all formulas within the model - with no effect.

Maybe I downloaded an unstable version. I'll check this.

Thanks for your reply.

Never the less, here's my .cir-file

** Profile: "SCHEMATIC1-test"  [ C:\Program Files\Orcad\Capture\Samples\test_556-schematic1-test.sim ] 

** Creating circuit file "test_556-schematic1-test.sim.cir" 
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

*Libraries: 
* Local Libraries :
* From [PSPICE NETLIST] section of C:\Program Files\Orcad\PSpice\PSpice.ini file:
.lib "C:\Program Files\Orcad\Capture\Library\PSpice\TLC556.LIB" 
.lib "nom.lib" 

*Analysis directives: 
.TRAN  0 2s 0 
.PROBE V(*) I(*) W(*) D(*) NOISE(*) 
.INC ".\test_556-SCHEMATIC1.net" 

.END

Download PSpice Lite and try it for free! Get PSpice Lite
Cadence