Seite 1 von 9

Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: So 3. Feb 2013, 15:11
von vasonline
Hi,

Excuse me for my English.
Entschuldigen sie for meine English.
I found this excellent forum by gooogling.
I will try to make a German translation if time. (my German is very bad, but I can read it)
Meine Deutch is sehr slecht, lesen ist Ok, aber schreiben is sehr schwierig.

---

I have two Chinese grid tie inverters. But the are not of the more familiar "Power Jack" or "Sun".
However I would really like to reverse engineer the microcontroller program.
The manufacturer is "Kai Deng"
They have the annoying bug that they need a rather large solar input (15W) in order to "power lock" stable.

I believe the current "step" is too big in the microcontroller.

Can you help me finding the microcontroller name?
It's name is sanded off :( Atmel?
I already found the other chip myself.

To the left it seems a connector for programming, just like the power jack/sun gti
Bild

Bild

Bild

I also upgraded the input capacitors to 2x10.000µF

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: So 3. Feb 2013, 18:10
von andreas
Hello,

it could be a PIC.

MfG. Andreas

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Mo 4. Feb 2013, 11:29
von vasonline
Hi Andreas,

Vielen dank :)
Many thanks :)

I checked most of the pin's and they all match with the PIC16F8.

So I will probably need to buy something like this?:
https://www.olimex.com/Products/PIC/Pro ... /PIC-KIT3/

Bild

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Mo 4. Feb 2013, 22:38
von andreas
Hello,

the PIC: Codeprotection.

MfG. Andreas

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Di 5. Feb 2013, 18:26
von vasonline
Hi,

Thanks for the answer.
Maybe I will try it...just for fun to see if it's readable.

Greetings,

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Di 5. Feb 2013, 18:41
von PetriK
If i remember correct there is a pic based reference design and program available on microchip site. Assuming this is pic then maybe its not so far away from reference design.

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Mi 6. Feb 2013, 14:11
von vasonline
Hi PetriK,

Thank you for your input.

I have found the reference design & installed the code on my PC.
We'll wait till my PIC programmer arrives.

Greetings

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Sa 9. Feb 2013, 09:45
von vasonline
I measured the 5 pin's of the ISCP/programming connector on the left.
Whether is a PIC or not, they all went to the right pin's on the chip.
PIN 1 was already "square" marked.

I the meantime I updated the drawing:

Bild

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Mo 11. Feb 2013, 16:16
von vasonline
Hi,

Today I got my PIC3Kit.
However I failed to connect to the chip.

Oh dear It appears you need to select the right pic type in mplab.
The list is very long...

Some not relevant output:

PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.40
Firmware type......................Baseline
PICkit 3 Connected.
Target Detected

Code: Alles auswählen
Target Detected
Target Device ID (00000000) does not match expected Device
ID (0c053000).

Target Removed

Target Detected
Target Device ID (00000000) does not match expected Device
ID (0c053000).

Target Removed

Target Detected
Target Device ID (00000000) does not match expected Device
ID (0c053000).

Target Removed

Target Detected
Target Device ID (00000000) does not match expected Device
ID (0c053000).

Target Removed

Re: Kai Deng GTI300W Grid tie inverter reverse engineering

BeitragVerfasst: Mo 11. Feb 2013, 20:41
von vasonline
I believe it's a PIC16F716

Code: Alles auswählen
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.40
Firmware type......................Midrange
PICkit 3 Connected.
Target Detected
Device ID Revision = 00000005


How do I read it's memory? So far I see nothing at all when I select programmer --> read