You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
6.0 KiB
130 lines
6.0 KiB
{
|
|
"analysis_presets": [
|
|
{
|
|
"name": "Standard sweep",
|
|
"directive": ".ac lin 1000 1k 500k",
|
|
"description": "1kHz-500kHz, 1000 points (multi-line supported)"
|
|
},
|
|
{
|
|
"name": "fft",
|
|
"directive": ".param freq=364.5k\n.param period={1/freq}\n.param trise=200n\n.param tfall=200n\n.param duty=0.5\n.param ton={period*duty - (trise+tfall)/2}\n\nV1 vin 0 PULSE(0 1 0 {trise} {tfall} {ton} {period})\n.tran 0 2000us 0 50n\n.end",
|
|
"description": ""
|
|
}
|
|
],
|
|
"plot_configurations": [
|
|
{
|
|
"name": "Power Sweep (Rval)",
|
|
"voltage": "1V",
|
|
"mmc_primary": "0.03",
|
|
"mmc_secondary": "0.001",
|
|
"resonator_type": "distributed",
|
|
"spark_load": "R Load (parametric)",
|
|
"ac_directive": ".step dec param Rval 10k 10Meg 20\n.ac lin 1 380000 380000",
|
|
"measurements": [
|
|
"V(top)*I(R_load)"
|
|
],
|
|
"show_phase": true,
|
|
"log_freq": false,
|
|
"log_mag": false,
|
|
"use_db": false,
|
|
"description": "Parametric sweep to find optimal load resistance",
|
|
"ac_preset": "",
|
|
"measurement_preset": "",
|
|
"analysis_mode": "ac",
|
|
"display_mode": "time_domain"
|
|
},
|
|
{
|
|
"name": "Frequency Response",
|
|
"voltage": "1V",
|
|
"mmc_primary": "0.03",
|
|
"mmc_secondary": "0.001",
|
|
"resonator_type": "distributed",
|
|
"spark_load": "None",
|
|
"ac_directive": ".ac lin 1000 100k 2500k",
|
|
"measurements": [
|
|
"I(L1)"
|
|
],
|
|
"show_phase": true,
|
|
"log_freq": false,
|
|
"log_mag": false,
|
|
"use_db": true,
|
|
"description": "Standard frequency sweep with topload voltage and input impedance",
|
|
"ac_preset": "",
|
|
"measurement_preset": "",
|
|
"analysis_mode": "ac",
|
|
"display_mode": "time_domain"
|
|
},
|
|
{
|
|
"name": "Voltage Distribution",
|
|
"voltage": "1V",
|
|
"mmc_primary": "0.03",
|
|
"mmc_secondary": "0.001",
|
|
"resonator_type": "distributed",
|
|
"spark_load": "None",
|
|
"ac_directive": ".ac lin 1000 100k 3500k",
|
|
"measurements": [
|
|
"V(top)",
|
|
"V(s9)",
|
|
"V(s8)",
|
|
"V(s7)",
|
|
"V(s6)",
|
|
"V(s5)",
|
|
"V(s4)",
|
|
"V(s3)",
|
|
"V(s2)",
|
|
"V(s1)"
|
|
],
|
|
"show_phase": false,
|
|
"log_freq": false,
|
|
"log_mag": false,
|
|
"use_db": true,
|
|
"description": "Voltage at different coil sections",
|
|
"ac_preset": "Standard sweep",
|
|
"measurement_preset": "Voltage Distribution",
|
|
"analysis_mode": "ac",
|
|
"display_mode": "time_domain"
|
|
},
|
|
{
|
|
"name": "Transient - Time Domain",
|
|
"voltage": "1V",
|
|
"mmc_primary": "0.03",
|
|
"mmc_secondary": "0.001",
|
|
"resonator_type": "distributed",
|
|
"spark_load": "None",
|
|
"ac_directive": "* APWM \n* Controller by Anders Mikkelsen\n* Self-oscillating ZCS (Zero Current Switching) controller with phase-lead compensation\n*\n* CUSTOMIZABLE PARAMETERS:\n* pvolts - Primary voltage (default: 330V)\n* Adjust to match your bus voltage\n*\n* rlead - Phase lead resistor (default: 1k)\n* Higher = less phase lead\n*\n* rfreq - Frequency compensation resistor (default: 2k)\n* Affects self-oscillation frequency\n*\n* iscale - Current sense scaling (default: 0.05)\n* Adjust based on CT ratio and sense resistor\n\n.param pvolts=330\n.param rlead=1k\n.param rfreq=2k\n.param iscale=0.05\n.param rterm=50\n\nV_5v p5v 0 5\nR6 0 N012 1k\nR7 N012 p5v 1k\nRbias N001 N012 100k\nXU1 N014 N001 p5v 0 N008 LT1720\nR1 N008 N014 22k\nR4 N011 N008 {rfreq}\nR3 N011 N001 1k\nC1 N001 0 1n\nXU2 N003 N001 p5v 0 N002 LT1720\nVramp N003 0 PULSE(0v 5v 100us 100n 100n 500us)\nA1 N002 N008 0 0 0 0 N009 0 AND\nT1 N009 0 N007 N010 Td=50n Z0={rterm}\nR10 N007 N010 {rterm}\nR5 N013 N012 {rlead}\nC3 N013 N015 470p\nR2 N014 N013 4k7\nR9 N013 N016 1k\nC4 N016 N015 10n\nB2 N015 0 V=I(L1)*{iscale}\nB1 vin 0 V=if(V(N009)>0.5, {pvolts/2}, -{pvolts/2})\n\n.tran 0 600u 100u 10n startup\n.lib LT1720.sub",
|
|
"measurements": [
|
|
"I(L1)"
|
|
],
|
|
"show_phase": true,
|
|
"log_freq": false,
|
|
"log_mag": false,
|
|
"use_db": false,
|
|
"analysis_mode": "transient",
|
|
"display_mode": "time_domain",
|
|
"description": "ZCS transient analysis with phase-lead controller",
|
|
"ac_preset": "",
|
|
"measurement_preset": ""
|
|
},
|
|
{
|
|
"name": "Transient - FFT Example",
|
|
"voltage": "1V",
|
|
"mmc_primary": "0.03",
|
|
"mmc_secondary": "0.001",
|
|
"resonator_type": "distributed",
|
|
"spark_load": "None",
|
|
"ac_directive": "* APWM \n* Controller by Anders Mikkelsen\n* Self-oscillating ZCS (Zero Current Switching) controller with phase-lead compensation\n*\n* CUSTOMIZABLE PARAMETERS:\n* pvolts - Primary voltage (default: 330V)\n* Adjust to match your bus voltage\n*\n* rlead - Phase lead resistor (default: 1k)\n* Higher = less phase lead\n*\n* rfreq - Frequency compensation resistor (default: 2k)\n* Affects self-oscillation frequency\n*\n* iscale - Current sense scaling (default: 0.05)\n* Adjust based on CT ratio and sense resistor\n\n.param pvolts=330\n.param rlead=1k\n.param rfreq=2k\n.param iscale=0.05\n.param rterm=50\n\nV_5v p5v 0 5\nR6 0 N012 1k\nR7 N012 p5v 1k\nRbias N001 N012 100k\nXU1 N014 N001 p5v 0 N008 LT1720\nR1 N008 N014 22k\nR4 N011 N008 {rfreq}\nR3 N011 N001 1k\nC1 N001 0 1n\nXU2 N003 N001 p5v 0 N002 LT1720\nVramp N003 0 PULSE(0v 5v 100us 100n 100n 500us)\nA1 N002 N008 0 0 0 0 N009 0 AND\nT1 N009 0 N007 N010 Td=50n Z0={rterm}\nR10 N007 N010 {rterm}\nR5 N013 N012 {rlead}\nC3 N013 N015 470p\nR2 N014 N013 4k7\nR9 N013 N016 1k\nC4 N016 N015 10n\nB2 N015 0 V=I(L1)*{iscale}\nB1 vin 0 V=if(V(N009)>0.5, {pvolts/2}, -{pvolts/2})\n\n.tran 0 600u 100u 10n startup\n.lib LT1720.sub",
|
|
"measurements": [
|
|
"v(s5)"
|
|
],
|
|
"show_phase": false,
|
|
"log_freq": false,
|
|
"log_mag": false,
|
|
"use_db": false,
|
|
"analysis_mode": "transient",
|
|
"display_mode": "fft",
|
|
"description": "Transient analysis with FFT using .four directive",
|
|
"ac_preset": "",
|
|
"measurement_preset": ""
|
|
}
|
|
]
|
|
}
|