External limiting an GTIL2 SUN-1000G2 with raspberry


MASSIVE restock of EV Batteries at www.batteryhookup.com 5% coupon "POWERWALLS"

OiD

New member
Joined
May 9, 2022
Messages
3
It's a while since I dabbled with this, but here is some info and images I created at the time if it helps:

The interface is RS232:


View attachment 2566


The essential functions of the interface board:

View attachment 10160


The 8 pins on the left represent the ribbon cable from the main board. The 9 pins on the right represent the RS232 D connector. The centre pins are the connections to the RS232 level shifter IC (charge pump etc components not shown for clarity).
I'm not sure what the connection to pin 9 on the D connector is, but I suspect it is to provide power to a wifi type dongle, so watch out for that if what you connect to it is not expecting that as that is not standard on an RS232 connector.

Some screen shots of settings I used in a modbus application:


View attachment 3646
Hi! Thanks for this interesting thread!
I have a SUN-1000GTIL2 the 22-65v version for Europe with FW 6.1.
I've checked your diagram and the Max3232 datasheet pin-out, all is correct.
I cannot get any responses from my inverter with the Modlink, always returns "FAIL: Response timeout expired".
I've tried 6 different USB to serial adapters (rs232 and rs485).
I'm out of DB9 female connectors to make a cable to sniff the port so any tips on getting it running would be REALLY appreciated!
Maybe the 6.1 uses a different baud rate?

Cheers!
 

OiD

New member
Joined
May 9, 2022
Messages
3
Okay, made a 4th cable, and another RS232 to USB adapter. Restarted the unit and it worked. Must have been the unit getting bogus stuff on the Serial port...
I'm really looking for a way to read when the limiter is enabled so I can charge batteries with excess energy.
I can only get data from a few registers;
registerdecimalhexadecimaldescription
0​
2​
0002Device Type
2​
1​
256​
0100mailing address
2​
1​
0001Communication protocol version
1​
3​
12849​
3231SN 1,221
4​
12344​
3038SN 3,408
5​
12338​
3032SN 5,602
6​
13364​
3434SN 7,844
7​
14137​
3739SN 9,1079
43​
12336​
3030Power on/off enable
59​
512​
0200Running state
60​
10​
000AActive power generation on the day
1​
kWh
63​
106​
006ATotal active power generation low word
10.6​
kWh
70​
2218​
08AAGrid voltage AB
221.8​
V
86​
150​
0096Output active power low word
15​
W
109​
250​
00FADC voltage
25​
V
 

DNS28

New member
Joined
May 1, 2022
Messages
6
I've read some things on German forums, but all are just about the 1000W GTIL2.
This one you can control with a small change to its controller PCB and then you just need external 0 to 5V and a resistor voltage divider.
That is the solution I'd like for the 2000W GTIL2, but it seems it only works with the 1000W version :(

For me this means right now: I have to buy the 1200W Soyo inverter and control it via RS485 :/
Hi NikA,

Could you please send a link with details of this 1200W Soyo inverter?

Many thanks.
 

grundholm

Member
Joined
Oct 3, 2020
Messages
46
 

NikA

New member
Joined
Apr 30, 2022
Messages
12
Hi NikA,

Could you please send a link with details of this 1200W Soyo inverter?

Many thanks.
Sorry, I see this just now.

here it is:

beware! it has no LCD (I thought it had, even the manual and sheets that come with it show an LCD and buttons ...)
 

Moritz71

New member
Joined
Feb 25, 2022
Messages
4
ok, I tried some things myself just now.

Applying an external voltage doesn't do anything with my GTIL2.
I did hope to control it using an DAC as you do it with DCDC converter feedback resistors etc.

Then I tried limiting using a fix 1k resistor, that dropped the power from 450 to 340W.
But the current! 300mA through 1k, that explains why digital Rpot die, it's way too much for them.

I suppose nobody did examine the controller PCB any further?
I can not get the PCB out right now, but it would be interesting to see where the 2pin connector is connected to, I could not beep it with my multimeter today, not enough time to do so :/
i tried the connector for the 10k potentiometer (at bottom/right on the picture) - the voltage here was 3.3V, and the current at 0 Ohm 330uA so the internal resistor was also 10 kOhm - with my pcb circuit (20x50mm) I now can control the complete power range of (two) SUN1000-GTIL2 using 0 - 3.3V as input which controls the MosFET which is simulating the potentiometer ....
pcb circuit based on : https://secondlifestorage.com/index...il2-sun-1000g2-with-raspberry.2328/post-63741
:)
 

Attachments

  • mainboard.png
    mainboard.png
    603.7 KB · Views: 45
  • IMG_5778.JPG
    IMG_5778.JPG
    69.6 KB · Views: 43
Last edited:

NikA

New member
Joined
Apr 30, 2022
Messages
12
ah, here you wrote it :)

very odd though, maybe that's the difference between 1kW and 2kW version?
My amperemeter did show a much higher current @ 1kOhm as you saw in my post above :eek:

I think I'll try this circuit too, I already have something similar around, just different parts and I need to add the FET part after the opAmp ... I'll report about it as soon as I've got something wired up.

Applying the voltage directly did not work, now I'm curious because with the FET it should work :eek:
 

DNS28

New member
Joined
May 1, 2022
Messages
6
Sorry, I see this just now.

here it is:

beware! it has no LCD (I thought it had, even the manual and sheets that come with it show an LCD and buttons ...)
Hi NikA,

Just saw your reply.
Thanks for sharing. Do you know how you can change the output power on these inverters? Via communication? Wifi? RS485?

Thanks
 
Top