Quantcast
Channel: Cadence PCB Design Forum
Viewing all 5525 articles
Browse latest View live

New to Pspice

$
0
0

Hey guys,

 Im an engineering student and i am using Spice to model a single solar cell, but i am having some problems with it, i was wondering if someone can help me make this work, my problem is that the plot at the output is just a flat line i dont know why, i cant figure out what i am doing wrong.

 

Here is my code:

**cell_2.cir

.include cell_2.lib
xcell2 0 31 32 cell_2 params:area=126.6 j0=1e-11 j02=1e-9  jsc=0.0343 rs={RS} rsh=10000
.param RS=1
vbias 31 0 dc 0
virrad 32 0 dc 1000
.plot dc i(vbias)
.dc vbias -0.1 0.6 0.01
.step param RS list 0.0001 0.001 0.01 0.1 1
.probe
.end

 

and this is the subcircuit that i used

***** Cell_2.lib


.subckt cell_2 300 303 302 params:area=1, j0=1, jsc=1, j02=0, rs=1, rsh=1

girrad 300 301 value={(jsc/1000)*v(302)*area}
d1 301 300 diode
.model diode d(is={j0*area})
**d2 301 300 diode2
**.model diode2 d(is={j02*area},n=2)
.ends cell_2

Any help is appriciated.

 


Avago HPCL-3120

$
0
0

Hi,

 I need to convert Avago HPCL-3120 to Capture and Pspice. Not usually a big problem but this time it not as usual.

* HCPL-3120 SPICE Macromodel
* (also applies to HCPL-J312)
* Rev. A
* 09/07
* ZFC
*
* This is the behavioural model for the above-mentioned part number.
* It is valid for functional simulation over the range specified below.
* (over recommended operating conditions as specified in the datasheet)
*
* Macromodels provided by Avago Technologies are not warranted
* as fully representing all of the specifications and operating
* characteristics of the product.
*
* Macromodels are useful for evaluating product performance but they
* cannot model exact device performance under all conditions, nor are
* they intended to replace breadboarding for final verification.
*
* Copyright 2007 Avago Technologies Limited. All Rights Reserved
********************************************************************************
*
*               pin1     to    pin8
*                 |             |
.subckt HCPL_3120 1 2 3 4 5 6 7 8
q2icc 163 84 8  pnpmod
q1icc 84 84 8  pnpmod
xled 5 10 3 2 led
xlimitl 5 10 50 limitl
ehdrive 42 7  40 5 1
eldrive 51 5  50 5 -1
xhlimit 5 10 40 limit
vuvlo 20 5 DC 12
vccinside 22 5 DC 30
dmosl 5 7 dmod
ddrive3 47 46 dmod
ddrive2 49 47 dmod
ddrive1 7 49 dmod
q4icc 122 124 5  npnmod
q3icc 84 122 124  npnmod
qdrive3 8 46 47  NPNMOD
qdrive2 8 47 49  NPNMOD
qdrive1 8 49 48  NPNMOD
xuvlo 5 22 8 21 23 comparator
muvlo 10 24 5 5 nmosswitch L=1e-6 W=100e-6
mdrive 7 52 5 5 nmosmod L=1e-6 W=10e-3
cuvlo 24 5 20e-12
chigh 8 7 1e-12
clgate 52 5 1e-12
clow 7 5 1e-12
chgate 46 7 300e-12
rshort67  6 7  0.0001
ruvlo2 23 21 40e3
r2icc 124 5 600
ruvlo3 23 24 1e3
r1icc 163 122 1e3
rhgate 42 46 1e3
rlgate 51 52 1e3
ruvlo 21 20 1e3
rehdrive 48 7 1.4

.MODEL nmosswitch nmos (vto=+0.7)
.MODEL nmosmod nmos (vto=+0.5   RS=0.9  LAMBDA=0)
.MODEL npnmod  npn bf=16
.MODEL pnpmod  pnp bf=100
.MODEL dmod D IS=2.22P CJO=1P VJ=.376 M=.139 N=1.07
.ends HCPL_3120

.subckt led 1 3 4 5
gband 1 3  9 1 1
fphoto 1 9  vsense  1
egain 7 4  6 4 1
cband 3 1 140e-12
ithre 3 1 DC 500e-6
vsense 8 4 DC 0
dled 6 4 lednor
doptic 7 8 lednorc
rband 3 1 1e3 TC1=2e-3
rthermo 9 1 1 TC1=-1.5e-3
rled 5 6 1
.MODEL LEDNOR D IS=5E-16 N=2 XTI=3 EG=2.1 BV=5 IBV=10u
+  CJO=60p VJ=.75 M=.3333 FC=.5 TT=20n
.MODEL LEDNORC D IS=5E-16 N=2 XTI=3 EG=2.1 BV=5 IBV=10u
+  VJ=.75 M=.3333 FC=.5
.ends led

.subckt limitl 1 2 3
elimit 4 1  2 7 10
vnegativ 6 1 DC -12
vthreshold 7 1 DC 2
vpositive 5 1 DC  12
dnega 6 3 dmod
dposi 3 5 dmod
r2 4 3 1e3
r1 2 7 10e6
.MODEL nmosswitch nmos (vto=+0.7)
.MODEL nmosmod nmos (vto=+0.5   RS=0.9  LAMBDA=0)
.MODEL npnmod  npn bf=16
.MODEL pnpmod  pnp bf=100
.MODEL dmod D IS=2.22P CJO=1P VJ=.376 M=.139 N=1.07
.ends limitl

.subckt limit 1 2 3
elimit 4 1  2 7 10
vnegativ 6 1 DC -10
vthreshold 7 1 DC 2
vpositive 5 1 DC 10
dnega 6 3 dmod
dposi 3 5 dmod
r2 4 3 1e3
r1 2 7 1e6
.MODEL nmosswitch nmos (vto=+0.7)
.MODEL nmosmod nmos (vto=+0.5   RS=0.9  LAMBDA=0)
.MODEL npnmod  npn bf=16
.MODEL pnpmod  pnp bf=100
.MODEL dmod D IS=2.22P CJO=1P VJ=.376 M=.139 N=1.07
.ends limit

.subckt comparator 1 2 3 4 5
mcopa 5 6 1 1 nmosswitch L=1e-6 W=100e-6
egain 6 1  3 4 1e3
ro 5 2 10e3
rgate 6 1 10e3
r1n 3 4 1e6
.MODEL nmosswitch nmos (vto=+0.7)
.MODEL nmosmod nmos (vto=+0.5   RS=0.9  LAMBDA=0)
.MODEL npnmod  npn bf=16
.MODEL pnpmod  pnp bf=100
.MODEL dmod D IS=2.22P CJO=1P VJ=.376 M=.139 N=1.07
.ends comparator

========================================

When I import it goes until ".ends HCPL_3120". It seems to be a multi-whatever part.

When I import through IBIS translator (jut guessing) it creates several parts. Then I retouch HCPL_3120 in Captue->File->OpenLibrary ...I place it in circuit.

****** The line above is wrong, wat I was trying was file open directly to the *.txt Avago file ************

Well, pins 1 and 4 are NC. If I do not connect them, I get NET0075 unconnected pin. If I connect a ground (what should I?) I get in PSpice "Incorrect Number of Interface Nodes". (Just is case, I connect pins 6 and 7 together, these are the same output (parallel)).

This is quite annoying. I don't have a clue about this.

Any help is appreciated.
Martins

Using LAPLACE model in PSPICE

$
0
0

Hi,

I was trying to replace a Resistance (345 ohm) and inductance(2.6mH) in series in my circuit with a Laplace model available in Pspice ABM Library. Since the Laplace for a RL circuit is R+Ls , I updated the 1/1+s as 1/345+0.0026s but the results obtained were not matching with the case where I was using the resistance and inductance components directly. Am I doing any mistakes in using this Laplace model? I would like to know whether anybody has used this previously,

Thanks in advance

regards

Madhuraj

Loading skill files

$
0
0

hi....

Is there a way to load skill files without using skill loader?

Thanks!

Layering Keepouts

$
0
0

Good morning all,

    I have a switch on a pcb which has a button cap placed on it.  I created a round keepout to avoid placing components around the switch which will hit the button cap.  I draw the actuator as a second placebound top for when I view the board in 3D.  Since the actuator for the switch is higher than the keepout for the button cap I get a DRC error.  Is it possible to layer the keepouts so I can place a higher keepout or "keepout void" within the button cap keepout or is the only way is to change the height of the switch actuator placebound top?

Thank you,

Ken

PADSTACK DEFINE KEEPOUT

$
0
0

hi,

I need to define route keepout for a padstack like  fıducial.pad how can i manage that ?

thanks in advance 

Problem with 1 pin symbols loading?

$
0
0

 I'm doing a design in Design Entry HDL and importing into Allegro PCB Design L.  (Versions 16.5).  All of the multipinned parts import and place without issues.  But I have some 1 pin parts, grounded mounting holes and fiducials, that give an error trying to place "E - Cannot load symbol 'xx'".  There are no errors or warnings when exporting physical from the schematic.  When importing into the PCB there are warnings "WARNING(SPMHNI-194): Symbol 'xx' for devide 'xx' not found in PSMPATH or must be "dbdoctor"ed.".  The part symbols ARE in the PSMPATH along with all the other parts that placed without issue.  Running the DBDOCTOR database check on the symbols and re-saving them doesn't make any difference.  

Any clues as to why I can't load these parts?  Thanks in advance.

 

Stability analysis of an ECU by using PSPICE

$
0
0

Hi,

I am doing the stability analysis (need to look at the amplitude response, phase response and phase delay) of an electronic circuit which will drive a DC motor (ofcourse its a closed loop system). The input to the circuit varies from +10 V to -10V and circuit contain opamp ELH0041. I am using ORCAD PSPICE for the modeling and would like to know, what kind of source model I can use for this analysis and what kind of analysis I should select from PSPICE.

Any inputs on this will be highly appreciated

regards

MAdhu

 


Manual entry of components

$
0
0

Is there any way of manually adding a component to an Allegro PCB design using PCB Design XL in the same way that you could in OrCad Layout.

I have been able to copy a footprint but the component is unassigned  (R*) and I cannot find how to assign it a new part number and to connect nets to it. In Layout, there was a feature that allowed you to add components and manually stitch nets to them.

New 16.5 user

$
0
0

Hi all,

 I am new to PCB Editor 16.5 coming from Orcad Layout 15.7. I have been using Orcad products to do pcb layouts since it first came out back in the 80's. I would consider myself an expert user in Orcad Layout. I have found the transition to 16.5 to be nothing short of painful and I am looking for some guidance to help ease the pain..........

Any tips / lessons learned from folks that have successfully made this jump would be appreciated.

Tom

Can I just rename the refdes of the parts with the same property which I specified?

$
0
0

Hi,

Are there any ways to rename the refdes of the parts with the same property(ie."connector=dual") which I specified during package the schematic? And do not change the refdes of the other parts without that property.

 Thanks

Orcad 16.6 panning

$
0
0

In previous version of Orcad, panning a schematic was very simple.  Zoom also had intuitive results.

Why I pan, I would use the C key and just move the mouse to pan.  

When zooming, I could use the I key to zoom and and the O key to zoom out.  And this would maintain the current position of the mouse.

Now, with 16.6, the C key not longer pans.  And the I and O keys, although they still can be used to zoom, do not maintain the current position.

Is this a bug?  Or has the needed features changed? 

Generating gerbers

$
0
0

Hi Guys 

 

im getting a few warnings in the log file when generating gerbers.

WARNING: more than one via class in film record

    WARNING: Null REGULAR-PAD specified for padstack VIA188 at (-576.17 -530.00) 

is it ok to leave these warnings alone?

Regards

Fran  

Ratsnest minimization length

$
0
0

Hi

I am anew user oforcadpcbandwould like to knowifit is possible tominimizethe length of theratsnestduringthe placementof a component andnot after it isplaced.

Thanks

Silk Screen Visibility OrCAD PCB Designer 16.6

$
0
0

I've opened up an existing brd file that I generated using OrCAD PCB Designer Professional v16.5.  It appears that all of my parameters remained intact, however, the colors, transparency and brightness of the individual elements look different.  Most of the differences aren't bad, they're just different.

 The only problem I'm experiencing with this new color scheme is that my silk screen elements are almost completely invisible.  You can't really see them unless you place your cursor over the silk screen element that you would like to see.  I've even set the color of all of my silk screen elements to bright white in the Color192 screen and toyed with the transparency and shadow settings.  The only way I can see the silk screen items is to supress all of the other elements and just enable the silk screen stuff.  Even then, the color of the silk screen stuff is very muted and not very bright at all. 

Has anyone else seen this or have an idea how to make the silk screen more visible or brighter? 


Snap To Grid - No Way!

$
0
0

OK - The "Snap To Grid" option simply doesn't work (for what I need) under 16.6 SP5.  I obviously expect too much, but after several hours of clicking and reading the help docs, I can only conclude its broke. (please excuse the rant).

I'm trying to clean up a bunch items imported from dxf that ended up at weird off-grid coordinates, although basically close. The elements of concern just include mechanical features like circles, squares and panel outlines.  I've successfully imported it to a brd file, but not surprisingly the coordinates are all screwed up from accuracy round-offs or whatever.  Things were imported into the non-etch subclass "board_geometry/assembly_detail" for intended use as placement reference.

The problem arises in trying to clean it up a bit using the move > snap-to-grid command option.  I have not been able to find a mouse click sequence that works (usefully) to get the drawing elements to align to my Allegro grid (non-etch), which is currently set to 1-mil.  After several hours of playing around, I've managed to achieve alignment of a few elements, but not by using the "Snap To Grid" command option.

Any of the experts here have any insights into how Cadence intended this option to work?  Is this a new UI productivity feature of 16.6 or do I just need to re-training?  Also, discovering some help documentation (latest version installed) on "nudging" items a small amount, the "Shift-Click, Shift-Arrow" key method described doesn't work either.  The folks writing the help files must be a few revs behind.

One issue might be with my imported circles that are interpreted by Allegro as single-line arcs (segments) with the same start/end point, and a center coordinate identified in the "show element" report.  However there is "no origin" or "vertices" identifyable when tring to use the Move command, which is basically making the snap-to-grid option useless.

Productivity increasing again - - Thanks!

Orcad 16.6 capture ERROR(ORCAP-5004): Error initializing COM property pages: Invalid pointer

$
0
0

Hi, all

My OS is windows 7, 32bits. SPB version is 16.6.

When I trying to create Netlist, this error happed.

I have searched in this forum, try to debug with the method in this link:

http://www.cadence.com/Community/forums/p/15490/1310574.aspx#1310574

But it didn't work, I went to the (Install_dir)\tools\capture, there was no pxllite.ocx and truereuse.ocx but orpxllite.ocx and ortruereuse.ocx. I run them the same way as previous link, I did got "DllRegisterServer in orpxllite.ocx succeeded." and "DllRegisterServer in ortrueReuse.ocx succeeded." I still can't create netlist. I also trie to run capture "as a administrator", it can't work.

Thanks.

Chris

 

design tools

$
0
0
what is the difference between port and off-page connector in orcad? please repli 4 my ques...

Hlp with pcb design

$
0
0
Hello,

I am a student and i am having problems with understanding a certain pcb design. You can find the pcb here: http://pdf1.alldatasheet.com/datasheet-pdf/view/449682/TI1/LMR62014.html

What i don't understand is if the pcb is just routed normally using tracks and then there is a polygon placed on top to fill the board or if the polygon(s) are used to connect components, also i do not understand what the through holes are there for. Anything that could help me understand this pcb is greatly appreciated. My goal is to reproduce this pcb, so anything that gets me going in that direction (tutorials etc.) is greatly appreciated.

Thank you.

Define via structure

$
0
0

Hi all,

         there is just explanation from Cadence Help about how can we use define via structure to duplicate via and cline we use frequently to do BGA fanout but there is no instruction on how do we able to delete those unused via structure? Does anyone over here know how to delete off those unwanted via structure? Thanks for help.

Viewing all 5525 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>