DesignSoft
January 20, 2018, 01:15:12 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to TINACloud, the cloud based version of TINA, running in your browser without any installation and anywhere in the world. For limited time, now you can get it for free if you purchase a new license or upgrade to v10 version of TINA at www.tinacloud.com.  With this great extension you can present or modify your designs wherever you are in the world and even while travelling.

We are eager to hear from you any comments and feedback.
 
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Faulty macro?  (Read 2161 times)
johnb
Newbie
*
Posts: 3


View Profile
« on: December 24, 2015, 07:28:14 AM »

I added the BF862 macro (see below)to my 'user examples' folder and used 'insert macro' to add it to my schematic.  However, when I ran a very simple circuit (a resistor connected to the source and the gate connected to 0v with drain connected to 5v), I get and error saying 'Warning, Pin T2.7 of resistor T2.Rg  is not connected'. this seems to me to be something that is internal to the device.

When I click on the error line, it takes me to the spice model list and highlights 'Rg  5 7  0.535'.   Can anybody tell me what the problem is?

*   BF862 SPICE MODEL MARCH 2007 NXP SEMICONDUCTORS
*   ENVELOPE    SOT23
*   JBF862: 1, Drain,  2,Gate,  3,Source

.SUBCKT BF862 1 2 3

Ld  1 4  1.1n
Ls  3 6  1.25n
Lg  2 5  0.78n
Rg  5 7  0.535      (this line is highlighted)
Cds  1 3  0.0001p
Cgs  2 3  1.05p
Cgd  1 2  0.201p
Co  4 6  0.35092p

J1 4 6 5 JBF862
Logged
horvatht
Global Moderator
Full Member
*****
Posts: 145


View Profile
« Reply #1 on: December 25, 2015, 03:17:05 AM »

This is an ERC warning. The node named '7' is a single node, which means that only Rg is connected to this node, that's why you get the ERC warning. However this is just a warning so the macro may work properly.

You can switch off the ERC checking inside macros if you disable the 'Multi-level ERC' checkbox in the ERC dialog
Logged
johnb
Newbie
*
Posts: 3


View Profile
« Reply #2 on: December 28, 2015, 09:19:20 AM »

Hi, thanks for that.  Turned off multi-level ERC, but it did not solve the problem.  When I ran the 'table of DC results', it listed a whole load of nodes that are internal to the device and the external nodes just showed values due to leakage results etc.

J
Logged
johnb
Newbie
*
Posts: 3


View Profile
« Reply #3 on: December 29, 2015, 09:23:47 AM »

Just a thought.  Could it be a typo in the model?  Presumably, there should either be another reference to pin 7 (ie something else should be connected to it), or it shouldnt be a 7, but something else.  If this is a standard format for jfets, what do other models look like?

J
Logged
horvatht
Global Moderator
Full Member
*****
Posts: 145


View Profile
« Reply #4 on: January 04, 2016, 03:59:55 AM »

Yes, it can be, you can often find spice models with typo on the internet. I suggest you to contact the manufacturer they may help to fix the model. Or try to find another model.
Logged
pwediyfx
Newbie
*
Posts: 6


View Profile
« Reply #5 on: November 20, 2016, 12:01:38 AM »

BF862 N-Channel JFET Model

THIS IS THE BASIC MODEL ...

**********

.MODEL BF862  NJF(BETA=47.8E-3 BETATCE=-.5 RD=.8 RS=7.5 LAMBDA=37.3E-3 VTO=-.57093
+ VTOTC=-2E-3 IS=424.6E-12 ISR=2.995P N=1 NR=2 XTI=3 ALPHA=-1E-3
+ VK=59.97 CGD=7.4002E-12 M=.6015 PB=.5 FC=.5 CGS=8.2890E-12 KF=87.5E-18 AF=1)
.END

**********
Logged
CDRIVE
Full Member
***
Posts: 168


South Florida USA


View Profile
« Reply #6 on: December 02, 2016, 07:42:45 PM »

It's no wonder Tina ia throwing ERC errors. There's no pinout in your spice model.

Chris

Oops! I just noticed that spice model is not your (John's) macro model.  Sorry!
« Last Edit: December 02, 2016, 07:57:30 PM by CDRIVE » Logged

___________________________________________
Working with electricity can be dangerous. Any information that I post, including schematics and or code are intended for educational purposes only. No warranty of circuit or code suitability is expressed or implied. Proceed at your own risk.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!