Manuals >Reference >IC-CAP Functions
Print version of this Book (PDF file)
prevnext

IC-CAP Functions

This chapter describes the IC-CAP functions. They appear in alphabetical order.

When reviewing the functions, keep in mind the following points:

    • Many functions can be called from within a Program or Macro. Several examples are provided here; additional examples can be found in Calls to the Function Library.
    • The list does not represent all the functions available in a Program or Macro. Additional built-in functions are available in the Parameter Extraction Language. Refer to Built-in Functions.
    • For consistency, the argument names listed for each function reflect the descriptive labels these arguments would get in a standalone Transform editor.
    • The Input Arguments referred to as Strings/Pars/Vars can be any of the following alternatives: string expressions, Model parameter names, DUT parameter names, or IC-CAP system variable names.

The tables that follow list the available functions by category, as they appear in the program.

Table 72 IC-CAP Functions 
AHBT




AgilentHBT_ABCX_extract
AgilentHBT_calculate_ccb
AgilentHBT_calculate_rbb
AgilentHBT_CCMAX_extract
AgilentHBT_CEMAX_extract
AgilentHBT_CJC_extract
AgilentHBT_CJE_extract
AgilentHBT_IS_NF_extract
AgilentHBT_ISC_NC_extract
AgilentHBT_ISE_NE_extract
AgilentHBT_ISH_NH_extract
AgilentHBT_ISR_NR_extract
AgilentHBT_ISRH_NRH_extract
AgilentHBT_ITC_ITC2_extract
AgilentHBT_Param_Init
AgilentHBT_TFC0_extract
AgilentHBT_VJC_extract
AgilentHBT_VJE_extract
ATFT (obsolete)




HPTFTCV_model_cgd
HPTFTDC_lin
HPTFTDC_sat
HPTFTCV_model_cgs
HPTFTDC_model_id
HPTFT_param
B2200




B2200_bias_card_enable
B2200_bias_ch_enable
B2200_bias_enable
B2200_bias_init
B2200_close_interface
B2200_connect
B2200_couple_enable
B2200_couple_setup
B2200_debug
B2200_disconnect_card
B2200_GPIB_handler
B2200_ground_card_enable
B2200_ground_enable
B2200_ground_init
B2200_ground _outch_enable
B2200_ground _unused_inputs
B2200_init
B2200_open_interface
BJT




BJTAC_high_freq
BJTDC_rc
BJTCV_stoc
BJTAC_rb_rbm_irb
BJTDC_rcfb
RBBcalc
BJTDC_fwd_gummel
BJTDC_re
H11corr
BJTDC_is_nf
BJTDC_rev_gummel
BJT_dc_model
BJTDC_nr
BJTDC_vaf_var
HFBJT_linear_ssmod_sim
HFBJT_linear_elem_extr
 
 
BPOPAMP




BPOPAMP_macro_model
 
 
BSIM1 (obsolete)




BSIM1DC_geom_indep
BSIM1DC_sub
BSIMCV_total_cap
BSIM1DC_lin_sat
 
 
BSIM2 (obsolete)




BSIM2DC_geom_indep
BSIM2_save_dev_pars
BSIM2_lin_plot
BSIM2DC_lin_sat
BSIMCV_total_cap
 
BSIM3




BSIM3_set_opt
BSIM3DC_sat_narrow
BSIM3DC_vth
BSIM3DC_bulk_short
BSIM3DC_sat_short
BSIM3DC_vth_sim
BSIM3DC_lin_large
BSIM3DC_sat_short2
BSIM3DC_vth_versus
BSIM3DC_lin_narrow
BSIM3DC_sub_short
BSIM3CVmodCBD
BSIM3DC_lin_short
BSIM3DC_sub_short2
BSIM3CVmodCBS
BSIM3DC_lin_small
BSIM3DC_model
BSIM3CV_total_cap
BSIM3_calculate
BSIM3_toolkit_vth
BSIM3_check_par
BSIM3_DC_vth
BSIM3_DC_calculate
BSIM3_DC_get_parameter
BSIM3_DC_calc_bin_parameter
BSIM3_error


BSIM4
 
 
BSIM4_check_par
BSIM4_DC_get_parameter
BSIM4_error
BSIM4_DC_calculate
BSIM4_DC_extr_A0_AGS_KETA
BSIM4_set_opt
BSIM430_DC_calculate
BSIM4_DC_vth


BSIM450_DC_calculate
BSIM430_DC_vth


BSIM4_DC_calc_bin_parameter
BSIM450_DC_vth


Data Exchange




ICMSarray
ICMSpin
SPECSSpin
ICMSchar
ICMSreal
LINKarray
ICMSint
ICMSstr
LINKchar
LINKint
LINKpin
LINKreal
LINKstr
 
 
Data Export




icdb_add_comment
icdb_close
icdb_export_data
icdb_get_sweep_value
icdb_open
icdb_register_con_sweep
icdb_register_lin_sweep
icdb_register_list_sweep
icdbf_add_comment
icdbf_close
icdbf_export_data
icdbf_get_sweep_value
icdbf_open
icdbf_register_con_sweep
icdbf_register_lin_sweep
icdbf_register_list_sweep
icdb_register_lsync_sweep
icdbf_register_lsync_sweep
Data Fit




autofit
circlefit
linfit
fit_line
 
 
Diode




DIODEDCmod_ia
 
 
EEBJT




EEbjt2_Is_N
EEbjt2_ce_dc_iv
EEbjt2_ce_ss_elements
EEbjt2_extrinsic_ckt
EEbjt2_mdl
HFMOD_get_bias_size
HFMOD_get_freq_index
HFMOD_get_freq_value
HFMOD_remove_freq_dbl
HFMOD_remove_freq_mat
 
 
EEFET




EEfet3_ckt
EEfet3_model_name
EEfet3_Rs_delta_s
EEfet3_cs_dc_iv
EEfet3_package
EEfet3_s2ckt
EEfet3_lecp
EEfet3_ResCheck
EEfet3_spars
EEfet3_mdl
EEfet3_Rs_delta_m
 
EEMOS (obsolete)




EEmos1_ckt
EEmos1_mdl
EEmos1_ResCheck
EEmos1_cs_dc_iv
EEmos1_model_name
EEmos1_s2ckt
EEmos1_lecp
EEmos1_package
EEmos1_spars
Flicker Noise




NOISE_1f_bjt_1Hz
NOISE_1f_bjt_calc
NOISE_1f_bjt_extract
NOISE_1f_force_bias
NOISE_1f_get_Af
NOISE_1f_get_Bf
NOISE_1f_get_Ef
NOISE_1f_get_Kf
NOISE_1f_mos_1Hz
NOISE_1f_set_Af
NOISE_1f_set_Bf
NOISE_1f_set_Ef
NOISE_1f_set_Kf
NOISE_1f_stop_bias
 
GAAS




GAASAC_cur
GAASDC_lev1
GAASmod_cgd
GAASAC_l_and_r
GAASDC_lev2
GAASmod_cgs
GAASAC_r_and_c
GAASDC_rd
GAASmod_id
GAASCV_cgs_cgd
GAASDC_rs
GAASmod_ig
GAASDC_cur1
GAASAC_calc_rc
GAASAC_calc_rl
GAASDC_cur2
 
 
General Math




RMSerror
conjg
log10
TwoPort
correlation
mean
TwoPort2
cos
random
abs
cosh
sin
acs
derivative
sinh
acsh
derivative2
smooth3
arg
equation
sqrt
asn
exp
tan
asnh
log
tanh
atn
floor
variance
atnh
integral0
mem_diag
ceil
integral3
 
HF MOS Level3 (obsolete)




HFMOS3_capas
HFMOS3_paras
HFMOS3_StoC
HFMOS3_lin_large
HFMOS3_sat_short
HFMOS3_StoZ
HFMOS3_lin_narrow
HFMOS3_sub_large
HFMOS3_modcap
HFMOS3_lin_short
HFMOS3_total_cap
 
HiSIM2




HiSIM2_DC_vth




HiSIM_HV




HiSIM_HV_DC_vth




HPIB




HPIB_abort
HPIB_open
HPIB_spoll
HPIB_clear
HPIB_read_reals
HPIB_srq
HPIB_close
HPIB_readnum
HPIB_timeout
HPIB_command
HPIB_readstr
HPIB_write
HPIB_eoi
HPIB_fwrite
HPIB_read
HPMOS




HPMOSDC_lin_large
HPMOSDC_lin_short
HPMOS_process_pars
HPMOSDC_lin_narrow
HPMOSDC_sat_short
 
HPRoot Diode




HPdiode_C
HPdiode_S11i
HPdiode_para_at_f
HPdiode_C2
HPdiode_S11r
HPdiode_para_f
HPdiode_I
HPdiode_V
HPdiode_wr
HPdiode_Q
HPdiode_data_acqu
HPRoot_n
HPdiode_R
HPdiode_mdl
HPdiode_fgrt
HPdiode_fless
HPdiode_iextr
 
HPRoot Fet




HPRoot_data_acqu
HPRoot_Qd
HPRoot_Y12r
HPRoot_FET
HPRoot_Qg
HPRoot_Y21i
HPRoot_initial
HPRoot_Vd
HPRoot_Y21r
HPRoot_parasitic
HPRoot_Vg
HPRoot_Y22i
HPRoot_Id
HPRoot_Y11i
HPRoot_Y22r
HPRoot_Idh
HPRoot_Y11r
HPRoot_FET_t
HPRoot_Ig
HPRoot_Y12i
HPRoot_fet_acqu
HPRoot_n
HPRoot_para_cal
HPRoot_wr
HPRoot Mos




HPRoot_Id
HPRoot_Vd
HPRoot_Y12r
HPRoot_Idh
HPRoot_Vg
HPRoot_Y21i
HPRoot_Ig
HPRoot_Y11i
HPRoot_Y21r
HPRoot_Qd
HPRoot_Y11r
HPRoot_Y22i
HPRoot_Qg
HPRoot_Y12i
HPRoot_Y22r
HPRoot_MOSFET
HPRoot_mos_acqu
HPRoot_mos_para
HPRoot_para_cal
 
 
JUNCAP




JUNCAP
JUNCAP_TR
 
MEXTRAM




MXT_I0
MEXTRAM_stoc
MXT_cbc
MXT_cbe
MXT_cj0
MXT_csc
MXT_forward_hfe
MXT_forward_ic
MXT_forward_vbe
MXT_ft
MXT_VEF
MXT_ic_vce
MXT_VER
MXT_hard_sat_isub
MXT_reverse_isub
MXT_jun_cap
MXT_reverse_currents
MXT_reverse_hfc
MXT_reverse_hfc_sub
MXT_veaf_ib
MXT_veaf_ic
MXT_vear_ie
MXT_show_parms
 
MEXTRAM 503 (obsolete)




mxt_smooth
mxt3t_cbc
mxt3t_cbe
mxt3t_cj0
mxt3t_ft_ic
mxt3t_ft_ic_new
mxt3t_fwd_early_ib
mxt3t_fwd_early_ic
mxt3t_fwd_gummel_hfe
mxt3t_fwd_gummel_ib
mxt3t_fwd_gummel_ic
mxt3t_fwd_gummel_vbe
mxt3t_i0
mxt3t_linear_range
mxt3t_output_ic
mxt3t_output_vbe
mxt3t_rev_early_ie
mxt3t_rev_early_qb0_guess
mxt3t_rev_gummel_hfc
mxt3t_rev_gummel_ib
mxt3t_rev_gummel_ie
mxt4t_cbc
mxt4t_cbe
mxt4t_cj0
mxt4t_csc
mxt4t_ft_ic
mxt4t_ft_ic_new
mxt4t_fwd_early_ib
mxt4t_fwd_early_ic
mxt4t_fwd_gummel_hfe
mxt4t_fwd_gummel_ib
mxt4t_fwd_gummel_ic
mxt4t_fwd_gummel_vbe
mxt4t_i0
mxt4t_linear_range
mxt4t_output_ic
mxt4t_output_vbe
mxt4t_rev_early_ie
mxt4t_rev_early_qb0_guess
mxt4t_rev_gummel_hfc
mxt4t_rev_gummel_hfc_sub
mxt4t_rev_gummel_ib
mxt4t_rev_gummel_ie
mxt4t_rev_gummel_is
 
MM9




MM9_LIN_EXT
MM9_COPY
MM9_SAVE_SPARS
MM9_SAT_EXT
MM9_DATA
MM9_SETUP
MM9_STH_EXT
MM9_GEOMPAR
MM9_TEMPPAR
MM9_WEAVAL_EXT
MM9_GEOMSCAL
MM9_TEMPSCAL
MM9
MM9_KEEP
 
MOS Level1




MOSmodel
MOSmodel2
 
MOS Level2




MOSCV_total_cap
MOSDC_lev2_lin_short
MOSCVmodCBS
MOSDC_lev2_lin_large
MOSDC_lev2_sat_short
MOSmodel
MOSDC_lev2_lin_narrow
MOSCVmodCBD
MOSmodel2
MOS Level3




MOSCV_total_cap
MOSDC_lev3_lin_short
MOSCVmodCBS
MOSDC_lev3_lin_large
MOSDC_lev3_sat_short
MOSmodel2
MOSDC_lev3_lin_narrow
MOSCVmodCBD
 
MOS Level6




MOSCV_total_cap
MOSDC_lev6_lin_narrow
MOSCVmodCBD
MOSDC_lev6_lin_large
MOSDC_lev6_lin_short
MOSCVmodCBS
MOS Process




MOS_process_pars
 
 
Optimization




Optimize
 
 
PEL




Program or Program2
 
 
PN Capacitance




PNCAPsimu
 
 
PSP




PSP_DC_vth
PSP_check_par
PSP_DC_calc_bin_parameter
PSP_set_opt
 
 
PTFT (obsolete)




PTFTCV_cgd
PTFTDC_lin
PTFTDC_sat
PTFTCV_cgs
 
 
Random Functions




rand_flat
rand_gauss
rand_seed
Statistical Analysis




icstat_get_column
icstat_deactivate
icstat_set_text_cell
icstat_set_column
icstat_attribute_2_parameter
icstat_open
icstat_num_columns
icstat_parameter_2_attribute
icstat_write_to_status_window
icstat_num_rows
icstat_analysis
icstat_exit
icstat_get_cell
icstat_correlation
icstat_open_sdf_file
icstat_set_cell
icstat_stat_summary
icstat_close_sdf_file
icstat_num_deactivated
icstat_factor_analysis
icstat_save_sdf_file
icstat_num_filtered
icstat_parametric_models
icstat_to_partable
icstat_num_attributes
icstat_equations
icstat_from_partable
icstat_get_deactivated
icstat_plot_graph
icstat_set_param_column_labels
icstat_get_filtered_rows
icstat_set_row
iicstat_nonparametric_models
icstat_get_attribute_columns
icstat_get_row
icstat_clear
icstat_activate
icstat_get_text_cell
icstat_delete
icstat_insert
 
 
Switching Matrix




Connect
SWM_debug
Wait
FNPort
SWM_init
HP5250_bias_card
HP5250_card_config
HP5250_bias_channel
HP5250_bias_init
HP5250_bias_setmode
HP5250_compensate_cap
HP5250_connect
HP5250_couple_enable
HP5250_couple_setup
HP5250_debug
HP5250_disconnect_card
HP5250_init
HP5250_show
K707_init
K708a_init
K70X_clear_setup
K70X_close_crosspoints
K70X_config_trigger
K70X_connect_sequence
K70X_copy_setup
K70X_debug
K70X_delete_setup
K70X_edit_setup
K70X_init_interface
K70X_open_crosspoints
K70X_trigger_disable
K70X_trigger_enable
 
Target




TARGET_DC_vth




TRL Calibration




8753_TRL_Cal
TRL_Cal
 
USERC




USERC_init_param
USERC_open
USERC_sweep_start
USERC_avg_2
USERC_read_reals
USERC_sweep_stepsize
USERC_avg_3
USERC_readnum
USERC_sweep_stop
USERC_conjg
USERC_readstr
USERC_system
USERC_transpose
USERC_seek
USERC_tell
USERC_close
USERC_set_param
USERC_write
USERC_data_w_check
USERC_size
USERC_sweep_name
USERC_num_of_points
USERC_set_param_quiet
USERC_sweep_mode
USERC_get_object_name
 
 
User Defined




Holding place for user-defined functions. For details, refer to "Adding Functions to the Function Browser" in the User's Guide.




Utility




check_error_log
copy2output
Package
dataset
lookup_par
lookup_var
ascii$
 
 
VBIC




VBIC_ac_solver
VBIC_avc
VBIC_cbc
VBIC_cbe
VBIC_cj0
VBIC_clean_data
VBIC_csc
VBIC_dc_approx
VBIC_dci_solver
VBIC_dcv_solver
VBIC_fg_currents
VBIC_ibci_nci
VBIC_ibei_nei
VBIC_ikf
VBIC_stoc
VBIC_ikr
VBIC_is_nf
VBIC_isp_nfp
VBIC_nr
VBIC_qcdepl
VBIC_rcx
VBIC_rg_currents
VBIC_vef_ver
 
Wafer Prober




Pdown
Porig
Prober_status
Phome
Ppos
Pscale
Pimove
Prober_debug
Pup
Pink
Prober_init
PB_bindex
Pmove
Prober_reset
PB_gsite_xy
PB_abort
PB_bincode
PB_msite_xy
PB_bindex_cr
PB_index_cr
PBench_CMD
PB_index
PB_gindex_cr
tis_p_down
tis_p_home
tis_p_imove
tis_p_ink
tis_p_move
tis_p_orig
tis_p_pos
tis_p_scale
tis_p_up
tis_prober_get_ba
tis_prober_get_name
tis_prober_init
tis_prober_read_sysconfig
tis_prober_reset
tis_prober_status
 
Wire Functions




wirexfX
wirexfY
wirexfYX
wirexfXY
 
 

8753_TRL_Cal

Deembed the raw measured data using measured data of TRL (thru-reflect-line) calibration standards. The function calculates and downloads the error coefficients to the 8753. The reference plane is defined at the middle of the thru standard, or at the interface to the DUT when it is installed in the compatible carrier.

Inputs:

 

   Freq Data:

Frequency Inputs

   Thru:

measured S-parameters of the Thru standard

   Short:

measured S-parameters of the Short standard

Line A:

measured S-parameters of Line A standard

Line B:

measured S-parameters of Line B standard

Line C:

measured S-parameters of Line C standard

Freq 1 Trans:

transition frequency Line A to Line B

Freq 1 Trans:

transition frequency Line B to Line C

Outputs:

None

abs

Absolute value function (magnitude when input data is complex)

Input Arguments:

 

   Data Sets:

Input 1

Output:

Real number, matrix, real array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

acs

Inverse cosine in radians.

Input Arguments:

 

   Data Sets:

Input 1

Output:

Complex number, matrix, complex array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

acsh

Inverse hyperbolic cosine.

Input Arguments:

   Data Sets:

Input 1

Output:

Complex number, matrix, complex array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

AgilentHBT_ABCX_extract

This function extracts model parameter ABCX.

Input Arguments:

 

   Variables:

Emitter Area, Total Area

   Parameters:

Parameter(ABCX)

Extracts:

ABCX

AgilentHBT_calculate_ccb

This function calculates Cbc in an alternative method from the specified Z-parameters.

Input Arguments:

 

   Inputs:

freq, Z11, Z12, Z21, Z22

Output:

Complex data sets.

AgilentHBT_calculate_rbb

This function calculates Rb in an alternative method from the specified H-parameters.

Input Arguments:

 

   Inputs:

freq, H11, H12, H21, H22

   Variables:

Mode (0:ignore RE effect, 1:include RE effect)

   Parameters:

Parameter(RE)

Output:

Complex data sets

AgilentHBT_CCMAX_extract

This function extracts model parameter CCMAX.

Input Arguments:

 

   Inputs:

Vbc (as positive value), Cbc

   Parameters:

Parameter(CCMAX), Parameter(VJC)

Extracts:

CCMAX

AgilentHBT_CEMAX_extract

This function extracts model parameter CEMAX.

Input Arguments:

 

   Inputs:

Vbe, Cbe

   Parameters:

Parameter(CEMAX), Parameter(VJE)

Extracts:

CEMAX

AgilentHBT_CJC_extract

This function extracts model parameter CJC.

Input Arguments:

 

   Inputs:

Vbc (as positive value), Cbc

   Parameters:

Parameter(CJC), Parameter(CPBC)

Extracts:

CJC

AgilentHBT_CJE_extract

This function extracts model parameter CJE.

Input Arguments:

 

   Inputs:

Vbe, Cbe

   Parameters:

Parameter(CJE), Parameter(CPBE)

Extracts:

CJE

AgilentHBT_IS_NF_extract

This function extracts model parameters IS, NF.

Input Arguments:

 

   Inputs:

Vbe, Ic

   Variables:

X Low, X High, Y Low, Y High, TEMP

   Parameters:

Parameter(IS), Parameter(NF)

Extracts:

IS, NF

AgilentHBT_ISC_NC_extract

This function extracts model parameters ISC, NC.

Input Arguments:

 

   Inputs:

Vcb (as positive value), Ib

   Variables:

X Low, X High, Y Low, Y High, TEMP

   Parameters:

Parameter(ISC), Parameter(NC)

Extracts:

ISC, NC

AgilentHBT_ISE_NE_extract

This function extracts model parameters ISE, NE.

Input Arguments:

 

   Inputs:

Vbe, Ib

   Variables:

X Low, X High, Y Low, Y High, TEMP

   Parameters:

Parameter(ISE), Parameter(NE)

Extracts:

ISE, NE

AgilentHBT_ISH_NH_extract

This function extracts model parameters ISH, NH.

Input Arguments:

 

   Inputs:

Vbe, Ib

   Variables:

X Low, X High, Y Low, Y High, TEMP

   Parameters:

Parameter(ISH), Parameter(NH)

Extracts:

ISH, NH

AgilentHBT_ISR_NR_extract

This function extracts model parameters ISR, NR.

Input Arguments:

 

   Inputs:

Vcb (as positive value), Ie

   Variables:

X Low, X High, Y Low, Y High, TEMP

   Parameters:

Parameter(ISR), Parameter(NR)

Extracts:

ISR, NR

AgilentHBT_ISRH_NRH_extract

This function extracts model parameters ISRH, NRH.

Input Arguments:

 

   Inputs:

Vcb (as positive value), Ib

   Variables:

X Low, X High, Y Low, Y High, TEMP

   Parameters:

Parameter(ISRH), Parameter(NRH)

Extracts:

ISRH, NRH

AgilentHBT_ITC_ITC2_extract

This function extracts model parameters ITC, ITC2.

Input Arguments:

 

   Inputs:

Ic, Ft, Vc, Vb

   Variables:

X Low, X High, Y Low, Y High

   Parameters:

Parameter(ITC), Parameter(ITC2)

Extracts:

ITC, ITC2

AgilentHBT_Param_Init

This function initializes the model parameters for the extraction.

Input Arguments:

 

   Variables:

Emitter Width (W) [um]
Emitter Length (L) [um]
# of Emitter Fingers (NF)
Total Area [um^2]

   Parameters:

Parameter(hbt.TNOM)

Extracts:

All Agilent-HBT model parameters

AgilentHBT_TFC0_extract

This function extracts model parameter TFC0.

Input Arguments:

 

   Inputs:

Ic or Ic-1, Tau, Vc, Vb

   Variables:

X Low, X High, Y Low, Y High

   Parameters:

Parameter(TFC0)

Extracts:

TFC0

AgilentHBT_VJC_extract

This function extracts model parameter VJC.

Input Arguments:

 

   Inputs:

Vbc (as positive value), Cbc, Cdiff

   Parameters:

Parameter(VJC), Parameter(CJC), Parameter(CPBC)

Extracts:

VJC

AgilentHBT_VJE_extract

This function extracts model parameter VJE.

Input Arguments:

 

   Inputs:

Vbe, Cbe, Cdiff

   Parameters:

Parameter(VJE), Parameter(CJE), Parameter(CPBE)

Extracts:

VJE

arg

Argument (phase angle), in radians, for a complex number.

Input Arguments:

   Data Sets:

Input 1

Output:

Real number, matrix, real array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

ascii$

Converts ascii-coded characters into literal characters as entered into a text box.

If certain characters are entered in a text box, they must be encoded so they are compatible with the .mdl file format used in variable tables. These characters include double quotes (") and newlines (\n). Such characters may be entered in a GUI's edit box and tracked by a variable table variable. IC-CAP must encode these characters before storing them in a .mdl file to avoid undesirable effects.

After the characters are encoded, they appear as encoded characters if you choose to print them from the .mdl file to an output such as the Status window. To translate the encoding, call the function ascii$() in PEL and the string will be output exactly as it was typed into the text box.

asn

Inverse sine in radians.

Input Arguments:

   Data Sets:

Input 1

Output:

Complex number, matrix, complex array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

asnh

Inverse hyperbolic sine.

Input Arguments:

   Data Sets:

Input 1

Output:

Complex number, matrix, complex array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

atn

Inverse tangent in radians.

Input Arguments:

   Data Sets:

Input 1

Output:

Complex number, matrix, complex array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

atnh

Inverse hyperbolic tangent.

Input Arguments:

   Data Sets:

Input 1

Output:

Complex number, matrix, complex array, or matrix array (depends on input argument)

Automatic Invocation:

On Data Set Input Change

autofit

Performs an automatic line fit to a set of X and Y data sets. This function finds the largest region of the line that fits with less than the specified error from the RMS limit field. A buffer can be specified that removes a certain percentage of the data from each end of the curve. This eliminates data points that may throw off the line fit. The percentages should be specified out of 1. For example, 0.01 = 1%. If the OVERRIDE_LIMITS variable is TRUE, the limits can be specified manually with the X_LOW and X_HIGH variables, which can be set from the Plot menu.

This function should only be used on data with a single sweep variable. A 3 point data set, containing slope and intercept data and the regression coefficient, is returned.

Input Arguments:

   Data Sets:

X Data, Y Data

   Reals or Integers:

RMS limit, Buffer

Output:

Array of 2 points: slope then intercept

Automatic Invocation:

None

Example PEL Statement:

fit_data = autofit(-ve,log(ic.m),0.01,0.1)
B2200_bias_card_enable

Bias-enables all the output ports of the specified card. By default, all ports are bias-enabled after a reset.

Syntax

B2200_bias_card_enable(<addr>, <CardNumber>, <CardState>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<CardState> is the card output port's state (allowed values are "ENABLE", "DISABLE", "E", or "D").

B2200_bias_ch_enable

Bias-enables specific output ports in the channel list for the specified card. The input ports specified in the channel list are ignored since the input port is always the Bias Input Port. By default, all the outputs are bias-enabled after a reset.

Syntax

B2200_bias_ch_enable(<addr>,<CardNumber>,<State>, <Channel list>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<State> is the output port's state (allowed values are "ENABLE", "DISABLE", "E", or "D")

<Channel list> is the list of channels, known as connection routes. Example channel list: (@10102, 10203, 10305:10307)

B2200_bias_enable

Enables the bias mode for the specified card once Input Bias Port and Enabled Output ports are specified. When Bias Mode is ON, the Input Bias Port is connected to all Bias Enabled output ports that are not connected to any other input ports. Bias Disabled output ports are never connected to an Input Bias Port when Bias Mode is ON.

If another input port is disconnected from a bias enabled output port, this port is automatically connected to the Input Bias Port.

If another input port is connected to a Bias Enabled output port, the output port is automatically disconnected from the Bias Input Port. When Bias Mode is OFF, the Input Bias Port is the same as the other ports.

Syntax

B2200_bias_enable(<addr>, <CardNumber>, <mode>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<mode> is "On", "Off", "1", or "0".

B2200_bias_init

Selects the Input Bias Port for the specified card. The Input Bias Port is the dedicated bias port.

Syntax

B2200_bias_init(<addr>, <CardNumber>, <InputBiasPort>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<InputBiasPort> is 1 to 14 (numeric input) or -1 to disable bias port.

B2200_close_interface

Closes the current interface, which was opened by calling B2200_open_interface().

B2200_connect

Connects or disconnects specified channels. Bias Mode and coupling Mode are also taken into account when a channel is closed or opened.

For example, in the list (@10102, 10203:10205), the following channels are connected or disconnected on card 1. Input port 1 to output port 2. Input port 2 to output port 3 and 5.

Syntax

B2200_connect(<addr>,<Connect/Disconnect>,<ChannelList>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<Connect/Disconnect> is C or D.

<ChannelList> is the list of connections to close.

B2200_couple_enable

Enables or disables Couple Port mode. Couple Port mode allows synchronized connection of two adjacent input ports to two adjacent output ports.

Syntax

B2200_couple_enable(<addr>, <CardNumber>, <Mode>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<mode> is "On", "Off", "1", or "0".

B2200_couple_setup

Selects the couple ports for Kelvin connections. At Reset, no input ports are coupled.

Syntax

B2200_couple_setup( <addr>,<CardNumber>, <ListOfCoupledPorts>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<ListOfCoupledPorts> is the list of odd number input channels (e.g., "1, 3, 5" means coupled ports are 1-2, 3-4, 5-6).

B2200_debug

Prints out all command strings sent to the instrument when set to 1. This flag is common to all B2200A's on the bus, regardless of their GPIB address.

Syntax

B2200_debug(<flag>)

Where

<flag> is "1", "0", "Yes", or "No".

B2200_disconnect_card

Opens all relays or channels in the specified cards.

Syntax

B2200_disconnect_card(<addr>, <CardNumber>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

B2200_GPIB_handler

Returns -1 if the interface has not been initialized (invalid handler). Returns a positive integer (handler) if the interface has been opened.

Returns the current interface handler. The function is provided as a utility function, which enables you to write advanced PEL code to write and read data to the B2200A using the HPIB_write and HPIB_read functions. Initializing the handler using B2200_open_interface enables you to use B2200A's built-in driver functions as well as writing PEL code to support other features that are not currently supported by the built-in functions, all in the same PEL code.

B2200_ground_card_enable

Enables ground-enabling for all the output ports of the specified card. By default, all ports are ground-disabled.

Syntax

B2200_ground_card_enable(<addr>,<CardNumber>,<CardState>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<CardState> is the card output port's state (allowed values are "ENABLE", "DISABLE", "E", or "D").

B2200_ground_enable

Enables the bias mode for the specified card. When Ground Mode is turned ON, the Input Ground Port (default is 12) is connected to all the Ground Enabled input/output ports that have not been connected to any other port. At Reset, Ground Mode is OFF. Ground Mode cannot be turned ON when Bias Mode is ON.

See the Agilent B2200 User's Guide for additional comments and restrictions.

Syntax

B2200_ground_enable(<addr>, <CardNumber>, <mode>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, 4.

<mode> is "On", "Off", "1", or "0".

B2200_ground_init

Selects the input Ground Port for the specified card. For each card, you can specify the same or a different Ground Port. By default, the input Ground Port is port 12. The ground port should be connected to 0 V output voltage. See the Agilent B2200 User's Guide for details.

Syntax

B2200_ground_init(<addr>,<CardNumber>,<InputGroundPort>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<InputGroundPort> is 1 to 14 (numeric input) or -1 to disable ground port.

B2200_ground _outch_enable

Ground-enables or ground-disables output ports. When Ground Mode is turned ON, the ground-enabled output ports that have not been connected to any other input port are connected to the input ground port. The input ports specified in channel lists are ignored since the input port is always the Input Ground Port. By default, all the outputs are ground-disabled after a reset.

Syntax

B2200_ground _outch_enable(<addr>,<CardNumber>,<State>, <Channel list>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, or 4.

<State> is the port's state (allowed values are "ENABLE", "DISABLE", "E", or "D").

<Channel list> is the list of channels, known as connection routes. Example channel list: (@10102, 10203, 10305:10307)

B2200_ground _unused_inputs

Specifies the ground-enabled (or unused) input ports for the specified card. When Ground Mode is turned ON, the ground-enabled input ports that have not been connected to any other port are connected to the input Ground Port. By default, all the inputs are ground-disabled after a reset.

Syntax

B2200_ground _unused_inputs(<addr>,<CardNumber>,<Input Channels>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<CardNumber> is 0(auto), 1, 2, 3, 4.

<Input Channels> is the list of input channels (e.g., "1, 2, 5"). Only input ports 1 to 8 can be defined as unused (these are the input Kelvin Ports).

B2200_init

Must be run first in the PEL program to initialize the instrument and set the configuration mode. When the instrument is in AUTO configuration mode and multiple plug-in cards are installed in the B2200 slots from slot 1 continuously, the installed cards are then treated as one card (numbered 0). This function resets all the settings to factory default before setting the configuration mode.

This function also sets the default connection rule for the specified card. When the connection rule is FREE (default mode), each input port can be connected to multiple output ports and each output port can be connected to multiple input ports. When the connection is SINGLE, each input port can be connected to only one output. Connection sequence specifies the open/close sequence of the relays when changing from an existing connection to a new connection.

Syntax

B2200_init( <addr>, <cardNumber>, <config>, <connectionRule>, <connectionSequence>)

Where

<addr> is the GPIB address of the Mainframe (must be a positive number from 1 to 30).

<cardNumber> is 0(auto), 1, 2, 3, or 4.

<config> is "AUTO" or "NORMAL" (string input).

<connectionRule> is "FREE" or "SINGLE".

<connectionSequence> is "NSEQ", "BBM", or "MBBR".

     NSEQ (No SEQuence): Disconnect old route, connect new route.
     BBM (Break Before Make): Disconnect old route, wait, connect new route.
     MBBR (Make Before BReak): Connect new route, wait, disconnect old route.
B2200_open_interface

Opens and initializes the GPIB interface and must be run first in the PEL program. The interface handler is saved in a static variable so that the interface will be shared by all the other B2200's function calls. You can drive multiple B2200 instruments as long as they are on the same interface bus (obviously, they must have different addresses).

Syntax

B2200_open_interface(<Interface Name>)

Where

<Interface Name> is the name of the GPIB interface.

BJT_dc_model

Calculates collector current (IC), base current (IB) or gain (BETA) versus terminal voltages for a bipolar transistor using the UCB DC bipolar model. Set the Output field to IC, IB, or BETA. Use this function in place of an actual simulation for fast optimizations. The source code for this function is provided as an example in the userc.c file.

Input Arguments:

   Data Sets:

VC, VB, VE

   Strings/Pars/Vars

Output

Output:

Array of real numbers; size determined by inputs

Automatic Invocation:

None

BJTAC_high_freq

Standard extraction for the UCB Bipolar model. Extracts AC parameters from a common emitter measurement of H-parameters. Requires the following setup:

H versus Vbe, with Vce = 1V and 3V, and Freq constant.

The frequency value must be past the pole frequency of the device. Optimization can be used to tune the parameter values; typically, it should not be required.

Input Arguments:

   Data Sets:

Base Voltage, Frequency, Col Voltage, Sub Voltage, H-Par Output

Output:

None

Extracts:

TF, ITF, XTF, VTF, PTF

Automatic Invocation:

By Extract menu function

BJTAC_rb_rbm_irb

Standard extraction for the UCB Bipolar model. Extracts base resistance parameters from a common emitter measurement of H11. Requires the following setups:

Ib versus Vbe, with Vce = constant
H11 versus Freq versus Vbe, with Vce = constant

Input Arguments:

   Data Sets:

IB Data, RBB Data

Output:

None

Extracts:

RB, RBM, IRB

Automatic Invocation:

By Extract menu function

BJTCV_stoc

Calculates capacitance data from S-parameter data using the following equations:

Cbc(Vbc) = - imag(Y12)/(2*pi*freq)

Cbe(Vbe) = imag(Y11)/(2*pi*freq) - Cbc(Vbc)

This allows base-collector and base-emitter capacitance to be calculated from network analyzer measurements. The output of this function can be used in place of actual capacitance data to extract capacitance related parameters.

Input Arguments:

   Data Sets:

FREQ data, S data

Strings/Pars/Vars:

Node (C/E)

Output:

Array of real numbers; size determined by inputs

Automatic Invocation:

On Data Set Input Change

BJTDC_fwd_gummel

Standard extraction for the UCB Bipolar model. Extracts forward Gummel parameters from forward Gummel plot measurements. Requires the following setup:

Ic and Ib versus Vbe, with Vcb = 0V.

The measured data should include high and low current roll-off effects in the gain. The Vbe lower limit for extraction is automatically selected. If the OVERRIDE_LIMITS variable is true, this limit can be specified manually with the X_LOW variable, which can be set from the Plot menu. Optimization can be used to tune the parameter values, but should not typically be required.

Input Arguments:

   Data Sets:

Fwd VBE, Fwd IC, Fwd IB, Fwd Beta

Output:

None

Extracts:

ISE, NE, BF, IKF

Automatic Invocation:

By Extract menu function

BJTDC_is_nf

Standard extraction for the UCB Bipolar model. Extracts saturation current parameters from forward gummel plot measurements. Requires the following setup:

Ic and Ib versus Vbe, with Vcb = 0V.

The Vbe limits for extraction are automatically selected. If the OVERRIDE_LIMITS variable is true, these limits can be specified manually with the X_LOW and X_HIGH variables, which can be set from the Plot menu. Optimization can be used to tune the parameter values, but should not typically be required.

Input Arguments:

   Data Sets:

Fwd VBE, Log10 Fwd IC

Output:

None

Extracts:

IS, NF

Automatic Invocation:

By Extract menu function

BJTDC_nr

Standard extraction for the UCB Bipolar model. Extracts NR from reverse Gummel Plot measurements. Requires the following setup:

Ie and Ib versus Vbc, with Veb = 0V.

The Vbc limits for extraction are automatically selected. If the OVERRIDE_LIMITS variable is true, these limits can be specified manually with the X_LOW and X_HIGH variables, which can be set from the Plot menu. Optimization can be used to tune the parameter value, but should not typically be required.

Input Arguments:

   Data Sets:

Rev VBC, Log10 Rev IE

Output:

None

Extracts:

NR

Automatic Invocation:

By Extract menu function

BJTDC_rc

Standard extraction for the UCB Bipolar model. Extracts collector resistance in the saturation region. Requires the following setup:

Ic versus Vce, with Vbe = typical operating value.

Depending on the device, optimization to this and other DC measurements may be required to tune the parameter value.

Input Arguments:

   Data Sets:

VC Data, IC Data

Output:

None

Extracts:

RC

Automatic Invocation:

By Extract menu function

BJTDC_rcfb

Alternate extraction for the UCB Bipolar model. Extracts collector resistance using the flyback technique. Requires the following setup:

Vec versus Ib, with the emitter floating.

Depending on the device, optimization to this and other DC measurements may be required to tune the parameter value.

Input Arguments:

   Data Sets:

IB Data, VE Data

Output:

None

Extracts:

RC

Automatic Invocation:

By Extract menu function

BJTDC_re

Standard extraction for the UCB Bipolar model. Extracts emitter resistance using the flyback technique. Requires the following setup:

Vce versus Ib, with the collector floating.

Depending on the device, optimization to this and other DC measurements may be required to tune the parameter value.

Input Arguments:

   Data Sets:

IB Data, VC Data

Output:

None

Extracts:

RE

Automatic Invocation:

By Extract menu function

BJTDC_rev_gummel

Standard extraction for the UCB Bipolar model. Extracts reverse Gummel parameters from reverse Gummel plot measurements. Requires the following setup:

Ie and Ib versus Vbc, with Veb = 0V.

The measured data should include high and low current roll-off effects in the gain. The Vbc lower limit for extraction is automatically selected. If the OVERRIDE_LIMITS variable is true, this limit can be specified manually with the X_LOW variable, which can be set from the Plot menu. Optimization can be used to tune the parameter values, but should not typically be required.

Input Arguments:

   Data Sets:

Rev VBC, Rev IE, Rev IB, Rev Beta

Output:

None

Extracts:

ISC, NC, BR, IKR

Automatic Invocation:

By Extract menu function

BJTDC_vaf_var

Standard extraction for the UCB Bipolar model. Extracts forward and reverse early voltages from common emitter and common collector curves. Requires the following setups:

Ic versus Vce versus Vbe.
Ie versus Vec versus Vbc.

The setups should have the same number of base voltage steps. The base voltages should be chosen so that current levels correspond to the peak gain regions of the device. No more than 20 percent of the data should be in the saturation region. Optimization can be used to tune the parameter values, but should not typically be required. Optimization of these parameters should be performed only after extracting the complete DC model.

Input Arguments:

   Data Sets:

Forward VC, Forward VB, Forward IC, Reverse VE, Reverse VB, Reverse IE

Output:

None

Extracts:

VAF, VAR

Automatic Invocation:

By Extract menu function

BPOPAMP_macro_model

Extraction function for the Boyle-Pederson- Solomon-Cohn Opamp macromodel written in C code. (Refer to IEEE JSSC vol. SC-9, no. 6, Dec. 1974.) Extracts circuit element values for a specified set of opamp performance measurements. The data set inputs to the extraction function may be from outputs of Setups that measure the specific opamp performance or from values known via other sources such as specifications on a data sheet. The real and integer inputs are not generally measurable and are taken from the knowledge of the design of the opamp being modeled. An expanded description of the inputs is given in parentheses where applicable.

Input Arguments:

   Data Sets:

Slew Rate +(V/uS), Slew Rate -(V/uS), Bias Current(Amps), Bias Offset(Amps), Volt Offset(Volts), Av(DM) (gain-no unit), BW(Hz), Excess Phase(radians), CMRR (dB), Rout(ohms), Rout-ac(ohms), Isc +(Amps), Isc -(Amps), Vout_max +(Volts), Vout_min -(Volts), Power Diss(Watts), Vcc supply(Volts), Vee supply(Volts)

   Reals or Integers:

Nom. Q.IS(nominal input transistor saturation current), R2(mid-stage gain setting resistor), Comp. Cap.(compensation capacitance), Temp.(C), Inputs PNP?(=1 if input stage uses pnps), Debug?(=1 print debug information during extraction)

Output:

None

Extracts:

NPN1.BF, NPN1.IS, NPN2.BF, NPN2.IS, C1, RC1, RC2, RE1, RE2, RE, CE, RP, GCM, GA, R2, C2, GB, RO2, RC, RO1, DMOD1.IS, DMOD2.IS, VC, VE, IEE

Automatic Invocation:

By Extract menu function


prevnext