Embedded corrugated board production line billboard real-time display method and system
By using cache differentiation and hardware collaborative processing mechanisms, the problems of resource waste and information delay in embedded Kanban displays are solved, achieving efficient and stable real-time display and alarm response, thus ensuring the timeliness and security of the production process.
Patent Information
- Application Number
- CN202511693524.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-18
- Publication Date
- 2026-02-24
Smart Images

Figure CN121560259A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of real-time display technology, specifically relating to a method and system for real-time display of Kanban boards on an embedded corrugated cardboard production line. Background Technology
[0002] A corrugated cardboard production line is a complex system integrating multiple processes such as paper feeding, preheating, corrugation, gluing, laminating, drying, and cutting. To achieve transparent management and efficient scheduling of the production process, the line is typically equipped with an electronic Kanban system to display key operating parameters in real time, such as production speed, equipment temperature, glue viscosity, order number, cardboard specifications, and completed quantity. In embedded Kanban display solutions, the main control unit (MCU) or embedded processor typically uses software polling to periodically collect all parameters from various sensors or data nodes, uniformly package and format the data, and update the entire display screen through a fixed refresh cycle. While this approach is logically simple and easy to implement, its drawbacks are significant when dealing with complex interfaces containing large amounts of dynamic and static data.
[0003] The aforementioned display methods fail to differentiate between the real-time requirements and frequency of data changes, resulting in low resource utilization efficiency. On one hand, for high-frequency dynamic data such as production speed and critical temperature that require updates at the second or even sub-second level, setting a fixed refresh cycle that is too long will cause severe lag in displayed information, preventing operators from timely obtaining instantaneous changes in the production line status and potentially missing the optimal intervention opportunity. On the other hand, for static data such as order numbers, customer information, and cardboard specifications that remain largely unchanged within the same batch of production, excessively frequent refreshes will waste the computing power of the main control unit, consuming bus bandwidth and processor cycles, and affecting the real-time performance and stability of executing more critical production control tasks. The alarm mechanism also relies on software polling and comparison; there is a significant delay from when data exceeds limits to when it is detected by the software and displayed on the screen, reducing the timeliness and effectiveness of fault warnings. Summary of the Invention
[0004] This invention provides a method and system for real-time display of Kanban boards on an embedded corrugated cardboard production line, in order to solve the technical problems of high processor resource consumption, delayed display of key information, and slow alarm response in existing embedded Kanban display methods.
[0005] In a first aspect, the present invention provides a method for real-time display of Kanban boards on an embedded corrugated cardboard production line, comprising the following steps: S1: Based on the historical update frequency and data bit width of each real-time operating parameter of the production line, calculate the data weight factor. Based on the data weight factor, divide the first-level cache into a high-weight dynamic area for storing high-frequency data and a low-weight static area for storing static data. When an external instruction for switching production line work orders or resetting key parameters is received, determine whether to configure an independent shadow cache area in the dynamic area or the static area based on the data weight factor of the parameter to be updated after parsing the instruction. Asynchronously load the new specification parameters into the shadow cache area and complete the data update by using the area where the shadow cache area is located and a local soft reset. S2, take the maximum value among all data weight factors, calculate the reciprocal of the maximum value, and obtain it as the baseline display refresh cycle; configure a hardware mapping group containing data value registers, display coordinate registers and alarm threshold registers for each display area of the dashboard, and use the DMA controller to update the data in the high-weight dynamic area to the corresponding data value registers in real time; S3 compares the value of the data value register with the range of the alarm threshold register in real time through hardware. When the data value exceeds the limit, a hardware alarm signal is generated. Based on the timing characteristics of the parameter exceeding the limit and the coupling state of the associated parameters, it is determined whether to generate a critical alarm signal. When a critical alarm signal is generated, the DMA controller is triggered to execute a preset event backtracking script, lock the display area of the dashboard except for the alarm information area, and scroll the preset emergency handling process with high contrast. When a frame synchronization signal or a hardware alarm signal with a period of the reference display refresh cycle is received, a display update is triggered. The display coordinates in the hardware mapping group, the real-time data value, and the specification parameters read from the low-weight static area are integrated to generate a display frame and transmit it to the display controller.
[0006] Furthermore, based on the historical update frequency and data bit width of each real-time operating parameter of the production line, a data weighting factor is calculated, including: Historical update frequency of various real-time operating parameters of the production line and data bit width ; Obtain frequency normalized weight coefficients and bit width normalized weighting coefficient ,in and ; The data weight factor for each real-time operating parameter is calculated using the following formula. :
[0007] in This represents the maximum update frequency among all real-time runtime parameters. This is the maximum data bit width among all real-time operating parameters.
[0008] Furthermore, based on data weighting factors, the first-level cache is divided into a high-weight dynamic area storing frequently accessed data and a low-weight static area storing static data, including: Obtain the preset data weight threshold; Real-time running parameters with data weight factors greater than data weight thresholds are classified as high-frequency data, and the high-frequency data storage addresses are mapped to a pre-defined portion of the space in the first-level cache as a high-weight dynamic area. Real-time operating parameters and production specification parameters whose data weight factors are not greater than the data weight threshold are classified as static data, and the static data storage address is mapped to the remaining space of the first-level cache as a low-weight static area.
[0009] Furthermore, a hardware mapping group containing data value registers, display coordinate registers, and alarm threshold registers is configured for each display area of the dashboard, including: For each display area on the Kanban board that requires independent display, a corresponding set of hardware registers is allocated in the hardware logic; A set of hardware registers includes: a data value register for storing real-time data; A display coordinate register used to store the location where data is displayed; And an alarm threshold register used to define the range of values for alarm judgment.
[0010] Furthermore, the DMA controller is used to update the data in the high-weight dynamic region to the corresponding data value register in real time, including: Configure the DMA controller with the source address as the starting address of the high-weight dynamic zone, the destination address as the starting address of the data value register in each hardware mapping group, and the transfer length as the size of the storage space occupied by the high-weight dynamic zone. The DMA controller is set to automatic trigger transfer mode; After the data source in the high-weight dynamic zone completes a data acquisition and update, the DMA controller is started to perform a data transfer, writing the data from the high-weight dynamic zone to the corresponding data value register in batches.
[0011] Furthermore, by comparing the value of the data value register with the range of the alarm threshold register in real time through hardware, a hardware alarm signal is generated when the data value exceeds the limit, including: Configure a dedicated hardware digital comparator for each data value register; In each clock cycle, the hardware digital comparator compares the current value of the data value register with the upper and lower limits obtained from the corresponding alarm threshold register. When the data value is greater than the upper limit or less than the lower limit, the hardware digital comparator outputs a high level for a preset number of clock cycles as a hardware alarm signal.
[0012] Furthermore, the display coordinates, real-time data values, and specification parameters read from the low-weight static area are integrated from the hardware mapping group to generate a display frame and transmit it to the display controller, including: Create a display list containing multiple entries, each entry defining a display item and specifying the data source required for the display item. The data source includes display coordinates and real-time data values in the hardware mapping group, as well as specification parameters in the low-weight static area. The display processor iterates through the display list in sequence, obtains the corresponding data according to the data source specified for each entry, renders the data as graphics or text, and writes the rendered graphics or text into the corresponding position in the display frame buffer according to the display coordinates. After the traversal is complete, the complete frame buffer data is sent to the display controller.
[0013] Furthermore, in S3, when determining the coupling state, the preset association rule base is queried to determine whether there are associated parameters for the parameters that trigger valid alarm events.
[0014] Furthermore, in S3, the specification parameters read from the low-weight static area include the order number and the cardboard specifications.
[0015] Secondly, the present invention provides an embedded corrugated cardboard production line real-time display system, including a memory and a processor. The memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned embedded corrugated cardboard production line real-time display method is implemented.
[0016] The beneficial effects are as follows: This invention solves the problems of high processor resource consumption, delayed display of key information, and slow alarm response in embedded Kanban display methods by partitioning and managing the cache and using a hardware collaborative processing mechanism. By storing cached data separately according to its update frequency and using a DMA controller to process frequently changing data, the computational load and bus occupancy of the main processor are reduced, making the operation more efficient and stable. At the same time, the display refresh cycle is associated with the update requirements of the most critical parameters, ensuring that the core status of the production line can be presented in the most timely manner, reducing the resource waste and information delay caused by indiscriminate refresh. Moreover, this invention uses real-time hardware comparison to realize alarm detection. When data exceeds the limit, it can generate an immediate hardware signal and immediately trigger a display update, reducing the inherent delay of the software polling mechanism and shortening the time from the occurrence of an anomaly to the interface alarm, providing a reliable guarantee for production safety and rapid fault response. Attached Figure Description
[0017] Figure 1 This is a flowchart of a method for real-time display of Kanban boards on an embedded corrugated cardboard production line. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] An embodiment of the embedded corrugated cardboard production line real-time display method provided by this invention: like Figure 1 As shown, the method for real-time display of Kanban on an embedded corrugated cardboard production line includes the following steps: S1 calculates data weighting factors based on the historical update frequency and data bit width of each real-time operating parameter of the production line. Based on the data weighting factors, the first-level cache is divided into a high-weight dynamic area for storing high-frequency data and a low-weight static area for storing static data. When an external instruction for switching production line work orders or resetting key parameters is received, the data weighting factors of the parameters to be updated after parsing the instruction determine whether to configure an independent shadow cache area in the dynamic area or the static area. The new specification parameters are asynchronously loaded into the shadow cache area, and the data update is completed by using the area where the shadow cache area is located and a local soft reset.
[0020] By statistically analyzing historical production line data or based on equipment design specifications, the typical update frequency of each parameter is determined. For example, production speed is updated ten times per second, equipment temperature once per second, while order number is updated only once every few hours. The data bit width for each parameter is also determined, such as production speed as a 16-bit integer and order number as a 256-bit string. The weight factor for each parameter is calculated by multiplying the update frequency by the data bit width. A weight threshold, such as 1.0, is obtained. Parameters with weight factors greater than the threshold, such as production speed and equipment temperature, are classified as high-frequency data and stored in a high-weight dynamic area partitioned by a contiguous memory address space. Parameters with weight factors less than or equal to the threshold, such as order number and customer name, are classified as static data and stored in a separate low-weight static area partitioned by a contiguous memory address space.
[0021] When an externally sent production line work order switching or key parameter reset command is received, the internal processor parses the command and identifies the set of target parameters to be updated and their corresponding data weight factors. Based on a preset partitioning logic, it determines whether these parameters to be updated are high-frequency changing data or relatively unchanging static data. If the data weight factor of the parameter to be updated is high, an independent shadow cache area is allocated in the high-weight dynamic area of the L1 cache in memory; conversely, if the data weight factor is low, it is allocated in the low-weight static area. Data update operations with different change frequencies can be performed in the most efficient memory area, avoiding read / write interference to unrelated data areas.
[0022] New work order specification parameters or key parameter values contained in the instruction are written to the shadow buffer one by one without interrupting the current main display process. Asynchronous loading ensures that the data preparation process and the foreground display task are executed in parallel, avoiding display pauses or screen tearing caused by waiting for data loading. After all new data has been completely written to the shadow buffer, a partial soft reset is performed on the memory area where the shadow buffer is located. This reset operation switches the system's data reading source from the original buffer to the loaded shadow buffer by modifying the memory access pointer or resetting the read / write controller of the relevant data area, thereby completing the data update in an atomic manner and ensuring the timeliness and continuity of the Kanban display content.
[0023] In an optional embodiment, a data weighting factor is calculated based on the historical update frequency and data bit width of each real-time operating parameter of the production line, including: Historical update frequency of various real-time operating parameters of the production line and data bit width ; Obtain frequency normalized weight coefficients and bit width normalized weighting coefficient ,in and ; The data weight factor for each real-time operating parameter is calculated using the following formula. :
[0024] in This represents the maximum update frequency among all real-time runtime parameters. This is the maximum data bit width among all real-time operating parameters.
[0025] The first step is to collect data on three key operating parameters of the production line. For example, parameter A is the motor speed, with an update frequency of 100 Hz and a data width of 16 bits; parameter B is the equipment temperature, with an update frequency of 10 Hz and a data width of 32 bits; and parameter C is the material pressure, with an update frequency of 50 Hz and a data width of 8 bits. Then, it is determined that the maximum update frequency among all parameters is 100 Hz and the maximum data width is 32 bits.
[0026] The second step is to obtain and calculate the weighting coefficients. Assuming that the update frequency is more important than the data bit width, the frequency-normalized weighting coefficient α is 0.7, and the bit width-normalized weighting coefficient β is 0.3. The formula is applied to each parameter to calculate the data weighting factor. The data weighting factor for motor speed is 0.85. The data weighting factor for equipment temperature is 0.37. The data weighting factor for material pressure is 0.425. These data weighting factors are then used for subsequent data classification.
[0027] In an optional embodiment, the first-level cache is divided into a high-weight dynamic area storing high-frequency data and a low-weight static area storing static data based on a data weighting factor, including: Obtain the preset data weight threshold; Real-time running parameters with data weight factors greater than data weight thresholds are classified as high-frequency data, and the high-frequency data storage addresses are mapped to a pre-defined portion of the space in the first-level cache as a high-weight dynamic area. Real-time operating parameters and production specification parameters whose data weight factors are not greater than the data weight threshold are classified as static data, and the static data storage address is mapped to the remaining space of the first-level cache as a low-weight static area.
[0028] A data weighting threshold, for example, 0.5, is used to distinguish between high-frequency and static data. Based on the aforementioned calculations, the data weighting factor for motor speed (0.85) is greater than the weighting threshold and is therefore classified as high-frequency data. The data weighting factors for equipment temperature (0.37) and material pressure (0.425) are both less than 0.5, and they are classified as static data along with production specification parameters such as product model.
[0029] The physical space of the L1 cache is divided according to the data classification results. Assuming a 64-kilobyte L1 cache, the first 16 kilobytes, from address 0x0000 to 0x3FFF, can be allocated as a high-weight dynamic area. The remaining 48 kilobytes, from address 0x4000 to 0xFFFF, are designated as a low-weight static area. The storage address for motor speed is mapped to the high-weight dynamic area, while the storage addresses for static data such as equipment temperature, material pressure, and product model are mapped to the low-weight static area. Frequently updated data is stored centrally for easy access by high-speed hardware.
[0030] S2, take the maximum value among all data weight factors, calculate the reciprocal of the maximum value, and obtain it as the baseline display refresh cycle; configure a hardware mapping group containing data value registers, display coordinate registers and alarm threshold registers for each display area of the dashboard, and use the DMA controller to update the data in the high-weight dynamic area to the corresponding data value registers in real time.
[0031] After calculating the weighting factors for all parameters, iterate through all data weighting factors and find the maximum value. The parameter corresponding to the maximum value is the key parameter with the highest real-time requirements, such as production speed. Extract the update frequency value of the key parameter, for example, 10 Hz, and calculate the reciprocal of the frequency, which is one-tenth of a second. Use 100 milliseconds as the baseline display refresh cycle and configure it in the counter reload value of a hardware timer. The timer operates in periodic mode, generating an interrupt or pulse signal every 100 milliseconds as the base frame synchronization signal.
[0032] During the initialization phase, a fixed structured area is allocated in memory for each data item to be displayed on the screen, such as current speed and A-level temperature. This structured area is the hardware mapping group. The area is divided into three sub-regions: one for storing the numerical value of the data item (data value register); the other for storing the starting pixel coordinates on the screen (display coordinate register); and the third for setting upper and lower limits to determine if an anomaly is detected (alarm threshold register). One or more channels of the DMA controller are configured and started. The source address of each channel is set to the location of a high-frequency data point in the high-weight dynamic region, and the target address is set to the address of the corresponding data value register in the hardware mapping group. The transmission length and triggering method are obtained, so that whenever the source data is updated, the data can be automatically transferred to the target data value register without central processing unit intervention.
[0033] In an optional embodiment, a hardware mapping group comprising a data value register, a display coordinate register, and an alarm threshold register is configured for each display area of the dashboard, including: For each display area on the Kanban board that requires independent display, a corresponding set of hardware registers is allocated in the hardware logic; A set of hardware registers includes: a data value register for storing real-time data; A display coordinate register used to store the location where data is displayed; And an alarm threshold register used to define the range of values for alarm judgment.
[0034] Suppose the electronic dashboard needs to display two independent numerical areas simultaneously: motor speed and equipment temperature. To achieve this, two hardware mapping groups will be created in the hardware logic, such as an FPGA. The first mapping group is dedicated to displaying the motor speed, and the second group is used for displaying the equipment temperature.
[0035] Each hardware mapping group consists of three specific registers. Taking motor speed as an example, the first hardware mapping group includes a data value register to store the current speed value, such as 1500; a display coordinate register to define the display position of the value on the screen, such as X coordinate 100, Y coordinate 50; and an alarm threshold register to obtain the safe speed range, such as a lower limit of 500 and an upper limit of 2000. Similarly, the second hardware mapping group configured for device temperature also includes these three types of registers, internally storing their respective data values, display coordinates, and alarm thresholds. These hardware registers can be accessed by the system in parallel, enabling rapid data updates and processing.
[0036] In an optional embodiment, the DMA controller is used to update the data in the high-weight dynamic region to the corresponding data value register in real time, including: Configure the source address of the direct memory access controller (DMA controller) to be the starting address of the high-weight dynamic zone, the destination address to be the starting address of the data value register in each hardware mapping group, and the transfer length to be the size of the storage space occupied by the high-weight dynamic zone. The DMA controller is set to automatic trigger transfer mode; After the data source in the high-weight dynamic zone completes a data acquisition and update, the DMA controller is started to perform a data transfer, writing the data from the high-weight dynamic zone to the corresponding data value register in batches.
[0037] Configure the DMA controller so that the source address for the DMA transfer is the starting physical address of the high-weight dynamic area in the L1 cache, for example, 0x0000, where the motor speed data is stored. The destination address is the physical address of the data value register in the hardware mapping group corresponding to the motor speed. The transfer length is set to 2 bytes based on the data width of the motor speed.
[0038] The DMA controller's operating mode is determined, and it is configured to hardware-triggered mode, with the trigger signal originating from the data acquisition module. Once the sensor acquires new motor speed data and writes it to the high-weight dynamic region, the data acquisition module immediately generates a completion signal, which directly triggers the DMA controller to begin operation. Once triggered, the DMA controller automatically reads two bytes of the latest speed data (e.g., 1510) from source address 0x0000 without CPU intervention and writes the data directly to the data value register at the target address. This process is completed within a few clock cycles, ensuring extremely low latency for data display and alarm detection.
[0039] S3 compares the value of the data value register with the range of the alarm threshold register in real time through hardware. When the data value exceeds the limit, a hardware alarm signal is generated. Based on the timing characteristics of the parameter exceeding the limit and the coupling state of the associated parameters, it is determined whether to generate a critical alarm signal. When a critical alarm signal is generated, the DMA controller is triggered to execute a preset event backtracking script, lock the display area of the dashboard except for the alarm information area, and scroll the preset emergency handling process with high contrast. When a frame synchronization signal or a hardware alarm signal with a period of the reference display refresh cycle is received, a display update is triggered. The display coordinates in the hardware mapping group, the real-time data value, and the specification parameters read from the low-weight static area are integrated to generate a display frame and transmit it to the display controller.
[0040] The embedded processor utilizes its built-in hardware window comparator peripheral. The input source of the window comparator is configured to monitor the address of a data value register in a specific hardware mapping group. Simultaneously, the upper and lower limits stored in the alarm threshold register of the specific hardware mapping group are loaded into the high and low threshold registers of the window comparator, respectively. After the window comparator is started, it continuously compares real-time data values with the acquired threshold range independently of the central processing unit. Once a data value is detected to be less than the lower limit or greater than the upper limit, the window comparator immediately generates a level transition on a designated output pin or triggers an internal interrupt; this signal is the hardware alarm signal.
[0041] The timing characteristics of parameter exceeding limits are analyzed, such as determining whether the exceedance is a momentary glitch signal, a continuous slow drift, or a drastic step change. The coupling state of other parameters physically or technologically related to the exceedance parameter is comprehensively evaluated. For example, when the cardboard temperature parameter exceeds its limit, the steam pressure and speed parameters of the heating unit are simultaneously checked to see if they also fluctuate abnormally within their normal range. Only when the timing characteristics of the parameter exceeding the limit meet a preset danger mode, such as continuously exceeding a preset duration, and its key associated parameters also exhibit abnormal coupling states, will the hardware alarm signal be used as a critical alarm signal, thereby filtering out false alarms caused by instantaneous sensor interference or isolated operating condition fluctuations. Preferably, when determining the coupling state, a preset association rule base is queried to determine whether there are associated parameters for the parameter triggering the valid alarm event; if so, the current state of its associated parameters is obtained in real time, and based on the logical conditions defined for this group of parameters in the rule base, such as AND, OR, and NOT logical combinations, it is determined whether the current combination state meets the conditions for generating a critical alarm signal. Once the above critical alarm signal is generated, a preset automated emergency response process is executed. Critical alarm signals, as high-priority interrupt events, directly trigger the DMA controller. Based on a pre-set event backtracking script, the DMA controller, without CPU intervention, rapidly transfers all high-frequency operating data recorded in the high-weight dynamic area of the L1 cache within a specific time window (e.g., 5 seconds) before the alarm occurrence, as a data snapshot, asynchronously from the cache to non-volatile memory for fault tracing and process analysis. The display control logic locks all data updates on the dashboard interface except for the dedicated alarm information area, freezing the entire production snapshot at the moment of the fault occurrence and preventing subsequent data changes from interfering with operator judgment. Within the reserved alarm information area, pre-set emergency response standard operating procedures for the specific critical alarm are displayed in a high-contrast, highly visible format (e.g., red background with white text), scrolling or paginated, guiding on-site personnel to perform emergency shutdowns, parameter resets, or material isolation operations.
[0042] If no critical alarm signal is triggered, the periodic frame synchronization signal generated by the hardware timer and the hardware alarm signal generated by the hardware window comparator are connected to the processor's interrupt controller. When either signal is valid, the processor enters a preset display update interrupt service routine. In the display update interrupt service routine, the processor traverses all hardware mapping groups, reading the display coordinates and real-time data values updated by the DMA controller. It accesses the low-weight static area to read static parameters such as order number and cardboard specifications. It calls graphics library functions to draw the complete display image in the frame buffer in memory based on the read coordinates, values, and static text. If the update is triggered by a hardware alarm signal, a highlighted alarm icon or text will be overlaid at the corresponding position during drawing. Another DMA channel or display interface is started to send all pixel data in the frame buffer to the display controller at once, completing the update of one frame of image on the screen.
[0043] In an optional embodiment, the value of the data value register is compared with the range of the alarm threshold register in real time via hardware. When the data value exceeds the limit, a hardware alarm signal is generated, including: Configure a dedicated hardware digital comparator for each data value register; In each clock cycle, the hardware digital comparator compares the current value of the data value register with the upper and lower limits obtained from the corresponding alarm threshold register. When the data value is greater than the upper limit or less than the lower limit, the hardware digital comparator outputs a high level for a preset number of clock cycles as a hardware alarm signal.
[0044] For the motor speed data value register, a dedicated digital comparison circuit is implemented in the hardware logic. The inputs of the digital comparison circuit are connected to the data value register and the upper and lower limits stored in the alarm threshold register, respectively. Based on the previous acquisition method, the current value of the data value register is 1510, the lower limit of the alarm threshold register is 500, and the upper limit is 2000.
[0045] In each clock cycle, the hardware digital comparator automatically performs a comparison operation. It determines whether 1510 is less than 500 or greater than 2000. In either case, neither condition is met, and the output of the hardware digital comparator remains low. If, at some later moment, the motor speed abnormally increases to 2100, the value in the data register is updated to 2100. In the next clock cycle, the hardware digital comparator detects that 2100 is greater than 2000, and the output immediately goes high. This high-level signal persists for a preset time, such as 100 clock cycles, serving as a stable and valid hardware alarm signal, directly driving the alarm light or triggering a system interrupt.
[0046] In an optional embodiment, integrating display coordinates, real-time data values, and specification parameters read from the low-weight static area in the hardware mapping group to generate a display frame and transmit it to the display controller includes: Create a display list containing multiple entries, each entry defining a display item and specifying the data source required for the display item. The data source includes display coordinates and real-time data values in the hardware mapping group, as well as specification parameters in the low-weight static area. The display processor iterates through the display list in sequence, obtains the corresponding data according to the data source specified for each entry, renders the data as graphics or text, and writes the rendered graphics or text into the corresponding position in the display frame buffer according to the display coordinates. After the traversal is complete, the complete frame buffer data is sent to the display controller.
[0047] The first step is to construct a display list to plan all the content displayed on the screen. For example, the first entry in the list is defined as displaying the motor speed, with the data source pointing to the first hardware mapping group; the second entry is defined as displaying the device temperature, with the data source pointing to the second hardware mapping group; the third entry is defined as displaying the product model, with the data source pointing to a specific memory address in the low-weight static area that stores the product model string, and a fixed display coordinate is assigned to the address, such as X = 10, Y = 10.
[0048] The second step is for the display processor to generate display frames based on this list. At the beginning of each screen refresh cycle, the display processor reads the first entry in the list, obtaining the rotation speed value 1510 and coordinates X=100, Y=50 from the first hardware mapping group. It renders the value 1510 as text pixels and writes it to the frame buffer at positions starting from 100, 50. The second entry is processed, reading the temperature data and coordinates and rendering them. The third entry is processed, reading the product model string from the low-weight static area memory and rendering the entry to position 10, 10 in the frame buffer. When all entries in the list have been processed, a complete display image is formed in the frame buffer. The entire frame buffer data is streamed to the display controller, which drives the screen refresh, presenting a real-time dynamic dashboard interface.
[0049] An embodiment of the embedded corrugated cardboard production line Kanban real-time display system provided by the present invention: The embedded corrugated cardboard production line Kanban real-time display system includes a processor and a memory. The memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned embedded corrugated cardboard production line Kanban real-time display method is implemented.
[0050] The embedded corrugated cardboard production line Kanban real-time display system also includes other components well known to those skilled in the art, such as communication interfaces. Their settings and functions are known in the art and will not be described in detail here.
[0051] In this invention, the aforementioned memory can be any tangible medium containing or storing a program that can be used or combined with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc., or any other medium that can be used to store desired information and can be accessed by an application, module, or both. Any such computer storage medium can be part of a device or accessible to or connected to a device. Any application or module described in this invention can be implemented using computer-readable / executable instructions stored or otherwise maintained by such a computer-readable medium.
[0052] The above are all preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Therefore, all equivalent changes made in accordance with the structure, shape and principle of the present invention should be covered within the scope of protection of the present invention.
Claims
1. A method for real-time display of Kanban boards on an embedded corrugated cardboard production line, characterized in that, Includes the following steps: S1. Calculate the data weighting factor based on the historical update frequency and data bit width of each real-time operating parameter of the production line. Based on the data weighting factor, divide the first-level cache into a high-weight dynamic area for storing high-frequency data and a low-weight static area for storing static data. When receiving external instructions to switch production line work orders or reset key parameters, the system determines whether to configure an independent shadow cache in the dynamic or static area based on the data weight factor of the parameters to be updated after parsing the instructions. The new specification parameters are then asynchronously loaded into the shadow cache, and the data update is completed using the area where the shadow cache is located and a local soft reset. S2, take the maximum value among all data weight factors, calculate the reciprocal of the maximum value, and obtain it as the baseline display refresh cycle; configure a hardware mapping group containing data value registers, display coordinate registers and alarm threshold registers for each display area of the dashboard, and use the DMA controller to update the data in the high-weight dynamic area to the corresponding data value registers in real time; S3 compares the value of the data value register with the range of the alarm threshold register in real time through hardware. When the data value exceeds the limit, a hardware alarm signal is generated. Based on the timing characteristics of the parameter exceeding the limit and the coupling state of the associated parameters, it is determined whether to generate a critical alarm signal. When a critical alarm signal is generated, the DMA controller is triggered to execute the preset event backtracking script, lock the display area of the dashboard except for the alarm information area, and scroll the preset emergency response process with high contrast. When a frame synchronization signal or hardware alarm signal with a period equal to the reference display refresh cycle is received, a display update is triggered. The display coordinates, real-time data values and specification parameters read from the low-weight static area in the hardware mapping group are integrated to generate a display frame and transmit it to the display controller.
2. The method for real-time display of corrugated cardboard production line Kanban based on embedded technology according to claim 1, characterized in that, Based on the historical update frequency and data bit width of each real-time operating parameter of the production line, a data weighting factor is calculated, including: Historical update frequency of various real-time operating parameters of the production line and data bit width ; Obtain frequency normalized weight coefficients and bit width normalized weighting coefficient ,in and ; The data weight factor for each real-time operating parameter is calculated using the following formula. : in This represents the maximum update frequency among all real-time runtime parameters. This is the maximum data bit width among all real-time operating parameters.
3. The method for real-time display of corrugated cardboard production line Kanban based on embedded technology according to claim 1, characterized in that, Based on data weighting factors, the first-level cache is divided into a high-weight dynamic area for storing frequently accessed data and a low-weight static area for storing static data, including: Obtain the preset data weight threshold; Real-time running parameters with data weight factors greater than data weight thresholds are classified as high-frequency data, and the high-frequency data storage addresses are mapped to a pre-defined portion of the space in the first-level cache as a high-weight dynamic area. Real-time operating parameters and production specification parameters whose data weight factors are not greater than the data weight threshold are classified as static data, and the static data storage address is mapped to the remaining space of the first-level cache as a low-weight static area.
4. The method for real-time display of corrugated cardboard production line Kanban based on embedded technology according to claim 1, characterized in that, Configure hardware mapping groups for each display area of the dashboard, including data value registers, display coordinate registers, and alarm threshold registers, including: For each display area on the Kanban board that requires independent display, a corresponding set of hardware registers is allocated in the hardware logic; A set of hardware registers includes: a data value register for storing real-time data; A display coordinate register used to store the location where data is displayed; And an alarm threshold register used to define the range of values for alarm judgment.
5. The method for real-time display of corrugated cardboard production line Kanban based on embedded technology according to claim 1, characterized in that, The DMA controller is used to update the data in the high-weight dynamic region to the corresponding data value register in real time, including: Configure the DMA controller with the source address as the starting address of the high-weight dynamic zone, the destination address as the starting address of the data value register in each hardware mapping group, and the transfer length as the size of the storage space occupied by the high-weight dynamic zone. Set the DMA controller to automatic trigger transfer mode; After the data source in the high-weight dynamic zone completes a data acquisition and update, the DMA controller is started to perform a data transfer, writing the data from the high-weight dynamic zone to the corresponding data value register in batches.
6. The method for real-time display of corrugated cardboard production line Kanban based on embedded technology according to claim 1, characterized in that, By comparing the value of the data value register with the range of the alarm threshold register in real time through hardware, a hardware alarm signal is generated when the data value exceeds the limit, including: Configure a dedicated hardware digital comparator for each data value register; In each clock cycle, the hardware digital comparator compares the current value of the data value register with the upper and lower limits obtained from the corresponding alarm threshold register. When the data value is greater than the upper limit or less than the lower limit, the hardware digital comparator outputs a high level for a preset number of clock cycles as a hardware alarm signal.
7. The method for real-time display of Kanban on an embedded corrugated cardboard production line according to claim 1, characterized in that, Integrating display coordinates, real-time data values, and specification parameters read from the low-weight static area in the hardware mapping group, a display frame is generated and transmitted to the display controller, including: Create a display list containing multiple entries, each entry defining a display item and specifying the data source required for the display item. The data source includes display coordinates and real-time data values in the hardware mapping group, as well as specification parameters in the low-weight static area. The display processor iterates through the display list in sequence, obtains the corresponding data according to the data source specified for each entry, renders the data as graphics or text, and writes the rendered graphics or text into the corresponding position in the display frame buffer according to the display coordinates. After the traversal is complete, the complete frame buffer data is sent to the display controller.
8. The method for real-time display of Kanban on an embedded corrugated cardboard production line according to claim 1, characterized in that, In S3, when determining the coupling state, the preset association rule base is queried to determine whether there are associated parameters for the parameters that trigger valid alarm events.
9. The method for real-time display of Kanban on an embedded corrugated cardboard production line according to claim 1, characterized in that, In S3, the specifications read from the low-weight static area include the order number and cardboard specifications.
10. A real-time display system for Kanban boards on an embedded corrugated cardboard production line, characterized in that, The device includes a memory and a processor. The memory stores computer program instructions, which, when executed by the processor, implement the real-time display method for embedded corrugated cardboard production line Kanban as described in any one of claims 1-9.