Author Topic: MPPT - simple, too simple ?  (Read 7572 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
MPPT - simple, too simple ?
« on: July 30, 2011, 05:16:19 pm »
Attached is the PDf of my schematic. Basically the A section of ICi which is a LM393 is the heart of a basic SMPS but I have put a PIC in the feedback loop so that the voltage is controlled by the pic based on the current readings from R6 which is the sense resistor.

I have tried to implement a mosfet rectification in the SMPS output to make it more efficient but I'm unsure if i have protected against shoot through. The principle is that C4 will provide a delay after switch off of Q1 but it will instantly be cut off when the output of the comparator short C4. Is this safe or will spark fly ? at the end of the day it is solar powered so not the same sort of risk I'd get from say a battery supply.

I think I am yet to add soe circuitry to make sure it shuts down when dark and does not discharge the battery, but i have section B of the comparator to use up yet
« Last Edit: July 31, 2011, 07:50:59 am by Simon »
 

Offline Neganur

  • Supporter
  • ****
  • Posts: 1153
  • Country: fi
Re: MPPT - simple, too simple ?
« Reply #1 on: July 30, 2011, 06:33:00 pm »
hmmmm I don't see any attachment :)
 

Offline RayJones

  • Frequent Contributor
  • **
  • Posts: 490
    • Personal Website
Re: MPPT - simple, too simple ?
« Reply #2 on: July 30, 2011, 11:22:57 pm »
Damn that's a simple circuit!
So simple it requires no parts whatsoever  :-*
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: MPPT - simple, too simple ?
« Reply #3 on: July 31, 2011, 07:51:26 am »
sorry yea forgot to attach  >:( it is now attached
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: MPPT - simple, too simple ?
« Reply #4 on: July 31, 2011, 08:01:33 am »
Damn that's a simple circuit!
So simple it requires no parts whatsoever  :-*

yea i wish  ;D
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: MPPT - simple, too simple ?
« Reply #5 on: July 31, 2011, 09:19:57 am »
From the datasheet:
Quote
The amount of current which the output device can
sink is limited by the drive available (which is independent of
V+) and the ? of this device. When the maximum current limit
is reached (approximately 16mA), the output transistor will
come out of saturation and the output voltage will rise very
rapidly.
(the datasheet doesn't even guarantee the 16 mA (typ.), but specifies 6 mA as the minimum current the device can sink)

Sounds like you need to current-limit the discharge of C4. Which in turn gives you an RC-circuit with a delay.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: nl
  • Please stop pushing bullshit...
Re: MPPT - simple, too simple ?
« Reply #6 on: July 31, 2011, 09:35:59 am »
Hi Simon,


It is not a good idea to put a processor in a feedback loop, it is always to slow to protect your Q1.
You can do it, but there is also a circuit necessary to quickly protect Q1 to limit the max current.
You can put a resistor in the source of Q1 and a PNP transistor to pull up the Gate of Q1.
This wil ofcourse lower the efficiency...
There are special "High Site" current sensor IC's for this function that can use small resistors 0.01 Ohm
It is all depending on de Current/power your source can deliver.

If Q1 is a IRF4905, it can handel 75A and more than 200Amp peak. No small transformer can do dat.
But, it is not easy to design powersupply's :-)

My 2 cents
Bram




Necessity is not an established fact, but an interpretation.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: MPPT - simple, too simple ?
« Reply #7 on: July 31, 2011, 09:46:45 am »
Hi Simon,


It is not a good idea to put a processor in a feedback loop, it is always to slow to protect your Q1.
You can do it, but there is also a circuit necessary to quickly protect Q1 to limit the max current.
You can put a resistor in the source of Q1 and a PNP transistor to pull up the Gate of Q1.
This wil ofcourse lower the efficiency...
There are special "High Site" current sensor IC's for this function that can use small resistors 0.01 Ohm
It is all depending on de Current/power your source can deliver.

If Q1 is a IRF4905, it can handel 75A and more than 200Amp peak. No small transformer can do dat.
But, it is not easy to design powersupply's :-)

My 2 cents
Bram

The mosfet is controlled by the comparator, not the MCU, all the MCU does is set the threshold voltage of the comparator to control the output voltage. The MCU is not responsable for turning Q1 on or off and it does not need to react fast to for example turn the mosfet off mid cycle. All it does is decide the output voltage required and provide a suitable PWM output to the low pass filter that is basically a variable voltage reference for the comparator.

I did think of a high side current sensing chip but wanted simplicity, I'll use the builtin 0.6V ref of the PIC12F615 and acept a low resolution of ADC readings so lowering the resistance and voltage drop. I may put a high side sensor in later
« Last Edit: July 31, 2011, 09:49:49 am by Simon »
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: MPPT - simple, too simple ?
« Reply #8 on: July 31, 2011, 09:50:53 am »
From the datasheet:
Quote
The amount of current which the output device can
sink is limited by the drive available (which is independent of
V+) and the ? of this device. When the maximum current limit
is reached (approximately 16mA), the output transistor will
come out of saturation and the output voltage will rise very
rapidly.
(the datasheet doesn't even guarantee the 16 mA (typ.), but specifies 6 mA as the minimum current the device can sink)

Sounds like you need to current-limit the discharge of C4. Which in turn gives you an RC-circuit with a delay.

well looks like an output transistor will be required, C4 will be small in any case as the values of the resistors in series can be quite high due to the mosfets high gate impedence
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: nl
  • Please stop pushing bullshit...
Re: MPPT - simple, too simple ?
« Reply #9 on: July 31, 2011, 10:05:11 am »
Hi Simon,

I understand your schematic, but... I try to explain what happens when short circuit or overload...
BOEM! boom and then you can go to the hairdresser  ;D

Bram


Necessity is not an established fact, but an interpretation.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: MPPT - simple, too simple ?
« Reply #10 on: July 31, 2011, 10:08:12 am »
Hi Simon,

I understand your schematic, but... I try to explain what happens when short circuit or overload...
BOEM! boom and then you can go to the hairdresser  ;D

Bram

Well as I cut my own hair no worries  8)

Well I could put a fuse in should there worse really happen, or use a small resistor in series and a comparator to trip a forced condition that is safe. As for overload, well it is 5A of solar panel, so an overload that the panel can provide current for is not really an overload. Naturally if i was making it for more current I would be beefing a lot of things up and adding lots of protection
 

Offline Neilm

  • Super Contributor
  • ***
  • Posts: 1558
  • Country: gb
Re: MPPT - simple, too simple ?
« Reply #11 on: July 31, 2011, 06:37:38 pm »
Simon,

I suspect that you will have shoot through problems with this design. Your design from the FET control assumes that they will switch together. This does not happen in real life. What you will find happening is one FET turning on as the second is still part conducting - classic shoot through. There is nothing to ensure that both FETs will turn off and on at the same voltage.

There are several devices available that will take care of driving the FETs and ensuring that there is no shoot through.

Yours

Neil
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe. - Albert Einstein
Tesla referral code https://ts.la/neil53539
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18017
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: MPPT - simple, too simple ?
« Reply #12 on: July 31, 2011, 06:55:13 pm »
what sort of devices am i looking for to act as drivers ?
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19897
  • Country: gb
  • 0999
Re: MPPT - simple, too simple ?
« Reply #13 on: July 31, 2011, 07:28:38 pm »
(the datasheet doesn't even guarantee the 16 mA (typ.), but specifies 6 mA as the minimum current the device can sink)
To be picky, the datasheet actually specifies the maximum current the device can sink is 6mA, when the output voltage is no greater than 1.5V so you'll almost certainly be able to get more than that, even at the worst case but the output voltage will rise. I agree it isn't wise to assume 16mA though.
 

Offline Neilm

  • Super Contributor
  • ***
  • Posts: 1558
  • Country: gb
Re: MPPT - simple, too simple ?
« Reply #14 on: July 31, 2011, 07:34:18 pm »
I would do a search for half bridge drivers on RS, Farnell and the like. Some of the results will be for N-type FET drives only, these will include the supplies for driving it.

Neil
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe. - Albert Einstein
Tesla referral code https://ts.la/neil53539
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf