A reinforcement learning-based electrical control optimization method for box-type vertical warehouse
By constructing an electrical interlocking hypergraph and a timing-based Tsetlin action clause group, the electrical control of the box-type automated warehouse was optimized, solving the coupling problem between scheduling optimization and electrical interlocking control, and achieving efficient and stable operation of electrical control.
Patent Information
- Application Number
- CN202611219983.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing electrical control of box-type automated warehouses, the scheduling optimization and electrical interlocking control lack close coupling, resulting in problems such as repeated action interception, equipment waiting, untimely path release, and lagging control strategy updates.
We employ a reinforcement learning-based electrical interlocking hypergraph, temporal Tsetlin action clause groups, and counterfactual verification to construct an electrical action trace sequence, forming an electrical interlocking hypergraph. We configure hyperedges to bind temporal Tsetlin action clause groups, filter candidate electrical control actions, perform counterfactual verification, and optimize electrical control commands and feedback updates.
It improves the accuracy of electrical control action selection and response stability, reduces path conflicts and buffer release lag, and enhances the continuous operation stability of the box-type automated storage and retrieval system.
Smart Images

Figure CN123177162A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent warehouse electrical control technology, and in particular to an optimization method for electrical control of box-type automated warehouses based on reinforcement learning. Background Technology
[0002] In the field of intelligent warehousing electrical control technology, existing automated storage and retrieval systems (AS / RS) mostly use electrical controllers in conjunction with conveyor lines, lifting mechanisms, transfer mechanisms, buffer positions, and detection elements to complete the control of bin entry, exit, transfer, and buffering. The control process generally relies on fixed action sequences, equipment interlock rules, path occupancy judgment, and abnormal alarm logic. The scheduling layer issues action requests based on task priority, storage location status, and equipment idle status, and the electrical control layer then decides whether to execute the action based on interlock conditions. Some solutions introduce reinforcement learning, heuristic algorithms, or path optimization algorithms to improve the efficiency of task sequencing, storage location allocation, and equipment scheduling.
[0003] The shortcomings of existing solutions lie in the lack of tight coupling between scheduling optimization and electrical interlocking control. Reinforcement learning models often use task states or equipment states as ordinary inputs, making it difficult to express high-order interlocking relationships where multiple control elements jointly restrict the same electrical control action. Fixed rules can only determine whether the current action meets the interlocking conditions, failing to organize action requests, constraint source states, action feedback, and cross-cycle hold states into a learnable control structure. This results in a lack of unified criteria for candidate action selection, alternative action comparison, and anomaly feedback updates. In scenarios with high concurrency in data entry, overlapping path occupancy, delayed buffer release, and delayed action feedback, existing control methods are prone to problems such as repeated action interception, equipment waiting, untimely path release, and lagging control strategy updates.
[0004] Therefore, how to provide a reinforcement learning-based electrical control optimization method for box-type automated warehouses is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] One objective of this invention is to propose an electrical control optimization method for box-type automated storage and retrieval systems based on reinforcement learning. This invention utilizes an electrical interlocking hypergraph, a temporal Tsetlin action clause group, and counterfactual verification to achieve dynamic screening and feedback updates of electrical actions in box-type automated storage and retrieval systems. It has the advantages of clear interlocking expression, stable control response, fewer path conflicts, and high operating efficiency.
[0006] An electrical control optimization method for a box-type automated warehouse based on reinforcement learning according to an embodiment of the present invention includes the following steps: The electrical operation data reflecting electrical control action requests, interlock constraint status, and action execution feedback during the operation of the box-type automated warehouse is collected and organized into an electrical action trace sequence according to the control cycle; Extract control elements that participate in the constraints of electrical control actions from the electrical action trace sequence, construct interlocking hyperedges according to the common constraint relationships formed by the control elements on the electrical control actions, and form an electrical interlocking hypergraph from the interlocking hyperedges; The clause reading range is determined according to the constraint relationship between interlocking superedge and electrical control action. Literal values are extracted from the clause reading range to form a set of time sequence literals. Based on the clause reading range and the set of timing literals, configure super-edge-bound timing Tsetlin action clause groups for electrical control actions, and assign the Tsetlin automata corresponding to the same electrical control action to the voting channel. The voting channel is divided into start permission channel, conflict suppression channel, release confirmation channel, and exception recycling channel. In the voting channel, literal inclusion selection, literal exclusion selection, clause trigger calculation, and channel voting summary are performed to obtain the channel vote value of the electrical control action; Candidate electrical control actions and alternative electrical control actions are selected based on channel ticket value. Counterfactual verification is performed according to the electrical interlocking hypergraph. The evolution of the execution state under interlocking hyperedge constraints is simulated. The electrical control optimization instructions are determined based on the simulation differences. Execute electrical control optimization instructions, and based on instruction execution feedback and simulation differences, perform differential feedback updates on the voting channel and update the super-edge binding timing Tsetlin action clause group.
[0007] Optionally, the formation of the electrical action trace sequence includes the following steps: Collect action request records, interlock constraint records, and action feedback records from electrical operation data within the same control cycle; The electrical control actions are used to merge action request records, interlock constraint records, and action feedback records to form single action association records. The single-action associated records are arranged in the order of the control cycle to form an electrical action trace sequence.
[0008] Optionally, the formation of the electrical interlocking supermap includes the following steps: Read the electrical action sequence, extract the action attribution element from the action request record, extract the constraint source element from the interlock constraint record, and extract the feedback status element from the action feedback record to form control elements; The control elements are grouped according to the electrical control actions, and the control elements corresponding to the same electrical control action are assigned to the same constraint set, thus establishing the attribution relationship between the constraint set and the electrical control action. Construct interlocking hyperedges based on the common constraint relationships between control elements in the constraint set and electrical control actions, and associate the interlocking hyperedges with the corresponding electrical control actions. Using control elements as hypergraph nodes and electrical control actions as action nodes, the connections between interlocking hyperedges and hypergraph nodes and action nodes are configured according to constraint attribution relationships to form an electrical interlocking hypergraph.
[0009] Optionally, the formation of the temporal literal set includes the following steps: Read the constraint attribution relationship between interlocking hyperedges and electrical control actions in the electrical interlocking hypergraph, and select the interlocking hyperedges that are associated with the same electrical control action based on the constraint attribution relationship; Read the selected control elements of the interlocking super-edge connection, and include the corresponding action attribution elements, constraint source elements, and feedback status elements of the control elements into the clause reading range of the corresponding electrical control action. Extract the status literals within the same control cycle, the hold literals between adjacent control cycles, and the feedback literals after action feedback from the clause reading range; The status literals, hold literals, and feedback literals are arranged in the order of their corresponding electrical control actions, interlocking oversteps, and control cycles to form a set of timing literals.
[0010] Optionally, the configuration of the hyperedge-bound temporal Tsetlin action clause group includes the following steps: Read the clause reading range and timing literal set corresponding to the electrical control action, and establish literal grouping according to the interlocking superedge to which the timing literal set belongs; Establish an interlocking superedge binding relationship between the literal group and its corresponding interlocking superedge; Configure the Tsetlin automaton according to the interlocking super-edge binding relationship, map the Tsetlin automaton to the state literal, hold literal, and feedback literal in the literal group, and configure the included state and excluded state for the Tsetlin automaton; Based on the action attribution element, constraint source element, and feedback state element, the Tsetlin automaton is assigned to the start permission channel, conflict suppression channel, release confirmation channel, and exception recovery channel; Using electrical control actions as configuration objects, the Tsetlin automata, included states, excluded states, literal groupings, and interlocking superedge binding relationships in the start permission channel, conflict suppression channel, release confirmation channel, and abnormal recovery channel are configured as superedge binding sequence Tsetlin action clause groups.
[0011] Optionally, the allocation of voting channels includes the following steps: Assign the Tsetlin automata corresponding to the state literals and hold literals from the action attribution element in the literal grouping to the start permission channel; Assign the Tsetlin automata corresponding to the state literals and hold literals that originate from the constraint source elements and correspond to the execution of the constraint actions in the literal grouping to the conflict suppression channel; Assign the Tsetlin automata corresponding to the state literals and hold literals that originate from the constraint source elements and correspond to the release action execution restrictions in the literal grouping to the release confirmation channel; Assign the Tsetlin automaton corresponding to the feedback literal that originates from the feedback state element and corresponds to the exception recycling in the literal group to the exception recycling channel.
[0012] Optionally, the formation of the channel ticket value includes the following steps: Based on the interlocking super-edge binding relationship, determine the corresponding literal grouping within the voting channel; Within the corresponding literal group, generate the clause input literal based on the inclusion and exclusion states of the Tsetlin automaton; Within the same voting channel, clause trigger calculations are performed on clause input literals under the same interlocking hyperedge binding relationship to form the channel clause trigger value for the corresponding voting channel; The trigger values of the channel clauses are summarized according to the start permission channel, conflict suppression channel, release confirmation channel, and abnormal recovery channel to form the channel ticket value of the electrical control action.
[0013] Optionally, the screening of candidate electrical control actions and alternative electrical control actions includes the following steps: Read the channel ticket value of the electrical control action, write the start permission ticket value into the action execution evaluation item, write the conflict suppression ticket value into the action blocking evaluation item, write the release confirmation ticket value into the release coordination evaluation item, and write the abnormal recovery ticket value into the abnormal blocking evaluation item. The electrical control actions are sorted in the following order: abnormal blocking evaluation items in ascending order, action blocking evaluation items in ascending order, action execution evaluation items in descending order, and release coordination evaluation items in descending order, to obtain the action sorting result. The electrical control action that ranks first in the action ranking results is selected as the candidate electrical control action. Among the electrical control actions associated with the interlocking superedge of the candidate electrical control actions, after excluding the candidate electrical control actions, the electrical control action with the highest ranking position is selected as the replacement electrical control action according to the action ranking result.
[0014] Optionally, determining the electrical control optimization command includes the following steps: The counterfactual verification range is determined based on the interlocking superedges that are jointly associated with candidate electrical control actions and alternative electrical control actions. Within the counterfactual verification range, the execution state evolution process of candidate electrical control actions and alternative electrical control actions under interlocking hyperedge constraints is simulated respectively, generating candidate action simulation results and alternative action simulation results; Compare the simulation results of candidate actions with those of alternative actions to identify simulation differences; Based on the simulation differences, the target electrical control action is determined from the candidate electrical control actions and alternative electrical control actions, and an electrical control optimization instruction is generated based on the target electrical control action.
[0015] Optionally, the differential feedback update includes the following steps: After executing the electrical control optimization command, the command execution feedback corresponding to the target electrical control action is collected, and the command execution feedback is matched with the simulation difference to form a feedback matching result; Based on the action completion record, action execution restriction record, constraint source state release record, and abnormal response record in the feedback matching results, determine the Tsetlin automaton in the corresponding voting channel; The Tsetlin automaton states corresponding to action completion records, action execution restriction records, and constraint source state release records are migrated to the inclusion state. The Tsetlin automaton states in the exception recycling channel corresponding to exception response records are migrated to the inclusion state. The Tsetlin automaton states in the start permission channel corresponding to exception response records are migrated to the exclusion state. Write the updated voting channel back to the corresponding electrical control action's super-edge-bound timing Tsetlin action clause group.
[0016] The beneficial effects of this invention are: (1) This invention records the temporal relationship between action requests, constraint source states and action feedback through electrical action trace sequences, constructs an electrical interlocking hypergraph, and explicitly expresses the common constraint relationship between control elements and electrical control actions, avoiding action misjudgment, repeated interception and equipment waiting caused by fixed interlocking rules being difficult to cover complex working conditions.
[0017] (2) This invention binds the timing Tsetlin action clause group to the superedge, restricts the state literal, hold literal and feedback literal to participate in the calculation within the corresponding interlocking superedge range, and forms the channel ticket value, thereby improving the accuracy, pertinence and interpretability of electrical control action screening.
[0018] (3) This invention simulates the evolution of execution state under interlocking super-edge constraints by counterfactual verification of candidate electrical control actions and alternative electrical control actions. Combined with instruction execution feedback and simulated difference update voting channel, it reduces path conflicts, cache release delays and repeated triggering of abnormal actions, thereby improving the continuous operation stability of the box-type vertical warehouse. Attached Figure Description
[0019] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is an overall flowchart of an electrical control optimization method for box-type automated warehouses based on reinforcement learning proposed in this invention; Figure 2 This is a schematic diagram illustrating the construction of the electrical interlocking hypergraph in this invention; Figure 3 This is a schematic diagram of the structure of the superedge-bound temporal Tsetlin action clause group in this invention. Detailed Implementation
[0020] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.
[0021] refer to Figures 1-3 A reinforcement learning-based electrical control optimization method for box-type automated warehouses includes the following steps: The electrical operation data reflecting electrical control action requests, interlock constraint status, and action execution feedback during the operation of the box-type automated warehouse is collected and organized into an electrical action trace sequence according to the control cycle; Extract control elements that participate in the constraints of electrical control actions from the electrical action trace sequence, construct interlocking hyperedges according to the common constraint relationships formed by the control elements on the electrical control actions, and form an electrical interlocking hypergraph from the interlocking hyperedges; The clause reading range is determined according to the constraint relationship between interlocking superedge and electrical control action. Literal values are extracted from the clause reading range to form a set of time sequence literals. Based on the clause reading range and the set of timing literals, configure super-edge-bound timing Tsetlin action clause groups for electrical control actions, and assign the Tsetlin automata corresponding to the same electrical control action to the voting channel. The voting channel is divided into start permission channel, conflict suppression channel, release confirmation channel, and exception recycling channel. In the voting channel, literal inclusion selection, literal exclusion selection, clause trigger calculation, and channel voting summary are performed to obtain the channel vote value of the electrical control action; Candidate electrical control actions and alternative electrical control actions are selected based on channel ticket value. Counterfactual verification is performed according to the electrical interlocking hypergraph. The evolution of the execution state under interlocking hyperedge constraints is simulated. The electrical control optimization instructions are determined based on the simulation differences. Execute electrical control optimization instructions, and based on instruction execution feedback and simulation differences, perform differential feedback updates on the voting channel and update the super-edge binding timing Tsetlin action clause group.
[0022] In this embodiment, the formation of the electrical action trace sequence includes the following steps: Collect action request records, interlock constraint records, and action feedback records from electrical operation data within the same control cycle; The control cycle is defined by the time slice formed by the electrical controller completing one scan. Upon reaching the cycle boundary, action request records, interlock constraint records, and action feedback records occurring within the same time slice are written to the cycle sequence number. Action request records include action attribution information, action triggering source, and action request timing; interlock constraint records include constraint source information, constraint state values, and constraint sampling timing before the action trigger. Action feedback records include the action response result, response occurrence cycle, and feedback attribution relationship. For continuous actions spanning multiple cycles, the starting cycle sequence number is retained, and the feedback occurrence cycle is written separately to the response occurrence cycle.
[0023] Among them, the constraint source information is used to record the state source involved in the action determination before the electrical control action is triggered, including action pre-constraint source, interlocking restriction constraint source, and timing maintenance constraint source; the action pre-constraint source records the preceding state that needs to be met before the action starts, the interlocking restriction constraint source records the interlocking state, occupancy state, and prohibition state that restrict the execution of the action, and the timing maintenance constraint source records the action maintenance state, occupancy maintenance state, and feedback not closed state that exist continuously across control cycles.
[0024] The electrical control actions are used to merge action request records, interlock constraint records, and action feedback records to form single action association records. Using action request records as the merging benchmark, interlocking constraint records corresponding to action requests under the same cycle number are read. When action feedback records appear under the same cycle number, they are directly written into the single action association record. When an action feedback record appears later than an action request, the connection between the feedback cycle and the starting cycle is established based on the action attribution information before it is written into the single action association record. Interlocking constraint records are used to save the constraint source state before the action is triggered, and action feedback records are used to save the response state after the action is triggered.
[0025] The single-action associated records are arranged in the order of the control cycle to form an electrical action trace sequence.
[0026] Single-action associated records are arranged sequentially according to cycle number; when there are more than two single-action associated records within the same cycle, they are arranged according to the order in which the action requests are triggered. For continuous actions spanning multiple cycles, the sequence retains the relationship between the start record, hold record, and feedback record. After arrangement, an electrical action trace sequence reflecting the timing correlation of action requests, constraint source states, and action feedback is obtained.
[0027] In this embodiment, the formation of the electrical interlocking supermap includes the following steps: Read the electrical action sequence, extract the action attribution element from the action request record, extract the constraint source element from the interlock constraint record, and extract the feedback status element from the action feedback record to form control elements; Action attribution elements are obtained from action request records, retaining the attribution of electrical control actions, trigger source, and request timing. Constraint source elements are obtained from interlock constraint records, retaining constraint source information, constraint state values, and constraint sampling timing. Feedback state elements are obtained from action feedback records, retaining response results, response occurrence cycles, and feedback attribution relationships. These three types of elements form control elements according to the same cycle number.
[0028] The control elements are grouped according to the electrical control actions, and the control elements corresponding to the same electrical control action are assigned to the same constraint set, thus establishing the attribution relationship between the constraint set and the electrical control action. Using the action attribution element as the aggregation criterion, constraint source elements and feedback state elements under the same electrical control action are retrieved. When the search results show the same action attribution, they are written into the same constraint set; when the feedback state element comes from a subsequent cycle, it is reassigned to the corresponding constraint set of the initial cycle according to the feedback attribution relationship.
[0029] Construct interlocking hyperedges based on the common constraint relationships between control elements in the constraint set and electrical control actions, and associate the interlocking hyperedges with the corresponding electrical control actions. Read the action attribution element, constraint source element, and feedback status element within the same constraint set. When the action attribution element points to the same electrical control action, and two or more constraint source elements jointly participate in the action triggering determination within the same control cycle, establish a joint constraint relationship between the two or more constraint source elements and the corresponding action attribution element; if there is an action feedback record, write the feedback status element into the joint constraint relationship to form a common constraint relationship. Establish an interlocking hyperedge based on the common constraint relationship, attach the interlocking hyperedge to the restricted electrical control action, record the constraint set from which the interlocking hyperedge originates, and form a constraint attribution relationship.
[0030] Using control elements as hypergraph nodes and electrical control actions as action nodes, the connections between interlocking hyperedges and hypergraph nodes and action nodes are configured according to constraint attribution relationships to form an electrical interlocking hypergraph.
[0031] In this embodiment, the formation of the temporal literal set includes the following steps: Read the constraint attribution relationship between interlocking hyperedges and electrical control actions in the electrical interlocking hypergraph, and select the interlocking hyperedges that are associated with the same electrical control action based on the constraint attribution relationship; Using electrical control actions as the retrieval entry point, interlocking hyperedges that are bound to electrical control actions are read from the electrical interlocking hypergraph and merged into the action hyperedge group; interlocking hyperedges that are not bound to electrical control actions are not entered into the action hyperedge group.
[0032] Read the selected control elements of the interlocking super-edge connection, and include the corresponding action attribution elements, constraint source elements, and feedback status elements of the control elements into the clause reading range of the corresponding electrical control action. Read the control elements connected to the interlocking superedge endpoints from the action superedge group, and verify the source relationship between the action attribution element, constraint source element, feedback status element, and single action association record. If the source relationship is consistent, write the clause reading range of the corresponding electrical control action; if the source relationship is inconsistent, exclude the corresponding control element.
[0033] Extract the status literals within the same control cycle, the hold literals between adjacent control cycles, and the feedback literals after action feedback from the clause reading range; When binarizing control elements within the clause reading range, the control elements are first read using the electrical control action, the corresponding interlocking superedge, and the control cycle number as indexes. If a control element has a corresponding relationship with the action-assigning element, constraint source element, or feedback state element within the current control cycle, the corresponding state is written as a state literal with a value of 1; otherwise, it is written as a state literal with a value of 0. If the same control element maintains the same action state, constraint source state, or feedback state in adjacent control cycles, the corresponding continuation state is written as a hold literal with a value of 1; if the same control element undergoes a state change in adjacent control cycles, the corresponding continuation state is written as a hold literal with a value of 0. After an action feedback record appears, the response result pointed to by the feedback assignment is written as a feedback literal with a value of 1; if no response result is obtained, the corresponding feedback position is written as a feedback literal with a value of 0.
[0034] The status literals, hold literals, and feedback literals are arranged in the order of their corresponding electrical control actions, interlocking oversteps, and control cycles to form a set of timing literals.
[0035] First, group the status literals, holding literals, and feedback literals according to the corresponding electrical control actions. Then, arrange the literals in the same group according to the interlocking superedge. Finally, arrange the literals under the same interlocking superedge according to the control cycle order to form a set of time-series literals that retain the action affiliation, superedge affiliation, and cycle order.
[0036] In this embodiment, the configuration of the hyperedge-bound temporal Tsetlin action clause group includes the following steps: Read the clause reading range and timing literal set corresponding to the electrical control action, and establish literal grouping according to the interlocking superedge to which the timing literal set belongs; First, read the clause range according to the electrical control action, then extract the literals that fall within the clause reading range from the timing literal set. When a literal has an associated interlocking superedge, group the state literals, holding literals, and feedback literals under the same interlocking superedge into the same literal group.
[0037] Establish an interlocking superedge binding relationship between the literal group and its corresponding interlocking superedge; For each literal, record its associated interlocking superedge and corresponding electrical control action. Once the literal group, its associated interlocking superedge, and the electrical control action are matched, an interlocking superedge binding relationship is formed. Literals that do not fall into the same associated interlocking superedge are not written into the same interlocking superedge binding relationship.
[0038] Configure the Tsetlin automaton according to the interlocking super-edge binding relationship, map the Tsetlin automaton to the state literal, hold literal, and feedback literal in the literal group, and configure the included state and excluded state for the Tsetlin automaton; Each interlocking hyperedge binding relationship is configured with a corresponding Tsetlin automaton. The Tsetlin automaton only reads literal groups within the interlocking hyperedge binding relationship. Each Tsetlin automaton corresponds to a literal, which is written to either the included state or the excluded state.
[0039] Based on the action attribution element, constraint source element, and feedback state element, the Tsetlin automaton is assigned to the start permission channel, conflict suppression channel, release confirmation channel, and exception recovery channel; Using electrical control actions as configuration objects, the Tsetlin automata, included states, excluded states, literal groupings, and interlocking superedge binding relationships in the start permission channel, conflict suppression channel, release confirmation channel, and abnormal recovery channel are configured as superedge binding sequence Tsetlin action clause groups.
[0040] The superedge binding timing Tsetlin action clause group preserves the literal read range, the superedge to which it belongs, and the control cycle order.
[0041] In this embodiment, the allocation of the voting channel includes the following steps: Assign the Tsetlin automata corresponding to the state literals and hold literals from the action attribution element in the literal grouping to the start permission channel; When the action attribution element corresponds to the action request source, request timing, and cross-cycle hold relationship of the current electrical control action, the Tsetlin automaton associated with the corresponding state literal and hold literal is written into the start permission channel.
[0042] Assign the Tsetlin automata corresponding to the state literals and hold literals that originate from the constraint source elements and correspond to the execution of the constraint actions in the literal grouping to the conflict suppression channel; Read constraint source information and constraint state values for constraint source elements. Constraint source information comes from interlocking constraint sources and timing-maintaining constraint sources. When the constraint state value points to an interlocked state, occupied state, prohibited state, or feedback unclosed state, write the corresponding state literal and the Tsetlin automaton associated with the maintenance literal into the conflict suppression channel.
[0043] Assign the Tsetlin automata corresponding to the state literals and hold literals that originate from the constraint source elements and correspond to the release action execution restrictions in the literal grouping to the release confirmation channel; Read the constraint status value for the constraint source element. When the constraint status value points to "precedence completed," "occupation released," "prohibition released," or "feedback closed," write the corresponding status literal and the Tsetlin automaton that maintains the association between the literals into the release acknowledgment channel. If the same constraint source element has already been written into the conflict suppression channel, it will not be written into the release acknowledgment channel again.
[0044] Assign the Tsetlin automaton corresponding to the feedback literal that originates from the feedback state element and corresponds to the exception recycling in the literal group to the exception recycling channel.
[0045] When feedback status elements correspond to action interception, action timeout, action incompleteness, or abnormal recycling triggering, the Tsetlin automaton associated with the corresponding feedback literal is written into the abnormal recycling channel. When there are more than two channel ownership conditions, the channel ownership is determined in the order of abnormal recycling channel, conflict suppression channel, release confirmation channel, and start permission channel, and the correspondence between Tsetlin automaton, literal grouping, interlocking hyperedge binding relationship, and voting channel is recorded.
[0046] In this embodiment, the formation of the channel ticket value includes the following steps: Based on the interlocking super-edge binding relationship, determine the corresponding literal grouping within the voting channel; Using electrical control actions as the processing object, read the corresponding interlocking superedge binding relationship; retain literal groups that match the current interlocking superedge binding relationship in the voting channel, and do not enter the voting channel for literal groups that do not match the current interlocking superedge binding relationship.
[0047] Within the corresponding literal group, generate the clause input literal based on the inclusion and exclusion states of the Tsetlin automaton; For state literals, hold literals, and feedback literals within a literal group, read the corresponding Tsetlin automaton state; when the Tsetlin automaton is in the include state, write the corresponding literal into the clause input literal; when the Tsetlin automaton is in the exclude state, do not write the corresponding literal into the clause input literal.
[0048] Within the same voting channel, clause trigger calculations are performed on clause input literals under the same interlocking hyperedge binding relationship to form the channel clause trigger value for the corresponding voting channel; Within the same voting channel, using a Tsetlin action clause under the same interlocking hyperedge binding relationship as the calculation unit, reads the clause input literals already formed within the calculation unit. The value of each clause input literal is checked sequentially; if all clause input literals are 1, the trigger value of the Tsetlin action clause is written as 1; if any clause input literal is 0, the trigger value of the Tsetlin action clause is written as 0; if no clause input literals are formed within the calculation unit, the trigger value of the Tsetlin action clause is written as 0. Trigger values are recorded according to the order of the Tsetlin action clauses within the same voting channel to form the channel clause trigger values.
[0049] The trigger values of the channel clauses are summarized according to the start permission channel, conflict suppression channel, release confirmation channel, and abnormal recovery channel to form the channel ticket value of the electrical control action.
[0050] For each voting channel, the channel clause trigger value is read separately. Trigger values of 1 are counted in the valid vote count for the corresponding voting channel, while trigger values of 0 are not counted. The valid vote count for the start permission channel is recorded as the start permission ticket value, the valid vote count for the conflict suppression channel is recorded as the conflict suppression ticket value, the valid vote count for the release confirmation channel is recorded as the release confirmation ticket value, and the valid vote count for the abnormal recovery channel is recorded as the abnormal recovery ticket value. These four types of ticket values together constitute the channel ticket values for electrical control actions.
[0051] In this embodiment, the screening of candidate electrical control actions and alternative electrical control actions includes the following steps: Read the channel ticket value of the electrical control action, write the start permission ticket value into the action execution evaluation item, write the conflict suppression ticket value into the action blocking evaluation item, write the release confirmation ticket value into the release coordination evaluation item, and write the abnormal recovery ticket value into the abnormal blocking evaluation item. Evaluation item records are established based on electrical control actions, with the four types of channel ticket values written into the corresponding evaluation items. Action execution evaluation items and release coordination evaluation items are used as forward sorting items, while action blocking evaluation items and abnormal blocking evaluation items are used as reverse sorting items. The evaluation item records retain the correspondence between electrical control actions, channel ticket values, and their respective interlocking superedges.
[0052] The electrical control actions are sorted in the following order: abnormal blocking evaluation items in ascending order, action blocking evaluation items in ascending order, action execution evaluation items in descending order, and release coordination evaluation items in descending order, to obtain the action sorting result. When sorting, first compare the vote values corresponding to the anomaly blocking evaluation items, and rank the items with smaller vote values first. If the vote values for anomaly blocking evaluation items are the same, compare the vote values corresponding to the action blocking evaluation items, and rank the items with smaller vote values first. If the vote values for action blocking evaluation items are the same, compare the vote values corresponding to the action execution evaluation items, and rank the items with larger vote values first. If the vote values for action execution evaluation items are the same, compare the vote values corresponding to the release coordination evaluation items, and rank the items with larger vote values first. When there are ties in the ranking, prioritize the electrical control action corresponding to the action request in the current control cycle.
[0053] The electrical control action that ranks first in the action ranking results is selected as the candidate electrical control action. After the action ranking results are generated, the first electrical control action is selected, and the corresponding channel ticket value, evaluation item, and interlocking superedge are read and written into the candidate action record. The candidate action record retains the correspondence between the candidate electrical control actions and their respective interlocking superedges.
[0054] Among the electrical control actions associated with the interlocking superedge of the candidate electrical control actions, after excluding the candidate electrical control actions, the electrical control action with the highest ranking position is selected as the replacement electrical control action according to the action ranking result.
[0055] Using the interlocking superedge in the candidate action record as the filtering scope, electrical control actions associated with the same interlocking superedge are retrieved. Candidate electrical control actions are excluded during filtering, and the remaining electrical control actions are ordered according to the action sorting results. The action with the highest sorted position is written into the alternative action record. The alternative action record retains the correspondence between the alternative electrical control action, the channel ticket value, and the corresponding interlocking superedge.
[0056] In this embodiment, the determination of the electrical control optimization command includes the following steps: The counterfactual verification range is determined based on the interlocking superedges that are jointly associated with candidate electrical control actions and alternative electrical control actions. The counterfactual verification range is the data range required for simulating and comparing candidate electrical control actions and alternative electrical control actions under the same interlocking hyperedge constraint. When determining this range, candidate and alternative electrical control actions are used as the retrieval objects, and associated interlocking hyperedges are read from the constraint affiliation relationships of the electrical interlocking hypergraph. The interlocking hyperedge that both are associated with is used as the range boundary. The control elements connected by the interlocking hyperedge, the timing literals corresponding to the control elements, and the channel ticket values corresponding to the candidate and alternative electrical control actions are read to form the counterfactual verification range.
[0057] Within the counterfactual verification range, the execution state evolution process of candidate electrical control actions and alternative electrical control actions under interlocking hyperedge constraints is simulated respectively, generating candidate action simulation results and alternative action simulation results; Using the current state of the control elements within the counterfactual verification range as the initial state, candidate electrical control actions and alternative electrical control actions are written respectively. After writing, the action state, constraint source state, feedback state, and interlocking hyperedge state are updated sequentially according to the interlocking hyperedge constraints to obtain the simulation results of candidate actions and alternative actions.
[0058] Compare the simulation results of candidate actions with those of alternative actions to identify simulation differences; The simulation results of candidate actions and alternative actions are compared. The comparison includes changes in action state, constraint source state, feedback state, and interlocking over-edge state. When state changes are inconsistent, the location, type, and corresponding electrical control action of the inconsistency are recorded to form simulation discrepancies.
[0059] Based on the simulation differences, the target electrical control action is determined from the candidate electrical control actions and alternative electrical control actions, and an electrical control optimization instruction is generated based on the target electrical control action.
[0060] First, compare the number of abnormal feedbacks corresponding to the candidate electrical control actions and the alternative electrical control actions. The action with fewer abnormal feedbacks is selected as the target action. If the number of abnormal feedbacks is the same, compare the number of interlock restrictions. The action with fewer interlock restrictions is selected as the target action. If the number of interlock restrictions is the same, compare the number of constraint source states released. The action with more constraint source states released is selected as the target action. If the number of constraint source states released is the same, compare the number of action states completed. The action with more action states completed is determined as the target electrical control action. The target electrical control action, its corresponding interlock superedge, the state of the corresponding control element, and the action execution order are written into the electrical control optimization instruction.
[0061] In this embodiment, the differentiated feedback update includes the following steps: After executing the electrical control optimization command, the command execution feedback corresponding to the target electrical control action is collected, and the command execution feedback is matched with the simulation difference to form a feedback matching result; Based on the target electrical control action, the corresponding interlocking overedge, and the control cycle number, the action state, constraint source state, and feedback state in the instruction execution feedback are matched with the corresponding changes in action state, constraint source state, and feedback state in the simulation difference to form a feedback matching result.
[0062] Based on the action completion record, action execution restriction record, constraint source state release record, and abnormal response record in the feedback matching results, determine the Tsetlin automaton in the corresponding voting channel; In the feedback matching results, when the action state changes from incomplete to complete, an action completion record is generated; when the action state is not executed and the corresponding interlocking hyperedge is in a restricted state, an action execution restricted record is generated; when the constraint source state changes from a restricted state to a released state, a constraint source state release record is generated; when the feedback state corresponds to an exception recovery, an exception response record is generated.
[0063] The Tsetlin automaton states corresponding to action completion records, action execution restriction records, and constraint source state release records are migrated to the inclusion state. The Tsetlin automaton states in the exception recycling channel corresponding to exception response records are migrated to the inclusion state. The Tsetlin automaton states in the start permission channel corresponding to exception response records are migrated to the exclusion state. Action completion records correspond to the Tsetlin automata within the start-up permission channel; action execution restriction records correspond to the Tsetlin automata within the conflict suppression channel; constraint source state release records correspond to the Tsetlin automata within the release confirmation channel; and exception response records correspond to the Tsetlin automata within the exception recovery channel, as well as the Tsetlin automata associated with the exception response record within the start-up permission channel. The states of the Tsetlin automata corresponding to the action completion record, action execution restriction record, and constraint source state release record are moved to the inclusion state; the states of the Tsetlin automata within the exception recovery channel corresponding to the exception response record are moved to the inclusion state; and the states of the Tsetlin automata within the start-up permission channel corresponding to the exception response record are moved to the exclusion state. The states of Tsetlin automata not located by corresponding records remain unchanged.
[0064] Write the updated voting channel back to the corresponding electrical control action's super-edge-bound timing Tsetlin action clause group.
[0065] After the state transition is complete, the correspondence between the Tsetlin automaton and electrical control actions, voting channels, literal groupings, and interlocking hyperedge bindings is preserved. The migrated Tsetlin automaton state replaces the original state, completing the update of the hyperedge binding timing Tsetlin action clause group.
[0066] Example 1: To verify the feasibility of this invention in practice, it was applied to the electrical control optimization scenario of a box-type automated storage and retrieval system (AS / RS). The AS / RS handles the inbound and outbound of boxes, buffer transfer, and path switching control. During operation, multiple electrical control actions are requested concurrently. The original control method primarily relies on fixed interlocking rules, equipment idle status, and task priority to release actions. When there are dependencies between lifting, conveying, transferring, and buffer release, if the feedback of a certain action is not closed in time, subsequent actions may still initiate requests, causing electrical control actions to be repeatedly intercepted. Especially under conditions of continuous arrival of inbound and outbound tasks, frequent occupancy of path segments within a short period, and failure to release buffer positions in a timely manner, fixed rules can only determine whether the current action is allowed to execute, making it difficult to identify the relationship between multiple control elements affecting the same electrical control action. This easily leads to equipment waiting, prolonged path occupancy, and frequent triggering of abnormal processing.
[0067] During implementation, action request records, interlock constraint records, and action feedback records are first collected from the electrical operation data of the automated warehouse. Action request records are used to confirm the electrical control actions triggered within the current control cycle; interlock constraint records are used to save the constraint source state before the action is triggered; and action feedback records are used to save the response state after the action is executed. These three types of records are then grouped into single-action association records according to the electrical control actions, and further arranged into electrical action trace sequences according to the control cycle. Each electrical control action can be mapped to a trigger source, constraint source state, and execution feedback. Through this processing, the originally scattered control signals are organized into time-series association data that can be used for subsequent modeling, avoiding reliance on a single action request to determine whether an electrical control action should be executed.
[0068] After forming the electrical action sequence, action attribution elements are extracted from the action request record, constraint source elements are extracted from the interlocking constraint record, and feedback state elements are extracted from the action feedback record. Control elements corresponding to the same electrical control action are grouped into the same constraint set. When two or more constraint source elements jointly participate in the pre-trigger determination of the same electrical control action, a common constraint relationship is established and an interlocking hyperedge is constructed. The interlocking hyperedge then forms an electrical interlocking hypergraph. The electrical interlocking hypergraph can express the relationship where multiple control elements jointly restrict an electrical control action, and states such as path occupancy, buffer release, action holding, and feedback not closed are no longer treated separately.
[0069] During the control action selection process, the clause reading range is determined based on the constraint affiliation between interlocking hyperedges and electrical control actions. State literals, hold literals, and feedback literals are extracted to form a set of temporal literals. Subsequently, hyperedges are configured to bind temporal Tsetlin action clause groups for electrical control actions, and the corresponding Tsetlin automata are assigned to the start permission channel, conflict suppression channel, release confirmation channel, and anomaly recovery channel. The start permission channel determines whether the action has a basis for execution; the conflict suppression channel determines whether the action is subject to interlocking restrictions; the release confirmation channel determines whether the constraint source can be released; and the anomaly recovery channel determines whether the feedback state points to an anomaly. Unlike ordinary reinforcement learning that directly outputs actions, this invention embeds electrical interlocking relationships into Tsetlin action clause groups, allowing the model output to correspond to specific control meanings.
[0070] When determining electrical control optimization instructions, candidate and alternative electrical control actions are selected based on channel vote values, and counterfactual verification is performed within the electrical interlocking hypergraph. Counterfactual verification does not directly execute the two actions; instead, it simulates the evolution of the execution states of the candidate and alternative actions under the same interlocking hyperedge constraints, comparing changes in action states, constraint source states, feedback states, and interlocking hyperedge states to form simulation discrepancies. If an alternative action can reduce interlocking restrictions, shorten path occupancy, or reduce abnormal feedback, the corresponding electrical control optimization instruction is prioritized. After the electrical control optimization instruction is executed, the instruction execution feedback is matched with the simulation discrepancies, and the Tsetlin automaton states within the voting channel are differentiated, continuously updating the hyperedge-bound timing Tsetlin action clause group. After continuous operation, the model's distinction between action completion, action constraint, constraint release, and abnormal response becomes more stable, the first-pass yield of electrical control actions increases, and equipment waiting and abnormal triggering decrease.
[0071] During implementation, the existing fixed interlocking control method was compared with the method of this invention under the same task load, the same box-type automated storage and retrieval system structure, and the same operating cycle. The specific comparison results are shown in Table 1.
[0072] Table 1 Comparison of Electrical Control Operation Effects of Box-Type Automated Warehouses
[0073] As shown in Table 1, under the same workload and operating conditions of the same box-type automated storage and retrieval system, both the original fixed interlocking control method and the method of this invention can complete the tasks of box handling, action release, equipment waiting control, path resource management, and anomaly handling, but the operating results differ. The number of box handling operations completed in a single cycle increased from 186 to 224, an increase of 20.43%. This indicates that this invention does not simply change the action priority, but rather establishes a temporal correlation between action requests, constraint source states, and action feedback through electrical action trace sequences and electrical interlocking hypergraphs. The electrical control action selection is more closely aligned with the actual interlocking state, thereby reducing invalid waiting and invalid action attempts.
[0074] The first-pass rate for electrical actions increased from 82.4% to 93.1%, indicating that the super-edge-bounded timing Tsetlin action clause group can more accurately distinguish the control meanings of action initiation permission, conflict suppression, release confirmation, and exception recovery. The original fixed interlocking control method, when faced with situations such as unreleased path occupancy, incomplete feedback, and changes in buffer state, could only determine whether to execute an action based on immediate interlocking conditions, easily leading to interception of action requests. This invention uses four types of voting channels to perform channel-based judgment on the same electrical control action, providing a more sufficient constraint recognition basis before the action is issued, thus enhancing the first-pass capability.
[0075] The average equipment waiting time was reduced from 7.8 seconds to 4.2 seconds, and the average path resource occupancy time was reduced from 13.6 seconds to 8.9 seconds, indicating that the present invention improves equipment connection and path release. The effect mainly stems from the release confirmation channel and the counterfactual verification process: candidate electrical control actions are not executed directly, but rather their execution state evolution is simulated under the same interlocking hyperedge constraint as alternative electrical control actions. The impact of both on the constraint source state, path resource occupancy, and feedback state is compared before determining the optimized electrical control instruction. This allows for the priority selection of actions more conducive to path release and continuous equipment operation, reducing subsequent blockages caused by continuous local path occupancy.
[0076] The frequency of anomaly handling triggers decreased from 16 to 6, a reduction of 62.50%, reflecting the contribution of differentiated feedback updates to control stability. After the instruction execution feedback and simulation differences are matched, the Tsetlin automaton corresponding to the anomaly response is guided to the anomaly recovery channel, the error tendency within the relevant start-up permission channel is weakened, and the probability of repeated triggering of anomaly actions under subsequent similar operating conditions decreases. Overall, the data in the table demonstrates that this invention improves the accuracy of action release, the efficiency of continuous equipment operation, and the anomaly suppression capability without changing the basic electrical execution structure of the box-type automated storage and retrieval system.
[0077] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A reinforcement learning-based optimization method for the electrical control of a box-type automated warehouse, characterized in that, Includes the following steps: The electrical operation data reflecting electrical control action requests, interlock constraint status, and action execution feedback during the operation of the box-type automated warehouse is collected and organized into an electrical action trace sequence according to the control cycle; Extract control elements that participate in the constraints of electrical control actions from the electrical action trace sequence, construct interlocking hyperedges according to the common constraint relationships formed by the control elements on the electrical control actions, and form an electrical interlocking hypergraph from the interlocking hyperedges; The clause reading range is determined according to the constraint relationship between interlocking superedge and electrical control action. Literal values are extracted from the clause reading range to form a set of time sequence literals. Based on the clause reading range and the set of timing literals, configure super-edge-bound timing Tsetlin action clause groups for electrical control actions, and assign the Tsetlin automata corresponding to the same electrical control action to the voting channel. The voting channel is divided into start permission channel, conflict suppression channel, release confirmation channel, and exception recycling channel. In the voting channel, literal inclusion selection, literal exclusion selection, clause trigger calculation, and channel voting summary are performed to obtain the channel vote value of the electrical control action; Candidate electrical control actions and alternative electrical control actions are selected based on channel ticket value. Counterfactual verification is performed according to the electrical interlocking hypergraph. The evolution of the execution state under interlocking hyperedge constraints is simulated. The electrical control optimization instructions are determined based on the simulation differences. Execute electrical control optimization instructions, and based on instruction execution feedback and simulation differences, perform differential feedback updates on the voting channel and update the super-edge binding timing Tsetlin action clause group.
2. The method for optimizing electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The formation of the electrical action trace sequence includes the following steps: Collect action request records, interlock constraint records, and action feedback records from electrical operation data within the same control cycle; The electrical control actions are used to merge action request records, interlock constraint records, and action feedback records to form single action association records. The single-action associated records are arranged in the order of the control cycle to form an electrical action trace sequence.
3. The method for optimizing electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The formation of the electrical interlocking supermap includes the following steps: Read the electrical action sequence, extract the action attribution element from the action request record, extract the constraint source element from the interlock constraint record, and extract the feedback status element from the action feedback record to form control elements; The control elements are grouped according to the electrical control actions, and the control elements corresponding to the same electrical control action are assigned to the same constraint set, thus establishing the attribution relationship between the constraint set and the electrical control action. Construct interlocking hyperedges based on the common constraint relationships between control elements in the constraint set and electrical control actions, and associate the interlocking hyperedges with the corresponding electrical control actions. Using control elements as hypergraph nodes and electrical control actions as action nodes, the connections between interlocking hyperedges and hypergraph nodes and action nodes are configured according to constraint attribution relationships to form an electrical interlocking hypergraph.
4. The method for optimizing electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The formation of the temporal literal set includes the following steps: Read the constraint attribution relationship between interlocking hyperedges and electrical control actions in the electrical interlocking hypergraph, and select the interlocking hyperedges that are associated with the same electrical control action based on the constraint attribution relationship; Read the selected control elements of the interlocking super-edge connection, and include the corresponding action attribution elements, constraint source elements, and feedback status elements of the control elements into the clause reading range of the corresponding electrical control action. Extract the status literals within the same control cycle, the hold literals between adjacent control cycles, and the feedback literals after action feedback from the clause reading range; The status literals, hold literals, and feedback literals are arranged in the order of their corresponding electrical control actions, interlocking oversteps, and control cycles to form a set of timing literals.
5. The method for optimizing electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The configuration of the hyperedge-bound temporal Tsetlin action clause group includes the following steps: Read the clause reading range and timing literal set corresponding to the electrical control action, and establish literal grouping according to the interlocking superedge to which the timing literal set belongs; Establish an interlocking superedge binding relationship between the literal group and its corresponding interlocking superedge; Configure the Tsetlin automaton according to the interlocking super-edge binding relationship, map the Tsetlin automaton to the state literal, hold literal, and feedback literal in the literal group, and configure the included state and excluded state for the Tsetlin automaton; Based on the action attribution element, constraint source element, and feedback state element, the Tsetlin automaton is assigned to the start permission channel, conflict suppression channel, release confirmation channel, and exception recovery channel; Using electrical control actions as configuration objects, the Tsetlin automata, included states, excluded states, literal groupings, and interlocking superedge binding relationships in the start permission channel, conflict suppression channel, release confirmation channel, and abnormal recovery channel are configured as superedge binding sequence Tsetlin action clause groups.
6. The method for optimizing the electrical control of a box-type automated warehouse based on reinforcement learning according to claim 5, characterized in that, The allocation of voting channels includes the following steps: Assign the Tsetlin automata corresponding to the state literals and hold literals from the action attribution element in the literal grouping to the start permission channel; Assign the Tsetlin automata corresponding to the state literals and hold literals that originate from the constraint source elements and correspond to the execution of the constraint actions in the literal grouping to the conflict suppression channel; Assign the Tsetlin automata corresponding to the state literals and hold literals that originate from the constraint source elements and correspond to the release action execution restrictions in the literal grouping to the release confirmation channel; Assign the Tsetlin automaton corresponding to the feedback literal that originates from the feedback state element and corresponds to the exception recycling in the literal group to the exception recycling channel.
7. The method for optimizing the electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The formation of the channel ticket value includes the following steps: Based on the interlocking super-edge binding relationship, determine the corresponding literal grouping within the voting channel; Within the corresponding literal group, generate the clause input literal based on the inclusion and exclusion states of the Tsetlin automaton; Within the same voting channel, clause trigger calculations are performed on clause input literals under the same interlocking hyperedge binding relationship to form the channel clause trigger value for the corresponding voting channel; The trigger values of the channel clauses are summarized according to the start permission channel, conflict suppression channel, release confirmation channel, and abnormal recovery channel to form the channel ticket value of the electrical control action.
8. The method for optimizing the electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The screening of candidate electrical control actions and alternative electrical control actions includes the following steps: Read the channel ticket value of the electrical control action, write the start permission ticket value into the action execution evaluation item, write the conflict suppression ticket value into the action blocking evaluation item, write the release confirmation ticket value into the release coordination evaluation item, and write the abnormal recovery ticket value into the abnormal blocking evaluation item. The electrical control actions are sorted in the following order: abnormal blocking evaluation items in ascending order, action blocking evaluation items in ascending order, action execution evaluation items in descending order, and release coordination evaluation items in descending order, to obtain the action sorting result. The electrical control action that ranks first in the action ranking results is selected as the candidate electrical control action. Among the electrical control actions associated with the interlocking superedge of the candidate electrical control actions, after excluding the candidate electrical control actions, the electrical control action with the highest ranking position is selected as the replacement electrical control action according to the action ranking result.
9. The method for optimizing the electrical control of a box-type automated warehouse based on reinforcement learning according to claim 8, characterized in that, The determination of the electrical control optimization command includes the following steps: The counterfactual verification range is determined based on the interlocking superedges that are jointly associated with candidate electrical control actions and alternative electrical control actions. Within the counterfactual verification range, the execution state evolution process of candidate electrical control actions and alternative electrical control actions under interlocking hyperedge constraints is simulated respectively, generating candidate action simulation results and alternative action simulation results; Compare the simulation results of candidate actions with those of alternative actions to identify simulation differences; Based on the simulation differences, the target electrical control action is determined from the candidate electrical control actions and alternative electrical control actions, and an electrical control optimization instruction is generated based on the target electrical control action.
10. The method for optimizing electrical control of a box-type automated warehouse based on reinforcement learning according to claim 1, characterized in that, The differential feedback update includes the following steps: After executing the electrical control optimization command, the command execution feedback corresponding to the target electrical control action is collected, and the command execution feedback is matched with the simulation difference to form a feedback matching result; Based on the action completion record, action execution restriction record, constraint source state release record, and abnormal response record in the feedback matching results, determine the Tsetlin automaton in the corresponding voting channel; The Tsetlin automaton states corresponding to action completion records, action execution restriction records, and constraint source state release records are migrated to the inclusion state. The Tsetlin automaton states in the exception recycling channel corresponding to exception response records are migrated to the inclusion state. The Tsetlin automaton states in the start permission channel corresponding to exception response records are migrated to the exclusion state. Write the updated voting channel back to the corresponding electrical control action's super-edge-bound timing Tsetlin action clause group.
