diff options
Diffstat (limited to 'library/deviceModelLibrary')
45 files changed, 314 insertions, 0 deletions
diff --git a/library/deviceModelLibrary/Diode/1N4148.lib b/library/deviceModelLibrary/Diode/1N4148.lib new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/library/deviceModelLibrary/Diode/1N4148.lib diff --git a/library/deviceModelLibrary/Diode/1N4148.xml b/library/deviceModelLibrary/Diode/1N4148.xml new file mode 100644 index 00000000..7c2a6799 --- /dev/null +++ b/library/deviceModelLibrary/Diode/1N4148.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>1N4148</ref_model><param><IS>5.4320E-9</IS><N>1.9701</N><RS>2.1233</RS><IKF>8.0154</IKF><CJO>1.9768E-12</CJO><M>.1</M><VJ>9.9900</VJ><BV>75.257</BV><IBV>10</IBV><TT>25.949E-9</TT></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Diode/DIS2M/DI_S2M.lib b/library/deviceModelLibrary/Diode/DIS2M/DI_S2M.lib new file mode 100644 index 00000000..1f8a5556 --- /dev/null +++ b/library/deviceModelLibrary/Diode/DIS2M/DI_S2M.lib @@ -0,0 +1 @@ +.MODEL DI_S2M D( Is=1.30u Rs=8.92m N=2.58 tt=4.32u Cjo=37.0p M=0.333 Vj=0.538 Bv=1.00k Ibv=5.00u ) diff --git a/library/deviceModelLibrary/Diode/DIS2M/DI_S2M.xml b/library/deviceModelLibrary/Diode/DIS2M/DI_S2M.xml new file mode 100644 index 00000000..a2dc1ca8 --- /dev/null +++ b/library/deviceModelLibrary/Diode/DIS2M/DI_S2M.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>DI_S2M</ref_model><param><Is>1.30u</Is><Rs>8.92m</Rs><N>2.58</N><tt>4.32u</tt><Cjo>37.0p</Cjo><M>0.333</M><Vj>0.538</Vj><Bv>1.00k</Bv><Ibv>5.00u</Ibv></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Diode/DRB168MM200.lib b/library/deviceModelLibrary/Diode/DRB168MM200.lib new file mode 100644 index 00000000..f8e22700 --- /dev/null +++ b/library/deviceModelLibrary/Diode/DRB168MM200.lib @@ -0,0 +1 @@ +.MODEL DRB168MM200 D( IS=5.6001E-9 N=1.0413 RS=90.681E-3 IKF=2.9636E-3 XTI=2.0 EG=0.74 CJO=86.088E-12 M=0.4523 VJ=0.5 ISR=9.8101E-9 NR=1.3311 BV=200 TRS1=-3.7501E-3 ) diff --git a/library/deviceModelLibrary/Diode/DRB168MM200.xml b/library/deviceModelLibrary/Diode/DRB168MM200.xml new file mode 100644 index 00000000..3973f48f --- /dev/null +++ b/library/deviceModelLibrary/Diode/DRB168MM200.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>DRB168MM200</ref_model><param><IS>5.6001E-9</IS><N>1.0413</N><RS>90.681E-3</RS><IKF>2.9636E-3</IKF><XTI>2.0</XTI><EG>0.74</EG><CJO>86.088E-12</CJO><M>0.4523</M><VJ>0.5</VJ><ISR>9.8101E-9</ISR><NR>1.3311</NR><BV>200</BV><TRS1>-3.7501E-3</TRS1></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Diode/README.md b/library/deviceModelLibrary/Diode/README.md new file mode 100644 index 00000000..86674d39 --- /dev/null +++ b/library/deviceModelLibrary/Diode/README.md @@ -0,0 +1,46 @@ +# Diode + +Diode is a pn junction device, which allows the current to flow in one direction. In +this chapter different types of diodes have been discussed. The devices in this family are used in matching circuits for electronic tuning. + +## Diode(S2M) + +``` +* DI_S2M Diode model +.MODEL DI_S2M D( Is=1.30u Rs=8.92m N=2.58 tt=4.32u Cjo=37.0p M=0.333 Vj=0.538 Bv=1.00k Ibv=5.00u ) + + +``` + + +## Diode(S1B) + +``` +* DI_S1B Diode model +.MODEL DI_S1B D( Is=7.31E-018 Rs=42.0m N=0.775 tt=4.32u Cjo=42.4p M=0.333 Vj=1 Bv=100 Ibv=5.00u ) + +``` + +## Usage/Examples + +Digital logic + +Rectifying a voltage + +## Documentation + +To know the details of S2M Diode and S1B Diode please go through with the documentation : [S2M_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/14771/PANJIT/S2M.html) and [S1B_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/14765/PANJIT/S1B.html) + +## Comments/Notes + +Please note this is a complete Device modeling. + +## Contributer + +Name: E BALAKRISHNA + +Email: balakrishnaeppili0920@gmail.com + +Year: 2022 + +Position: FOSSEE Summer Fellow 2022 diff --git a/library/deviceModelLibrary/Diode/RF Diode/DRN142S.lib b/library/deviceModelLibrary/Diode/RF Diode/DRN142S.lib new file mode 100644 index 00000000..2bc85454 --- /dev/null +++ b/library/deviceModelLibrary/Diode/RF Diode/DRN142S.lib @@ -0,0 +1 @@ +.MODEL DRN142S D( IS=127.76E-12 N=1.7346 RS=.1581 IKF=.14089 CJO=385.59E-15 M=.11823 VJ=.78827 ISR=139.38E-12 NR=3 BV=60 TT=275.00E-9 ) diff --git a/library/deviceModelLibrary/Diode/RF Diode/DRN142S.xml b/library/deviceModelLibrary/Diode/RF Diode/DRN142S.xml new file mode 100644 index 00000000..648e2440 --- /dev/null +++ b/library/deviceModelLibrary/Diode/RF Diode/DRN142S.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>DRN142S</ref_model><param><IS>127.76E-12</IS><N>1.7346</N><RS>.1581</RS><IKF>.14089</IKF><CJO>385.59E-15</CJO><M>.11823</M><VJ>.78827</VJ><ISR>139.38E-12</ISR><NR>3</NR><BV>60</BV><TT>275.00E-9</TT></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Diode/RF Diode/README.md b/library/deviceModelLibrary/Diode/RF Diode/README.md new file mode 100644 index 00000000..827113f9 --- /dev/null +++ b/library/deviceModelLibrary/Diode/RF Diode/README.md @@ -0,0 +1,10 @@ +# Radio Frequency Diode +Diode is a pn junction device, which allows the current to flow in one direction. RF Diodes are a semiconductor device with two terminals that allows the flow of electricity in one direction and restricts the flow in the other. The devices in this family are used in radio frequency matching circuits for electronic tuning. +## RF Diode(DRN142S) + +``` +* DRN142S Diode model +.MODEL DRN142S D( IS=127.76E-12 N=1.7346 RS=.1581 IKF=.14089 CJO=385.59E-15 +M=.11823 VJ=.78827 ISR=139.38E-12 NR=3 BV=60 TT=275.00E-9 ) + +``` diff --git a/library/deviceModelLibrary/Diode/S1B/DI_S1B.lib b/library/deviceModelLibrary/Diode/S1B/DI_S1B.lib new file mode 100644 index 00000000..56a40639 --- /dev/null +++ b/library/deviceModelLibrary/Diode/S1B/DI_S1B.lib @@ -0,0 +1 @@ +.MODEL DI_S1B D( Is=7.31E-018 Rs=42.0m N=0.775 tt=4.32u Cjo=42.4p M=0.333 Vj=1 Bv=100 Ibv=5.00u ) diff --git a/library/deviceModelLibrary/Diode/S1B/DI_S1B.xml b/library/deviceModelLibrary/Diode/S1B/DI_S1B.xml new file mode 100644 index 00000000..f6b4b6ae --- /dev/null +++ b/library/deviceModelLibrary/Diode/S1B/DI_S1B.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>DI_S1B</ref_model><param><Is>7.31E-018</Is><Rs>42.0m</Rs><N>0.775</N><tt>4.32u</tt><Cjo>42.4p</Cjo><M>0.333</M><Vj>1</Vj><Bv>100</Bv><Ibv>5.00u</Ibv></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/JFET/BF244B/BF244B.lib b/library/deviceModelLibrary/JFET/BF244B/BF244B.lib new file mode 100644 index 00000000..ca79f09e --- /dev/null +++ b/library/deviceModelLibrary/JFET/BF244B/BF244B.lib @@ -0,0 +1 @@ +.MODEL BF244B NJF( Beta=1.6m Betatce=-.5 Rd=1 Rs=1 Lambda=3.1m Vto=-2.29 Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u Vk=243.6 Cgd=3.35p M=.3622 Pb=1 Fc=.5 Cgs=3.736p Kf=13.56E-18 Af=1 ) diff --git a/library/deviceModelLibrary/JFET/BF244B/BF244B.xml b/library/deviceModelLibrary/JFET/BF244B/BF244B.xml new file mode 100644 index 00000000..8220a182 --- /dev/null +++ b/library/deviceModelLibrary/JFET/BF244B/BF244B.xml @@ -0,0 +1 @@ +<library><model_name>NJF</model_name><ref_model>BF244B</ref_model><param><Beta>1.6m</Beta><Betatce>-.5</Betatce><Rd>1 </Rd><Rs>1 </Rs><Lambda>3.1m</Lambda><Vto>-2.29</Vto><Vtotc>-2.5m</Vtotc><Is>33.57f </Is><Isr>322.4f </Isr><N>1</N><Nr>2</Nr><Xti>3</Xti><Alpha>311.7u</Alpha><Vk>243.6 </Vk><Cgd>3.35p</Cgd><M>.3622 </M><Pb>1</Pb><Fc>.5</Fc><Cgs>3.736p</Cgs><Kf>13.56E-18</Kf><Af>1</Af></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/JFET/J204/J204.lib b/library/deviceModelLibrary/JFET/J204/J204.lib new file mode 100644 index 00000000..cb46cd07 --- /dev/null +++ b/library/deviceModelLibrary/JFET/J204/J204.lib @@ -0,0 +1 @@ +.MODEL J204 NJF( Beta=1.004m Betatce=-.5 Rd=1 Rs=1 Lambda=3.333m Vto=-1.139 Vtotc=-2.5m Is=29.04f Isr=281.9f N=1 Nr=2 Xti=3 Alpha=698u Vk=270.4 Cgd=3.58p M=.3601 Pb=1 Fc=.5 Cgs=5.4p Kf=165E-18 Af=1 ) diff --git a/library/deviceModelLibrary/JFET/J204/J204.xml b/library/deviceModelLibrary/JFET/J204/J204.xml new file mode 100644 index 00000000..5bc58beb --- /dev/null +++ b/library/deviceModelLibrary/JFET/J204/J204.xml @@ -0,0 +1 @@ +<library><model_name>NJF</model_name><ref_model>J204</ref_model><param><Beta>1.004m</Beta><Betatce>-.5</Betatce><Rd>1 </Rd><Rs>1 </Rs><Lambda>3.333m</Lambda><Vto>-1.139</Vto><Vtotc>-2.5m</Vtotc><Is>29.04f</Is><Isr>281.9f</Isr><N>1</N><Nr>2</Nr><Xti>3</Xti><Alpha>698u</Alpha><Vk>270.4</Vk><Cgd>3.58p</Cgd><M>.3601</M><Pb>1</Pb><Fc>.5</Fc><Cgs>5.4p</Cgs><Kf>165E-18</Kf><Af>1</Af></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/JFET/J2N3822/J2N3822.lib b/library/deviceModelLibrary/JFET/J2N3822/J2N3822.lib new file mode 100644 index 00000000..eab454f6 --- /dev/null +++ b/library/deviceModelLibrary/JFET/J2N3822/J2N3822.lib @@ -0,0 +1 @@ +.MODEL J2N3822 NJF( Beta=1.1m Betatce=-.5 Rd=1 Rs=1 Lambda=4.09m Vto=-1.962 Vtotc=-2.5m Is=181.3f Isr=1.747p N=1 Nr=2 Xti=3 Alpha=2.543u Vk=152.2 Cgd=4p M=.3114 Pb=0.5 Fc=.5 Cgs=4.627p Kf=10.2E-18 Af=1 ) diff --git a/library/deviceModelLibrary/JFET/J2N3822/J2N3822.xml b/library/deviceModelLibrary/JFET/J2N3822/J2N3822.xml new file mode 100644 index 00000000..5eca7ee4 --- /dev/null +++ b/library/deviceModelLibrary/JFET/J2N3822/J2N3822.xml @@ -0,0 +1 @@ +<library><model_name>NJF</model_name><ref_model>J2N3822</ref_model><param><Beta>1.1m</Beta><Betatce>-.5</Betatce><Rd>1 </Rd><Rs>1 </Rs><Lambda>4.09m</Lambda><Vto>-1.962</Vto><Vtotc>-2.5m</Vtotc><Is>181.3f</Is><Isr>1.747p</Isr><N>1</N><Nr>2</Nr><Xti>3</Xti><Alpha>2.543u</Alpha><Vk>152.2</Vk><Cgd>4p</Cgd><M>.3114</M><Pb>0.5</Pb><Fc>.5</Fc><Cgs>4.627p</Cgs><Kf>10.2E-18</Kf><Af>1</Af></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/JFET/README.md b/library/deviceModelLibrary/JFET/README.md new file mode 100644 index 00000000..4c2f5a5d --- /dev/null +++ b/library/deviceModelLibrary/JFET/README.md @@ -0,0 +1,60 @@ +# JFET (Junction field-effect transistor) + +Junction Field Effect Transistor is one of the simplest types of field-effect transistor. It is opposite to the Bipolar Junction Transistor(BJT), It is a voltage-controlled devices. In JFET, the current flow is due to the majority of charge carriers, however, in BJTs, the current flow is due to both minority and majority charge carriers. Since only the majority of charge carriers are responsible for the current flow, JFETs are unidirectional. + +## JFET(J204) + +``` +* J204 Diode model +.MODEL J204 NJF( Beta=1.004m Betatce=-.5 Rd=1 Rs=1 Lambda=3.333m Vto=-1.139 Vtotc=-2.5m Is=29.04f Isr=281.9f N=1 Nr=2 Xti=3 Alpha=698u Vk=270.4 Cgd=3.58p M=.3601 Pb=1 Fc=.5 Cgs=5.4p Kf=165E-18 Af=1 ) + + +``` + + +## Documentation + +To know the details of J204 JFET please go through with the documentation : [J204_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/600341/VISHAY/J204.html) + + + +## JFET(J2N3822) + +``` +* J2N3822 Diode model +.MODEL J2N3822 NJF( Beta=1.1m Betatce=-.5 Rd=1 Rs=1 Lambda=4.09m Vto=-1.962 Vtotc=-2.5m Is=181.3f Isr=1.747p N=1 Nr=2 Xti=3 Alpha=2.543u Vk=152.2 Cgd=4p M=.3114 Pb=0.5 Fc=.5 Cgs=4.627p Kf=10.2E-18 Af=1 ) + + +``` + +## Documentation + +To know the details of J2N3822 JFET please go through with the documentation : [J2N3822_datasheet](https://www.st.com/resource/en/datasheet/2n3700hr.pdf) + + +## JFET(BF244B) + +``` +* BF244B Diode model +.MODEL BF244B NJF( Beta=1.6m Betatce=-.5 Rd=1 Rs=1 Lambda=3.1m Vto=-2.29 Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u Vk=243.6 Cgd=3.35p M=.3622 Pb=1 Fc=.5 Cgs=3.736p Kf=13.56E-18 Af=1 ) + + +``` + +## Documentation + +To know the details of BF244B JFET please go through with the documentation : [BF244B_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/50801/FAIRCHILD/BF244B.html) + +## Comments/Notes + +Please note this is a complete Device modeling. + +## Contributer + +Name: E BALAKRISHNA + +Email: balakrishnaeppili0920@gmail.com + +Year: 2022 + +Position: FOSSEE Summer Fellow 2022 diff --git a/library/deviceModelLibrary/LEDs/README.md b/library/deviceModelLibrary/LEDs/README.md new file mode 100644 index 00000000..11973ed1 --- /dev/null +++ b/library/deviceModelLibrary/LEDs/README.md @@ -0,0 +1,22 @@ +# Light Emitting Diodes (LEDs) + +A light-emitting diode (LED) is a semiconductor device that emits light when an electric current flows through it. +When current passes through an LED, the electrons recombine with holes emitting light in the process. +Just like diode, the process to model blue led is also the same, it is to be noted here +that the forward voltage of the LEDs are higher than the normal diode. +# Red LED +``` +.MODEL eSim_RedLED D( Is=1e-10 Rs=0.1 N=4.09 tt=4.0e-6 Cjo=3e-12 M=0.5 Vj=0.7 +Bv=5 Ibv=10e-6 Fc=0.5 Isr=0.0 Nr=2.0 Kf=0.0 Af=1.0 Ffe=1.0 Xti=3.0 Eg=1.11 +Tbv=0.0 Trs=0.0 ) +``` +**NOTE: The name of the above LED is set as eSim_Red_LED the same name of the LED must be given to the subcircuit while creating the symbol for LED. While the D is the designator for the diode.** + +# Blue LED + +``` +.MODEL eSim_BlueLED D( Is=1e-10 Rs=0.1 N=6.68 tt=4e-6 Cjo=3e-12 M=0.5 Vj=0.7 Bv=5 +Ibv=10e-6 Fc=0.5 Cp=0.0e-12 Isr=0.0 Nr=2.0 Temp=26.85 Kf=0.0 Af=1.0 Ffe=1.0 +Xti=3.0 Eg=1.11 Tbv=0.0 Trs=0.0 Ttt1=0.0 Ttt2=0.0 Tm1=0.0 Tm2=0.0 Tnom=26.85 +Area=1.0 ) +``` diff --git a/library/deviceModelLibrary/LEDs/eSim_BlueLED.lib b/library/deviceModelLibrary/LEDs/eSim_BlueLED.lib new file mode 100644 index 00000000..66bee13b --- /dev/null +++ b/library/deviceModelLibrary/LEDs/eSim_BlueLED.lib @@ -0,0 +1,3 @@ +.MODEL eSim_BlueLED D( Is=1e-10 Rs=0.1 N=6.68 tt=4e-6 Cjo=3e-12 M=0.5 Vj=0.7 Bv=5 Ibv=10e-6 Fc=0.5 Cp=0.0e-12 Isr=0.0 Nr=2.0 Temp=26.85 Kf=0.0 Af=1.0 Ffe=1.0 Xti=3.0 Eg=1.11 Tbv=0.0 Trs=0.0 Ttt1=0.0 Ttt2=0.0 Tm1=0.0 Tm2=0.0 Tnom=26.85 Area=1.0 ) + + diff --git a/library/deviceModelLibrary/LEDs/eSim_BlueLED.xml b/library/deviceModelLibrary/LEDs/eSim_BlueLED.xml new file mode 100644 index 00000000..65f54494 --- /dev/null +++ b/library/deviceModelLibrary/LEDs/eSim_BlueLED.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>eSim_BlueLED</ref_model><param><Is>1e-10</Is><Rs>0.1</Rs><N>6.68</N><tt>4e-6</tt><Cjo>3e-12</Cjo><M>0.5</M><Vj>0.7</Vj><Bv>5</Bv><Ibv>10e-6</Ibv><Fc>0.5</Fc><Cp>0.0e-12</Cp><Isr>0.0</Isr><Nr>2.0</Nr><Temp>26.85</Temp><Kf>0.0</Kf><Af>1.0</Af><Ffe>1.0</Ffe><Xti>3.0</Xti><Eg>1.11</Eg><Tbv>0.0</Tbv><Trs>0.0</Trs><Ttt1>0.0</Ttt1><Ttt2>0.0</Ttt2><Tm1>0.0</Tm1><Tm2>0.0</Tm2><Tnom>26.85</Tnom><Area>1.0</Area></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/LEDs/eSim_RedLED.lib b/library/deviceModelLibrary/LEDs/eSim_RedLED.lib new file mode 100644 index 00000000..1f852936 --- /dev/null +++ b/library/deviceModelLibrary/LEDs/eSim_RedLED.lib @@ -0,0 +1 @@ +.MODEL eSim_RedLED D( Is=1e-10 Rs=0.1 N=4.09 tt=4.0e-6 Cjo=3e-12 M=0.5 Vj=0.7 Bv=5 Ibv=10e-6 Fc=0.5 Isr=0.0 Nr=2.0 Kf=0.0 Af=1.0 Ffe=1.0 Xti=3.0 Eg=1.11 Tbv=0.0 Trs=0.0 ) diff --git a/library/deviceModelLibrary/LEDs/eSim_RedLED.xml b/library/deviceModelLibrary/LEDs/eSim_RedLED.xml new file mode 100644 index 00000000..a8df3640 --- /dev/null +++ b/library/deviceModelLibrary/LEDs/eSim_RedLED.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>eSim_RedLED</ref_model><param><Is>1e-10</Is><Rs>0.1</Rs><N>4.09</N><tt>4.0e-6</tt><Cjo>3e-12</Cjo><M>0.5</M><Vj>0.7</Vj><Bv>5</Bv><Ibv>10e-6</Ibv><Fc>0.5</Fc><Isr>0.0</Isr><Nr>2.0</Nr><Kf>0.0</Kf><Af>1.0</Af><Ffe>1.0</Ffe><Xti>3.0</Xti><Eg>1.11</Eg><Tbv>0.0</Tbv><Trs>0.0</Trs></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/MOS/MOSFET_2N7002.lib b/library/deviceModelLibrary/MOS/MOSFET_2N7002.lib new file mode 100644 index 00000000..43600d05 --- /dev/null +++ b/library/deviceModelLibrary/MOS/MOSFET_2N7002.lib @@ -0,0 +1,6 @@ +* 115mA, 60V, N-channel Enhancement Mode MOSFET +.MODEL 2N7002 NMOS( LEVEL=1 VTO=1.50 KP=78.1m GAMMA=1.86 ++ PHI=.75 LAMBDA=97.2u RD=0.280 RS=0.280 ++ IS=140f PB=0.800 MJ=0.460 CBD=9.88p ++ CBS=11.9p CGSO=60.0n CGDO=50.0n CGBO=190n ) + diff --git a/library/deviceModelLibrary/MOS/MOSFET_2N7002.xml b/library/deviceModelLibrary/MOS/MOSFET_2N7002.xml new file mode 100644 index 00000000..dca33a4e --- /dev/null +++ b/library/deviceModelLibrary/MOS/MOSFET_2N7002.xml @@ -0,0 +1 @@ +<library><model_name>NMOS</model_name><ref_model>2N7002</ref_model><param><LEVEL>1</LEVEL><VTO>1.50</VTO><KP>78.1m</KP><GAMMA>1.86</GAMMA><PHI>.75</PHI><LAMBDA>97.2u</LAMBDA><RD>0.280</RD><RS>0.280</RS><IS>140f</IS><PB>0.800</PB><MJ>0.460</MJ><CBD>9.88p</CBD><CBS>11.9p</CBS><CGSO>60.0n</CGSO><CGDO>50.0n</CGDO><CGBO>190n</CGBO></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Switch/README.md b/library/deviceModelLibrary/Switch/README.md new file mode 100644 index 00000000..bfb35788 --- /dev/null +++ b/library/deviceModelLibrary/Switch/README.md @@ -0,0 +1,33 @@ +# Voltage Controlled Switch + +The Voltage Controlled Switch block represents the electrical characteristics of a +switch whose state is controlled by the voltage across the input ports (the controlling +voltage). + +![sw_edited](https://user-images.githubusercontent.com/43288153/184137917-1e6d4b0e-42a9-4a87-80f1-9d98d2a6dc39.png) +fig: Voltage control switch + +This block models either a variable-resistance or a short-transition switch. For +a variable-resistance switch, set the Switch model parameter to Smooth transition +between Von and Voff. For a short-transition switch, set Switch model to Abrupt +transition after delay. + +When the controlling voltage is less than the Threshold voltage, VT parameter +value minus the Hysteresis voltage, VH parameter value, the switch is open and has +a resistance equal to the Off resistance, ROFF parameter value. +When the controlling voltage is greater than or less than the Threshold voltage, +VT parameter value by an amount less than or equal to the Hysteresis voltage, VH +parameter value, the voltage is in the crossover region and the state of the switch +remains unchanged + +The schematic to test the proposed voltage controlled switch is shown below. +It is a simple circuit where a pulse source is connected to the switch followed by a +resistor. +When the switch is turned ON, then at the Vout the source voltage can be +obtained, however, the switch model is given some value for Ron meaning the amount +of ron will be offered by the switch when it is turned ON. +Similarly, when it is turned off then it will offer the resistance set in roff. + +``` +.model switch1 sw( vt=0.05 vh=1 ron=1 roff=1e12 ) +``` diff --git a/library/deviceModelLibrary/Switch/switch1.lib b/library/deviceModelLibrary/Switch/switch1.lib new file mode 100644 index 00000000..3736c67f --- /dev/null +++ b/library/deviceModelLibrary/Switch/switch1.lib @@ -0,0 +1,3 @@ +*****************Creation of lib file for switch**************************** + +.model switch1 sw( vt=0.05 vh=1 ron=1 roff=1e12 ) diff --git a/library/deviceModelLibrary/Switch/switch1.xml b/library/deviceModelLibrary/Switch/switch1.xml new file mode 100644 index 00000000..c38fe559 --- /dev/null +++ b/library/deviceModelLibrary/Switch/switch1.xml @@ -0,0 +1 @@ +<library><model_name>sw</model_name><ref_model>switch1</ref_model><param><vt>0.05</vt><vh>1</vh><ron>1</ron><roff>1e12</roff></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Transistor/BC107/BC107.lib b/library/deviceModelLibrary/Transistor/BC107/BC107.lib new file mode 100644 index 00000000..86233eda --- /dev/null +++ b/library/deviceModelLibrary/Transistor/BC107/BC107.lib @@ -0,0 +1 @@ +.MODEL BC107 NPN( Is=1.527f Xti=3 Eg=1.11 Vaf=1.06.8 Bf=334.5 Ne=1.642 Ise=222f Ikf=0.1596 Xtb=1.5 Br=0788 Nc=2 Isc=0 Ikr=0 Rc=0.6 Cjc=6.072p Mjc=.3333 Vjc=.75 Fc=.5 Cje=10.67p Mje=.3333 Vje=.75 Tr=10n Tf=471.8p Itf=0 Vtf=0 Xtf=0 Rb=3 ) diff --git a/library/deviceModelLibrary/Transistor/BC107/BC107.xml b/library/deviceModelLibrary/Transistor/BC107/BC107.xml new file mode 100644 index 00000000..7c9e4814 --- /dev/null +++ b/library/deviceModelLibrary/Transistor/BC107/BC107.xml @@ -0,0 +1 @@ +<library><model_name>NPN</model_name><ref_model>BC107</ref_model><param><Is>1.527f</Is><Xti>3 </Xti><Eg>1.11 </Eg><Vaf>1.06.8</Vaf><Bf>334.5</Bf><Ne>1.642</Ne><Ise>222f</Ise><Ikf>0.1596</Ikf><Xtb>1.5 </Xtb><Br>0788</Br><Nc>2 </Nc><Isc>0 </Isc><Ikr>0 </Ikr><Rc>0.6</Rc><Cjc>6.072p</Cjc><Mjc>.3333</Mjc><Vjc>.75 </Vjc><Fc>.5 </Fc><Cje>10.67p</Cje><Mje>.3333</Mje><Vje>.75 </Vje><Tr>10n</Tr><Tf>471.8p</Tf><Itf>0</Itf><Vtf>0</Vtf><Xtf>0</Xtf><Rb>3</Rb></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Transistor/BC547B/BC547B.lib b/library/deviceModelLibrary/Transistor/BC547B/BC547B.lib new file mode 100644 index 00000000..723537a7 --- /dev/null +++ b/library/deviceModelLibrary/Transistor/BC547B/BC547B.lib @@ -0,0 +1 @@ +.model BC547B NPN(IS=1.8E-14 BF=400 NF=0.9955 VAF=80 IKF=0.14 ISE=5E-14 NE=1.46 BR=35.5 NR=1.005 VAR=12.5 IKR=0.03 ISC=1.72E-13 NC=1.27 RB=0.56 RE=0.6 RC=0.25 CJE=1.3E-11 TF=6.4E-10 CJC=4E-12 VJC=0.54 TR=5.072E-8) diff --git a/library/deviceModelLibrary/Transistor/BC547B/BC547B.xml b/library/deviceModelLibrary/Transistor/BC547B/BC547B.xml new file mode 100644 index 00000000..da06e5c4 --- /dev/null +++ b/library/deviceModelLibrary/Transistor/BC547B/BC547B.xml @@ -0,0 +1 @@ +<library><model_name>NPN</model_name><ref_model>BC547B</ref_model><param><Vtf>1.7 </Vtf><Cjc>7.306p </Cjc><Nc>2 </Nc><Tr>46.91n </Tr><Ne>1.307 </Ne><Cje>22.01p </Cje><Isc>0 </Isc><Xtb>1.5 </Xtb><Rb>10 </Rb><Rc>1 </Rc><Tf>411.1p </Tf><Xti>3 </Xti><Ikr>0 </Ikr><Bf>400 </Bf><Fc>.5 </Fc><Ise>14.34f </Ise><Br>6.092 </Br><Ikf>.2847 </Ikf><Mje>.377 </Mje><Mjc>.3416 </Mjc><Vaf>74.03 </Vaf><Vjc>.75 </Vjc><Vje>.75 </Vje><Xtf>3 </Xtf><Itf>.6 </Itf><Is>14.34f </Is><Eg>1.11 </Eg></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Transistor/BC557/BC_557.lib b/library/deviceModelLibrary/Transistor/BC557/BC_557.lib new file mode 100644 index 00000000..31eb3345 --- /dev/null +++ b/library/deviceModelLibrary/Transistor/BC557/BC_557.lib @@ -0,0 +1 @@ +.MODEL BC_557 PNP( Is=3.834E-14 Xti=3 Eg=1.11 Vaf=21.11 Bf=800 Ne=1.528 Ise=1.219E-14 Ikf=0.08039 Xtb=0 Br=14.84 Nc=1.28 Isc=2.852E-13 Ikr=0.047 Rc=0.5713 Cjc=1.084E-11 Mjc=0.3563 Vjc=0.1022 Fc=0.8027 Cje=1.23E-11 Mje=0.378 Vje=0.6106 Tr=1E-32 Tf=5.595E-10 Itf=0.1483 Vtf=5.23 Xtf=3.414 Rb=1 ) diff --git a/library/deviceModelLibrary/Transistor/BC557/BC_557.xml b/library/deviceModelLibrary/Transistor/BC557/BC_557.xml new file mode 100644 index 00000000..f6a138eb --- /dev/null +++ b/library/deviceModelLibrary/Transistor/BC557/BC_557.xml @@ -0,0 +1 @@ +<library><model_name>PNP</model_name><ref_model>BC_557</ref_model><param><Is>3.834E-14</Is><Xti>3</Xti><Eg>1.11</Eg><Vaf>21.11</Vaf><Bf>800</Bf><Ne>1.528</Ne><Ise>1.219E-14</Ise><Ikf>0.08039</Ikf><Xtb>0</Xtb><Br>14.84</Br><Nc>1.28</Nc><Isc>2.852E-13</Isc><Ikr>0.047</Ikr><Rc>0.5713</Rc><Cjc>1.084E-11</Cjc><Mjc>0.3563</Mjc><Vjc>0.1022</Vjc><Fc>0.8027</Fc><Cje>1.23E-11</Cje><Mje>0.378</Mje><Vje>0.6106</Vje><Tr>1E-32</Tr><Tf>5.595E-10</Tf><Itf>0.1483</Itf><Vtf>5.23</Vtf><Xtf>3.414</Xtf><Rb>1</Rb></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/Transistor/README.md b/library/deviceModelLibrary/Transistor/README.md new file mode 100644 index 00000000..796d009d --- /dev/null +++ b/library/deviceModelLibrary/Transistor/README.md @@ -0,0 +1,63 @@ +# BJT(Bipolar junction transistor) + +BC557 is BJT. Bipolar Junction Transistors (BJTs) are three terminal semiconductor devices used to amplify signals They consist of 2 PN Junction diodes attached side by side helping to get an amplifying effect on input signals. It is a high voltage VCEO = -65 V, Switching and Amplifier. + +## BJT(BC557) + +``` +* BC557 BJT model +.MODEL BC_557 PNP( Is=3.834E-14 Xti=3 Eg=1.11 Vaf=21.11 Bf=800 Ne=1.528 Ise=1.219E-14 Ikf=0.08039 Xtb=0 Br=14.84 Nc=1.28 Isc=2.852E-13 Ikr=0.047 Rc=0.5713 Cjc=1.084E-11 Mjc=0.3563 Vjc=0.1022 Fc=0.8027 Cje=1.23E-11 Mje=0.378 Vje=0.6106 Tr=1E-32 Tf=5.595E-10 Itf=0.1483 Vtf=5.23 Xtf=3.414 Rb=1 ) + +``` + +## BJT(BC547B) + +``` +* BC547B BJT model +.model BC547B NPN(IS=1.8E-14 BF=400 NF=0.9955 VAF=80 IKF=0.14 ISE=5E-14 NE=1.46 BR=35.5 NR=1.005 VAR=12.5 IKR=0.03 ISC=1.72E-13 NC=1.27 RB=0.56 RE=0.6 RC=0.25 CJE=1.3E-11 TF=6.4E-10 CJC=4E-12 VJC=0.54 TR=5.072E-8) + +``` +## BJT(BC107) + +``` +* BC107 BJT model +.MODEL BC107 NPN( Is=1.527f Xti=3 Eg=1.11 Vaf=1.06.8 Bf=334.5 Ne=1.642 Ise=222f Ikf=0.1596 Xtb=1.5 Br=0788 Nc=2 Isc=0 Ikr=0 Rc=0.6 Cjc=6.072p Mjc=.3333 Vjc=.75 Fc=.5 Cje=10.67p Mje=.3333 Vje=.75 Tr=10n Tf=471.8p Itf=0 Vtf=0 Xtf=0 Rb=3 ) + +``` + + +## Usage/Examples + +Audio amplifiers in small radios + +Electronic buzzers + +Electronic bells + +## Documentation + +To know the details of BC557 BJT please go through with the documentation : [BC557_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/532903/FAIRCHILD/BC557.html) + +## Documentation + +To know the details of BC547B BJT please go through with the documentation : [BC547B_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/596621/FAIRCHILD/BC547.html) + +## Documentation + +To know the details of BC107 BJT please go through with the documentation : [BC107_datasheet](https://pdf1.alldatasheet.com/datasheet-pdf/view/16088/PHILIPS/BC107.html) + + + +## Comments/Notes + +Please note this is a complete Device modeling. + +## Contributer + +Name: E BALAKRISHNA + +Email: balakrishnaeppili0920@gmail.com + +Year: 2022 + +Position: FOSSEE Summer Fellow 2022 diff --git a/library/deviceModelLibrary/Transmission Lines/README.md b/library/deviceModelLibrary/Transmission Lines/README.md new file mode 100644 index 00000000..3cd6aef4 --- /dev/null +++ b/library/deviceModelLibrary/Transmission Lines/README.md @@ -0,0 +1,34 @@ +# Transmission Line + +Transmision lines are used to carry Radio Frequency(RF) power from one place to +another, and to do this as efficiently as possible. +In this section the lossless and lossy transmission lines will be discussed along +with the simulation results. + +## Lossless transmission line +A transmission line having no line resistance or no dielectric loss is said to be a +lossless transmission line. It means that the conductor would behave as a super- +conductor and dielectric would be made of perfect dielectric medium. In a lossless +transmission line, power sent from a generating point would be equal to power re- +ceived at the load end. There is no power dissipation in the line itself. + + +![tline](https://user-images.githubusercontent.com/43288153/184139198-e25e1e59-3b3f-415c-bf7d-99ebee4eb601.png)<br/> + fig: Symbol of tline + + +**NOTE: We have to put one space between Z0=50 and Td=3ns**<br/> + + This can be done in the cir.out file after creating the circuit(s) and converting kiCad +to NgSpice. + +## Single Lossy Transmission Line (SLTL) +An appreciable value of series resistance and shunt conductance make up a lossy +transmission line, which allows different frequencies to transmit at various speeds. +In contrast, on a lossless transmission line, wave propagation rates are constant +across all frequencies. As waves move towards the load end of the lossy transmission +line, distortion is caused by a change in speed. +The symbol for Single Lossy Transmission Lines(SLTL) is shown below- + +![ymod](https://user-images.githubusercontent.com/43288153/184139539-ed4eac77-934a-423c-8f7b-2cba4daf42d1.png)<br/> +fig: Symbol of SLTL diff --git a/library/deviceModelLibrary/Transmission Lines/ymod.lib b/library/deviceModelLibrary/Transmission Lines/ymod.lib new file mode 100644 index 00000000..12ed776f --- /dev/null +++ b/library/deviceModelLibrary/Transmission Lines/ymod.lib @@ -0,0 +1 @@ +.MODEL ymod txl( R=12.45 L=8.972e-9 G=0 C=0.468e-12 length=16 ) diff --git a/library/deviceModelLibrary/Transmission Lines/ymod.xml b/library/deviceModelLibrary/Transmission Lines/ymod.xml new file mode 100644 index 00000000..0c9a1863 --- /dev/null +++ b/library/deviceModelLibrary/Transmission Lines/ymod.xml @@ -0,0 +1 @@ +<library><model_name>txl</model_name><ref_model>ymod</ref_model><param><R>12.45</R><L>8.972e-9</L><G>0</G><C>0.468e-12</C><length>16</length></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/User Libraries/GD_diode.lib b/library/deviceModelLibrary/User Libraries/GD_diode.lib new file mode 100644 index 00000000..2e728e04 --- /dev/null +++ b/library/deviceModelLibrary/User Libraries/GD_diode.lib @@ -0,0 +1 @@ +.model GD_diode D( rs=6 n=6 )
\ No newline at end of file diff --git a/library/deviceModelLibrary/User Libraries/GD_diode.xml b/library/deviceModelLibrary/User Libraries/GD_diode.xml new file mode 100644 index 00000000..9965d289 --- /dev/null +++ b/library/deviceModelLibrary/User Libraries/GD_diode.xml @@ -0,0 +1 @@ +<library><model_name>D</model_name><ref_model>GD_diode</ref_model><param><rs>6</rs><n>6</n></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/User Libraries/GD_nfet.lib b/library/deviceModelLibrary/User Libraries/GD_nfet.lib new file mode 100644 index 00000000..0dafefd6 --- /dev/null +++ b/library/deviceModelLibrary/User Libraries/GD_nfet.lib @@ -0,0 +1 @@ +.model GD_nfet njf( vto=-4 beta=0.07 cgs=0.05 )
\ No newline at end of file diff --git a/library/deviceModelLibrary/User Libraries/GD_nfet.xml b/library/deviceModelLibrary/User Libraries/GD_nfet.xml new file mode 100644 index 00000000..ae5413d4 --- /dev/null +++ b/library/deviceModelLibrary/User Libraries/GD_nfet.xml @@ -0,0 +1 @@ +<library><model_name>njf</model_name><ref_model>GD_nfet</ref_model><param><vto>-4</vto><beta>0.07</beta><cgs>0.05</cgs></param></library>
\ No newline at end of file diff --git a/library/deviceModelLibrary/User Libraries/GD_pfet.lib b/library/deviceModelLibrary/User Libraries/GD_pfet.lib new file mode 100644 index 00000000..cf314100 --- /dev/null +++ b/library/deviceModelLibrary/User Libraries/GD_pfet.lib @@ -0,0 +1 @@ +.model GD_pfet pjf( vto=-4 beta=0.07 cgs=0.05 )
\ No newline at end of file diff --git a/library/deviceModelLibrary/User Libraries/GD_pfet.xml b/library/deviceModelLibrary/User Libraries/GD_pfet.xml new file mode 100644 index 00000000..8fc6456f --- /dev/null +++ b/library/deviceModelLibrary/User Libraries/GD_pfet.xml @@ -0,0 +1 @@ +<library><model_name>pjf</model_name><ref_model>GD_pfet</ref_model><param><vto>-4</vto><beta>0.07</beta><cgs>0.05</cgs></param></library>
\ No newline at end of file |