Experimental Determination of Sampling Time in Hardware with Microcontrollers and Its Relationship to Mathematics in t, s and z
Abstract
The design of monitoring and/or control systems is based on mathematical models at time t, which involve differential equations and Laplace transforms for their solution. Associating these models with discrete systems and the use of microcontrollers or computers to digitize these systems involves the use of the z-transform, which requires knowledge of the sampling time used for all models to coincide in their results. The present work shows a practical method for determining the sampling time. The ESP-32-S2 development kit and a network with a resistor and a capacitor were used. Using a C/C++ language program and oscilloscope, the sampling time was measured. Experiments were performed for different operating conditions of the data acquisition system, recording the capacitor voltage in response to one unit step supply. The true results were compared graphically with the results in t,s and z and the error between the response in t and the practical results also was calculated. Demonstrating that the proposed method generates a good measure of the sampling time and that the model results in all planes coincide with those obtained in practice. Hoping to motivate students and professionals to apply mathematics in the design of digital systems. Encouraging the use of simulation tools that allow the development of faster and more efficient systems. Strengthening work related to embedded systems, intelligent sensors, internet of things and industry 4.0.
Downloads
This work is licensed under a Creative Commons Attribution 4.0 International License.
In order to promote the development and dissemination of research in education in Latin America, the Ibero-American Journal for Educational Research and Development (RIDE) adhered to the Budapest Open Access Initiative, which is why it is identified as a Open access publication. This means that any user can read the complete text of the articles, print them, download them, copy them, link them, distribute them and use the contents for other purposes. Creative Cummons licenses allow users to specify the rights to use an open access journal available on the Internet in such a way that users know the rules of publication. Authors who publish in this journal accept the following conditions: Authors they keep the author's rights and give the magazine the right of the first publication, with the work registered with the attribution license of Creative Commons, which allows third parties to use the published material whenever they mention the authorship of the work and the first publication in this The authors can make other independent and additional contractual agreements for the non-exclusive distribution of the version of the article published in this journal (eg, include it in an institutional repository or publish it in a book) as long as they clearly indicate that The work was published for the first time in this magazine. Authors are allowed and recommended to publish their work. low on the Internet (for example on institutional or personal pages) before and during the review and publication process, as it can lead to productive exchanges and to a greater and faster dissemination of the published work