Ladder logic modeling and simulation
AssigneeThe MathWorks, Inc.
InventorsJoel Berg, Krishna Tamminana, Jagadish Gattu
Life of this patent
Estimating the term…
Abstract
A computing device may create a time based block diagram. The time based block diagram may comprise a ladder logic diagram and at least one block. The at least one block may correspond to at least one of a differential equation system or a difference equation system. The computing device may also execute the time based block diagram to simulate behavior of a dynamic system, device, or process. Executing the time based block diagram may include executing the ladder logic diagram and the at least one block. The computing device may further output results of the simulation of the behavior of the system, device, or process based on executing the time based block diagram.
Claims36
A method, comprising:
- creating, by a computing device, a time based block diagram, the time based block diagram comprising:
- at least one block, the at least one block corresponding to at least one of:
- a differential equation system or a difference equation system,
- another block, and
- a ladder logic diagram including the at least one block and the other block;
- creating, by the computing device, a functional association between the at least one block and the other block by configuring the other block to include a parameter corresponding to the at least one block,
- the functional association being created without using a connector line to connect the at least one block and the other block in the ladder logic diagram;
- inferring, by the computing device, a value of a first attribute, associated with the at least one block, based on a value of a second attribute associated with the other block;
- executing, by the computing device, the time based block diagram to simulate behavior of a dynamic system, device, or process, the executing including:
- executing the ladder logic diagram and the at least one block;
- and
- outputting, by the computing device, results of the simulation of the behavior of the system, device, or process based on executing the time based block diagram.
A computing device, comprising:
- a processor to:
- create a model comprising a ladder logic diagram, when creating the model, the processor is to:
- insert a plurality of rail objects into the model, and
- connect the plurality of rail objects with at least one rung object,
- when connecting the plurality of rail objects with the at least one rung object, the processor is to:
- insert at least one block between two or more of the plurality of rail objects, the at least one block being included in the ladder logic diagram and representing a function corresponding to the model, the function being based on a differential equation system or a difference equation system,
- create a functional connection between the at least one block and another block included in the ladder logic diagram by configuring the other block to include a parameter corresponding to the at least one block, and
- the functional connection being created without connecting the at least one block and the other block with a connector line in the ladder logic diagram,
- infer a value of a first attribute, associated with the at least one block, based on a value of a second attribute associated with the other block,
- execute the model to simulate behavior of a dynamic system, device, or process, when executing the model, the processor is to:
- execute the ladder logic diagram;
- and
- output results of the simulation of the behavior of the system, device, or process based on executing the model.
One or more non-transitory computer-readable storage media that stores instructions, the instructions comprising:
- one or more instructions that, when executed by a processor, cause the processor to:
- create a model comprising a ladder logic diagram, the one or more instructions to create the model cause the processor to:
- insert a plurality of rail objects into the model, and
- connect rung objects to the plurality of rail objects, the rung objects including a plurality of blocks,
- each of the plurality of blocks being positioned between the plurality of rail objects,
- each of the plurality of blocks representing a function corresponding to the model,
- at least one block, of the plurality of blocks, being included in the ladder logic diagram and functionally connected to another block included in the ladder logic diagram based on a functional association between the at least one block and the other block,
- the at least one block being functionally connected to the other block while being visually unconnected in the ladder logic diagram when the ladder logic diagram is presented for display,
- the at least one block corresponding to a differential equation system or a difference equation system;
- infer a value of a first attribute, associated with the at least one block, based on a value of a second attribute associated with the other block;
- and
- execute the model to generate results that represent behavior of the model.
Dependencies are inferred from the claim text.