(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 6463d544-4bc2-4b19-9000-85f891f1269c)
  (paper "A4")
  (title_block
    (title "Diode I/V Curve")
    (company "EETree 电子森林 · CircuitJS 示例转换"))
  (lib_symbols
    (symbol "power:GND"
      (power)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "#PWR"
        (at 0 -6.35 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Value" "GND"
        (at 0 -3.81 0)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "global power"
        (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"
        (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 hide
          (at 0 0 270)
          (length 0)
          (name "GND" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))))
    (symbol "Device:D"
      (pin_numbers hide)
      (pin_names (offset 1.016) hide)
      (in_bom yes)
      (on_board yes)
      (property "Reference" "D"
        (at 0 2.54 0)
        (effects (font (size 1.27 1.27))))
      (property "Value" "D"
        (at 0 -2.54 0)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "~"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Device" "D"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Pins" "1=K 2=A"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "diode"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Diode"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "D_0_1"
        (polyline
          (pts (xy -1.27 1.27) (xy -1.27 -1.27))
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 1.27 0) (xy -1.27 0))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts
            (xy 1.27 1.27)
            (xy 1.27 -1.27)
            (xy -1.27 0)
            (xy 1.27 1.27))
          (stroke (width 0.254) (type default))
          (fill (type none))))
      (symbol "D_1_1"
        (pin passive line
          (at -3.81 0 0)
          (length 2.54)
          (name "K" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 3.81 0 180)
          (length 2.54)
          (name "A" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27)))))))
    (symbol "Simulation_SPICE:VPWL"
      (pin_numbers hide)
      (pin_names (offset 0.0254))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "V"
        (at 2.54 2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Value" "VPWL"
        (at 2.54 0 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Pins" "1=+ 2=-"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Device" "V"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) (justify left) hide))
      (property "Sim.Params" "pwl=\"0 -1 50n -1 51n 0 97n 1 171n -1 200n -1\""
        (at 2.54 -2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Sim.Type" "PWL"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "simulation"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Voltage source, piece-wise linear"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "VPWL_0_0"
        (polyline
          (pts
            (xy -1.778 -1.016)
            (xy -0.762 1.016)
            (xy -0.254 0)
            (xy 0.762 0)
            (xy 1.27 1.27))
          (stroke (width 0) (type default))
          (fill (type none)))
        (text "+"
          (at 0 1.905 0)
          (effects (font (size 1.27 1.27)))))
      (symbol "VPWL_0_1"
        (circle
          (center 0 0)
          (radius 2.54)
          (stroke (width 0.254) (type default))
          (fill (type background))))
      (symbol "VPWL_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))))))))
  (wire
    (pts (xy 27.94 40.64) (xy 27.94 38.1))
    (stroke (width 0) (type default))
    (uuid 2d397942-74cd-4b13-8c7e-0ed67a5623c2))
  (wire
    (pts (xy 27.94 48.26) (xy 27.94 50.8))
    (stroke (width 0) (type default))
    (uuid df3e3055-a437-4c01-9eaf-ff097f2d3864))
  (symbol
    (lib_id "power:GND")
    (at 27.94 50.8 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid f632dd26-3953-4cf0-8049-f3c0998a8c87)
    (property "Reference" "#PWR001"
      (at 27.94 50.8 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 50.8 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 50.8 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid e2e46638-8f0f-41da-b00e-c9edff58889b))
    (instances
      (project "diodecurve"
        (path "/c04e3072-2857-4550-b1f4-51a81acfcee9"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "Device:D")
    (at 27.94 44.45 90)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 5d46cd7e-5de7-4bc2-a68f-f09f85361774)
    (property "Reference" "D1"
      (at 31.4325 44.45 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 27.94 44.45 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 44.45 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid ed6de7ee-2cde-446f-bd03-951bf1a1114c))
    (pin "2" (uuid 2e674e82-ea20-49a2-8067-07e0f39dba15))
    (instances
      (project "diodecurve"
        (path "/c04e3072-2857-4550-b1f4-51a81acfcee9"
          (reference "D1")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VPWL")
    (at 27.94 33.02 180)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 7f0f45c5-fb85-4a69-a00b-4cd08879ef58)
    (property "Reference" "V1"
      (at 37.1475 32.22625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "650mV 50Hz"
      (at 37.1475 33.81375 0)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 27.94 33.02 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid b6013e6d-f088-44d0-9707-abb66ab37285))
    (pin "2" (uuid 55e7cb0e-b831-4b28-8a03-58b46cdd6df5))
    (instances
      (project "diodecurve"
        (path "/c04e3072-2857-4550-b1f4-51a81acfcee9"
          (reference "V1")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 27.94 180)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid d84d0ce0-e785-4340-8d5b-e0f075cd86d1)
    (property "Reference" "#PWR002"
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 34b09dae-66b4-4c53-a808-6773e1546057))
    (instances
      (project "diodecurve"
        (path "/c04e3072-2857-4550-b1f4-51a81acfcee9"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
