16
On Monday at nine in the morning, the stability test was initiated.
Chen Wen moved the engineering prototype to the testing room and connected it to the stabilized power supply and monitoring terminal.
The Algorithm Group Leader remotely set up the automated test script to simulate a trigger event every thirty seconds.
For instance, randomly generating combinations of vibration, sound, and IMU signals allowed the system to run cyclically under full load.
"Seventy-two hours, once every thirty seconds—that's a total of 8,640 triggers."
Xiao Zheng calculated and said,
"The system will have to continuously perform over eight thousand joint judgments, inferences, responses, and resets."
"Adding the standby listening time, the NPU's actual operating time will account for over seventy percent."
The Algorithm Group Leader said,
"If there are any memory leaks, a volume of this scale will expose them."
Chen Wen set the monitoring alarm thresholds.
For example, alarms for memory usage exceeding eighty percent, sensor disconnections, inference timeouts, and system temperature exceeding seventy degrees.
All five of these alarm lines were directly enabled.
"Begin."
The script was then officially launched.
The engineering prototype entered cyclical test mode, its dual arms sequentially executing lift, reset, and standby.
For the first twelve hours, everything was normal.
Memory usage remained stable at around forty-two percent, inference latency was steady between fifty to fifty-five milliseconds, and all sensors were online.
Chen Wen got up at two in the morning to check the monitoring system.
Seeing that the data was stable and there were no issues, he went back to sleep.
Tuesday morning.
The process reached the twenty-eighth hour.
The first thing Xiao Zheng did upon arriving at his workstation was check the monitoring dashboard.
Memory usage: fifty-three percent.
It had risen by eleven percentage points.
"Boss, is this normal?"
The Algorithm Group Leader pulled up the memory allocation log and said,
"After every inference, the inference engine caches feature vectors for incremental learning.
The cache has no upper limit and will keep growing.
But in our design, it automatically cleans up old cache entries once it reaches a thousand."
"How many entries are cached right now?"
"Over nine hundred entries.
It's approaching the threshold and should trigger auto-cleanup soon."
Just as he finished speaking, a line popped up in the log: 【INFO】 Feature cache auto-cleanup: removed 800 entries
Memory usage immediately dropped back to forty-six percent.
The Algorithm Group Leader said,
"It's fine. The auto-cleanup kicked in."
Chen Wen walked over holding a cup of coffee and asked,
"What about the sensors?"
"All online.
The signals across the six channels of the vibration array are stable, and the IMU bias drift is within normal range."
"Keep it running."
Early Wednesday morning.
The process reached the forty-eighth hour.
The alarm sounded for the first time.
Chen Wen was jolted awake by a notification on his phone, opening the monitor to see: inference timeout alarm.
At forty-seven hours and twelve minutes, the end-to-end latency of a trigger event had reached 610 milliseconds.
Chen Wen immediately called the Algorithm Group Leader.
"What happened?"
By now, the Algorithm Group Leader was also awake and replied,
"I'm looking at the logs right now.
The NPU inference itself didn't time out—fifty-three milliseconds.
But after inference completed, there was a hiccup when sending instructions to the actuators.
So it prompted a CAN bus communication timeout."
"The CAN bus?"
"Yes. The inference engine outputs results and sends them to the joint module controllers via the CAN bus.
But that communication timed out and took two retries to succeed. Factoring in the retry wait time, it added a total of 160 milliseconds."
"Why did the CAN bus time out?"
"I checked the logs. Just before that trigger, the system had just finished an automatic cache cleanup.
During the cleanup, CPU usage spiked above ninety percent, delaying the CAN controller's interrupt response."
Now Chen Wen understood.
It turned out that the cache cleanup hogged the CPU, causing CAN interrupts to be preempted, which led to communication timeouts, retries, and ultimately soaring latency.
Chen Wen said,
"The cache cleanup priority is set too high."
"Right.
The cleanup task runs on the CPU and competes for resources with the CAN controller's interrupt handling."
"Change cache cleanup to a low-priority background task, or break it into smaller batches for incremental cleanup instead of clearing so much all at once."
"Got it, I'll change it right now.
But we'll need to recompile the inference engine, and flashing it onto the prototype requires a reboot."
"But a reboot will interrupt the test."
"We're forty-eight hours in, but if it interrupts, so be it.
If we don't fix this problem, there's a high probability it'll happen again later."
Afterward, the Algorithm Group Leader adjusted the cache cleanup scheduling policy, changing the one-time batch cleanup to a low-frequency background task that cleaned up fifty entries whenever two hundred accumulated.
Compiled, packaged, and sent to Chen Wen.
At three in the morning, Chen Wen flashed the new firmware onto the prototype, rebooted it, and the test resumed.
Thursday morning.
The sixtieth hour.
Another issue cropped up.
This time, it wasn't on the software side.
When Xiao Zheng arrived at his workstation, he found that the prototype's left arm was no longer moving.
"Is it stuck?"
Chen Wen walked over.
He first checked the status of the joint module.
The controller log for the left shoulder joint showed: 【ERROR】 Overcurrent protection triggered, motor disabled
"Overcurrent protection. The motor was disabled."
"How high was the current?"
"Peak four amperes.
The joint module's rated continuous current is two amperes, and the peak is three amperes.
Four amperes triggered the protection."
"When was it triggered?"
Xiao Zheng flipped through the logs and said,
"At fifty-eight hours and forty-seven minutes.
At that time, the system continuously triggered three quick emergency stops, with the left arm repeatedly lifting, resetting, and lifting again, with intervals under two seconds."
Chen Wen frowned and said,
"Three consecutive emergency stops—the motor restarted before it could cool down, compounding the current."
"It's an issue with the test script,"
the Algorithm Group Leader said over the phone.
"The automated script randomly generates trigger events, and it just so happened that three consecutive events landed in the red trigger zone, causing the system to execute consecutive emergency stops.
Real-world scenarios wouldn't be this dense."
"Not necessarily. Anything can happen in a user's environment.
What if two children have an accident at the same time, or one child falls repeatedly?"
"Then this kind of consecutive emergency stop should also have a cooldown interval.
After executing an emergency stop, it should wait at least three seconds before triggering the next one."
"Add it in."
The Algorithm Group Leader added an emergency stop cooldown period into the early-warning execution logic.
A mandatory three-second interval was set between red triggers; repeat triggers within three seconds would only update the warning status without executing physical actions.
"This change won't affect normal scenarios."
"The interval between real falls cannot be less than three seconds."
"Unless..."
"Unless what?"
"Unless it's a continuous tumble.
A child tumbling down from a high place, repeatedly hitting the ground.
But in that situation, the first emergency stop would have already responded. Subsequent impacts count as continuous events under an already responded state, so there's no need to execute repeatedly."
"Agreed, that makes sense logically."
Chen Wen replaced the left shoulder joint module on the prototype, although the old one could still be used after cooling down and a manual reset.
But there was no need.
Installing the new module and flashing the new firmware with the cooldown interval added, the test continued.
Friday morning.
The seventieth hour.
The alarm dashboard was quiet.
Ever since the reboot at the sixtieth hour, there had not been a single alarm for ten hours.
Memory usage remained stable at forty-eight percent, with inference latency between fifty to fifty-five milliseconds.
Moreover, all sensors were online, and CAN bus communication was normal.
The joint module peaked at forty-two degrees, well within the safe range.
Chen Wen stared at the monitoring dashboard, watching the time inch toward the seventy-second hour.
The script stopped.
The prototype slowly retracted both arms and entered standby.
Lao Zhao walked over at this moment.
"Finished running?"
Chen Wen said,
"Finished."
The Algorithm Group Leader connected remotely and exported the complete test report.
...
