Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:37 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : Micro controller driven Warpverter

     Page 4 of 10    
Author Message
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 01:39pm 03 Apr 2019
Copy link to clipboard 
Print this post

  mackoffgrid said  
I've seen the sinewave out of the transformers for real, but even now looking at the output of the simulators, it amazes me how four transformers with three states can make such a good looking sinewave. Very cool Tony!

I ran a three transformer inverter for over a year, and it was quite a long time before I ever tried a fourth transformer.
The waveform improvement going from three to four transformers is just stunning.

Fitting an EMC filter made a barely discernible improvement to the slight overall ripple.

The really big surprise was connecting the inverter to the house wiring. The small ripples all but vanished. It cannot be just capacitance. Shunting capacitors across the output does nothing significant. But what I think may be happening is all the random lengths of wiring and all the different circuits with different lengths may be causing multiple reflections that fight each other and damp each other out. I will be very interested to see if others here notice a similar effect.


Cheers,  Tony.
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 02:07pm 03 Apr 2019
Copy link to clipboard 
Print this post

  Tinker said  
No, Mark is *very* unlikely to have a 70mm hole in that toroid available for the primary winding.
I use the exact same core, double stacked. The original hole is more like 85mm (its not exactly round so measure at a different place.
Then, by the time sufficient mylar tape is wound on to provide good insulation (I wound it half overlap on outer rim, twice around the toroid, this hole has shrunk a bit more.[/quote]

I agree that there needs to be very good insulation between the secondary winding and the core, and the screen, but very little insulation should be needed between layers, as there will only be a very few volts difference there.

[quote]
If I was in Mark's shoes I would hold back with any primary cable purchase until all of the secondary and that static shield is in place.

Then, and only then, measure what size hole is left and calculate what kind of wire will fit the required primary turns through it.[/quote]
Very sound advice.

[quote]
I have just completed 3 layers of secondary on my core and write from experience here.
I would be very happy if the final hole size stays north of 50mm diameter.[/quote]

In theory we should arrange things so that primary and secondary each use up half the available area of the hole. It never quite works out like that in practice, but its something to keep in mind.

Now an 85mm hole has about 56.75cm sq area available.
And a 50mm hole about 19.63 cm sq area.

So your secondary takes up roughly 37 sq cm area leaving only 20 sq cm for the primary.
That is not good !

I think you need to be a bit less generous with the mylar, or find a way to flatten each layer within the hole.

[quote]
If one wants to stick to 1 Tesla, as warpspeed suggests - and there are very good reasons for that - then one requires a decent core cross section, and decent 'hole' for the first transformer or the required number of turns wont fit through the hole


Definitely agree that a larger core is going to be much easier to work with. Fewer turns and a lot more room to play with. But in the end it boils down to how efficiently you can fill the hole with copper.
Cheers,  Tony.
 
renewableMark

Guru

Joined: 09/12/2017
Location: Australia
Posts: 1678
Posted: 08:06pm 03 Apr 2019
Copy link to clipboard 
Print this post

Thanks Tinker and Warp re wiring.
Using the pumped up balloon while curing seemed to really work well on the bigger toroid.
One other thing we can do is separate the spot weld on the inner of the core, unwrap some material and add it to the outside. I'll never get it as tight though.
If that is done will it change the calculations? It's the same amount of material but it will be different dimensions.

Now to the circuit boards.
I currently had on order all the parts to do a Tony version, so I may as well complete that control board.
I will also make the uno version, Poida is sure to include some nice features there.

So that brings us to how it will all go together.

With Tony's design using higher voltage the IGBT's are suited but at 48v the 4008's will be a better option (Tony's advice)

So if you look at Tony's machine he has 8 little fet/igbt driver boards.
The igbt's are plugged in and the fets are simply screwed directly from the driver board.



The idea I had since fets will be required was on the side where the igbt's are we could make a pcb that houses multiple 4008's.
How many will we need?



In the design it will need to accommodate the big caps, Tony advised provision for 5 would be wise and perhaps just use three to begin with to see if that's sufficient.

Poida, that would all work with the Warp control board, but will that hardware suit your arduino driven design?
Can a setup be made that we can use both control boards on?

Cheers Caveman Mark
Off grid eastern Melb
 
LadyN

Guru

Joined: 26/01/2019
Location: United States
Posts: 408
Posted: 08:27pm 03 Apr 2019
Copy link to clipboard 
Print this post

  renewableMark said  
I will also make the uno version, Poida is sure to include some nice features there.


I believe the most feature complete version is Andrew's.

Poida updated Andrew's code (I am yet to review it for my own understanding) to incorporate grid sync. Before that Andrew's code was functional sans grid sync.

It's very likely I am wrong as I am yet to dive into either code in depth. I briefly looked at Poida's code and he immediately got back to me with feedback and more comments that he also updated his own code with.

So Poida and Andrew will obviously know which version is more functional, but in my mind, it might make more sense to go with the Andrew/STM32.

I will eventually port some bits to the ESP32 but more likely pair up the STM32 dedicated for the control signals and employ the ESP32 for wireless communication and management so I can remotely monitor the inverter without having to look at displays.

I got wind that it might be possible to loadshare multiple Warpverters (I don't know how): in that case, this ESP32 might work out to be the master/controller over the individual dedicated STM32 boards.

As far as the hardware is concerned, an implicit agreement has been made that the boards will be pin compatible with the Warverter board which has enough real estate to accomodate either a STM32 or a Nano based brain.

HTH! (and thanks to each of you for the awesome, brilliant work so far)
 
mackoffgrid

Guru

Joined: 13/03/2017
Location: Australia
Posts: 460
Posted: 08:37pm 03 Apr 2019
Copy link to clipboard 
Print this post

Mark: I have one solution, I think Tinker is doing something else?

I have modular Half bridge pcb and Full bridge PCB (100mm x 100mm). These pcb have no electronics on them apart from the FETS to maximize copper. Their driver is another pcb that plugs on top of them.







Which goes together like this. (the little drive pcbs are not plugged in on this photo.
I have put capacitors underneath.







Then with the driver pcbs plugged in.





The top heatsink connects positive battery to all the FETS.
The bottom heatsinks are sliced up to suit transformer legs.
I have used 4mm2 wire (one per FET) to connect to the negative buss.

The PCBs are on my Github if anyone is interested.
https://github.com/mackelec/StepInverter

I'd be interested if there are other ideas out there.

Cheers
Andrew



 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 09:21pm 03 Apr 2019
Copy link to clipboard 
Print this post

The alternative control board does not need to be the same physical size, only use the same four plugs and pin connections on the output side, and a similar two pin plug for power on the input side.

Unplug a Warp board, plug in Mack board, or a Poida board directly in its place, without having to change anything around.

Then anyone can take advantage of future functional upgrades as the whole thing evolves further. Or step back to something more primitive that is known to work.
Older obsolete boards can then still remain useful as working spares.

Mark, (and others)

Probably the easiest way to get started is to just quickly make up eight identical low power half bridge boards that use only two mosfets each. That will limit power to about one to two Kw, but it will give you something that actually works with your four new transformers, and you can then satisfy yourself the the transformers are all working properly, and the transformer winding part of the job is all fully tested and complete.

Loading eight small very simple half bridge boards should be pretty straightforward job. The extra surplus small boards can be kept as working spares when the big final board (or boards) are completed.

Its then a case of building the big inverter with all the heavy duty capacitors and heatsinks and fans.

It all then becomes a step by step process, and having something that actually works fairly early on, and is trouble free, can be a really big confidence builder.
Cheers,  Tony.
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 09:52pm 03 Apr 2019
Copy link to clipboard 
Print this post

  renewableMark said  
One other thing we can do is separate the spot weld on the inner of the core, unwrap some material and add it to the outside. I'll never get it as tight though.
If that is done will it change the calculations? It's the same amount of material but it will be different dimensions.

Yes it will, less core cross section requires more turns, but we also get a larger hole which provides more room.
Klaus's concerns are quite valid, so we need to look into this a bit more.

As you have already just fitted four layers of 1.6 wire to your larger core, can you measure or estimate how much that reduced the hole size ?

Now that primary wire I suggested has an O.D. of 7.25mm I have some of it right here in fact.
In a perfect world we can fit 24 turns onto the first layer, then 18 on the second, 12 on the third, and 6 on the fourth, leaving a 7.25mm hole in the middle for one extra wire.
So 24 + 18 + 12 + 6 + 1 = 61 turns. A perfect wire bundle !
And that requires nine wire diameters or 65.25mm.
It should all pack through a 70mm hole with a bit of grunting and swearing.

Now the sixty four dollar question is, are we going to end up with a 70mm hole after fitting the secondary ? And if not, how much of the inside of the core do we need to remove.


Cheers,  Tony.
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 10:42pm 03 Apr 2019
Copy link to clipboard 
Print this post

Eight of these would be all you need to get started.
Fairly primitive, but it is what I am using right now.

Eight boards will get you a fully functional working inverter but of limited power output initially.

I will e-mail Gerbers to anyone that requests them via e-mail.
I cannot attach Gerbers to a Forum post or a PM, so it will have to be by e-mail.







Cheers,  Tony.
 
renewableMark

Guru

Joined: 09/12/2017
Location: Australia
Posts: 1678
Posted: 11:04pm 03 Apr 2019
Copy link to clipboard 
Print this post

Just measured my 6kw core, that had 4 layers added to the ID.
It started at 100mm and ended up at 80mm.

That was with the full 128 turns all fitting on one layer each without having to go over themselves to complete the 128, they all fitted in side by side on the same layer, even the last one.
So if the 104 turns all fitted in side by side on one layer, including the 4th winding it should in theory reduce the ID from 87 to 67mm

What if I used 2x 2kw cores stacked, I could do less winds then yeah?

Edited by renewableMark 2019-04-05
Cheers Caveman Mark
Off grid eastern Melb
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 11:23pm 03 Apr 2019
Copy link to clipboard 
Print this post

I think I would just go ahead with what you already have, and make an extra special effort to flatten out each secondary layer as much as possible.

The very worst thing that can happen is we may have to find some slightly thinner wire for the primary.

Just had a thought.

I have a drum of that cable here, just weighed it at 1.8Kg, which is only about 11.5 metres of cable, just over one third of a full drum.

If you are able to fit 24 full turns over the top of your secondary in one full layer, then 61 turns are going to fit for sure through the remainder of the hole.

My guess would be 24 turns requires roughly about 6.5m of cable so there is easily enough there on the drum to try this, but nowhere near enough for 61 turns.

How snugly that first 24 turns fit over the secondary should give a pretty good idea of how tight all 61 turns are going to end up.

If you are down this way, feel free to pick it up.

Edited by Warpspeed 2019-04-05
Cheers,  Tony.
 
Mulver
Senior Member

Joined: 27/02/2017
Location: Australia
Posts: 160
Posted: 01:28am 04 Apr 2019
Copy link to clipboard 
Print this post

  renewableMark said  
With Tony's design using higher voltage the IGBT's are suited but at 48v the 4008's will be a better option (Tony's advice)


Warp, at what voltage do you suggest to use IGBT's? I am currently harvesting lithium 18650's and contemplating my overall system voltage.
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 01:49am 04 Apr 2019
Copy link to clipboard 
Print this post

  Mulver said  
Warp, at what voltage do you suggest to use IGBT's? I am currently harvesting lithium 18650's and contemplating my overall system voltage.

There are a lot of very nice large low cost mosfets around that have voltage ratings up to about 100v. They would be a good economical choice at 48v.

For 100v and above IGBTs are better in every way. Especially attractive are the big, old, and slow IGBT power blocks rated up to several hundred amps per device.
As we are only switching at very low frequency, speed is not a factor.

Another aspect altogether are the electrolytics. Energy stored is proportional to voltage squared, and at higher voltages the ripple current reduces as well.

So the short answer is, a higher voltage will be a much better and more efficient choice, and have fewer design problems, especially at high to very high power levels.

You will probably have noticed there are not too many grid tie inverters running at 48v. Some work at several hundred volts dc, and all of them use fast IGBTs.

Its a bit different with a battery though. A high voltage grid tie inverter can all be enclosed inside a sealed box.
A large high voltage off grid exposed battery can potentially be a very nasty thing.
Cheers,  Tony.
 
mackoffgrid

Guru

Joined: 13/03/2017
Location: Australia
Posts: 460
Posted: 01:57am 04 Apr 2019
Copy link to clipboard 
Print this post

This is my first pass for a schematic for the stm32_WarpInverter.

stm32_WarpInverter

Im trying not to allow it to get too bloated. We'll see ...

Cheers
Andrew
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 02:45am 04 Apr 2019
Copy link to clipboard 
Print this post

That looks fine.
Cheers,  Tony.
 
Mulver
Senior Member

Joined: 27/02/2017
Location: Australia
Posts: 160
Posted: 02:59am 04 Apr 2019
Copy link to clipboard 
Print this post

  Warpspeed said   Its a bit different with a battery though. A high voltage grid tie inverter can all be enclosed inside a sealed box.
A large high voltage off grid exposed battery can potentially be a very nasty thing


I was thinking of running 30s80p voltage from 90v to 126v but your right they would need to be well enclosed from any possible interference.
 
poida

Guru

Joined: 02/02/2017
Location: Australia
Posts: 1419
Posted: 03:11am 04 Apr 2019
Copy link to clipboard 
Print this post

It looks good Andrew. But I probably wont build it.

My plans for this project are a bit limited in scope.
Already I have 2 functional inverters 3000VA, one is powering the house since Sept '18.

I want to build a test warpverter only to explore it's performance and discover benefits etc. And so I don't want to start building more circuit boards.

I just recently completed a nanoverter control board.
The nanoverter board can drive a warpverter with the addition of a small
add-on board, that inserts into the nano1 socket. This will give me all I need (DC LV cutoff, DC OC cutoff, Vfb based closed loop control, inverter run on/off button, power supplies,etc.)

This add-on board only needs an Arduino Nano or STM32 BP and a multi pin connector socket. It can and will run from the nanoverter 5V supply. The code running on the nano or stm32 would only run the inverter, with DC V or AC Vfb type control, and have one input : the run/stop digital signal.
I'll hack one up on perfboard I think. Maybe even use IRS2004 half bridge drivers, to switch the optocouplers, instead of 74 series logic. The 2004 takes one input and generates complimentary output with deadtime and can drive 130mA, more than enough
for the diodes to light up.
I intend to run MOSFET based full bridge switches, with isolated DC supply for low and high sides. Many run at non-ground level references, so might as well bite the bullet and get a dozen of the cheap isolated converters Warp used.
Edited by poida 2019-04-05
wronger than a phone book full of wrong phone numbers
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 03:20am 04 Apr 2019
Copy link to clipboard 
Print this post

  Mulver said  
I was thinking of running 30s80p voltage from 90v to 126v but your right they would need to be well enclosed from any possible interference.


I run thirty Winston Lithium cells, nominally 100v. No problem with that, I have a two pole battery isolating circuit breaker. Open the breaker and I can work on any cell without even the slightest tingle.

If there were young children or pets around I would be a bit more concerned.
Cheers,  Tony.
 
Warpspeed
Guru

Joined: 09/08/2007
Location: Australia
Posts: 4406
Posted: 03:29am 04 Apr 2019
Copy link to clipboard 
Print this post

  poida said  
I intend to run MOSFET based full bridge switches, with isolated DC supply for low and high sides. Many run at non-ground level references, so might as well bite the bullet and get a dozen of the cheap isolated converters Warp used.

You will need eight half bridge boards and sixteen (!) of those small isolated supplies. Its not too bad though, all of the electronics including all seventeen small isolated supplies draw a combined total power of five watts with all the opto isolators running. Anything extra above that is just transformer magnetizing current.
Cheers,  Tony.
 
poida

Guru

Joined: 02/02/2017
Location: Australia
Posts: 1419
Posted: 03:31am 04 Apr 2019
Copy link to clipboard 
Print this post

Just tying up loose ends, LadyN suggested I look at the ESP32 as a possible uC for this project.
The ESP32 has lots of good things. Wifi, 2 cpu cores, Bluetooth, 2 DAC channels, heaps of flash for program, heaps of RAM, plenty of GPIO, timers,... $15 AU from local source. And you can program it via USB - out of the box, no need to load bootloaders. All good.

Today it arrived and the first test I do is to run a tight loop, toggling a I/O pin. This shows if there are any interrupts occurring, that will mess with the timing of inverter bridge gate drive signalling.
The below drives pin 2 (the Blue LED) as fast as possible

void setup()
{
REG_WRITE(0x3ff44020, BIT2);
}

void loop()
{
REG_WRITE(GPIO_OUT_W1TS_REG, BIT2);
REG_WRITE(GPIO_OUT_W1TC_REG, BIT2);
}


Then we need to examine this activity with the DSO.
There should not be gaps in the signal, and there are.
These are due to the watchdog function of the chip's OS/bootloader/whatever
and can't be turned off.
So the ESP32 is not suitable for driving inverters.

The Arduino Nano, Uno, Mega and Due ALL can have interrupts disabled such that
nothing at all will interrupt your code. This is why I like them.

The STM32 is the same in this respect. You can have code run with zero other interrupts mucking up things. But making the cheap Blue Pills work with USB programming is beyond me, I have to use the USB->TTL board, fiddle with switches and jumpers etc.

The ESP32 will probably become a supervisor, running a system, but ultimately letting an other uC do the time critical stuff. The wifi is good and easy to use.

wronger than a phone book full of wrong phone numbers
 
poida

Guru

Joined: 02/02/2017
Location: Australia
Posts: 1419
Posted: 03:32am 04 Apr 2019
Copy link to clipboard 
Print this post

Warp, could you point me to a link where to buy the isolated supplies?
wronger than a phone book full of wrong phone numbers
 
     Page 4 of 10    
Print this page
© JAQ Software 2024