mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-20 01:13:58 +00:00
EvseMode: faster simulated precharge. Ioniq closes the contactors.
This commit is contained in:
parent
f927fbeee2
commit
22ccf712a2
3 changed files with 13 additions and 1 deletions
|
@ -138,8 +138,12 @@ class fsmEvse():
|
||||||
if (strConverterResult.find("PreChargeReq")>0):
|
if (strConverterResult.find("PreChargeReq")>0):
|
||||||
# todo: check the request content, and fill response parameters
|
# todo: check the request content, and fill response parameters
|
||||||
# simulating preCharge
|
# simulating preCharge
|
||||||
if (self.simulatedPresentVoltage<300):
|
if (self.simulatedPresentVoltage<200):
|
||||||
|
self.simulatedPresentVoltage = 200
|
||||||
|
if (self.simulatedPresentVoltage<230):
|
||||||
self.simulatedPresentVoltage += 10
|
self.simulatedPresentVoltage += 10
|
||||||
|
if (self.simulatedPresentVoltage<400):
|
||||||
|
self.simulatedPresentVoltage += 5
|
||||||
strPresentVoltage = str(self.simulatedPresentVoltage) # "345"
|
strPresentVoltage = str(self.simulatedPresentVoltage) # "345"
|
||||||
msg = addV2GTPHeader(exiEncode("EDg_"+strPresentVoltage)) # EDg for Encode, Din, PreChargeResponse
|
msg = addV2GTPHeader(exiEncode("EDg_"+strPresentVoltage)) # EDg for Encode, Din, PreChargeResponse
|
||||||
self.addToTrace("responding " + prettyHexMessage(msg))
|
self.addToTrace("responding " + prettyHexMessage(msg))
|
||||||
|
|
|
@ -11,6 +11,14 @@ In this project, we call this mode *ListenMode*.
|
||||||
|
|
||||||
## News / Change History / Functional Status
|
## News / Change History / Functional Status
|
||||||
|
|
||||||
|
### 2023-04-16 EvseMode brings the Ioniq to close the contactors
|
||||||
|
With simulated rising EVSEPresentVoltage in the PreChargeResponse, the Ioniq indeed closes the contactors, without
|
||||||
|
the need to feed physical voltage to the CCS DC inlet pins. This is surprising, because - at least for ISO -
|
||||||
|
the specification says that a physical measurement shall be done. The Ioniq does not, it just relys on the
|
||||||
|
reported voltage on the charger. After closing the contacts, there is the accu voltage on the CCS. Not yet
|
||||||
|
tested, whether it is possible to draw some current out of the vehicle.
|
||||||
|
Log here: results/2023-04-16_at_home_Ioniq_in_currentDemandLoop.pcapng
|
||||||
|
|
||||||
### 2023-03-03 v0.6 Tea-Time on Alpitronics charger
|
### 2023-03-03 v0.6 Tea-Time on Alpitronics charger
|
||||||
Made a tea, using the RaspberryPi3 and tpLink modem on Alpitronics hypercharger.
|
Made a tea, using the RaspberryPi3 and tpLink modem on Alpitronics hypercharger.
|
||||||
Pictures here: https://openinverter.org/forum/viewtopic.php?p=53848#p53848
|
Pictures here: https://openinverter.org/forum/viewtopic.php?p=53848#p53848
|
||||||
|
|
BIN
results/2023-04-16_at_home_Ioniq_in_currentDemandLoop.pcapng
Normal file
BIN
results/2023-04-16_at_home_Ioniq_in_currentDemandLoop.pcapng
Normal file
Binary file not shown.
Loading…
Reference in a new issue