(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid e8cf4551-0240-4e86-8a20-396f48478673)
  (paper "A4")
  (title_block
    (title "Half-Wave Rectifier (inverting)")
    (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:D"
      (pin_numbers hide)
      (pin_names (offset 1.016) hide)
      (in_bom yes)
      (on_board yes)
      (property "Reference" "D"
        (at 0 2.54 0)
        (effects (font (size 1.27 1.27))))
      (property "Value" "D"
        (at 0 -2.54 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 "Sim.Device" "D"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Pins" "1=K 2=A"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "diode"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Diode"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "D_0_1"
        (polyline
          (pts (xy -1.27 1.27) (xy -1.27 -1.27))
          (stroke (width 0.254) (type default))
          (fill (type none)))
        (polyline
          (pts (xy 1.27 0) (xy -1.27 0))
          (stroke (width 0) (type default))
          (fill (type none)))
        (polyline
          (pts
            (xy 1.27 1.27)
            (xy 1.27 -1.27)
            (xy -1.27 0)
            (xy 1.27 1.27))
          (stroke (width 0.254) (type default))
          (fill (type none))))
      (symbol "D_1_1"
        (pin passive line
          (at -3.81 0 0)
          (length 2.54)
          (name "K" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 3.81 0 180)
          (length 2.54)
          (name "A" (effects (font (size 1.27 1.27))))
          (number "2" (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 "Amplifier_Operational:LM358"
      (pin_numbers hide)
      (pin_names (offset 0.127))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "U"
        (at 0 5.08 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Value" "LM358"
        (at 0 -5.08 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" "http://www.ti.com/lit/ds/symlink/lm2904-n.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" "dual opamp"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "LM358_1_1"
        (polyline
          (pts
            (xy -5.08 5.08)
            (xy 5.08 0)
            (xy -5.08 -5.08)
            (xy -5.08 5.08))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (pin output line
          (at 7.62 0 180)
          (length 2.54)
          (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 2.54)
          (name "-" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27)))))
        (pin input line
          (at -7.62 2.54 0)
          (length 2.54)
          (name "+" (effects (font (size 1.27 1.27))))
          (number "3" (effects (font (size 1.27 1.27))))))
      (symbol "LM358_2_1"
        (polyline
          (pts
            (xy -5.08 5.08)
            (xy 5.08 0)
            (xy -5.08 -5.08)
            (xy -5.08 5.08))
          (stroke (width 0.254) (type default))
          (fill (type background)))
        (pin input line
          (at -7.62 2.54 0)
          (length 2.54)
          (name "+" (effects (font (size 1.27 1.27))))
          (number "5" (effects (font (size 1.27 1.27)))))
        (pin input line
          (at -7.62 -2.54 0)
          (length 2.54)
          (name "-" (effects (font (size 1.27 1.27))))
          (number "6" (effects (font (size 1.27 1.27)))))
        (pin output line
          (at 7.62 0 180)
          (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "7" (effects (font (size 1.27 1.27))))))
      (symbol "LM358_3_1"
        (pin power_in line
          (at -2.54 -7.62 90)
          (length 3.81)
          (name "V-" (effects (font (size 1.27 1.27))))
          (number "4" (effects (font (size 1.27 1.27)))))
        (pin power_in line
          (at -2.54 7.62 270)
          (length 3.81)
          (name "V+" (effects (font (size 1.27 1.27))))
          (number "8" (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))))))))
  (junction
    (at 55.88 35.56)
    (diameter 0)
    (color 0 0 0 0)
    (uuid 722d4503-ffc0-4432-9311-97f19ec7dcd8))
  (junction
    (at 50.8 35.56)
    (diameter 0)
    (color 0 0 0 0)
    (uuid c6caf16d-3625-4b84-84b4-985cd60b7b74))
  (junction
    (at 73.66 27.94)
    (diameter 0)
    (color 0 0 0 0)
    (uuid 456846a1-3510-406e-a927-424094c1d7e3))
  (junction
    (at 73.66 38.1)
    (diameter 0)
    (color 0 0 0 0)
    (uuid 4fbd491f-26e7-4697-aa4d-40cacd28bbfb))
  (wire
    (pts (xy 55.88 35.56) (xy 55.88 27.94))
    (stroke (width 0) (type default))
    (uuid d06448a0-1011-4166-8a25-1f6ac3a9fe6f))
  (wire
    (pts (xy 50.8 35.56) (xy 55.88 35.56))
    (stroke (width 0) (type default))
    (uuid 4a7a6d94-d435-4f3a-bf37-d35b8313093b))
  (wire
    (pts (xy 50.8 35.56) (xy 50.8 48.26))
    (stroke (width 0) (type default))
    (uuid 7b736cbd-a76f-46ac-a38a-e521b3497dfa))
  (wire
    (pts (xy 50.8 48.26) (xy 73.66 48.26))
    (stroke (width 0) (type default))
    (uuid b8817837-3b31-4a18-9705-eec9f08c4425))
  (wire
    (pts (xy 73.66 27.94) (xy 83.82 27.94))
    (stroke (width 0) (type default))
    (uuid a9cf0cc4-7aaa-4723-b568-80d609261469))
  (wire
    (pts (xy 73.66 36.83) (xy 73.66 38.1))
    (stroke (width 0) (type default))
    (uuid 3f6373d6-f566-48a0-bb01-81da274181c0))
  (wire
    (pts (xy 73.66 29.21) (xy 73.66 27.94))
    (stroke (width 0) (type default))
    (uuid c2855a42-726a-4d11-8812-4121c1b77dbf))
  (wire
    (pts (xy 48.26 35.56) (xy 50.8 35.56))
    (stroke (width 0) (type default))
    (uuid 05fecf15-cad7-4b68-8c4f-667751e0a2ab))
  (wire
    (pts (xy 40.64 35.56) (xy 38.1 35.56))
    (stroke (width 0) (type default))
    (uuid 09190683-a4b5-4327-b91e-1b29861276a7))
  (wire
    (pts (xy 73.66 46.99) (xy 73.66 48.26))
    (stroke (width 0) (type default))
    (uuid 85cffd10-1272-404e-ad0b-d69833ae4015))
  (wire
    (pts (xy 73.66 39.37) (xy 73.66 38.1))
    (stroke (width 0) (type default))
    (uuid 7cc3c7d0-aebc-45ee-ac9c-f24c6764a681))
  (wire
    (pts (xy 60.96 27.94) (xy 55.88 27.94))
    (stroke (width 0) (type default))
    (uuid 3463d50e-1f8b-4039-b850-732587659df1))
  (wire
    (pts (xy 68.58 27.94) (xy 73.66 27.94))
    (stroke (width 0) (type default))
    (uuid df782e04-411d-4af5-85da-016502c9ce0b))
  (wire
    (pts (xy 57.15 35.56) (xy 55.88 35.56))
    (stroke (width 0) (type default))
    (uuid 6d913425-d618-4306-874b-78e107ae60d5))
  (wire
    (pts (xy 57.15 40.64) (xy 55.88 40.64))
    (stroke (width 0) (type default))
    (uuid f9f15769-3291-4fdc-8f18-915313845e0d))
  (wire
    (pts (xy 72.39 38.1) (xy 73.66 38.1))
    (stroke (width 0) (type default))
    (uuid eb7b8338-eb02-4b34-a078-71a5d624807b))
  (global_label "VOUT"
    (shape output)
    (at 83.82 27.94 0)
    (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 5edda675-00b8-4330-801b-80445c908e52)
    (property "Intersheetrefs" "${INTERSHEET_REFS}"
      (at 83.82 27.94 0)
      (effects (font (size 1.27 1.27)) hide)))
  (symbol
    (lib_id "power:GND")
    (at 55.88 40.64 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 1af6d6af-8ae4-4366-81d8-79a59411623d)
    (property "Reference" "#PWR001"
      (at 55.88 40.64 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 55.88 40.64 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 55.88 40.64 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 36768754-b7d5-4beb-94b3-3cf0367dd0ec))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "Device:D")
    (at 73.66 33.02 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 192d1998-fd66-4b2d-ae61-62b5b82b219c)
    (property "Reference" "D1"
      (at 77.1525 33.02 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 73.66 33.02 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 73.66 33.02 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid f607aaaa-4dc5-46a5-9bf7-df2cf9886918))
    (pin "2" (uuid 2fc71f11-0e38-4d10-b128-c789fdfd830f))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "D1")
          (unit 1)))))
  (symbol
    (lib_id "Device:R")
    (at 44.45 35.56 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid fd7b5ab3-c9bd-488f-843d-31a901b401d6)
    (property "Reference" "R1"
      (at 44.45 31.4325 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "10kΩ"
      (at 44.45 33.02 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 44.45 35.56 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 98007732-f36d-4332-b704-8dc20ffbbb41))
    (pin "2" (uuid 583c3bef-4599-40b4-ab2e-66d95b89afb0))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "R1")
          (unit 1)))))
  (symbol
    (lib_id "Device:D")
    (at 73.66 43.18 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 346fbc12-f74f-4663-8e58-abcfe780f238)
    (property "Reference" "D2"
      (at 77.1525 43.18 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 73.66 43.18 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 73.66 43.18 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 9b0f8319-c93c-4e69-9e9a-76674669556e))
    (pin "2" (uuid 9ef8c9a3-a080-48ef-adfe-53fa7c9af398))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "D2")
          (unit 1)))))
  (symbol
    (lib_id "Device:R")
    (at 64.77 27.94 90)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 74fe82ab-6c71-434e-8e69-4aad318afde1)
    (property "Reference" "R2"
      (at 64.77 23.8125 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "10kΩ"
      (at 64.77 25.4 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 64.77 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 44983c12-9de4-4b48-aa29-b45d9d23a825))
    (pin "2" (uuid 89365775-7ee0-4e49-9bb6-b50efb11a921))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "R2")
          (unit 1)))))
  (symbol
    (lib_id "Amplifier_Operational:LM358")
    (at 64.77 38.1 0)
    (mirror x)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 4f844b09-d9a2-40d7-8db6-3da8f94d6876)
    (property "Reference" "U1"
      (at 64.77 31.4325 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "OpAmp"
      (at 64.77 38.1 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 64.77 38.1 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 5dc58804-1d69-45fb-9df8-1ae40643c0e6))
    (pin "2" (uuid 4cf0475e-1f89-46f1-98d3-d3dcd79ac423))
    (pin "3" (uuid 0d306f80-f036-4dfe-ade9-cca364a4f573))
    (pin "5" (uuid fa59aaad-1388-4de6-bbf6-880faf349806))
    (pin "6" (uuid 15d32a0b-432e-4a82-bcda-3d8bf124e12a))
    (pin "7" (uuid b6a4fb4f-70d6-4260-9778-6305ec5581d7))
    (pin "4" (uuid 39637ef0-0d00-4e01-a90e-c7c0a53700c1))
    (pin "8" (uuid 53af9fc8-6998-4b3f-a860-606b54cb2d18))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "U1")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VSIN")
    (at 33.02 35.56 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid e766eca9-660c-442b-a8f3-376d8e3a4eb6)
    (property "Reference" "V1"
      (at 33.02 29.845 90)
      (effects (font (size 1.27 1.27))))
    (property "Value" "500mV 40Hz"
      (at 33.02 31.4325 90)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 33.02 35.56 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 32c6cc4e-7949-4dfc-bc7f-8809318be352))
    (pin "2" (uuid a98f15e5-a838-4d18-9dbd-d35dc6a04539))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "V1")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 35.56 270)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 9df81281-9971-4ffb-951a-f3d9ea1b01c6)
    (property "Reference" "#PWR002"
      (at 27.94 35.56 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 35.56 90)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 35.56 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 02cd472a-1135-40ea-95e6-ac8b6a599b3f))
    (instances
      (project "amp-rect"
        (path "/b437f278-05c1-42ad-8f19-058047d66bd7"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
