Verify battery control circuit design
This commit is contained in:
File diff suppressed because it is too large
Load Diff
2252
Hardware/keyboard_controller/block/battery_control.kicad_sch
Normal file
2252
Hardware/keyboard_controller/block/battery_control.kicad_sch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1011,249 +1011,6 @@
|
||||
)
|
||||
(uuid "ff47488f-e6ea-43e1-9149-61b1a075a1cb")
|
||||
)
|
||||
(symbol
|
||||
(lib_id "Transistor_BJT:BC857BS")
|
||||
(at 91.44 53.34 180)
|
||||
(unit 1)
|
||||
(exclude_from_sim no)
|
||||
(in_bom yes)
|
||||
(on_board yes)
|
||||
(dnp no)
|
||||
(uuid "339d59ec-637f-4ade-a2ab-e3d3fd43c3cf")
|
||||
(property "Reference" "Q4"
|
||||
(at 86.36 54.6101 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Value" "BC857BS"
|
||||
(at 86.36 52.0701 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Footprint" "Package_TO_SOT_SMD:SOT-363_SC-70-6"
|
||||
(at 86.36 55.88 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Datasheet" "https://assets.nexperia.com/documents/data-sheet/BC857BS.pdf"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Description" "100mA IC, 45V Vce, Dual PNP/PNP Transistors, SOT-363"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Library" "model/BC857BS.lib"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Name" "BC857BS"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Device" "SUBCKT"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Pins" "1=1 2=2 3=3 4=4 5=5 6=6"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(pin "1"
|
||||
(uuid "0ef969b6-c0bb-4391-8263-35e528eb3c5f")
|
||||
)
|
||||
(pin "5"
|
||||
(uuid "a8ea70d5-542d-407a-a088-6adc40088000")
|
||||
)
|
||||
(pin "3"
|
||||
(uuid "4fd282d8-b478-4421-9587-a28a75b45e10")
|
||||
)
|
||||
(pin "4"
|
||||
(uuid "04889b31-9ee5-4759-93a3-ce1a25a20963")
|
||||
)
|
||||
(pin "6"
|
||||
(uuid "88e86ed6-99c2-4315-b9e4-2884fa16b329")
|
||||
)
|
||||
(pin "2"
|
||||
(uuid "ac178155-6378-4c77-aa67-5c3c63ea8632")
|
||||
)
|
||||
(instances
|
||||
(project "keyboard_controller"
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/596f4890-a5ff-4776-a61d-272e3bcbcdd5/efdabaa1-4e6c-4b02-8574-dea8c0bb89ea"
|
||||
(reference "Q4")
|
||||
(unit 1)
|
||||
)
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/81f7f138-c870-483b-b965-9895c9eb889f/14e475fc-3ffe-44c4-b9c9-539e1b0d41cb"
|
||||
(reference "Q4")
|
||||
(unit 1)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(symbol
|
||||
(lib_id "Transistor_BJT:BC857BS")
|
||||
(at 111.76 53.34 0)
|
||||
(mirror x)
|
||||
(unit 2)
|
||||
(exclude_from_sim no)
|
||||
(in_bom yes)
|
||||
(on_board yes)
|
||||
(dnp no)
|
||||
(uuid "4af76aab-f986-4385-9520-d829779e4c99")
|
||||
(property "Reference" "Q4"
|
||||
(at 116.84 54.6101 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Value" "BC857BS"
|
||||
(at 116.84 52.0701 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Footprint" "Package_TO_SOT_SMD:SOT-363_SC-70-6"
|
||||
(at 116.84 55.88 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Datasheet" "https://assets.nexperia.com/documents/data-sheet/BC857BS.pdf"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Description" "100mA IC, 45V Vce, Dual PNP/PNP Transistors, SOT-363"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Library" "model/BC857BS.lib"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Name" "BC857BS"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Device" "SUBCKT"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Sim.Pins" "1=1 2=2 3=3 4=4 5=5 6=6"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(pin "2"
|
||||
(uuid "c9ea3d90-2830-4126-b88a-0fd24360711e")
|
||||
)
|
||||
(pin "3"
|
||||
(uuid "1f117375-eed3-499d-810e-413161476626")
|
||||
)
|
||||
(pin "4"
|
||||
(uuid "82288bd0-7b05-4685-9985-15ff818cccc2")
|
||||
)
|
||||
(pin "6"
|
||||
(uuid "ac493fb1-6c77-4e80-881b-4ac7315c5b8e")
|
||||
)
|
||||
(pin "5"
|
||||
(uuid "15a8b5c0-57ca-4b56-b219-e9810d1d26f5")
|
||||
)
|
||||
(pin "1"
|
||||
(uuid "fe5a9cc9-809d-4ee9-bb88-6d7e9389e085")
|
||||
)
|
||||
(instances
|
||||
(project "keyboard_controller"
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/596f4890-a5ff-4776-a61d-272e3bcbcdd5/efdabaa1-4e6c-4b02-8574-dea8c0bb89ea"
|
||||
(reference "Q4")
|
||||
(unit 2)
|
||||
)
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/81f7f138-c870-483b-b965-9895c9eb889f/14e475fc-3ffe-44c4-b9c9-539e1b0d41cb"
|
||||
(reference "Q4")
|
||||
(unit 2)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(symbol
|
||||
(lib_id "Device:R")
|
||||
(at 114.3 67.31 0)
|
||||
@@ -1328,6 +1085,177 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
(symbol
|
||||
(lib_id "Transistor_BJT:BC857BS")
|
||||
(at 91.44 53.34 180)
|
||||
(unit 1)
|
||||
(exclude_from_sim no)
|
||||
(in_bom yes)
|
||||
(on_board yes)
|
||||
(dnp no)
|
||||
(uuid "a5e62f4f-bd9f-4f84-a9a7-f6ebf87cac94")
|
||||
(property "Reference" "Q4"
|
||||
(at 86.36 54.6101 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Value" "BC857BS"
|
||||
(at 86.36 52.0701 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Footprint" "Package_TO_SOT_SMD:SOT-363_SC-70-6"
|
||||
(at 86.36 55.88 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Datasheet" "https://assets.nexperia.com/documents/data-sheet/BC857BS.pdf"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Description" "100mA IC, 45V Vce, Dual PNP/PNP Transistors, SOT-363"
|
||||
(at 91.44 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(pin "3"
|
||||
(uuid "8943e3e5-5171-4f5a-9c87-4c3ad53a29ef")
|
||||
)
|
||||
(pin "2"
|
||||
(uuid "44850ec9-8de9-44c4-b0ff-ae8afbc7bb08")
|
||||
)
|
||||
(pin "6"
|
||||
(uuid "caa22a55-e331-47c0-9744-6e0f6378be94")
|
||||
)
|
||||
(pin "4"
|
||||
(uuid "29985eda-8500-4ba4-a210-6d6b1992dc69")
|
||||
)
|
||||
(pin "1"
|
||||
(uuid "a373da5e-d15a-4879-ad7a-ffaaf30e5bc4")
|
||||
)
|
||||
(pin "5"
|
||||
(uuid "b2c73db4-4c11-4655-bac8-4c4fa5211dfa")
|
||||
)
|
||||
(instances
|
||||
(project ""
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/596f4890-a5ff-4776-a61d-272e3bcbcdd5/efdabaa1-4e6c-4b02-8574-dea8c0bb89ea"
|
||||
(reference "Q4")
|
||||
(unit 1)
|
||||
)
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/81f7f138-c870-483b-b965-9895c9eb889f/14e475fc-3ffe-44c4-b9c9-539e1b0d41cb"
|
||||
(reference "Q8")
|
||||
(unit 1)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(symbol
|
||||
(lib_id "Transistor_BJT:BC857BS")
|
||||
(at 111.76 53.34 0)
|
||||
(mirror x)
|
||||
(unit 2)
|
||||
(exclude_from_sim no)
|
||||
(in_bom yes)
|
||||
(on_board yes)
|
||||
(dnp no)
|
||||
(uuid "ab7b9b20-c0d1-45d5-8f90-20f8b4b28502")
|
||||
(property "Reference" "Q4"
|
||||
(at 116.84 54.6101 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Value" "BC857BS"
|
||||
(at 116.84 52.0701 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(justify left)
|
||||
)
|
||||
)
|
||||
(property "Footprint" "Package_TO_SOT_SMD:SOT-363_SC-70-6"
|
||||
(at 116.84 55.88 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Datasheet" "https://assets.nexperia.com/documents/data-sheet/BC857BS.pdf"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(property "Description" "100mA IC, 45V Vce, Dual PNP/PNP Transistors, SOT-363"
|
||||
(at 111.76 53.34 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
)
|
||||
(hide yes)
|
||||
)
|
||||
)
|
||||
(pin "3"
|
||||
(uuid "8943e3e5-5171-4f5a-9c87-4c3ad53a29ef")
|
||||
)
|
||||
(pin "2"
|
||||
(uuid "44850ec9-8de9-44c4-b0ff-ae8afbc7bb08")
|
||||
)
|
||||
(pin "6"
|
||||
(uuid "caa22a55-e331-47c0-9744-6e0f6378be94")
|
||||
)
|
||||
(pin "4"
|
||||
(uuid "29985eda-8500-4ba4-a210-6d6b1992dc69")
|
||||
)
|
||||
(pin "1"
|
||||
(uuid "a373da5e-d15a-4879-ad7a-ffaaf30e5bc4")
|
||||
)
|
||||
(pin "5"
|
||||
(uuid "b2c73db4-4c11-4655-bac8-4c4fa5211dfa")
|
||||
)
|
||||
(instances
|
||||
(project ""
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/596f4890-a5ff-4776-a61d-272e3bcbcdd5/efdabaa1-4e6c-4b02-8574-dea8c0bb89ea"
|
||||
(reference "Q4")
|
||||
(unit 2)
|
||||
)
|
||||
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd/81f7f138-c870-483b-b965-9895c9eb889f/14e475fc-3ffe-44c4-b9c9-539e1b0d41cb"
|
||||
(reference "Q8")
|
||||
(unit 2)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(symbol
|
||||
(lib_id "Device:R")
|
||||
(at 88.9 67.31 0)
|
||||
|
||||
1551
Hardware/keyboard_controller/testbench/battery_control.kicad_sch
Normal file
1551
Hardware/keyboard_controller/testbench/battery_control.kicad_sch
Normal file
File diff suppressed because it is too large
Load Diff
33
Hardware/keyboard_controller/testbench/battery_control.wbk
Normal file
33
Hardware/keyboard_controller/testbench/battery_control.wbk
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"last_sch_text_sim_command": "",
|
||||
"tabs": [
|
||||
{
|
||||
"analysis": "TRAN",
|
||||
"commands": [
|
||||
".tran 10m 80m 0",
|
||||
".kicad adjustpaths",
|
||||
".save all",
|
||||
".probe alli",
|
||||
".probe allp"
|
||||
],
|
||||
"dottedSecondary": true,
|
||||
"margins": {
|
||||
"bottom": 45,
|
||||
"left": 70,
|
||||
"right": 70,
|
||||
"top": 30
|
||||
},
|
||||
"measurements": [],
|
||||
"showGrid": true,
|
||||
"traces": [
|
||||
{
|
||||
"color": "rgb(228, 26, 28)",
|
||||
"signal": "V(/Battery_Control_Testbench/BATT_BOOST_EN)",
|
||||
"trace_type": 257
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"user_defined_signals": [],
|
||||
"version": 6
|
||||
}
|
||||
Reference in New Issue
Block a user