(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 73bdbdaa-6783-4b79-8312-a29b4c6c64f4)
  (paper "A4")
  (title_block
    (title "Phase Comparator (Type II)")
    (company "EETree 电子森林 · CircuitJS 示例转换"))
  (lib_symbols
    (symbol "CircuitJS:chip_7496279a"
      (pin_numbers hide)
      (pin_names (offset 0.508))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "U"
        (at 0 0 0)
        (effects (font (size 1.27 1.27))))
      (property "Value" "PHASE COMP"
        (at 0 0 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))
      (symbol "chip_7496279a_0_1"
        (rectangle
          (start 2.54 2.54)
          (end 12.7 -7.62)
          (stroke (width 0.254) (type default))
          (fill (type background))))
      (symbol "chip_7496279a_1_1"
        (pin passive line
          (at 0.0 0.0 0)
          (length 2.54)
          (name "I1" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.0 1.0)))))
        (pin passive line
          (at 0.0 -5.08 0)
          (length 2.54)
          (name "I2" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.0 1.0)))))
        (pin passive line
          (at 15.24 0.0 180)
          (length 2.54)
          (name "O" (effects (font (size 1.27 1.27))))
          (number "3" (effects (font (size 1.0 1.0)))))))
    (symbol "power:+5V"
      (power)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "#PWR"
        (at 0 -3.81 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Value" "+5V"
        (at 0 3.556 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 \"+5V\""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "+5V_0_1"
        (polyline
          (pts (xy -0.762 1.27) (xy 0 2.54))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0 0) (xy 0 2.54))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 0 2.54) (xy 0.762 1.27))
          (stroke (width 0) (type default))
          (fill (type none))))
      (symbol "+5V_1_1"
        (pin power_in line hide
          (at 0 0 90)
          (length 0)
          (name "+5V" (effects (font (size 1.27 1.27))))
          (number "1" (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)))))))
    (symbol "Device:R"
      (pin_numbers hide)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "R"
        (at 2.032 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Value" "R"
        (at 0 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" "R res resistor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Resistor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_fp_filters" "R_*"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "R_0_1"
        (rectangle
          (start -1.016 -2.54)
          (end 1.016 2.54)
          (stroke (width 0.254) (type default))
          (fill (type none))))
      (symbol "R_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: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))))))))
  (junction
    (at 60.96 43.18)
    (diameter 0)
    (color 0 0 0 0)
    (uuid a62ce770-8d2d-475b-b27b-d5153504645f))
  (wire
    (pts (xy 38.1 38.1) (xy 38.1 43.18))
    (stroke (width 0) (type default))
    (uuid 2ff9d038-2feb-461d-865e-82524219e9f0))
  (wire
    (pts (xy 53.34 43.18) (xy 60.96 43.18))
    (stroke (width 0) (type default))
    (uuid ace6e9fb-6f4d-46c8-b5b6-852a03d6b30f))
  (wire
    (pts (xy 38.1 48.26) (xy 38.1 53.34))
    (stroke (width 0) (type default))
    (uuid 13384afb-20bb-4263-91f9-fdd50aefeb1f))
  (wire
    (pts (xy 60.96 43.18) (xy 71.12 43.18))
    (stroke (width 0) (type default))
    (uuid ae8bdd2c-47a6-4086-8a20-e61178f869ec))
  (wire
    (pts (xy 60.96 27.94) (xy 53.34 27.94))
    (stroke (width 0) (type default))
    (uuid 9f6bb87f-6df7-4a36-b893-7851eeec3e5f))
  (wire
    (pts (xy 60.96 39.37) (xy 60.96 43.18))
    (stroke (width 0) (type default))
    (uuid 8e6c7a0b-2988-47fa-9c27-6aaed0243209))
  (wire
    (pts (xy 60.96 31.75) (xy 60.96 27.94))
    (stroke (width 0) (type default))
    (uuid 79ceb6ff-0e31-43e7-9662-a5dbc66d95ce))
  (wire
    (pts (xy 60.96 46.99) (xy 60.96 43.18))
    (stroke (width 0) (type default))
    (uuid 898d28b3-c7d3-4f52-9180-8061e6543e45))
  (wire
    (pts (xy 60.96 54.61) (xy 60.96 58.42))
    (stroke (width 0) (type default))
    (uuid 4965aa03-fa1d-41c4-8121-631bf25bd8a1))
  (global_label "VOUT"
    (shape output)
    (at 71.12 43.18 0)
    (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 1bb24aef-e060-4152-97b1-2d5c7c607d1c)
    (property "Intersheetrefs" "${INTERSHEET_REFS}"
      (at 71.12 43.18 0)
      (effects (font (size 1.27 1.27)) hide)))
  (symbol
    (lib_id "CircuitJS:chip_7496279a")
    (at 38.1 43.18 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 2c8d0e2f-722e-4612-a150-0874630a0c33)
    (property "Reference" "U1"
      (at 45.72 37.465 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "PHASE COMP"
      (at 45.72 39.0525 0)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 38.1 43.18 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid c7c482d6-68d4-4a88-af28-a3c269528ae1))
    (pin "2" (uuid f5f21243-18d1-483d-860c-148e496c2677))
    (pin "3" (uuid 8fdee762-eadb-42a5-b91b-381eac8abc54))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "U1")
          (unit 1)))))
  (symbol
    (lib_id "power:+5V")
    (at 53.34 27.94 90)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 4cfcb8d8-bfe5-402a-b0a2-d82cff8f0e60)
    (property "Reference" "#PWR001"
      (at 53.34 27.94 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "+5V"
      (at 48.5775 27.94 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 53.34 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid eff995ae-e24c-4041-bf57-371989b861b1))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 60.96 58.42 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 90df4938-d1a9-485e-abfc-a76b3d7f326d)
    (property "Reference" "#PWR002"
      (at 60.96 58.42 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 60.96 58.42 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 60.96 58.42 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 47b14a35-9a2d-42e7-8bcb-fcf42951a8e1))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "#PWR002")
          (unit 1)))))
  (symbol
    (lib_id "Device:R")
    (at 60.96 35.56 180)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 01d7a457-d94f-42b3-966a-d33341a67e56)
    (property "Reference" "R1"
      (at 64.61125 34.76625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "1kΩ"
      (at 64.61125 36.35375 0)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 60.96 35.56 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid c4f698b1-92e5-42b5-8cab-7fd74033698a))
    (pin "2" (uuid d4c23927-9a12-4d7d-86c4-ececb5bd4677))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "R1")
          (unit 1)))))
  (symbol
    (lib_id "Device:R")
    (at 60.96 50.8 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 090cc844-f0ce-449a-840e-1676526eb4fa)
    (property "Reference" "R2"
      (at 64.61125 50.00625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "1kΩ"
      (at 64.61125 51.59375 0)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 60.96 50.8 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 81799c7d-6938-4489-99b1-a3de98c5293c))
    (pin "2" (uuid 5728a537-b9e3-4098-b8d1-33c01477a45f))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "R2")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VPULSE")
    (at 33.02 38.1 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 51111125-4f80-441d-a41d-bc2284c3c312)
    (property "Reference" "V1"
      (at 33.02 32.385 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "2.5V 105Hz"
      (at 33.02 33.9725 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 33.02 38.1 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 238f0419-b007-4172-925f-33ae53e32285))
    (pin "2" (uuid 9f12e6a2-7c67-4904-8112-df9f61904a45))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "V1")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 38.1 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 81304902-d7d1-4b02-9f01-4f892c2085cc)
    (property "Reference" "#PWR003"
      (at 27.94 38.1 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 38.1 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 38.1 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid ec61082a-ea56-4ab5-b5ab-d0cbfd7a272b))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "#PWR003")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VPULSE")
    (at 33.02 53.34 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 32758148-715e-4edb-9c01-841222050fe6)
    (property "Reference" "V2"
      (at 33.02 57.4675 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "2.5V 100Hz"
      (at 33.02 59.055 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 33.02 53.34 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 00726a1a-5365-4176-abcd-9f529531a6c2))
    (pin "2" (uuid 5523db5e-4379-4876-a51d-2209297e6788))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "V2")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 53.34 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 607dc85c-ab2a-4f99-a09a-01b64b97df19)
    (property "Reference" "#PWR004"
      (at 27.94 53.34 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 53.34 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 53.34 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid add08c38-c10e-4f59-979d-da4cf6e2cbc3))
    (instances
      (project "phasecomp"
        (path "/1776d1dc-e895-4261-81bc-783b3dcb5aa8"
          (reference "#PWR004")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
