The invention discloses an electric vehicle charging pile relay distribution equalization algorithm and a charging pile, and the algorithm comprises the steps of starting, random number generation, standby, preparation for starting charging, searching for unused relays from an initial random number offset position, and charging, and comprises the steps of starting distribution and querying the number of residual modules; if the number of the remaining modules is greater than 0, querying that the module corresponding to the current offset is in use, and if the offset is increased and the remainder is obtained, querying that the module corresponding to the current offset is not in use, and allocating the current module; if the number of the remaining modules is greater than 0, distribution fails. The distribution algorithm has the advantages that the service life problem caused by uneven distribution of the relays of the charging pile is solved, the algorithm is low in performance requirement, the hardware requirement of equipment such as the charging pile can be met, and meanwhile the approximately-even distribution effect can be achieved.
本发明公开了一种电动汽车充电堆继电器分配的均衡算法以及充电堆,包括开始、随机数生成、待机、准备启动充电、从初始随机数偏移处开始查找未使用的继电器、充电,包括开始分配、查询剩余模块数量;剩余模块数量大于0,查询当前偏移量对应模块正在使用,如偏移量增加并取余,查询当前偏移量对应模块不在使用,分配当前模块;剩余模块数量大于0,分配失败。本发明的有益效果是,本发明为了解决充电堆的继电器分配不均匀导致的寿命问题,提出了一种分配算法.该算法对于性能要求低,可满足充电桩等设备的硬件要求,同时能达到近似均匀的分配效果。
Equalization algorithm for relay distribution of electric vehicle charging pile and charging pile
一种电动汽车充电堆继电器分配的均衡算法以及充电堆
2022-10-11
Patent
Electronic Resource
Chinese
IPC: | B60L PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES , Antrieb von elektrisch angetriebenen Fahrzeugen |