Generalized Approach to Optimal Polylinearization for Smart Sensors and Internet of Things Devices
Abstract
:1. Introduction and Motivation
- Hardware-based linearization methods;
- Software-based linearization methods;
- Hybrid (hardware- and software-based) methods [3].
- The introduction of an upper error bound and the subsequent minimization of the number of line segments.
- The determination of the number of line segments required to construct a PLA with no more than k segments while minimizing the error .
2. Materials and Methods
- Rectifiable simple curve; curve segment and its approximating (poly)line segment.
- Measuring the remoteness between a curve segment and the corresponding line segment.
- Measuring the remoteness between the curve and the entire polyline.
- Fitting a polyline to a curve by solving a proximity-controlled area-minimization problem for the vertices of the polyline.
- First, we introduce the concepts of a simple rectifiable curve and a curve segment between any two distinct points (also called nodes) on it.
- Second, we characterize in the parametric form the polyline segment between the same two points and introduce the measure of its remoteness from the curve.
- Third, an open chain of connected line segments (polyline, broken-line graph) is constructed, whose proximity to the curve is further evaluated using appropriate distance and area measures. These are nothing but measures of remoteness that non-smoothly tend to become zero as the polyline approaches the curve.
- Finally, we formulate the area-minimization problem with a constraint expressed in terms of a particular remoteness measure; its solution, within the margin of the user-specified tolerance, provides us with the controllable polylinearization of the curve.
2.1. Linearization and Polylinearization Costs
- (a)
- For a fixed domain there exists such that and the total area error attain their minima.
- (b)
- For a fixed domain there exists such that and the total area error attain their minima.
2.2. Remoteness Measures
- -
- The surface remoteness, determined for , as the least upper bound,
- -
- The gap, determined for , and calculated as the largest distance,
2.3. Optimal Polylinearization of Curves
- (a)
- This problem will be denoted as the optimal polylinearization.
- (b)
- Control over the nodal locations is enforced by an essential minimization problem for the polylinearization cost, while control over the number of nodes is achieved through the corresponding remoteness measure.
- (c)
- The minimization problem is quadratic, while the remoteness control is not, defined by the corresponding -norm, in which is not equal to . Although qualitatively the remoteness measures behave in the same way—the larger the measure, the more distant the polyline and the curve—quantitatively they differ. Thus, different choices for will result in different optimal solutions .
- (d)
- Therefore, we propose the polyline to be always calculated using the minimization of polylinearization cost but to interpret particular solutions as optimal only in the context of the imposed remoteness measure.
- (e)
- The constrained minimization problem allows for vectorial interpretation, because which corresponds to is a vector, whose cardinality and nodal locations, , are its solutions as well.
- -
- Typical, planar line segment, , on , has the representation:
- -
- The linearization cost of , denoted by , is
- -
- The polylinearization cost, , is
3. Results
- -
- -
- -
- -
- A numerical polylinearization approach is proposed for both types of rectifiable sensor characteristics: either concave or convex.
- The approach is sufficiently general and allows applications to both two-dimensional and three-dimensional characteristics.
- The problem of optimal vertex allocation of the approximating polyline is discretized using a second-order accurate integration rule and then solved numerically. Higher-order integration rules are also allowed and will not change the algorithmic solution.
- The applicability of the approach is illustrated by several well-known sensory characteristics.
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Nomenclature
natural numbers | |
integers | |
real numbers | |
set of n-tuples of real numbers | |
Euclidian 3-D point space | |
the two-dimensional subspace of | |
position vector (lower-case, boldface, italic symbols) | |
length of a vector , | |
function rule | |
value of a function | |
partial derivatives of in | |
set of elements | |
number of elements (cardinality) in a set | |
linear segment | |
length of a linear segment |
References
- Attari, M. Methods for linearization of non-linear sensors. Proc. CMMNI-4 1993, 1, 344–350. [Google Scholar]
- Pereira, J.M.D.; Postolache, O.; Girao, P.M.B.S. PDF-Based Progressive Polynomial Calibration Method for Smart Sensors Linearization. IEEE Trans. Instrum. Meas. 2009, 58, 3245–3252. [Google Scholar] [CrossRef]
- Erdem, H. Implementation of software-based sensor linearization algorithms on low-cost microcontrollers. ISA Trans. 2010, 49, 552–558. [Google Scholar] [CrossRef] [PubMed]
- Johnson, C. Process Control Instrumentation Technology, 8th ed.; Pearson Education Limited: London, UK, 2013. [Google Scholar]
- Lundström, H.; Mattsson, M. Modified Thermocouple Sensor and External Reference Junction Enhance Accuracy in Indoor Air Temperature Measurements. Sensors 2021, 21, 6577. [Google Scholar] [CrossRef] [PubMed]
- Marinov, M.; Dimitrov, S.; Djamiykov, T.; Dontscheva, M. An Adaptive Approach for Linearization of Temperature Sensor Characteristics. In Proceedings of the 27th International Spring Seminar on Electronics Technology, ISSE 2004, Bankya, Bulgaria, 13–16 May 2004. [Google Scholar]
- Šturcel, J.; Kamenský, M. Function approximation and digital linearization in sensor systems. AT&P J. 2006, 1, 13–17. [Google Scholar]
- Flammini, A.; Marioli, D.; Taroni, A. Transducer output signal processing using an optimal look-up table in mi-crocontroller-based systems. Electron. Lett. 2010, 33, 552–558. [Google Scholar]
- Islam, T.; Mukhopadhyay, S. Linearization of the sensors characteristics: A review. Int. J. Smart Sens. Intell. Syst. 2019, 12, 1–21. [Google Scholar] [CrossRef]
- van der Horn, G.; Huijsing, J. Integrated Smart Sensors: Design and Calibration; Springer: New York, NY, USA, 2012. [Google Scholar]
- Berahmand, K.; Mohammadi, M.; Saberi-Movahed, F.; Li, Y.; Xu, Y. Graph Regularized Nonnegative Matrix Factorization for Community Detection in Attributed Networks. IEEE Trans. Netw. Sci. Eng. 2023, 10, 372–385. [Google Scholar] [CrossRef]
- Nasiri, E.; Berahmand, K.; Li, Y. Robust graph regularization nonnegative matrix factorization for link prediction in attributed networks. Multimed. Tools Appl. 2023, 82, 3745–3768. [Google Scholar] [CrossRef]
- Marinov, M.; Nikolov, N.; Dimitrov, S.; Todorov, T.; Stoyanova, Y.; Nikolov, G. Linear Interval Approximation for Smart Sensors and IoT Devices. Sensors 2022, 22, 949. [Google Scholar] [CrossRef] [PubMed]
- Grützmacher, F.; Beichler, B.; Hein, A.; Kirste, T.; Haubelt, C. Time and Memory Efficient Online Piecewise Linear Approximation of Sensor Signals. Sensors 2018, 18, 1672. [Google Scholar] [CrossRef] [PubMed]
- Ouafiq, E.; Saadane, R.; Chehri, A. Data Management and Integration of Low Power Consumption Embedded Devices IoT for Transforming Smart Agriculture into Actionable Knowledge. Agriculture 2022, 12, 329. [Google Scholar] [CrossRef]
- Mitro, N.; Krommyda, M.; Amditis, A. Smart Tags: IoT Sensors for Monitoring the Micro-Climate of Cultural Heritage Monuments. Appl. Sci. 2022, 12, 2315. [Google Scholar] [CrossRef]
- Popivanov, I.; Miller, R.J. Similarity search over time series data using wavelets. In Proceedings of the 18th International Conference on Data Engineering, San Jose, CA, USA, 26 February–1 March 2002. [Google Scholar]
- Rafiei, D. On similarity-based queries for time series data. In Proceedings of the 15th International Conference on Data Engineering, Sydney, Australia, 23–26 March 1999. [Google Scholar]
- Cai, Y.; Ng, R. Indexing spatio-temporal trajectories with Chebyshev polynomials. In Proceedings of the 2004 ACM SIGMOD International Conference on Management of Data, Paris, France, 13–18 June 2004. [Google Scholar]
- Yi, B.; Faloutsos, C. Fast time sequence indexing for arbitrary lp norms. In Proceedings of the 26th International Conference on Very Large Data Bases, Cairo, Egypt, 10–14 September 2000. [Google Scholar]
- Luo, G.; Yi, K.; Cheng, S.; Li, Z.; Fan, W.; He, C.; Mu, Y. Piecewise linear approximation of streaming time-series data with max-error guarantees. In Proceedings of the 2015 IEEE 31st International Conference on Data Engineering (ICDE), Seoul, Republic of Korea, 13–17 April 2015. [Google Scholar]
- Palpanas, T.; Vlachos, M.; Keogh, E.; Gunopulos, D.; Truppel, W. Online amnesic approximation of streaming time series. In Proceedings of the 20th International Conference on Data Engineering, Boston, MA, USA, 2 April 2004. [Google Scholar]
- Chen, Q.; Chen, L.; Lian, X.; Liu, Y.; Yu, J.X. Indexable PLA for efficient similarity search. In Proceedings of the 33rd International Conference on Very Large Data Bases, Vienna, Austria, 23–27 September 2007. [Google Scholar]
- Cameron, S.H. Piece-Wise Linear Approximations; DTIC Document, Technical Report; IIT Research Institute Press: Chicago, IL, USA, 1966. [Google Scholar]
- Marinov, M.; Nikolov, N.; Dimitrov, S.; Ganev, B.; Nikolov, G.; Stoyanova, Y.; Todorov, T.; Kochev, L. Linear Interval Approximation of Sensor Characteristics with Inflection Points. Sensors 2023, 23, 2933. [Google Scholar] [CrossRef] [PubMed]
- Fuchs, E.; Gruber, T.; Nitschke, J.; Sick, B. Online segmentation of time series based on polynomial least-squares approximations. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 2232–2245. [Google Scholar] [CrossRef] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Marinov, M.B.; Dimitrov, S. Generalized Approach to Optimal Polylinearization for Smart Sensors and Internet of Things Devices. Computation 2024, 12, 63. https://doi.org/10.3390/computation12040063
Marinov MB, Dimitrov S. Generalized Approach to Optimal Polylinearization for Smart Sensors and Internet of Things Devices. Computation. 2024; 12(4):63. https://doi.org/10.3390/computation12040063
Chicago/Turabian StyleMarinov, Marin B., and Slav Dimitrov. 2024. "Generalized Approach to Optimal Polylinearization for Smart Sensors and Internet of Things Devices" Computation 12, no. 4: 63. https://doi.org/10.3390/computation12040063
APA StyleMarinov, M. B., & Dimitrov, S. (2024). Generalized Approach to Optimal Polylinearization for Smart Sensors and Internet of Things Devices. Computation, 12(4), 63. https://doi.org/10.3390/computation12040063