Method and apparatus for processing data
AssigneeSiemens Aktiengesellschaft
InventorMaximillian Walter
Life of this patent
Estimating the term…
Abstract
A computer program product, an apparatus, a functionally safe programmable controller and a method for processing data, wherein an uncoded real number x is converted into a logarithmic number system (LNS) coded integer xLNS via a predetermined conversion rule for a logarithmic number system (LNS) in accordance with the relationship: xLNS=sgn(x)·2m+Id|x|·2n, where sgn(x) denotes a sign function of the uncoded real number x, Id|x| denotes a binary logarithm of the uncoded real number x, m denotes a first exponent and n denotes a second exponent, and the LNS-coded integer xLNS is coded into an arithmetically coded integer xc via arithmetic coding such that the required integer operations is reduced.
Claims17
A method for processing data to provide a functionally safe programmable controller, the method comprising:
- converting an uncoded real number x within a programmable controller into a logarithmic number system (LNS) coded integer xLNS via a predetermined conversion rule for the logarithmic number system (LNS) in accordance with the relationship:
- xLNS=sgn(x)·2m+Id|x|·2n,
- where sgn(x) denotes a sign function of the uncoded real number x, Id|x| denotes a binary logarithm of the uncoded real number x, m denotes a first exponent and n denotes a second exponent;
- coding the LNS-coded integer xLNS within the programmable controller into an arithmetically coded integer xc via arithmetic coding to provide the functionally safe programmable controller;
- and
- controlling a machine within an industrial system via the functionally safe programmable controller.
A non-transitory computer-readable medium encoded with a program instructions which, when executed by a processor of a programmable controller, causes data to be processed such that a functionally safe programmable controller is provided, the program instructions comprising:
- program code for converting an uncoded real number x within the programmable controller into a logarithmic number system (LNS) coded integer xLNS via a predetermined conversion rule for the logarithmic number system (LNS) in accordance with the relationship:
- xLNS=sgn(x)·2m+Id|x|·2n,
- where sgn(x) denotes a sign function of the uncoded real number x, Id|x| denotes a binary logarithm of the uncoded real number x, m denotes a first exponent and n denotes a second exponent;
- program code for coding the LNS-coded integer xLNS within the programmable controller into an arithmetically coded integer xc via arithmetic coding to provide the functionally safe programmable controller;
- and
- program code for controlling a machine within an industrial system via the functionally safe programmable controller.
An apparatus for processing data to provide a functionally safe programmable controller, comprising:
- a conversion unit which is configured to convert an uncoded real number x into an logarithmic number system (LNS) coded integer xLNS via a predetermined conversion rule for a logarithmic number system (LNS) in accordance with the relationship:
- xLNS=sgn(x)·2m+Id|x|·2n,
- where sgn(x) denotes a sign function of the uncoded real number x, Id|x| denotes a binary logarithm of the uncoded real number x, m denotes a first exponent and n denotes a second exponent;
- and
- a coding unit which is configured to code the LNS-coded integer xLNS into an arithmetically coded integer xc via arithmetic coding;
- wherein the functionally safe programmable controls a machine within an industrial system.
Dependencies are inferred from the claim text.