Distributed accelerated computing system and method based on areal confocal surface topography reconstruction

A distributed accelerated computing system for surface confocal topography recovery utilizes multi-computing engines with row-based regional division of labor and DDR memory storage to achieve sliced ​​processing and parallel computing. This solves the problem of limited scalability in existing computing systems and improves computing throughput and system resilience.

WO2026242865A1PCT designated stage Publication Date: 2026-11-26HUBEI TRUELIGHT 3D SENSING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/096337
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-23
Filing Date
2026-05-12
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

In existing technologies, the size of network interface card arrays and system storage cannot be optimized independently, and it is difficult to scale linearly at high resolutions or deeper layers, which limits the data processing capabilities of computing systems.

Method used

A distributed accelerated computing system based on surface confocal topography restoration is adopted. Multiple computing engines are used to divide the work by row region to achieve slice processing and parallel computing. DDR memory is used to store image data and intermediate results, and data is transmitted through GTX and fiber optic interfaces. An improved centroid fitting function is used for centroid extraction.

Benefits of technology

It significantly reduces the overall reconstruction time, increases computational throughput, supports high frame rate and high resolution image sequence processing, enhances system resilience, limits the impact of faults to the row region, and increases overall throughput linearly with the number of engines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026096337_26112026_PF_FP_ABST
    Figure CN2026096337_26112026_PF_FP_ABST
Patent Text Reader

Abstract

A distributed accelerated computing system based on areal confocal surface topography reconstruction. The system comprises a plurality of computing engines connected in series, wherein a first computing engine among the computing engines receives image sequence data by means of a CXP interface and forwards the image sequence data to the remaining computing engines by means of a GTX high-speed interface, and each computing engine is configured with a DDR memory; each computing engine performs row-region segmentation processing on the image sequence data in a preset division-of-labor manner, and each computing engine is responsible for processing a specific row region of an image; and after the first computing engine completes optical sectioning demodulation computation and peak localization computation required for areal confocal surface topography reconstruction, computation results of the remaining computing engines among the computing engines are forwarded to the first computing engine by means of the GTX interface, and the first computing engine transmits an aggregated result to a host computer by means of an optical fiber interface.
Need to check novelty before this filing date? Find Prior Art

Description

Distributed Accelerated Computing System and Method for Confocal Surface Topography Recovery

[0001] This application claims priority to Chinese Patent Application No. CN202510671534.5, filed on May 23, 2025, entitled “Distributed Accelerated Computing Architecture and Method Based on Surface Confocal Topography Recovery”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of hardware design technology for confocal surfaces, and in particular to a distributed accelerated computing system and method based on the topography recovery of confocal surfaces. Background Technology

[0003] With the profound development of science and technology, various industries have achieved unprecedented progress, and advancements in data processing technology have been a significant contributor to this development. Fields such as geology, atmospheric science, medical imaging, and virtual reality each have their own characteristics, and their data can be two-dimensional, three-dimensional, scalar, or vector-based. What they have in common is the sheer volume of data, not only in the large number of data nodes but also in the wide range of dimensions and complexities presented. Extracting key data from this massive dataset and presenting it clearly graphically places high demands on visualization technology.

[0004] For example, Chinese patent document CN110765064B discloses an edge image processing system and method with a heterogeneous computing architecture. This system includes an FPGA-implemented network interface card (NIC), an FPGA-implemented system control unit, a GPU, a PCIe switch, and system storage. The NIC, system control unit, and GPU are interconnected via the PCIe switch. A NIC array is configured, and the number of NICs in the array depends on the network packet processing capability and the GPU's computing power. The system storage is used to store information within the system. However, the size of the NIC array in this solution is solely determined by the network packet processing capability and the GPU's computing power. The system storage only serves as an information cache and cannot perform independent optimization partitioning for different processing stages, making linear scaling difficult at higher resolutions or deeper layers. Summary of the Invention

[0005] In view of this, this application proposes a distributed accelerated computing system and method based on surface confocal topography restoration. By dividing the work among multiple computing engines by row region, piecewise processing and parallel computing are achieved, significantly reducing the overall reconstruction time. Each engine runs optical tomography demodulation and peak localization simultaneously, and the overall throughput increases almost linearly with the number of engines, thereby improving the computational throughput of the accelerated computing system.

[0006] Some embodiments of this application provide a distributed accelerated computing system based on surface confocal topography recovery, comprising multiple serially connected computing engines, wherein...

[0007] The first computing engine in the computing engine receives image sequence data through the CXP interface and forwards the image sequence data to the remaining computing engines through the GTX high-speed interface. Each computing engine is equipped with DDR memory to store the image data, maximum value map and intermediate results allocated to the corresponding computing engine. Each computing engine performs row region segmentation processing on the image sequence data according to a preset division of labor. Each computing engine is responsible for processing a specific row region of the image.

[0008] After the first computing engine completes the optical tomography demodulation calculation and peak positioning calculation required for surface confocal topography restoration, the calculation results of the remaining computing engines in the computing engine are forwarded to the first computing engine through the GTX interface, and the first computing engine transmits the summarized results to the host computer through the optical fiber interface.

[0009] In some embodiments, the plurality of computing engines includes a first computing engine, a second computing engine, a third computing engine, and a fourth computing engine connected in series, and the first computing engine, the second computing engine, the third computing engine, and the fourth computing engine have the same chip and memory parameters.

[0010] In some embodiments, when the first computing engine receives image sequence data, it saves the initial row to the first preset row of each frame of the image sequence data to the DDR memory corresponding to the first computing engine, and calculates the first maximum value map corresponding to the initial row to the first preset row of the current image, and saves the first maximum value map to the DDR memory corresponding to the first computing engine.

[0011] When receiving image sequence data, the second computing engine saves the first preset row to the second preset row of each frame of the image sequence data into the DDR memory corresponding to the second computing engine, and calculates the second maximum value map corresponding to the first preset row to the second preset row of the current image, and saves the second maximum value map into the DDR memory corresponding to the second computing engine.

[0012] When receiving image sequence data, the third computing engine saves the second preset row to the third preset row of each frame of the image sequence data into the DDR memory corresponding to the third computing engine, and calculates the third maximum value map corresponding to the second preset row to the third preset row of the current image, and saves the third maximum value map into the DDR memory corresponding to the third computing engine.

[0013] When receiving image sequence data, the fourth computing engine saves the third preset row to the fourth preset row of each frame of the image sequence data into the DDR memory corresponding to the fourth computing engine, calculates the fourth maximum value map corresponding to the third preset row to the fourth preset row of the current image, and saves the fourth maximum value map into the DDR memory corresponding to the fourth computing engine.

[0014] In some embodiments, the DDR memory of each computing engine is divided into a first region, a second region, and a third region. The first region is used to store the original image segments, the second region is used to store the corresponding maximum value image, and the third region is used to store intermediate results.

[0015] In some embodiments, the GTX interface between the computing engines includes a pair of transceivers for forwarding image sequence data and reverse transmission of centroid results.

[0016] In some embodiments, each computing engine is responsible for processing a specific row region of the image, specifically including:

[0017] An optical tomography demodulation algorithm is performed on the image sequence data to obtain an optical tomographic image stack for each axial plane.

[0018] Based on the tomographic image stack, an axial response curve is generated for each pixel along the optical axis. A peak localization algorithm is applied to the response curve to determine the optimal depth-of-focus peak position for each pixel, so as to output a maximum value map.

[0019] In some embodiments, the first computing engine, the second computing engine, the third computing engine, and the fourth computing engine are all FPGA chips, and the latency of the first computing engine, the second computing engine, the third computing engine, and the fourth computing engine in receiving the image sequence data is less than 1ms.

[0020] In some embodiments, the processing flow of each computing engine includes:

[0021] Calculate and store the maximum value map of the corresponding allocation region based on the original image of the engine storage allocation region;

[0022] The centroids of the original image and the maximum value image stored in the allocated region are extracted using an improved centroid fitting function, and the centroid extraction results are forwarded to the first calculation engine.

[0023] In some embodiments, the expression for the improved centroid fitting function is:

[0024]

[0025] in, This indicates the peak position obtained from the fitting. This represents an optimization operator used to return the independent variable that minimizes the objective function, where a represents the amplitude of the Gaussian function, e represents the natural constant, and z... i δ represents the coordinate of the i-th axial position. r Let b represent the standard deviation of the Gaussian function, and let b represent the center position of the Gaussian function. This represents the intensity value measured at the coordinates of the i-th axial position on the axial response curve. This means selecting data points with a peak intensity greater than half that of the axial response curve as valid data points for fitting.

[0026] Some embodiments of this application provide a distributed accelerated computing method based on surface confocal topography restoration, applied to the above-mentioned system, including the following steps:

[0027] Image sequence data is transmitted from the area confocal sensor to the first computing engine via the CXP interface;

[0028] The first computing engine stores the preset rows of each frame of the image sequence data into the DDR memory corresponding to the first computing engine, calculates the maximum pixel value corresponding to the preset row, and forwards the remaining rows of each frame of the image to the remaining computing engine via the GTX interface, so that the remaining computing engine stores the corresponding row segments and the maximum value image respectively.

[0029] After all computing engines generate the corresponding maximum value map, each computing engine reads the original image and the corresponding maximum value map from the corresponding DDR memory and intermediate cache, and uses the improved centroid fitting function to extract the centroid.

[0030] The centroid extraction results are back-aggregated to the first computing engine via the GTX interface through each computing engine, and then the first computing engine sends the centroid extraction results to the host computer via the fiber optic interface. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 is a schematic diagram of the structure of a distributed accelerated computing system based on surface confocal topography recovery provided in some embodiments of this application;

[0033] Figure 2 is a schematic diagram of the surface morphology restoration process provided in some embodiments of this application;

[0034] Figure 3 is a schematic diagram of the storage process of DDR memory provided in some embodiments of this application. Detailed Implementation

[0035] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0036] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms "a" or "one," and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms "connected" or "linked," and similar terms, are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right," etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship also changes accordingly.

[0037] Referring to Figure 1, some embodiments of this application provide a distributed accelerated computing system based on surface confocal topography recovery, comprising multiple serially connected computing engines, wherein...

[0038] The first computing engine in the computing engine receives image sequence data through the CXP interface and forwards the image sequence data to the remaining computing engines through the GTX high-speed interface. Each computing engine is equipped with DDR memory to store the image data, maximum value map and intermediate results allocated to the corresponding computing engine. Each computing engine performs row region segmentation processing on the image sequence data according to a preset division of labor. Each computing engine is responsible for processing a specific row region of the image.

[0039] After the first computing engine completes the optical tomography demodulation calculation and peak positioning calculation required for surface confocal topography restoration, the calculation results of the remaining computing engines in the computing engine are forwarded to the first computing engine through the GTX interface, and the first computing engine transmits the summarized results to the host computer through the fiber optic interface.

[0040] Optionally, the DDR memory of each computing engine is divided into a first region, a second region, and a third region. The first region is used to store the original image segments, the second region is used to store the corresponding maximum value image, and the third region is used to store intermediate results. The GTX interface between the computing engines includes a pair of transceivers, which are used for forward forwarding of image sequence data and reverse transmission of centroid results.

[0041] The processing flow of each computing engine includes: calculating and storing the maximum value map of the corresponding allocation region based on the original image of the allocation region stored in the engine; performing centroid extraction calculation on the original image and maximum value map of the allocation region stored based on the improved centroid fitting function, and forwarding the centroid extraction result to the first computing engine.

[0042] In one example, the first computing engine receives the entire frame image sequence through the CXP interface or the upper-level network, while the other computing engines receive the row segment pixel data forwarded by the previous engine through the GTX interface. Each engine writes the pixels into its own DDR4 raw image area according to the preset row segment index.

[0043] While writing the original image, the FPGA's internal hardware logic / pipeline unit performs a "maximum value" operation on each scan line (or each pixel along the time sequence). The calculated maximum intensity value is written to the maximum value map area in DDR4, with each pixel occupying a corresponding 29 bits or a predetermined width. After storage, the original image area and the maximum value map area are prepared for the next stage of reading via the DMA controller (FDMA 256-bit). The controller reads the original image segment (I(x,y)) and the corresponding pixel's maximum value map M(x,y) from DDR4, and both are entered into the centroid calculation unit through a dedicated intermediate buffer (A2 area). The calculation process is completed entirely in parallel within the FPGA's DSP unit and LUT, and the result is the centroid coordinates (x,y on a two-dimensional plane or z value in three dimensions) for each assigned pixel. The centroid position of each pixel is packaged into a small data frame and stored in the centroid result buffer. The FPGA controller sends all the calculated centroid results of its engine to the first computing engine through the GTX interface (reverse channel). After receiving the segmented results from the other computing engines, the first computing engine merges them with its own results and sends them to the host computer or control host through the fiber optic interface. The DDR4 storage area is pre-divided into three parts: the original image area, the maximum value area, and the centroid result buffer, and read and write operations do not conflict with each other. The FDMA / GTX high-bandwidth channel ensures that data transmission and pipeline calculations at each stage are parallel and overlapping. After multiple engines are connected in series, horizontal segmentation and parallelism at the row level are achieved, which greatly improves the overall frame rate and real-time performance.

[0044] In some embodiments, the expression for the improved centroid fitting function is:

[0045]

[0046] in, This indicates the peak position obtained from the fitting. This represents the optimization operator, which returns the independent variable that minimizes the objective function. 'a' represents the Gaussian function amplitude, 'e' represents the natural constant, and 'z' represents the variable that minimizes the objective function. i δ represents the coordinate of the i-th axial position. r Let b represent the standard deviation of the Gaussian function, and let b represent the center position of the Gaussian function. This represents the intensity value measured at the coordinates of the i-th axial position on the axial response curve. This means selecting data points with a peak intensity greater than half that of the axial response curve as valid data points for fitting.

[0047] In one example, the process of generating image sequence data includes: performing an optical tomography demodulation algorithm on the image sequence data to obtain an optical tomographic image stack for each axial plane; generating an axial response curve for each pixel along the optical axis based on the tomographic image stack; applying a peak localization algorithm to the response curve to determine the optimal depth-of-focus peak position for each pixel, so as to output a maximum value map.

[0048] In this embodiment, structured illumination significantly suppresses scattering and background, enhancing the optical cross-sectional contrast brought about by the modulation frequency. Fine-grained Δz-stepping along the optical axis ensures sampling density, resulting in high-quality image sequence data. Optical tomography demodulation of the image sequence data effectively removes defocus signals and restores the true optical tomographic maps of each axial plane. Slicing the continuous z-layer image sequence data makes the resolution of each depth layer approach the system's point spread function limit. Based on the response curve of each pixel along the z-direction, a high-precision peak interpolation / fitting algorithm is used to determine the depth-of-focus peak position. Simultaneously, the end-to-end process from image sequence data → tomographic map → depth-of-focus map directly generates a 3D surface height map for each frame, obtaining high signal-to-noise ratio and high depth-resolution surface morphology data without additional deconvolution or global optimization. Incoherent light sources reduce the risk of phototoxicity / photobleaching, making them suitable for living or sensitive samples. The pipelined processing of structured illumination, tomography, and peak localization can be efficiently implemented on FPGA / ASIC, meeting the requirements of high frame rate online detection.

[0049] Furthermore, as shown in Figure 2, an incoherent structured illumination source (e.g., a projection grating or digital micromirror array) generates a fringe / lattice light field with known spatial frequencies and phases. The beam is incident on the microscope objective via a beam splitter, forming a high-contrast structured illumination pattern on the sample surface. The driving objective or sample stage is moved sequentially along the optical axis to a series of discrete positions z1, z2, ..., z along a predetermined step size Δz (typically 0.1–1 μm). nAfter stabilizing the structured illumination at each z-point, a detector (area confocal camera or high-speed CMOS sensor) is triggered to acquire a frame of the original structured image I. i (x, y) represents the image sequence data. Optionally, each frame of the original structured image can be accumulated or averaged k times to improve the signal-to-noise ratio. Repeat the above steps until the sequence from z1 to z is complete. n Full depth-of-focus scanning yields a structured image stack {I1(x,y),I2(x,y),…,I...} n (x,y)}.

[0050] The structured image stack is input into the optical tomography demodulation module. Common methods include phase retrieval algorithms, Fourier reconstruction, or lock-in amplification techniques. Each layer I... i In (x,y), the intensity is separated and filtered using a known modulation frequency f0 to extract the optical tomographic information O of the focal depth plane. i (x,y). The resulting tomographic image stack {O1,O2,…,O n This accurately reflects the scattering / emission intensity distribution on each depth-of-focus plane. For each pixel (x, y) in the stack, its position in O1…O is extracted in depth-of-focus order. n The intensity values ​​at each point form a discrete axial response curve R_{x,y}(z) = [O1(x,y),O2(x,y),…,O n (x,y)]. To eliminate exposure differences between different levels, each curve can be normalized: I_norm(z) i )=O i (x,y) / max k {O k (x,y)}.

[0051] For each normalized response curve R_{x,y}(z), a peak localization algorithm, such as an improved centroid fitting function, is applied to obtain μ(x,y), which is the optimal depth-of-focus position of pixel (x,y) in the axial direction. The set of μ(x,y) across the entire field is then used to construct a depth map, which is the final sample surface topography map. Simultaneously, the O values ​​of each layer are preserved. i (x,y) or the response curve R_{x,y}(z) can be used as additional sequence data to meet the needs of 3D reconstruction, post-processing or quality assessment.

[0052] The generated raw image stack, tomographic image stack, and depth map can be sent at high speed to the FPGA computing engine or host computer via CXP / fiber optic link for further analysis and visualization. On the FPGA, the above steps can be processed in real time with the help of parallel pipelines and DDR cache partitions, ensuring continuous data output at high frame rates.

[0053] In some embodiments, the plurality of computing engines includes a first computing engine, a second computing engine, a third computing engine, and a fourth computing engine connected in series, and the first computing engine, the second computing engine, the third computing engine, and the fourth computing engine have the same chip and memory parameters. The first computing engine, the second computing engine, the third computing engine, and the fourth computing engine are all FPGA chips, and the latency of the first computing engine, the second computing engine, the third computing engine, and the fourth computing engine in receiving image sequence data is less than 1ms.

[0054] In some embodiments, when receiving image sequence data, the first computing engine saves the initial row to the first preset row of each frame of the image sequence data to the DDR memory corresponding to the first computing engine, and calculates the first maximum value map corresponding to the initial row to the first preset row of the current image, and saves the first maximum value map to the DDR memory corresponding to the first computing engine.

[0055] When receiving image sequence data, the second computing engine saves the first preset row to the second preset row of each frame of the image sequence data into the DDR memory corresponding to the second computing engine, and calculates the second maximum value map corresponding to the first preset row to the second preset row of the current image, and saves the second maximum value map into the DDR memory corresponding to the second computing engine.

[0056] When receiving image sequence data, the third computing engine saves the second preset row to the third preset row of each frame of the image sequence data into the DDR memory corresponding to the third computing engine, and calculates the third maximum value map corresponding to the second preset row to the third preset row of the current image, and saves the third maximum value map into the DDR memory corresponding to the third computing engine.

[0057] When receiving image sequence data, the fourth computing engine saves the third to fourth preset rows of each frame of the image sequence data into the DDR memory corresponding to the fourth computing engine, and calculates the fourth maximum value map corresponding to the third to fourth preset rows of the current image, and saves the fourth maximum value map into the DDR memory corresponding to the fourth computing engine.

[0058] In this embodiment, each engine only stores the line segment and corresponding frame data it is responsible for, resulting in smaller and more predictable DDR space usage. This eliminates redundant storage of the entire frame image by each engine, reducing memory requirements and power consumption. During frame stream access, each engine can calculate the maximum value map of its segment in parallel with data reception, achieving overlap between reception and preprocessing, reducing overall pipeline latency. Furthermore, each locally generated maximum value map only needs to retain key grayscale peaks, eliminating the need for full frame backhaul, significantly reducing link transmission volume. Only in the later stages is the maximum value map of each segment (size ≈ 5-10% of the original image) summarized, rather than the entire frame. This causes a sharp drop in GTX / fiber link load, ensuring sufficient margin for peak positioning, fiber output, and other critical data. The released bandwidth can then be used to support higher frame rates or larger resolution inputs, improving overall system resilience. The first engine promptly intercepts the frame header and processes the first segment, while the last segment is forwarded sequentially. Each engine forms a three-stage pipeline of "reception → local calculation → forwarding," with single-frame end-to-end latency controllable within milliseconds, effectively smoothing data jitter and sudden loads, and ensuring stable output. When adding the N+1th segment, it is only necessary to insert the corresponding engine at the end of the link and adjust the preset line number, without reconstructing the original storage or calculation logic; if a segment engine fails, it only affects the generation of the maximum value graph of its segment, which can be supplemented or downgraded by adjacent engines in real time, and the system as a whole remains online.

[0059] In one example, when the first computing engine receives the image sequence, it saves rows 0 to 1 / 4 of each image to its DDR memory and calculates its maximum value, saving the corresponding maximum value image to DDR memory. The second computing engine performs the operations for rows 1 / 4 to 1 / 2; the third computing engine performs the operations for rows 1 / 2 to 3 / 4; and the fourth computing engine performs the operations for rows 3 / 4 to the last. If performance requirements increase later, the number of computing engines and operations can be increased using this method.

[0060] In this embodiment, multiple computing engines are used to perform tasks according to row regions, achieving fragmented processing and parallel computing, which significantly shortens the overall reconstruction time. Each engine runs optical tomography demodulation and peak positioning simultaneously, and the overall throughput increases almost linearly with the number of engines. Each engine is equipped with independent DDR memory to store image segments, maximum value maps, and intermediate results locally, reducing data transfer overhead across modules. Furthermore, intermediate results are only aggregated through the GTX interface when necessary, significantly reducing bus pressure. The first engine uses CXP to receive high-speed camera data, uses GTX for low-latency forwarding within the link, and uses the fiber optic interface to aggregate data to the host computer in real time, ensuring high bandwidth and low latency end-to-end. This supports continuous online processing of high frame rate and high resolution image sequences. At the same time, local failures of each engine will not cause the entire link to collapse, but only affect the corresponding row region. It can be quickly recovered through hot standby or fault switching, enabling more refined load balancing and utilization of resources, and improving the computing throughput of the accelerated computing system.

[0061] Please refer to Figure 3, which is a schematic diagram of the DDR memory storage process. The area confocal camera or high-speed CMOS is accessed via CXP / fiber, supporting continuous transmission of ≥10Gbps. The receiving logic writes the line-by-line (or pixel-by-pixel) streaming data to the FPGA's line buffer and packages it into DDR-A through the AXI-4FDMA controller.

[0062] The frame synchronization signal (Start-of-Frame / End-of-Frame) drives the read and write timing of subsequent stages.

[0063] In Figure 3, the channel width per pixel of DDR-A is 256 bits, the original image area is 8 bits × number of pixels, the ΣA2 middle area is 50–68 bits, and the bit width required to accumulate the square intensity of each depth of focus is 512 bits. The channel width per pixel of DDR-B is 512 bits, the maximum value image area is 29 bits, and the ΣA2i middle area is stored in two segments. Partial results are 0–49 bits (accumulated in online streaming), and complete results are 0–77 bits (finally accumulated after combining with the maximum value image).

[0064] Stage 1 Image Preprocessing (i.e., ΣA2 Calculation): Data flow is from DDR-A original image area → A2 calculation pipeline → DDR-A ΣA2 area, with each pixel I(x,y,z) arriving... i (8 bits) are fed into the multiplier in parallel to calculate I. 2 (16 bits); put I 2The result is accumulated with the previous level (50–68 bits wide) to output a new ΣA2; the entire pipeline depth can reach 5–10 stages, supporting one pixel throughput per cycle at a clock speed of 250MHz. It runs in parallel with stage 2 and alternates between “writing the second half of ΣA2” and “reading the first half of ΣA2” through 256-bit AXIFDMA.

[0065] Phase 2: Maximum value extraction and ΣA2i partial accumulation: The data flow is from DDR-A ΣA2 area → Max comparison unit → DDR-B maximum value map area, while simultaneously sending ΣA2 data to the ΣA2i partial accumulation unit. Each row of pixel sequence undergoes pipelined comparison (several comparators in parallel), ultimately outputting a 29-bit intensity peak value M(x,y); after the peak value is generated, it is written back to DDR-B; ΣA2 and M(x,y) are received synchronously, and intensity weighted accumulation (0–49 bits) begins to be compared.

[0066] Transmission: Using a 256-bit FDMA channel, the Max result and part of ΣA2i are interleaved and transmitted on the same bus.

[0067] Phase 3 ΣA2i complete accumulation and centroid calculation preparation: Data flow is DDR-A original graph area + DDR-B maximum value graph area + DDR-B ΣA2i partial area → ΣA2i complete accumulation unit → DDR-B ΣA2i full area, and the original I(x,y,z) is converted into the following values: i M(x,y) and part of ΣA2i are concatenated, weighted or normalized by pixel, and extended to 77 bits; written back to DDR-B to prepare complete data for the centroid stage.

[0068] Each stage uses an independent FDMA channel (256-bit for Stage 1 / 2, 512-bit for Stage 3), ensuring no read / write conflicts and true pipelining. Partitioned DDR memory and deep pipeline guarantee write-to-use functionality, with latency controlled to <100 cycles. The FPGA's internal BRAM and DSP resources are compactly multiplexed, supporting multi-channel, multi-resolution parallel processing.

[0069] Applied to the aforementioned system, some embodiments of this application disclose a distributed accelerated computing method based on surface confocal topography recovery, comprising the following steps:

[0070] Step S1: Image sequence data is transmitted from the area confocal sensor to the first computing engine via the CXP interface;

[0071] Step S2: The first computing engine stores the preset row of each frame of the image sequence data into the DDR memory corresponding to the first computing engine, calculates the maximum pixel value corresponding to the preset row, and forwards the remaining rows of each frame of the image to the remaining computing engine through the GTX interface, so that the remaining computing engine stores the corresponding row segments and the maximum value image respectively.

[0072] Step S3: After all computing engines generate the corresponding maximum value map, each computing engine reads the original image and the corresponding maximum value map from the corresponding DDR memory and intermediate cache, and uses the improved centroid fitting function to extract the centroid.

[0073] Step S4: The centroid extraction results are reversed by each computing engine and aggregated to the first computing engine via the GTX interface. The first computing engine then sends the centroid extraction results to the host computer via the fiber optic interface.

[0074] In this embodiment, steps S1 and S2 employ a three-stage pipeline of receiving → local maximum / minimum value calculation → forwarding. Each engine can execute in parallel with data receiving and forwarding, fully overlapping I / O and computation, significantly reducing end-to-end latency. Multiple computing engines work collaboratively in rows, and the overall reconstruction throughput is approximately N × the processing rate of a single engine, demonstrating a significant linear acceleration effect.

[0075] In step S2, the maximum pixel value map of the preset row of each frame is extracted in real time and stored in the local DDR. There is no need to send back the whole frame, which reduces the amount of data across the engine / host computer. Only the necessary original row segments and centroid extraction results are forwarded, so that the GTX / fiber link keeps the load extremely low and frees up more bandwidth to support higher frame rates or larger resolutions.

[0076] In step S3, an improved centroid fitting function is used to optimize the noise and asymmetry characteristics of the surface confocal response curve, which accelerates convergence, suppresses defocus pseudo-peaks, improves the centroid positioning accuracy from sub-pixel to sub-nanometer level, enhances the anti-interference ability of the extraction results, and improves the depth resolution and reliability of subsequent 3D topography reconstruction.

[0077] In step S4, data is aggregated via reverse GTX to the first engine and then directly output to the host computer via fiber optic cable. The end-to-end total latency is controllable to the millisecond level, meeting the requirements of industrial online inspection or high-speed imaging for scientific research. The host computer only needs to receive the final centroid data, simplifying the backend storage and post-processing process. Each engine segment is pre-parameterized, allowing for plug-and-play operation. A single point of failure only affects the corresponding segment, and the system can degrade to a lower level or be supplemented by an adjacent engine, ensuring uninterrupted online operation. Multi-level parallel / serial hybrid scheduling achieves the optimal balance between high throughput and high hardware utilization.

[0078] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A distributed accelerated computing system based on face-confocal surface topography recovery, characterized in that, The plurality of computing engines are connected in series, wherein, The first computing engine in the plurality of computing engines receives image sequence data through a CXP interface and forwards the image sequence data to the remaining computing engines through a GTX high-speed interface, each of the computing engines is configured with a DDR memory for storing image data, maximum value maps and intermediate results allocated to the corresponding computing engine, each of the computing engines performs line region segmentation processing on the image sequence data in a preset division manner, and each of the computing engines is responsible for processing a specific line region of the image. When the first computing engine completes optical tomographic demodulation calculation and peak positioning calculation required for surface co-focal surface topography recovery, the calculation results of the remaining computing engines are forwarded to the first computing engine through the GTX interface, and the first computing engine transmits the aggregated results to an upper computer through a fiber interface.

2. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 1, wherein, The plurality of computing engines include a first computing engine, a second computing engine, a third computing engine and a fourth computing engine connected in series, and the chip and memory parameters of the first computing engine, the second computing engine, the third computing engine and the fourth computing engine are the same.

3. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 2, wherein, When the first computing engine receives the image sequence data, the first computing engine saves the initial line to the first preset line of each image in the image sequence data to the DDR memory corresponding to the first computing engine, and calculates a first maximum value map corresponding to the initial line to the first preset line of the current image, and saves the first maximum value map in the DDR memory corresponding to the first computing engine. When the second computing engine receives the image sequence data, the second computing engine saves the first preset line to the second preset line of each image in the image sequence data to the DDR memory corresponding to the second computing engine, and calculates a second maximum value map corresponding to the first preset line to the second preset line of the current image, and saves the second maximum value map in the DDR memory corresponding to the second computing engine. When the third computing engine receives the image sequence data, the third computing engine saves the second preset line to the third preset line of each image in the image sequence data to the DDR memory corresponding to the third computing engine, and calculates a third maximum value map corresponding to the second preset line to the third preset line of the current image, and saves the third maximum value map in the DDR memory corresponding to the third computing engine. When the fourth computing engine receives the image sequence data, the fourth computing engine saves the third preset line to the fourth preset line of each image in the image sequence data to the DDR memory corresponding to the fourth computing engine, and calculates a fourth maximum value map corresponding to the third preset line to the fourth preset line of the current image, and saves the fourth maximum value map in the DDR memory corresponding to the fourth computing engine.

4. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 1, wherein, The DDR memory of each computing engine is divided into a first area, a second area and a third area, the first area is used to store segmented original images, the second area is used to store corresponding maximum value maps, and the third area is used to store intermediate results.

5. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 1, wherein, The GTX interface between the computing engines includes a pair of transceivers for forward forwarding of image sequence data and reverse transmission of centroid results.

6. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 1, wherein, Each of the computing engines is responsible for processing a specific row region of the image, specifically including: performing an optical tomographic image demodulation algorithm on the image sequence data to obtain an optical tomographic image stack of each axial plane; generating an axial response curve for each pixel along the optical axis based on the tomographic image stack, applying a peak positioning algorithm to the response curve to determine the peak position of the best focal depth of each pixel, to output a maximum value map.

7. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 2, wherein, The first computing engine, the second computing engine, the third computing engine, and the fourth computing engine are all FPGA chips, and the first computing engine, the second computing engine, the third computing engine, and the fourth computing engine receive the image sequence data with a delay of less than 1ms.

8. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 1, wherein, The computing engine processing flow includes: According to the engine storage allocation region of the original image, the maximum value map corresponding to the allocation region is calculated and stored; Based on the improved centroid fitting function, the original image and the maximum value map stored in the allocation region are calculated and the centroid extraction result is forwarded to the first computing engine.

9. A distributed accelerated computing system based on face confocal surface topography recovery as claimed in claim 8, wherein, The expression of the improved centroid fitting function is: ; wherein, denotes the position of the peak obtained from the fit, represents an optimization operator for returning an argument that makes an objective function take a minimum value, a represents a Gaussian function amplitude, e represents a natural constant, z i represents a coordinate of an i-th axial position, δ r represents a standard deviation of a Gaussian function, b represents a Gaussian function center position, represents the intensity value measured at the coordinate of the i-th axial position of the axial response curve, It is indicated that the data points greater than half of the peak intensity of the axial response curve are selected as effective data points for fitting.

10. A distributed accelerated computing method based on surface profile recovery of face confocal, applied to the system of claim 1, characterized in that, The method includes the following steps: The image sequence data is transmitted by the face confocal sensor to the first computing engine through the CXP interface; Through the first computing engine, the preset row of each image in the image sequence data is stored in the DDR memory corresponding to the first computing engine, and the maximum value of the pixel corresponding to the preset row is calculated, and the remaining rows of each image are forwarded to the remaining computing engines through the GTX interface, so that the remaining computing engines store the corresponding row segments and maximum value maps respectively; When all computing engines generate corresponding maximum value maps, each computing engine reads the original image and the corresponding maximum value map from the corresponding DDR memory and the intermediate cache area, and performs centroid extraction using the improved centroid fitting function; Through each computing engine, the centroid extraction result is reversely summarized to the first computing engine through the GTX interface, and the first computing engine sends the centroid extraction result to the upper computer through the optical fiber interface.