(export (version D)
  (design
    (source rectifier.sch)
    (date "So 29 Okt 2017 16:11:39 CET")
    (tool "Eeschema (2017-10-23 revision 788972554)-makepkg")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source rectifier.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref P3)
      (value CONN_01X02)
      (footprint stmbl:RM5.08_1x2)
      (libsource (lib stmbl) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E4043D))
    (comp (ref P2)
      (value CONN_01X02)
      (footprint stmbl:akl182-2)
      (libsource (lib stmbl) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E40510))
    (comp (ref P1)
      (value CONN_01X03)
      (footprint stmbl:RM5.08_1x3)
      (libsource (lib stmbl) (part CONN_01X03))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E4055C))
    (comp (ref C1)
      (value CP)
      (footprint Capacitors_ThroughHole:C_Radial_D26_L31_P10)
      (libsource (lib device) (part CP))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E40702))
    (comp (ref RL1)
      (value FINDER-40.52)
      (footprint Relays_THT:Relay_DPDT_Schrack-RT2_RM5mm)
      (libsource (lib relays) (part FINDER-40.52))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E405BE))
    (comp (ref RL2)
      (value FINDER-40.52)
      (footprint Relays_THT:Relay_DPDT_Schrack-RT2_RM5mm)
      (libsource (lib relays) (part FINDER-40.52))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E406EB))
    (comp (ref F1)
      (value Fuse)
      (footprint Fuse_Holders_and_Fuses:Fuseholder5x20_horiz_SemiClosed_Casing10x25mm)
      (libsource (lib device) (part Fuse))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E4072E))
    (comp (ref TH1)
      (value Thermistor_NTC)
      (footprint Varistors:RV_Disc_D21.5_W6.1_P7.5)
      (libsource (lib device) (part Thermistor_NTC))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E4136A))
    (comp (ref D1)
      (value D_Bridge_-A+A)
      (footprint stmbl:dfb_bridge)
      (libsource (lib device) (part D_Bridge_-A+A))
      (sheetpath (names /) (tstamps /))
      (tstamp 58E41948))
    (comp (ref D5)
      (value "ES1J R2")
      (footprint stmbl:SMA_Standard)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C27))
    (comp (ref D6)
      (value "ES1J R2")
      (footprint stmbl:SMA_Standard)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C28))
    (comp (ref L2)
      (value "1m 250mA")
      (footprint stmbl:NPI31W)
      (libsource (lib stmbl) (part INDUCTOR))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C29))
    (comp (ref C11)
      (value 100n)
      (footprint stmbl:C_0603)
      (fields
        (field (name Voltage) 25V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C2A))
    (comp (ref C10)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 25V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C2E))
    (comp (ref C9)
      (value 100n)
      (footprint stmbl:C_0603)
      (fields
        (field (name Voltage) 25V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C2F))
    (comp (ref R9)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C30))
    (comp (ref R11)
      (value 15k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C31))
    (comp (ref D3)
      (value green)
      (footprint stmbl:LED-0805-SIDE)
      (libsource (lib device) (part LED))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C32))
    (comp (ref R7)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C34))
    (comp (ref R3)
      (value 51k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C36))
    (comp (ref R1)
      (value 15k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C37))
    (comp (ref D2)
      (value SS34A)
      (footprint stmbl:SMA_Standard)
      (libsource (lib device) (part D_Schottky))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C38))
    (comp (ref C2)
      (value 100n)
      (footprint stmbl:C_0603)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C39))
    (comp (ref L1)
      (value "4.7µH 1.5A")
      (footprint stmbl:SMD_INDUCTOR_32x25)
      (libsource (lib stmbl) (part INDUCTOR))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C3A))
    (comp (ref U1)
      (value ACT4088)
      (footprint TO_SOT_Packages_SMD:SOT-23-6)
      (libsource (lib stmbl) (part ACT4088))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C3B))
    (comp (ref R6)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C3F))
    (comp (ref C5)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C40))
    (comp (ref C3)
      (value 100n)
      (footprint stmbl:C_0603)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C41))
    (comp (ref U3)
      (value lnk304D)
      (footprint stmbl:SOIC-7)
      (libsource (lib stmbl) (part lnk304D))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C42))
    (comp (ref C8)
      (value 150n)
      (footprint stmbl:C_1808)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C43))
    (comp (ref R2)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C45))
    (comp (ref R8)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C46))
    (comp (ref R10)
      (value 1.5k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C47))
    (comp (ref C4)
      (value 2.2µ)
      (footprint stmbl:C_0603)
      (fields
        (field (name Voltage) 25V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C48))
    (comp (ref C14)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C49))
    (comp (ref C15)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C4A))
    (comp (ref C6)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C4B))
    (comp (ref R16)
      (value 3.9k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C4C))
    (comp (ref C13)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C4D))
    (comp (ref C12)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C4E))
    (comp (ref C17)
      (value 10µ)
      (footprint stmbl:C_0805)
      (fields
        (field (name Voltage) 6.3V))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59595C4F))
    (comp (ref U2)
      (value STM32F042F6Px)
      (footprint Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm)
      (libsource (lib stm32) (part STM32F042F6Px))
      (sheetpath (names /) (tstamps /))
      (tstamp 5959A05C))
    (comp (ref R13)
      (value R)
      (footprint stmbl:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5959D222))
    (comp (ref R14)
      (value R)
      (footprint stmbl:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5959D341))
    (comp (ref R15)
      (value R)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5959D3B5))
    (comp (ref C16)
      (value C)
      (footprint stmbl:C_0603)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 5959DCAA))
    (comp (ref C7)
      (value C)
      (footprint stmbl:C_0603)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 5959F83F))
    (comp (ref Q3)
      (value Q_NMOS_GDS)
      (footprint TO_SOT_Packages_THT:TO-247_Horizontal_Neutral123_largePads)
      (libsource (lib device) (part Q_NMOS_GDS))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A049D))
    (comp (ref Q2)
      (value Q_NMOS_GDS)
      (footprint stmbl:SOT-23)
      (libsource (lib device) (part Q_NMOS_GSD))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A06A7))
    (comp (ref R12)
      (value R)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A0A6C))
    (comp (ref P4)
      (value CONN_01X02)
      (footprint stmbl:RM5.08_1x2)
      (libsource (lib stmbl) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A1749))
    (comp (ref D4)
      (value D)
      (footprint stmbl:SMA_Standard)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A4986))
    (comp (ref R5)
      (value R)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A677E))
    (comp (ref J1)
      (value CONN_01X04)
      (footprint Pin_Headers:Pin_Header_Straight_1x04)
      (libsource (lib stmbl) (part CONN_01X04))
      (sheetpath (names /) (tstamps /))
      (tstamp 595A7AFD))
    (comp (ref R20)
      (value R)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 595CC4A1))
    (comp (ref D7)
      (value D)
      (footprint stmbl:SMA_Standard)
      (libsource (lib device) (part D))
      (sheetpath (names /) (tstamps /))
      (tstamp 595CD362))
    (comp (ref Q1)
      (value Q_NPN_BCE)
      (footprint stmbl:SOT-23)
      (libsource (lib device) (part Q_NPN_BEC))
      (sheetpath (names /) (tstamps /))
      (tstamp 595CEFC2))
    (comp (ref R19)
      (value 165)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 595D1591))
    (comp (ref R18)
      (value 10k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 595D417B))
    (comp (ref R17)
      (value 1,5k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 595D4433))
    (comp (ref U4)
      (value LTV-817)
      (footprint Opto-Devices:Optocoupler_SMD_HandSoldering_KPC357_LTV35x_PC357_SingleChannel)
      (libsource (lib opto) (part LTV-817))
      (sheetpath (names /) (tstamps /))
      (tstamp 596A2D98))
    (comp (ref U5)
      (value LTV-817)
      (footprint Opto-Devices:Optocoupler_SMD_HandSoldering_KPC357_LTV35x_PC357_SingleChannel)
      (libsource (lib opto) (part LTV-817))
      (sheetpath (names /) (tstamps /))
      (tstamp 596A30D6))
    (comp (ref U6)
      (value non_plated)
      (footprint Mounting_Holes:MountingHole_3.2mm_M3)
      (libsource (lib stmbl) (part non_plated))
      (sheetpath (names /) (tstamps /))
      (tstamp 596A8894))
    (comp (ref U7)
      (value non_plated)
      (footprint Mounting_Holes:MountingHole_3.2mm_M3)
      (libsource (lib stmbl) (part non_plated))
      (sheetpath (names /) (tstamps /))
      (tstamp 596A8F0C))
    (comp (ref U8)
      (value non_plated)
      (footprint Mounting_Holes:MountingHole_3.2mm_M3)
      (libsource (lib stmbl) (part non_plated))
      (sheetpath (names /) (tstamps /))
      (tstamp 596A8FBA))
    (comp (ref D8)
      (value green)
      (footprint stmbl:LED-0805-SIDE)
      (libsource (lib device) (part LED))
      (sheetpath (names /) (tstamps /))
      (tstamp 596B6D68))
    (comp (ref R23)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 596B6D74))
    (comp (ref D9)
      (value green)
      (footprint stmbl:LED-0805-SIDE)
      (libsource (lib device) (part LED))
      (sheetpath (names /) (tstamps /))
      (tstamp 596B7276))
    (comp (ref R25)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 596B7282))
    (comp (ref R24)
      (value 1k)
      (footprint stmbl:R_0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 596B7291))
    (comp (ref P6)
      (value CONN_01X02)
      (footprint stmbl:RM5.08_1x2)
      (libsource (lib stmbl) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 596BBF10))
    (comp (ref P7)
      (value CONN_01X02)
      (footprint stmbl:RM5.08_1x2)
      (libsource (lib stmbl) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 596BBFD8))
    (comp (ref J4)
      (value CONN_01X01)
      (footprint Mounting_Holes:MountingHole_3.2mm_M3)
      (libsource (lib rectifier-cache) (part CONN_01X01))
      (sheetpath (names /) (tstamps /))
      (tstamp 596C0A49))
    (comp (ref C19)
      (value C)
      (footprint stmbl:C_0603)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 5979F88A))
    (comp (ref C20)
      (value 150n)
      (footprint stmbl:C_1808)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 597A3055))
    (comp (ref C21)
      (value 150n)
      (footprint stmbl:C_1808)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 597A370A))
    (comp (ref C22)
      (value 150n)
      (footprint stmbl:C_1808)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 597A37CA))
    (comp (ref C23)
      (value 150n)
      (footprint stmbl:C_1808)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 597A41E9))
    (comp (ref C24)
      (value C)
      (footprint stmbl:C_0603)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59917518))
    (comp (ref FL1)
      (value EMI_Filter_CommonMode)
      (footprint wurth_choke:7448061507)
      (datasheet http://www.mouser.com/ds/2/445/7448061507-321730.pdf)
      (libsource (lib device) (part EMI_Filter_CommonMode))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F4C124))
    (comp (ref C18)
      (value 0,0022µF)
      (footprint Capacitors_THT:C_Rect_L18.0mm_W7.0mm_P15.00mm_FKS3_FKP3)
      (datasheet http://www.mouser.com/ds/2/400/Y1_B81123-524920.pdf)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F4CE4F))
    (comp (ref R4)
      (value R)
      (datasheet http://www.mouser.com/ds/2/400/X2_B32921_928-525137.pdf)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F4E871))
    (comp (ref RV1)
      (value Varistor)
      (footprint Varistors:RV_Disc_D15.5_W5.4_P7.5)
      (datasheet http://www.mouser.com/ds/2/400/SIOV_Leaded_StandarD-760662.pdf)
      (libsource (lib device) (part Varistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F4EA14))
    (comp (ref C27)
      (value 2,2µF)
      (footprint Capacitors_THT:C_Rect_L31.5mm_W15.0mm_P27.50mm_MKS4)
      (datasheet http://www.mouser.com/ds/2/400/X2_B32921_928-525137.pdf)
      (fields
        (field (name "Part No") "EPCOS/TDK B32924C3225M"))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F54E01))
    (comp (ref C26)
      (value 2,2µF)
      (footprint Capacitors_THT:C_Rect_L31.5mm_W15.0mm_P27.50mm_MKS4)
      (datasheet http://www.mouser.com/ds/2/400/X2_B32921_928-525137.pdf)
      (fields
        (field (name "Part No") "EPCOS/TDK B32924C3225M"))
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F557BF))
    (comp (ref C25)
      (value 0,0022µF)
      (footprint Capacitors_THT:C_Rect_L18.0mm_W7.0mm_P15.00mm_FKS3_FKP3)
      (datasheet http://www.mouser.com/ds/2/400/Y1_B81123-524920.pdf)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 59F56ACB)))
  (libparts
    (libpart (lib stmbl) (part ACT4088)
      (fields
        (field (name Reference) U)
        (field (name Value) ACT4088))
      (pins
        (pin (num 1) (name SW) (type power_out))
        (pin (num 2) (name IN) (type power_in))
        (pin (num 3) (name EN) (type input))
        (pin (num 4) (name FB) (type input))
        (pin (num 5) (name GND) (type power_in))
        (pin (num 6) (name BST) (type power_in))))
    (libpart (lib device) (part C)
      (description "Unpolarized capacitor")
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib rectifier-cache) (part CONN_01X01)
      (footprints
        (fp Pin_Header_Straight_1X*)
        (fp Pin_Header_Angled_1X*)
        (fp Socket_Strip_Straight_1X*)
        (fp Socket_Strip_Angled_1X*))
      (fields
        (field (name Reference) J)
        (field (name Value) CONN_01X01))
      (pins
        (pin (num 1) (name P1) (type passive))))
    (libpart (lib stmbl) (part CONN_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 stmbl) (part CONN_01X03)
      (footprints
        (fp Pin_Header_Straight_1X03)
        (fp Pin_Header_Angled_1X03)
        (fp Socket_Strip_Straight_1X03)
        (fp Socket_Strip_Angled_1X03))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X03))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))))
    (libpart (lib stmbl) (part CONN_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 CP)
      (description "Polarised capacitor")
      (footprints
        (fp CP_*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part D)
      (description Diode)
      (footprints
        (fp TO-???*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (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 device) (part D_Bridge_-A+A)
      (description "Diode bridge (pins: 1=-, 2=AC, 3=+, 4=AC)")
      (footprints
        (fp D?Bridge*)
        (fp D?Rectifier*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Bridge_-A+A))
      (pins
        (pin (num 1) (name -) (type input))
        (pin (num 2) (name ~) (type input))
        (pin (num 3) (name +) (type input))
        (pin (num 4) (name ~) (type input))))
    (libpart (lib device) (part D_Schottky)
      (description "Schottky diode")
      (footprints
        (fp TO-???*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Schottky))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib device) (part EMI_Filter_LL)
      (aliases
        (alias EMI_Filter_CommonMode))
      (description "EMI 2-inductor-filter")
      (docs http://www.murata.com/~/media/webrenewal/support/library/catalog/products/emc/emifil/c30e.ashx?la=en-gb)
      (footprints
        (fp L_*)
        (fp L_CommonMode*))
      (fields
        (field (name Reference) FL)
        (field (name Value) EMI_Filter_LL))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))
        (pin (num 4) (name 4) (type passive))))
    (libpart (lib relays) (part FINDER-40.52)
      (aliases
        (alias FINDER-41.52)
        (alias FINDER-44.52)
        (alias FINDER-44.62)
        (alias FINDER-30.22)
        (alias RSM822)
        (alias RM84))
      (description "FINDER 40.52, Dual Pole Relay, 5mm Pitch, 10A")
      (docs http://gfinder.findernet.com/assets/Series/353/S40EN.pdf)
      (footprints
        (fp Relay*DPDT*Finder*40.52*))
      (fields
        (field (name Reference) K)
        (field (name Value) FINDER-40.52)
        (field (name Footprint) Relays_THT:Relay_DPDT_Finder_40.52))
      (pins
        (pin (num 11) (name ~) (type passive))
        (pin (num 12) (name ~) (type passive))
        (pin (num 14) (name ~) (type passive))
        (pin (num 21) (name ~) (type passive))
        (pin (num 22) (name ~) (type passive))
        (pin (num 24) (name ~) (type passive))
        (pin (num A1) (name ~) (type passive))
        (pin (num A2) (name ~) (type passive))))
    (libpart (lib device) (part Fuse)
      (description "Fuse, generic")
      (footprints
        (fp *Fuse*))
      (fields
        (field (name Reference) F)
        (field (name Value) Fuse))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib stmbl) (part INDUCTOR)
      (fields
        (field (name Reference) L)
        (field (name Value) INDUCTOR))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib device) (part LED)
      (description "LED generic")
      (footprints
        (fp LED*))
      (fields
        (field (name Reference) D)
        (field (name Value) LED))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib opto) (part LTV-817)
      (description "DC Optocoupler, Vce 35V, CTR 50%, DIP-4")
      (docs http://www.us.liteon.com/downloads/LTV-817-827-847.PDF)
      (footprints
        (fp DIP*W7.62mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) LTV-817)
        (field (name Footprint) Housings_DIP:DIP-4_W7.62mm))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))
        (pin (num 3) (name ~) (type passive))
        (pin (num 4) (name ~) (type passive))))
    (libpart (lib device) (part Q_NMOS_GDS)
      (description "Transistor N-MOSFET with substrate diode (general)")
      (fields
        (field (name Reference) Q)
        (field (name Value) Q_NMOS_GDS))
      (pins
        (pin (num 1) (name G) (type input))
        (pin (num 2) (name D) (type passive))
        (pin (num 3) (name S) (type passive))))
    (libpart (lib device) (part Q_NMOS_GSD)
      (description "Transistor N-MOSFETwith substrate diode (general)")
      (fields
        (field (name Reference) Q)
        (field (name Value) Q_NMOS_GSD))
      (pins
        (pin (num 1) (name G) (type input))
        (pin (num 2) (name S) (type passive))
        (pin (num 3) (name D) (type passive))))
    (libpart (lib device) (part Q_NPN_BEC)
      (description "Transistor NPN (general)")
      (fields
        (field (name Reference) Q)
        (field (name Value) Q_NPN_BEC))
      (pins
        (pin (num 1) (name B) (type input))
        (pin (num 2) (name E) (type passive))
        (pin (num 3) (name C) (type passive))))
    (libpart (lib device) (part R)
      (description Resistor)
      (footprints
        (fp R_*)
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib stm32) (part STM32F042F6Px)
      (description "Core: ARM Cortex-M0 Package: TSSOP20 Flash: 32KB Ram: 6KB Voltage: 2..--V IO-pins: 16")
      (docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00105814.pdf)
      (fields
        (field (name Reference) U)
        (field (name Value) STM32F042F6Px)
        (field (name Footprint) Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm))
      (pins
        (pin (num 1) (name PB8/CAN_RX/CEC/I2C1_SCL/TIM16_CH1/TSC_SYNC) (type BiDi))
        (pin (num 2) (name PF0/CRS_SYNC/I2C1_SDA/RCC_OSC_IN) (type input))
        (pin (num 3) (name PF1/I2C1_SCL/RCC_OSC_OUT) (type input))
        (pin (num 4) (name NRST) (type input))
        (pin (num 5) (name VDDA) (type power_in))
        (pin (num 6) (name ADC_IN0/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TSC_G1_IO1/USART2_CTS/PA0) (type BiDi))
        (pin (num 7) (name ADC_IN1/TIM2_CH2/TSC_G1_IO2/USART2_DE/USART2_RTS/PA1) (type BiDi))
        (pin (num 8) (name ADC_IN2/SYS_WKUP4/TIM2_CH3/TSC_G1_IO3/USART2_TX/PA2) (type BiDi))
        (pin (num 9) (name ADC_IN3/TIM2_CH4/TSC_G1_IO4/USART2_RX/PA3) (type BiDi))
        (pin (num 10) (name ADC_IN4/I2S1_WS/SPI1_NSS/TIM14_CH1/TSC_G2_IO1/USART2_CK/USB_OE/PA4) (type BiDi))
        (pin (num 11) (name ADC_IN5/CEC/I2S1_CK/SPI1_SCK/TIM2_CH1/TIM2_ETR/TSC_G2_IO2/PA5) (type BiDi))
        (pin (num 12) (name ADC_IN6/I2S1_MCK/SPI1_MISO/TIM16_CH1/TIM1_BKIN/TIM3_CH1/TSC_G2_IO3/PA6) (type BiDi))
        (pin (num 13) (name ADC_IN7/I2S1_SD/SPI1_MOSI/TIM14_CH1/TIM17_CH1/TIM1_CH1N/TIM3_CH2/TSC_G2_IO4/PA7) (type BiDi))
        (pin (num 14) (name PB1/ADC_IN9/TIM14_CH1/TIM1_CH3N/TIM3_CH4/TSC_G3_IO3) (type BiDi))
        (pin (num 15) (name VSSA) (type power_in))
        (pin (num 16) (name VDD) (type power_in))
        (pin (num 17) (name I2C1_SCL/TIM1_CH2/TSC_G4_IO1/USART1_TX/CAN_RX/I2C1_SCL/TIM1_CH4/TSC_G4_IO3/USB_DM/PA11/PA9) (type BiDi))
        (pin (num 18) (name I2C1_SDA/TIM17_BKIN/TIM1_CH3/TSC_G4_IO2/USART1_RX/CAN_TX/TIM1_ETR/TSC_G4_IO4/USB_DP/PA12/PA10) (type BiDi))
        (pin (num 19) (name IR_OUT/SYS_SWDIO/USB_OE/PA13) (type BiDi))
        (pin (num 20) (name SYS_SWCLK/USART2_TX/PA14) (type BiDi))))
    (libpart (lib device) (part Thermistor_NTC)
      (description "temperature dependent resistor, negative temperature coefficient (NTC)")
      (footprints
        (fp *NTC*)
        (fp *Thermistor*)
        (fp PIN?ARRAY*)
        (fp bornier*)
        (fp *Terminal?Block*))
      (fields
        (field (name Reference) TH)
        (field (name Value) Thermistor_NTC))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part Varistor)
      (description "Voltage dependent resistor")
      (footprints
        (fp RV_*)
        (fp Varistor*))
      (fields
        (field (name Reference) RV)
        (field (name Value) Varistor))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib stmbl) (part lnk304D)
      (fields
        (field (name Reference) U)
        (field (name Value) lnk304D))
      (pins
        (pin (num 1) (name BP) (type power_in))
        (pin (num 2) (name FB) (type input))
        (pin (num 4) (name D) (type power_in))
        (pin (num 5) (name S) (type power_out))
        (pin (num 6) (name S) (type power_out))
        (pin (num 7) (name S) (type power_out))
        (pin (num 8) (name S) (type power_out))))
    (libpart (lib stmbl) (part non_plated)
      (footprints
        (fp non_plated_3mm))
      (fields
        (field (name Reference) U)
        (field (name Value) non_plated))))
  (libraries
    (library (logical opto)
      (uri /usr/share/kicad/library/opto.lib))
    (library (logical stmbl)
      (uri ../lib/stmbl.lib))
    (library (logical relays)
      (uri /usr/share/kicad/library/relays.lib))
    (library (logical stm32)
      (uri /usr/share/kicad/library/stm32.lib))
    (library (logical device)
      (uri /usr/share/kicad/library/device.lib))
    (library (logical rectifier-cache)
      (uri .rectifier-cache.lib)))
  (nets
    (net (code 1) (name REL)
      (node (ref U2) (pin 12))
      (node (ref R19) (pin 2)))
    (net (code 2) (name ENABLED)
      (node (ref D7) (pin 1))
      (node (ref RL1) (pin A2))
      (node (ref P2) (pin 2))
      (node (ref RL2) (pin A2))
      (node (ref D4) (pin 1))
      (node (ref R17) (pin 2)))
    (net (code 3) (name "Net-(R17-Pad1)")
      (node (ref R17) (pin 1))
      (node (ref U4) (pin 2)))
    (net (code 4) (name GNDA)
      (node (ref Q1) (pin 2))
      (node (ref U4) (pin 1)))
    (net (code 5) (name VAC)
      (node (ref FL1) (pin 4))
      (node (ref C27) (pin 2))
      (node (ref RL1) (pin 24)))
    (net (code 6) (name "Net-(R19-Pad1)")
      (node (ref R19) (pin 1))
      (node (ref U5) (pin 1)))
    (net (code 7) (name "Net-(Q1-Pad1)")
      (node (ref Q1) (pin 1))
      (node (ref U5) (pin 3)))
    (net (code 8) (name BRAKE)
      (node (ref R20) (pin 2))
      (node (ref D9) (pin 1))
      (node (ref U2) (pin 6))
      (node (ref Q2) (pin 1)))
    (net (code 9) (name "Net-(D9-Pad2)")
      (node (ref D9) (pin 2))
      (node (ref R25) (pin 2)))
    (net (code 10) (name "Net-(R24-Pad2)")
      (node (ref R25) (pin 1))
      (node (ref R24) (pin 2)))
    (net (code 11) (name "Net-(D8-Pad2)")
      (node (ref D8) (pin 2))
      (node (ref R23) (pin 2)))
    (net (code 12) (name "Net-(P4-Pad1)")
      (node (ref Q3) (pin 2))
      (node (ref P4) (pin 1)))
    (net (code 13) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref RL1) (pin 21)))
    (net (code 14) (name swclk)
      (node (ref U2) (pin 20))
      (node (ref J1) (pin 4)))
    (net (code 15) (name swdio)
      (node (ref U2) (pin 19))
      (node (ref J1) (pin 2)))
    (net (code 16) (name VDC_in)
      (node (ref R15) (pin 1))
      (node (ref R14) (pin 2))
      (node (ref C16) (pin 1))
      (node (ref U2) (pin 7)))
    (net (code 17) (name "Net-(R5-Pad1)")
      (node (ref U2) (pin 1))
      (node (ref R5) (pin 1)))
    (net (code 18) (name "Net-(Q2-Pad3)")
      (node (ref Q3) (pin 1))
      (node (ref R12) (pin 2))
      (node (ref Q2) (pin 3)))
    (net (code 19) (name Earth_Protective)
      (node (ref C18) (pin 2))
      (node (ref J4) (pin 1))
      (node (ref P1) (pin 3))
      (node (ref C25) (pin 1)))
    (net (code 20) (name "Net-(F1-Pad2)")
      (node (ref P1) (pin 1))
      (node (ref F1) (pin 2)))
    (net (code 21) (name "Net-(C18-Pad1)")
      (node (ref FL1) (pin 1))
      (node (ref C18) (pin 1))
      (node (ref F1) (pin 1))
      (node (ref R4) (pin 1))
      (node (ref RV1) (pin 1))
      (node (ref C26) (pin 1)))
    (net (code 22) (name "Net-(C25-Pad2)")
      (node (ref C26) (pin 2))
      (node (ref FL1) (pin 3))
      (node (ref C25) (pin 2))
      (node (ref RV1) (pin 2))
      (node (ref P1) (pin 2))
      (node (ref R4) (pin 2)))
    (net (code 23) (name "Net-(C9-Pad1)")
      (node (ref U3) (pin 1))
      (node (ref C9) (pin 1)))
    (net (code 24) (name "Net-(R1-Pad1)")
      (node (ref R3) (pin 2))
      (node (ref R1) (pin 1))
      (node (ref U1) (pin 4)))
    (net (code 25) (name +15V)
      (node (ref D6) (pin 2))
      (node (ref C17) (pin 1))
      (node (ref C12) (pin 1))
      (node (ref R16) (pin 1))
      (node (ref C15) (pin 1))
      (node (ref C14) (pin 1))
      (node (ref C13) (pin 1))
      (node (ref R12) (pin 1))
      (node (ref L2) (pin 2))
      (node (ref C11) (pin 1))
      (node (ref R6) (pin 1))
      (node (ref U1) (pin 2)))
    (net (code 26) (name "Net-(C2-Pad2)")
      (node (ref L1) (pin 1))
      (node (ref D2) (pin 1))
      (node (ref C2) (pin 2))
      (node (ref U1) (pin 1)))
    (net (code 27) (name "Net-(C2-Pad1)")
      (node (ref C2) (pin 1))
      (node (ref U1) (pin 6)))
    (net (code 28) (name "Net-(D3-Pad2)")
      (node (ref D3) (pin 2))
      (node (ref R7) (pin 2)))
    (net (code 29) (name "Net-(R6-Pad2)")
      (node (ref R7) (pin 1))
      (node (ref R6) (pin 2)))
    (net (code 30) (name AC)
      (node (ref C27) (pin 1))
      (node (ref RL1) (pin 14))
      (node (ref FL1) (pin 2)))
    (net (code 31) (name "Net-(D1-Pad4)")
      (node (ref D1) (pin 4))
      (node (ref TH1) (pin 1))
      (node (ref RL2) (pin 24))
      (node (ref RL2) (pin 14)))
    (net (code 32) (name "Net-(RL1-Pad11)")
      (node (ref RL2) (pin 11))
      (node (ref RL1) (pin 11))
      (node (ref TH1) (pin 2))
      (node (ref RL2) (pin 21)))
    (net (code 33) (name "Net-(D7-Pad2)")
      (node (ref RL1) (pin A1))
      (node (ref P2) (pin 1))
      (node (ref D7) (pin 2)))
    (net (code 34) (name "Net-(R10-Pad1)")
      (node (ref R8) (pin 2))
      (node (ref R10) (pin 1))
      (node (ref U3) (pin 2)))
    (net (code 35) (name "Net-(C10-Pad2)")
      (node (ref R9) (pin 1))
      (node (ref C9) (pin 2))
      (node (ref L2) (pin 1))
      (node (ref U3) (pin 8))
      (node (ref U3) (pin 7))
      (node (ref U3) (pin 6))
      (node (ref U3) (pin 5))
      (node (ref C10) (pin 2))
      (node (ref D5) (pin 1)))
    (net (code 36) (name "Net-(R8-Pad1)")
      (node (ref R9) (pin 2))
      (node (ref R8) (pin 1)))
    (net (code 37) (name +3.3VP)
      (node (ref C24) (pin 1))
      (node (ref U2) (pin 16))
      (node (ref C6) (pin 2))
      (node (ref L1) (pin 2))
      (node (ref R3) (pin 1))
      (node (ref C7) (pin 1))
      (node (ref R20) (pin 1))
      (node (ref C4) (pin 1))
      (node (ref R18) (pin 1))
      (node (ref U2) (pin 5))
      (node (ref R23) (pin 1))
      (node (ref R24) (pin 1))
      (node (ref C3) (pin 1))
      (node (ref C5) (pin 1)))
    (net (code 38) (name "Net-(R13-Pad2)")
      (node (ref R13) (pin 2))
      (node (ref R14) (pin 1)))
    (net (code 39) (name "Net-(R10-Pad2)")
      (node (ref R11) (pin 1))
      (node (ref R10) (pin 2)))
    (net (code 40) (name "Net-(R1-Pad2)")
      (node (ref R1) (pin 2))
      (node (ref R2) (pin 1)))
    (net (code 41) (name GNDPWR)
      (node (ref C19) (pin 2))
      (node (ref C24) (pin 2))
      (node (ref U5) (pin 2))
      (node (ref U2) (pin 15))
      (node (ref C7) (pin 2))
      (node (ref C21) (pin 2))
      (node (ref C11) (pin 2))
      (node (ref C23) (pin 2))
      (node (ref C22) (pin 2))
      (node (ref C20) (pin 2))
      (node (ref Q3) (pin 3))
      (node (ref D8) (pin 1))
      (node (ref D2) (pin 2))
      (node (ref C16) (pin 2))
      (node (ref Q2) (pin 2))
      (node (ref P6) (pin 1))
      (node (ref P7) (pin 1))
      (node (ref U4) (pin 3))
      (node (ref R15) (pin 2))
      (node (ref J1) (pin 3))
      (node (ref P3) (pin 1))
      (node (ref R5) (pin 2))
      (node (ref C13) (pin 2))
      (node (ref C14) (pin 2))
      (node (ref C15) (pin 2))
      (node (ref C6) (pin 1))
      (node (ref R16) (pin 2))
      (node (ref C12) (pin 2))
      (node (ref C17) (pin 2))
      (node (ref D1) (pin 1))
      (node (ref D5) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref D3) (pin 1))
      (node (ref C8) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref R2) (pin 2))
      (node (ref U1) (pin 5))
      (node (ref C4) (pin 2))
      (node (ref C5) (pin 2)))
    (net (code 42) (name "Net-(C10-Pad1)")
      (node (ref R11) (pin 2))
      (node (ref C10) (pin 1))
      (node (ref D6) (pin 1)))
    (net (code 43) (name "Net-(U1-Pad3)")
      (node (ref U1) (pin 3)))
    (net (code 44) (name "Net-(U2-Pad18)")
      (node (ref U2) (pin 18)))
    (net (code 45) (name "Net-(U2-Pad8)")
      (node (ref U2) (pin 8)))
    (net (code 46) (name "Net-(U2-Pad9)")
      (node (ref U2) (pin 9)))
    (net (code 47) (name "Net-(U2-Pad11)")
      (node (ref U2) (pin 11)))
    (net (code 48) (name "Net-(U2-Pad13)")
      (node (ref U2) (pin 13)))
    (net (code 49) (name "Net-(U2-Pad17)")
      (node (ref U2) (pin 17)))
    (net (code 50) (name "Net-(U2-Pad2)")
      (node (ref U2) (pin 2)))
    (net (code 51) (name "Net-(U2-Pad3)")
      (node (ref U2) (pin 3)))
    (net (code 52) (name "Net-(U2-Pad14)")
      (node (ref U2) (pin 14)))
    (net (code 53) (name "Net-(RL2-Pad12)")
      (node (ref RL2) (pin 12)))
    (net (code 54) (name "Net-(RL2-Pad22)")
      (node (ref RL2) (pin 22)))
    (net (code 55) (name "Net-(RL1-Pad12)")
      (node (ref RL1) (pin 12)))
    (net (code 56) (name "Net-(RL1-Pad22)")
      (node (ref RL1) (pin 22)))
    (net (code 57) (name ENABLED_HIGH)
      (node (ref U2) (pin 10))
      (node (ref R18) (pin 2))
      (node (ref U4) (pin 4)))
    (net (code 58) (name /NRST)
      (node (ref U2) (pin 4))
      (node (ref C19) (pin 1))
      (node (ref J1) (pin 1)))
    (net (code 59) (name VPP)
      (node (ref D1) (pin 3))
      (node (ref C8) (pin 1))
      (node (ref U3) (pin 4))
      (node (ref R13) (pin 1))
      (node (ref P4) (pin 2))
      (node (ref C23) (pin 1))
      (node (ref P6) (pin 2))
      (node (ref P7) (pin 2))
      (node (ref C1) (pin 1))
      (node (ref P3) (pin 2))
      (node (ref C20) (pin 1))
      (node (ref C22) (pin 1))
      (node (ref C21) (pin 1)))
    (net (code 60) (name "Net-(D4-Pad2)")
      (node (ref D4) (pin 2))
      (node (ref U5) (pin 4))
      (node (ref Q1) (pin 3))
      (node (ref RL2) (pin A1)))))
