kicad/demos/simulation/analog-multiplier/a-multi.kicad_sch

1386 lines
21 KiB
Plaintext
Raw Normal View History

(kicad_sch
(version 20231120)
(generator "eeschema")
(generator_version "8.0")
(uuid "e63e39d7-6ac0-4ffd-8aa3-1841a4541b55")
(paper "A4")
(lib_symbols
(symbol "SPICE_Basic:R"
(pin_numbers hide)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "R"
(at 2.54 1.27 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "R"
(at 0 0 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Footprint" ""
(at -1.778 0 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Resistor"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Spice_Primitive" "R"
(at 2.032 0 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Spice_Model" "1k"
(at 2.54 -1.27 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Spice_Netlist_Enabled" "Y"
(at 2.032 0 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "R res resistor"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "R_*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(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 "SPICE_Basic:VSIN"
(pin_numbers hide)
(pin_names
(offset 0.0254)
)
(exclude_from_sim no)
(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 yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Voltage source, sinusoidal"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Spice_Netlist_Enabled" "Y"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Spice_Primitive" "V"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Spice_Model" "sin(0 1 1k)"
(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 yes)
)
)
(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)
)
)
)
(text "-"
(at 0 -1.778 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)
)
)
)
)
)
)
(symbol "XSPICE_BasicAnalog:MULTIPLIER"
(pin_names
(offset 0.0254)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "A"
(at -2.54 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "MULTIPLIER"
(at 2.54 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 yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Multiplier block"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Spice_Netlist_Enabled" "Y"
(at -2.54 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Spice_Primitive" "A"
(at -2.54 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Spice_Model" "mult"
(at 2.54 2.54 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "A" "~"
(at -1.27 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Spice_Node_Sequence" ""
(at 5.08 3.81 0)
(effects
(font
(size 0.0254 0.0254)
)
(justify left)
)
)
(property "ki_keywords" "XSPICE"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "MULTIPLIER_0_0"
(polyline
(pts
(xy -2.54 -2.54) (xy -1.905 -1.905)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -2.54 2.54) (xy -1.905 1.905)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(text "×"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
)
)
)
(symbol "MULTIPLIER_0_1"
(circle
(center 0 0)
(radius 2.54)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "MULTIPLIER_1_1"
(pin input line
(at -5.08 2.54 0)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -5.08 -2.54 0)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin output line
(at 5.08 0 180)
(length 2.54)
(name "~"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
)
(symbol "power:GND"
(power)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "#PWR"
(at 0 -6.35 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(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 yes)
)
)
(property "Datasheet" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "power-flag"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(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
(at 0 0 270)
(length 0) hide
(name "GND"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
)
)
(wire
(pts
(xy 162.56 87.63) (xy 162.56 81.28)
)
(stroke
(width 0)
(type default)
)
(uuid "30847447-8468-4833-9280-aa0e25b3bd7a")
)
(wire
(pts
(xy 142.24 76.2) (xy 168.91 76.2)
)
(stroke
(width 0)
(type default)
)
(uuid "5905dc30-fa40-46f9-ac86-36afe93923a4")
)
(wire
(pts
(xy 162.56 81.28) (xy 168.91 81.28)
)
(stroke
(width 0)
(type default)
)
(uuid "5caf6da2-61b7-402d-87c3-d911ec1360c8")
)
(wire
(pts
(xy 195.58 88.9) (xy 195.58 90.17)
)
(stroke
(width 0)
(type default)
)
(uuid "7f62b91d-2bba-4518-800d-e04ca89267cb")
)
(wire
(pts
(xy 195.58 81.28) (xy 195.58 78.74)
)
(stroke
(width 0)
(type default)
)
(uuid "92bf4143-6b64-45e1-9bad-1c1fc5d0266d")
)
(wire
(pts
(xy 179.07 78.74) (xy 195.58 78.74)
)
(stroke
(width 0)
(type default)
)
(uuid "b12f7ca8-1afd-4997-9e4a-6ebc88b8e32c")
)
(text "Alternately you can do an amplitude modulation study\nby setting (e.g.):\n V2 to dc=0 ampl=1 f=100k \n V1 to dc=0.6 ampl=0.4 f=1k"
(exclude_from_sim no)
(at 140.716 115.316 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
(uuid "0ba4c2db-8636-4277-ac52-8cd2635299bc")
)
(text ".tran 1u 10m\n"
(exclude_from_sim no)
(at 142.875 98.425 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "6eeb3d11-1d3f-4798-9b0f-7b8b322a6f06")
)
(label "in1"
(at 152.4 76.2 0)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "538413e4-d215-4b70-88ff-086d651e92b0")
)
(label "in2"
(at 163.83 81.28 0)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "586f494a-7fd7-4c8d-8f53-129bac68ffe6")
)
(label "out"
(at 186.69 78.74 0)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "8b3aa90c-250a-4430-b52f-3c3b3fdecbb7")
)
(symbol
(lib_id "SPICE_Basic:VSIN")
(at 142.24 81.28 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "05c30cf8-6550-4fc3-8f1b-863a7d22e5bb")
(property "Reference" "V2"
(at 146.05 78.6763 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "VSIN"
(at 146.05 81.2163 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" ""
(at 142.24 81.28 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 142.24 81.28 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 142.24 81.28 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Device" "V"
(at 142.24 81.28 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Sim.Type" "SIN"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Params" "dc=0 ampl=1 f=2k"
(at 146.05 83.7563 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Sim.Pins" "1=+ 2=-"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "51899160-f15e-40c8-a415-ed1d677e33bf")
)
(pin "2"
(uuid "53d39d07-acab-40b5-b05b-c1caa3e06896")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "V2")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GND")
(at 162.56 97.79 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "07bd7b4f-7b3b-45d2-9ddd-a93347273d96")
(property "Reference" "#PWR0101"
(at 162.56 104.14 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GND"
(at 162.56 102.87 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 162.56 97.79 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 162.56 97.79 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 162.56 97.79 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "9bb4ee23-ff73-4dcc-a513-1e5c07762bc3")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "#PWR0101")
(unit 1)
)
)
)
)
(symbol
(lib_id "SPICE_Basic:VSIN")
(at 162.56 92.71 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "44ceed4d-02f1-4589-87bb-12242eec59cf")
(property "Reference" "V1"
(at 166.37 90.1063 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "VSIN"
(at 166.37 92.6463 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" ""
(at 162.56 92.71 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 162.56 92.71 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 162.56 92.71 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Device" "V"
(at 162.56 92.71 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Sim.Type" "SIN"
(at 1.27 6.35 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Params" "dc=0 ampl=1 f=1k"
(at 166.37 95.1863 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Sim.Pins" "1=+ 2=-"
(at 1.27 6.35 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "64d8d7b7-14ab-4042-9ee8-f1aec24a139c")
)
(pin "2"
(uuid "57349e08-abba-4d14-877b-12ee057b548b")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "V1")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GND")
(at 142.24 86.36 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "607ac08b-9efc-4f71-8c5b-ba69d80b73ed")
(property "Reference" "#PWR0103"
(at 142.24 92.71 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GND"
(at 142.24 91.44 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 142.24 86.36 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 142.24 86.36 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 142.24 86.36 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "06616167-0208-4ae3-b5c6-45a50744c78f")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "#PWR0103")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GND")
(at 195.58 90.17 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "b326f2d7-bd78-49dd-8487-0c2abb54c6a5")
(property "Reference" "#PWR0102"
(at 195.58 96.52 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GND"
(at 195.58 95.25 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 195.58 90.17 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 195.58 90.17 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 195.58 90.17 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "eb875f5c-938d-4591-900b-9554c8408956")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "#PWR0102")
(unit 1)
)
)
)
)
(symbol
(lib_id "XSPICE_BasicAnalog:MULTIPLIER")
(at 173.99 78.74 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "e38cf251-5772-404c-8781-078969fdffa3")
(property "Reference" "A1"
(at 170.18 73.66 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "MULTIPLIER"
(at 173.99 82.55 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 173.99 78.74 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 173.99 78.74 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 173.99 78.74 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Device" "SUBCKT"
(at 171.45 74.93 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
(hide yes)
)
)
(property "Sim.Pins" "1=in1 2=in2 3=out"
(at 173.99 85.09 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Library" "mult.lib"
(at 173.99 78.74 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Name" "mult"
(at 173.99 78.74 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "d2d047ad-4c4e-493a-babd-00e2030669fc")
)
(pin "2"
(uuid "8db2869f-d634-44cf-9271-356f5da1229c")
)
(pin "3"
(uuid "adf8bc33-ed30-4f6a-b3c4-6099bc16a21c")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "A1")
(unit 1)
)
)
)
)
(symbol
(lib_id "SPICE_Basic:R")
(at 195.58 85.09 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "faaa4eb1-3a85-4ffb-8e62-4408e03c107e")
(property "Reference" "R1"
(at 198.12 83.8199 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "R"
(at 195.58 85.09 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Footprint" ""
(at 193.802 85.09 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 195.58 85.09 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 195.58 85.09 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Device" "SPICE"
(at 197.612 85.09 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Params" "type=\"R\" model=\"1k\" lib=\"\""
(at 0 1.27 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Sim.Pins" "1=1 2=2"
(at 0 1.27 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "b01861f4-d8b4-4e4a-abe8-e79abd992746")
)
(pin "2"
(uuid "93af4ed3-f074-4873-b513-7d2625e5fd96")
)
(instances
(project "a-multi"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "R1")
(unit 1)
)
)
)
)
(sheet_instances
(path "/"
(page "1")
)
)
)