[Eng-Spa] Real-Time System: Concept and Context // Sistema de Tiempo Real: Concepto y Contexto.

avatar
(Edited)

298p.gif
Source/Fuente GIFER
Separador AA.jpg

Hello, Friends of Hive, nice to be with you again.

Hola Amigos de Hive un gusto estar nuevamente con ustedes.


Today I begin a series of posts where I will focus on Real-Time Systems, which I formally met twenty-two years ago in one of my graduate studies and since then has accompanied me as an essential foundation within the research and development that I carry out.

Hoy inicio una serie de post donde centraré la atención en los Sistemas de Tiempo Real, el cual conocí formalmente hace veintidós años en uno de mis estudios de postgrado y desde allí me ha acompañado como un fundamento esencial dentro de las investigaciones y desarrollos que llevo a cabo.


Many times when:

Muchas veces cuando:


  • we are making a payment through a technological means, it is often said, Yes, the transaction is in real-time!;
  • we are in a video conference, using a defined application, the expression, Yes, we are doing it in real-time! also arises;
  • an aerial robot makes a flight and navigates, it is also often said, Yes, the navigation and flight control is in real-time!;
  • an alarm is triggered by a system failure and the system takes action to minimize or eliminate the cause, again, Yes, the system is Real-Time!
  • estamos haciendo un pago por un medio tecnológico, se suele decir, ¡Sí, la transacción es en tiempo real!;
  • estamos en una video conferencia, por medio de una aplicación definida, también surge la expresión, ¡Si estamos haciendo en tiempo real!;
  • un robot aéreo hace un vuelo y navega, también suele expresarse, ¡Sí, el control de navegación y vuelo es en tiempo real!;
  • una alarma se activa por efecto de una falla en un sistema y este toma acciones para minimizar o eliminar la causa, nuevamente aparece, ¡Si, el sistema es de Tiempo Real!

  • It comes as no surprise, then, that Real-Time Systems is commonly referred to as fast, simultaneous, interactive, and instantaneous, to name a few.

    Entonces no cae por sorpresa, que corrientemente los Sistemas Tiempo Real sean catalogados como rápidos, simultáneos, interactivos e instantáneos, por nombrar algunos.


    Well, in this post, I will formally provide you what a Real-Time System is, base knowledge that will help change the perception you may have of a system and argue such a position.

    Pues bien, en este post les proporcionaré formalmente lo que es un Sistema de Tiempo Real, conocimientos base que ayudarán a cambiar la percepción que se pueda tener de un sistema y poder argumentar dicha posición.


    It is clear that to enter this world of real-time it is necessary to conquer and integrate different areas of knowledge. It is understood that what emanates from them is respected.

    Está claro que entrar en este mundo del tiempo real se necesita conquistar e integrar diferentes áreas de conocimiento. En el entendido que se respetan lo emanado de las mismas.

    Separador 2.jpg

    What is a Real-Time System?

    ¿Qué es un Sistemas de Tiempo Real?

    Separador 2.jpg

    To frame the Real-Time Systems (RTS) I start from the following statement, which I have used some time ago:

    Para enmarcar a los Sistemas de Tiempo Real (STR) parto de la siguiente declaración, la cual he utilizado hace algún tiempo:


    In Real-Time Systems it is not enough that the actions of the system are logically correct, in addition, they must occur within a time interval, this is because the system is connected to an external process from which it receives stimuli, which appear in unpredictable instants of time, to which it must respond quickly enough, to prevent it from evolving to an undesirable state.

    En los Sistemas de Tiempo Real no es suficiente que las acciones del sistema sean correctas lógicamente, además, deben producirse dentro de un intervalo de tiempo, esto se debe a que el sistema está conectado a un proceso externo del cual recibe estímulos, que aparecen en instantes de tiempo no predecibles, a los cuales debe responder con suficiente rapidez, para evitar que evolucione a un estado indeseable.


    The above is a product of what was established by Young (1982) and Stankovic (1988), the seeds of which have borne fruit and are still valid. So much so that they have been paraphrased by many authors.

    Lo anterior es producto de lo establecido Young (1982) y Stankovic (1988) cuyas semillas dieron sus frutos y tienen vigencia. Tan es así, que han sido parafraseados por muchos autores.


    In addition, there is a consensus that RTS is characterized by a tight time to complete a job (deadline), high productivity (throughput), reliability, and safety, adding to the above a good efficiency.

    Además, hay un consenso que los STR se caracterizan por un estricto tiempo para completar un trabajo (deadline), una alta productividad (throughput), fiabilidad y seguridad, sumando a las anteriores una buena eficiencia.

    Separador 2.jpg

    Types of Systems / Tipos de Sistemas

    Separador 2.jpg

    There are different types of systems that help to locate and characterize them as RTS (Butazzo, 2011).

    Existen diferentes tipos de sistemas que ayudan a ubicarlos y caracterizarlos como STR (Butazzo, 2011):

    OikX.gif
    Source/Fuente GIFER

    Hard Real-Time Systems: characterized by their rapid response to a change in input or environmental excitation, they typically require a guaranteed response in a short period of time, and are commonly referred to as hard deadlines.

    Sistemas de Tiempo Real Críticos (Hard Real-Time Systems): caracterizados por la rapidez que poseen en responder a un cambio en la excitación de la entrada o del ambiente, típicamente requieren una garantía en la respuesta en un corto período de tiempo, estos comúnmente se refieren a tiempos de finalización de trabajos críticos (hard deadline).


    Here, failure to meet completion times can cause irremediable situations. An example of this is a Space System Mission where there are subsystems that any late response would cause a loss of system and even human life.

    Aquí, si no se satisfacen los tiempos de finalización pueden ocasionar situaciones irremediables. Un ejemplo de ello es una Misión de un Sistema Espacial donde existen subsistemas que cualquier respuesta tardía ocasionaría una pérdida de sistema e incluso la vida de seres humanos.


    Soft Real-Time Systems: those systems with time constraints in which a late response does not produce serious damage, but a deterioration of the overall performance.

    Sistemas de Tiempo Real Esenciales (Soft Real-Time Systems): aquellos sistemas con restricciones de tiempo en las que una respuesta tardía no produce graves daños, pero si un deterioro del funcionamiento global.


    Here one could mention multimedia applications, where the loss of some sequence or data degrades the quality, but will not cause major system downtime.

    Aquí se podría mencionar las aplicaciones multimedia, donde la pérdida de alguna secuencia o dato degrada la calidad, pero no producirá mayor contratiempo del sistema.

    6Gv.gif
    Source/Fuente GIFER

    There are two other types of systems, such as incremental, which are characterized by the fact that the quality of the response obtained depends on the time available for its calculation, i.e., if given more time the response improves. Another is the non-essential, which corresponds to tasks without time restrictions.

    Existen otros dos tipos de sistemas como, los incrementales, que se caracterizan porque la calidad de la respuesta obtenida depende del tiempo disponible para su cálculo, es decir, si se les da más tiempo la respuesta mejora. Otro es el no esencial, que corresponde con las tareas sin restricciones temporales.

    Separador 2.jpg

    Design and Realization Briefs

    Breves de Diseño y Realización

    Separador 2.jpg

    The RTS incorporate their own problems that must be solved during the design process:

    Los STR incorporan problemas propios a los que se debe dar solución durante el diseño, éstos son:


  • Representation of interrupts and context switching.
  • Concurrency, as manifested in multitasking and multiprocessing.
  • Communication and synchronization between tasks.
  • Wide variations between data processing and communication processes.
  • Representation of time bindings.
  • Special requirements for error handling and fault recovery.
  • Asynchronous processing.
  • Coupling of software with operating systems, with hardware and with other elements external to the system.
  • Representación de interrupciones y cambio de contexto.
  • Concurrencia, tal como se manifiesta en multitarea y multiprocesamiento.
  • Comunicación y sincronización entre tareas.
  • Amplias variaciones entre el tratamiento de datos y procesos de comunicación.
  • Representación de los plazos.
  • Requerimientos especiales para manejo de errores y recuperación de fallas.
  • Procesamiento asíncrono.
  • Acoplamiento del software con sistemas operativos, con el hardware y con otros elementos externos al sistema.

  • Systematic methods have been proposed to guide the development of RTS applications. They are interesting when accompanied by software tools.

    Se han propuesto métodos sistemáticos para guiar el desarrollo de aplicaciones de STR. Son interesantes cuando van acompañados de herramientas de software.


    For its part, the Support due to the Operating System and on the Specific Execution are considered for the realization of RTS.

    Por su parte, para la realización de STR se consideran el Soporte debido al Sistema Operativo y sobre la Ejecución Específica.


    Programming languages must have certain requirements: concurrency, exception handling, time management, interface access, portability, interrupt handling (low-level access), and data model.

    Los lenguajes de programación deben tener ciertos requisitos: concurrencia, manejo de excepciones, gestión de tiempo, acceso a interfaces, portabilidad, gestión de interrupciones (acceso a bajo nivel) y modelo de datos.

    Separador 2.jpg

    By way of closing / A manera de cierre

    Separador 2.jpg

    You already know formally what a Real Time System is. Hoping that it will be of help to change the perception that you may have of a system and be able to argue such a position.

    Ya conocen formalmente lo que es un Sistema de Tiempo Real. Esperando que sea de ayuda para cambiar la percepción que se pueda tener de un sistema y poder argumentar dicha posición.


    Also, traces were given concerning the problems per se of the RTS that must be solved during design and implementation, whether supported by an operating system or a specific implementation.

    También se dieron trazos referente los problemas per se de los STR a los que se debe dar solución durante el diseño y su realización ya sea soportado por un sistema operativo o una ejecución específica.


    In the next installment of this topic, I will be addressing the Real-Time Task.

    En la siguiente entrega de este tópico estaré abordando lo referente a la Tarea de Tiempo Real.

    Separador AA.jpg

    See you soon, I hope you liked this post.

    Nos vemos pronto, espero que les haya gustado este post.


    Be sure to visit my other posts and follow me @alfonsoalfonsi.

    No dejes de visitar mis otros posts y seguirme en @alfonsoalfonsi.


    The contents and images of the developed topic are the author's own.

    Los contenidos e imágenes del tópico desarrollado son del autor.


    Thank you for your time and comments.

    Gracias por su tiempo y comentarios.

    Separador AA.jpg
    Separador 2.jpg

    Documents of @alfonsoalfonsi used in the creation of the content.

    Documentos de @alfonsoalfonsi utilizados en la creación del contenido

    Separador 2.jpg

    Alfonsi A. [@alfonsoalfonsi] (2021a, July 29). [Eng-Spa] Space System Mission/ Misión de un Sistema Espacial. The HiVE Blog. [POST]. https://hive.blog/hive-196387/@alfonsoalfonsi/eng-spa-space-system-mission

    Alfonsi, A. (2021b). Unidad II: Restricciones de los Sistemas Empotrados. [Material educativo para la asignatura Proyecto de Digitales Avanzados]. (Disponible: Grupo de Investigación de Arquitecturas de Sistemas de Control, Escuela de Ingeniería y Ciencias Aplicadas, Universidad de Oriente, Barcelona, Venezuela).

    Alfonsi, A., Pérez, J. y Dunia, E. (2013). Arquitectura de Control Multifrecuencia para el Ajuste Dinámico del Consumo de Energía en Tareas de Tiempo Real. Revista Multidisciplinaria del Consejo de Investigación de la Universidad de Oriente SABER, 25(2), 202-209.
    https://www.redalyc.org/articulo.oa?id=427739462010

    Alfonsi, A y Pérez, J. (2009). Sistema de Control en Tiempo Real para una Planta Piloto Compacta usando Software Libre. Revista Universidad Ciencia y Tecnología, 13(52), 189-198.

    Separador 2.jpg

    References / Referencias

    Separador 2.jpg

    Butazzo, G. (2011). Hard Real-Time Computing Systems: Predictable Scheduling Algoritms and Applications (3rd ed.). Springer Science/Business Media.

    Shirvaikar M. y Elbert, T. (2018). Fundamentals of Real Time Systems. Cognella, Inc.

    Stankovic, J. A. (1988). Misconceptions About Real-Time Computing: A Serius Problem for Next-Generations Systems. Computer, 21(10), 10-19. https://doi.org/10.1109/2.7053

    Young, S. (2000). Real Time Languages Desing and Developments. Ellis Horwood. https://dl.acm.org/doi/abs/10.5555/69567

    Separador 2.jpg

    Baner ENG SPN.jpg

    The banner and the photographs on it are my property. Made with Power Point, Paint and the Linerock Investment LTD ToonMe App.

    El banner y las fotografías son de mi propiedad. Realizado con Power Point, Paint y Linerock Investment LTD Aplicación ToonMe.

    The separator used is my own and is made using CANVAS and an image from PxHere

    El separador son de mi propiedad y está realizado usando CANVAS e imagen de PxHere.




    0
    0
    0.000
    18 comments
    avatar

    Hola querido @alfonsoalfonsi, felicitaciones por iniciar un nuevo ciclo para tus post con el tema Tiempo Real.
    Disfrute leerlo, muy bien explicado e ilustrado.
    Gracias por desarrollar estos contenidos y compartirlos.
    Éxitos y bendiciones.

    0
    0
    0.000
    avatar

    Congratulations @alfonsoalfonsi! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

    You got more than 200 replies.
    Your next target is to reach 300 replies.

    You can view your badges on your board and compare yourself to others in the Ranking
    If you no longer want to receive notifications, reply to this comment with the word STOP

    0
    0
    0.000
    avatar

    Has sido votado por

    PROYECTO ENLACE

    'Conectando Ideas y Comunidades'

    PROYECTO ENLACE es un proyecto de curación de habla hispana enfocado en recompensar contenido de calidad y apoyar autores en su proceso de crecimiento en HIVE.

    Creemos y apostamos por el futuro de esta gran plataforma, y estamos muy emocionados de poder hacerla crecer junto a esta comunidad. Así que te invitamos a usar nuestra etiqueta ENLACE y estar atento a todas las actividades que tenemos preparadas y que estaremos publicando en breve.

    ¿QUIERES AUTOMATIZAR TUS GANANCIAS DE CURACIÓN? SE PARTE DEL PROYECTO ENLACE APOYANDO A NUESTRO TRAIL EN HIVE.VOTE INGRESA AQUÍ PARA CONCOCER LOS DETALLES.

    ¿QUIERES INVERTIR ENLACE? DESCUBRE COMO HACERLO Y GENERAR INGRESOS DE FORMA SEMANAL MEDIANTE TU DELEGACIÓN DE HP AQUÍ TE EXPLICAMOS COMO.

    Te invitamos a participar en nuestro servidor de Discord: https://discord.gg/3S9y7BbWfS

    Atentamente

    EQUIPO ENLACE 2021

    0
    0
    0.000
    avatar

    Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

    Please consider supporting our funding proposal, approving our witness (@stem.witness) or delegating to the @stemsocial account (for some ROI).

    Please consider using the STEMsocial app app and including @stemsocial as a beneficiary to get a stronger support. 
     

    0
    0
    0.000