Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« on: January 02, 2013, 02:27:04 am » |
Hi, i'm implementing the Arduino DUE schematic in my own PCB for a Soccer B robot project, and i have some doubts about the actual implemented schematic.
* What is the purpose of the T2 FET (FDN340P)? as it's always on, why should i keep it? Is it for protection? * Can i change the TRANSISTOR Q2, by a P type FET, and remove the R3 and RN4A? * The Diode D1, is only for protection egainst reversed power polarity? * In the SAM3X datasheet, VDDUTMI and VDDANA are connected direcly to VDDIN, without any filtering. Those inducters (L1 and L2), and capacitors (C9, C2, C10 and C3) are really necessary?
I only have those questions for now...
Thanks for helping! Ivan Seidel
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 2
Posts: 57
|
 |
« Reply #1 on: January 02, 2013, 04:30:48 am » |
The inductors are there (I believe) to prevent back-EMF. They're not strictly necessary, but it's good practice to add them in anyway. Capacitors C9 and C10 are bypass/decoupling capacitors, and again, whilst your circuit probably still will function without them, they prevent electrical noise and ensure that sensitive ICs that don't like voltage ripples function properly  . In order for them to work properly, they need to be placed as close to the IC they're for as possible. I haven't thoroughly read the schematic, but I think C2 and C3 are for the power supply, to prevent voltage spikes and sudden drops. Note that they are polarized. I'm not sure about the rest though. D1 confuses me. If it is a protection diode, shouldn't it be the other way round? Anyway, good luck on your board! If you need a place to get them made, Seeed studio were pretty good in my opinion (cheap, fast, decent quality). Check out my video review if you're interested:
|
|
|
|
|
Logged
|
|
|
|
|
Vienna, Austria
Offline
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #2 on: January 02, 2013, 05:59:11 am » |
... D1 confuses me. If it is a protection diode, shouldn't it be the other way round? ... Depends on what you're protecting against. In this case I would assume reverse voltage (i.e. if you accidentally cross the wires from your poweer supply). D1 limits reverse voltage to -0.7V, so the circuitry will not be damaged. The fuse in the power supply will blow, but a fuse is easier to replace (mostly) than a whole DUE-board. Greetings Tom
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #3 on: January 02, 2013, 11:33:16 am » |
Thanks for helping me! As i understood, those millions of Inductors and Capacitors are used for filtering. The reason why they put inductors/capacitors filtering on the VCC of PLL and VCC of AD conversor is to "decrease" noise on those readings, and noise on the internal PLL circuit, to prevend shifting too much the clock. But the others questions remains unanswared for now... I have not tried SeedStudios PCB services, but i always use the iteadstudios.com one, they are REALLY good also, and they provide FREE lead free and 100% E-Test (i don't know if that is "really" true, but it's what they said...), i will test with them some day! maybe with this board.. but i belive they use the same chinese guys to produce PCBs  About D1, in case of "power suplying" a reverse voltage, current would flow direcly through the Diode, short circuiting the power supply, but, if you have a "good" power supply, the diode would blow and stop "rescuing" the circuit... is this correct?
|
|
|
|
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 80
Posts: 2121
|
 |
« Reply #4 on: January 02, 2013, 12:23:25 pm » |
About D1, in case of "power suplying" a reverse voltage, current would flow direcly through the Diode, short circuiting the power supply, but, if you have a "good" power supply, the diode would blow and stop "rescuing" the circuit... is this correct? This is correct, and seems to me that D1 wired as it is is a mistake. Those ckts with L1,L2 are clearly for filtering the particular lines. It's always a good idea to have some noise filtering when VDDANA is derived from a digital buss voltage, ie +3.3V here. The more so, the higher the resolution of the ADC. I don't know the function of VDDOUTM1, however. To understand the function of T2, you will need to ascertain what the purpose of the UVCC pin on IC6 is. Possibly it's a sense pin, but who knows? If you want to remove Q2, you need to replace it with an n-channel MOSFET, not a p-channel. This is a very complicated design, with a lot of hidden meanings. The designers certainly had their own reasons for including the ckts as they did.
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #5 on: January 02, 2013, 11:13:14 pm » |
Thanks for helping me! i took into consideration everything you said, and this is the rev. 1.0 of the main "Core" of the board. It's a simplified version of the Arduino DUE. I considered circuits present on Mbed, Arduino Mega, and also IOIO to build this revision. As switching regulators are REALLY expensive where i live, i decided to change to a 7805 regulator. I have more separated circuits to build, and integrate a switching regulator would make the project really expensive... Auto select power supply circuit was changed (I took into consideration the Ruggedduino schematic). The 2x2 header was removed from Atmega uController Here is the first revision of the schematic, if you can take a look and see if something is wrong, i apreciate that =] https://www.dropbox.com/s/cjfyer7xh5p4zru/Processor.pdf
|
|
|
|
« Last Edit: January 02, 2013, 11:14:50 pm by ivansg »
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 80
Posts: 2121
|
 |
« Reply #6 on: January 03, 2013, 01:48:55 am » |
First, if U2 is an adjustable v.reg, then you certainly have the schematic wrong - the arrow means nothing to me, you need 2 resistors. I would rather use a part with fixed output 3.3V voltage. Also, do you mean to have a DOT above C16?
Secondly, you might try to get the people from the Arduino DUE development team to review your design, as they would know the specifics better.
Thirdly, don't buy 1000 boards initially. Buy a few prototypes and test it like crazy. I know a guy with 5000 useless pcbs in his closet, with a small but nasty layout error.
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #7 on: January 03, 2013, 10:24:21 am » |
I wrongly inserted the component... the one i really wanted was the 3.3V fixed one, that's why i grounded the ADJ, in fact I just didn't notice  How can I get in touch with Arduino DUE Team? I'm going to order 10 pcbs (the minimum at Itead Studios), as there is no other place with quality that is cheap enough... Thanks a lot for helping me with this! The new version is already exported to pdf: https://www.dropbox.com/s/cjfyer7xh5p4zru/Processor.pdf(Just changed the LM1117 to the 3.3v fixed one...)
|
|
|
|
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 80
Posts: 2121
|
 |
« Reply #8 on: January 03, 2013, 01:18:22 pm » |
What about the DOT above C16? Should there be one?
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #9 on: January 03, 2013, 01:23:58 pm » |
You mean both caps connected to ground? If yes, in the datasheet says to connect a capacitor like this to ground, to filter small noises, and is also in the Ruggeduino circuit: http://ruggedcircuits.com/AM010/am010.pdfIs it right?
|
|
|
|
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 80
Posts: 2121
|
 |
« Reply #10 on: January 03, 2013, 01:31:57 pm » |
No, is the +5V v.reg supposed to be powering U2, or does U2 get power only via Q1?
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #11 on: January 03, 2013, 01:35:53 pm » |
It's weird! They are not connected, because altium doesen't accept (or I don't know how to doit) crossing connections! i make one, then the other one just converts to a passing by connections... so, i changed to different guide lines. Thanks god you noticed it!
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #12 on: January 03, 2013, 01:49:18 pm » |
Searching for "tips" on how to place Bypass caps, i found an interesting article: http://www.akm.com/AppsNotes/layout2.pdfAnd all the Arduino DUE caps, are placed with the same "How not to do"  It can be dificult to route everitying, but placing them as they are, is not causing any effect... I will try to put them in the righ way 
|
|
|
|
« Last Edit: January 03, 2013, 01:56:12 pm by ivansg »
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 80
Posts: 2121
|
 |
« Reply #13 on: January 03, 2013, 09:07:33 pm » |
Yeah, bypass caps are usually placed as close to the chip Vcc pins as possible. Normally, you want to do the power and ground trace layouts first, along with making space for the bypass caps, and then add the other traces.
With so many pins, it's always a problem doing the layout. Your layout has an enormous number of vias, and fewer are better. Auto routing always ends up producing zillions of those darn things. With manual routing, you can play with things, move and rotate components, and reduce the via count.
Also, with so many vias right next to the pads for the chip pins, you may get some solder bridging when you solder the chip in place.
Also, you want to try an eliminate quick changes in direction of traces. There are a lot of 90-degree and even lesser angles, especially where you have vias. Doing layouts isn't always the simplest job.
|
|
|
|
|
Logged
|
|
|
|
|
Brasil
Offline
Jr. Member
Karma: 3
Posts: 77
|
 |
« Reply #14 on: January 03, 2013, 09:34:26 pm » |
Hi, This is not my routing yet =] It's the Arduino DUE routing... I think that this is a really mess... just of looking at it, i would simplify things 30%. But, it's not me who do it, so i can just learn with teir mistakes ^^
|
|
|
|
|
Logged
|
|
|
|
|
|