Loading...

Enhanced Miner

Autotune

Algorithms

 

Subject: Algorithm Optimization & Power Efficiency in Large-Scale ASIC Deployments

Hardware Profile: Amlogic-STM Control Architecture with BM 13XX Series ASICs

Status: Production-Ready (Frozen)

Latest Benchmark: 3.2% Efficiency Improvement (J/TH) | 40% Reduction in Hashrate Variance

Hardware Specifications & Technical Profile

To ensure the "Modified" Autotune algorithm functions correctly across the fleet, the hardware bill of materials (BOM) targets the Amlogic-driven control system paired with the Bitmain BM 13XX silicon family:

Component Part Number / Specification Role in Optimization
Main SoC Amlogic A113D (ARM Cortex-A53) High-level execution of the Autotune regression models; runs the Linux-based mining OS.
Co-Processor STM32F407 / STM32G0 Series Real-time I/O bridge; handles low-latency sensor polling and precise VRM pulse-width modulation.
ASIC Chip Bitmain BM 13XX Series
(BM1362, BM1366, BM1368, BM1370)
Primary hashing silicon; target for V/F (Voltage/Frequency) curve tuning.
VRM Controller uPI Semiconductor uP9512P / NCP81270 Managed via I2C/SMBus (bridged through STM) to provide 0.01V granularity.
Thermal Telemetry STM32 Integrated ADC / TMP75 Aggregates heat data from multiple hashboard zones for "Handicap" logic.

Compatibility Note: This architecture utilizes the Amlogic A113D for... [text truncated]

Compatibility Note: This architecture utilizes the Amlogic A113D for complex data processing while delegating time-critical tasks to the STM32. This dual-chip approach allows the algorithm to interface directly with the BM 13XX series registers, bypassing factory "Hard-Locks" on voltage offsets without interrupting the main hashing thread.

 

 Customer Incident Report & Discovery

How the Issue Was Reported
An industrial-scale mining operator (50MW capacity) reported a systemic failure to meet ROI targets. Despite optimal cooling, the units suffered from "Performance Drift," where efficiency decayed as the hardware aged.

Technical Issues Faced by the Customer:

  • Power Overages: Units were drawing 3350W–3450W despite a nameplate rating of 3250W. This triggered frequent OCP (Over-Current Protection) trips on the PDUs.
  • The "Sawtooth" Hashrate: Telemetry showed the hashrate frequently dropping to zero and restarting every 4–6 hours. This was caused by the factory firmware attempting to recover from a "Zombie Chip" (common in aging BM1362 or BM1366 arrays) by rebooting the entire chain.
  • Silicon Lottery Variance: In a single rack, the hashrate varied from 98 TH/s to 112 TH/s. The Amlogic logs indicated that the BM1368/BM1370 units were often running higher voltages than necessary due to a "one-size-fits-all" factory profile.
  • Communication Latency: On standard firmware, the I2C bus was often congested, causing the STM32 to miss critical temperature spikes on the hashboards, leading to permanent chip degradation.

Deep Technical Analysis: The Silicon Reality

The Inefficiency of Static Profiles in BM 13XX
Standard firmware relies on a Lookup Table (LUT) that maps a target frequency to a safe (high) voltage.

  • Heterogeneous Silicon (The "ABC" Mix): Within the BM 13XX family, manufacturers populate boards with a mix of chip qualities. Category C chips have higher leakage current. Static firmware applies the voltage needed for the worst chip to the entire chain.
  • Amlogic vs. STM Coordination: We discovered that the factory firmware was not utilizing the STM32’s real-time capabilities. By offloading the PID (Proportional-Integral-Derivative) loops for voltage control from the Amlogic SoC to the STM32, we reduced response latency from 200ms to 5ms, allowing for safer "undervolting" of the BM 13XX chips.

Methodology: The Optimization Workflow

We implemented a "Work-Done" case study approach involving 5 distinct phases:

  1. Low-Level Protocol Deciphering: We used logic analyzers to intercept the I2C/SMBus commands between the Amlogic SoC and the STM32. We unlocked "Direct-to-VRM" commands through the STM bridge, achieving 0.01V steps.
  2. PLL Frequency Injection: By modifying the Phase-Locked Loop (PLL) registers in 1MHz increments via the Amlogic kernel driver, we found "Sweet Spots" between the factory-defined 6.25MHz intervals for the BM 13XX chips.
  3. Weight & Dependency Estimation:
           * Variable A: Voltage (Vcore)
           * Variable B: Frequency (f)
           * Result: Power Consumption (P ~ V^2 x f)
           * The Amlogic A113D calculates the partial P / partial f gradient every 60 seconds.
  4. Weighted Error Scoring: We implemented a "Forgiveness" logic. If a BM 13XX chip produces an error but maintains a 99.9% share validity, the algorithm remains at that frequency rather than triggering a "Panic Reboot."

The Solution: The "Modified" Autotune Algorithm

Engineering Improvements:

  • Distributed Logic: The Amlogic SoC runs the predictive model, while the STM32 enforces safety limits and manages the VRM.
  • Ultra-Fine PLL Control: 1MHz granularity for the BM 13XX series managed at the kernel level.
  • Precision VRM Offset: 10mV adjustment capability via the STM32 bridge.
  • Thermal Displacement Logic: The algorithm detects if a board is near the exhaust. It reduces voltage for that board and increases frequency for the intake boards to maintain global hashrate while balancing the thermal envelope.

Verified Results (Case Study Data)

Metric Before Optimization After Optimization Delta
Power Consumption 34.2 J/TH 33.1 J/TH -3.2%
Hashrate Stability ±8.5 TH/s Variance ±1.2 TH/s Variance +85% Stability
Mean Temp (BM 13XX) 84°C 79°C -5°C
Hardware Errors 0.08% 0.012% 85% Reduction

Future Implementation & On-Board Logic

The next phase involves moving the regression models from the Amlogic's user-space into a dedicated STM32 firmware module. This would allow the miner to continue "Self-Healing" its efficiency even if the main Amlogic OS experiences a temporary hang or network interruption.

Bestselling Products

Popular Category Products

New Products

PROBOTS - ABOUT US

Probots offers Electronics Engineering Services to get your product from concept to production. We provide the following services - Circuit Designing, PCB Designing, Embedded Firmware Development, etc. We have successfully designed 100+ products in IoT, AI & ML, Automation, Robotics, Industrial Monitoring, Generic Consumer Devices, and Medical Devices.

We help customers build their own design and prototypes by supplying electronic parts. We stock a wide range of parts that we use for manufacturing products. These products are carefully sourced from best manufacturers at bulk pricings and we pass on the benefits to our customers. We sell Arduino, Raspberry Pi, IoT Sensors, ESP32, STM32 Development Boards, Electronic Components, Prototyping Tools and Robotics Parts.

Buy Arduino, Raspberry Pi, NodeMCU ESP32, Electronic Components, Plastic Enclosures and much more at Probots - India’s Largest Engineering and DIY Store

As one of India’s biggest distributors of electronic and technological components for the Embedded Systems and Robotics, we offer more than 110,000 products at a unique price-performance ratio, with maximum availability and minimum delivery times. With our broad spectrum of electronic components we are the ideal partner for component purchasing. In our online shop electronics engineers will find ICs and microcontrollers, as well as LEDs and transistors. We also offer resistors, capacitors, and pin-and-socket connectors and relays. We have the right equipment for your workplace, including soldering stations and multimeters as well as and high-quality tools. In addition, our product spectrum includes a large selection of items from plastic enclosures accessories and HDMI cables, batteries and rechargeable batteries. Have a look at our large selection of accessories. When it comes to and as well as connectors and memory cards our emphasis is on top quality at very attractive prices. Try out our fast dispatch service and top customer support, and compare our prices: We are certain that you will soon be among our satisfied customers.

WHERE TO BUY ELECTRONIC COMPONENTS ONLINE IN INDIA?

Probots sells the following items online - Arduino, Raspberry Pi Development Boards, NodeMCU ESP8266, ESP32, Sensors Modules, Electronic Components, Plastic Enclosures for Electronics, SMPS Power Suppliers, Resistors, Capacitors, and a wide range of products. You can order online on our website and we will deliver throughout India within 1-15 days.

ONLINE SHOPPING MADE EASY AT PROBOTS

If you would like to experience the best of online shopping for Electronic Modules & Components in India, you are at the right place. Probots is the ultimate destination for Electronics & Robotics, being host to a wide array of merchandise including Arduino, Raspberry Pi, NodeMCU ESP32, Sensors, Motor Drivers, Power Suppliers, SMPS, Batteries, Electronic Components, etc. You can get every part for your next project online and stop worrying about sourcing components from multiple sources. We sell products only after careful selection among multiple vendors. You can shop online at Probots from the comfort of your home and get your favourites delivered right to your doorstep.

BEST ONLINE SHOPPING SITE IN INDIA FOR ELECTRONICS & ROBOTICS

Irrespective of your project - IoT, Robotics, Python, OpenCV, AI, ML, Embedded Electronics, Automation, etc you will find all required components at probots.co.in. You will realise that the sky is the limit when it comes to the parts used in these projects and you can purchase them online on our store.

  • Plastic Enclosures
  • Electronic Modules
  • Electronics Components
  • Tools & Prototyping
  • Robotics 

BUY PLASTIC ENCLOSURES FOR ELECTRONICS IN INDIA

Probots manufactures and retails 100+plastic boxes and cases for electronic circuits. No minimum order quantity, bulk discounts available for business purchase. We make enclosures boxes for sensor nodes, controllers, IoT Products, handheld devices, wearables, wall mount devices, etc. 

Probots sells generic low cost effect enclosures, high quality premium IP65 Dust and Waterproof Enclosures, Enclosures with Transparent Lids, etc We have circuit enclosures boxes for all sizes - small, medium and large PCB boards. We also have Aluminium Enclosures, ABS enclosures, PVC Enclosures, Cabinets, Metal Boxes, etc. We also sell IP65 Waterproof PVC & Metal Cable Glands and Fan Filters

BUY Arduino Board Online India

Probots sells Arduino UNO, Arduino Mega, Arduino Nano, Arduino Pro, Mini, Micro, Lilypad, Due, and other development boards online in India. These boards come with Atmega328 and Atmega2560 and are great for learning electronics and programming. Order them online for your next robotics, electronic, IoT Project.


BUY Raspberry Pi Online India

Probots sells Raspberry Pi, Pico SBC (Single Board Computer), HDMI Displays, Raspberry Pi Starter Kit. We source them from official Distributors and offer the best quality development boards at lowest prices possible. We also sell a wide range of Raspberry Pi Accesories - Raspberry Pi Cameras & Lens, Heat sink Cases for Raspberry Pi, Raspberry Pi Sensors, Raspberry PI Power supplies, etc. Buy Raspberry Pi Online Now for your next Machine Vision Project, OpenCV Project, Image processing and recognition project!

Electronic Sensor Modules Online at Probots India

Buy Online Ultrasonic Sensors, Distance Sensors, Temperature Sensors, PIR Motion Sensors, ph Soil Sensors, Encoder Sensors, Magnetic Door Lock Sensors, Gas Sensors, Accelerometers & IMU Modules, Line Following Sensors, Force Flex Sensors, Current and Voltage Sensors, Flow Sensors, Light Sensors, Biometric Fingerprint Sensors, etc. We also have the latest electronic sensors for electronics and robotics like sound and voice sensors,  Gesture Recognition SEnsors, Load Cell Weight Sensors, etc. These sensors can be used with Arduino, Raspberry Pi, NodeMCU, ESP32 and other microcontrollers. Use them in your next electronics project. Order them online now.

Best Online Store for buying Electronic Components

Bits and pieces that make your project work are always hard to find. Probots has 500+ electronic components like Microcontroller ICs, LEDs, Header Pins, Connectors, Crystal Oscillators, Cables, Buzzers, Transistors, Motor Driver ICs,

Voltage Regulator ICs, ZIF & DIP Sockets, LED Holders, Switches, Potentiometers, LCD Displays, ICs, Resistors, Batteries & Holders, Heatsinks, Capacitors, Relays, Diodes, Heat shrink tubes, LED Displays, DIP Switches, Resistor Arrays, 7 Segment Displays, LED Strips, etc Chekout our wide range of electronic components and order them online in India now.

AFFORDABLE PARTS AT YOUR FINGERTIPS
Probots is one of the unique online electronics shopping sites in India where components are accessible to all. Check out our new arrivals to view the latest microcontrollers, sensors and ICs in the market. 

HISTORY OF PROBOTS
Becoming India’s no. 1 electronics destination is not an easy feat. Sincere efforts, digital enhancements and a team of dedicated personnel with an equally loyal customer base have made Proobts the onlie platform that it is today. The original B2C venture for electronics components was conceived in 2009 but transitioned into a full-fledged ecommerce giant within a span of just a few years. By 2012, Probots introduced 350 Indian and international brands to its platform, and this has only grown in number each passing year. Today Probots sits on top of the online electronics field with an astounding social media following, a loyalty program dedicated to its customers, and tempting, hard-to-say-no-to deals.

Probots Techno Solutions offers complete turn-key Embedded Electronics Design & Engineering Services. We can work on Product Specification through Prototyping, Proof of Concept to Production depending on individual client needs. 

Probots is one of the top Electronics Design companies based out of Bangalore. We provide range of Embedded Engineering Services that include Circuit Designing, PCB Designing, Customised IoT Hardware, Embedded Firmware Development, Hardware Prototyping, Proof of Concepts & Electronic Manufacturing Services.

With close to 10 years of solid experience in Electronics Design, we have successfully completed 100s of complex Electronic Product Designs across a wide range of domains - Consumer Products, Industrial, Medical and Aerospace Industries. Our team has completed projects for Fortune 500 companies as well as start-ups using both traditional and cutting edge technologies. 

Probots also offers consultancy, and testing services across the product and process development life cycle. 

Our biggest strength is our agile team that utilises our core experience, to deliver quick turnarounds giving you faster time-to-market.

Probots Store Reviews

4.6
8 Reviews
5 ★
500
4 ★
56
3 ★
25
2 ★
12
1 ★
29
5.0
Delivery
5.0
Quality
4.7
Products
Value: Great
Value

What Our Customers Say

Probots Electronics is highly regarded for its great selection of components and professional service. Customers frequently praise the awesome care and timely delivery provided by the team to ensure all products arrive safely.

Most relevant
Newest
Highest rating
Write a Review
📌 Showing reviews about:
No reviews found for this category. Show all reviews
Nischith shetty

Friendly staff but Too costly, price is 2x as compared to SP road.

Rajeev Ranjan Pandey

Worst experience. UPI payment of Rupee 1,609 was successfully debited, but the order was later cancelled and no refund was issued.

Varshaa Senthil kumar

The products were at reasonable cost and the service and care provided by the whole team to deliver it safe was really awesome.

Soma Dasgupta

Great selection of components. Highly recommended for electronics enthusiasts!

SANTHA KUMAR

Happy with my purchase from ProBots. Some components are slightly expensive compared to other stores, but many items are reasonably priced. Good support and service.

Arun R

Good store for IoT components. Prices could be better though.

Manoj K

Best place to buy electrical components. A bit pricey but worth it for the quality.

G C Electronics Jaipur

Good products - Timely delivery. Professional service.

Nischith shetty

Friendly staff but Too costly, price is 2x as compared to SP road.

Rajeev Ranjan Pandey

Worst experience. UPI payment of Rupee 1,609 was successfully debited, but the order was later cancelled and no refund was issued.

Varshaa Senthil kumar

The products were at reasonable cost and the service and care provided by the whole team to deliver it safe was really awesome.

Soma Dasgupta

Great selection of components. Highly recommended for electronics enthusiasts!

SANTHA KUMAR

Happy with my purchase from ProBots. Some components are slightly expensive compared to other stores, but many items are reasonably priced. Good support and service.

Arun R

Good store for IoT components. Prices could be better though.

Manoj K

Best place to buy electrical components. A bit pricey but worth it for the quality.

G C Electronics Jaipur

Good products - Timely delivery. Professional service.

  • Services (2)
  • Enclosures (211)
  • Modules (1449)
  • Components (2344)
  • Tools (260)
  • Robotics (1220)
Copyright © 2025-present Probots, Inc. All rights reserved.