(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 6dd24c36-5771-4591-af71-0b328e52ac1b)
  (paper "A4")
  (title_block
    (title "XOR Phase Detector")
    (company "EETree 电子森林 · CircuitJS 示例转换"))
  (lib_symbols
    (symbol "74xx:74LS86"
      (pin_numbers hide)
      (pin_names (offset 1.016))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "U"
        (at 0 1.27 0)
        (effects (font (size 1.27 1.27))))
      (property "Value" "74LS86"
        (at 0 -1.27 0)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "74xx/74ls86.pdf"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_locked" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27))))
      (property "ki_keywords" "TTL XOR2"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Quad 2-input XOR"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_fp_filters" "DIP*W7.62mm*"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "74LS86_1_0"
        (arc
          (start -4.4196 -3.81)
          (mid -3.2033 0)
          (end -4.4196 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -3.81 -3.81)
          (mid -2.589 0)
          (end -3.81 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -0.6096 -3.81)
          (mid 2.1842 -2.5851)
          (end 3.81 0)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 -3.81) (xy -0.635 -3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 3.81) (xy -0.635 3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts
            (xy -0.635 3.81)
            (xy -3.81 3.81)
            (xy -3.81 3.81)
            (xy -3.556 3.4036)
            (xy -3.0226 2.2606)
            (xy -2.6924 1.0414)
            (xy -2.6162 -0.254)
            (xy -2.7686 -1.4986)
            (xy -3.175 -2.7178)
            (xy -3.81 -3.81)
            (xy -3.81 -3.81)
            (xy -0.635 -3.81))
          (stroke (width -25.4) (type default))
          (fill (type background)))
        (arc
          (start 3.81 0)
          (mid 2.1915 2.5936)
          (end -0.6096 3.81)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (pin input line
          (at -7.62 2.54 0)
          (length 4.445)
          (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 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27)))))
        (pin output line
          (at 7.62 0 180)
          (length 3.81)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "3" (effects (font (size 1.27 1.27))))))
      (symbol "74LS86_1_1"
        (polyline
          (pts (xy -3.81 -2.54) (xy -3.175 -2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none)))
        (polyline
          (pts (xy -3.81 2.54) (xy -3.175 2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none))))
      (symbol "74LS86_2_0"
        (arc
          (start -4.4196 -3.81)
          (mid -3.2033 0)
          (end -4.4196 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -3.81 -3.81)
          (mid -2.589 0)
          (end -3.81 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -0.6096 -3.81)
          (mid 2.1842 -2.5851)
          (end 3.81 0)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 -3.81) (xy -0.635 -3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 3.81) (xy -0.635 3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts
            (xy -0.635 3.81)
            (xy -3.81 3.81)
            (xy -3.81 3.81)
            (xy -3.556 3.4036)
            (xy -3.0226 2.2606)
            (xy -2.6924 1.0414)
            (xy -2.6162 -0.254)
            (xy -2.7686 -1.4986)
            (xy -3.175 -2.7178)
            (xy -3.81 -3.81)
            (xy -3.81 -3.81)
            (xy -0.635 -3.81))
          (stroke (width -25.4) (type default))
          (fill (type background)))
        (arc
          (start 3.81 0)
          (mid 2.1915 2.5936)
          (end -0.6096 3.81)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (pin input line
          (at -7.62 2.54 0)
          (length 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "4" (effects (font (size 1.27 1.27)))))
        (pin input line
          (at -7.62 -2.54 0)
          (length 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "5" (effects (font (size 1.27 1.27)))))
        (pin output line
          (at 7.62 0 180)
          (length 3.81)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "6" (effects (font (size 1.27 1.27))))))
      (symbol "74LS86_2_1"
        (polyline
          (pts (xy -3.81 -2.54) (xy -3.175 -2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none)))
        (polyline
          (pts (xy -3.81 2.54) (xy -3.175 2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none))))
      (symbol "74LS86_3_0"
        (arc
          (start -4.4196 -3.81)
          (mid -3.2033 0)
          (end -4.4196 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -3.81 -3.81)
          (mid -2.589 0)
          (end -3.81 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -0.6096 -3.81)
          (mid 2.1842 -2.5851)
          (end 3.81 0)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 -3.81) (xy -0.635 -3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 3.81) (xy -0.635 3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts
            (xy -0.635 3.81)
            (xy -3.81 3.81)
            (xy -3.81 3.81)
            (xy -3.556 3.4036)
            (xy -3.0226 2.2606)
            (xy -2.6924 1.0414)
            (xy -2.6162 -0.254)
            (xy -2.7686 -1.4986)
            (xy -3.175 -2.7178)
            (xy -3.81 -3.81)
            (xy -3.81 -3.81)
            (xy -0.635 -3.81))
          (stroke (width -25.4) (type default))
          (fill (type background)))
        (arc
          (start 3.81 0)
          (mid 2.1915 2.5936)
          (end -0.6096 3.81)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (pin input line
          (at -7.62 -2.54 0)
          (length 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "10" (effects (font (size 1.27 1.27)))))
        (pin output line
          (at 7.62 0 180)
          (length 3.81)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "8" (effects (font (size 1.27 1.27)))))
        (pin input line
          (at -7.62 2.54 0)
          (length 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "9" (effects (font (size 1.27 1.27))))))
      (symbol "74LS86_3_1"
        (polyline
          (pts (xy -3.81 -2.54) (xy -3.175 -2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none)))
        (polyline
          (pts (xy -3.81 2.54) (xy -3.175 2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none))))
      (symbol "74LS86_4_0"
        (arc
          (start -4.4196 -3.81)
          (mid -3.2033 0)
          (end -4.4196 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -3.81 -3.81)
          (mid -2.589 0)
          (end -3.81 3.81)
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (arc
          (start -0.6096 -3.81)
          (mid 2.1842 -2.5851)
          (end 3.81 0)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 -3.81) (xy -0.635 -3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts (xy -3.81 3.81) (xy -0.635 3.81))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (polyline
          (pts
            (xy -0.635 3.81)
            (xy -3.81 3.81)
            (xy -3.81 3.81)
            (xy -3.556 3.4036)
            (xy -3.0226 2.2606)
            (xy -2.6924 1.0414)
            (xy -2.6162 -0.254)
            (xy -2.7686 -1.4986)
            (xy -3.175 -2.7178)
            (xy -3.81 -3.81)
            (xy -3.81 -3.81)
            (xy -0.635 -3.81))
          (stroke (width -25.4) (type default))
          (fill (type background)))
        (arc
          (start 3.81 0)
          (mid 2.1915 2.5936)
          (end -0.6096 3.81)
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (pin output line
          (at 7.62 0 180)
          (length 3.81)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "11" (effects (font (size 1.27 1.27)))))
        (pin input line
          (at -7.62 2.54 0)
          (length 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "12" (effects (font (size 1.27 1.27)))))
        (pin input line
          (at -7.62 -2.54 0)
          (length 4.445)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "13" (effects (font (size 1.27 1.27))))))
      (symbol "74LS86_4_1"
        (polyline
          (pts (xy -3.81 -2.54) (xy -3.175 -2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none)))
        (polyline
          (pts (xy -3.81 2.54) (xy -3.175 2.54))
          (stroke (width 0.1524) (type default))
          (fill (type none))))
      (symbol "74LS86_5_0"
        (pin power_in line
          (at 0 12.7 270)
          (length 5.08)
          (name "VCC" (effects (font (size 1.27 1.27))))
          (number "14" (effects (font (size 1.27 1.27)))))
        (pin power_in line
          (at 0 -12.7 90)
          (length 5.08)
          (name "GND" (effects (font (size 1.27 1.27))))
          (number "7" (effects (font (size 1.27 1.27))))))
      (symbol "74LS86_5_1"
        (rectangle
          (start -5.08 7.62)
          (end 5.08 -7.62)
          (stroke (width 0.254) (type default))
          (fill (type background)))))
    (symbol "Simulation_SPICE:VPULSE"
      (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" "VPULSE"
        (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.Type" "PULSE"
        (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" "y1=0 y2=1 td=2n tr=2n tf=2n tw=50n per=100n"
        (at 2.54 -2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "ki_keywords" "simulation"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Voltage source, pulse"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "VPULSE_0_0"
        (polyline
          (pts
            (xy -2.032 -0.762)
            (xy -1.397 -0.762)
            (xy -1.143 0.762)
            (xy -0.127 0.762)
            (xy 0.127 -0.762)
            (xy 1.143 -0.762)
            (xy 1.397 0.762)
            (xy 2.032 0.762))
          (stroke (width 0) (type default))
          (fill (type none)))
        (text "+"
          (at 0 1.905 0)
          (effects (font (size 1.27 1.27)))))
      (symbol "VPULSE_0_1"
        (circle
          (center 0 0)
          (radius 2.54)
          (stroke (width 0.254) (type default))
          (fill (type background))))
      (symbol "VPULSE_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"
        (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))))))))
  (wire
    (pts (xy 38.1 27.94) (xy 38.1 33.02))
    (stroke (width 0) (type default))
    (uuid 10e2521d-a5b5-49c2-af13-4869f56ebf8e))
  (wire
    (pts (xy 38.1 38.1) (xy 38.1 43.18))
    (stroke (width 0) (type default))
    (uuid 19cef106-dae1-48cb-b532-e456017d7501))
  (wire
    (pts (xy 60.96 35.56) (xy 73.66 35.56))
    (stroke (width 0) (type default))
    (uuid d6f45e6f-7931-4804-bf6b-c9f830dd60e6))
  (wire
    (pts (xy 41.91 33.02) (xy 38.1 33.02))
    (stroke (width 0) (type default))
    (uuid fefe0377-926d-4e6f-a294-d2d5c8f41e4d))
  (wire
    (pts (xy 41.91 38.1) (xy 38.1 38.1))
    (stroke (width 0) (type default))
    (uuid 207df9e2-7c08-484c-a691-082c8376e444))
  (wire
    (pts (xy 57.15 35.56) (xy 60.96 35.56))
    (stroke (width 0) (type default))
    (uuid b765cca0-0bb9-4540-9564-4c3b3267108a))
  (global_label "VOUT"
    (shape output)
    (at 73.66 35.56 0)
    (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 5947c688-2e94-431a-8076-50c3ed68a84c)
    (property "Intersheetrefs" "${INTERSHEET_REFS}"
      (at 73.66 35.56 0)
      (effects (font (size 1.27 1.27)) hide)))
  (symbol
    (lib_id "74xx:74LS86")
    (at 49.53 35.56 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 064d6bb6-6cb6-43b5-92a3-339e0e2424be)
    (property "Reference" "U1"
      (at 49.2125 30.1625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 49.53 35.56 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 49.53 35.56 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 3b067c87-1ad8-4570-811c-fd6ed5d0a1dc))
    (pin "2" (uuid 41653e23-597d-4f38-87ba-c0188f8ed023))
    (pin "3" (uuid e9a6611b-5d6d-4b0f-ae60-afa4a4be3ec9))
    (pin "4" (uuid 9898b45e-c991-4cf0-9f5b-7b07a79ee57e))
    (pin "5" (uuid ba8d7ac0-8016-442a-b4e7-86431f50c7f9))
    (pin "6" (uuid e5c28301-8abb-4506-9572-7aab7a110434))
    (pin "10" (uuid 858262c3-8ff2-4680-9f9a-a4994372fb90))
    (pin "8" (uuid 77e5112d-147d-4998-9b32-d30053929de1))
    (pin "9" (uuid 8a498440-5687-41db-9d03-67181e9f85b0))
    (pin "11" (uuid 2333914c-88ee-4d99-bd72-a20741d6945b))
    (pin "12" (uuid 4bc5f368-0281-4226-941f-e7247e777a45))
    (pin "13" (uuid a45fd3a6-0fdc-46b3-8ce2-05630c0c8d17))
    (pin "14" (uuid 81848145-8d60-4353-a532-f1a5caf3286c))
    (pin "7" (uuid 7eca2de6-a1e9-48b0-ba71-c221552f63ad))
    (instances
      (project "xorphasedet"
        (path "/54b810ee-9935-40b5-8d26-5dc72ade0373"
          (reference "U1")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VPULSE")
    (at 33.02 27.94 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid a78d5e31-cd0f-4fdc-b326-34c6197b5053)
    (property "Reference" "V1"
      (at 33.02 22.225 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "2.5V 100Hz"
      (at 33.02 23.8125 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 33.02 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid ad6f203c-7c8c-4c8c-bc85-e4c404aa9fed))
    (pin "2" (uuid 58bd2529-4cf2-4f12-b217-911e43ed16ec))
    (instances
      (project "xorphasedet"
        (path "/54b810ee-9935-40b5-8d26-5dc72ade0373"
          (reference "V1")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 27.94 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid b81b723d-3330-4c33-bb97-2123566790c0)
    (property "Reference" "#PWR001"
      (at 27.94 27.94 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 27.94 90)
      (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 f6872edd-ac3d-401a-b74f-73fa4383737d))
    (instances
      (project "xorphasedet"
        (path "/54b810ee-9935-40b5-8d26-5dc72ade0373"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VPULSE")
    (at 33.02 43.18 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 3fb51814-d5ab-4168-abc8-5c9668848c05)
    (property "Reference" "V2"
      (at 33.02 47.3075 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "2.5V 105Hz"
      (at 33.02 48.895 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 33.02 43.18 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 05d06d4c-bcde-46d3-bbbd-e2ae9edf60ec))
    (pin "2" (uuid ed17718c-9cb6-4462-8a6c-0244a32bae1b))
    (instances
      (project "xorphasedet"
        (path "/54b810ee-9935-40b5-8d26-5dc72ade0373"
          (reference "V2")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 43.18 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 63f24480-cb0c-4b15-bdec-a67eb1cbd384)
    (property "Reference" "#PWR002"
      (at 27.94 43.18 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 43.18 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 43.18 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid fa4a6e5d-d443-4765-bfbe-30fcc7d6e231))
    (instances
      (project "xorphasedet"
        (path "/54b810ee-9935-40b5-8d26-5dc72ade0373"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
