OCPP charging station motherboard offline intelligent, core logic: continuous charging even when disconnected from the network, charging and billing can be done, earning less without any problems.
Why is it necessary to do:
The annual 4G data fee is 300-800 yuan, and the signal at remote stations is unstable.
OCPP shut down the network beyond the time limit, causing users to curse and operating at a loss.
Pile end computing power ceiling:
STM32F4/GD32F470, with 80KB of RAM remaining and a CPU usage rate of 60-70%.
The rule engine must be minimalist, only doing 'if A, then B', without touching AI and complex calculations.
Four board axe:
Rate cache: The time of use electricity price table issued by the cloud is burned into Flash and disconnected according to the RTC clock. The clock has been downgraded to a flat price, ensuring that it can be charged and charged, and earning less peak valley difference.
Load dispatch: Cache the final power allocation strategy in the cloud, and after the network is disconnected, each CAN/RS485 station negotiates with itself, ensuring that the total power does not exceed the upper limit. First come, first served, automatic downshifting when exceeding the limit.
Fault autonomy: Insulation, overheating, emergency stop hardware level protection, independent of network. Lightweight prediction locally done: insulation resistance continuously decreases for 5 minutes → early power reduction warning; If the temperature of the capacitor rises above 5 ℃ for 3 minutes, turn on the fan in advance.
Transaction cache: Write offline records to the Flash queue, store 100000 records in 1MB, and upload them in bulk after recovery. Over 90% of the space covers the oldest records and is marked; If the network is disconnected for more than 24 hours, local settlement will be made, and users will be prompted to refer to the actual bill.
Three red lines:
Do not offer complex billing such as membership points/tiered discounts;
Do not perform AI inference such as license plate recognition/battery prediction;
Do not engage in global optimization such as photovoltaic/energy storage/grid collaboration.
Key implementation points:
The rule engine uses decision trees with fixed formats for conditions and actions, with 100 entries stored in Flash and 20 entries loaded in RAM.
RTC button battery has a 3-year warranty, clock drift of ± 5 minutes/month, and a 15 minute buffer before and after rate switching.
Conclusion:
The local rule engine is not a substitute for the cloud, but a safety net when the network is disconnected. Downtime reduces profits, user experience and operational continuity are maintained, and data costs cannot be saved but losses are controllable.
The communication charging pile motherboard produced by Xincheng Technology is of high quality and beautiful price. Welcome to inquire and purchase!
Contact:SHEN ZHEN X-CHENG Technology Co.,Ltd
Phone:18025316892
Tel:0755-21010929
Email:shutao.chen@x-cheng.com
Address:Room B911, Zhantao Technology Building, Longhua District, Shenzhen