Added AC-LED-Control Project

This commit is contained in:
David Lenfesty 2018-07-09 13:13:26 -06:00
parent 5723289178
commit 925f940e64
7 changed files with 313 additions and 0 deletions

View File

@ -0,0 +1 @@
(kicad_pcb (version 4) (host kicad "dummy file") )

View File

@ -0,0 +1,60 @@
update=Mon 09 Jul 2018 12:43:35 PM MDT
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
[general]
version=1

View File

@ -0,0 +1 @@
EESchema Schematic File Version 2

View File

@ -0,0 +1,120 @@
(module 74HC595D (layer F.Cu)
(fp_text reference REF** (at 0 0) (layer F.SilkS)
(effects (font (size 1 1) (thickness .15)))
)
(fp_text value SOT109-1 (at 0 0) (layer F.SilkS)
(effects (font (size 1 1) (thickness .15)))
)
(fp_text user "Copyright 2016 Accelerated Designs. All rights reserved." (at 0 0) (layer Cmts.User)
(effects (font (size .127 .127) (thickness .002)))
)
(fp_text user "*" (at -2.7559 -6.1214) (layer F.SilkS)
(effects (font (size 1 1) (thickness .15)))
)
(fp_text user "*" (at -1.6129 -4.9276) (layer F.Fab)
(effects (font (size 1 1) (thickness .15)))
)
(fp_line (start -1.9939 -4.2037) (end -1.9939 -4.6863) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -4.6863) (end -3.0988 -4.6863) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -4.6863) (end -3.0988 -4.2037) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -4.2037) (end -1.9939 -4.2037) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -2.9337) (end -1.9939 -3.4163) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -3.4163) (end -3.0988 -3.4163) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -3.4163) (end -3.0988 -2.9337) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -2.9337) (end -1.9939 -2.9337) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -1.6637) (end -1.9939 -2.1463) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -2.1463) (end -3.0988 -2.1463) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -2.1463) (end -3.0988 -1.6637) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -1.6637) (end -1.9939 -1.6637) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -.3937) (end -1.9939 -.8763) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -.8763) (end -3.0988 -.8763) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -.8763) (end -3.0988 -.3937) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 -.3937) (end -1.9939 -.3937) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 .8763) (end -1.9939 .3937) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 .3937) (end -3.0988 .3937) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 .3937) (end -3.0988 .8763) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 .8763) (end -1.9939 .8763) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 2.1463) (end -1.9939 1.6637) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 1.6637) (end -3.0988 1.6637) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 1.6637) (end -3.0988 2.1463) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 2.1463) (end -1.9939 2.1463) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 3.4163) (end -1.9939 2.9337) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 2.9337) (end -3.0988 2.9337) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 2.9337) (end -3.0988 3.4163) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 3.4163) (end -1.9939 3.4163) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 4.6863) (end -1.9939 4.2037) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 4.2037) (end -3.0988 4.2037) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 4.2037) (end -3.0988 4.6863) (layer F.Fab) (width .1524))
(fp_line (start -3.0988 4.6863) (end -1.9939 4.6863) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 4.2037) (end 1.9939 4.6863) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 4.6863) (end 3.0988 4.6863) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 4.6863) (end 3.0988 4.2037) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 4.2037) (end 1.9939 4.2037) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 2.9337) (end 1.9939 3.4163) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 3.4163) (end 3.0988 3.4163) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 3.4163) (end 3.0988 2.9337) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 2.9337) (end 1.9939 2.9337) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 1.6637) (end 1.9939 2.1463) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 2.1463) (end 3.0988 2.1463) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 2.1463) (end 3.0988 1.6637) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 1.6637) (end 1.9939 1.6637) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 .3937) (end 1.9939 .8763) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 .8763) (end 3.0988 .8763) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 .8763) (end 3.0988 .3937) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 .3937) (end 1.9939 .3937) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -.8763) (end 1.9939 -.3937) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -.3937) (end 3.0988 -.3937) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -.3937) (end 3.0988 -.8763) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -.8763) (end 1.9939 -.8763) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -2.1463) (end 1.9939 -1.6637) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -1.6637) (end 3.0988 -1.6637) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -1.6637) (end 3.0988 -2.1463) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -2.1463) (end 1.9939 -2.1463) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -3.4163) (end 1.9939 -2.9337) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -2.9337) (end 3.0988 -2.9337) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -2.9337) (end 3.0988 -3.4163) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -3.4163) (end 1.9939 -3.4163) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -4.6863) (end 1.9939 -4.2037) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -4.2037) (end 3.0988 -4.2037) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -4.2037) (end 3.0988 -4.6863) (layer F.Fab) (width .1524))
(fp_line (start 3.0988 -4.6863) (end 1.9939 -4.6863) (layer F.Fab) (width .1524))
(fp_line (start -2.1209 5.1308) (end 2.1209 5.1308) (layer F.SilkS) (width .1524))
(fp_line (start 2.1209 -5.1308) (end -2.1209 -5.1308) (layer F.SilkS) (width .1524))
(fp_line (start -1.9939 5.0038) (end 1.9939 5.0038) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 5.0038) (end 1.9939 -5.0038) (layer F.Fab) (width .1524))
(fp_line (start 1.9939 -5.0038) (end -1.9939 -5.0038) (layer F.Fab) (width .1524))
(fp_line (start -1.9939 -5.0038) (end -1.9939 5.0038) (layer F.Fab) (width .1524))
(fp_line (start 3.9624 2.9845) (end 3.9624 3.3655) (layer F.SilkS) (width .1524))
(fp_line (start 3.9624 3.3655) (end 3.7084 3.3655) (layer F.SilkS) (width .1524))
(fp_line (start 3.7084 3.3655) (end 3.7084 2.9845) (layer F.SilkS) (width .1524))
(fp_line (start 3.7084 2.9845) (end 3.9624 2.9845) (layer F.SilkS) (width .1524))
(fp_line (start -3.7084 4.9657) (end -3.7084 -4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start -3.7084 -4.9657) (end -2.2479 -4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start -2.2479 -4.9657) (end -2.2479 -5.2578) (layer F.CrtYd) (width .1524))
(fp_line (start -2.2479 -5.2578) (end 2.2479 -5.2578) (layer F.CrtYd) (width .1524))
(fp_line (start 2.2479 -5.2578) (end 2.2479 -4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start 2.2479 -4.9657) (end 3.7084 -4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start 3.7084 -4.9657) (end 3.7084 4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start 3.7084 4.9657) (end 2.2479 4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start 2.2479 4.9657) (end 2.2479 5.2578) (layer F.CrtYd) (width .1524))
(fp_line (start 2.2479 5.2578) (end -2.2479 5.2578) (layer F.CrtYd) (width .1524))
(fp_line (start -2.2479 5.2578) (end -2.2479 4.9657) (layer F.CrtYd) (width .1524))
(fp_line (start -2.2479 4.9657) (end -3.7084 4.9657) (layer F.CrtYd) (width .1524))
(fp_arc (start 0 -5.0038) (end .3048 -5.0038) (angle 180)(layer F.Fab) (width .1524))
(pad 1 smd rect (at -2.5019 -4.445) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -2.5019 -3.175) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at -2.5019 -1.905) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at -2.5019 -.635) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 5 smd rect (at -2.5019 .635) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at -2.5019 1.905) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 7 smd rect (at -2.5019 3.175) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 8 smd rect (at -2.5019 4.445) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 9 smd rect (at 2.5019 4.445) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 10 smd rect (at 2.5019 3.175) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 11 smd rect (at 2.5019 1.905) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 12 smd rect (at 2.5019 .635) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 13 smd rect (at 2.5019 -.635) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 14 smd rect (at 2.5019 -1.905) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 15 smd rect (at 2.5019 -3.175) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
(pad 16 smd rect (at 2.5019 -4.445) (size 1.905 .5334) (layers F.Cu F.Paste F.Mask))
)

View File

@ -0,0 +1,37 @@
**********************************************************
************* Important Instructions Follow ************
**********************************************************
All files exported to: D:\Export_Storage\ExportBase\0\252274\Output\KiCAD\KiCAD\symbols.lib
After you have used Ultra Librarian to export library:
**************************************************
**To import your new library symbols into KiCad:**
**************************************************
1. Open KiCad.
2. On the program/tool list, go to Eeschema.
3. Select *Preferences* from the menu bar then select *Library*.
4. Click *Add* and choose the newly exported *.LIB* file.
5. You have now successfully imported your new symbol library!
**************************************************************
**To import your new library footprints/patterns into KiCad:**
**************************************************************
1. Open KiCad.
2. On the program/tool list, go to Pcbnew.
3. Follow the same steps as you would importing symbols, only this time select the *.kicad_mod* file.
4. You have now successfully imported your new footprint/pattern.
**************************************************************
** !!!!!!!!!!!!! WARNING !!!!!!!!!!!!! **
**************************************************************
KiCAD does not support filled/hatched polygons on footprints!
All polygons will be represented with an outline made of lines in each design.
Etch polygons will be drawn on the documentation layer, "Dwgs.User", and can be filled during board creation.

View File

@ -0,0 +1,68 @@
EESchema-LIBRARY Version 2.3 Date: 21-02-2013 11:13:20
#encoding utf-8
#
# 74HC595D
#
DEF 74HC595D U 0 10 Y Y 1 F N
F0 "U" 800 400 60 H V C CNN
F1 "74HC595D" 800 300 60 H V C CNN
F2 "SOT109-1" 800 240 60 H I C CNN
F3 "~" 0 0 60 H V C CNN
$FPLIST
SOT109-1
SOT109-1-M
SOT109-1-L
$ENDFPLIST
DRAW
X Q1 1 0 0 0 L 59 59 1 0 O
X Q2 2 0 0 0 L 59 59 1 0 O
X Q3 3 0 0 0 L 59 59 1 0 O
X Q4 4 0 0 0 L 59 59 1 0 O
X Q5 5 0 0 0 L 59 59 1 0 O
X Q6 6 0 0 0 L 59 59 1 0 O
X Q7 7 0 0 0 L 59 59 1 0 O
X GND 8 0 0 0 L 59 59 1 0 W
X Q7 9 0 0 0 L 59 59 1 0 O
X MR* 10 0 0 0 L 59 59 1 0 I
X SH_CP 11 0 0 0 L 59 59 1 0 I
X ST_CP 12 0 0 0 L 59 59 1 0 I
X OE* 13 0 0 0 L 59 59 1 0 O
X DS 14 0 0 300 R 59 59 1 0 I
X Q0 15 0 0 300 R 59 59 1 0 O
X VCC 16 0 0 300 R 59 59 1 0 W
P 2 1 0 5 279.5 0 238.5 20.5 N
P 2 1 0 5 279.5 0 238.5 -20.5 N
P 2 1 0 5 279.5 -100 238.5 -79.5 N
P 2 1 0 5 279.5 -100 238.5 -120.5 N
P 2 1 0 5 279.5 -200 238.5 -179.5 N
P 2 1 0 5 279.5 -200 238.5 -220.5 N
P 2 1 0 5 279.5 -300 238.5 -279.5 N
P 2 1 0 5 279.5 -300 238.5 -320.5 N
P 2 1 0 5 1320.5 20.5 1361.5 0 N
P 2 1 0 5 1320.5 -20.5 1361.5 0 N
P 2 1 0 5 1320.5 -79.5 1361.5 -100 N
P 2 1 0 5 1320.5 -120.5 1361.5 -100 N
P 2 1 0 5 1320.5 -179.5 1361.5 -200 N
P 2 1 0 5 1320.5 -220.5 1361.5 -200 N
P 2 1 0 5 1320.5 -279.5 1361.5 -300 N
P 2 1 0 5 1320.5 -320.5 1361.5 -300 N
P 2 1 0 5 1320.5 -379.5 1361.5 -400 N
P 2 1 0 5 1320.5 -420.5 1361.5 -400 N
P 2 1 0 5 1320.5 -479.5 1361.5 -500 N
P 2 1 0 5 1320.5 -520.5 1361.5 -500 N
P 2 1 0 5 1320.5 -579.5 1361.5 -600 N
P 2 1 0 5 1320.5 -620.5 1361.5 -600 N
P 2 1 0 5 1320.5 -679.5 1361.5 -700 N
P 2 1 0 5 1320.5 -720.5 1361.5 -700 N
P 2 1 0 5 1320.5 -779.5 1361.5 -800 N
P 2 1 0 5 1320.5 -820.5 1361.5 -800 N
P 2 1 0 5 1320.5 -879.5 1361.5 -900 N
P 2 1 0 5 1320.5 -920.5 1361.5 -900 N
P 2 1 0 5 300 200 300 -1500 N
P 2 1 0 5 300 -1500 1300 -1500 N
P 2 1 0 5 1300 -1500 1300 200 N
P 2 1 0 5 1300 200 300 200 N
ENDDRAW
ENDDEF
#
#End Library

View File

@ -0,0 +1,26 @@
# Introduction #
This board is intended to serve as a dimmable controller for AC LED lights.
## Features ##
- As many channels as possible to fit in an equivalent board space to the 16 channel LED driver.
- 120V AC control with isolation.
- I2C interface
- Ability to add external zero crossing detection circuit to enable dimming.
- Reverse phase dimming
- Simple circuit design (with safety)
## Overview ##
I would like to use a low-cost stm32 part for the brains, running as an I2C slave. This would then output to several 74HC595 chips to drive the outputs. An external zero crossing detection signal would be used to enable reverse-phase dimming.
For the actual dimming and control, I will be using diode rectifiers with a MOSFET or an IGBT across each channel.
## Chips Used ##
- STM32F030 (finish writing in partno.)
- Nexperia 74HC595D (16-SOIC package)
- 4channel optoisolator (https://www.digikey.ca/products/en/isolators/optoisolators-transistor-photovoltaic-output/903?FV=a40003%2C1140003%2C7680028%2Cii4%7C2093%2Cffe00387&quantity=&ColumnSort=1000011&page=1&stock=1&nstock=1&pageSize=25)
- bridge rectifier (https://www.digikey.ca/products/en/discrete-semiconductor-products/diodes-bridge-rectifiers/299?k=rectifier&k=&pkeyword=rectifier&pv96=38&FV=ffe0012b%2C1140003&quantity=0&ColumnSort=0&page=1&pageSize=25)
- Some N-Channel Mosfet