Question on data collection, model update workflow, and MCU-to-MCU SPI link – ST AI-based Solar AFCI reference design
Dear STMicroelectronics Team,
We are developing a DC arc-fault interrupter (AFCI) for PV string combiner boxes, using the ST AI-based solar AFCI solution as our reference. We studied the presentation "AI-based AFCI solution for solar inverter" and "AI based smart solar AFCI solution," as well as the Industrial Summit 2023 demo video.
The materials describe the development flow well: data collection, signal check, 2-class training on a PC, CubeAI conversion, and lab verification. They also say that data collection should be repeated in several rounds until performance is good. However, we could not find an explanation of how this works for real installations, nor what the two MCUs exchange with each other. We would appreciate your guidance on the following points.
1. Field data collection (our main question)
- Arc data cannot be generated on a live PV site, so we plan to collect arc data in the lab with an arc generator, and normal operating data at the installation site.
- Is this the intended approach? In your experience, how much normal-operation data from the field is typically needed (in hours, or number of sites and inverter types)?
- Can normal data be collected with the same analog front end (CT and filter) and a recorder-only firmware, without the detection model running? Is that how the Recorder mode was meant to be used?
2. Model update after field deployment
- How do you handle false trips caused by inverter noise at a specific site? Is the recommended approach to add field data and retrain, and then update the firmware in the field?
- Does the AI library (CubeAI output) allow updating only the model, without rebuilding the whole firmware?
3. Tools
- Are the PC tools shown in the presentation (AFCI GUI, WIN32 console tool with Recorder/Detector modes, Signal check tool, and the AI training application) available to customers? If so, how can we obtain them, and which evaluation kit comes with them?
4. SPI link between the two MCUs (STM32G473 and STM32H7B3)
- The slides (pages 11 and 12) show that the two MCUs are connected by SPI, but we could not find what is exchanged over this link. Could you explain what data is transferred (for example raw ADC samples, extracted features, detection results, commands or configuration, or model parameters)?
- Which MCU is the SPI master, and in which direction does the data flow? Is there a frame format, a transfer rate, or handshake signals (such as ready or interrupt lines)?
- Do both MCUs sample the same filtered signals, or does only one MCU have ADC inputs and pass the data to the other? How are the two kept synchronized?
- What is the purpose of this link in the reference design (for example data logging on the H7B3 for data from the G473, or a comparison between the two AI models)?
- Is there any document or sample code that describes this interface?
5. Technical details
- What sampling rate, ADC resolution, and window length are used for the reference model? The video description mentions up to 500 kS/s (250 kHz bandwidth). We could not find the input length or the sampling rate used for training in the slides.
- Could you share the neural network structure, input features (raw samples or spectrum), and the post-processing or threshold logic?
6. Data logging
- The slides mention microSD on the STM32H7B3 for in-field evaluation, recording special data for later analysis. What data is recorded (raw ADC samples, features, or events), and how is the amount of data limited (periodic snapshots, event-triggered capture)?
- What is the purpose of the DAC "player" output shown in the block diagram? Is it used to replay recorded data for verification?
7. Datasets
- Does ST have any datasets available for the AFCI solution that it can provide to customers (for example arc and normal-operation recordings used for training or verification)?
Any documents, application notes, or contacts that could help would be very much appreciated. We are also happy to arrange a short call if that is easier.
Thank you very much for your time.
