Browse Source
Sim: Improvements to model serialization
Sim: Improvements to model serialization
Don't serialize parameters in certain models for default values. Infer models from Value field for some kinds of models. Resolve synonyms when loading models from Spice libraries.7.0
32 changed files with 2428 additions and 562 deletions
-
1eeschema/CMakeLists.txt
-
38eeschema/dialogs/dialog_sim_model.cpp
-
19eeschema/netlist_exporters/netlist_exporter_spice.cpp
-
6eeschema/sim/ngspice.h
-
36eeschema/sim/ngspice_models.cpp
-
677eeschema/sim/sim_model.cpp
-
119eeschema/sim/sim_model.h
-
24eeschema/sim/sim_model_behavioral.cpp
-
2eeschema/sim/sim_model_behavioral.h
-
70eeschema/sim/sim_model_ideal.cpp
-
15eeschema/sim/sim_model_ideal.h
-
118eeschema/sim/sim_model_ngspice.cpp
-
3eeschema/sim/sim_model_ngspice.h
-
206eeschema/sim/sim_model_passive.cpp
-
52eeschema/sim/sim_model_passive.h
-
181eeschema/sim/sim_model_source.cpp
-
52eeschema/sim/sim_model_source.h
-
188eeschema/sim/sim_model_spice.cpp
-
45eeschema/sim/sim_model_spice.h
-
6eeschema/sim/sim_model_subckt.cpp
-
26eeschema/sim/sim_value.cpp
-
4eeschema/sim/sim_value.h
-
5eeschema/sim/spice_grammar.h
-
32qa/data/eeschema/spice_netlists/opamp/opamp.kicad_sch
-
2qa/data/eeschema/spice_netlists/passives/passives.kicad_pcb
-
331qa/data/eeschema/spice_netlists/passives/passives.kicad_pro
-
681qa/data/eeschema/spice_netlists/passives/passives.kicad_sch
-
11qa/data/eeschema/spice_netlists/passives/passives.lib
-
2qa/data/eeschema/spice_netlists/rectifier/diode.lib
-
24qa/data/eeschema/spice_netlists/rectifier/rectifier.kicad_sch
-
8qa/unittests/eeschema/sim/test_ngspice.cpp
-
6qa/unittests/eeschema/test_netlist_exporter_spice.cpp
@ -0,0 +1,206 @@ |
|||
/*
|
|||
* This program source code file is part of KiCad, a free EDA CAD application. |
|||
* |
|||
* Copyright (C) 2022 Mikolaj Wielgus |
|||
* Copyright (C) 2022 KiCad Developers, see AUTHORS.txt for contributors. |
|||
* |
|||
* This program is free software; you can redistribute it and/or |
|||
* modify it under the terms of the GNU General Public License |
|||
* as published by the Free Software Foundation; either version 3 |
|||
* of the License, or (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, you may find one here: |
|||
* https://www.gnu.org/licenses/gpl-3.0.html
|
|||
* or you may search the http://www.gnu.org website for the version 3 license,
|
|||
* or you may write to the Free Software Foundation, Inc., |
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|||
*/ |
|||
|
|||
#include <sim/sim_model_passive.h>
|
|||
|
|||
using PARAM = SIM_MODEL::PARAM; |
|||
|
|||
|
|||
SIM_MODEL_PASSIVE::SIM_MODEL_PASSIVE( TYPE aType ) |
|||
: SIM_MODEL( aType ) |
|||
{ |
|||
static std::vector<PARAM::INFO> resistor = makeParamInfos( "r", "Resistance", "ohm" ); |
|||
static std::vector<PARAM::INFO> capacitor = makeParamInfos( "c", "Capacitance", "F" ); |
|||
static std::vector<PARAM::INFO> inductor = makeParamInfos( "l", "Inductance", "H" ); |
|||
|
|||
switch( aType ) |
|||
{ |
|||
case TYPE::R_ADV: |
|||
for( const PARAM::INFO& paramInfo : resistor ) |
|||
AddParam( paramInfo ); |
|||
break; |
|||
|
|||
case TYPE::C_ADV: |
|||
for( const PARAM::INFO& paramInfo : capacitor ) |
|||
AddParam( paramInfo ); |
|||
break; |
|||
|
|||
case TYPE::L_ADV: |
|||
for( const PARAM::INFO& paramInfo : inductor ) |
|||
AddParam( paramInfo ); |
|||
break; |
|||
|
|||
default: |
|||
wxFAIL_MSG( "Unhandled SIM_MODEL type in SIM_MODEL_PASSIVE" ); |
|||
} |
|||
} |
|||
|
|||
|
|||
wxString SIM_MODEL_PASSIVE::GenerateSpiceItemLine( const wxString& aRefName, |
|||
const wxString& aModelName, |
|||
const std::vector<wxString>& aPinNetNames ) const |
|||
{ |
|||
wxString result = ""; |
|||
result << GenerateSpiceItemName( aRefName ) << " "; |
|||
|
|||
for( const PIN& pin : GetPins() ) |
|||
{ |
|||
for( unsigned i = 0; i < aPinNetNames.size(); ++i ) |
|||
{ |
|||
unsigned symbolPinNumber = i + 1; |
|||
|
|||
if( symbolPinNumber == pin.symbolPinNumber ) |
|||
result << aPinNetNames[i] << " "; |
|||
} |
|||
} |
|||
|
|||
// The model name is preceded by the principal value for resistors.
|
|||
//if( GetType() == TYPE::R_ADV )
|
|||
//result << GetParam( 0 ).value->ToString( SIM_VALUE::NOTATION::SPICE ) << " ";
|
|||
|
|||
result << aModelName << " "; |
|||
|
|||
for( const PARAM& param : GetParams() ) |
|||
{ |
|||
if( param.info.isInstanceParam ) |
|||
result << param.info.name << "=" << param.value->ToString() << " "; |
|||
} |
|||
|
|||
result << "\n"; |
|||
return result; |
|||
} |
|||
|
|||
|
|||
bool SIM_MODEL_PASSIVE::SetParamFromSpiceCode( const wxString& aParamName, |
|||
const wxString& aParamValue, |
|||
SIM_VALUE_GRAMMAR::NOTATION aNotation ) |
|||
{ |
|||
if( aParamName.Lower() == "tc" ) |
|||
return SetParamFromSpiceCode( "tc1", aParamValue, aNotation ); |
|||
|
|||
switch( GetType() ) |
|||
{ |
|||
case TYPE::R_ADV: |
|||
if( aParamName.Lower() == "tc1r" ) |
|||
return SIM_MODEL::SetParamFromSpiceCode( "tc1", aParamValue, aNotation ); |
|||
|
|||
if( aParamName.Lower() == "tc2r" ) |
|||
return SIM_MODEL::SetParamFromSpiceCode( "tc2", aParamValue, aNotation ); |
|||
|
|||
if( aParamName.Lower() == "res" ) |
|||
return SIM_MODEL::SetParamFromSpiceCode( "r", aParamValue, aNotation ); |
|||
|
|||
break; |
|||
|
|||
case TYPE::C_ADV: |
|||
if( aParamName.Lower() == "cap" ) |
|||
return SIM_MODEL::SetParamFromSpiceCode( "c", aParamValue, aNotation ); |
|||
|
|||
break; |
|||
|
|||
case TYPE::L_ADV: |
|||
if( aParamName.Lower() == "ind" ) |
|||
return SIM_MODEL::SetParamFromSpiceCode( "l", aParamValue, aNotation ); |
|||
|
|||
break; |
|||
|
|||
default: |
|||
break; |
|||
} |
|||
|
|||
return SIM_MODEL::SetParamFromSpiceCode( aParamName, aParamValue, aNotation ); |
|||
} |
|||
|
|||
|
|||
std::vector<PARAM::INFO> SIM_MODEL_PASSIVE::makeParamInfos( wxString aName, |
|||
wxString aDescription, |
|||
wxString aUnit ) |
|||
{ |
|||
std::vector<PARAM::INFO> paramInfos; |
|||
PARAM::INFO paramInfo = {}; |
|||
|
|||
paramInfo.name = aName; |
|||
paramInfo.type = SIM_VALUE::TYPE::FLOAT; |
|||
paramInfo.unit = aUnit; |
|||
paramInfo.category = PARAM::CATEGORY::PRINCIPAL; |
|||
paramInfo.defaultValue = ""; |
|||
paramInfo.description = aDescription; |
|||
paramInfos.push_back( paramInfo ); |
|||
|
|||
paramInfo.name = "temp"; |
|||
paramInfo.type = SIM_VALUE::TYPE::FLOAT; |
|||
paramInfo.unit = "deg C"; |
|||
paramInfo.category = PARAM::CATEGORY::PRINCIPAL; |
|||
paramInfo.defaultValue = "27"; |
|||
paramInfo.description = "Temperature"; |
|||
paramInfos.push_back( paramInfo ); |
|||
|
|||
paramInfo.name = "tnom"; |
|||
paramInfo.type = SIM_VALUE::TYPE::FLOAT; |
|||
paramInfo.unit = "deg C"; |
|||
paramInfo.category = PARAM::CATEGORY::TEMPERATURE; |
|||
paramInfo.defaultValue = "27"; |
|||
paramInfo.description = "Nominal temperature"; |
|||
paramInfos.push_back( paramInfo ); |
|||
|
|||
paramInfo.name = "tc1"; |
|||
paramInfo.type = SIM_VALUE::TYPE::FLOAT; |
|||
paramInfo.unit = aUnit; |
|||
paramInfo.category = PARAM::CATEGORY::TEMPERATURE; |
|||
paramInfo.defaultValue = "0"; |
|||
paramInfo.description = "1st order temperature coefficient"; |
|||
paramInfos.push_back( paramInfo ); |
|||
|
|||
paramInfo.name = "tc2"; |
|||
paramInfo.type = SIM_VALUE::TYPE::FLOAT; |
|||
paramInfo.unit = aUnit; |
|||
paramInfo.category = PARAM::CATEGORY::TEMPERATURE; |
|||
paramInfo.defaultValue = "0"; |
|||
paramInfo.description = "2nd order temperature coefficient"; |
|||
paramInfos.push_back( paramInfo ); |
|||
|
|||
/*if( aName != "l" )
|
|||
{ |
|||
paramInfo.name = "bv_max"; |
|||
paramInfo.type = SIM_VALUE::TYPE::FLOAT; |
|||
paramInfo.unit = aUnit; |
|||
paramInfo.category = PARAM::CATEGORY::LIMITING_VALUES; |
|||
paramInfo.defaultValue = ""; |
|||
paramInfo.description = "Max. safe operating voltage"; |
|||
paramInfos.push_back( paramInfo ); |
|||
}*/ |
|||
|
|||
if( aName == "r" ) |
|||
{ |
|||
paramInfo.name = "noisy"; |
|||
paramInfo.type = SIM_VALUE::TYPE::BOOL; |
|||
paramInfo.unit = ""; |
|||
paramInfo.category = PARAM::CATEGORY::NOISE; |
|||
paramInfo.defaultValue = "True"; |
|||
paramInfo.description = "Enable thermal noise"; |
|||
paramInfos.push_back( paramInfo ); |
|||
} |
|||
|
|||
return paramInfos; |
|||
} |
|||
@ -0,0 +1,52 @@ |
|||
/* |
|||
* This program source code file is part of KiCad, a free EDA CAD application. |
|||
* |
|||
* Copyright (C) 2022 Mikolaj Wielgus |
|||
* Copyright (C) 2022 KiCad Developers, see AUTHORS.txt for contributors. |
|||
* |
|||
* This program is free software; you can redistribute it and/or |
|||
* modify it under the terms of the GNU General Public License |
|||
* as published by the Free Software Foundation; either version 3 |
|||
* of the License, or (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, you may find one here: |
|||
* https://www.gnu.org/licenses/gpl-3.0.html |
|||
* or you may search the http://www.gnu.org website for the version 3 license, |
|||
* or you may write to the Free Software Foundation, Inc., |
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|||
*/ |
|||
|
|||
#ifndef SIM_MODEL_PASSIVE_H |
|||
#define SIM_MODEL_PASSIVE_H |
|||
|
|||
#include <sim/sim_model.h> |
|||
|
|||
|
|||
class SIM_MODEL_PASSIVE : public SIM_MODEL |
|||
{ |
|||
public: |
|||
SIM_MODEL_PASSIVE( TYPE aType ); |
|||
|
|||
wxString GenerateSpiceItemLine( const wxString& aRefName, |
|||
const wxString& aModelName, |
|||
const std::vector<wxString>& aPinNetNames ) const override; |
|||
|
|||
bool SetParamFromSpiceCode( const wxString& aParamName, const wxString& aParamValue, |
|||
SIM_VALUE_GRAMMAR::NOTATION aNotation |
|||
= SIM_VALUE_GRAMMAR::NOTATION::SPICE ) override; |
|||
|
|||
private: |
|||
static std::vector<PARAM::INFO> makeParamInfos( wxString aName, wxString aDescription, |
|||
wxString aUnit ); |
|||
|
|||
std::vector<wxString> getPinNames() const override { return { "+", "-" }; } |
|||
}; |
|||
|
|||
|
|||
#endif // SIM_MODEL_PASSIVE_H |
|||
@ -0,0 +1,2 @@ |
|||
(kicad_pcb (version 20220308) (generator pcbnew) |
|||
) |
|||
@ -0,0 +1,331 @@ |
|||
{ |
|||
"board": { |
|||
"design_settings": { |
|||
"defaults": { |
|||
"board_outline_line_width": 0.1, |
|||
"copper_line_width": 0.2, |
|||
"copper_text_size_h": 1.5, |
|||
"copper_text_size_v": 1.5, |
|||
"copper_text_thickness": 0.3, |
|||
"other_line_width": 0.15, |
|||
"silk_line_width": 0.15, |
|||
"silk_text_size_h": 1.0, |
|||
"silk_text_size_v": 1.0, |
|||
"silk_text_thickness": 0.15 |
|||
}, |
|||
"diff_pair_dimensions": [], |
|||
"drc_exclusions": [], |
|||
"rules": { |
|||
"min_copper_edge_clearance": 0.0, |
|||
"solder_mask_clearance": 0.0, |
|||
"solder_mask_min_width": 0.0 |
|||
}, |
|||
"track_widths": [], |
|||
"via_dimensions": [] |
|||
}, |
|||
"layer_presets": [], |
|||
"viewports": [] |
|||
}, |
|||
"boards": [], |
|||
"cvpcb": { |
|||
"equivalence_files": [] |
|||
}, |
|||
"erc": { |
|||
"erc_exclusions": [], |
|||
"meta": { |
|||
"version": 0 |
|||
}, |
|||
"pin_map": [ |
|||
[ |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
2, |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
2, |
|||
2, |
|||
2, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
1, |
|||
0, |
|||
1, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
1, |
|||
1, |
|||
2, |
|||
1, |
|||
1, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
2 |
|||
], |
|||
[ |
|||
1, |
|||
1, |
|||
1, |
|||
1, |
|||
1, |
|||
0, |
|||
1, |
|||
1, |
|||
1, |
|||
1, |
|||
1, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
0, |
|||
0, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
2, |
|||
1, |
|||
2, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
2, |
|||
2, |
|||
2, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
2, |
|||
0, |
|||
1, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
2, |
|||
0, |
|||
0, |
|||
2 |
|||
], |
|||
[ |
|||
0, |
|||
2, |
|||
1, |
|||
1, |
|||
0, |
|||
0, |
|||
1, |
|||
0, |
|||
2, |
|||
0, |
|||
0, |
|||
2 |
|||
], |
|||
[ |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2, |
|||
2 |
|||
] |
|||
], |
|||
"rule_severities": { |
|||
"bus_definition_conflict": "error", |
|||
"bus_entry_needed": "error", |
|||
"bus_label_syntax": "error", |
|||
"bus_to_bus_conflict": "error", |
|||
"bus_to_net_conflict": "error", |
|||
"different_unit_footprint": "error", |
|||
"different_unit_net": "error", |
|||
"duplicate_reference": "error", |
|||
"duplicate_sheet_names": "error", |
|||
"extra_units": "error", |
|||
"global_label_dangling": "warning", |
|||
"hier_label_mismatch": "error", |
|||
"label_dangling": "error", |
|||
"lib_symbol_issues": "warning", |
|||
"multiple_net_names": "warning", |
|||
"net_not_bus_member": "warning", |
|||
"no_connect_connected": "warning", |
|||
"no_connect_dangling": "warning", |
|||
"pin_not_connected": "error", |
|||
"pin_not_driven": "error", |
|||
"pin_to_pin": "warning", |
|||
"power_pin_not_driven": "error", |
|||
"similar_labels": "warning", |
|||
"unannotated": "error", |
|||
"unit_value_mismatch": "error", |
|||
"unresolved_variable": "error", |
|||
"wire_dangling": "error" |
|||
} |
|||
}, |
|||
"libraries": { |
|||
"pinned_footprint_libs": [], |
|||
"pinned_symbol_libs": [] |
|||
}, |
|||
"meta": { |
|||
"filename": "passives.kicad_pro", |
|||
"version": 1 |
|||
}, |
|||
"net_settings": { |
|||
"classes": [ |
|||
{ |
|||
"bus_width": 12.0, |
|||
"clearance": 0.2, |
|||
"diff_pair_gap": 0.25, |
|||
"diff_pair_via_gap": 0.25, |
|||
"diff_pair_width": 0.2, |
|||
"line_style": 0, |
|||
"microvia_diameter": 0.3, |
|||
"microvia_drill": 0.1, |
|||
"name": "Default", |
|||
"pcb_color": "rgba(0, 0, 0, 0.000)", |
|||
"schematic_color": "rgba(0, 0, 0, 0.000)", |
|||
"track_width": 0.25, |
|||
"via_diameter": 0.8, |
|||
"via_drill": 0.4, |
|||
"wire_width": 6.0 |
|||
} |
|||
], |
|||
"meta": { |
|||
"version": 2 |
|||
}, |
|||
"net_colors": null |
|||
}, |
|||
"pcbnew": { |
|||
"last_paths": { |
|||
"gencad": "", |
|||
"idf": "", |
|||
"netlist": "", |
|||
"specctra_dsn": "", |
|||
"step": "", |
|||
"vrml": "" |
|||
}, |
|||
"page_layout_descr_file": "" |
|||
}, |
|||
"schematic": { |
|||
"annotate_start_num": 0, |
|||
"drawing": { |
|||
"dashed_lines_dash_length_ratio": 12.0, |
|||
"dashed_lines_gap_length_ratio": 3.0, |
|||
"default_line_thickness": 6.0, |
|||
"default_text_size": 50.0, |
|||
"field_names": [], |
|||
"intersheets_ref_own_page": false, |
|||
"intersheets_ref_prefix": "", |
|||
"intersheets_ref_short": false, |
|||
"intersheets_ref_show": false, |
|||
"intersheets_ref_suffix": "", |
|||
"junction_size_choice": 3, |
|||
"label_size_ratio": 0.375, |
|||
"pin_symbol_size": 25.0, |
|||
"text_offset_ratio": 0.15 |
|||
}, |
|||
"legacy_lib_dir": "", |
|||
"legacy_lib_list": [], |
|||
"meta": { |
|||
"version": 1 |
|||
}, |
|||
"net_format_name": "", |
|||
"ngspice": { |
|||
"fix_include_paths": true, |
|||
"fix_passive_vals": false, |
|||
"meta": { |
|||
"version": 0 |
|||
}, |
|||
"model_mode": 0, |
|||
"workbook_filename": "" |
|||
}, |
|||
"page_layout_descr_file": "", |
|||
"plot_directory": "", |
|||
"spice_adjust_passive_values": false, |
|||
"spice_external_command": "spice \"%I\"", |
|||
"spice_save_all_currents": false, |
|||
"spice_save_all_voltages": false, |
|||
"subpart_first_id": 65, |
|||
"subpart_id_separator": 0 |
|||
}, |
|||
"sheets": [ |
|||
[ |
|||
"24a3b022-7ece-4686-93db-0efadfbf9409", |
|||
"" |
|||
] |
|||
], |
|||
"text_variables": {} |
|||
} |
|||
@ -0,0 +1,681 @@ |
|||
(kicad_sch (version 20220331) (generator eeschema) |
|||
|
|||
(uuid 24a3b022-7ece-4686-93db-0efadfbf9409) |
|||
|
|||
(paper "A4") |
|||
|
|||
(lib_symbols |
|||
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes) |
|||
(property "Reference" "C" (id 0) (at 0.635 2.54 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Value" "C" (id 1) (at 0.635 -2.54 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 0.9652 -3.81 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_keywords" "cap capacitor" (id 4) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_description" "Unpolarized capacitor" (id 5) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_fp_filters" "C_*" (id 6) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(symbol "C_0_1" |
|||
(polyline |
|||
(pts |
|||
(xy -2.032 -0.762) |
|||
(xy 2.032 -0.762) |
|||
) |
|||
(stroke (width 0.508) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(polyline |
|||
(pts |
|||
(xy -2.032 0.762) |
|||
(xy 2.032 0.762) |
|||
) |
|||
(stroke (width 0.508) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
) |
|||
(symbol "C_1_1" |
|||
(pin passive line (at 0 3.81 270) (length 2.794) |
|||
(name "~" (effects (font (size 1.27 1.27)))) |
|||
(number "1" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
(pin passive line (at 0 -3.81 90) (length 2.794) |
|||
(name "~" (effects (font (size 1.27 1.27)))) |
|||
(number "2" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
) |
|||
) |
|||
(symbol "Device:L" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) |
|||
(property "Reference" "L" (id 0) (at -1.27 0 90) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Value" "L" (id 1) (at 1.905 0 90) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_keywords" "inductor choke coil reactor magnetic" (id 4) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_description" "Inductor" (id 5) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_fp_filters" "Choke_* *Coil* Inductor_* L_*" (id 6) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(symbol "L_0_1" |
|||
(arc (start 0 -2.54) (mid 0.635 -1.905) (end 0 -1.27) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(arc (start 0 -1.27) (mid 0.635 -0.635) (end 0 0) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(arc (start 0 0) (mid 0.635 0.635) (end 0 1.27) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(arc (start 0 1.27) (mid 0.635 1.905) (end 0 2.54) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
) |
|||
(symbol "L_1_1" |
|||
(pin passive line (at 0 3.81 270) (length 1.27) |
|||
(name "1" (effects (font (size 1.27 1.27)))) |
|||
(number "1" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
(pin passive line (at 0 -3.81 90) (length 1.27) |
|||
(name "2" (effects (font (size 1.27 1.27)))) |
|||
(number "2" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
) |
|||
) |
|||
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes) |
|||
(property "Reference" "R" (id 0) (at 2.032 0 90) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Value" "R" (id 1) (at 0 0 90) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at -1.778 0 90) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_keywords" "R res resistor" (id 4) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_description" "Resistor" (id 5) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_fp_filters" "R_*" (id 6) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(symbol "R_0_1" |
|||
(rectangle (start -1.016 -2.54) (end 1.016 2.54) |
|||
(stroke (width 0.254) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
) |
|||
(symbol "R_1_1" |
|||
(pin passive line (at 0 3.81 270) (length 1.27) |
|||
(name "~" (effects (font (size 1.27 1.27)))) |
|||
(number "1" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
(pin passive line (at 0 -3.81 90) (length 1.27) |
|||
(name "~" (effects (font (size 1.27 1.27)))) |
|||
(number "2" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
) |
|||
) |
|||
(symbol "Simulation_SPICE:VDC" (pin_numbers hide) (pin_names (offset 0.0254)) (in_bom yes) (on_board yes) |
|||
(property "Reference" "V" (id 0) (at 2.54 2.54 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Value" "VDC" (id 1) (at 2.54 0 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Spice_Netlist_Enabled" "Y" (id 4) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) (justify left) hide) |
|||
) |
|||
(property "Spice_Primitive" "V" (id 5) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) (justify left) hide) |
|||
) |
|||
(property "Spice_Model" "dc(1)" (id 6) (at 2.54 -2.54 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "ki_keywords" "simulation" (id 7) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_description" "Voltage source, DC" (id 8) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(symbol "VDC_0_0" |
|||
(polyline |
|||
(pts |
|||
(xy -1.27 0.254) |
|||
(xy 1.27 0.254) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(polyline |
|||
(pts |
|||
(xy -0.762 -0.254) |
|||
(xy -1.27 -0.254) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(polyline |
|||
(pts |
|||
(xy 0.254 -0.254) |
|||
(xy -0.254 -0.254) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(polyline |
|||
(pts |
|||
(xy 1.27 -0.254) |
|||
(xy 0.762 -0.254) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(text "+" (at 0 1.905 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
) |
|||
(symbol "VDC_0_1" |
|||
(circle (center 0 0) (radius 2.54) |
|||
(stroke (width 0.254) (type default)) |
|||
(fill (type background)) |
|||
) |
|||
) |
|||
(symbol "VDC_1_1" |
|||
(pin passive line (at 0 5.08 270) (length 2.54) |
|||
(name "~" (effects (font (size 1.27 1.27)))) |
|||
(number "1" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
(pin passive line (at 0 -5.08 90) (length 2.54) |
|||
(name "~" (effects (font (size 1.27 1.27)))) |
|||
(number "2" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
) |
|||
) |
|||
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) |
|||
(property "Reference" "#PWR" (id 0) (at 0 -6.35 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "GND" (id 1) (at 0 -3.81 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(symbol "GND_0_1" |
|||
(polyline |
|||
(pts |
|||
(xy 0 0) |
|||
(xy 0 -1.27) |
|||
(xy 1.27 -1.27) |
|||
(xy 0 -2.54) |
|||
(xy -1.27 -1.27) |
|||
(xy 0 -1.27) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
) |
|||
(symbol "GND_1_1" |
|||
(pin power_in line (at 0 0 270) (length 0) hide |
|||
(name "GND" (effects (font (size 1.27 1.27)))) |
|||
(number "1" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
) |
|||
) |
|||
(symbol "power:VCC" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) |
|||
(property "Reference" "#PWR" (id 0) (at 0 -3.81 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "VCC" (id 1) (at 0 3.81 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "ki_description" "Power symbol creates a global label with name \"VCC\"" (id 5) (at 0 0 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(symbol "VCC_0_1" |
|||
(polyline |
|||
(pts |
|||
(xy -0.762 1.27) |
|||
(xy 0 2.54) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(polyline |
|||
(pts |
|||
(xy 0 0) |
|||
(xy 0 2.54) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
(polyline |
|||
(pts |
|||
(xy 0 2.54) |
|||
(xy 0.762 1.27) |
|||
) |
|||
(stroke (width 0) (type default)) |
|||
(fill (type none)) |
|||
) |
|||
) |
|||
(symbol "VCC_1_1" |
|||
(pin power_in line (at 0 0 90) (length 0) hide |
|||
(name "VCC" (effects (font (size 1.27 1.27)))) |
|||
(number "1" (effects (font (size 1.27 1.27)))) |
|||
) |
|||
) |
|||
) |
|||
) |
|||
|
|||
(junction (at 190.5 114.2622) (diameter 0) (color 0 0 0 0) |
|||
(uuid eafda027-8fd2-40c0-b082-f15f04050481) |
|||
) |
|||
|
|||
(wire (pts (xy 190.5 101.6) (xy 190.5 104.14)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid 03e5d1ef-95c5-418e-822d-d942eb7eea5f) |
|||
) |
|||
(wire (pts (xy 165.1 101.6) (xy 165.1 104.14)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid 215ca15f-8dc1-4558-b14d-ce81bdd98add) |
|||
) |
|||
(wire (pts (xy 190.5 114.2622) (xy 190.5 114.3)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid 35f870a7-448a-4ca6-9dc9-3095aaefc3f9) |
|||
) |
|||
(wire (pts (xy 165.1 111.76) (xy 165.1 114.3)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid 8c444764-4ee8-4e6a-b678-fea30fbd1bdb) |
|||
) |
|||
(wire (pts (xy 139.7 111.76) (xy 139.7 114.3)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid a5287d05-b271-47b7-b485-2abae8ee6bda) |
|||
) |
|||
(wire (pts (xy 139.7 101.6) (xy 139.7 104.14)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid af29e35f-ad8e-42ad-92d8-dab3c77b10f7) |
|||
) |
|||
(wire (pts (xy 114.3 101.6) (xy 114.3 102.87)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid c8381c0e-870a-4b60-a370-665e41cc0a82) |
|||
) |
|||
(wire (pts (xy 190.5 111.76) (xy 190.5 114.2622)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid c96a0874-8a88-41d8-8fc9-4f44b9a77308) |
|||
) |
|||
(wire (pts (xy 114.3 113.03) (xy 114.3 114.3)) |
|||
(stroke (width 0) (type default)) |
|||
(uuid e4efd56a-f328-4d4d-b131-d2bd4285571c) |
|||
) |
|||
|
|||
(text ".dc TEMP -40 125 1" (at 114.3 127 0) |
|||
(effects (font (size 1.27 1.27)) (justify left bottom)) |
|||
(uuid 7375d298-3734-4861-a3c5-951d900d6e42) |
|||
) |
|||
|
|||
(symbol (lib_id "power:VCC") (at 139.7 101.6 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 0b5a77ca-f3ff-42b7-8572-0eefa9011bf1) |
|||
(property "Reference" "#PWR?" (id 0) (at 139.7 105.41 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "VCC" (id 1) (at 139.7 97.79 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 139.7 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 139.7 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 80684c7b-5b8f-4fa5-a22a-6c3e25ecf03a)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:VCC") (at 190.5 101.6 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 2f62470a-49dd-4c2d-89e9-a2acc60c442d) |
|||
(property "Reference" "#PWR?" (id 0) (at 190.5 105.41 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "VCC" (id 1) (at 190.5 97.79 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 190.5 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 190.5 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid d3b8058c-41bf-4fda-9fb7-d5dd8c40209d)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:GND") (at 165.1 114.3 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 438ece8c-3eb3-4d7e-9271-8a8e8aeb6d3c) |
|||
(property "Reference" "#PWR?" (id 0) (at 165.1 120.65 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "GND" (id 1) (at 165.1 119.38 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 165.1 114.3 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 165.1 114.3 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid d4f9c990-709a-4cab-83e6-f03cac3e330c)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:VCC") (at 165.1 101.6 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 613737e0-8030-4980-b87e-8290b8a61eaf) |
|||
(property "Reference" "#PWR?" (id 0) (at 165.1 105.41 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "VCC" (id 1) (at 165.1 97.79 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 165.1 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 165.1 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 4e31b1ca-d4bc-4891-b37e-bc167f16d091)) |
|||
) |
|||
|
|||
(symbol (lib_id "Device:C") (at 165.1 107.95 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 6566e118-05df-4951-a19e-df5ca72becf1) |
|||
(property "Reference" "C1" (id 0) (at 168.91 107.315 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Value" "100u" (id 1) (at 168.91 109.855 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 166.0652 111.76 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 165.1 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Name" "AVX_12066D107MAT4A" (id 4) (at 165.1 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Library" "passives.lib" (id 5) (at 165.1 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Device" "C" (id 6) (at 165.1 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Type" "ADV" (id 7) (at 165.1 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid b036b9d3-38c0-48ea-9a7e-5c57025637b1)) |
|||
(pin "2" (uuid 35151b75-27a9-4e4d-b0b5-cdabe4516193)) |
|||
) |
|||
|
|||
(symbol (lib_id "Device:L") (at 190.5 107.95 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 65be26d9-e694-445c-9a01-797abd973f29) |
|||
(property "Reference" "L1" (id 0) (at 191.77 107.315 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Value" "220n" (id 1) (at 191.77 109.855 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 190.5 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 190.5 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Name" "AVX_0603WL221GT" (id 4) (at 190.5 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Library" "passives.lib" (id 5) (at 190.5 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Device" "L" (id 6) (at 190.5 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Type" "ADV" (id 7) (at 190.5 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 31abb371-b97b-4c10-a4b3-748d55802214)) |
|||
(pin "2" (uuid c9d49533-c142-4cb7-8d54-6a6d51b458e7)) |
|||
) |
|||
|
|||
(symbol (lib_id "Device:R") (at 139.7 107.95 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 698024ab-bd78-4be5-8cb1-c09eef71c67f) |
|||
(property "Reference" "R1" (id 0) (at 142.24 107.315 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Value" "10M" (id 1) (at 142.24 109.855 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 137.922 107.95 90) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 139.7 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Name" "VISHAY_CRCW060310M0FKTABC" (id 4) (at 139.7 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Library" "passives.lib" (id 5) (at 139.7 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Device" "R" (id 6) (at 139.7 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Type" "ADV" (id 7) (at 139.7 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 9258bd9f-6e64-48cb-b10a-9f0ab959f571)) |
|||
(pin "2" (uuid f024f933-67b5-408d-9af7-d6ece6042782)) |
|||
) |
|||
|
|||
(symbol (lib_id "Simulation_SPICE:VDC") (at 114.3 107.95 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid 83608f1c-11c0-46f8-ae54-fcb488541f6a) |
|||
(property "Reference" "VDC" (id 0) (at 118.11 106.045 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Value" "1" (id 1) (at 118.11 108.585 0) |
|||
(effects (font (size 1.27 1.27)) (justify left)) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 114.3 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "~" (id 3) (at 114.3 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Device" "V" (id 7) (at 114.3 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Pins" "1 2" (id 8) (at 114.3 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Params" "dc=1" (id 9) (at 114.3 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Model_Type" "DC" (id 10) (at 114.3 107.95 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid de407df0-899c-4dfc-8493-f9d50583d17a)) |
|||
(pin "2" (uuid 77371cba-8f4b-45a2-91a6-f825ae3f9546)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:GND") (at 190.5 114.2622 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid aa1c725b-e908-4ffe-a8e1-dbe74874ec0b) |
|||
(property "Reference" "#PWR?" (id 0) (at 190.5 120.6122 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "GND" (id 1) (at 190.5 119.3422 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 190.5 114.2622 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 190.5 114.2622 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 08083956-7f80-48fc-a073-d7e31be1dea5)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:VCC") (at 114.3 101.6 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid b60fd0ca-97bd-4e20-9a27-3046f059d2b9) |
|||
(property "Reference" "#PWR?" (id 0) (at 114.3 105.41 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "VCC" (id 1) (at 114.3 97.79 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 114.3 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 114.3 101.6 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 03c6ace1-caf1-4775-b684-3e857b918919)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:GND") (at 114.3 114.3 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid cae1a2a0-561b-4729-802f-81c375ac4c1e) |
|||
(property "Reference" "#PWR?" (id 0) (at 114.3 120.65 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "GND" (id 1) (at 114.3 119.38 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 114.3 114.3 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 114.3 114.3 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid b4bef1f0-ad5b-4c59-87c6-a3d88d776adf)) |
|||
) |
|||
|
|||
(symbol (lib_id "power:GND") (at 139.7 114.3 0) (unit 1) |
|||
(in_bom yes) (on_board yes) (fields_autoplaced) |
|||
(uuid d829b2e0-05c9-40a0-815e-35a8d1f6cecd) |
|||
(property "Reference" "#PWR?" (id 0) (at 139.7 120.65 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Value" "GND" (id 1) (at 139.7 119.38 0) |
|||
(effects (font (size 1.27 1.27))) |
|||
) |
|||
(property "Footprint" "" (id 2) (at 139.7 114.3 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(property "Datasheet" "" (id 3) (at 139.7 114.3 0) |
|||
(effects (font (size 1.27 1.27)) hide) |
|||
) |
|||
(pin "1" (uuid 924cf866-e3b9-4af1-895c-792ddd27e24d)) |
|||
) |
|||
|
|||
(sheet_instances |
|||
(path "/" (page "1")) |
|||
) |
|||
|
|||
(symbol_instances |
|||
(path "/0b5a77ca-f3ff-42b7-8572-0eefa9011bf1" |
|||
(reference "#PWR?") (unit 1) (value "VCC") (footprint "") |
|||
) |
|||
(path "/2f62470a-49dd-4c2d-89e9-a2acc60c442d" |
|||
(reference "#PWR?") (unit 1) (value "VCC") (footprint "") |
|||
) |
|||
(path "/438ece8c-3eb3-4d7e-9271-8a8e8aeb6d3c" |
|||
(reference "#PWR?") (unit 1) (value "GND") (footprint "") |
|||
) |
|||
(path "/613737e0-8030-4980-b87e-8290b8a61eaf" |
|||
(reference "#PWR?") (unit 1) (value "VCC") (footprint "") |
|||
) |
|||
(path "/aa1c725b-e908-4ffe-a8e1-dbe74874ec0b" |
|||
(reference "#PWR?") (unit 1) (value "GND") (footprint "") |
|||
) |
|||
(path "/b60fd0ca-97bd-4e20-9a27-3046f059d2b9" |
|||
(reference "#PWR?") (unit 1) (value "VCC") (footprint "") |
|||
) |
|||
(path "/cae1a2a0-561b-4729-802f-81c375ac4c1e" |
|||
(reference "#PWR?") (unit 1) (value "GND") (footprint "") |
|||
) |
|||
(path "/d829b2e0-05c9-40a0-815e-35a8d1f6cecd" |
|||
(reference "#PWR?") (unit 1) (value "GND") (footprint "") |
|||
) |
|||
(path "/6566e118-05df-4951-a19e-df5ca72becf1" |
|||
(reference "C1") (unit 1) (value "100u") (footprint "") |
|||
) |
|||
(path "/65be26d9-e694-445c-9a01-797abd973f29" |
|||
(reference "L1") (unit 1) (value "220n") (footprint "") |
|||
) |
|||
(path "/698024ab-bd78-4be5-8cb1-c09eef71c67f" |
|||
(reference "R1") (unit 1) (value "10M") (footprint "") |
|||
) |
|||
(path "/83608f1c-11c0-46f8-ae54-fcb488541f6a" |
|||
(reference "VDC") (unit 1) (value "1") (footprint "") |
|||
) |
|||
) |
|||
) |
|||
@ -0,0 +1,11 @@ |
|||
* |
|||
* Resistors |
|||
.model PT100 R(R=100 Tnom=0 tc1=3.85m noisy=0) |
|||
.model VISHAY_CRCW060310M0FKTABC R(R=10Meg Tnom=20 tc1=100u) ; bv_max=75 - idk if we should include that |
|||
|
|||
* Capacitors |
|||
.model AVX_12066D107MAT4A C(C=100u Tnom=15 tc1=21.4u) |
|||
|
|||
* Inductors |
|||
.model AVX_0603WL221GT L(ind=220n Tnom=20 tc1=125u) |
|||
|
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue