Revisión del diseño de PCB L298n

0

Decidí finalmente hacer mis tableros de controladores de motor, pero me encantaría tener algunos comentarios ya que es mi primer diseño de PCB.

Se basa principalmente en la hoja de datos del chip l298n. Así que aquí no hay mucho.

Se supone que R1 y R2 son resistencias de derivación, pero en mi caso, es probable que solo pueda reducirlas, ya que no planeo medir la potencia.

Todavía no estoy seguro de qué diodo usar. La mayoría del diseño que ya vi para el l298N parece usar diodos comunes como 1N4001 y similares.

Estaba planeando usar diodos 1N5822 para mi propio diseño. Tengo 1N4004, 1N60, 1N914 diodos en mi poder.

Actualización:

Listadered:

(export(versionD)(design(source/home/sss/KiCad/l298-hbridge/l298-hbridge.sch)(date"Thu 22 Nov 2018 12:00:18 PM MSK")
    (tool "Eeschema 4.0.4-stable")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source l298-hbridge.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref U1)
      (value L298N)
      (footprint L298N:DRIVER_L298N)
      (fields
        (field (name Field4) "Multiwatt-15 STMicroelectronics")
        (field (name Field5) L298N)
        (field (name Field6) None)
        (field (name Field7) Unavailable)
        (field (name Field8) STMicroelectronics))
      (libsource (lib L298N) (part L298N))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF655FE))
    (comp (ref D7)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF656A9))
    (comp (ref D5)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65926))
    (comp (ref D3)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF659F0))
    (comp (ref D1)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65A51))
    (comp (ref D8)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65A86))
    (comp (ref D6)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65AD3))
    (comp (ref D4)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65B16))
    (comp (ref D2)
      (value D)
      (footprint Diodes_ThroughHole:D_A-405_P7.62mm_Horizontal)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65B45))
    (comp (ref C1)
      (value C)
      (footprint Capacitors_ThroughHole:C_Disc_D5.0mm_W2.5mm_P2.50mm)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65B95))
    (comp (ref C2)
      (value C)
      (footprint Capacitors_ThroughHole:C_Disc_D5.0mm_W2.5mm_P2.50mm)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65C52))
    (comp (ref R1)
      (value R)
      (footprint Resistors_ThroughHole:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65CB6))
    (comp (ref R2)
      (value R)
      (footprint Resistors_ThroughHole:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF65D21))
    (comp (ref P2)
      (value CONN_01X04)
      (footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X04))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF679C5))
    (comp (ref P1)
      (value CONN_01X04)
      (footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X04))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF67BFC))
    (comp (ref P3)
      (value CONN_01X04)
      (footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X04))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF68D84))
    (comp (ref P4)
      (value CONN_01X02)
      (footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF6A123))
    (comp (ref P5)
      (value CONN_01X02)
      (footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
      (libsource (lib conn) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BF6A1EB)))
  (libparts
    (libpart (lib device) (part C)
      (description "Unpolarized capacitor")
      (footprints
        (fp C?)
        (fp C_????_*)
        (fp C_????)
        (fp SMD*_c)
        (fp Capacitor*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib conn) (part CONN_01X02)
      (description "Connector, single row, 01x02")
      (footprints
        (fp Pin_Header_Straight_1X02)
        (fp Pin_Header_Angled_1X02)
        (fp Socket_Strip_Straight_1X02)
        (fp Socket_Strip_Angled_1X02))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X02))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))))
    (libpart (lib conn) (part CONN_01X04)
      (description "Connector, single row, 01x04")
      (footprints
        (fp Pin_Header_Straight_1X04)
        (fp Pin_Header_Angled_1X04)
        (fp Socket_Strip_Straight_1X04)
        (fp Socket_Strip_Angled_1X04))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X04))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))
        (pin (num 4) (name P4) (type passive))))
    (libpart (lib device) (part D)
      (description Diode)
      (footprints
        (fp Diode_*)
        (fp D-Pak_TO252AA)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*))
      (fields
        (field (name Reference) D)
        (field (name Value) D))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib L298N) (part L298N)
      (fields
        (field (name Reference) U)
        (field (name Value) L298N)
        (field (name Footprint) DRIVER_L298N)
        (field (name Field4) "Multiwatt-15 STMicroelectronics")
        (field (name Field5) L298N)
        (field (name Field6) None)
        (field (name Field7) Unavailable)
        (field (name Field8) STMicroelectronics))
      (pins
        (pin (num 1) (name CSA) (type BiDi))
        (pin (num 2) (name OUTPUT1) (type output))
        (pin (num 3) (name OUTPUT2) (type output))
        (pin (num 4) (name SV-VS) (type power_in))
        (pin (num 5) (name INPUT1) (type input))
        (pin (num 6) (name ENABLEA) (type input))
        (pin (num 7) (name INPUT2) (type input))
        (pin (num 8) (name GND) (type passive))
        (pin (num 9) (name LV-VSS) (type power_in))
        (pin (num 10) (name INPUT3) (type input))
        (pin (num 11) (name ENABLEB) (type input))
        (pin (num 12) (name INPUT4) (type input))
        (pin (num 13) (name OUTPUT3) (type output))
        (pin (num 14) (name OUTPUT4) (type output))
        (pin (num 15) (name CSB) (type BiDi))))
    (libpart (lib device) (part R)
      (description Resistor)
      (footprints
        (fp R_*)
        (fp Resistor_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive)))))
  (libraries
    (library (logical L298N)
      (uri /home/sss/KiCad/library/L298N.lib))
    (library (logical device)
      (uri /usr/share/kicad/library/device.lib))
    (library (logical conn)
      (uri /usr/share/kicad/library/conn.lib)))
  (nets
    (net (code 1) (name "Net-(P2-Pad3)")
      (node (ref U1) (pin 7))
      (node (ref P2) (pin 3)))
    (net (code 2) (name "Net-(P2-Pad2)")
      (node (ref U1) (pin 10))
      (node (ref P2) (pin 2)))
    (net (code 3) (name "Net-(P2-Pad1)")
      (node (ref P2) (pin 1))
      (node (ref U1) (pin 12)))
    (net (code 4) (name "Net-(P1-Pad3)")
      (node (ref P1) (pin 3))
      (node (ref U1) (pin 6)))
    (net (code 5) (name "Net-(P2-Pad4)")
      (node (ref P2) (pin 4))
      (node (ref U1) (pin 5)))
    (net (code 6) (name "Net-(P1-Pad2)")
      (node (ref U1) (pin 11))
      (node (ref P1) (pin 2)))
    (net (code 7) (name +12V)
      (node (ref D7) (pin 1))
      (node (ref P5) (pin 2))
      (node (ref D3) (pin 1))
      (node (ref D1) (pin 1))
      (node (ref C2) (pin 2))
      (node (ref D5) (pin 1))
      (node (ref U1) (pin 4)))
    (net (code 8) (name "Net-(R1-Pad1)")
      (node (ref R1) (pin 1))
      (node (ref U1) (pin 1)))
    (net (code 9) (name "Net-(R2-Pad1)")
      (node (ref R2) (pin 1))
      (node (ref U1) (pin 15)))
    (net (code 10) (name GND)
      (node (ref D8) (pin 2))
      (node (ref D6) (pin 2))
      (node (ref D4) (pin 2))
      (node (ref D2) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref C2) (pin 1))
      (node (ref R1) (pin 2))
      (node (ref R2) (pin 2))
      (node (ref U1) (pin 8))
      (node (ref P5) (pin 1))
      (node (ref P4) (pin 1)))
    (net (code 11) (name "Net-(D1-Pad2)")
      (node (ref U1) (pin 2))
      (node (ref D2) (pin 1))
      (node (ref D1) (pin 2))
      (node (ref P3) (pin 1)))
    (net (code 12) (name "Net-(D3-Pad2)")
      (node (ref U1) (pin 3))
      (node (ref P3) (pin 2))
      (node (ref D4) (pin 1))
      (node (ref D3) (pin 2)))
    (net (code 13) (name +5V)
      (node (ref P1) (pin 4))
      (node (ref P1) (pin 1))
      (node (ref P4) (pin 2))
      (node (ref C1) (pin 1))
      (node (ref U1) (pin 9)))
    (net (code 14) (name "Net-(D5-Pad2)")
      (node (ref D5) (pin 2))
      (node (ref U1) (pin 13))
      (node (ref D6) (pin 1))
      (node (ref P3) (pin 3)))
    (net (code 15) (name "Net-(D7-Pad2)")
      (node (ref D8) (pin 1))
      (node (ref P3) (pin 4))
      (node (ref U1) (pin 14))
      (node (ref D7) (pin 2)))))

Además, las pistas tienen el tamaño de KiCad predeterminado (0.25 mm) para la mayoría, excepto las líneas PWR con un ancho de 1 mm. Estoy planeando grabar el tablero yo mismo.

1 respuesta

0

Le sugiero que lea la hoja de datos, antes de comenzar un diseño. La hoja de datos es la fuente de toda buena información. En primer lugar, la hoja de datos indica que los diodos deben ser Fast 2A con VF < 1.2V @ I = 2A y trr < 200ns. Este es el primer paso para un buen diseño. R1 y R2 pueden necesitar ser más grandes, ya que son las resistencias sensoriales para el conductor. esto significa que toda la corriente que pasa por su carga pasa por estas resistencias.

Las huellas que se requerirán reforzar, son las de los siguientes pines: 1,2,3,4,13,14,15. Dependiendo de la corriente de su carga, los conectores para la entrada de potencia y la salida del motor pueden necesitar ser más grandes.

Asegúrese de haber tenido en cuenta la disipación de potencia del L298. Dependiendo de la carga, es posible que necesites un disipador de calor.

En cuanto al diseño, haría las almohadillas del L298 Oblong, de modo que tengas mejores posibilidades de no romper las almohadillas mientras perforas los agujeros y dar una base más sólida para las juntas de soldadura.

    
respondido por el Elmesito

Lea otras preguntas en las etiquetas