* MAX9920 MACROMODEL * ------------------------------ * Revision 1, Feb,2012 * ------------------------------ * The MAX9920 is single-supply, high accuracy current sense amplifiers with a high common mode range that extends from -20V to +75V. The *amplifiers are well * suited for current monitoring in inductive loads, such as motors and solenoids, where common mode voltages can become negative due to *flyback, * conditions, or transient events. * ------------------------------ * Macro model is developed using the typical device parameters given in the data sheet with * 5 volts power supply. Model does not take care of the device non-linearity with supply voltage * variations and temperature variations. Model characteristics may not match actual device behavior * at abnormal operating conditions. * ------------------------------ * Parameters which are not modeled: * 1.Offset and bias currents * 2.Powerup time * 3.Saturation recovery time * 4.Gain variation with temperature * 5.Maximum capacitive load * Connections * 1 = RS+ * 2 = RS- * 3 = SHDN * 4 = GND * 5 = OUT * 6 = FB * 7 = REFIN * 8 = VCC **************** .subckt MAX9920 RS+ RS- SHDN GND OUT FB REFIN VCC Vs+ RS+ 100 0 Fs+ RS+ GND Vs+ -1 Is+ RS+ GND 100u Vs- RS- 101 0 Fs- RS- GND Vs- -1 Is- RS- GND 100u C_max9920_C2 0 11 1.29588n I_max9920_I4 12 13 DC 15udc G_max9920_G3 VCC GND 14 15 0.00014 G_max9920_G2 15 0 SHDN 16 -10 G_max9920_G1 11 0 REFIN FB -0.006664 R_max9920_R4 0 15 1k I_max9920_I5 SHDN 0 DC 0.5udc V_max9920_V7 16 0 2Vdc R_max9920_R7 101 17 300k D_max9920_D1 15 14 diodemacro_ideal V_max9920_V4 14 0 5Vdc D_max9920_D2 0 15 diodemacro_ideal R_max9920_R8 0 101 300k X_max9920_M4 18 15 FB 0 nmosmacro R_max9920_amp_R8 0 19 1k D_max9920_amp_D12 0 20 diodemacro_ideal D_max9920_amp_D8 21 22 diodemacro_ideal V_max9920_amp_V5 23 22 1mVdc D_max9920_amp_D15 24 25 diodemacro_ideal E_max9920_amp_E4 26 0 27 0 .006 D_max9920_amp_D9 28 21 diodemacro_ideal D_max9920_amp_D13 20 25 diodemacro_ideal G_max9920_amp_Go1 29 0 19 33 -1000 D_max9920_amp_D16 0 27 diodemacro_ideal I_max9920_amp_I1 30 31 DC 44mAdc V_max9920_amp_V3 32 0 -3mVdc R_max9920_amp_Ro1 0 29 25 V_max9920_amp_V6 28 34 1mVdc G_max9920_amp_G3 35 0 11 0 -0.090 D_max9920_amp_D17 27 25 diodemacro_ideal V_max9920_amp_V2 36 0 3mVdc R_max9920_amp_R7 0 35 1000 D_max9920_amp_D21 31 18 diodemacro_ideal D_max9920_amp_D10 0 29 diodemacro_ideal V_max9920_amp_V4 37 0 -20mVdc G_max9920_amp_Go3 24 0 19 32 1000 D_max9920_amp_D19 31 38 diodemacro_ideal R_max9920_amp_Ro3 0 24 25 V_max9920_amp_V1 33 0 20mVdc D_max9920_amp_D11 29 25 diodemacro_ideal C_max9920_amp_C1 0 35 0.0001p G_max9920_amp_Go2 20 0 19 36 -1000 E_max9920_amp_E1 39 23 29 0 0.006 R_max9920_amp_Ro2 0 20 25 G_max9920_amp_Go 21 0 35 0 -10 D_max9920_amp_D20 18 30 diodemacro_ideal E_max9920_amp_E3 34 26 24 0 0.002 X_max9920_amp_H1 21 38 19 0 amp_max9920_amp_H1 G_max9920_amp_Go4 27 0 19 37 1000 D_max9920_amp_D18 38 30 diodemacro_ideal R_max9920_amp_Ro 0 21 0.1 D_max9920_amp_D14 0 24 diodemacro_ideal E_max9920_amp_E2 25 39 20 0 0.002 R_max9920_amp_Ro4 0 27 25 X_max9920_F1 18 OUT VCC GND max9920_max9920_F1 R_max9920_R9 0 17 350 E_max9920_gm3_E2 101 40 41 0 0.0002 V_max9920_gm3_V4 42 0 5Vdc R_max9920_gm3_R1 0 43 0.5 R_max9920_gm3_R6 0 41 10000 R_max9920_gm3_R3 0 44 1000000 G_max9920_gm3_G8 VCC 0 41 0 0.00006 V_max9920_gm3_V2 45 52 70Vdc G_max9920_gm3_G4 44 0 43 45 -1 G_max9920_gm3_G12 46 0 43 0 -0.00166 R_max9920_gm3_R4 0 47 1000000 G_max9920_gm3_G5 47 0 43 48 1 D_max9920_gm3_D1 49 12 diodemacro_ideal V_max9920_gm3_V3 50 0 -1Vdc G_max9920_gm3_G9 51 0 17 40 -100 D_max9920_gm3_D2 13 49 diodemacro_ideal D_max9920_gm3_D3 51 12 diodemacro_ideal G_max9920_gm3_G11 11 0 46 0 -6.31e-5 E_max9920_gm3_E1 52 0 VCC 0 1 G_max9920_gm3_G1 11 0 49 0 -0.00166 D_max9920_gm3_D5 0 41 diodemacro_ideal D_max9920_gm3_D4 13 51 diodemacro_ideal X_max9920_gm3_M1 11 47 0 0 nmosmacro R_max9920_gm3_R5 0 51 0.01 G_max9920_gm3_G2 43 0 40 0 -1 D_max9920_gm3_D6 41 42 diodemacro_ideal X_max9920_gm3_M2 11 44 0 0 nmosmacro G_max9920_gm3_G7 11 0 52 0 0.00166e-4 G_max9920_gm3_G3 43 0 17 0 -1 G_max9920_gm3_G6 41 0 43 50 1 R_max9920_gm3_R2 0 46 1 V_max9920_gm3_V1 48 0 -20Vdc C_max9920_gm3_C1 0 49 10p I_max9920_I3 VCC GND DC 0.5udc E_max9920_E3 25 0 VCC 0 1 V_max9920_V6 100 17 -0.075mVdc R_max9920_R10 0 11 0.135meg .ends MAX9920 .subckt amp_max9920_amp_H1 1 2 3 4 H_max9920_amp_H1 3 4 VH_max9920_amp_H1 100 VH_max9920_amp_H1 1 2 0V .ends amp_max9920_amp_H1 .subckt max9920_max9920_F1 1 2 3 4 F_max9920_F1 3 4 VF_max9920_F1 1 VF_max9920_F1 1 2 0V .ends max9920_max9920_F1 ************************* .model diodemacro_ideal d(n=0.001) ************************* .subckt nmosmacro d g s b m1 d g s b nmos .model nmos nmos(VTO=0.5 KP=100E-6 w=2u l=1u) .ends .subckt nmosmacro_str d g s b m1 d g s b nmos .model nmos nmos(VTO=0.5 KP=50E-6 w=20u l=1u) .ends .subckt nmosmacro_9141 d g s b m1 d g s b nmos .model nmos nmos(VTO=0.5 KP=250E-6 w=3000u l=1u) .ends * Copyright (c) 2003-2012 Maxim Integrated Products. All Rights Reserved.