LTspice: Adding Third-Party Models
Models given as .MODEL statements are for intrinsic SPICE devices like diodes and transistors.
diode, transistor같은 내장된 SPICE device들이다.
Models given by .SUBCKT statements define the component by a collection of circuitry of intrinsic SPICE devices.
내장된 SPICE device들의 회로의 collection으로 component를 정의한다.
<thirty party component 정의 방법>
http://www.onsemi.com/pub/Collateral/1N4007.REV0.LIB
에서 모델 파라미터 다운 가능(simulation model 다운, lib file)
.MODEL D1n4007 d
+IS=7.02767e-09 RS=0.0341512 N=1.80803 EG=1.05743
+XTI=5 BV=1000 IBV=5e-08 CJO=1e-11
+VJ=0.7 M=0.5 FC=0.5 TT=1e-07
+KF=0 AF=1
1. comp+오른쪽 버튼>pick New Diode
내장된 .model 사용가능
지금은 Ctrl+마우스 오른쪽 버튼
Prefix : comp type (중요)
Value 수정, thirty part comp 정의
SPICE directive에서 설정
하지만 이건 인터넷으로 연결해서 모델 정보를 복사해 온것
.inc command를 한번만 실행하면 local에 parameter set을 저장
명령어를 수정해서 실행해도 local에 parameter set이 저장되었기 때문에 동일하게 실행
아니면 그냥 lib file을 다운받아서 local에 저장해서 시작해도 됌
절대주소, full file name, 확장자명
어떻게 하라고 하는 못알아들음, 파일주소 관련해서 문제생기면 다시 확인
다운 받은 lib 파일을 schematic file과 같이 저장되어 있음
아까 위에서 놓친게 기존 lib path 설정하라는 소리였던것 같음.
.subckt 설명
unique naem, pin과 관련된 것들
sub circuit statement
작은 회로를 만들어서 block화 시키는 건가봄
.SUBCKT ACME1
statement를 찾을 수가 없음.
저걸로 symbol을 만든건데...
필요하면 나중에 해보기
.inc ACME.mod
references :
https://www.analog.com/en/education/education-library/videos/5579239882001.html
'Programming > LTSpice' 카테고리의 다른 글
.step param 사용법 (0) | 2020.05.27 |
---|---|
schematic 그리기 (0) | 2020.05.15 |
LTSPICE 소개 (0) | 2020.05.15 |