Real-time processing system synchronization in control systems

By configuring a direct memory access controller in the processor core, interrupts are triggered and synchronization skewed are adjusted, single event disturbance and busy waiting problems during synchronization processing in the control system are solved, and efficient real-time synchronization is achieved.

CN114647601BActive Publication Date: 2024-12-03OTIS ELEVATOR CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110957633.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-12-21
Filing Date
2021-08-19
Publication Date
2024-12-03
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

When existing control systems are synchronously processed, the shared real-time clock is prone to failure, resulting in single event disruption, and another synchronization method is busy waiting.

Method used

Real-time synchronization between processing systems is achieved by configuring a direct memory access controller in the processor core, triggering transmitter and receiver interrupts, and adjusting the synchronization skew of the real-time scheduler based on the time difference of the interrupt.

Benefits of technology

It improves synchronization accuracy and reliability between processing systems, avoids the problems of single event disturbance and busy waiting, and ensures the stability and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647601B_ABST
    Figure CN114647601B_ABST
Patent Text Reader

Abstract

A system includes: a memory system; and a processor of a first processing system, the processor including a processor core, a direct memory access controller, and a communication interface. The processor core is configured to execute a plurality of instructions to: configure the direct memory access controller to trigger a transmitter interrupt when a first synchronization message is transmitted to a second processing system via the communication interface; configure the direct memory access controller to trigger a receiver interrupt when a second synchronization message is received from the second processing system; determine a time difference between the triggering of the transmitter interrupt and the receiver interrupt; and adjust a synchronization skew of a real-time scheduler based on the time difference to regulate real-time synchronization between the first processing system and the second processing system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments relate to the field of control systems, and more particularly to real-time process system synchronization in a control system. Background Art

[0002] The control system can include multiple processing systems that make real-time decisions to control one or more effectors. The processing systems may need to be tightly synchronized to make control decisions and provide redundancy in the event of a system failure. Synchronization can be achieved through various techniques. A shared real-time clock is a synchronization method that can provide tight synchronization, but may require a dedicated signal path and there is a risk of single event upsets to multiple systems if the shared real-time clock fails. Another method for synchronization is the exchange of handshakes and confirmation messages between multiple processing systems. This method can cause busy waiting because the processing system continuously polls the receiver register while waiting for a response. Summary of the invention

[0003] Disclosed is a system, comprising: a memory system; and a processor of a first processing system, the processor comprising a processor core, a direct memory access controller, and a communication interface. The processor core is configured to execute a plurality of instructions so as to: configure the direct memory access controller to trigger a transmitter interrupt when a first synchronization message is transmitted to a second processing system via the communication interface; configure the direct memory access controller to trigger a receiver interrupt when a second synchronization message is received from the second processing system; determine a time difference between the triggering of the transmitter interrupt and the receiver interrupt; and adjust a synchronization skew of a real-time scheduler based on the time difference to tune the real-time synchronization between the first processing system and the second processing system.

[0004] Additionally or alternatively to one or more of the features described herein, further embodiments may include wherein the direct memory access controller is configured to pass the first synchronization message from the transmit buffer of the memory system to the communication interface absent intervention by the processor core.

[0005] In addition or alternatively to one or more of the features described herein, further embodiments may include where the processor core is operable to perform one or more other tasks while the direct memory access controller passes the first synchronization message from the transmit buffer of the memory system to the communication interface.

[0006] Additionally or alternatively to one or more of the features described herein, further embodiments may include where the direct memory access controller is configured to pass the second synchronization message from the communication interface to the receive buffer of the memory system without intervention by the processor core.

[0007] In addition or alternatively to one or more of the features described herein, further embodiments may include where the processor core is operable to perform one or more other tasks while the direct memory access controller passes the second synchronization message from the communication interface to the receive buffer of the memory system.

[0008] Additionally or alternatively to one or more of the features described herein, further embodiments may include where the processor core is configured to shorten the execution frame time based on determining that the time difference exceeds a synchronization threshold and that a transmitter interrupt occurs after a receiver interrupt.

[0009] Additionally or alternatively to one or more of the features described herein, further embodiments may include where the processor core is configured to extend the execution frame time based on determining that the time difference exceeds a synchronization threshold and the receiver interrupt occurs after the transmitter interrupt.

[0010]

[0013] Further embodiments may include, in addition or alternatively to one or more of the features described herein, wherein the communication interface comprises a universal asynchronous receiver / transmitter.

[0011] In addition or alternatively to one or more of the features described herein, further embodiments may include where the first processing system and / or the second processing system is an integral part of a real-time controller of a control system.

[0012] Additionally or alternatively to one or more of the features described herein, further embodiments may include where the control system is a controller for an elevator system.

[0013] Also disclosed is a method including configuring a direct memory access controller to trigger a transmitter interrupt when a first synchronization message is transmitted from a first processing system to a second processing system via a communication interface. The direct memory access controller is configured to trigger a receiver interrupt when a second synchronization message is received at the first processing system from the second processing system. A time difference between the triggering of the transmitter interrupt and the receiver interrupt is determined. A synchronization skew of a real-time scheduler is adjusted based on the time difference to regulate real-time synchronization between the first processing system and the second processing system.

[0014] Additionally or alternatively to one or more of the features described herein, further embodiments may include passing, by a direct memory access controller, the first synchronization message from a transmit buffer of the memory system to the communication interface without intervention by a processor core of the first processing system.

[0015] In addition or alternatively to one or more of the features described herein, further embodiments may include performing one or more other tasks by the processor core while the direct memory access controller passes the first synchronization message from the transmit buffer of the memory system to the communication interface.

[0016] Additionally or alternatively to one or more of the features described herein, further embodiments may include passing, by the direct memory access controller, the second synchronization message from the communication interface to the receive buffer of the memory system without intervention by the processor core.

[0017] In addition or alternatively to one or more of the features described herein, further embodiments may include performing one or more other tasks by the processor core while the direct memory access controller communicates the second synchronization message from the communication interface to the receive buffer of the memory system.

[0018] Additionally or alternatively to one or more of the features described herein, further embodiments may include shortening the execution frame time based on determining that the time difference exceeds a synchronization threshold and that a transmitter interrupt occurs after a receiver interrupt.

[0019] Additionally or alternatively to one or more of the features described herein, further embodiments may include extending the execution frame time based on determining that the time difference exceeds a synchronization threshold and that a receiver interrupt occurs after a transmitter interrupt. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The following description should not be construed as limiting in any way. Referring to the accompanying drawings, similar elements are similarly numbered:

[0021] Figure 1 is a schematic diagram of an elevator system according to an embodiment of the present disclosure;

[0022] Figure 2 Depicting a system having multiple synchronous processing systems according to an embodiment of the present disclosure;

[0023] Figure 3 depicts a memory system configuration for synchronizing multiple processing systems in accordance with an embodiment of the present disclosure;

[0024] Figure 4 depicts a timing diagram for synchronizing multiple control system channels in accordance with an embodiment of the present disclosure; and

[0025] Figure 5 is a flow chart illustrating a process according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] A detailed description of one or more embodiments of the disclosed apparatus and methods is provided herein by way of illustration and not limitation with reference to the accompanying figures.

[0027] Figure 1 1 is a perspective view of an elevator system 101 including an elevator car 103, a counterweight 105, a tension member 107, a guide rail 109, a machine 111, a position reference system 113, and a controller 115. The elevator car 103 and the counterweight 105 are connected to each other by the tension member 107. The tension member 107 may include or be configured as, for example, a rope, a steel cable, and / or a coated steel belt. The counterweight 105 is configured to balance the load of the elevator car 103 and is configured to facilitate movement of the elevator car 103 in the elevator shaft 117 and along the guide rail 109 relative to the counterweight 105 simultaneously and in opposite directions.

[0028] The tension member 107 engages a machine 111, which is part of the overhead structure of the elevator system 101. The machine 111 is configured to control the movement between the elevator car 103 and the counterweight 105. A position reference system 113 may be mounted on a fixed portion at the top of the elevator shaft 117, such as on a support or rail, and the position reference system 113 may be configured to provide a position signal related to the position of the elevator car 103 within the elevator shaft 117. In other embodiments, the position reference system 113 may be mounted directly to the moving components of the machine 111, or may be located in other locations and / or configurations as known in the art. The position reference system 113 may be any device or mechanism for monitoring the position of the elevator car and / or counterweight as known in the art. For example, without limitation, the position reference system 113 may be an encoder, a sensor, or other system and may include speed sensing, absolute position sensing, etc., as will be appreciated by those skilled in the art.

[0029] As shown, the controller 115 is located in a controller room 121 of the elevator shaft 117 and is configured to control the operation of the elevator system 101, and in particular the elevator car 103. For example, the controller 115 can provide drive signals to the machine 111 to control the acceleration, deceleration, leveling, stopping, etc. of the elevator car 103. The controller 115 can also be configured to receive position signals from the position reference system 113 or any other desired position reference device. When moving up or down along the guide rails 109 in the elevator shaft 117, the elevator car 103 can stop at one or more landings 125 as controlled by the controller 115. Although shown in the controller room 121, those skilled in the art will appreciate that the controller 115 can be located and / or configured in other locations or positions within the elevator system 101. In one embodiment, the controller can be remotely located or located in the cloud.

[0030] The machine 111 may include a motor or similar drive mechanism. According to an embodiment of the present disclosure, the machine 111 is configured to include an electrically driven motor. The power source for the motor may be any power source (including the electrical grid), which (in combination with other components) is supplied to the motor. The machine 111 may include a traction sheave that imparts force to the tension member 107 to move the elevator car 103 within the elevator shaft 117.

[0031] Although shown and described using a roping system including tension members 107, elevator systems that use other methods and mechanisms for moving an elevator car within an elevator shaft may employ embodiments of the present disclosure. For example, embodiments may be employed in a ropeless elevator system that uses a linear motor to move the elevator car. Embodiments may also be employed in a ropeless elevator system that uses a hydraulic lift to move the elevator car. Embodiments may also be used in elevator systems that use self-propelled elevator cars (e.g., elevator cars equipped with friction wheels or traction wheels). Other embodiments may include escalators, moving walkways, or other transportation systems. Additional embodiments may include any multi-processing system configured for real-time synchronous operation. Figure 1 These are non-limiting examples presented for illustrative and explanatory purposes only.

[0032] Now watch Figure 2 , shows an exemplary system 200 for synchronized real-time control according to one or more embodiments. The system 200 may include at least two processing systems 202A, 202B. Each of the processing systems 202A, 202B can be a real-time controller (e.g. Figure 1 For example, processing systems 202A, 202B can be redundant control channels of controller 115 to enhance the reliability of controller 115 so that one of processing systems 202A, 202B can take over in the event of a failure in the other processing system. Figure 1Operation of the elevator system 101. Figure 1 1. The system 200 is described with reference to the controller 115 of the embodiment of the present invention, but it will be understood that the system 200 can be implemented in any type of real-time synchronous multi-channel system. As used herein, the term "channel" refers to an independent instance of the processing system 202A or 202B and the associated supporting circuit system. In addition, the synchronization described herein can be extended to larger systems including multiple synchronization components.

[0033] The processing systems 202A, 202B can include processors 204A, 204B, respectively, and memory systems 205A, 205B, which can include external memories 206A, 206B coupled via memory buses 208A, 208B. The processors 204A, 204B can include processor cores 210A, 210B, memory controllers 212A, 212B, direct memory access (DMA) controllers 214A, 214B, interrupt controllers 216A, 216B, internal memories 218A, 218B, clocks 220A, 220B, and communication interfaces 222A, 222B having transmitters 224A, 224B and receivers 226A, 226B, respectively. The memory system 205A, 205B can also include a memory controller 212A, 212B and internal memory 218A, 218B.

[0034] The communication interfaces 222A, 222B can each include a universal asynchronous receiver / transmitter (UART) that is used to manage incremental (e.g., bit-by-bit) transfers of status and data between the processing systems 202A, 202B. The transmitter 224A of the communication interface 222A is configured to communicate with the receiver 226B of the communication interface 222B via a first communication link 228. The transmitter 224B of the communication interface 222B is configured to communicate with the receiver 226A of the communication interface 222A via a second communication link 230. The communication links 228, 230 can be unidirectional or bidirectional communication paths that support cross-channel communication between the processing systems 202A, 202B. The processors 204A, 204B can also each include an input / output (I / O) interface that is configured to communicate with various I / O devices (e.g., processors 204A, 204B) via I / O links 234A, 234B. Figure 1 The machine 111) communicates. Figure 1 Machine 111 is one example, but I / O links 234A, 234B can interface with various types of I / O devices, such as sensors and manipulation devices of real-time control systems.

[0035] The processor core 210A, 210B includes a processing circuit system that can be configured to execute multiple instructions that can be stored in a non-temporary form in the external memory 206A, 206B and / or the internal memory 218A, 218B. The external memory 206A, 206B and / or the internal memory 218A, 218B can include a combination of volatile and non-volatile memory controlled by the memory controller 212A, 212B. The DMA controller 214A, 214B can be configured to manage the movement of data between the communication interface 222A, 222B and the memory system 205A, 205B without the processor core 210A, 210B actively and directly to and from the communication interface 222A, 222B to write and read messages. This frees the processor core 210A, 210B to execute other instructions while the message is loaded by the DMA controller 214A, 214B to the communication interface 222A, 222B for cross-channel transmission. Similarly, when the communication interface 222A, 222B receives a message, the DMA controller 214A, 214B can write the message to the memory system 205A, 205B without active intervention by the processor core 210A, 210B.

[0036] The interrupt controllers 216A, 216B can be configured to trigger an interrupt to the processor cores 210A, 210B, respectively, when a DMA transmit or receive sequence is completed. For example, when the DMA controller 214A completes sending a message of a predetermined size to the communication interface 222A for transmission to the processing system 202B, the processor core 210A can configure the interrupt controller 216A to trigger a DMA transmit interrupt. The processor core 210A can also provide the DMA controller 214A with a transmit buffer location in the external memory 206A or the internal memory 218A so that it can be read for transmission to the communication interface 222A. After the content of the message is loaded into the transmit buffer, the DMA controller 214A can be configured to pass the content to the communication interface 222A, wherein the interrupt controller 216A triggers an interrupt to the processor core 210A when the transmission is completed. Depending on the message size, the throughput of the communication link 228, and other factors, the transmission of the message can take a variable amount of time. The processor core 210A is free to perform one or more other tasks while the message is being transmitted. For example, it is possible to perform application tasks, diagnostic tasks, or other such tasks that do not directly involve the communication interface 222A, while the DMA controller 214A actively transfers data to and from the communication interface 222A. A similar approach can be taken to receive messages on the communication link 230, route the messages to the receiving buffer of the processing system 202A, and trigger an interrupt to the processor core 210A when a predetermined amount of message data is received and transferred by the DMA controller 214A. In addition, a similar process can be followed by the processing system 202B. Although depicted separately, the DMA controller 214A and the interrupt controller 216A can be combined. Similarly, the DMA controller 214B and the interrupt controller 216B can be combined.

[0037] In an embodiment, the clocks 220A, 220B may not operate at exactly the same frequency and may experience drift over a period of time. In order to maintain synchronization between the processing systems 202A, 202B, the processing systems 202A, 202B may periodically exchange synchronization messages to adjust either or both of the clocks 220A, 220B so as to adjust real-time synchronization by extending or reducing the execution time frame of the synchronization cycle. For example, clock drift differences may occur at the nanosecond or microsecond scale, but periodic synchronization adjustments may maintain synchronization at the millisecond scale. Depending on the capabilities and synchronization accuracy requirements, synchronization operations may be performed at predetermined intervals (e.g., every 10 milliseconds, every 100 milliseconds, every 1000 milliseconds, etc.).

[0038] Figure 3 An example of a synchronization system 300 according to an embodiment is depicted. The synchronization system 300 includes Figure 2 The memory system configuration 302A of the processing system 202A and Figure 2The memory system configuration 302B of the processing system 202B. The memory system configuration 302A, 302B indicates Figure 2 Example configuration of portions of the memory system 205A, 205B, for example using Figure 2 The real-time synchronization can be supported by any combination of external memory 206A, 206B and / or internal memory 218A, 218B. The memory system configuration 302A, 302B can include: a real-time scheduler 304A, 304B; an application 306A, 306B; a DMA transmit buffer 308A, 308B; a DMA receive buffer 310A, 310B; and an interrupt timer 312A, 312B. The real-time scheduler 304A, 304B can be configured to schedule task execution of low-level tasks and high-level tasks of the application 306A, 306B. The real-time scheduler 304A, 304B can also establish Figure 2 The applications 306A, 306B can be configured to synchronize the processing systems 202A, 202B based on the real-time synchronization between the processing systems 202A, 202B to periodically adjust the synchronization skew so that synchronization is maintained for longer-term operations. Figure 2 The sensor data of the I / O interface 232A, 232B is processed at the application level, and the sensor data is determined by Figure 2 I / O interfaces 232A, 232B are used to control the operating device (e.g., control Figure 1 One or more commands of machine 111).

[0039] As an example, the real-time scheduler 304A can include Figure 2 The application 306A may load the DMA transmit buffer 308A with the synchronization message AB 314. Figure 2 The application message 316 of the processing system 202B. Figure 2 The DMA controller 214A can be configured to Figure 2 The communication interface 222A transmits the synchronization message AB 314 from the DMA transmit buffer 308A to the DMA receive buffer 310B. When the transmission of the synchronization message AB 314 is completed, the synchronization message AB 314 can be transmitted to the DMA receive buffer 310B. Figure 2 The processor core 210A triggers the transmitter interrupt 318A. After the DMA controller 214B completes the synchronization message AB 314 from Figure 2 When the communication interface 222B is transferred to the DMA receive buffer 310B, it can Figure 2 The processor core 210B triggers the receiver interrupt 320B. The DMA controller 214A can continue to pass the application message 316 to the processor core 210B after the synchronization message AB 314 is passed. Figure 2 Communication interface 222A.

[0040] DMA controller 214B can pass Figure 2 The communication interface 222B transmits the synchronization message BA 315 from the DMA transmit buffer 308B to the DMA receive buffer 310A. When the transmission of the synchronization message BA 315 is completed, it is possible to Figure 2 The processor core 210B triggers the transmitter interrupt 318B. After the DMA controller 214A completes the synchronization message BA 315 from Figure 2 When the communication interface 222A is transferred to the DMA receive buffer 310A, it can Figure 2 The processor core 210A triggers the receiver interrupt 320A. The interrupt timer 312A can be used to track the time difference between the transmitter interrupt 318A and the receiver interrupt 320A. Similarly, the interrupt timer 312B can be used to track the time difference between the transmitter interrupt 318B and the receiver interrupt 320B.

[0041] Figure 4 An example of a timing diagram 400 for synchronizing multiple control system channels is depicted. Channel A timeline 402 indicates Figure 2 The processing system 202A is relative to Figure 2 Example timing of channel B timeline 412 of processing system 202B, for example, as shown in Figure 3 The memory system configuration 302A, 302B is configured. Figure 4 In the example of FIG. 4 , the transmit A DMA start event 404 indicates a relative point in time at which the DMA controller 214A begins passing the synchronization message AB 314 from the DMA transmit buffer 308A to the communication interface 222A for transmission to Figure 2 The transmit A DMA complete event 406 indicates the relative point in time at which the DMA controller 214A completes passing the synchronization message AB 314 from the DMA transmit buffer 308A to the communication interface 222A, thereby generating Figure 3 The transmitter is interrupted 318A.

[0042] The transmit B DMA start event 414 indicates a relative point in time where Figure 2 The DMA controller 214B starts to Figure 3 The synchronization message BA 315 is passed from the DMA transmit buffer 308B to the communication interface 222B for transmission to Figure 2 The transmit B DMA complete event 416 indicates the relative point in time at which the DMA controller 214B completes passing the synchronization message B-A 315 from the DMA transmit buffer 308B to the communication interface 222B, thereby generating Figure 3The transmitter interrupt 318B is received. The receive ADMA completion event 408 indicates that the DMA controller 214A has completed the Figure 3 The DMA receiving buffer 310A receives the synchronization message B-A 315, thereby making Figure 3 The receiver interrupt 320A in Figure 2 Similarly, the receive BDMA completion event 418 indicates that the DMA controller 214B has completed the Figure 3 The DMA receiving buffer 310B receives the synchronization message A-B 314, so that Figure 3 The receiver interrupt 320B is Figure 2 is triggered at the processor core 210B.

[0043] Synchronous timing skew 420 represents the time difference between the occurrence of transmit A DMA start event 404 and transmit B DMA start event 414. When transmit A DMA start event 404 and transmit B DMA start event 414 occur, the value of synchronous timing skew 420 may be unknown. Interrupt timer 312A can be used to determine how much time has passed between transmit A DMA complete event 406 and receive A DMA complete event 408, as characterized by detecting transmitter interrupt 318A and receiver interrupt 320A, which can be done in any order depending on whether transmit A DMA start event 404 leads or lags transmit B DMA start event 414. The relative order of transmitter interrupt 318A and receiver interrupt 320A and time difference 422 can indicate the degree to which processing system 202A is out of sync with respect to processing system 202B. Similarly, the time difference 424 between transmit B DMA complete event 416 and receive B DMA complete event 418 can indicate the degree to which processing system 202B is out of sync with respect to processing system 202A.

[0044] Corrective actions to shorten the execution frame time or lengthen the execution frame time can be performed by either or both of the processing systems 202A, 202B. For example, in a master / slave configuration, a control channel used as a backup control can be adjusted to maintain synchronization with a master control channel. In a master / master configuration, where both processing systems 202A, 202B are actively performing control tasks, the timing adjustments can be divided into making timing adjustments for each control channel such that the net effect is to resynchronize the control channels within the synchronization tolerance.

[0045] Continue to refer to Figure 1-5 Now refer to Figure 5 , Figure 5 A flow chart of a method 500 according to an embodiment of the present disclosure is depicted. The method 500 can be performed, for example, by Figure 2 system execution.

[0046] At block 502, the processor core 210A can configure the DMA controller 214A to trigger a transmitter interrupt 318A when transmitting a first synchronization message (eg, synchronization message AB 314) from the first processing system 202A to the second processing system 202B.

[0047] At block 504, the processor core 210A can configure the DMA controller 214A to trigger a receiver interrupt 320A when a second synchronization message (eg, synchronization message BA 315) is received at the first processing system 202A from the second processing system 202B.

[0048] At block 506, the processor 204A can determine the time difference between the triggering of the transmitter interrupt 318A and the receiver interrupt 320A, for example, using the interrupt timer 312A.

[0049] At block 508, the processor 204A can adjust the synchronization skew of the real-time scheduler 304A based on the time difference to regulate the real-time synchronization between the first processing system 202A and the second processing system 202B. The adjustment can be performed relative to the clock 220A or other parameters of the processing system 202A. The method 500 can also be performed by the processing system 202B or other processing systems that seek to be dynamically resynchronized.

[0050] In some embodiments, the DMA controller 214A can pass the first synchronization message from the transmit buffer (e.g., DMA transmit buffer 308A) of the memory system 205A to the communication interface 222A without intervention by the processor core 210A of the first processing system 202A after the processor core 210A configures and enables the DMA controller 214A. While the DMA controller 214A passes the first synchronization message from the DMA transmit buffer 308A of the memory system 205A to the communication interface 222A, the processor core 210A can perform one or more other tasks. The DMA controller 214A can also be configured to pass the second synchronization message from the communication interface 222A to the receive buffer (e.g., DMA receive buffer 310A) of the memory system 205A without intervention by the processor core 210A after the processor core 210A configures and enables the DMA controller 214A. While the DMA controller 214A passes the second synchronization message from the communication interface 222A to the receive buffer of the memory system 205A, the processor core 210A can be operated to perform one or more other tasks.

[0051] In some embodiments, the processor core 210A can be configured to shorten the execution frame time based on determining that the time difference exceeds the synchronization threshold and the transmitter interrupt 318A occurs after the receiver interrupt 320A. For example, the next 100 millisecond execution frame can be reduced to 99.99 milliseconds to shorten the execution frame by 10 microseconds. The processor core 210A can be configured to extend the execution frame time based on determining that the time difference exceeds the synchronization threshold and the receiver interrupt 320A occurs after the transmitter interrupt 318A. For example, the next 100 millisecond execution frame can be extended to 100.01 milliseconds to extend the execution frame by 10 microseconds. The processor core 210B can be similarly configured with respect to the transmitter interrupt 318B and the receiver interrupt 320B. The examples indicating specific time values ​​are provided for illustrative purposes and are not to be understood as being limited to specific time intervals.

[0052] Although the above description describes the Figure 5 However, it should be appreciated that the order of the steps may be changed unless otherwise specifically required in the appended claims.

[0053] As described above, embodiments may take the form of processor-implemented processes and devices (such as processors) for practicing those processes. Embodiments may also take the form of computer program code containing instructions embodied in tangible media (such as network cloud storage, SD card, flash drive, floppy disk, CD ROM, hard drive or any other computer-readable storage medium), wherein when the computer program code is loaded into a computer and run by the computer, the computer becomes a device for practicing the embodiments. Embodiments may also take the form of, for example, the following: whether computer program code stored in a storage medium, loaded into a computer and / or run by a computer, or computer program code transmitted through some transmission medium (such as through wires or cables, through fiber optics, or via electromagnetic radiation), wherein when the computer program code is loaded into a computer and executed by the computer, the computer becomes a device for practicing the embodiments. When implemented on a general-purpose microprocessor, the computer program code segments configure the microprocessor to create specific logic circuits.

[0054] The term "about" is intended to include the degree of error associated with the measurement of the particular quantity based on the equipment available at the time the application was filed.

[0055] The terms used herein are used only for the purpose of describing specific embodiments and are not intended to be limitations of the present disclosure. As used herein, the singular forms "a / an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises and / or comprising" when used in this specification specify the presence of stated features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, element components and / or groups thereof.

[0056] Although the present disclosure has been described with reference to one or more exemplary embodiments, it will be appreciated by those skilled in the art that various changes may be made and equivalents may be substituted for its elements without departing from the scope of the present disclosure. In addition, various modifications may be made to adapt a particular condition or material to the teachings of the present disclosure without departing from its substantial scope. Therefore, it is contemplated that the present disclosure is not limited to the specific embodiments disclosed as the best mode contemplated for carrying out the present disclosure, but rather the present disclosure will include all embodiments falling within the scope of the claims.

Claims

1. A system for controlling, comprising: Memory system; as well as A processor of a first processing system, the processor comprising a processor core, a direct memory access controller, and a communication interface, the processor core being configured to execute a plurality of instructions to: configuring the direct memory access controller to trigger a transmitter interrupt when transmitting a first synchronization message to a second processing system via the communication interface; configuring the direct memory access controller to trigger a receiver interrupt upon receiving a second synchronization message from the second processing system; determining a time difference between triggering of the transmitter interrupt and the receiver interrupt; adjusting a synchronization skew of a real-time scheduler based on the time difference to regulate real-time synchronization between the first processing system and the second processing system; as well as shortening an execution frame time based on determining that the time difference exceeds a synchronization threshold and the transmitter interrupt occurs after the receiver interrupt, or lengthening an execution frame time based on determining that the time difference exceeds a synchronization threshold and the receiver interrupt occurs after the transmitter interrupt, The time interval between transmitting the first synchronization message and transmitting the second synchronization message is the synchronization skew.

2. The system for controlling according to claim 1, wherein: The direct memory access controller is configured to pass the first synchronization message from a transmit buffer of the memory system to the communication interface without intervention by the processor core.

3. The system for controlling according to claim 2, wherein: The processor core is operable to perform one or more other tasks while the direct memory access controller communicates the first synchronization message from the transmit buffer of the memory system to the communication interface.

4. The system for controlling according to claim 1, wherein: The direct memory access controller is configured to pass the second synchronization message from the communication interface to a receive buffer of the memory system without intervention by the processor core.

5. The system for controlling according to claim 4, wherein: The processor core is operable to perform one or more other tasks while the direct memory access controller communicates the second synchronization message from the communication interface to the receive buffer of the memory system.

6. The system for controlling according to claim 1, wherein: The communication interface includes a universal asynchronous receiver / transmitter.

7. The system for controlling according to claim 1, wherein: The first processing system and the second processing system include a real-time controller that controls the system.

8. The system for controlling according to claim 7, wherein: The control system is a controller of the elevator system.

9. A control method, comprising: configuring the direct memory access controller to trigger a transmitter interrupt when transmitting a first synchronization message from the first processing system to the second processing system via the communication interface; configuring the direct memory access controller to trigger a receiver interrupt when a second synchronization message is received at the first processing system from the second processing system; determining a time difference between triggering of the transmitter interrupt and the receiver interrupt; adjusting a synchronization skew of a real-time scheduler based on the time difference to regulate real-time synchronization between the first processing system and the second processing system; as well as shortening an execution frame time based on determining that the time difference exceeds a synchronization threshold and the transmitter interrupt occurs after the receiver interrupt, or lengthening an execution frame time based on determining that the time difference exceeds a synchronization threshold and the receiver interrupt occurs after the transmitter interrupt, The time interval between transmitting the first synchronization message and transmitting the second synchronization message is the synchronization skew.

10. The control method according to claim 9, further comprising: The first synchronization message is passed by the direct memory access controller from a transmit buffer of a memory system to the communication interface without intervention by a processor core of the first processing system.

11. The control method according to claim 10, further comprising: One or more other tasks are performed by the processor core while the direct memory access controller passes the first synchronization message from the transmit buffer of the memory system to the communication interface.

12. The control method according to claim 9, further comprising: The second synchronization message is communicated from the communication interface to a receive buffer of a memory system by the direct memory access controller without intervention by a processor core of the first processing system.

13. The control method according to claim 12, further comprising: One or more other tasks are performed by the processor core while the direct memory access controller communicates the second synchronization message from the communication interface to the receive buffer of the memory system.

14. The control method according to claim 9, wherein: The communication interface includes a universal asynchronous receiver / transmitter.

15. The control method according to claim 9, wherein: The first processing system and the second processing system include a real-time controller that controls the system.

16. The control method according to claim 15, wherein: The control system is a controller of the elevator system.