(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 2ea4f62b-441a-4c25-85e9-97205e131204)
  (paper "A4")
  (title_block
    (title "Hard-Switching 1")
    (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:VSIN"
      (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" "VSIN"
        (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.Params" "dc=0 ampl=1 f=1k ac=1"
        (at 2.54 -2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Sim.Type" "SIN"
        (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 "ki_keywords" "simulation ac vac"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Voltage source, sinusoidal"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "VSIN_0_0"
        (arc
          (start 0 0)
          (mid -0.635 0.6323)
          (end -1.27 0)
          (stroke (width 0) (type default))
          (fill (type none)))
        (arc
          (start 0 0)
          (mid 0.635 -0.6323)
          (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))))))))
  (wire
    (pts (xy 27.94 43.18) (xy 27.94 38.1))
    (stroke (width 0) (type default))
    (uuid b1c6f2f7-3d8b-4938-88ab-b4948f855e55))
  (wire
    (pts (xy 27.94 50.8) (xy 27.94 55.88))
    (stroke (width 0) (type default))
    (uuid 02bc9bbf-18c2-4675-81c6-e85deba6cc2b))
  (symbol
    (lib_id "power:GND")
    (at 27.94 55.88 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 482e231d-f5e7-4cd6-bfd8-6418192bb4bd)
    (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 7d881d00-0e81-4a49-8260-09c6db9930b4))
    (instances
      (project "mr-sine2"
        (path "/abd03c85-ed75-44fb-a681-3349adc9daf0"
          (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 e882931a-45b1-4db9-9ca6-d936a4bdb26a)
    (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 d8181c81-330e-4c67-ae73-d848a4795dbd))
    (pin "2" (uuid 5189c1bc-6f20-4d10-a5db-acf7d49483e0))
    (instances
      (project "mr-sine2"
        (path "/abd03c85-ed75-44fb-a681-3349adc9daf0"
          (reference "M1")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VSIN")
    (at 27.94 33.02 180)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 8512675f-5f9d-4fcd-bd03-3615fe7b6bf0)
    (property "Reference" "V1"
      (at 35.40125 32.22625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "1V 5kHz"
      (at 35.40125 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 c22dd5a1-10a7-4e07-8987-2e9a3b837d14))
    (pin "2" (uuid 60107f84-6711-46fa-a038-dbf4a4e963be))
    (instances
      (project "mr-sine2"
        (path "/abd03c85-ed75-44fb-a681-3349adc9daf0"
          (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 bff99dd4-465c-4b0d-ba74-db02f3148ee8)
    (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 3bd698ab-ed87-416a-b6a3-d881b845a0a9))
    (instances
      (project "mr-sine2"
        (path "/abd03c85-ed75-44fb-a681-3349adc9daf0"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
