[info] Power supply - kb1gtt

Hardware inside and outside of the ECU
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Never mind, it would appear that there are 1N SMT diodes.
Attachments
Capture.PNG
Capture.PNG (7.79 KiB) Viewed 17849 times
Welcome to the friendlier side of internet crazy :)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

kb1gtt wrote:What is the desire for a 1NXXX designation?
The desire is to use wider available cheaper parts where possible. I was afraid of custom BZT52C7V5-7-F being expensive which turned not to be the case. Considering how cheap BZT52C7V5-7-F is, we will be using BZT52C7V5-7-F and not 1N5343B
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

@ has all the components to populate two boards - one with Mouser-sourced components another board with eBay sourced components.
136) D1003 & D1006 one of pads needs larger drill, same as other
137) D1001 needs polarity silkscreen
Attachments
screenshot.png
screenshot.png (74.18 KiB) Viewed 17811 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Code: Select all

138)  Verify diode polarities, new KICAD libs flipped pin 1
Welcome to the friendlier side of internet crazy :)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

On R0.1, the diode silk screen is backwards for D1001, D1002, D1003 and D1006. The diode D1004 is OK.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

Ready to be shipped north.
Attachments
IMG_20170715_045334131.jpg
IMG_20170715_045334131.jpg (1.73 MiB) Viewed 17592 times
IMAG2829.jpg
IMAG2829.jpg (1.65 MiB) Viewed 18299 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Hmmm, looks like Q1002 footprint should have used the same as the D1006 diode. Oops.

Do I recall hearing they make 5V? If so that's a good start.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

VS-50WQ04FNPBF is only available in qty 75 and up on Mouser now, but they also suggest Similar Product VS-50WQ04FN-M3 available cheaper and in qty 1+

Do we care for Ifsm - Forward Surge Current drop from 550 A to 340 A? Do we understand the relationship between these two part numbers? Does VS-50WQ04FN-M3 work for us?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

I see the below 2 datasheets.

Suggested
http://www.vishay.com/docs/93312/50wq04fn.pdf

Current
http://www.vishay.com/docs/94233/50wq04fn.pdf

The only difference I see in these 2 datasheets is that the suggested diode is Halogen Free. I would say the VS-50WQ04FN-M3 is a suitable alternative. Thinking about it, I guess the original is a valid alternative. Basically the VS-50WQ04FN-M3 is what will be popular in the future, so the original is basically going obsolete.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

These smaller round inductors are a bit less available on eBay.

There are actually at least two kinds:
Radial Lead Inductor 68uH 700mA 5x7mm
68uH 8x10mm Radial Leaded Power inductors 68 uH 2A

Would any of these work? Do we care for 0.7A vs 2A?

Why two boards on the picture above? The one on the left - both terminals blue - has a larger percentage of mouser, more expensive parts.

The board on the right - one terminal blue one green - has a larger percentage of eBay parts. It would be cool to see if we can see any objective differences in the behavior of these two. The inductors are 700mA 5x7mm.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

I got to do some basic tests. The china board is noisy, it's making a 1 kHZ hum which is annoying. It's dropping some voltage across the inductors, so the output voltage is a bit below 5V. I think the cheap inductors aren't so good, and I suspect the noise and voltage drop will get better if the inductors were replaced. I have some of the better inductors installed on the last board, so I'm tempted to switch them out, then start more in depth testing. Some results from my basic testing.

The Q1002 high voltage surge protection transistor drops about 0.4V under normal conditions. It limited the LM2596 input voltage to about 17V to 18V with a power main voltage of up to 62V. I have another power supply, so I can go higher in voltage. However it get's hot fairly quick as it's dissipating watts to provide this surge protection. So I'll need to do this test fairly quickly to prevent it from overheating.

It maintained 5V until about 6.5V, and it still produced 4V at about 5.5V. I was testing with a 10 ohm resistor for the load, so output of 0.5A load.

All in all, it's looking to function OK. Lets see if it snubs some of that higher frequencies.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

Hold on, one board has mouser inductors another one has eBay inductors. Did you try both?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Yes, I tried both. The China / Ebay board had some minor issues including an audible noise and slightly lower than 5V output. Both minor issues on the China board will likely go away if we use the better inductors. The Mouser board did not have these issues.
Welcome to the friendlier side of internet crazy :)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Both the ebay inductor and the mouser inductor are rated for less than 1A. This means that as I increase the current draw they start to get hot. I can find higher amp rated devices, but I don't like the costs.

$2.90 to $4.18 https://octopart.com/1120-680k-rc-bourns-39573188
$0.69 to $1.51 https://octopart.com/5248-rc-bourns-39573028

There are many options for around 1A that are $0.70, to $1.20. The currently used coil is $0.69 to $1.10. So I guess the vertical mounted 5248 above is basically the price to expect expect from official channels, but with better amp ratings. I forget how I came to the one we currently have. My guess is it was a short coming of my 10 minute work windows. I think we want a higher amp rated coil to avoid lost watts.

I'm not good at finding these kinds of things on ebay. If someone finds a coil on ebay that's between 68uH and 100uH and has a current rating of more than 2.5A, we could consider those coils as well. We are also looking for a small PCB size, we can go tall with out any issues, but we have limited PCB area to work with.
Welcome to the friendlier side of internet crazy :)
User avatar
mobyfab
Posts: 139
Joined: Tue Oct 29, 2013 10:09 am
Location: Versailles, France

Re: Power supply - kb1gtt

Post by mobyfab »

No sure if this is the right place but...

Have we checked if using a separate LDO for analog is actually better than trying to filter VDD?
I'm pretty sure you can reduce noise using a cheap low noise SOT23 LDO.
This is what I did, went from ~30mV to ~2mV ripple on ADC values using a LDK120DM33R.

One other thing you can do is reduce the pin output speed on the MCU as these are the major source of ripple on VDD.
Abricos
contributor
contributor
Posts: 849
Joined: Mon Aug 18, 2014 12:32 am
Location: Carteret, NJ 07008

Re: Power supply - kb1gtt

Post by Abricos »

Inductance: 100uH
Wire Diameter: 0.55mm
Inner Diameter: 6mm
Outer Diameter: 13mm
Thickness: 5mm
Rate Current: 6A


Look at this on eBay http://www.ebay.ca/itm/142148453127
Attachments
B
B
Screenshot_20170421-092249.png (264.94 KiB) Viewed 18192 times
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

This Toroid Core would take even more space than the original square we were using. Well, maybe not more but pretty close. Remember we want three of them.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
mobyfab
Posts: 139
Joined: Tue Oct 29, 2013 10:09 am
Location: Versailles, France

Re: Power supply - kb1gtt

Post by mobyfab »

You can also change to a modern regulator that uses a higher frequency.
ie: http://www.ti.com/lit/ds/symlink/lm22670.pdf

Full range of replacements here:
http://www.ti.com/ww/en/simple_switcher/regulators.html
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

We only use the LM2596 because it can be easily obtained on e-bay for very low $. I would expect higher frequency regulators would allow for a physically smaller size. I've done a couple other designs which use more modern chips and higher frequencies, one that was specifically for automotive applications. However those cost much more. When purchased from ebay the LM2596 is about $2-ish. If we could fit the slightly larger square inductors, the cost's would not be very bad. The problem is that I'm trying to add filtering and high voltage protection, all on the same side of the PCB. The problem is that there are several other circuits around this which makes it hard to get the PCB real-estate.
Welcome to the friendlier side of internet crazy :)
User avatar
mobyfab
Posts: 139
Joined: Tue Oct 29, 2013 10:09 am
Location: Versailles, France

Re: Power supply - kb1gtt

Post by mobyfab »

These are starting to appear on aliexpress:

1.5Mhz, synchronous, small, very cheap :)
https://www.aliexpress.com/item/Smart-Electronics-XD-45-Mini-360-Model-Aircraft-DC-DC-Step-Down-Power-Supply-Module-Better/32482324438.html

Datasheet
http://www.haoyuelectronics.com/Attachment/MP1584/MP1584.pdf

I ordered a bunch, I will test them with various loads and check temperature/ripple.
Abricos
contributor
contributor
Posts: 849
Joined: Mon Aug 18, 2014 12:32 am
Location: Carteret, NJ 07008

Re: Power supply - kb1gtt

Post by Abricos »

I'm totally confused ...
On Frankenzo R0.1 v first one ...
Power supply have 5 volts ... is it have 3.3 volts ???

Or discovery make 3.3 volts ???
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Discovery makes 3.3V.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

We have a problem :(

Jared, you still have these test populated boards? Can you run them for 10 minutes? 30 minutes?

PS: I am a bit confused. While @ has recently reported something similar at https://rusefi.com/forum/viewtopic.php?f=5&t=1301, his board is Frankenso 0.4?! And https://rusefi.com/forum/viewtopic.php?f=3&t=1282 shows a 0.5 board without this problem. So my assumption that this is 0.5-specific does not hold ground. Yet I have two assembled boards with this issue?

Let's keep this in the power supply topic and I will move later if the problem would be about something else.

[video]https://www.youtube.com/watch?v=YOD3ITIhWkk[/video]
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

-- Can you do a similar video while a meter is in view, showing the 5V?
-- Do you have 2 meters? Can you put one meter in series and shows the current consumption? Can you show the current consumption of a R0.4 board?
-- Now if you had a thermal camera, you could also show me how hot it gets. Does anything seem to get hot around the power supply? Specifically U1001, any of those diodes, Q1001 or Q1002.
-- How about the voltage at P902? Do we see the voltage drop there when it dies?
-- Can you verify R1003 is 100k?

I'll see if I can find those test boards. The better half has cleaned up a couple of my areas lately. I'll see if I can find the box which those were put into. I'm sure I've run those boards for more than 10 minutes though. So I doubt they would show the same problem.

The 5V appears to be trailing off like it started at 5V, then starts to slowly drop. The thing where turning it off for a short period of time seems to reset it for another 300 seconds is odd. I can see thermal issues causing it to shutdown, but I would expect the second run to turn off quicker as it has already gotten hot. I've seen some issues with LED's which run for several minutes then stop making light. I wonder if similar is happening with D1002. If that zener voltage is changing similar to how I've seen china LED's fail, then that could choke U1001. If U1001 is choked off then I could see how it would have trouble making 5V.
Welcome to the friendlier side of internet crazy :)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Also what is your 12V power supply voltage while this is happening? AKA perhaps the 12V supply is failing. I could see how that could have a 300 second issue.

How did https://rusefi.com/forum/viewtopic.php?f=3&t=1282 get an R0.5? Was that a first run board, which you sold him? Was that a self populated board? Do we know for sure it's an R0.5 and not an R0.4?
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

kb1gtt wrote:-- Can you verify R1003 is 100k?
Problem solved - there was no R1003 :)

More details on https://rusefi.com/forum/viewtopic.php?f=4&t=569&start=390#p27980
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Power supply - kb1gtt

Post by kb1gtt »

Ah they installed one of those giga-ohm spark gaps. Got it and good news it's running now.
Welcome to the friendlier side of internet crazy :)
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Power supply - kb1gtt

Post by puff »

minor problem with 3.3 rail. Right now, with 5V input I have 2.945V on 3.3V rail - the rail which powers up our canbus transceiver (one of the early revisions of frankenstein).
Because of that, when I connect TJA1050 to our canbus, I don't see anything, since CANH in dominant state outputs 2.8V at maximum, while the TJA1050 datasheet states, that minimum valid value for that state is 3V.
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Power supply - kb1gtt

Post by AndreyB »

puff wrote:
Sat Feb 03, 2018 6:15 pm
minor problem with 3.3 rail.
My understranding is that this topic is about the specific 5v power supply schematics - that schematics has nothing to do with 3.3v I assume. What is the context of your question?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply