Properties, instrumentation and automatic scaling for signals in a modeling environment
AssigneeThe MathWorks, Inc.
InventorsAndrew C. Bartlett, Pieter J. Mosterman
Life of this patent
Estimating the term…
Abstract
A method and system are provided for deriving a property value of a data type in a graphical modeling environment. A graphical model in the graphical modeling environment includes at least one signal having a data type having a precision property, a minimum data value property, or a maximum data value property. These properties may be defined by a user of the graphical modeling environment. The graphical modeling environment may also include instrumentation and diagnostics for signals. Heuristics and algorithms may be provided for auto scaling and selection of data types for signals.
Claims51
A method comprising:
- receiving, by a computing device and from a user, information defining at least one of a first precision requirement or a first precision limitation of a first signal type of a first signal of a model,
- the first precision requirement identifying a level of accuracy required for values of the first signal,
- the first precision limitation identifying a limitation regarding a rate of change for the values of the first signal;
- receiving, by the computing device and from the user, information defining at least one of a second precision requirement or a second precision limitation of a second signal type of a second signal of the model,
- the second precision requirement identifying a level of accuracy required for values of the second signal,
- the second precision limitation identifying a limitation regarding a rate of change for the values of the second signal;
- receiving, by the computing device and from the user, information indicating that the at least one of the first precision requirement or the first precision limitation is related to the at least one of the second precision requirement or the second precision limitation;
- detecting, by the computing device, a change in the at least one of the first precision requirement or the first precision limitation;
- determining, by the computing device, whether the change has been propagated to the at least one of the second precision requirement or the second precision limitation;
- and
- notifying, by the computing device, the user that the at least one of the second precision requirement or the second precision limitation is to be changed when the change has not been propagated to the at least one of the second precision requirement or the second precision limitation.
A non-transitory computer readable medium storing instructions, the instructions comprising:
- a plurality of instructions which, when executed by a computing device, cause the computing device to:
- receive, from a user, information identifying at least one of a first precision requirement or a first precision limitation for a first signal type for a first signal,
- the first precision requirement identifying a level of accuracy required for at least one value of the first signal,
- the first precision limitation identifying a limitation regarding a rate of change for the at least one value of the first signal;
- receive, from the user, information identifying at least one of a second precision requirement or a second precision limitation of a second signal type of a second signal,
- the second precision requirement identifying a level of accuracy required for at least one value of the second signal,
- the second precision limitation identifying a limitation regarding a rate of change for the at least one value of the second signal;
- receive information indicating that the at least one of the first precision requirement or the first precision limitation is related to the at least one of the second precision requirement or the second precision limitation;
- detect a first change in the at least one of the first precision requirement or the first precision limitation;
- determine whether a second change has occurred in the at least one of the second precision requirement or the second precision limitation,
- the second change being related to the first change;
- and
- notify the user that the at least one of the second precision requirement or the second precision limitation is to be changed when the second change has not occurred in the at least one of the second precision requirement or the second precision limitation.
A computing device comprising:
- a processor to:
- define a first signal type for a first signal,
- the first signal type identifying at least one of a first precision requirement or a first precision limitation,
- the first precision requirement identifying a level of accuracy required for values of the first signal, and
- the first precision limitation identifying a limitation regarding a rate of change for the values of the first signal;
- define a second signal type for a second signal,
- the second signal type identifying at least one of a second precision requirement or a second precision limitation,
- the second precision requirement identifying a level of accuracy required for values of the second signal, and
- the second precision limitation identifying a limitation regarding a rate of change for the values of the second signal;
- receive information indicating that the at least one of the first precision requirement or the first precision limitation is related to the at least one of the second precision requirement or the second precision limitation;
- detect a first change in the at least one of the first precision requirement or the first precision limitation;
- determine whether a second change has occurred in the at least one of the second precision requirement or the second precision limitation,
- the second change being related to the first change;
- and
- notify the user that the at least one of the second precision requirement or the second precision limitation is to be changed when the second change has not occurred in the at least one of the second precision requirement or the second precision limitation.
A method comprising:
- defining, by a computing device, information relating to a first signal type for a first signal of a graphical model in a graphical modeling environment,
- a property, of the first signal type, including:
- a precision requirement identifying a level of accuracy required for values of the first signal,
- a precision limitation identifying a limitation regarding a rate of change for the values of the first signal,
- a maximum value for the first signal, and
- a minimum value for the first signal,
- the property of the first signal type being specified by a user;
- defining, by the computing device, information relating to a second signal type for a second signal,
- a property, of the second signal type, including:
- a second precision requirement identifying a level of accuracy required for values of the second signal, and
- a second precision limitation identifying a limitation regarding a rate of change for the values of the second signal,
- the property of the second signal type being defined by the user;
- detecting, by the computing device, a change in the property of the first signal type based on deriving a third precision requirement for the values of the first signal, a third precision limitation identifying a limitation regarding a rate of change for the values of the first signal, a second maximum value for the first signal, or a second minimum value for the first signal,
- the third precision requirement, the third precision limitation, the second maximum value, or the second minimum value being derived based on values associated with the first signal type observed during propagation of the first signal in the graphical model;
- and
- notifying, by the computing device, the user that the property of the second signal type is to be changed when the property of the second signal type has not changed after detecting the change in the property of the first signal type.
A non-transitory computer readable medium storing instructions, the instructions comprising:
- a plurality of instructions which, when executed by a computing device, cause the computing device to:
- define information relating to a first signal type for a first signal of a graphical model,
- a property, of the first signal type, including a plurality of:
- a precision requirement identifying a level of accuracy required for values of the first signal,
- a precision limitation identifying a limitation regarding a rate of change for the values of the first signal,
- a maximum value for the first signal, or
- a minimum value for the first signal,
- the property of the first signal type being specified by a user;
- define information relating to a second signal type for a second signal,
- a property, of the second signal type, including:
- a second precision requirement identifying a level of accuracy required for values of the second signal, and
- a second precision limitation identifying a limitation regarding a rate of change for the values of the second signal,
- the property of the second signal type being defined by the user;
- detect a change in the property of the first signal type based on a third precision requirement for the values of the first signal, a third precision limitation identifying a limitation regarding a rate of change for the values of the first signal, a second maximum value for the first signal, or a second minimum value for the first signal,
- the third precision requirement, the third precision limitation, the second maximum value, or the second minimum value being derived based on values observed during propagation of the first signal in the graphical model;
- and
- notify the user that the property of the second signal type is to be changed when the property of the second signal type has not changed after detecting the change in the property of the first signal type.
A device comprising:
- a processor to:
- define information relating to a first signal type for a first signal of a graphical model,
- a property, of the first signal type, including a plurality of:
- a precision requirement identifying a level of accuracy required for values of the first signal,
- a precision limitation identifying a limitation regarding a rate of change for the values of the first signal,
- a maximum value for the first signal, or
- a minimum value for the first signal,
- the property of the first signal type being specified by a user;
- define information relating to a second signal type for a second signal,
- a property, of the second signal type, including:
- a second precision requirement identifying a level of accuracy required for values of the second signal, and
- a second precision limitation identifying a limitation regarding a rate of change for the values of the second signal,
- the property of the second signal type being defined by the user;
- detect a change in the property of the first signal type based on a third precision requirement for the values of the first signal, a third precision limitation identifying a limitation regarding a rate of change for the values of the first signal, a second maximum value for the first signal, or a second minimum value for the first signal,
- the third precision requirement, the third precision limitation, the second maximum value, or the second minimum value being derived based on values observed during propagation of the first signal in the graphical model;
- and
- notify the user that the property of the second signal type is to be changed when the property of the second signal type has not changed after detecting the change in the property of the first signal type.
Dependencies are inferred from the claim text.