The invention discloses a master-slave control maneuvering micro-grid host autonomous
allocation method and
system, and the method comprises the steps: defining a power conversion unit control frame, an arbitration domain of the control frame comprises a device address of a power conversion unit, and the device address is located at a starting position of an identifier; a
data field of the control frame comprises
heartbeat data, and the
heartbeat data changes according to a certain rule and is used for identifying normal operation of a program of the power conversion unit; when the maneuvering micro-grid supplies power in parallel, the host broadcasts a control frame to the
bus according to a fixed period, the slave monitors data of the
CAN bus, if the control frame of the host is not received within a certain
timeout period or
heartbeat data of the host received in multiple continuous periods are the same, it is judged that the host breaks down, and the control frame is sent to the
CAN bus to compete for the host; if only one slave in the
bus sends the control frame to the
CAN bus, the slave sending the control frame is used as a new host; and if the plurality of slaves send the control frames to the
bus at the same time, the CAN bus selects the slave with the small identifier as a new host. According to the invention, the power supply reliability of the maneuvering micro-grid is greatly improved.