Powerful Aquarium Lighting
#101
Posted 23 July 2012 - 09:00 PM
#102
Posted 23 July 2012 - 11:44 PM
Edited by Magpie, 24 July 2012 - 10:09 AM.
#103
Posted 24 July 2012 - 10:32 AM
You can't use the FDB3502 at all! Not at 5v.
This is a N Channel normal level mosfet. I am driving this at about 11 volts on, 0 volts off.
You need an N Channel logic level mosfet. You will drive this at 5 volts on, and 0 volts off.
Get one in the same package size (DPak, D2Pak)
, with a roughly similar Gate Charge Qg ( 10-30nC) lower is better.
and a low RDS on. I marked it in yellow because it needed changing. Sorry for not making this clearer.
If you used the FDB3502s they would still work, but they wouldn't switch fully on so they would have a higher Rds.
The net result is they would run hot and waste energy.
I can't remember what you want the 1u for, it probably wont hurt. Is it C1? For decoupling the power input pins of the attiny. If it is I have used 1u ceramic.I added in the capacitor that was a 1u to my BOM
I don't follow your question. Sorry did I leave it out of the BOM I sent you? It definitely needs to be there.
Edit: Confused gate capacitance with Gate Charge
Edited by Magpie, 24 July 2012 - 02:34 PM.
#104
Posted 26 July 2012 - 05:52 PM
I have it down to 5 mosfets, which do you think would be best for the job? I have tried to fit your suggestions above:
MTD3055VLCT-ND
MTD3055VLDKR-ND
497-4335-1-ND
497-4335-6-ND
IRLR014PBF-ND
Finally will these do for the inductors? 811-1222-ND or These?
Many thanks,
Andy
#105
Posted 26 July 2012 - 10:46 PM
Hi,
I have it down to 5 mosfets, which do you think would be best for the job? I have tried to fit your suggestions above:
MTD3055VLCT-ND
MTD3055VLDKR-ND
497-4335-1-ND
497-4335-6-ND
IRLR014PBF-ND
Finally will these do for the inductors? 811-1222-ND or These?
Many thanks,
Andy
I have assembled the board, I had one big mistake, one of my Black regulator transistors was around the wrong way, And I also put the wrong package on for my mosfets.
Luckily they just squeeze in.
the Black regulator is working.
I need to write the firmware to test the actual dirvers, and especially the current sense part. I should be able to get some results this weekend. Things have been a bit hectic lately.
I'll look at the Fets now.
#106
Posted 26 July 2012 - 11:40 PM
Attached Files
#107
Posted 28 July 2012 - 02:08 PM
I have found some indutors on ebay that are really reasonable don't know what you think? SMT DS3316P
On the BOM I have made a few comments and corretions based on your advice I think I am almost ready to order now but just want to make sure I have got everything on there. I will also look at connectors as well at some point what did you go for in the end for power, LEDs and control signal?
Finally your last point was about 10K resistors and 39pf caps, I can see some 10Ks on the BOM but do I need to add the caps and if so will these do? CC1206JRNPO9BN390
Thanks for all your help I know this has been a long process so far but I'm glad to hear your latest board is working well.
For the reflow I has seen many techniques but the microwave/heater hack sounds by far the most interesting. I'm thinking of a getting a £20 halogen oven and just keep an eye on the temmperature.
In terms of the cad files I would be keen to use your files, I guess I will need to change the foot prints for the inductors if the ones above are ok and did you mention the footprint of the fets will need adjusting? Software wise I have only really used design spark so far so I can give KiCad a go, I guess there all much of muchness really.
Cheers,
Andy
PS are you making any board or part tweeks based on your last test board?
Attached Files
#108
Posted 28 July 2012 - 02:41 PM
I have just been working on it now,
Sorry the cap was 3.9nF. No it is for the black regulator.Finally your last point was about 10K resistors and 39pf caps, I can see some 10Ks on the BOM but do I need to add the caps and if so will these do? CC1206JRNPO9BN390
I haven't fully tested the boards, only the black regulator.
I have just modified my original code to support the ADC differences, I am using differential inputs on the current sense, and one sided for the dimmers. You will put your TLC5940 square wave into the dimmer inputs, Share the grounds between the chips. the dimmer input must be 0-5v. PWM Square wave is fine, use a frequency just about 20khz or so.
For firmware I am using Amtel Studio 6 and an AVR Dragon, it seems to download ok, if I have any problems I will go back to version 4 which did work.
Last thing I need to do is rescale the current sense, which is just a constant.
Then turn it on and see what happens. I have been really busy but will try to get lights tomorrow.
Have you seen Mikes electric stuff he has a good video on small scale production, there is a link on hanzibals audio project that I posted.
They are quite good but I personally wouldn't use them as their DC resistance is a bit high at 334mOhms for 330uH. The smaller the package the higher the resistance.I have found some indutors on ebay that are really reasonable don't know what you think? SMT DS3316P
But that may be fine for you as super efficiency is not your main priority. The only way to reduce the resistance for the inductance is to go bigger.
You will have to weigh it up for your situation.
I just went with cheapie chinese phoenix connectors, for power and leds, but 0.1 inch pitch pcb pins for the dimmer and the ISP header. (both 2x3)I will also look at connectors as well at some point what did you go for in the end for power, LEDs and control signal?
497-5927-2-ND is wrong, use 497-5938-1-ND it is 5v operating voltage tvs.On the BOM I have made a few comments and corrections based on your advice I think I am almost ready to order now but just want to make sure I have got everything on there.
the little smd inductor is fine use that.
power inductor: see above it is ok but you might want to use bigger.
39pf dont use
the fet is still wrong, see previous post. If you are using 5 volts on the fet gate you need a logic level fet.
Edited by Magpie, 28 July 2012 - 02:57 PM.
#109
Posted 28 July 2012 - 07:33 PM
I have made the ammendments as suggested and I also found these inductors that have an RMax of 65mOhms are these better?
I have installed Kicad and have just been playing around a little did you want to email me the cad files or upload them somewhere? That is if you dont mind of course.
Many thanks
Andy
Attached Files
#110
Posted 29 July 2012 - 12:09 AM
#111
Posted 29 July 2012 - 12:39 PM
#112
Posted 29 July 2012 - 01:50 PM
Edited by Magpie, 29 July 2012 - 01:54 PM.
#113
Posted 29 July 2012 - 02:17 PM
#114
Posted 30 July 2012 - 01:07 AM
Seen plenty of similar errors myself.
the not connected, you just need to zoom in an check it is connected, I think the colour changes in the middle.
If you don't want to connect to a pin, you put a "NO Connect" symbol on blue cross. It's just a message to the DRC.
Also if you label a node, and want to use this node somewhere else you might have mistakenly give a different name.
There are also power markers, that you place like components, these may have the same name as labels but are different.
Eg. you have to label a node as GND if you want to use it in different places, but you also need to attach a power marker to it which will be called Gnd.
You have to say where the power is coming from, you can either ignore it or edit a connectors pin, if it is coming off board.ErrType(3): Pin connected to some others pins but no pin to drive it
@ (1.6750 ",1.2000 "): Pin 15 (power_in) of component IC1 is not driven (Net 10).
Ignoring it is fine if you are sure what is providing power. I did manage to get my design pass DRC but it was a bit of frigging around.
My mount holes are stupidly big on my board. I think my power vias could be bigger.
#115
Posted 30 July 2012 - 09:04 PM
Thanks figured it out, its quite fussy about exact positioning but I'm getting the hang of it now. Sorted out the voltage regulator part of the schematic, but just wanted to know a few things.
If you want to use my circuit with 5 volts.
just use a different TVS (5v operating voltage).
and remove everything including C3 to U1 reading left to right on the schematic.
Jumper the 24 volt rail to the 12volt and the 5 volt rail.
you don't need the 3 x step up bc847 and short r13 to r15 and open circuit r16 to r18
ps. You probably don't want to populate r28,r29, r30, I just put the footprints in for emergencies. I think 100mOhms if the lowest we could go anyway.
Also you don't need R12, this is also a contingency footprint.
So I have removed and reconnected c3 - u1.
By jumper the 24v to 12v and 12v to 5v, I litterally removed all of these as part of the c3 to u1, so my output is just the 5v, and I changed the global labels for 12v and 24v to 5v. Does this pass as jumpering the rails as you described and will it auto route these correctly?
Also I have removed the bc847s, but I'm a little unsure what you mean by short r13 to r15 and open r16 tor18. Do I just delete these and when I have done what do I need to connect together?
I am a little unsure because where the PWM comes in there was 1 transistor that feeds 2 transistors, but now there are just 2 transistors Q7 -Q12?
I also deleted the extra resistors as you mentioned R28 to R30.
Andy
#116
Posted 30 July 2012 - 11:17 PM
#117
Posted 31 July 2012 - 08:21 PM
Almost there with the schematic, although I have just been changing the values of the components is this ok?
I have a few questions related to the attached and your last comments...
Are my 3 channel gates looking right in terms of connection? And I guess the rest of the connections?
I also only have 2 errors now which are on pins I have touched which are pins 15 and 16 on the ATTiny where the wire connects.
Conflict problem between pins
Pin 16 (Power Out) of component IC1 is connected to pin 1 (power out) of component FLG01,
Pin connected to some other pins but no pin to drive it
Pin 15 (power in) of component IC1 in not driven.
R12 has been removed.
C21 larger electrolytic capacitor of 50uF, I have been unable to find a suitable part even in stock on digikey, am I missing something or is this a fairly heavty cap? Can you suggest any examples any where?
D5-D7 replaced with mbra140t, the 130t wasn't in stock.
I've changed the FET values accordingly but not used the part picker I guess the footprint is the same right?
On the topic of foot prints is there a standard for all the resistors I remember you mentioning an issue you had 0805 and 1206 I think?
I've reduced R19-R21 to 5Ohms.
The inductors have a different footprint but all I have done is change their values.
I think that should be it, what do you think?
Andy
Attached Files
#118
Posted 31 July 2012 - 11:44 PM
This is just a bypass capacitor for the whole board. It's size depends on the power used by the board and the length of wire to to power supply and the power of your power supply.C21 larger electrolytic capacitor of 50uF, I have been unable to find a suitable part even in stock on digikey, am I missing something or is this a fairly heavty cap? Can you suggest any examples any where?
Anything from 10uF to 220uF would be fine, I suggest 50uF but it wont make a difference.
Also its voltage rating doesn't need any high voltage either. 16v is fine but 25v is good too. Remeber it is electrolytic not ceramic. For a computer analogy, the ceramic is like your ram and the electrolytic is like your hard drive. They are often in parrallel. It should be easy to find. The pdf schematic component is wrong is should show a curve on one of the plates and a plus sign. They are unipolar and need to be orientated correctly.
Yes that is fine.Almost there with the schematic, although I have just been changing the values of the components is this ok?
The diagram looks good otherwise,
dont worry about the DRC on those last things, you can safely ignore it.
If you really want to fix it you can edit the module and then edit the pins to be power in or whatever satisfies DRC.
Both of those are standard (12 mils x 6 mils) and (8mils x 5mils) dimensions with mils being 1 thousandth of an inch.On the topic of foot prints is there a standard for all the resistors I remember you mentioning an issue you had 0805 and 1206 I think?
Don't go any smaller than 0805 and I would use 1206 out of choice as it will be easier to measure and fix. I used 805 on the caps so I could fit them in nice and close to the ATTiny,
and 1206 on most of the resistors. When buying another thing to watch is the tolerance, but in this case it doesn't matter too much. Though it is easy to get 10% on ceramic caps and 1% on resistors so I wouldn't settle for less, incase you have spare and want to use them on another job.
After that I reckon you are done.
Now assign and/or make footprints and do the pcb layout. I find there is a fair bit of back and forth between metric and imperial while I do and check foot prints.
But I still haven't got the firmware to do the differential ADC inputs, with the 32 x Gain,
I have measured current but only as a one sided input, and because you get no gain I only get a tiny voltage.
I will try again tonight. My feeling is that it should work so it is only a matter of time.
#119
Posted 01 August 2012 - 11:36 AM
Found these they seem relatively cheap and available what do you think?
Will ammend the cap symbol when I get home and then final check should be it.
I am also going to go through my BOM once the schematic is done and have a good check for footprints of what I have part numbers for to make sure they are correct.
In terms of the cap symbol, which library do I need to look in?
Also you mentioned in terms of the library that I may need some files? Do you think this is the case and is this for the PCB design as opposed to the actual schematic?
Many thanks,
Andy
#120
Posted 01 August 2012 - 01:29 PM
they seemed to be $6.00 each or was that a pack of something.Found these they seem relatively cheap and available what do you think?
Try PCE3340CT-ND I think you should be able to get something for around 50 cents, you can probably go smaller 33uF on these if you want.
from memory it is in devices and called cp1In terms of the cap symbol, which library do I need to look in?
Also you mentioned in terms of the library that I may need some files? Do you think this is the case and is this for the PCB design as opposed to the actual schematic?
more so in pcb editor, these is an excellent pdf that is built into the toolbar on pcbeditor. use that to help find footprint names
I have the channels 1 and 2 current sensing and stable.
Now I have init/boot problems and channel 3 I cannot get to current sense.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users