(kicad_sch (version 20230121) (generator eeschema)
  (paper "A4")
  (lib_symbols
    (symbol "R_1" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "R" (at 2.032 0 90))
      (property "Value" "R_1" (at 0 0 90))
      (property "Footprint" "" (at -1.778 0 90))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_fp_filters" "R_* Resistor_*" (at 0 0 0))
      (symbol "R_1_0_1"
        (rectangle (start -1.016 -2.54) (end 1.016 2.54)
          (fill (type none))
        )
      )
      (symbol "R_1_1_1"
        (pin passive line (at 0 3.81 270) (length 1.27)
          (name "1")
          (number "1")
        )
        (pin passive line (at 0 -3.81 90) (length 1.27)
          (name "2")
          (number "2")
        )
      )
    )
    (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "#FLG" (at 0 1.905 0))
      (property "Value" "PWR_FLAG" (at 0 3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "ki_keywords" "power-flag" (at 0 0 0))
      (property "ki_description" "Special symbol for telling ERC where power comes from" (at 0 0 0))
      (symbol "PWR_FLAG_0_0"
        (pin power_out line (at 0 0 90) (length 0)
          (name "pwr")
          (number "1")
        )
      )
      (symbol "PWR_FLAG_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 1.27)
            (xy -1.016 1.905)
            (xy 0 2.54)
            (xy 1.016 1.905)
            (xy 0 1.27)
          )
          (fill (type none))
        )
      )
    )
    (symbol "rectifier_schlib:C" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "C" (at 0.635 2.54 0))
      (property "Value" "C" (at 0.635 -2.54 0))
      (property "Footprint" "" (at 0.9652 -3.81 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_fp_filters" "C? C_????_* C_???? SMD*_c Capacitor* Capacitors_ThroughHole:C_Radial_D10_L13_P5 Capacitors_SMD:C_0805 Capacitors_SMD:C_1206" (at 0 0 0))
      (symbol "C_0_1"
        (polyline
          (pts
            (xy -2.032 -0.762)
            (xy 2.032 -0.762)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy -2.032 0.762)
            (xy 2.032 0.762)
          )
          (fill (type none))
        )
      )
      (symbol "C_1_1"
        (pin passive line (at 0 3.81 270) (length 2.794)
          (name "")
          (number "1")
        )
        (pin passive line (at 0 -3.81 90) (length 2.794)
          (name "2")
          (number "2")
        )
      )
    )
    (symbol "rectifier_schlib:D" (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "D" (at 0 2.54 0))
      (property "Value" "D" (at 0 -2.54 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_fp_filters" "Diode_* D-Pak_TO252AA *SingleDiode *_Diode_* *SingleDiode*" (at 0 0 0))
      (symbol "D_0_1"
        (polyline
          (pts
            (xy -1.27 1.27)
            (xy -1.27 -1.27)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 1.27)
            (xy -1.27 0)
            (xy 1.27 -1.27)
          )
          (fill (type outline))
        )
      )
      (symbol "D_1_1"
        (pin passive line (at -3.81 0 0) (length 2.54)
          (name "K")
          (number "1")
        )
        (pin passive line (at 3.81 0 180) (length 2.54)
          (name "A")
          (number "2")
        )
      )
    )
    (symbol "rectifier_schlib:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -3.81 0))
      (property "Value" "GND" (at 0 -3.1242 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (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)
          )
          (fill (type none))
        )
      )
      (symbol "GND_1_1"
        (pin power_in line (at 0 0 270) (length 0) hide
          (name "GND")
          (number "1")
        )
      )
    )
    (symbol "rectifier_schlib:R" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "R" (at 2.032 0 90))
      (property "Value" "R" (at 0 0 90))
      (property "Footprint" "" (at -1.778 0 90))
      (property "Datasheet" "" (at 0 0 0))
      (property "ki_fp_filters" "R_* Resistor_*" (at 0 0 0))
      (symbol "R_0_1"
        (rectangle (start -1.016 -2.54) (end 1.016 2.54)
          (fill (type none))
        )
      )
      (symbol "R_1_1"
        (pin passive line (at 0 3.81 270) (length 1.27)
          (name "1")
          (number "1")
        )
        (pin passive line (at 0 -3.81 90) (length 1.27)
          (name "2")
          (number "2")
        )
      )
    )
    (symbol "rectifier_schlib:VSOURCE" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
      (property "Reference" "V" (at 5.08 5.08 0))
      (property "Value" "VSOURCE" (at 6.35 2.54 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "Fieldname" "Value" (at 0 0 0))
      (property "Spice_Primitive" "V" (at 0 0 0))
      (property "Spice_Node_Sequence" "1 2" (at -7.62 5.08 0))
      (symbol "VSOURCE_0_1"
        (polyline
          (pts
            (xy 0 -1.905)
            (xy 0 1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 1.905)
            (xy -0.635 0.635)
            (xy 0.635 0.635)
            (xy 0 1.905)
          )
          (fill (type outline))
        )
        (circle (center 0 0) (radius 2.54)
          (fill (type none))
        )
      )
      (symbol "VSOURCE_1_1"
        (pin input line (at 0 5.08 270) (length 2.54)
          (name "~")
          (number "1")
        )
        (pin input line (at 0 -5.08 90) (length 2.54)
          (name "~")
          (number "2")
        )
      )
    )
  )
  (junction (at 123.19 109.22) (diameter 1.016) (color 0 0 0 0))
  (junction (at 137.16 109.22) (diameter 1.016) (color 0 0 0 0))
  (junction (at 137.16 93.98) (diameter 1.016) (color 0 0 0 0))
  (junction (at 111.76 109.22) (diameter 1.016) (color 0 0 0 0))
  (wire (pts (xy 121.92 93.98) (xy 125.73 93.98)))
  (wire (pts (xy 137.16 97.79) (xy 137.16 93.98)))
  (wire (pts (xy 123.19 109.22) (xy 137.16 109.22)))
  (wire (pts (xy 111.76 109.22) (xy 123.19 109.22)))
  (wire (pts (xy 111.76 93.98) (xy 114.3 93.98)))
  (wire (pts (xy 111.76 97.79) (xy 111.76 93.98)))
  (wire (pts (xy 133.35 93.98) (xy 137.16 93.98)))
  (wire (pts (xy 146.05 109.22) (xy 146.05 105.41)))
  (wire (pts (xy 111.76 109.22) (xy 111.76 107.95)))
  (wire (pts (xy 137.16 93.98) (xy 146.05 93.98)))
  (wire (pts (xy 137.16 109.22) (xy 137.16 105.41)))
  (wire (pts (xy 146.05 93.98) (xy 146.05 97.79)))
  (wire (pts (xy 111.76 110.49) (xy 111.76 109.22)))
  (wire (pts (xy 137.16 109.22) (xy 146.05 109.22)))
  (wire (pts (xy 123.19 109.22) (xy 123.19 110.49)))
  (text ".tran 1u 10m\n" (at 109.22 124.46 0))
  (text "*.ac dec 10 1 1Meg\n" (at 109.22 127 0))
  (label "rect_out" (at 146.05 93.98 0) (fields_autoplaced))
  (label "signal_in" (at 111.76 93.98 0) (fields_autoplaced))
  (symbol (lib_id "rectifier_schlib:VSOURCE") (at 111.76 102.87 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "V1" (at 108.5088 104.0384 0))
    (property "Value" "${SIM.PARAMS}" (at 108.5088 101.727 0))
    (property "Footprint" "" (at 111.76 102.87 0))
    (property "Datasheet" "" (at 111.76 102.87 0))
    (property "Fieldname" "Value" (at 111.76 102.87 0))
    (property "Sim.Device" "SPICE" (at 111.76 102.87 0))
    (property "Sim.Params" "type=\"V\" model=\"SINE(0 1.5 1k 0 0 0 0)\" lib=\"\"" (at 0 0 0))
    (property "Sim.Pins" "1=1 2=2" (at 119.38 107.95 0))
    (pin "1")
    (pin "2")
    (instances
      (project "rectifier"
        (path
          (reference "V1") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "rectifier_schlib:GND") (at 111.76 110.49 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "#PWR01" (at 111.76 116.84 0))
    (property "Value" "GND" (at 111.887 114.8842 0))
    (property "Footprint" "" (at 111.76 110.49 0))
    (property "Datasheet" "" (at 111.76 110.49 0))
    (pin "1")
    (instances
      (project "rectifier"
        (path
          (reference "#PWR01") (unit 1)
        )
      )
    )
  )
  (symbol (lib_name "R_1") (lib_id "rectifier_schlib:R") (at 118.11 93.98 90) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "R1" (at 118.11 90.1319 90))
    (property "Value" "1k" (at 118.11 91.8941 90))
    (property "Footprint" "" (at 118.11 95.758 90))
    (property "Datasheet" "" (at 118.11 93.98 0))
    (property "Fieldname" "Value" (at 118.11 93.98 0))
    (property "Sim.Pins" "1=1 2=2" (at 118.11 93.98 0))
    (pin "1")
    (pin "2")
    (instances
      (project "rectifier"
        (path
          (reference "R1") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "rectifier_schlib:D") (at 129.54 93.98 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "D1" (at 129.5781 89.9287 0))
    (property "Value" "1N4148" (at 129.5781 91.6909 0))
    (property "Footprint" "" (at 129.54 93.98 0))
    (property "Datasheet" "" (at 129.54 93.98 0))
    (property "Fieldname" "Value" (at 129.54 93.98 0))
    (property "Sim.Library" "diode.mod" (at 129.54 93.98 0))
    (property "Sim.Name" "1N4148" (at 129.54 93.98 0))
    (property "Sim.Pins" "2=1 1=2" (at 129.54 93.98 0))
    (pin "1")
    (pin "2")
    (instances
      (project "rectifier"
        (path
          (reference "D1") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "rectifier_schlib:C") (at 137.16 101.6 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "C1" (at 140.081 100.4316 0))
    (property "Value" "100n" (at 140.081 102.743 0))
    (property "Footprint" "" (at 138.1252 105.41 0))
    (property "Datasheet" "" (at 137.16 101.6 0))
    (property "Fieldname" "Value" (at 137.16 101.6 0))
    (property "Sim.Pins" "1=1 2=2" (at 137.16 101.6 0))
    (pin "1")
    (pin "2")
    (instances
      (project "rectifier"
        (path
          (reference "C1") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "rectifier_schlib:R") (at 146.05 101.6 0) (unit 1)
    (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "R2" (at 147.828 101.0055 0))
    (property "Value" "100k" (at 147.828 102.7677 0))
    (property "Footprint" "" (at 144.272 101.6 90))
    (property "Datasheet" "" (at 146.05 101.6 0))
    (property "Fieldname" "Value" (at 146.05 101.6 0))
    (property "Sim.Pins" "1=1 2=2" (at 146.05 101.6 0))
    (pin "1")
    (pin "2")
    (instances
      (project "rectifier"
        (path
          (reference "R2") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:PWR_FLAG") (at 123.19 110.49 180) (unit 1)
    (in_bom yes) (on_board yes) (dnp no)
    (property "Reference" "#FLG0101" (at 123.19 112.395 0))
    (property "Value" "PWR_FLAG" (at 123.19 114.8144 0))
    (property "Footprint" "" (at 123.19 110.49 0))
    (property "Datasheet" "~" (at 123.19 110.49 0))
    (pin "1")
    (instances
      (project "rectifier"
        (path
          (reference "#FLG0101") (unit 1)
        )
      )
    )
  )
  (sheet_instances
    (path (page "1"))
  )
)
