2 posts / 0 new
Last post
#1 May 11, 2017
apokas
Offline
Last seen: 1 month 1 week ago
Joined: 2017-05-11 14:24

Help with a Sonion PSpice model

Hello everyone,

I'm trying to understand the PSpice model files that Sonion distributes for its balanced armature receivers (little speakers). I would appreciate the guidance of the community on this since I cannot find some source on the internet that I could use to disentangle this model description.

One example of a .subckt entry in a .lib file is:

*******************************************************************************

.subckt  R2099  Vdd  GND output
E1  105  303  VALUE  { 3.6 *V(302, 0)}
E2  304  0  VALUE  { -3.6 *V(301, 0)}
E3  402  0  111 0 1
E4  403  113  402 0 37712.8458626273
H1  301  0  VH_H1 1 
H2  302  0  VH_H2 1 
H3  401  0  VH_H3 1 
VH_H1  303  106  0V
VH_H2  103  304  0V
VH_H3  112  403  0V
G1  111  0  401 0 -37712.8458626273
R1  Vdd  101  20
R2  101  102  1000
R3  104  0  0.000000000001
R4  105  107  0.0505852673588262
R5  108  0  1000000000000
R6  113  118  5264112870.3286
R7  113  0  1000000000000
R8  114  output  30e6
R9  0  301  1M
R10  0  302  1M
R11  0  401  1000000
R12  0  402  1000000
R13  0  111  1000000000000
L1  102  0  0.011
L2  101  103  0.00426
L3  103  104  -0.0054
L4  107  108  2.3E-05
L5  112  114  7000
L6  112  118  56296
C1  106  0  0.00028
C2  108  111  0.0125
C3  113  0  6.2350079260482E-13
C4  112  0  2.30528711693967E-13
.ends    

*******************************************************************************

This .lib file is accompanied with a .slb file with the following description for part R2099:

@index
symloc R2099 1380 688

*symbol R2099

@type p 9.1
@attributes
a 0 sp 0 0 0 0 hln 100 PART=R2099
a 0 sp 0:13 0 0 10 hlb 100 TEMPLATE=X^@REFDES  %Vdd %GND %output @MODEL
a 0 sp 0:13 0 0 10 hlb 100 MODEL=R2099
a 1 sp 9 0 54 18 hln 100 REFDES=2099
@pins
p 0 148 66 hrb 100 output n 160 60 u
a 0 s 0:13 0 120 20 hln 100 ERC=o
a 0 s 0:13 0 120 20 hln 100 FLOAT=n
a 0 s 0:1 0 151 78 hln 100 PIN=output
p 0 12 42 hln 100 Vdd n 0 40 h
a 0 s 0:1 0 15 24 hrn 100 PIN=Vdd
a 0 s 0:13 0 0 40 hln 100 ERC=x
p 0 12 72 hln 100 GND n 0 70 h
a 0 s 0:1 0 19 96 hrn 100 PIN=GND
a 0 s 0:13 0 0 70 hln 100 ERC=x
@graphics 160 110 0 0 10
r 0 10 30 20 50
r 0 10 60 20 80
r 0 20 20 120 90
r 0 120 40 150 70
z 26 58 56 hln 100 6
Sonion

 

 

My question is; does this description indicate a certain schematic? If so how do I make sense of it? I would appreciate any help and pointing in the right direction for further reading to wrap my head around this. 

Thank you in advance 

A.

 

Fri, 2017-05-12 05:17
Ole
Offline
Last seen: 1 month 2 weeks ago
Joined: 2016-03-07 09:14

Hi

This is not a simple question to answer. Looking into this model it contain lot of information.

First of the .slb file at the bottom is for the old legacy MicroSim schematic drawing tool, but the good thing is that you can create a new schematic symbol for this part in OrCAD Capture.

You can see movie at https://www.youtube.com/watch?v=Ps1cq0WMl2o 

note that if you don't select the "Pick symbols manually" in the Tools->Generate Part dialog then Capture will generate a new symbol for you

.subckt  R2099  Vdd  GND output

This line says that the models is not a built in model in Pspice like resistors, inductors, npn, pnp etc. so it is built using a netlist just like creating a schematic. The model name is R2099 and the last 3 arguments are the nodes of the model

All the next lines are basically netlist lines of different elements built into PSpice

The first letter in each lines explains what part is used

R  resistor

L  inductor

C capacitor

E voltage controlled voltage source

H current controlled voltage source

V voltage source

G voltage controlled current source

Each element takes a number of arguments and the documentation describes these arguments.

Look at c:/Cadence/SPB_17.2/doc/pspcref/pspcrefTOC.html#pagetop

 

I hope this helps

Best regards

Ole

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