Skip to content

Commit

Permalink
picked new inductor, buils
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrod Tuma authored and Jarrod Tuma committed Jul 27, 2024
1 parent 1152412 commit 6dab2d4
Show file tree
Hide file tree
Showing 6 changed files with 30,449 additions and 8 deletions.
30,046 changes: 30,046 additions & 0 deletions elec/footprints/footprints.3dshapes/IND-SMD_L10.2-W10.0-H3.8.step

Large diffs are not rendered by default.

279 changes: 279 additions & 0 deletions elec/footprints/footprints.3dshapes/IND-SMD_L10.2-W10.0-H3.8.wrl

Large diffs are not rendered by default.

81 changes: 81 additions & 0 deletions elec/footprints/footprints.kicad_sym
Original file line number Diff line number Diff line change
Expand Up @@ -1075,4 +1075,85 @@
)
)
)
(symbol "CDRH104RT125NP-680MC"
(in_bom yes)
(on_board yes)
(property
"Reference"
"L"
(id 0)
(at 0 5.08 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Value"
"CDRH104RT125NP-680MC"
(id 1)
(at 0 -5.08 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Footprint"
"footprints:IND-SMD_L10.2-W10.0"
(id 2)
(at 0 -7.62 0)
(effects (font (size 1.27 1.27) ) hide)
)
(property
"Datasheet"
"https://lcsc.com/product-detail/Power-Inductors_68uH-20_C167254.html"
(id 3)
(at 0 -10.16 0)
(effects (font (size 1.27 1.27) ) hide)
)
(property
"LCSC Part"
"C167254"
(id 5)
(at 0 -12.70 0)
(effects (font (size 1.27 1.27) ) hide)
)
(symbol "CDRH104RT125NP-680MC_0_1"
(arc
(start -4.29 -0.02)
(mid -2.81 -1.01)
(end -2.27 -0.02)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(arc
(start -2.13 -0.02)
(mid -0.66 -1.01)
(end -0.11 -0.02)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(arc
(start 0.02 -0.02)
(mid 1.49 -1.01)
(end 2.04 -0.02)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(arc
(start 2.21 -0.02)
(mid 3.68 -1.01)
(end 4.23 -0.02)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(pin unspecified line
(at 5.08 -0.00 180)
(length 0.762)
(name "2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -5.08 -0.00 0)
(length 0.762)
(name "1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
26 changes: 26 additions & 0 deletions elec/footprints/footprints.pretty/IND-SMD_L10.2-W10.0.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(module easyeda2kicad:IND-SMD_L10.2-W10.0 (layer F.Cu) (tedit 5DC5F6A4)
(attr smd)
(fp_text reference REF** (at 0 -4.0) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value IND-SMD_L10.2-W10.0 (at 0 4.0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -5.18 -1.81) (end -5.18 -5.08) (layer F.SilkS) (width 0.15))
(fp_line (start -5.18 -5.08) (end 5.18 -5.08) (layer F.SilkS) (width 0.15))
(fp_line (start 5.18 -5.08) (end 5.18 -1.81) (layer F.SilkS) (width 0.15))
(fp_line (start -5.18 1.81) (end -5.18 5.08) (layer F.SilkS) (width 0.15))
(fp_line (start -5.18 5.08) (end 5.18 5.08) (layer F.SilkS) (width 0.15))
(fp_line (start 5.18 5.08) (end 5.18 1.81) (layer F.SilkS) (width 0.15))
(pad 1 smd rect (at 4.88 0.00 0.00) (size 2.12 3.32) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -4.88 0.00 0.00) (size 2.12 3.32) (layers F.Cu F.Paste F.Mask))
(fp_circle (center -5.10 5.00) (end -5.07 5.00) (layer F.Fab) (width 0.06))
(model "{build_dir}/IND-SMD_L10.2-W10.0-H3.8.step"
(offset (xyz 0.000 -0.000 -0.000))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 270))
)
)
17 changes: 9 additions & 8 deletions elec/src/LM5164_regulator.ato
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ module LM5164Buck from AdjustableRegulator:
r_switching_frequency = new Resistor # Rt in the datasheet
ic.RON ~ r_switching_frequency.p1; r_switching_frequency.p2 ~ ic.GND
# Use an assertion here rather than an assignment in case we replace the resistor elsewhere
assert r_switching_frequency.value within (v_out * 2500) / (switching_frequency / 1kHz) * 1kΩ
assert (r_switching_frequency.value / 1kΩ) / (v_in * 2.5) * 1us > 50ns
assert r_switching_frequency.value within (v_out/1V * 2500) / (switching_frequency / 1kHz) * 1kΩ
assert (r_switching_frequency.value / 1kΩ) / (v_in/1V * 2.5) * 1us > 50ns
r_switching_frequency.footprint = "R0402"

# 6.3.9 Optional: Enable / UVLO
Expand All @@ -101,7 +101,7 @@ module LM5164Buck from AdjustableRegulator:

k_ind = inductor_ripple_current / max(output_current)

assert k_ind <= 0.4 # The datasheet says min 0.2, but I believe they mean that's a reasonable minimum for component selection
assert k_ind <= 0.5 # For most applications, choose an inductance such that the inductor ripple current, ΔIL, is between 30% and 50% of the rated load current at nominal input voltage.

l_min = (max(v_in) - v_out) / (max(output_current) * max(k_ind)) * v_out / (max(v_in) * switching_frequency) # Min inductor value
assert inductor.value >= l_min #Make sure the inductor is large enough to keep our ripple current in check
Expand Down Expand Up @@ -171,21 +171,22 @@ module Reg10V_1 from LM5164Buck:
c_out.esr = 40mΩ


from "power_parts.ato" import CDRH127_LDNP_270MC, ECE2CM220F16OTPO, NM1206B104K251CEGN, TCC1206X7R226K100HT
from "power_parts.ato" import CDRH104RT125NP_680MC, ECE2CM220F16OTPO, NM1206B104K251CEGN, TCC1206X7R226K100HT

###################################################
# Example usage: Stage 2
# Select specific components once you've found their specs
###################################################

module Reg10V from LMR16030Buck:
module Reg10V from LM5164Buck:
v_in = 48V to 68V
v_out = 10V +/- 6%
switching_frequency = 650kHz +/- 5%
switching_frequency = 400kHz +/- 5%
output_ripple = 120mV

# inductor.rated_current = 4A
# inductor.value = 22 to 32uH
inductor -> CDRH127_LDNP_270MC
inductor -> CDRH104RT125NP_680MC

# c_in_bulk.value = 10uF to 22uF
# c_in_bulk.voltage = 120V
Expand All @@ -204,7 +205,7 @@ module Reg10V from LMR16030Buck:
from "xt-connectors/xt-connectors.ato" import XT30_Female_Right_Angle, XT30_Male_Right_Angle
from "generics/leds.ato" import LEDIndicatorRed

module LMR16030BuckDemo:
module LM5164BuckDemo:
"""
This is a demo board of the Reg10V module
"""
Expand Down
8 changes: 8 additions & 0 deletions elec/src/power_parts.ato
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ component CDRH127_LDNP_270MC from Inductor:
value = 27uH +/- 20%
rated_current = 4.2A

component CDRH104RT125NP_680MC from Inductor:
footprint = "IND-SMD_L10.2-W10.0"
lcsc_id = "C167254"
mpn = "C167254"

value = 68uH +/- 20%
rated_current = 1.25A


component SS510_C908682 from SchottkyDiode:
# component SS510_C908682
Expand Down

0 comments on commit 6dab2d4

Please sign in to comment.