diff --git a/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_pcb b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_pcb new file mode 100644 index 0000000000..8a7876a749 --- /dev/null +++ b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_pcb @@ -0,0 +1,2 @@ +(kicad_pcb (version 20220818) (generator pcbnew) +) \ No newline at end of file diff --git a/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_pro b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_pro new file mode 100644 index 0000000000..7ee745e6bc --- /dev/null +++ b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_pro @@ -0,0 +1,334 @@ +{ + "board": { + "3dviewports": [], + "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": "fliege_filter.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": 3 + }, + "net_colors": null, + "netclass_assignments": null, + "netclass_patterns": [] + }, + "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": [ + [ + "1bb7f68e-09b1-4448-8403-97b70f8d3680", + "" + ] + ], + "text_variables": {} +} diff --git a/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_sch b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_sch new file mode 100644 index 0000000000..ceeed66d63 --- /dev/null +++ b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_sch @@ -0,0 +1,1005 @@ +(kicad_sch (version 20220820) (generator eeschema) + + (uuid 1bb7f68e-09b1-4448-8403-97b70f8d3680) + + (paper "A4") + + (lib_symbols + (symbol "Amplifier_Operational:LM358" (pin_names (offset 0.127)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 5.08 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "LM358" (id 1) (at 0 -5.08 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" "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "dual opamp" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "LM358_1_1" + (polyline + (pts + (xy -5.08 5.08) + (xy 5.08 0) + (xy -5.08 -5.08) + (xy -5.08 5.08) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin output line (at 7.62 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "LM358_2_1" + (polyline + (pts + (xy -5.08 5.08) + (xy 5.08 0) + (xy -5.08 -5.08) + (xy -5.08 5.08) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "LM358_3_1" + (pin power_in line (at -2.54 -7.62 90) (length 3.81) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at -2.54 7.62 270) (length 3.81) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (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: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 "Simulation_SPICE:VSIN" (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" "VSIN" (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" "sin(0 1 1k)" (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, sinusoidal" (id 8) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "VSIN_0_0" + (arc (start 0 0) (mid -0.635 0.635) (end -1.27 0) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (arc (start 0 0) (mid 0.635 -0.635) (end 1.27 0) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (text "+" (at 0 1.905 0) + (effects (font (size 1.27 1.27))) + ) + ) + (symbol "VSIN_0_1" + (circle (center 0 0) (radius 2.54) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + ) + (symbol "VSIN_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)))) + ) + ) + ) + ) + + (junction (at 196.85 91.44) (diameter 0) (color 0 0 0 0) + (uuid 080466a8-2b6e-4731-acda-1fadc288005d) + ) + (junction (at 158.75 101.6) (diameter 0) (color 0 0 0 0) + (uuid 19db5023-8a0b-403e-9a68-0a4560dae79b) + ) + (junction (at 196.85 120.65) (diameter 0) (color 0 0 0 0) + (uuid 31a8cd39-d498-41a8-a7de-2caac1e12a5a) + ) + (junction (at 196.85 101.6) (diameter 0) (color 0 0 0 0) + (uuid 42254e74-b577-460a-a13c-3a763fe4e706) + ) + (junction (at 158.75 88.9) (diameter 0) (color 0 0 0 0) + (uuid 8cd86a5c-7555-4a0a-b919-ad6efe55fa24) + ) + (junction (at 139.7 101.6) (diameter 0) (color 0 0 0 0) + (uuid 8dcb9c69-be28-4d0e-a448-d61de1fc5938) + ) + (junction (at 177.8 101.6) (diameter 0) (color 0 0 0 0) + (uuid a73e3f0e-ed44-4e3a-9746-ef83d265bf9c) + ) + (junction (at 152.4 88.9) (diameter 0) (color 0 0 0 0) + (uuid d0bc1c7a-60be-4781-a712-eaca9f324757) + ) + (junction (at 152.4 101.6) (diameter 0) (color 0 0 0 0) + (uuid d1797249-03a3-4019-bdaf-036c7aad4518) + ) + (junction (at 139.7 88.9) (diameter 0) (color 0 0 0 0) + (uuid e58eb144-2e8a-4bf6-8dad-a4700fb9ae8f) + ) + (junction (at 114.3 127) (diameter 0) (color 0 0 0 0) + (uuid fbe146e9-bba2-43a7-beec-73ef9f809f2c) + ) + + (wire (pts (xy 158.75 118.11) (xy 158.75 101.6)) + (stroke (width 0) (type default)) + (uuid 00738f8e-35a5-4a99-a157-dae374485f01) + ) + (wire (pts (xy 196.85 139.7) (xy 139.7 139.7)) + (stroke (width 0) (type default)) + (uuid 016a2784-fbeb-473e-9a6a-c73e4e87c153) + ) + (wire (pts (xy 167.64 101.6) (xy 158.75 101.6)) + (stroke (width 0) (type default)) + (uuid 17b420aa-01cf-4ddb-8c1e-91683be3459f) + ) + (wire (pts (xy 162.56 118.11) (xy 158.75 118.11)) + (stroke (width 0) (type default)) + (uuid 1af365ce-42bc-4369-9284-67a5493fde28) + ) + (wire (pts (xy 139.7 139.7) (xy 139.7 101.6)) + (stroke (width 0) (type default)) + (uuid 2537f553-874e-464b-a506-452ddba61455) + ) + (wire (pts (xy 139.7 101.6) (xy 139.7 88.9)) + (stroke (width 0) (type default)) + (uuid 32333cae-6755-471c-aa16-6b8dfb1acf0d) + ) + (wire (pts (xy 114.3 127) (xy 114.3 128.27)) + (stroke (width 0) (type default)) + (uuid 32f273f9-d82f-47d0-87f8-e9ff5c8db830) + ) + (wire (pts (xy 158.75 88.9) (xy 177.8 88.9)) + (stroke (width 0) (type default)) + (uuid 3f709bf1-7156-4e11-9008-eaa442c050b2) + ) + (wire (pts (xy 152.4 88.9) (xy 158.75 88.9)) + (stroke (width 0) (type default)) + (uuid 4e3558bf-fc63-45ec-8074-618cdcf95d49) + ) + (wire (pts (xy 114.3 88.9) (xy 139.7 88.9)) + (stroke (width 0) (type default)) + (uuid 5490b38b-f125-48d6-b5e1-e1fad031ffbd) + ) + (wire (pts (xy 114.3 139.7) (xy 114.3 138.43)) + (stroke (width 0) (type default)) + (uuid 56f9b8e8-80c8-459b-b88c-308202417908) + ) + (wire (pts (xy 149.86 101.6) (xy 152.4 101.6)) + (stroke (width 0) (type default)) + (uuid 63d4fba3-1a53-4689-bc2f-95bf92abbb66) + ) + (wire (pts (xy 114.3 125.73) (xy 114.3 127)) + (stroke (width 0) (type default)) + (uuid 6d517c61-e085-47f5-8bd1-58fc4f4f8138) + ) + (wire (pts (xy 177.8 101.6) (xy 175.26 101.6)) + (stroke (width 0) (type default)) + (uuid 76013af2-5421-4782-be44-9b1f1afb44b4) + ) + (wire (pts (xy 196.85 137.16) (xy 196.85 139.7)) + (stroke (width 0) (type default)) + (uuid 7bc0919d-469d-4609-bf7a-ef806419abc1) + ) + (wire (pts (xy 114.3 114.3) (xy 127 114.3)) + (stroke (width 0) (type default)) + (uuid 7e358a59-5bf9-4a0a-b875-9e9f7ce99a56) + ) + (wire (pts (xy 114.3 115.57) (xy 114.3 114.3)) + (stroke (width 0) (type default)) + (uuid 85016c6e-14ea-4056-863c-b679a97822bb) + ) + (wire (pts (xy 149.86 88.9) (xy 152.4 88.9)) + (stroke (width 0) (type default)) + (uuid 896fff07-1b0a-4511-85b9-f5aacb45b1fe) + ) + (wire (pts (xy 142.24 101.6) (xy 139.7 101.6)) + (stroke (width 0) (type default)) + (uuid 8d7f8989-9f65-493d-bdcb-0bd02a8459d6) + ) + (wire (pts (xy 196.85 101.6) (xy 196.85 91.44)) + (stroke (width 0) (type default)) + (uuid 960c7add-b922-405f-80ff-7753b5414de0) + ) + (wire (pts (xy 196.85 120.65) (xy 196.85 129.54)) + (stroke (width 0) (type default)) + (uuid 96a5a1cd-eb13-4c35-9d3a-3c8cb03a31e7) + ) + (wire (pts (xy 152.4 101.6) (xy 152.4 88.9)) + (stroke (width 0) (type default)) + (uuid 9b691bae-b477-4602-98ce-54020634e0d2) + ) + (wire (pts (xy 196.85 111.76) (xy 196.85 120.65)) + (stroke (width 0) (type default)) + (uuid 9c8724b4-3120-43b7-8065-8b88018a79a2) + ) + (wire (pts (xy 177.8 101.6) (xy 177.8 93.98)) + (stroke (width 0) (type default)) + (uuid 9f051ed8-08e4-4b24-8ada-f285400e14e3) + ) + (wire (pts (xy 177.8 115.57) (xy 177.8 101.6)) + (stroke (width 0) (type default)) + (uuid aa548a6e-a6e5-4520-a51a-33350c68b8b1) + ) + (wire (pts (xy 152.4 101.6) (xy 152.4 104.14)) + (stroke (width 0) (type default)) + (uuid b66ef834-090c-4222-9206-ecd27687cd03) + ) + (wire (pts (xy 196.85 91.44) (xy 203.2 91.44)) + (stroke (width 0) (type default)) + (uuid c38afeb5-04e6-44c1-852c-a3b39d975bb2) + ) + (wire (pts (xy 158.75 91.44) (xy 158.75 88.9)) + (stroke (width 0) (type default)) + (uuid c867d611-eaf6-40e7-b1a6-ddf96912d105) + ) + (wire (pts (xy 114.3 90.17) (xy 114.3 88.9)) + (stroke (width 0) (type default)) + (uuid cb556b15-f116-4789-b943-ef4a2ed92482) + ) + (wire (pts (xy 139.7 88.9) (xy 142.24 88.9)) + (stroke (width 0) (type default)) + (uuid d64b6a1f-ea0c-42e2-9566-c613f37bef1e) + ) + (wire (pts (xy 113.03 127) (xy 114.3 127)) + (stroke (width 0) (type default)) + (uuid d93974d7-798b-40f6-85b5-9775fe1cdd2d) + ) + (wire (pts (xy 196.85 104.14) (xy 196.85 101.6)) + (stroke (width 0) (type default)) + (uuid e16d7343-515c-44b3-b5a3-07739fe2ef9f) + ) + (wire (pts (xy 127 114.3) (xy 127 119.38)) + (stroke (width 0) (type default)) + (uuid ebfcd534-0c9e-47f6-918d-49e05e410dcd) + ) + (wire (pts (xy 127 139.7) (xy 114.3 139.7)) + (stroke (width 0) (type default)) + (uuid ed29747f-2d3c-49c4-896c-fd41c72f03ce) + ) + (wire (pts (xy 158.75 101.6) (xy 158.75 99.06)) + (stroke (width 0) (type default)) + (uuid ef9d21b8-15b5-461c-9c38-463eab4dda8e) + ) + (wire (pts (xy 177.8 120.65) (xy 196.85 120.65)) + (stroke (width 0) (type default)) + (uuid f23ef421-5680-41b2-af34-d1ed61d67699) + ) + (wire (pts (xy 187.96 101.6) (xy 196.85 101.6)) + (stroke (width 0) (type default)) + (uuid f3d25fd6-9a75-4202-82df-9348977ad0e5) + ) + (wire (pts (xy 196.85 91.44) (xy 193.04 91.44)) + (stroke (width 0) (type default)) + (uuid f9589ccf-7be4-467a-b7a5-3d7df30a34fe) + ) + (wire (pts (xy 127 134.62) (xy 127 139.7)) + (stroke (width 0) (type default)) + (uuid fc0195cf-f58c-4a52-be4d-8cb7e968bbeb) + ) + (wire (pts (xy 177.8 101.6) (xy 180.34 101.6)) + (stroke (width 0) (type default)) + (uuid fc0fbb0c-6c18-4763-aa53-63bd0fe0f39b) + ) + + (text ".ac oct 10000 500 2k" (at 88.9 139.7 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 39be915e-60a8-490f-bf5e-fac8c4f56539) + ) + + (label "in" (at 114.3 88.9 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 1b822112-ddc6-4f05-bec2-86149eac0259) + ) + (label "out" (at 203.2 91.44 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 70e292cd-d259-455c-b0cc-9821f699c572) + ) + + (symbol (lib_id "Amplifier_Operational:LM358") (at 170.18 118.11 180) (unit 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 1f9535b1-6668-419a-8162-68da61e10385) + (default_instance (reference "U1") (unit 2) (value "LM358") (footprint "")) + (property "Reference" "U1" (id 0) (at 170.18 109.22 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "LM358" (id 1) (at 170.18 111.76 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 170.18 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" (id 3) (at 170.18 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Name" "uopamp_lvl2_2x" (id 4) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Library" "uopamp.lib.spice" (id 5) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Device" "SUBCKT" (id 6) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Pins" "8 4 3 2 1 5 6 7" (id 7) (at 154.94 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "5" (uuid 27f8c948-353a-4e62-b0f4-6e9d2caf36b6)) + (pin "6" (uuid 1da44f03-c3bc-46fb-8565-760c3d3847b8)) + (pin "7" (uuid 3f62936b-f8db-42c6-bf32-9967c0bb59ed)) + ) + + (symbol (lib_id "power:GND") (at 113.03 127 270) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 32efad03-1f41-49f9-b4ea-1c10d6f8b290) + (default_instance (reference "#PWR?") (unit 1) (value "GND") (footprint "")) + (property "Reference" "#PWR?" (id 0) (at 106.68 127 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 109.22 127.635 90) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Footprint" "" (id 2) (at 113.03 127 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 113.03 127 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b8698b4b-789d-433e-9e3d-58855afeb989)) + ) + + (symbol (lib_id "Device:R") (at 146.05 101.6 90) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 40ae5997-e7ff-4435-9011-995b9329a072) + (default_instance (reference "R1") (unit 1) (value "R") (footprint "")) + (property "Reference" "R1" (id 0) (at 146.05 96.52 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "R" (id 1) (at 146.05 99.06 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 146.05 103.378 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 146.05 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 40f49b82-6de7-4c0a-9ce9-c928e90dcee8)) + (pin "2" (uuid 927de06d-c030-4513-ae73-2a546edceb92)) + ) + + (symbol (lib_id "power:GND") (at 114.3 100.33 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 417cb032-b0dd-48f9-ba4c-b3e4ab34caa0) + (default_instance (reference "#PWR?") (unit 1) (value "GND") (footprint "")) + (property "Reference" "#PWR?" (id 0) (at 114.3 106.68 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 114.3 105.41 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 114.3 100.33 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 114.3 100.33 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 5574af62-a1d4-48a1-8d60-098f735cbc13)) + ) + + (symbol (lib_id "power:GND") (at 152.4 111.76 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 4a5a1b77-1f24-4735-af02-661a95efa347) + (default_instance (reference "#PWR?") (unit 1) (value "GND") (footprint "")) + (property "Reference" "#PWR?" (id 0) (at 152.4 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 152.4 116.84 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 152.4 111.76 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 152.4 111.76 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 285f130f-c9a9-447d-91e9-c9eb4bad4b7a)) + ) + + (symbol (lib_id "Device:R") (at 196.85 133.35 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 4e83ce78-5afa-4877-a190-a11a77e2315b) + (default_instance (reference "R1") (unit 1) (value "R") (footprint "")) + (property "Reference" "R1" (id 0) (at 199.39 132.715 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "R" (id 1) (at 199.39 135.255 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 195.072 133.35 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 196.85 133.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 083905bc-5d2a-4620-b997-d57f2d5bc810)) + (pin "2" (uuid 985c8f1c-8267-45f9-9760-47c9aa413bce)) + ) + + (symbol (lib_id "Simulation_SPICE:VDC") (at 114.3 133.35 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 7156d318-64c1-44a4-9222-3a9a47aa2372) + (default_instance (reference "V1") (unit 1) (value "VDC") (footprint "")) + (property "Reference" "V1" (id 0) (at 118.11 132.715 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "VDC" (id 1) (at 118.11 135.255 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 114.3 133.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 114.3 133.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid d23993af-9614-478b-984f-e6808785e08a)) + (pin "2" (uuid 908cef22-da54-4813-a573-d8e538412d66)) + ) + + (symbol (lib_id "Device:R") (at 184.15 101.6 270) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 7a2f7d50-7fd2-45fc-8549-13a411cd678a) + (default_instance (reference "R1") (unit 1) (value "R") (footprint "")) + (property "Reference" "R1" (id 0) (at 184.15 96.52 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "R" (id 1) (at 184.15 99.06 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 184.15 99.822 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 184.15 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b939b2fc-aa38-4699-b76d-3476fb7b1b91)) + (pin "2" (uuid 340595d2-3297-4e03-bc9e-7b5530d12845)) + ) + + (symbol (lib_id "Amplifier_Operational:LM358") (at 124.46 127 0) (mirror y) (unit 3) + (in_bom yes) (on_board yes) + (uuid 87dd20a3-7a20-4d68-b835-ffed52bb6407) + (default_instance (reference "U1") (unit 3) (value "LM358") (footprint "")) + (property "Reference" "U1" (id 0) (at 128.27 127.635 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Value" "LM358" (id 1) (at 128.27 125.095 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Footprint" "" (id 2) (at 124.46 127 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" (id 3) (at 124.46 127 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Name" "uopamp_lvl2_2x" (id 4) (at 185.42 149.86 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Library" "uopamp.lib.spice" (id 5) (at 185.42 149.86 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Device" "SUBCKT" (id 6) (at 185.42 149.86 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Pins" "8 4 3 2 1 5 6 7" (id 7) (at 185.42 149.86 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "4" (uuid f8419e99-6cb4-4149-8f18-58b8a114b817)) + (pin "8" (uuid 104db1a6-2ee0-424b-8a10-83f39fbdda9d)) + ) + + (symbol (lib_id "Simulation_SPICE:VSIN") (at 114.3 95.25 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 88021970-b98d-4b3b-8504-80e76499ab7b) + (default_instance (reference "V1") (unit 1) (value "ac=1") (footprint "")) + (property "Reference" "V1" (id 0) (at 118.11 93.345 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "ac=1" (id 1) (at 118.11 95.885 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 114.3 95.25 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 114.3 95.25 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid d18a7be3-befb-4f82-9812-85b576c6ba5e)) + (pin "2" (uuid 9a1a9ed4-ff64-4de9-9d48-d4c40f1612a0)) + ) + + (symbol (lib_id "Device:C") (at 171.45 101.6 90) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 915357ab-3b0a-400b-9348-4398e83e2f0d) + (default_instance (reference "C1") (unit 1) (value "C") (footprint "")) + (property "Reference" "C1" (id 0) (at 171.45 95.25 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "C" (id 1) (at 171.45 97.79 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 175.26 100.6348 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 171.45 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 701a271c-8e57-419b-a6f9-2cfcaf4ee7b0)) + (pin "2" (uuid 8acd99f5-756e-400c-8bc0-8ad070a55b1c)) + ) + + (symbol (lib_id "Simulation_SPICE:VDC") (at 114.3 120.65 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 9505d7a9-59aa-4162-bfe0-189552aad72d) + (default_instance (reference "V1") (unit 1) (value "VDC") (footprint "")) + (property "Reference" "V1" (id 0) (at 118.11 118.745 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "VDC" (id 1) (at 118.11 121.285 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 114.3 120.65 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 114.3 120.65 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid d2a7eba0-60d5-4840-8c92-caa7d1cde951)) + (pin "2" (uuid 265a4239-56c8-4d73-80d5-54f8b8513d40)) + ) + + (symbol (lib_id "Amplifier_Operational:LM358") (at 185.42 91.44 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid b7badb24-bf38-4cfb-b723-95e3c247d571) + (default_instance (reference "U1") (unit 1) (value "LM358") (footprint "")) + (property "Reference" "U1" (id 0) (at 185.42 82.55 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "LM358" (id 1) (at 185.42 85.09 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" (id 3) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Name" "uopamp_lvl2_2x" (id 4) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Library" "uopamp.lib.spice" (id 5) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Device" "SUBCKT" (id 6) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Sim_Pins" "8 4 3 2 1 5 6 7" (id 7) (at 185.42 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid dd60fb5d-009c-4abb-9bfa-85c9da58e712)) + (pin "2" (uuid 119b97a6-2663-4af3-8985-755444efebf8)) + (pin "3" (uuid 4aa8a087-5c13-4214-a267-06743f36fd28)) + ) + + (symbol (lib_id "Device:R") (at 158.75 95.25 180) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid da754588-7440-43c1-8ef3-7b66c12d6a5a) + (default_instance (reference "R1") (unit 1) (value "R") (footprint "")) + (property "Reference" "R1" (id 0) (at 161.29 94.615 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Value" "R" (id 1) (at 161.29 97.155 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Footprint" "" (id 2) (at 160.528 95.25 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 158.75 95.25 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 0f79286a-8c35-4ebd-bb87-7c2598c14e47)) + (pin "2" (uuid bbd3f277-d91d-4c7c-a69e-c57524a68d74)) + ) + + (symbol (lib_id "Device:C") (at 146.05 88.9 90) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid dbe16bdd-a219-4911-8bf3-fe440c368714) + (default_instance (reference "C1") (unit 1) (value "C") (footprint "")) + (property "Reference" "C1" (id 0) (at 146.05 82.55 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "C" (id 1) (at 146.05 85.09 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 149.86 87.9348 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 146.05 88.9 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 390f428e-6f41-4201-872f-ad881ee3dac9)) + (pin "2" (uuid eaf1c2d2-52fe-4763-afe1-6117fb0605a1)) + ) + + (symbol (lib_id "Device:R") (at 196.85 107.95 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid e279ce6e-6053-4f70-b6fc-c5b6590e8e68) + (default_instance (reference "R1") (unit 1) (value "R") (footprint "")) + (property "Reference" "R1" (id 0) (at 199.39 107.315 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "R" (id 1) (at 199.39 109.855 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 195.072 107.95 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 196.85 107.95 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 17e2e487-1812-4496-ab4b-2a31981593f1)) + (pin "2" (uuid 60c540bd-d514-4344-b841-1ce0bbdaccec)) + ) + + (symbol (lib_id "Device:R") (at 152.4 107.95 180) (unit 1) + (in_bom yes) (on_board yes) + (uuid f1b3385a-18cc-443d-986d-324b49f10808) + (default_instance (reference "R1") (unit 1) (value "R") (footprint "")) + (property "Reference" "R1" (id 0) (at 146.05 106.68 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Value" "R" (id 1) (at 146.05 109.22 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (property "Footprint" "" (id 2) (at 154.178 107.95 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 152.4 107.95 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 0641ce34-fa4f-4111-a092-55b991bc6841)) + (pin "2" (uuid 8088142a-b276-4d71-995a-28a0e4dbefbe)) + ) + + (sheet_instances + (path "/" (page "1")) + ) + + (symbol_instances + (path "/32efad03-1f41-49f9-b4ea-1c10d6f8b290" + (reference "#PWR?") (unit 1) (value "GND") (footprint "") + ) + (path "/417cb032-b0dd-48f9-ba4c-b3e4ab34caa0" + (reference "#PWR?") (unit 1) (value "GND") (footprint "") + ) + (path "/4a5a1b77-1f24-4735-af02-661a95efa347" + (reference "#PWR?") (unit 1) (value "GND") (footprint "") + ) + (path "/dbe16bdd-a219-4911-8bf3-fe440c368714" + (reference "C1") (unit 1) (value "10n") (footprint "") + ) + (path "/915357ab-3b0a-400b-9348-4398e83e2f0d" + (reference "C2") (unit 1) (value "10n") (footprint "") + ) + (path "/40ae5997-e7ff-4435-9011-995b9329a072" + (reference "R1") (unit 1) (value "1M") (footprint "") + ) + (path "/f1b3385a-18cc-443d-986d-324b49f10808" + (reference "R2") (unit 1) (value "1M") (footprint "") + ) + (path "/da754588-7440-43c1-8ef3-7b66c12d6a5a" + (reference "R3") (unit 1) (value "15k") (footprint "") + ) + (path "/7a2f7d50-7fd2-45fc-8549-13a411cd678a" + (reference "R4") (unit 1) (value "15k") (footprint "") + ) + (path "/e279ce6e-6053-4f70-b6fc-c5b6590e8e68" + (reference "R5") (unit 1) (value "100k") (footprint "") + ) + (path "/4e83ce78-5afa-4877-a190-a11a77e2315b" + (reference "R6") (unit 1) (value "100k") (footprint "") + ) + (path "/b7badb24-bf38-4cfb-b723-95e3c247d571" + (reference "U1") (unit 1) (value "LM358") (footprint "") + ) + (path "/1f9535b1-6668-419a-8162-68da61e10385" + (reference "U1") (unit 2) (value "LM358") (footprint "") + ) + (path "/87dd20a3-7a20-4d68-b835-ffed52bb6407" + (reference "U1") (unit 3) (value "LM358") (footprint "") + ) + (path "/88021970-b98d-4b3b-8504-80e76499ab7b" + (reference "V1") (unit 1) (value "ac=1") (footprint "") + ) + (path "/9505d7a9-59aa-4162-bfe0-189552aad72d" + (reference "V4") (unit 1) (value "5") (footprint "") + ) + (path "/7156d318-64c1-44a4-9222-3a9a47aa2372" + (reference "V5") (unit 1) (value "5") (footprint "") + ) + ) +) diff --git a/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_sch-bak b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_sch-bak new file mode 100644 index 0000000000..915a260cf3 --- /dev/null +++ b/qa/data/eeschema/spice_netlists/fliege_filter/fliege_filter.kicad_sch-bak @@ -0,0 +1,5 @@ +(kicad_sch (version 20220820) (generator eeschema) + (paper "A4") + (lib_symbols) + (symbol_instances) +) diff --git a/qa/data/eeschema/spice_netlists/fliege_filter/uopamp.lib.spice b/qa/data/eeschema/spice_netlists/fliege_filter/uopamp.lib.spice new file mode 100644 index 0000000000..c83956b698 --- /dev/null +++ b/qa/data/eeschema/spice_netlists/fliege_filter/uopamp.lib.spice @@ -0,0 +1,156 @@ +* Universal Opamp SPICE Macromodels +* Version: v1.1 +* Date: 2019-11-23 +* +* Written in 2019 by Ste Kulov, HD Retrovision LLC. +* Later modified by KiCad developers +* To the extent possible under law, the author(s) have dedicated all copyright +* and related and neighboring rights to this software to the public domain worldwide. +* This software is distributed without any warranty. +* You should have received a copy of the CC0 Public Domain Dedication along with this software. +* If not, see . +* +***************************************** +************* +* CHANGELOG * +************* +* --------------------------------------- +* v1.0 +* 2019-11-08 +* --------------------------------------- +* 1.) Initial Release +* --------------------------------------- +* +* +* --------------------------------------- +* v1.1 +* 2019-11-23 +* --------------------------------------- +* 1.) lvl2: Removed SW model and replaced all instances with semiconductor diodes. +* 2.) lvl2: Added offsets to the voltage sources to compensate for the new semiconductor junctions. +* --------------------------------------- +* v1.2 +* 2022-08-23 +* --------------------------------------- +* 1.) Added dual and quad channel models for both lvl1 and lvl2 +***************************************** + + +***************************************** +.subckt uopamp_lvl1 +IN -IN OUT +* Universal Opamp Level 1 +* Single pole opamp without voltage rails and referenced to GND +* +* PINOUT ORDER 1 2 3 +* PINOUT ORDER +IN -IN OUT +* +* Parameters: +* Avol => open-loop voltage gain (V/V), default=100k +* GBW => gain-bandwidth product (Hz), default=100meg +* Rin => differential input resistance (ohm), default=100g +* Rout => open-loop output resistance (ohm), default=1 +* +R1 +IN -IN {Rin} +G1 0 OUT +IN -IN {Avol/Rout} +R2 OUT 0 100g +C3 OUT 0 {Avol/(2*pi*GBW*Rout)} +.param Avol=100k +.param GBW=100meg +.param Rin=100g +.param Rout=1 +.param pi=3.1415926535898 +.ends + +***************************************** +.subckt uopamp_lvl1_2x +IN1 -IN1 OUT1 +IN2 -IN2 OUT2 +X1 +IN1 -IN1 OUT1 uopamp_lvl1 +X2 +IN2 -IN2 OUT2 uopamp_lvl2 +.ends +***************************************** + +***************************************** +.subckt uopamp_lvl1_4x +IN1 -IN1 OUT1 +IN2 -IN2 OUT2 +IN3 -IN3 OUT3 +IN4 -IN4 OUT4 +X1 +IN1 -IN1 OUT1 uopamp_lvl1 +X2 +IN2 -IN2 OUT2 uopamp_lvl1 +X3 +IN3 -IN3 OUT3 uopamp_lvl1 +X4 +IN4 -IN4 OUT4 uopamp_lvl1 +.ends +***************************************** + + +***************************************** +.subckt uopamp_lvl2 +IN -IN VCC VEE OUT +* Universal Opamp Level 2 +* Single pole opamp with rail saturation, current consumption, current limiting, and input offset voltage +* +* PINOUT ORDER 1 2 3 4 5 +* PINOUT ORDER +IN -IN VCC VEE OUT +* +* Parameters: +* Avol => open-loop voltage gain (V/V), default=100k +* GBW => gain-bandwidth product (Hz), default=100meg +* Rin => differential input resistance (ohm), default=100g +* Rout => open-loop output resistance (ohm), default=1 +* Iq => quiescent supply current (A), default=1m +* Ilimit => maximum output current (A), default=1 +* Vrail => voltage between output saturation and each rail (V), default=0 +* Vos => input offset voltage (V), default=0 +* Vmax => total maximum supply voltage between rails (V), default=50 +* +G1 VCC N001 N002 -IN 1u +G2 VEE N001 N002 -IN 1u +R1 VCC N001 {Avol/1u} +R2 N001 VEE {Avol/1u} +G3 OUT VCC VCC N001 {1/(2*Rout)} +G4 VEE OUT N001 VEE {1/(2*Rout)} +R4 VCC OUT {2*Rout} +R5 OUT VEE {2*Rout} +C1 VCC N001 {1u/(2*pi*GBW)} +C2 N001 VEE {1u/(2*pi*GBW)} +G6 N005 VEE N001 OUT {1/(2*Rout)} +G5 N006 VEE OUT N001 {1/(2*Rout)} +R8 -IN +IN {Rin} +V6 VCC N003 {Vrail+545m} +V7 N008 VEE {Vrail+545m} +V8 N002 +IN {Vos} +V9 OUT N007 {Ilimit-545m} +V10 N004 OUT {Ilimit-545m} +D1 N001 N003 diode +D2 N008 N001 diode +D3 VCC N005 diode +D4 VCC N006 diode +D5 VEE N005 zener +D6 VEE N006 zener +D7 N001 N004 diode +D8 N007 N001 diode +I1 VCC VEE {Iq} +.param Avol = 100k +.param GBW = 100meg +.param Rin = 100g +.param Rout = 1 +.param Iq = 1m +.param Ilimit = 1 +.param Vrail = 0 +.param Vos = 0 +.param Vmax = 50 +.model diode D(Is=1e-14) +.model zener D(Is=1e-14 BV={Vmax}) +.param pi=3.1415926535898 +.ends +***************************************** + +***************************************** +.subckt uopamp_lvl2_2x VCC VEE +IN1 -IN1 OUT1 +IN2 -IN2 OUT2 +X1 +IN1 -IN1 VCC VEE OUT1 uopamp_lvl2 +X2 +IN2 -IN2 VCC VEE OUT2 uopamp_lvl2 +.ends +***************************************** + +***************************************** +.subckt uopamp_lvl2_4x VCC VEE +IN1 -IN1 OUT1 +IN2 -IN2 OUT2 +IN3 -IN3 OUT3 +IN4 -IN4 OUT4 +X1 +IN1 -IN1 VCC VEE OUT1 uopamp_lvl2 +X2 +IN2 -IN2 VCC VEE OUT2 uopamp_lvl2 +X3 +IN3 -IN3 VCC VEE OUT3 uopamp_lvl2 +X4 +IN4 -IN4 VCC VEE OUT4 uopamp_lvl2 +.ends +***************************************** diff --git a/qa/unittests/eeschema/test_netlist_exporter_spice.cpp b/qa/unittests/eeschema/test_netlist_exporter_spice.cpp index cc7eea87c2..b158623c3c 100644 --- a/qa/unittests/eeschema/test_netlist_exporter_spice.cpp +++ b/qa/unittests/eeschema/test_netlist_exporter_spice.cpp @@ -366,6 +366,18 @@ BOOST_AUTO_TEST_CASE( CmosNot ) }*/ +BOOST_AUTO_TEST_CASE( FliegeFilter ) +{ + // We test a multi-unit part here, as Fliege topology uses two op amps (power supply pins are a + // third part). + + TestNetlist( "fliege_filter" ); + TestACPoint( 0.8e3, { { "V(/in)", 1 }, { "V(/out)", 1 } } ); + TestACPoint( 1.061e3, { { "V(/in)", 1 }, { "V(/out)", 0 } } ); + TestACPoint( 1.2e3, { { "V(/in)", 1 }, { "V(/out)", 1 } } ); +} + + BOOST_AUTO_TEST_CASE( LegacyLaserDriver ) { TestNetlist( "legacy_laser_driver" );