diff --git a/demos/simulation/class-d/Class-D.kicad_pro b/demos/simulation/class-d/Class-D.kicad_pro index 070328ea8e..f0194ce090 100644 --- a/demos/simulation/class-d/Class-D.kicad_pro +++ b/demos/simulation/class-d/Class-D.kicad_pro @@ -8,6 +8,7 @@ "mfg": "", "mpn": "" }, + "layer_pairs": [], "layer_presets": [], "viewports": [] }, @@ -202,10 +203,15 @@ "duplicate_sheet_names": "error", "endpoint_off_grid": "warning", "extra_units": "error", + "footprint_filter": "ignore", + "footprint_link_issues": "warning", + "four_way_junction": "ignore", "global_label_dangling": "warning", "hier_label_mismatch": "error", "label_dangling": "error", + "label_multiple_wires": "warning", "lib_symbol_issues": "warning", + "lib_symbol_mismatch": "warning", "missing_bidi_pin": "warning", "missing_input_pin": "warning", "missing_power_pin": "error", @@ -218,9 +224,14 @@ "pin_not_driven": "error", "pin_to_pin": "warning", "power_pin_not_driven": "error", + "same_local_global_label": "warning", + "similar_label_and_power": "warning", "similar_labels": "warning", + "similar_power": "warning", "simulation_model_issue": "ignore", + "single_global_label": "ignore", "unannotated": "error", + "unconnected_wire_endpoint": "warning", "unit_value_mismatch": "error", "unresolved_variable": "error", "wire_dangling": "error" @@ -232,7 +243,7 @@ }, "meta": { "filename": "Class-D.kicad_pro", - "version": 1 + "version": 3 }, "net_settings": { "classes": [ @@ -247,6 +258,7 @@ "microvia_drill": 0.1, "name": "Default", "pcb_color": "rgba(0, 0, 0, 0.000)", + "priority": 2147483647, "schematic_color": "rgba(0, 0, 0, 0.000)", "track_width": 0.2, "via_diameter": 0.6, @@ -255,7 +267,7 @@ } ], "meta": { - "version": 3 + "version": 4 }, "net_colors": null, "netclass_assignments": null, @@ -277,6 +289,7 @@ }, "schematic": { "annotate_start_num": 0, + "bom_export_filename": "${PROJECTNAME}.csv", "bom_fmt_presets": [], "bom_fmt_settings": { "field_delimiter": ",", @@ -330,6 +343,7 @@ ], "filter_string": "", "group_symbols": true, + "include_excluded_from_bom": false, "name": "Grouped By Value", "sort_asc": true, "sort_field": "Referenz" @@ -372,6 +386,7 @@ }, "page_layout_descr_file": "", "plot_directory": "", + "space_save_all_events": true, "spice_current_sheet_as_root": false, "spice_external_command": "spice \"%I\"", "spice_model_current_sheet_as_root": true, diff --git a/demos/simulation/class-d/Class-D.kicad_sch b/demos/simulation/class-d/Class-D.kicad_sch index 2ae87b7d78..dee687c90a 100644 --- a/demos/simulation/class-d/Class-D.kicad_sch +++ b/demos/simulation/class-d/Class-D.kicad_sch @@ -1,7 +1,7 @@ (kicad_sch - (version 20231120) + (version 20241209) (generator "eeschema") - (generator_version "8.0") + (generator_version "9.0") (uuid "30d43cb8-f82b-4a5d-811a-ca847a6b3021") (paper "A4") (title_block @@ -89,6 +89,24 @@ ) ) (symbol "AudioDriver1_1_0" + (pin input line + (at -12.7 -2.54 0) + (length 5.08) + (name "A_in" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) (pin output line (at 12.7 2.54 180) (length 5.08) @@ -161,24 +179,6 @@ ) ) ) - (pin input line - (at -12.7 -2.54 0) - (length 5.08) - (name "A_in" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - (number "7" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - ) ) (symbol "AudioDriver1_1_1" (rectangle @@ -193,11 +193,16 @@ ) ) ) + (embedded_fonts no) ) (symbol "Device:C_Small" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names - (offset 0.254) hide) + (offset 0.254) + (hide yes) + ) (exclude_from_sim no) (in_bom yes) (on_board yes) @@ -267,10 +272,10 @@ (symbol "C_Small_0_1" (polyline (pts - (xy -1.524 -0.508) (xy 1.524 -0.508) + (xy -1.524 0.508) (xy 1.524 0.508) ) (stroke - (width 0.3302) + (width 0.3048) (type default) ) (fill @@ -279,10 +284,10 @@ ) (polyline (pts - (xy -1.524 0.508) (xy 1.524 0.508) + (xy -1.524 -0.508) (xy 1.524 -0.508) ) (stroke - (width 0.3048) + (width 0.3302) (type default) ) (fill @@ -328,11 +333,16 @@ ) ) ) + (embedded_fonts no) ) (symbol "Device:L_Small" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names - (offset 0.254) hide) + (offset 0.254) + (hide yes) + ) (exclude_from_sim no) (in_bom yes) (on_board yes) @@ -401,32 +411,8 @@ ) (symbol "L_Small_0_1" (arc - (start 0 -2.032) - (mid 0.5058 -1.524) - (end 0 -1.016) - (stroke - (width 0) - (type default) - ) - (fill - (type none) - ) - ) - (arc - (start 0 -1.016) - (mid 0.5058 -0.508) - (end 0 0) - (stroke - (width 0) - (type default) - ) - (fill - (type none) - ) - ) - (arc - (start 0 0) - (mid 0.5058 0.508) + (start 0 2.032) + (mid 0.5058 1.524) (end 0 1.016) (stroke (width 0) @@ -438,8 +424,32 @@ ) (arc (start 0 1.016) - (mid 0.5058 1.524) - (end 0 2.032) + (mid 0.5058 0.508) + (end 0 0) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (arc + (start 0 0) + (mid 0.5058 -0.508) + (end 0 -1.016) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (arc + (start 0 -1.016) + (mid 0.5058 -1.524) + (end 0 -2.032) (stroke (width 0) (type default) @@ -487,11 +497,16 @@ ) ) ) + (embedded_fonts no) ) (symbol "Device:R_Small" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names - (offset 0.254) hide) + (offset 0.254) + (hide yes) + ) (exclude_from_sim no) (in_bom yes) (on_board yes) @@ -609,11 +624,16 @@ ) ) ) + (embedded_fonts no) ) (symbol "Simulation_SPICE:D" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names - (offset 1.016) hide) + (offset 1.016) + (hide yes) + ) (exclude_from_sim no) (in_bom yes) (on_board yes) @@ -709,10 +729,10 @@ ) (polyline (pts - (xy 1.27 0) (xy -1.27 0) + (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27) ) (stroke - (width 0) + (width 0.254) (type default) ) (fill @@ -721,10 +741,10 @@ ) (polyline (pts - (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27) + (xy 1.27 0) (xy -1.27 0) ) (stroke - (width 0.254) + (width 0) (type default) ) (fill @@ -770,9 +790,12 @@ ) ) ) + (embedded_fonts no) ) (symbol "Simulation_SPICE:NMOS" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names (offset 0) ) @@ -861,18 +884,6 @@ ) ) (symbol "NMOS_0_1" - (polyline - (pts - (xy 0.254 0) (xy -2.54 0) - ) - (stroke - (width 0) - (type default) - ) - (fill - (type none) - ) - ) (polyline (pts (xy 0.254 1.905) (xy 0.254 -1.905) @@ -887,7 +898,19 @@ ) (polyline (pts - (xy 0.762 -1.27) (xy 0.762 -2.286) + (xy 0.254 0) (xy -2.54 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0.762 2.286) (xy 0.762 1.27) ) (stroke (width 0.254) @@ -911,7 +934,7 @@ ) (polyline (pts - (xy 0.762 2.286) (xy 0.762 1.27) + (xy 0.762 -1.27) (xy 0.762 -2.286) ) (stroke (width 0.254) @@ -921,30 +944,6 @@ (type none) ) ) - (polyline - (pts - (xy 2.54 2.54) (xy 2.54 1.778) - ) - (stroke - (width 0) - (type default) - ) - (fill - (type none) - ) - ) - (polyline - (pts - (xy 2.54 -2.54) (xy 2.54 0) (xy 0.762 0) - ) - (stroke - (width 0) - (type default) - ) - (fill - (type none) - ) - ) (polyline (pts (xy 0.762 -1.778) (xy 3.302 -1.778) (xy 3.302 1.778) (xy 0.762 1.778) @@ -969,6 +968,63 @@ (type outline) ) ) + (circle + (center 1.651 0) + (radius 2.794) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 2.54 2.54) (xy 2.54 1.778) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center 2.54 1.778) + (radius 0.254) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (circle + (center 2.54 -1.778) + (radius 0.254) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 2.54 -2.54) (xy 2.54 0) (xy 0.762 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) (polyline (pts (xy 2.794 0.508) (xy 2.921 0.381) (xy 3.683 0.381) (xy 3.81 0.254) @@ -993,59 +1049,8 @@ (type none) ) ) - (circle - (center 1.651 0) - (radius 2.794) - (stroke - (width 0.254) - (type default) - ) - (fill - (type none) - ) - ) - (circle - (center 2.54 -1.778) - (radius 0.254) - (stroke - (width 0) - (type default) - ) - (fill - (type outline) - ) - ) - (circle - (center 2.54 1.778) - (radius 0.254) - (stroke - (width 0) - (type default) - ) - (fill - (type outline) - ) - ) ) (symbol "NMOS_1_1" - (pin passive line - (at 2.54 5.08 270) - (length 2.54) - (name "D" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - (number "1" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - ) (pin input line (at -5.08 0 0) (length 2.54) @@ -1064,6 +1069,24 @@ ) ) ) + (pin passive line + (at 2.54 5.08 270) + (length 2.54) + (name "D" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) (pin passive line (at 2.54 -5.08 90) (length 2.54) @@ -1083,9 +1106,12 @@ ) ) ) + (embedded_fonts no) ) (symbol "Simulation_SPICE:NPN" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names (offset 0) ) @@ -1184,6 +1210,18 @@ (type none) ) ) + (polyline + (pts + (xy 0.635 1.905) (xy 0.635 -1.905) (xy 0.635 -1.905) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) (polyline (pts (xy 0.635 0.635) (xy 2.54 2.54) @@ -1196,30 +1234,6 @@ (type none) ) ) - (polyline - (pts - (xy 2.794 -1.27) (xy 2.794 -1.27) - ) - (stroke - (width 0.1524) - (type default) - ) - (fill - (type none) - ) - ) - (polyline - (pts - (xy 2.794 -1.27) (xy 2.794 -1.27) - ) - (stroke - (width 0.1524) - (type default) - ) - (fill - (type none) - ) - ) (polyline (pts (xy 0.635 -0.635) (xy 2.54 -2.54) (xy 2.54 -2.54) @@ -1232,12 +1246,11 @@ (type none) ) ) - (polyline - (pts - (xy 0.635 1.905) (xy 0.635 -1.905) (xy 0.635 -1.905) - ) + (circle + (center 1.27 0) + (radius 2.8194) (stroke - (width 0.508) + (width 0.254) (type default) ) (fill @@ -1256,11 +1269,24 @@ (type outline) ) ) - (circle - (center 1.27 0) - (radius 2.8194) + (polyline + (pts + (xy 2.794 -1.27) (xy 2.794 -1.27) + ) (stroke - (width 0.254) + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 2.794 -1.27) (xy 2.794 -1.27) + ) + (stroke + (width 0.1524) (type default) ) (fill @@ -1269,24 +1295,6 @@ ) ) (symbol "NPN_1_1" - (pin open_collector line - (at 2.54 5.08 270) - (length 2.54) - (name "C" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - (number "1" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - ) (pin input line (at -5.08 0 0) (length 2.54) @@ -1305,6 +1313,24 @@ ) ) ) + (pin open_collector line + (at 2.54 5.08 270) + (length 2.54) + (name "C" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) (pin open_emitter line (at 2.54 -5.08 90) (length 2.54) @@ -1324,9 +1350,12 @@ ) ) ) + (embedded_fonts no) ) (symbol "Simulation_SPICE:PNP" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names (offset 0) ) @@ -1425,6 +1454,18 @@ (type none) ) ) + (polyline + (pts + (xy 0.635 1.905) (xy 0.635 -1.905) (xy 0.635 -1.905) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) (polyline (pts (xy 0.635 0.635) (xy 2.54 2.54) @@ -1449,12 +1490,11 @@ (type none) ) ) - (polyline - (pts - (xy 0.635 1.905) (xy 0.635 -1.905) (xy 0.635 -1.905) - ) + (circle + (center 1.27 0) + (radius 2.8194) (stroke - (width 0.508) + (width 0.254) (type default) ) (fill @@ -1473,37 +1513,8 @@ (type outline) ) ) - (circle - (center 1.27 0) - (radius 2.8194) - (stroke - (width 0.254) - (type default) - ) - (fill - (type none) - ) - ) ) (symbol "PNP_1_1" - (pin open_collector line - (at 2.54 5.08 270) - (length 2.54) - (name "C" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - (number "1" - (effects - (font - (size 1.27 1.27) - ) - ) - ) - ) (pin input line (at -5.08 0 0) (length 2.54) @@ -1522,6 +1533,24 @@ ) ) ) + (pin open_collector line + (at 2.54 5.08 270) + (length 2.54) + (name "C" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) (pin open_emitter line (at 2.54 -5.08 90) (length 2.54) @@ -1541,9 +1570,12 @@ ) ) ) + (embedded_fonts no) ) (symbol "Simulation_SPICE:VDC" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names (offset 0.0254) ) @@ -1741,9 +1773,12 @@ ) ) ) + (embedded_fonts no) ) (symbol "Simulation_SPICE:VSIN" - (pin_numbers hide) + (pin_numbers + (hide yes) + ) (pin_names (offset 0.0254) ) @@ -1843,9 +1878,9 @@ ) (symbol "VSIN_0_0" (arc - (start 0 0) + (start -1.27 0) (mid -0.635 0.6323) - (end -1.27 0) + (end 0 0) (stroke (width 0) (type default) @@ -1855,9 +1890,9 @@ ) ) (arc - (start 0 0) + (start 1.27 0) (mid 0.635 -0.6323) - (end 1.27 0) + (end 0 0) (stroke (width 0) (type default) @@ -1926,6 +1961,7 @@ ) ) ) + (embedded_fonts no) ) (symbol "power:GND" (power) @@ -2005,7 +2041,8 @@ (symbol "GND_1_1" (pin power_in line (at 0 0 270) - (length 0) hide + (length 0) + (hide yes) (name "GND" (effects (font @@ -2022,8 +2059,31 @@ ) ) ) + (embedded_fonts no) ) ) + (text ".options chgtol=1e-11 abstol=1u \n.probe p(R15)\n.control\nset controlswait\nrusage time\n.endc\n" + (exclude_from_sim no) + (at 95.885 116.84 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "354d9ce5-dc89-4e12-b3b0-8e5b757f867e") + ) + (text "Analog input\nPulse Width Modulator\nComplementary push-pull clock\nDead time to avoid shoot-through current\nHigh side voltage shift" + (exclude_from_sim no) + (at 79.375 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "730eec5a-28f9-4b50-9f68-f32642e94aa0") + ) (junction (at 182.88 86.36) (diameter 0) @@ -3494,31 +3554,8 @@ ) (uuid "fc16038b-f7a0-443b-be27-1a9c56186b6d") ) - (text ".options chgtol=1e-11 abstol=1u \n.probe p(R15)\n.control\nset controlswait\nrusage time\n.endc\n" - (exclude_from_sim no) - (at 95.885 116.84 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - (uuid "354d9ce5-dc89-4e12-b3b0-8e5b757f867e") - ) - (text "Analog input\nPulse Width Modulator\nComplementary push-pull clock\nDead time to avoid shoot-through current\nHigh side voltage shift" - (exclude_from_sim no) - (at 79.375 46.99 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - (uuid "730eec5a-28f9-4b50-9f68-f32642e94aa0") - ) (label "B-" (at 204.47 138.43 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3529,7 +3566,6 @@ ) (label "B+" (at 215.9 36.83 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3540,7 +3576,6 @@ ) (label "Vs" (at 248.92 132.08 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3551,7 +3586,6 @@ ) (label "out" (at 276.86 66.04 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3562,7 +3596,6 @@ ) (label "B+" (at 204.47 110.49 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3573,7 +3606,6 @@ ) (label "Ain" (at 156.21 114.3 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3584,7 +3616,6 @@ ) (label "Vcc" (at 130.81 73.66 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3595,7 +3626,6 @@ ) (label "Vb" (at 248.92 116.84 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3606,7 +3636,6 @@ ) (label "Fb1" (at 222.25 27.94 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3617,7 +3646,6 @@ ) (label "Vcc" (at 232.41 116.84 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3628,7 +3656,6 @@ ) (label "HO" (at 130.81 48.26 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3639,7 +3666,6 @@ ) (label "B-" (at 217.17 104.14 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3650,7 +3676,6 @@ ) (label "LO" (at 130.81 86.36 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3661,7 +3686,6 @@ ) (label "out" (at 267.97 118.11 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3672,7 +3696,6 @@ ) (label "Vb" (at 130.81 35.56 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3683,7 +3706,6 @@ ) (label "B-" (at 132.08 104.14 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3694,7 +3716,6 @@ ) (label "Ain" (at 92.71 68.58 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3705,7 +3726,6 @@ ) (label "B-" (at 232.41 132.08 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3716,7 +3736,6 @@ ) (label "Fb2" (at 251.46 27.94 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -3727,7 +3746,6 @@ ) (label "Vs" (at 130.81 66.04 0) - (fields_autoplaced yes) (effects (font (size 1.27 1.27) @@ -7182,4 +7200,5 @@ (page "1") ) ) -) \ No newline at end of file + (embedded_fonts no) +) diff --git a/demos/simulation/class-d/Class-D.wbk b/demos/simulation/class-d/Class-D.wbk index 686a9baaa7..a2453d4248 100644 --- a/demos/simulation/class-d/Class-D.wbk +++ b/demos/simulation/class-d/Class-D.wbk @@ -6,8 +6,7 @@ "commands": [ ".tran 10n 3m", ".kicad adjustpaths", - ".save all", - ".probe alli" + ".save all" ], "dottedSecondary": true, "margins": { diff --git a/demos/simulation/up-down-counter/up-down-c.kicad_pro b/demos/simulation/up-down-counter/up-down-c.kicad_pro index 8d05c4d515..7c9e888f31 100644 --- a/demos/simulation/up-down-counter/up-down-c.kicad_pro +++ b/demos/simulation/up-down-counter/up-down-c.kicad_pro @@ -8,6 +8,7 @@ "mfg": "", "mpn": "" }, + "layer_pairs": [], "layer_presets": [], "viewports": [] }, @@ -232,7 +233,7 @@ }, "meta": { "filename": "up-down-c.kicad_pro", - "version": 1 + "version": 3 }, "net_settings": { "classes": [ @@ -247,6 +248,7 @@ "microvia_drill": 0.1, "name": "Default", "pcb_color": "rgba(0, 0, 0, 0.000)", + "priority": 2147483647, "schematic_color": "rgba(0, 0, 0, 0.000)", "track_width": 0.2, "via_diameter": 0.6, @@ -255,7 +257,7 @@ } ], "meta": { - "version": 3 + "version": 4 }, "net_colors": null, "netclass_assignments": null,