New energy charging and discharging control modeling method and system based on IEC 61499
Through the microservice architecture based on IEC 61499 standard, the new energy charging and discharging control system is built, and the problems of closedness and non-scalability of traditional new energy control equipment are solved, and efficient and intelligent control of new energy charging facilities is achieved.
Patent Information
- Application Number
- CN202411584158.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-14
AI Technical Summary
Traditional new energy control equipment has problems such as highly customized, highly closed and highly integrated, making it difficult to achieve efficient, reliable and easy-to-scaling control systems, especially in new energy charging and discharging control.
Adopting the microservice architecture based on IEC 61499 standard, an open decoupling, reconfigurable and distributed new energy charging and discharging control system is built, including charging and discharging control function blocks, electricity price optimization function blocks, electricity price billing function blocks, and power Optimize function blocks, alarm monitoring function blocks and data communication function blocks.
The intelligence level of new energy charging facilities has been improved, the standardization of the control model has been ensured, the interoperability, scalability and maintainability of the system have been improved, and the reliability and fault tolerance of the system have been enhanced.
Smart Images

Figure CN119439800A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a new energy charging and discharging control modeling method and system based on IEC 61499, belonging to the new industrial control field for new energy vehicles. Background Art
[0002] Traditional new energy control equipment is subject to the limitations of computing, storage and network resources, forming a highly customized, highly closed and highly integrated vertical ecosystem. With the continuous development of new energy technology, new energy charging and discharging control involves multiple aspects such as load management and energy optimization, which requires an efficient, reliable and easily expandable control system to support it. Building a new energy charging and discharging control modeling method and system based on the IEC61499 standard can effectively realize the openness and interoperability of the system.
[0003] The Chinese invention patent application with publication number CN113954679A, published on January 21, 2022, discloses an edge control device for orderly charging control of electric vehicles, and provides an edge control device for orderly charging control of electric vehicles. The microservice architecture using the IEC 61499 standard replaces the traditional monolithic application development, so that each microservice has a unified packaging and presentation method. However, the invention patent application only describes the system level of the orderly charging control system of electric vehicles, and does not describe the specific functional blocks and application implementation methods.
[0004] The Chinese invention patent application with publication number CN113928155A, published on January 14, 2022, discloses a method for building an orderly charging control system for electric vehicles based on IEC61499, provides a method for building an orderly charging control system for electric vehicles based on IEC61499, and explains that the orderly charging control model for electric vehicles includes a calculation model and an optimization model and their deployment and distribution scheme. However, the invention patent application does not consider the overall implementation plan of the new energy charging and discharging system from full power control to system communication, nor does it explain the distributed system resource model.
[0005] The Chinese invention patent application with publication number CN117978648A, published on May 3, 2024, discloses a dynamic reconfigurable configuration method based on IEC 61499, which only reconfigures the function block events and data interface connections and related parameter reconfigurations, and then the configuration system sends the configuration file to the soft PLC in the industrial control network through the configuration interface, and finally uses the soft PLC to control the execution device. However, this invention patent application only describes the general dynamic reconstruction method based on IEC 61499, and does not consider vertical industry applications. Summary of the invention
[0006] The purpose of the present invention is to construct an open, decoupled, reconfigurable and distributed new energy charging and discharging system, thereby improving the intelligence level of new energy charging facilities.
[0007] In order to achieve the above object, one aspect of the present invention is to provide a new energy charging and discharging control system based on IEC 61499, characterized in that it includes:
[0008] Charge and discharge control function block: used to control the power output / input execution unit;
[0009] Electricity price optimization function block: It is used to analyze and predict the electricity demand in the future according to the current power load of the charging station, provide users with recommended values of electricity and service fees for charging, and provide users with recommended values of points that can be obtained by discharging;
[0010] Electricity price billing function block: used to calculate the electricity fee and service fee or points that the user needs to pay at the end of charging or discharging according to the charging period and charging amount of the charging user, or according to the discharging period and discharging amount of the discharging user;
[0011] Power optimization function block: used to analyze the maximum power supported by each charging pile according to the power load of the current charging station, the power demand of the current station users, and the equipment information of each charging pile.
[0012] Alarm monitoring function block: used to monitor the operating status of the charging pile in real time and detect the operating parameters of the charging pile;
[0013] Data communication function block: used to upload data to the cloud management platform.
[0014] Preferably, the event input of the charge and discharge control function block is the initialization request INIT and the charge and discharge control initialization status REQ; the data input is the control type Type_control, the current power Soc_end, the current power Soc_current, the charge and discharge power P, the electricity charge Charge_e, the service charge Charge_s, the integral Point, and the alarm status Alarm_Status; the event output is the initialization completion confirmation INITO and the charge and discharge control response CND; and the data output is the charge and discharge control signal Sig, the actual power P, the actual current C, and the actual voltage V.
[0015] Preferably, the event inputs of the electricity price optimization function block are initialization request INIT and electricity price change request REQ; the data inputs are current electricity price Price_current, current power P_current, energy storage system capacity C, upper limit Soc_max of the amount of electricity required by charging users, lower limit Soc_min of the amount of electricity required by charging users, and cycle time Cycle; the event outputs are initialization completion confirmation INITO and electricity price request confirmation CND; the data outputs are change start time Time_start, change end time Time_end, change service fee Price, and change integral Point.
[0016] Preferably, the event input of the electricity price billing function block is the initialization request INIT and the charging end request REQ, the data input is the current electricity price Price_current, the current power P_current, the charging and discharging amount Q, the charging and discharging start time T_start, and the charging and discharging end time T_end, the event output is the initialization completion confirmation INITO and the billing confirmation CND, and the data output is the electricity charge Charge_e, the service charge Charge_s, and the integral Point.
[0017] Preferably, the event input of the power optimization function block is an initialization request INIT and a power change request REQ, the data input is the current power P_current, the energy storage system capacity C, the number of charging piles Num, and the power allocation mode Mode_p, the event output is the initialization completion confirmation INITO and the billing confirmation CND, and the data output is the power of each charging pile P[0,...].
[0018] Preferably, the event input of the alarm monitoring function block is the initialization request INIT and the alarm request REQ, the data input is the current current C, the current voltage V, the current temperature P, the alarm signal Alarm[0,...], and the cycle time Cycle, the event output is the initialization completion confirmation INITO and the alarm output confirmation CND, and the data output is the alarm status Alarm_status, the alarm signal Alarm_sig, and the detailed information Detail.
[0019] Preferably, the event input of the data communication function block is initialization request INIT, connection request REQ, the data input is target address Address, received data Data, the event output is initialization completion confirmation INITO, connection confirmation CND, and the data output is connection Connect_status, data to be sent Data_outgoing.
[0020] Another aspect of the present invention is to provide a new energy charging and discharging control modeling method based on IEC 61499, characterized in that it is implemented based on the aforementioned new energy charging and discharging control system, including:
[0021] The implementation of the functional block state machine of the aforementioned new energy charging and discharging control system is specifically as follows:
[0022] The initial state is the idle state Free. After receiving a charging request, the state changes to the connection check state Connected. After the detection passes, it enters the charging and discharging state Charing. If the detection fails, it returns to the idle state Free. If a fault is detected, it enters the fault state Error. After charging and discharging are completed, it enters the settlement state Accounting. After settlement is completed, it returns to the idle state Free.
[0023] The charging and discharging function block receives the electricity fee, service fee and integral price from the electricity price billing function block, and receives the power value from the power optimization function block;
[0024] The electricity price billing function block receives the control signal of the charging and discharging function block, and receives the changed electricity fee, service fee and point price of the electricity price optimization function block.
[0025] The power optimization module receives the actual power value of the charging and discharging functional block;
[0026] The alarm monitoring function block receives the actual current and voltage of the charge and discharge function block;
[0027] The data communication function block receives the control signal and real-time data of the control signal of the charge and discharge function block, and receives the alarm information of the alarm signal of the alarm monitoring function block;
[0028] The realization of the system model of the aforementioned new energy charging and discharging control system is specifically as follows:
[0029] The load balancing application consisting of electricity price optimization and power optimization is deployed on multiple charging pile device resources, and realizes the optimization analysis function based on a distributed application model across hardware and devices. The charging and discharging application consisting of charging and discharging and electricity price billing is deployed on a single charging pile device to realize charging and discharging control.
[0030] The present invention provides a new energy charging and discharging control modeling method and system based on IEC 61499. Based on the core concepts of functional blocks and distributed system construction in the IEC61499 standard, a reusable and modularly constructed new energy charging and discharging control algorithm and logic are implemented, and the construction of a new energy charging and discharging system in distributed charging equipment resources and nodes is realized, effectively improving the intelligence level of new energy charging facilities.
[0031] Compared with the prior art solutions, the present invention has the following beneficial effects:
[0032] 1) The present invention provides a control method based on IEC 61499, which ensures the standardization of the control model, enables better interoperability between devices and applications provided by different suppliers, reduces system integration costs, and improves the scalability and maintainability of the system.
[0033] 2) The present invention provides a distributed control system design based on the IEC 61499 standard, so that the new energy charging and discharging control system can be flexibly distributed on multiple physical nodes, thereby improving the reliability and fault tolerance of the system.
[0034] 3) The present invention is based on a functional block modeling method for new energy charging and swapping, which is easy to understand and maintain, while improving the execution efficiency of the system.
[0035] 4) The present invention provides a control system that combines optimization control and scheduling strategy, which can achieve precise control of the charging and discharging process of new energy and improve energy utilization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 The following diagram illustrates some functional blocks of the new energy charging and discharging control system based on IEC 61499:
[0037] Figure 2 The following is the ECC state machine diagram of the new energy charging and discharging control system based on IEC 61499:
[0038] Figure 3 This is the functional block network structure diagram of the new energy charging and discharging control system based on IEC 61499:
[0039] Figure 4 This is the system architecture diagram of the new energy charging and discharging control system based on IEC 61499. DETAILED DESCRIPTION
[0040] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.
[0041] IEC 61499 defines a distributed system architecture, replacing the cyclic execution model with an event-driven model, and can distribute the designed function block network to one or more devices. One aspect of an embodiment of the present invention is to provide a new energy charging and discharging control system based on IEC 61499, including:
[0042] The hardware layer adopts the RK3588 hardware platform, which has 2 Ethernet interfaces, 4 RS232 interfaces, 6 RS485 interfaces, 1 5G communication interface and 1 USB3.0 debugging interface.
[0043] The software layer uses the Linux operating system and supports microservice deployment based on the Docker engine. It uses the IEC61499 runtime and basic function block library. It supports MQTT, Modbus TCP, and Modbus RTU communication protocols.
[0044] The application layer uses the 4DIAC-IDE development environment, provides containerized microservices, supports the integration of new energy charging and discharging functional blocks, and is used to receive cloud platform instructions and data to realize the analysis and real-time control of on-site new energy charging and swapping facilities.
[0045] The new energy charging and discharging functional blocks specifically include:
[0046] Charge and discharge control function block: used to realize the control of power output / input execution unit. Event input is initialization request INIT, charge and discharge control initialization status REQ; data input is control type Type_control, current power Soc_end, current power Soc_current, charge and discharge power P, electricity charge Charge_e, service charge Charge_s, integral Point, alarm status Alarm_Status; event output is initialization completion confirmation INITO, charge and discharge control response CND; data output is charge and discharge control signal Sig, actual power P, actual current C, actual voltage V.
[0047] Electricity price optimization function block: It is used to analyze and predict the electricity demand in the future according to the current power load of the charging station, and provide the recommended values of electricity and service fees that users need to pay for charging, and the recommended values of points that users can gain from discharging. The event input is the initialization request INIT and the electricity price change request REQ; the data input is the current electricity price Price_current, the current power P_current, the energy storage system capacity C, the upper limit of the amount of electricity required by the charging user Soc_max, the lower limit of the amount of electricity required by the charging user Soc_min, and the cycle time Cycle; the event output is the initialization completion confirmation INITO and the electricity price request confirmation CND; the data output is the change start time Time_start, the change end time Time_end, the change service fee Price, and the change points Point.
[0048] Electricity price billing function block: used to calculate the electricity fee and service fee or points that users need to pay when charging or discharging ends according to the charging period and charging amount of charging users, or according to the discharging period and discharging amount of discharging users. Event input is initialization request INIT, charging end request REQ; data input is current electricity price Price_current, current power P_current, charging and discharging amount Q, charging and discharging start time T_start, charging and discharging end time T_end; event output is initialization completion confirmation INITO, billing confirmation CND; data output is electricity fee Charge_e, service fee Charge_s, and points Point.
[0049] Power optimization function block: used to analyze the maximum power supported by each charging pile according to the power load of the current charging site, the power demand of the users at the current site, and the equipment information of each charging pile. Event input is initialization request INIT, power change request REQ; data input is current power P_current, energy storage system capacity C, number of charging piles Num, power allocation mode Mode_p; event output is initialization completion confirmation INITO, billing confirmation CND; data output is the power of each charging pile P[0,...].
[0050] Alarm monitoring function block: used to monitor the operation status of the charging pile in real time and detect the operation parameters of the charging pile. Event input is initialization request INIT, alarm request REQ; data input is current current C, current voltage V, current temperature P, alarm signal Alarm[0,...], cycle time Cycle; event output is initialization completion confirmation INITO, alarm output confirmation CND; data output is alarm status Alarm_status, alarm signal Alarm_sig, detailed information Detail.
[0051] Data communication function block: used to upload data to the cloud management platform. Event input is initialization request INIT, connection request REQ; data input is target address Address, received data Data; event output is initialization completion confirmation INITO, connection confirmation CND; data output is connection Connect_status, data to be sent Data_outgoing.
[0052] Based on the IEC 61499 new energy charging and discharging control modeling method, the realization of new energy charging and discharging functions includes the following steps:
[0053] Step 1: The user scans the code through the mini program, and the platform sends a device startup command to the device. The charge and discharge control function block triggers the initialization request and the start charging event. The charge and discharge control function block inputs the Type_control control type to start charging. The charge and discharge control function block obtains the upper and lower limits of the user's vehicle SOC from the cloud platform. The charge and discharge control function block performs a device connection check. After the test passes, the state changes from Free to Connected;
[0054] Step 2: The power optimization function block triggers the power optimization event according to the Cycle input timing. After the event is triggered, the power optimization function block obtains the current power usage of each distributed charging pile from the distributed system, obtains the site energy storage capacity, the number of charging guns and other data from the cloud platform, executes the power optimization algorithm, and calculates the maximum power that can be allocated to each charging gun in the current period;
[0055] Step 3: After the power optimization function block completes the output response, it will trigger the power value change of the charge and discharge control function block;
[0056] Step 4: The charge and discharge control function block sends a charge control signal to the charge control unit based on the current power value, and sends the charging power, and the state changes from Connected to Charging;
[0057] Step 5: The charge and discharge control function block requests the data communication function block and the alarm monitoring function block to send charging data;
[0058] Step 6: The electricity price optimization function block triggers the electricity price optimization event according to the Cycle input. After the event is triggered, the electricity price optimization function block obtains the current power usage of each distributed charging pile from the distributed system, obtains the user capacity that may be charged and discharged at the site from the cloud platform, executes the electricity price optimization algorithm, and calculates the recommended service fee and points for the current period;
[0059] Step 7: The user ends charging through the mini program, and the platform sends a charge end instruction to the device. The charge and discharge control function block triggers the initialization request and the charge end event. The charge and discharge control function block inputs the Type_control control type to end charging, and the state changes from Charging to Accounting.
[0060] Step 8: The charge and discharge control function block outputs an instruction to trigger a billing request from the electricity price billing function block. The electricity price billing function block receives the charging duration and charging amount data from the charge and discharge control function block, executes the charging billing algorithm, and outputs the electricity fee and service fee data.
[0061] Step 9: The electricity price billing function block outputs instructions, triggering the charge and discharge control function block to complete the request, input electricity fee and service fee data, and the status returns from Accounting to Free;
[0062] Step 10: The charge and discharge control function block requests the data communication function block to send the charging status data;
[0063] Step 11: In the above process, the alarm monitoring function block triggers an alarm request at any time, and the output event triggers the data charge and discharge control function block request, the state changes from any state to Error, and requests the data communication function block to send alarm data.
Claims
1. A new energy charging and discharging control system based on IEC 61499, characterized in that: include: Charge and discharge control function block: used to control the power output / input execution unit; Electricity price optimization function block: It is used to analyze and predict the electricity demand in the future according to the current power load of the charging station, provide users with recommended values of electricity and service fees for charging, and provide users with recommended values of points that can be obtained by discharging; Electricity price billing function block: used to calculate the electricity fee and service fee or points that the user needs to pay at the end of charging or discharging according to the charging period and charging amount of the charging user, or according to the discharging period and discharging amount of the discharging user; Power optimization function block: used to analyze the maximum power supported by each charging pile according to the power load of the current charging station, the power demand of the current station users, and the equipment information of each charging pile. Alarm monitoring function block: used to monitor the operating status of the charging pile in real time and detect the operating parameters of the charging pile; Data communication function block: used to upload data to the cloud management platform.
2. A new energy charging and discharging control system based on IEC 61499 as claimed in claim 1, characterized in that: The event input of the charge and discharge control function block is the initialization request INIT and the charge and discharge control initialization status REQ; the data input is the control type Type_control, the current power Soc_end, the current power Soc_current, the charge and discharge power P, the electricity charge Charge_e, the service charge Charge_s, the integral Point, and the alarm status Alarm_Status; the event output is the initialization completion confirmation INITO and the charge and discharge control response CND; the data output is the charge and discharge control signal Sig, the actual power P, the actual current C, and the actual voltage V.
3. A new energy charging and discharging control system based on IEC 61499 as claimed in claim 1, characterized in that: The event inputs of the electricity price optimization function block are the initialization request INIT and the electricity price change request REQ; the data inputs are the current electricity price Price_current, the current power P_current, the energy storage system capacity C, the upper limit Soc_max of the amount of electricity required by the charging user, the lower limit Soc_min of the amount of electricity required by the charging user, and the cycle time Cycle; the event outputs are the initialization completion confirmation INITO and the electricity price request confirmation CND; the data outputs are the change start time Time_start, the change end time Time_end, the change service fee Price, and the change integral Point.
4. A new energy charging and discharging control system based on IEC 61499 as claimed in claim 1, characterized in that: The event inputs of the electricity price billing function block are the initialization request INIT and the charging end request REQ; the data inputs are the current electricity price Price_current, the current power P_current, the charge and discharge quantity Q, the charge and discharge start time T_start, and the charge and discharge end time T_end; the event outputs are the initialization completion confirmation INITO and the billing confirmation CND; the data outputs are the electricity charge Charge_e, the service charge Charge_s, and the integral Point.
5. A new energy charging and discharging control system based on IEC 61499 as claimed in claim 1, characterized in that: The event input of the power optimization function block is the initialization request INIT and the power change request REQ, the data input is the current power P_current, the energy storage system capacity C, the number of charging piles Num, and the power allocation mode Mode_p, the event output is the initialization completion confirmation INITO and the billing confirmation CND, and the data output is the power of each charging pile P[0,...].
6. A new energy charging and discharging control system based on IEC 61499 as claimed in claim 1, characterized in that: The event input of the alarm monitoring function block is the initialization request INIT and the alarm request REQ, the data input is the current current C, the current voltage V, the current temperature P, the alarm signal Alarm[0,...], and the cycle time Cycle, the event output is the initialization completion confirmation INITO and the alarm output confirmation CND, and the data output is the alarm status Alarm_status, the alarm signal Alarm_sig, and the detailed information Detail.
7. A new energy charging and discharging control system based on IEC 61499 as claimed in claim 1, characterized in that: The event inputs of the data communication function block are initialization request INIT and connection request REQ, the data inputs are target address Address and received data Data, the event outputs are initialization completion confirmation INITO and connection confirmation CND, and the data outputs are connection Connect_status and data to be sent Data_outgoing.
8. A new energy charging and discharging control modeling method based on IEC 61499, characterized in that: The new energy charging and discharging control system according to claim 1 is implemented, comprising: The implementation of the functional block state machine of the new energy charging and discharging control system as claimed in claim 1 is specifically: The initial state is the idle state Free. After receiving a charging request, the state changes to the connection check state Connected. After the detection passes, it enters the charging and discharging state Charing. If the detection fails, it returns to the idle state Free. If a fault is detected, it enters the fault state Error. After charging and discharging are completed, it enters the settlement state Accounting. After settlement is completed, it returns to the idle state Free. The charging and discharging function block receives the electricity fee, service fee and integral price from the electricity price billing function block, and receives the power value from the power optimization function block; The electricity price billing function block receives the control signal of the charging and discharging function block, and receives the changed electricity fee, service fee and point price of the electricity price optimization function block. The power optimization module receives the actual power value of the charging and discharging functional block; The alarm monitoring function block receives the actual current and voltage of the charge and discharge function block; The data communication function block receives the control signal and real-time data of the control signal of the charge and discharge function block, and receives the alarm information of the alarm signal of the alarm monitoring function block.
9. The realization of the system model of the new energy charging and discharging control system as claimed in claim 1 is characterized by: The load balancing application consisting of electricity price optimization and power optimization is deployed on multiple charging pile device resources, and realizes the optimization analysis function based on a distributed application model across hardware and devices. The charging and discharging application consisting of charging and discharging and electricity price billing is deployed on a single charging pile device to realize charging and discharging control.
Citation Information
Patent Citations
Establishment method of electric vehicle ordered charging control system based on IEC61499
CN113928155A
Edge control equipment applied to ordered charging control of electric vehicle
CN113954679A
Dynamic reconfigurable configuration method based on IEC 61499
CN117978648A