1 |
florent_ba |
1 |
* Copyright (C) Maxim Integrated Products, Inc., All Rights Reserved.
|
|
|
2 |
*
|
|
|
3 |
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
4 |
* copy of this software and associated documentation files (the "Software"),
|
|
|
5 |
* to deal in the Software without restriction, including without limitation
|
|
|
6 |
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
7 |
* and/or sell copies of the Software, and to permit persons to whom the
|
|
|
8 |
* Software is furnished to do so, subject to the following conditions:
|
|
|
9 |
*
|
|
|
10 |
* The above copyright notice and this permission notice shall be included
|
|
|
11 |
* in all copies or substantial portions of the Software.
|
|
|
12 |
*
|
|
|
13 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
14 |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
15 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
16 |
* IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
|
|
|
17 |
* OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
18 |
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
19 |
* OTHER DEALINGS IN THE SOFTWARE.
|
|
|
20 |
*
|
|
|
21 |
* Except as contained in this notice, the name of Maxim Integrated
|
|
|
22 |
* Products, Inc. shall not be used except as stated in the Maxim Integrated
|
|
|
23 |
* Products, Inc. Branding Policy.
|
|
|
24 |
*
|
|
|
25 |
* The mere transfer of this software does not imply any licenses
|
|
|
26 |
* of trade secrets, proprietary technology, copyrights, patents,
|
|
|
27 |
* trademarks, maskwork rights, or any other form of intellectual
|
|
|
28 |
* property whatsoever. Maxim Integrated Products, Inc. retains all
|
|
|
29 |
* ownership rights.
|
|
|
30 |
*******************************************************************************
|
|
|
31 |
* The MAX40658 is transimpedance amplifiers for optical distance measurement receivers
|
|
|
32 |
* for LiDAR applications.
|
|
|
33 |
**************************************************************************************
|
|
|
34 |
.SUBCKT MAX40658 VCC IN CCAP OFFSET NC OUT+ OUT- GND
|
|
|
35 |
* | | | | | | | |
|
|
|
36 |
* | | | | | | | Circuit Ground
|
|
|
37 |
* | | | | | | |
|
|
|
38 |
* | | | | | | Negative 75Ω Output
|
|
|
39 |
* | | | | | |
|
|
|
40 |
* | | | | | Positive 75Ω Output
|
|
|
41 |
* | | | | |
|
|
|
42 |
* | | | | No Connection/Ground
|
|
|
43 |
* | | | |
|
|
|
44 |
* | | | Offset adjustment current input
|
|
|
45 |
* | | |
|
|
|
46 |
* | | Capacitor connection for clamp bias
|
|
|
47 |
* | |
|
|
|
48 |
* | Signal Input
|
|
|
49 |
* |
|
|
|
50 |
* +3.3V Supply Voltage
|
|
|
51 |
****************************************************************************
|
|
|
52 |
* Initial date of model creation:
|
|
|
53 |
* Feb.21/2017
|
|
|
54 |
*
|
|
|
55 |
* Revision History:
|
|
|
56 |
* Version 1: Initial,2017
|
|
|
57 |
* Version 2: Update OFFSET bias voltage,2022
|
|
|
58 |
*
|
|
|
59 |
* Recommendations:
|
|
|
60 |
* Use SIMETRIX (or SPICE 2G6; other simulators may require translation)
|
|
|
61 |
* For a quick, effective design, use a combination of: data sheet
|
|
|
62 |
* specs, bench testing, and simulations with this macromodel
|
|
|
63 |
* For PSpice .options ITL4=20 can be used for convergence
|
|
|
64 |
*
|
|
|
65 |
* Supported:
|
|
|
66 |
* Small Signal Transimpedance, Output Differential Voltage Vs Input DC Current for IOffset Variation, Output Differential Voltage Vs Offset Adjustment Current Input
|
|
|
67 |
* Supply Current Vs Input DC Current, Supply Current Vs Supply Voltage, Input Bias Voltage
|
|
|
68 |
* Model works only at temperature 27 degree celsius
|
|
|
69 |
*
|
|
|
70 |
* Not Supported:
|
|
|
71 |
* This model does not operate other than 27 degree celsius
|
|
|
72 |
*
|
|
|
73 |
* Known Discrepancies in Model vs. Datasheet:
|
|
|
74 |
* Bandwidth and Pulse Response mismatches from Datasheet.
|
|
|
75 |
*
|
|
|
76 |
*=======================
|
|
|
77 |
Vin0 IN 1 0
|
|
|
78 |
Din 1 ccap D1
|
|
|
79 |
.model D1 D
|
|
|
80 |
Rin ccap 3 27
|
|
|
81 |
Vbias 3 0 0.355
|
|
|
82 |
Rin1 IN 200 400
|
|
|
83 |
Vin1 200 0 0.78
|
|
|
84 |
Esu su 0 value={I(Vin0)+I(Vin1)}
|
|
|
85 |
E1 4 0 value={(V(su)-V(vf)-1.5u)*36.6k}
|
|
|
86 |
R1 4 5 100
|
|
|
87 |
C1 5 0 2.75p
|
|
|
88 |
C6 out+ 0 1p
|
|
|
89 |
C7 out- 0 1p
|
|
|
90 |
E6 6 0 table {V(5)} =(-100,-240m) (-420.9m,-240m) (-384.3m,-238.5m) (-347.7m,-235.5m) (-311.1m,-232m) (-274.5m,-224m) (-237.9m,-208m) (-201.3m,-178m) (-164.7m,-156m) (-128.1m,-128m) (-91.5m,-92m) (-54.9m,-54.9m) (-18.3m,-24m) (18.3m,16m) (54.9m,52m) (91.5m,92m) (128.1m,128m) (164.7m,156m) (201.3m,178m) (237.9m,204m) (274.5m,216m) (311.1m,228m) (347.7m,234m) (384.3m,237m) (420.9m,240m) (100,240m)
|
|
|
91 |
Evocm vocm 0 value={V(VCC)-0.12}
|
|
|
92 |
Eo1 out1+ vocm value={V(6)*0.5}
|
|
|
93 |
Eo2 vocm out1- value={V(6)*0.5}
|
|
|
94 |
Eh high 0 value={V(VCC)-0.78403}
|
|
|
95 |
El low 0 value={V(VCC)+0.53403}
|
|
|
96 |
Gs VCC 0 value={21m}
|
|
|
97 |
Roff offset 50 240
|
|
|
98 |
V50 50 0 0.78
|
|
|
99 |
V00 out1+ out2+ 0
|
|
|
100 |
Eof vf 0 value={(V(offset)-0.78)*0.25/240}
|
|
|
101 |
Ro1 out2+ out+ 75
|
|
|
102 |
Ro2 out1- out- 75
|
|
|
103 |
Ro- out1- 0 10meg
|
|
|
104 |
Roo out+ out- 10t
|
|
|
105 |
.ends MAX40658
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|