Re: Tesla Charger Support Thread
Posted: Wed May 27, 2020 8:05 pm
Very much looking forward to getting my board! Thanks Tom
openinverter Community
https://www.openinverter.org/forum/
How have you grounded your charger, the line voltage gets reported correctly however there is no frequency reported atleast as expected.
With these settings:tom91 wrote: ↑Wed May 27, 2020 7:22 pmPlease report on accurately I see you mention AC read outs from the Juice box.bulletbug wrote: ↑Wed May 27, 2020 6:17 pm
Ok. I've rerun logs using the higher voltage charger. The EVSE is a Juicebox brand with wifi reporting. Watching the related app I'm able to get what I consider to be more accurate charging stats, voltage, amps, etc. Update cycle for the app seems to be in the sub-second range since it reports the HZ of the AC line
Observed Amps: 0.8 amps stable
Initializes and moves directly to .8 amps and holds steady. I've rerun it several times, resetting the board, unplugging charger etc. and get the same results.
SavvyCan527.csvSettings527.rtfSerialLog527.rtf
So the Juicebox tells you the AC current correct, and this is 0.8 Amps is it not?
Can you please see what it draws when you set the AC limit setting to 10 instead of 5. I might be the stupid command formatting is changed.
Please also do not speculate how values are calculated as all displayed feedback values are purely translated from canbus there is no other math happening. So this looks like an exercises of rescaling/checking all values reported AND sent.
Grounding:tom91 wrote: ↑Wed May 27, 2020 8:28 pmHow have you grounded your charger, the line voltage gets reported correctly however there is no frequency reported atleast as expected.
Also the charger jumps into a state and stays there, right after startup, you would expect something a bit more of a stair case like.
On your idea regarding the stair case idea...I have noticed that a timer initialization is commented out at line 135:tom91 wrote: ↑Wed May 27, 2020 8:28 pmHow have you grounded your charger, the line voltage gets reported correctly however there is no frequency reported atleast as expected.
Also the charger jumps into a state and stays there, right after startup, you would expect something a bit more of a stair case like.
Thank you, the feedback I am decoding from the canbus is not great, in the status it seems the charger phase says its at a voltage limit (possibly due to scaling issue), if you increase the charge voltage request this is the quickest way of figuring out if the request voltage scaling is incorrect for your charger.bulletbug wrote: ↑Wed May 27, 2020 8:31 pm With these settings:
Settings Menu
1 - Auto Enable : ON
2 - Modules Enabled : 2
3 - Can Mode : Off
4 - Port Type : 1
5 - Phase Wiring : 1
6 - DC Charge Voltage : 400V
7 - AC Current Limit : 5A
8 - CAN0 Speed : 500
9 - CAN1 Speed : 500
a - Can Debug : OFF
b - EVSE Debug : ON
t - termination voltage : 450V
q - To Quit Menu
Juicebox shows:
Status: Charging
Current: 0.8 amps (steady, with occasional move to 0.7 amps)
AC Voltage: 247
Next steps:
1. Unplug j1172 plug from socket (juicebox confirms standby and charge amps go to zero)
2. Through serial commands change only item 7. from 5A to 10A
3. Press control board reset button...confirm serial monitor timestamp numbers have started over
4. Plug in j1772 plug to socket
Then Juicebox shows:
Status: charging
Current: 0.8 amps (steady, with occasional move to 0.7 amps)
AC Volrage: 247
I set item 6. to 550v and termination voltage to 650v.tom91 wrote: ↑Wed May 27, 2020 8:41 pmThank you, the feedback I am decoding from the canbus is not great, in the status it seems the charger phase says its at a voltage limit (possibly due to scaling issue), if you increase the charge voltage request this is the quickest way of figuring out if the request voltage scaling is incorrect for your charger.bulletbug wrote: ↑Wed May 27, 2020 8:31 pm With these settings:
Settings Menu
1 - Auto Enable : ON
2 - Modules Enabled : 2
3 - Can Mode : Off
4 - Port Type : 1
5 - Phase Wiring : 1
6 - DC Charge Voltage : 400V
7 - AC Current Limit : 5A
8 - CAN0 Speed : 500
9 - CAN1 Speed : 500
a - Can Debug : OFF
b - EVSE Debug : ON
t - termination voltage : 450V
q - To Quit Menu
Juicebox shows:
Status: Charging
Current: 0.8 amps (steady, with occasional move to 0.7 amps)
AC Voltage: 247
Next steps:
1. Unplug j1172 plug from socket (juicebox confirms standby and charge amps go to zero)
2. Through serial commands change only item 7. from 5A to 10A
3. Press control board reset button...confirm serial monitor timestamp numbers have started over
4. Plug in j1772 plug to socket
Then Juicebox shows:
Status: charging
Current: 0.8 amps (steady, with occasional move to 0.7 amps)
AC Volrage: 247
Set it to 550V (If the commanded voltage should scale with the reported back voltage) and do not forget to increase the termination voltage too.
Did you manage a capture of it drawing/putting any current into the battery? (sorry if I missed this)
Please do not worry about code, it pumps out the right messages to make a charger work. I checked the content there and nothing appears wrong or missing.
I have not seen a can log showing me it is actually charging, no changes in Battery voltage. You mention a few posts back that you can get it to do a 5Amp charge at the beginning of a day got a can capture of that?bulletbug wrote: ↑Wed May 27, 2020 8:54 pm
I set item 6. to 550v and termination voltage to 650v.
Reset the board with timestamp starting over.
No change to Juicebox readings.
Then Juicebox shows:
Status: charging
Current: 0.8 amps (steady, with occasional move to 0.7 amps)
AC Voltage: 247
In the serial monitor I have never seen the state go to 2. It moves between 0 and 1 as I would expect based on code...but I've not seen it go to state 2.
I believe it is charging...just at the wrong scale.
May I clarify some assumptions I have to see if the issue may be "baked" into one of those?tom91 wrote: ↑Wed May 27, 2020 9:00 pmI have not seen a can log showing me it is actually charging, no changes in Battery voltage. You mention a few posts back that you can get it to do a 5Amp charge at the beginning of a day got a can capture of that?bulletbug wrote: ↑Wed May 27, 2020 8:54 pm
I set item 6. to 550v and termination voltage to 650v.
Reset the board with timestamp starting over.
No change to Juicebox readings.
Then Juicebox shows:
Status: charging
Current: 0.8 amps (steady, with occasional move to 0.7 amps)
AC Voltage: 247
In the serial monitor I have never seen the state go to 2. It moves between 0 and 1 as I would expect based on code...but I've not seen it go to state 2.
I believe it is charging...just at the wrong scale.
I would need to see the reported status transition during that charge session to understand if there is an issue in the setup (grounding ect.) or with canbus scaling.
This is the voltage measured at the output of the charger.bulletbug wrote: ↑Wed May 27, 2020 9:13 pm May I clarify some assumptions I have to see if the issue may be "baked" into one of those?
From the serial output line:
Phase 2 Feebback // AC present: 1 AC volt: 248 AC cur: 27.73 DC volt: 380 DC cur: 0.00 Inlet Targ: 60 Temp Lim Cur: 15 25 26 EN:1 Flt:0 Stat:1001101
I'm assuming that:
DC Volt: 380 represents the power modules observation (and reporting via internal can messages) of pack voltage and should match the measurement I would see with a simple voltage meter on the positive most and negative most terminals of my battery pack.
Or should That DC Volt be telling me the voltage that the charger is putting out into the battery?
You need to hear relays click yes when plugging in the EVSE. as the charger stages precharge.bulletbug wrote: ↑Wed May 27, 2020 9:18 pm Another Question: Should I see more than 1 red light on the active module at any time? I have one solid light on during our conversation. Earlier today (prior to any logs you've seen) I had all 3 modules activated and one of them flashed an additional light on as a relay click happened. Additional light turned on and off as relay click was heard.
My scaling number that brought the DC Volt to the correct measurement compared to my pack voltage is 0.007804311tom91 wrote: ↑Wed May 27, 2020 9:28 pmThis is the voltage measured at the output of the charger.bulletbug wrote: ↑Wed May 27, 2020 9:13 pm May I clarify some assumptions I have to see if the issue may be "baked" into one of those?
From the serial output line:
Phase 2 Feebback // AC present: 1 AC volt: 248 AC cur: 27.73 DC volt: 380 DC cur: 0.00 Inlet Targ: 60 Temp Lim Cur: 15 25 26 EN:1 Flt:0 Stat:1001101
I'm assuming that:
DC Volt: 380 represents the power modules observation (and reporting via internal can messages) of pack voltage and should match the measurement I would see with a simple voltage meter on the positive most and negative most terminals of my battery pack.
Or should That DC Volt be telling me the voltage that the charger is putting out into the battery?
Was your corrected scaling around 0.0076293945313 ?
I am really struggling to figure out what is going on with your charger, i would almost get to the conclusion the output voltage sensing circuit is damaged in some way, along with the AC current sensing.
So when any one module is happily charging along it will have one red light or 2 on the module board?tom91 wrote: ↑Wed May 27, 2020 9:34 pmYou need to hear relays click yes when plugging in the EVSE. as the charger stages precharge.bulletbug wrote: ↑Wed May 27, 2020 9:18 pm Another Question: Should I see more than 1 red light on the active module at any time? I have one solid light on during our conversation. Earlier today (prior to any logs you've seen) I had all 3 modules activated and one of them flashed an additional light on as a relay click happened. Additional light turned on and off as relay click was heard.
But you tried that, by bumping the charge voltage and termination voltage and it did nothing....bulletbug wrote: ↑Wed May 27, 2020 10:05 pm If the DC voltage needed to be scaled to correct it, I'm thinking this implies my charger has either:
* Different CAN messaging at the power module stage or
* Different hardware for detecting voltage and current than other chargers.
Here's a picture of the tag on the charger:
20200527_160157.jpg
If you could do a capture of the working one charging and then a capture of the behaviour of the none working one I will happily have a dig through it.Cyco90 wrote: ↑Wed May 27, 2020 10:33 pm So I've been seeing basically the exact same symptoms as Bulletbug on 2 different chargers. I have tried adjusting the DC scaling number with no change to behaviour, but I have not yet tried changing the output charge value. I can try that in the near future.
I only have one of those chargers remaining, but it seems odd that mine and Bulletbug's chargers are all broken in the same way.
If I can record CAN captures of my unit's behaviour, would that be of help for further diagnosis? At least then we can see if it's a common error among certain versions of the Gen2 charger.
I do also have a working unit that I've been using for a while. When I swap the open source boards around the working charger stays working, and the non-working one stays non-working.
Cheers,
-Ryan
Tom - You're awesome!!tom91 wrote: ↑Wed May 27, 2020 10:38 pmIf you could do a capture of the working one charging and then a capture of the behaviour of the none working one I will happily have a dig through it.Cyco90 wrote: ↑Wed May 27, 2020 10:33 pm So I've been seeing basically the exact same symptoms as Bulletbug on 2 different chargers. I have tried adjusting the DC scaling number with no change to behaviour, but I have not yet tried changing the output charge value. I can try that in the near future.
I only have one of those chargers remaining, but it seems odd that mine and Bulletbug's chargers are all broken in the same way.
If I can record CAN captures of my unit's behaviour, would that be of help for further diagnosis? At least then we can see if it's a common error among certain versions of the Gen2 charger.
I do also have a working unit that I've been using for a while. When I swap the open source boards around the working charger stays working, and the non-working one stays non-working.
Cheers,
-Ryan