(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid a78a6485-fe27-4584-a1bb-27f4e7eafe93)
  (paper "A4")
  (title_block
    (title "Triangle Wave")
    (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:Memristor"
      (pin_numbers hide)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "MR"
        (at 2.54 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Value" "Memristor"
        (at -2.54 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at -1.778 0 90)
        (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" "memristor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Memristor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "Memristor_0_0"
        (polyline
          (pts
            (xy 0 2.54)
            (xy 1.27 2.54)
            (xy 1.27 1.27)
            (xy -1.27 1.27)
            (xy -1.27 0)
            (xy 1.27 0)
            (xy 1.27 -1.27)
            (xy -1.27 -1.27)
            (xy -1.27 -2.54)
            (xy 0 -2.54))
          (stroke (width 0.254) (type default))
          (fill (type none))))
      (symbol "Memristor_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: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 43.18) (xy 27.94 38.1))
    (stroke (width 0) (type default))
    (uuid 3c69dbfc-5b01-4d43-ad90-b7effd3ab9d3))
  (wire
    (pts (xy 27.94 50.8) (xy 27.94 55.88))
    (stroke (width 0) (type default))
    (uuid 269a1ce2-4112-40c0-b089-cef8aaddd8e3))
  (symbol
    (lib_id "power:GND")
    (at 27.94 55.88 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid e926e5ad-3e7c-49b9-8eb2-4eacbaacf227)
    (property "Reference" "#PWR001"
      (at 27.94 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 5f1d65f7-d46d-4818-a615-8fa08e0252f3))
    (instances
      (project "mr-triangle"
        (path "/0725711a-c3d1-410f-a1c0-ca2c8a61ad05"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "Device:Memristor")
    (at 27.94 46.99 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid ce16ead2-9bb1-4101-8e86-3d699876d1eb)
    (property "Reference" "M1"
      (at 31.4325 46.99 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 27.94 46.99 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 46.99 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid b774c334-5fe6-4156-aeb7-6e4949d6880d))
    (pin "2" (uuid 619c9782-e107-4fc7-81d4-b96cf7c6e2ea))
    (instances
      (project "mr-triangle"
        (path "/0725711a-c3d1-410f-a1c0-ca2c8a61ad05"
          (reference "M1")
          (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 0b632dc8-23bd-40d7-aa0c-42853fe66143)
    (property "Reference" "V1"
      (at 36.5125 32.22625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "1V 3.2kHz"
      (at 36.5125 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 f7bb31af-504c-4f2f-a424-f0306a9a941e))
    (pin "2" (uuid 7d4011a3-27c3-4a52-b48c-0e8779c97902))
    (instances
      (project "mr-triangle"
        (path "/0725711a-c3d1-410f-a1c0-ca2c8a61ad05"
          (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 db059a15-074d-4ae3-9e44-6b6f8d0def71)
    (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 63211b3f-f8bd-4332-8442-6434bd4028f7))
    (instances
      (project "mr-triangle"
        (path "/0725711a-c3d1-410f-a1c0-ca2c8a61ad05"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
