Edge AI Vision Core Board Architecture Design and Selection Practices

    This article discusses architecture design and component selection for edge AI vision core boards. It covers core board positioning, scenario-driven requirement definition, key processor subsystem capabilities such as multicore and vector processing, video codec, ISP, and NPU quantization, co-design of power, interfaces, thermal design, and packaging, commercial-grade versus industrial-grade selection, a development and validation checklist, common risks, and final selection recommendations. Readers can use it as a practical technical reference for core board evaluation and product design.

    1. Positioning of the Core Board Solution

    A core board is a hardware form that integrates the processor, memory, storage, and power management circuits on a small module. The carrier board handles camera interfaces, Ethernet ports, serial ports, buttons, and peripheral connections. With separate designs, the core module can be reused across multiple products, while the carrier board is customized for specific scenarios.

    This model offers three main benefits. First, high-speed signal routing and power design for the product motherboard are completed by the module vendor, allowing the system R&D team to focus on business interfaces and mechanical design. Second, the same core board can be paired with different carrier boards to cover scenarios such as security cameras, industrial inspection, smart access control, and mobile inspection. Third, once the module has been validated, hardware risk for the complete device is significantly reduced.

    2. Deriving Technical Metrics from Scenarios

    Before selection, write a requirements list first, then convert the requirements into quantifiable metrics. Common dimensions are as follows.

    Dimension Questions to Consider Common Metrics
    Video input/output How many video streams are connected, and how large is the encoded bitstream Resolution, frame rate, encoding format, number of channels
    Image quality Whether images are usable at night, in backlight, and during high-speed motion Dynamic range, noise reduction capability, wide dynamic range
    Inference compute Whether the model can complete within the required latency Compute (TOPS), supported data types, single-frame latency
    Interface resources How many camera channels, Ethernet ports, and serial ports are needed Number and type of camera interfaces, storage interfaces
    Operating environment Whether the device is indoors or outdoors, and whether vibration is present Operating temperature, power supply range, ingress protection rating

    After the metrics are defined, make rough estimates using typical scenarios before comparing components. For example, when multiple high-definition video streams are encoded simultaneously, estimate the total bandwidth first and confirm whether memory and storage can handle it.

    3. Key Capabilities of the Processor Subsystem

    3.1 Multicore Application Processor and Vector Acceleration

    Multicore application processors usually handle task scheduling, network communication, business logic, and post-processing. Vector coprocessor units (SIMD) are suitable for performing the same operations on large numbers of pixels or arrays, such as scaling, color conversion, and filtering. Properly dividing threads so that control tasks and data-intensive tasks run on different cores can reduce waiting between cores.

    3.2 Video Codec Pipeline

    H.264 and H.265 are common video coding standards. Hardware codecs can perform compression with lower utilization and reduce the burden on the main processor. During selection, focus on three issues: number of encoding channels, maximum resolution and frame rate per channel, and latency under concurrent multi-channel operation.

    Bitstream size can be estimated with the following formula:

    Per-hour storage (GB) = bitrate (Mbps) × 3600 ÷ 8 ÷ 1024

    For example, at a bitrate of 4 Mbps per video channel, one hour occupies about 1.76 GB. If a device connects 8 channels, storage planning must be calculated at 8× and reserve space for playback and logs.

    Bitrate, GOP length, and encoding presets jointly determine the balance between image quality and bandwidth. Longer GOPs provide higher compression but slow random access and packet-loss recovery. Low-latency surveillance usually requires shorter GOPs and disabling unnecessary B-frames.

    3.3 Image Signal Processing Pipeline

    Image signal processing (ISP) converts raw sensor data into usable images. A typical pipeline includes:

    1. Black level correction and defective pixel handling;
    2. Demosaicing to restore Bayer array data to color pixels;
    3. White balance and auto exposure, auto focus, and auto white balance (3A) control;
    4. Lens shading correction (LSC) and gamma correction;
    5. Temporal and spatial noise reduction (3DNR, 2DNR) and sharpening;
    6. Enhancement functions such as defogging, wide dynamic range synthesis, and fisheye distortion correction.

    Hardware ISP modules have low latency and stable power consumption and are suitable for basic processing with fixed pipelines. Software algorithms are flexible and easy to tune per scenario, but they consume CPU resources. Neural-network-based noise reduction and enhancement can complement a traditional ISP, with better results but higher inference overhead. During design, first get basic image quality working with the traditional pipeline, then introduce learning-based modules for specific scenarios and measure the additional end-to-end latency.

    3.4 NPU Inference and Quantized Deployment

    The NPU accelerates neural network inference. When multiple data types are supported, select precision by layer.

    • INT8 is a common precision for most vision models; accuracy loss is usually controllable, and compute and bandwidth overhead are lower.
    • INT4 can further reduce bandwidth but is more sensitive to quantization error; it is suitable for classification or detection tasks with lower accuracy requirements.
    • FP16 retains higher precision and is suitable for layers with large numerical ranges or sensitivity to precision, such as some normalization and output layers.

    The standard quantization deployment workflow can be represented by the following pseudocode:

    1. Input: floating-point model M, calibration set D (about 100–1000 representative samples)
    2. 1. Run M on D and collect the minimum, maximum, or distribution of activations for each layer
    3. 2. Calculate scale factors and zero points for each layer and generate quantized model Q
    4. 3. Compare outputs of M and Q on the validation set and calculate accuracy metrics
    5. 4. If the error of a layer exceeds the threshold, fall back that layer to higher precision (e.g., FP16)
    6. 5. Repeat steps 3–4 until both accuracy and performance meet requirements
    7. 6. Measure single-frame inference latency and peak memory on the target board

    The calibration set must cover the actual deployment environment, such as night, backlight, and different light intensities. Calibrating only with ideal samples often leads to a clear increase in false detection rate after deployment.

    4. Co-design of Core Board and Carrier Board

    4.1 Power Design

    First list power consumption by module, including processor, memory, storage, cameras, network chips, and peripherals. Peak current can be estimated with:

    Peak current = sum of peak currents of all power domains × design margin

    The design margin is usually 1.2 to 1.5. The power tree must also consider power-up sequence, ripple, and transient response; otherwise the system may reset or crash under high load.

    4.2 Interface Allocation

    Camera interfaces require confirmation of signal type, channel count, and maximum rate. A common practice is to keep high-speed video interface traces within a short range and perform differential impedance control according to specifications. The layout of Ethernet, serial, and storage interfaces should avoid high-frequency noise sources.

    4.3 Thermal and Mechanical Design

    Processor power consumption increases with load. Evaluate temperature rise under both typical load and full load, and confirm that junction temperature is within device specifications. A sealed enclosure requires a thermal path, such as a metal enclosure or thermal pad.

    4.4 Package Comparison

    Comparison Item LGA-type Package Board-to-Board Connector Package
    Device height Lower Higher
    Core board replacement Requires specialized equipment and is difficult to perform Easy to plug and unplug
    Vibration resistance Depends on solder joints and carrier board mounting design Depends on connector and locking structure
    Cost Lower carrier board cost Connectors add some cost

    Selection should consider maintenance method and operating environment. Devices requiring frequent maintenance can prioritize pluggable connections, while compact devices or devices with high vibration need to evaluate soldering and mounting methods.

    5. Commercial-Grade vs. Industrial-Grade Selection

    Commercial-grade products commonly have an operating temperature range of about 0°C to 70°C and are suitable for indoor environments. Industrial-grade products usually have an operating temperature range of -40°C to 85°C and require higher reliability metrics.

    At selection, also confirm the following:

    • Whether device operating and storage temperatures meet site conditions;
    • Power supply voltage range and tolerance to transient fluctuations;
    • Electromagnetic compatibility (EMC), vibration, and shock testing;
    • Long-term supply commitment for components and whether replacement is needed during the lifecycle;
    • Accompanying development documentation, drivers, and firmware update mechanisms.

    Industrial projects often have lifecycles of more than 5 years, so supply chain stability and long-term maintenance capability are often more important than unit price.

    6. Development and Validation Checklist

    After the hardware is selected, validate according to the following steps.

    1. Functional validation: Each camera channel produces stable images; encoded output is normal; network and storage read/write are correct.
    2. Performance benchmark: Measure end-to-end latency, frame rate, inference time, and CPU utilization.
    3. Accuracy regression: Compare metrics before and after quantization on a fixed test set, and confirm that errors are within an acceptable range.
    4. Stability testing: Run at full load for several days and observe temperature, memory leaks, and frame drops.
    5. Environmental testing: Repeat functional and performance tests under high temperature, low temperature, and voltage fluctuation conditions.

    Latency measurement can use the following pseudocode framework:

    1. for i in 1..N: # N is the number of test frames; at least 1000 is recommended
    2. t0 = get monotonic clock()
    3. frame = capture one frame()
    4. result = inference(frame)
    5. t1 = get monotonic clock()
    6. record(t1 - t0)
    7. calculate and output average, P95, and P99

    Using quantiles such as P95 and P99 reflects real experience better than averages. A low average latency with occasional spikes can still cause false alarms or video stutter.

    7. Common Risks and Mitigation Methods

    • Memory bandwidth bottleneck: Multiple high-resolution video streams writing to memory at the same time, plus inference reads, can easily saturate bandwidth. Draw a bandwidth budget table based on data flow and minimize unnecessary data copies.
    • Quantization accuracy degradation: In some scenarios, accuracy is significantly lower than the floating-point model. Fall back layer by layer according to the workflow in Section 3 and expand the calibration set.
    • System software maintenance cost: Kernel and driver version upgrades may cause compatibility issues. Lock versions early in the project and establish regression tests.
    • Supply chain changes: Discontinuation of key components can affect delivery of the complete device. Evaluate alternatives during selection.
    • Insufficient thermal design: Tests passed in the lab may fail in a sealed enclosure. Retest under final enclosure conditions.

    8. Selection Recommendations

    At the beginning of a project, first clarify four requirements: number of video channels, image quality, inference latency, and operating environment. Then determine the core board’s compute, interfaces, and package. Next, use typical scenarios to estimate bandwidth, power, and accuracy, and complete performance and environmental testing on the prototype. Only when these data meet the requirements is the design suitable for mass production.