G05B2219/34403

DYNAMIC MEMORY ALLOCATION METHODS AND SYSTEMS
20220137841 · 2022-05-05 ·

In a dynamic memory allocator, a method of allocating memory to a process, the method comprising executing on a processor the steps of: creating one or more arenas within the memory, each arena comprising one or more memory blocks and each arena having an n-byte aligned arena address; upon receiving a memory request from the process, returning a pointer to the process, the pointer having as its value an address of a memory block selected from one of the arenas; upon determining that the memory block is no longer needed by the process, retrieving the address of said memory block from the pointer and releasing the memory block; and, upon a new arena being created, shifting forward the n-byte aligned address of said new arena according to a stored variable such that each memory block of said new arena is also shifted by the stored variable, the stored variable having n bytes and the stored variable having a random value.

Real-time equipment control

In one example, a system for real-time execution in a non-real-time processing system includes a processor and a processor and storage device. The storage device stores instructions that, in response to execution by the processor, cause the processor to identify a processing unit for a single thread real-time execution environment. The instructions also cause the processor to determine that an application is submitted for real-time execution. The instructions additionally cause the processor to assign a shared memory space to the application. Further, the instructions cause the processor to submit real-time instructions received from a real-time control loop of the application to the identified processing unit.

Dynamic memory allocation methods and systems

In a dynamic memory allocator, a method of allocating memory to a process, the method comprising executing on a processor the steps of: creating one or more arenas within the memory, each arena comprising one or more memory blocks and each arena having an n-byte aligned arena address; upon receiving a memory request from the process, returning a pointer to the process, the pointer having as its value an address of a memory block selected from one of the arenas; upon determining that the memory block is no longer needed by the process, retrieving the address of said memory block from the pointer and releasing the memory block; and, upon a new arena being created, shifting forward the n-byte aligned address of said new arena according to a stored variable such that each memory block of said new arena is also shifted by the stored variable, the stored variable having n bytes and the stored variable having a random value.

REAL-TIME EQUIPMENT CONTROL
20180101143 · 2018-04-12 · ·

In one example, a system for real-time execution in a non-real-time processing system includes a processor and a processor and storage device. The storage device stores instructions that, in response to execution by the processor, cause the processor to identify a processing unit for a single thread real-time execution environment. The instructions also cause the processor to determine that an application is submitted for real-time execution. The instructions additionally cause the processor to assign a shared memory space to the application. Further, the instructions cause the processor to submit real-time instructions received from a real-time control loop of the application to the identified processing unit.

Open numeric control system with real time kernel and a real-time control method of a tool path
09709974 · 2017-07-18 ·

The present invention discloses a real-time kernel of open CNC systems and a real-time control method of tool-paths. The real-time kernel translates a real-time control of the tool-paths into sending synchronous pulses into the servo drivers in accordance with the control rhythms t.sub.i (i=1, . . . , n) in the follow-table and achieves the openness of real-time control method and real-time control process. The real-time kernel has the most simple and reliable multi-axis synchronization capability with high-speed and high-precision, and leads to major changes in the field of digital control method. The real-time kernel no need to configure a real-time operating system and a fieldbus, its core function is only to write the control rhythm into the T-division timer, and to send linkage commands into the servo drivers designated by the state-word, therefore its function and architecture are extremely simple and high reliability.