To follow up on the last blog, here's the next move I've made using perplexity.ai
I hope to one day build a an energy efficient and future-proofed biochar kiln for mixed waste and pure feedstocks using the following technology:
Variable Frequency Microwave Microwave-Assisted Pyrolysis (MAP VFM) offers a uniquely programmable route to hierarchical pore architecture in carbon-based electrodes by exploiting the direct, dynamic relationship between electromagnetic frequency, feedstock dielectric properties, and the differential thermal decomposition of biomass structural components (cellulose, hemicellulose, lignin). Feedstock-adaptive frequency tuning — the closed-loop modulation of microwave emission frequency in real time in response to measured dielectric feedback — represents the highest-resolution control lever available in MAP systems12. When this control layer is programmed with machine learning (ML), particularly Bayesian optimization, reinforcement learning, or physics-informed neural networks, it becomes possible to steer pore nucleation and growth toward a "peak synergy" state: the specific ratio and interconnection of macropores (>50 nm), mesopores (2–50 nm), and micropores (<2 nm) that maximizes electrochemical performance for any given carbon feedstock345.
This report lays out the complete technical architecture for implementing such a system — from in-situ dielectric sensing and frequency-pore mapping to ML model selection, training strategy, and closed-loop control implementation — grounded in the current published literature on MAP, dielectric characterization, hierarchical pore engineering, and ML-driven materials optimization.
The core physical insight enabling feedstock-adaptive frequency tuning is that every carbon-based feedstock undergoes dramatic, stage-wise changes in its dielectric properties during thermal decomposition. The dielectric constant ( \varepsilon' ) of oil palm shell and empty fruit bunch biomass, for example, varies between approximately 3.5 and 1.4 as temperature increases from ambient to 700 °C6. A pronounced peak in \varepsilon' occurs near 175 °C (the drying/initial decomposition stage), followed by a 60–65% drop through 500 °C, and further non-monotonic changes as carbon structure reorganizes6. The loss factor ( \varepsilon'' ) and loss tangent ( \tan\delta = \varepsilon'' / \varepsilon' ) follow feedstock-specific trajectories that encode the current compositional state of the pyrolysing mass.
These dielectric transitions correspond directly to phase-conversion events in the biomass7:
Each of these stages presents a distinct dielectric signature that a VFM system can detect and to which it can respond with targeted frequency adjustments.
A fixed-frequency magnetron at 2.45 GHz cannot differentiate between these stages. A solid-state VFM generator — capable of step-wise or continuously swept frequency output across a programmable band (e.g., 2.40–2.50 GHz ± 50 MHz for a SAIREM EvoMicro, or 2.43–6.00 GHz for a research-grade solid-state VFM reactor)8910 — can instead maintain resonant coupling with the evolving sample by dynamically shifting its emission frequency to track the changing dielectric loss peak.
The significance for pore formation is mechanistic:
This frequency-component selectivity is the mechanism through which MAP VFM can steer pore hierarchy: different frequencies preferentially energise different structural components of the feedstock, and each component decomposes into a different class of pore geometry1112.
Variable frequency microwave (VFM) processing eliminates two critical limitations of fixed-frequency systems:
A VFM reactor operating in closed-loop feedback mode thus maintains maximum energy coupling throughout all four pyrolysis stages, ensuring that each stage receives precisely the energy it needs to drive the desired pore-forming chemistry.
The ML control system requires a continuous real-time signal stream representing the current dielectric state of the feedstock. Several sensor architectures are viable:
The most rigorous approach uses a cylindrical cavity resonator operating in two simultaneous modes: a heating mode (TE₁₁₁ near 2.45 GHz) and a measuring mode (TM₀₁₀)16. As sample properties change, the resonant frequency and quality factor of the measuring mode shift, and these shifts are inverted through cavity perturbation algorithms to extract \varepsilon'(T) and \varepsilon''(T) continuously. A PID algorithm in Labview adjusts the source bandwidth to maintain resonance tracking, achieving 3% accuracy in \varepsilon' and 10% accuracy in \varepsilon'' — sufficient for stage detection and frequency control16. Critically, this approach was demonstrated to track materials through abrupt dielectric transitions exceeding 1000 °C, which directly covers the full pyrolysis temperature range for carbon electrode production16.
Solid-state VFM platforms such as the Cellencor PTL-2.5 kW system provide an integral one-port scalar real-time network analyzer (S11) as standard equipment15. By monitoring the reflected power (S11) response across the swept frequency band at each time step, the control system can reconstruct the sample's effective impedance and infer its dielectric state without a separate measurement cavity. This is less spectrally resolved than dual-mode cavity perturbation but is industrially practical and directly integrated with the power control electronics15.
A production MAP VFM system for electrode manufacturing would ideally combine:
The ML model trains on fused sensor vectors; the dielectric signal is the primary control input because it is the physical variable the frequency actuator directly couples to.
Before deploying adaptive ML control, a structured experimental campaign maps the frequency–pore relationship for each feedstock class. This training data generation follows a design-of-experiments (DoE) framework:
From the published literature on ML for biochar properties, the key feedstock descriptors that govern pyrolysis behaviour and pore structure include1718:
A quadratic regression model trained on 112 experiments identified VM, AC, and temperature as the most prominent factors for biochar yield prediction (R² = 0.894)19. A gradient boost regressor on a broader dataset of 14 descriptors achieved R² > 0.822 for MAP product composition20. For pore-specific ML, the most predictive features from SHAP analysis include activation temperature, activating agent ratio, specific surface area (SSA), micropore volume, and nitrogen content18.
The VFM control variables that form the action space for ML include:
The literature confirms that heating rate alone significantly controls mesopore size: rates of 1–20 K/min shift mesopore diameter from 7–8 nm (low rate) to 17 nm (high rate) and increase mesopore volume from 0.21 to 0.53 cm³/g21. VFM frequency selection controls heating rate locally within each biomass component — effectively providing simultaneous but independent heating rate control for cellulose, hemicellulose, and lignin fractions.
The "peak synergy" state is defined quantitatively as the pore architecture vector that maximises a composite electrode performance metric. Based on the published electrochemical literature:
| Pore Class | Role in Electrode Performance | Optimal Feature |
|---|---|---|
| Micropores (<2 nm) | Electric double-layer capacitance (EDLC); primary charge storage via quantum confinement | High volume fraction; matched to electrolyte ion size |
| Mesopores (2–50 nm) | Ion migration channels; rate capability; pseudocapacitance support | Dominant transport pathways; 2–10 nm for aqueous electrolytes |
| Macropores (>50 nm) | Electrolyte reservoir; rapid bulk ion supply to meso/micropores; low diffusion resistance | Hierarchical connectivity to meso layer |
| SSA | Total available charge storage surface | Target >1000 m²/g for supercapacitors |
| Pore volume | Electrolyte accessibility | Target >1.0 cm³/g |
Experimental evidence defines the synergistic performance: a hierarchical micro-meso-macro biochar carbon from corn straw achieved 327 F/g at 0.1 A/g and maintained 205 F/g at 100 A/g with 120,000 cycle stability22. Miscanthus-derived hierarchically porous activated carbon matched to KOH electrolyte ion size achieved 592 F/g, scaling to 963 F/g with redox additive — demonstrating that micropore-electrolyte size matching is critical5. The MAP-derived 3D porous carbon target from the current MAP literature is specific capacitance >500 F/g1211.
The "peak synergy" composite objective function \mathcal{J} is therefore:
where C_{sp} is specific capacitance, \text{Rate}_{100} is capacitance retention at 100 A/g, R_{int} is internal resistance, and \text{Cycle}_{stability} is percentage retention after N cycles. Weights w_i are application-specific (e.g., high power density applications weight \text{Rate}_{100} more heavily).
The first ML layer is a surrogate model that predicts pore architecture outcomes from the combined feedstock characterisation and VFM process variable inputs. The choice of model architecture is empirically grounded:
Random Forest + XGBoost ensemble (RF-XGB):
The RF-XGB model achieves test R² of 0.84–0.86 for SSA, total pore volume (Vt), and nitrogen content of N-doped biochar from biomass pyrolysis, with SHAP analysis identifying activation
temperature and activating agent ratio as dominant predictors18. For VFM specifically, frequency profile replaces or supplements activation temperature as a key input. Random Forest alone
achieves training and testing R² of 0.987 and 0.956 for specific capacitance prediction from pore structure and nitrogen doping inputs, validating the model's ability to predict electrode
performance from intermediate structural properties23.
Deep Neural Networks (DNN) / CNN:
A CNN with DenseNet architecture and ReLU activation achieves strong capacitance prediction for N-doped biochar and can synthesise high-capacitance samples guided by the model24. DNNs and ANNs
outperform linear and LASSO regression for specific capacitance prediction, particularly when using source-variable inputs (biomass elemental composition) rather than intermediate structural
variables25.
Gradient Boost Regressor:
Achieves R² > 0.822 on MAP product composition with SHAP confirming operating temperature, microwave power, and reaction time as primary predictors for MAP-specific datasets20.
Recommended architecture for the MAP VFM pore-synergy surrogate:
An RF-XGB or DNN surrogate model with input features:
Training data: 150–500 MAP experiments spanning 3–5 feedstock archetypes (lignocellulosic, algae, sludge, mixed plastic-biomass, microalgae) and 20–50 VFM frequency profiles per feedstock, with full BET/BJH/NLDFT pore characterisation of each product.
With the surrogate model in place, Bayesian optimisation (BO) with a Gaussian Process (GP) prior navigates the frequency-process parameter space to identify the combination that maximises the composite electrode performance objective \mathcal{J} 26. The GP provides both a mean prediction and an uncertainty estimate (the acquisition function), allowing the algorithm to balance exploitation (refining known good regions) and exploration (probing uncertain regions).
The BO workflow for a new, unseen feedstock proceeds as:
This approach has been validated in Bayesian optimisation for microwave device design using deep GP models26, and the general approach is well established for experimental materials optimisation where each experiment is expensive.
For online, real-time adaptive control during a pyrolysis run, a reinforcement learning (RL) agent — specifically a Proximal Policy Optimisation (PPO) or Soft Actor-Critic (SAC) agent trained in simulation — takes the dielectric sensor state as input and outputs the next frequency command to the VFM generator.
RL architecture design:
Simulation environment (training): The RL agent is first trained in a digital twin of the MAP reactor, where the forward model is the RF-XGB surrogate plus a physics-informed thermal model (coupling Maxwell's equations and heat transfer). Dielectric property databases from in-situ measurements166 parameterise the feedstock state transitions. After simulation training, the agent is fine-tuned with a small number of real MAP runs (transfer learning / sim-to-real).
Intermediate reward shaping: Because the final pore structure is only measurable post-run (BET analysis takes hours), intermediate reward signals must be estimated from the dielectric state. A physics-informed sub-model maps \{\varepsilon'_t, \varepsilon''_t, T_t\} to an estimated pore trajectory: when the dielectric signal indicates cellulose Stage 2 decomposition (specific \varepsilon'' decrease rate), the RL agent receives positive reward for maintaining resonant coupling in the 2.43–2.46 GHz window; when lignin Stage 3 events are detected, positive reward for tuning toward the mesopore-formation frequency.
A physics-informed neural network layer can be embedded in the RL digital twin to encode the known electromagnetic-thermal physics as hard constraints, reducing the data needed for simulation training. The PINN encodes:
where Q_{MW} = \pi f \varepsilon_0 \varepsilon'' |\mathbf{E}|^2 is the volumetric microwave power dissipation. The PINN forces the surrogate to respect these physical relationships, improving generalisation to feedstocks not represented in the training data — critical for the "any carbon-based feedstock" requirement.
The following feedstock-frequency-pore relationships, derived from the experimental literature, constitute the empirical backbone of the ML training data:
| Pyrolysis Stage | Temperature Range | Key Chemistry | Pore Class Generated | VFM Strategy |
|---|---|---|---|---|
| Hemicellulose decomp. | 200–320°C | Dehydration, volatile acid release | Incipient micropore seeds | Low frequency, high loss tangent coupling; maximise early uniform heating |
| Cellulose depolymerisation | 280–420°C | Glycosidic bond cleavage, levoglucosan | Regular micropore arrays | Tune to cellulose \varepsilon'' peak; uniform volumetric heating; controlled heating rate (<50 °C/min) |
| Lignin reorganisation | 350–600°C | Aromatic condensation, melt flow, template formation | Mesopore templates | Tune to lignin thermoplastic window; controlled power to allow melt without collapse |
| Char graphitisation | 500–700°C | sp³→sp² conversion, micropore widening | Micropore→mesopore widening; defect sites | Moderate power, intermediate frequency for uniform carbonisation |
| Mineral-catalysed gasification | >600°C | C+CO₂→2CO; K⁺/Ca²⁺ catalysis | Macropore development; mineral-templated pores | High frequency (K⁺ resonance near 5525 MHz) for alkali-rich feedstocks; lower frequency for alkali-poor |
Sources: 11271028
The dramatic dependence of pore structure on temperature is confirmed experimentally: the medium-temperature zone (400–500°C) favours micropore formation, while the high-temperature zone (>600°C) promotes mesopore and macropore development11. Most dramatic pore development in synchrotron X-ray microtomography occurs between 350–450°C, with observed porosity ranging 7.41–60.56% across feedstocks27.
The ML model must recognise each feedstock's dielectric fingerprint to select appropriate frequency trajectories. Key anchors:
For microalgae specifically — highly relevant given your research background — the high protein and lipid content and inherently nitrogen-rich structure mean the ML model should leverage these properties: nitrogen doping contributes pseudocapacitance (pyridinic-N and pyrrolic-N from MAP at 500 W microwave power)11, while the protein backbone's high loss tangent enables frequency tuning without susceptors at lower applied power than lignocellulosic feedstocks.
From the experimental electrode literature, the pore architecture that consistently produces peak electrochemical synergy in aqueous supercapacitor electrolytes is:
[Feedstock Hopper] → [MAP VFM Reactor with solid-state generator]
↕
[In-situ sensor array: S11 VNA, IR pyrometer, gas analyser]
↕
[Digital I/O: 10 ms frequency command latency (Cellencor-class)]
The Cellencor PTL-2.5 kW solid-state system offers frequency change response time <1 ms, sweep step size 100 kHz, sweep step time 10 ms–1 s, with automatic best-frequency selection and band map optimisation15 — sufficient temporal resolution for MAP stage-wise control. The SAIREM EvoMicro provides frequency tuning ±50 MHz with scan and auto-tune for impedance matching9. For the full K⁺ resonance band (5525 MHz), a wider-band solid-state system covering 2430–6000 MHz is required, as demonstrated in alkali-metal selective heating experiments10.
Sensor stream → Feature extraction (ε', ε'', T, gas) →
ML state classifier (current pyrolysis stage) →
RL frequency policy (stage-specific frequency command) →
VFM generator API → Frequency actuator
↑
Surrogate model prediction (estimated pore trajectory) → Reward signal
The ML pipeline operates at 10–100 ms update intervals, consistent with VFM hardware response times. The stage classifier provides an interpretable intermediate output — it translates raw dielectric signals into human-readable pyrolysis stage labels — which simplifies reward shaping and enables rule-based override for safety (e.g., if thermal runaway is detected via dielectric runaway in \varepsilon'').
For a new, unseen feedstock, the system operates in three sequential modes:
Cold start — transfer learning: The RL policy initialises from the nearest feedstock archetype in the model library, selected by nearest-neighbour matching on the feedstock elemental composition vector. The SHAP feature importance maps confirm that VM, FC, ash content, C%, N%, and dielectric fingerprint are the most diagnostically useful features for feedstock classification1723
Exploration mode (first 3–5 runs): The Bayesian optimisation layer overrides the RL policy to run designed experiments that probe uncertainty in the frequency–pore map for this feedstock. The acquisition function (Expected Improvement) selects frequency profiles that maximally reduce prediction uncertainty
Exploitation mode (runs 6+): The RL policy, updated with the new experimental evidence, operates in closed-loop adaptive control, continuously fine-tuning frequency to maximise the estimated composite reward \mathcal{J}
This three-mode architecture ensures that the system is both feedstock-agnostic (works on any carbon-based feedstock) and data-efficient (converges to peak synergy performance in a small number of additional experiments per new feedstock).
For microalgae — the feedstock of highest relevance to the broader research programme — several features of the ML-VFM system deserve specific attention:
Despite the conceptual and technical coherence of this architecture, several genuine research gaps remain:
Frequency-resolved dielectric databases for biomass during MAP: The bulk of published dielectric data is at fixed ISM frequencies (912 MHz, 2450 MHz)6. Comprehensive frequency-swept dielectric databases covering 400 MHz–6000 MHz across the full pyrolysis temperature range (25–900°C) for diverse feedstock archetypes are sparse and represent the primary experimental bottleneck16
Connecting dielectric state to pore trajectory in real time: While the stage-wise mechanistic links between dielectric transitions and pore class formation are qualitatively established, quantitative transfer functions mapping \{d\varepsilon''/dt, T\} to dV_{micro}/dt, dV_{meso}/dt have not been experimentally calibrated — this is the key open problem for intermediate RL reward signal design
Multi-GHz VFM reactors at industrially relevant scale: The 5525 MHz selective K⁺ heating demonstrated at laboratory scale has not been implemented in a scaled reactor10. The Cellencor/SAIREM hardware currently available is limited to the 900 MHz and 2450 MHz ISM bands for high-power industrial applications
ML training data quantity: Existing published MAP biochar datasets (112–3085 experiments) are derived from fixed-frequency systems1923. VFM-specific datasets with frequency as a systematic variable do not yet exist at sufficient scale for robust ML training. The first task of any implementation programme is generating this dataset
Sim-to-real transfer for RL: Digital twins of MAP VFM reactors require accurate coupled electromagnetic-thermal-chemical models; current COMSOL-class simulations capture temperature distribution but do not yet couple to pore kinetics in real time
Feedstock-adaptive frequency tuning in MAP VFM, programmed with machine learning, provides a physically principled and computationally tractable route to on-demand hierarchical pore architecture engineering in biochar and activated carbon electrodes from any carbon-based feedstock. The approach works because: (i) each biomass structural component (cellulose, hemicellulose, lignin, minerals) has a distinct dielectric fingerprint and decomposes into a distinct class of pore geometry; (ii) VFM solid-state generators can dynamically track these dielectric signatures and maintain resonant coupling at the frequency that drives the desired decomposition chemistry; (iii) ML — particularly Bayesian optimisation for experimental design and reinforcement learning for real-time closed-loop control — can navigate the high-dimensional frequency-process-pore parameter space far more efficiently than conventional DoE.
The "peak synergy" state — the pore architecture that maximises composite electrode performance — is not a fixed universal target but a feedstock-dependent, application-specific optimum that the ML system identifies and pursues adaptively. For supercapacitor applications, this optimum consistently lies in a hierarchical structure with 300–800 mg²/g SSA split between micropores matched to electrolyte ion size and mesopores serving as ion highways — a state the current MAP VFM + ML architecture is mechanistically equipped to target and achieve22511.
The primary near-term research priorities to realise this system are: (1) generation of a VFM-specific frequency-pore training dataset across multiple feedstock archetypes; (2) development of real-time dielectric-to-pore-trajectory transfer functions through in-situ synchrotron or ex-situ rapid characterisation; and (3) integration of RF power electronics feedback (S11 real-time network analysis) with ML control software on a programmable MAP platform.
Blogs - permachar - Feedstock-adaptive frequency tuning is essentially the closed-loop control layer that makes solid-st...
Solid state Microwave Assisted Pyrolysis with a Variable Frequency ... - Feedstock-adaptive frequency tuning is ... dielectric properties change continuously and dramaticall...
Effect of the micro‐, meso‐ and macropores on the electrochemical performance of supercapacitors: A review - The scientific community is actively testing new materials to enhance the electrochemical properties...
Heteroatom-Doped Hierarchically Porous Biochar for ... - PMC - The presence of numerous reaction sites provided by microporosity enables a high specific capacitanc...
Electrolyte ions-matching hierarchically porous biochar ... - Engineering high-performance carbonaceous electrode materials from earth-abundant biomass has attrac...
Microwave dielectric properties of biomass in combustion ...
Microwave dielectric characterization and loss mechanism ...
EvoMicro - Microwave 2450 MHz solid-state generators - Sairem - Solid-state technology enables precise adjustment of power (1 W steps), frequency tuning (±50 MHz), ...
EvoMicro - Générateur état-solide 2450 MHz - Sairem - SAIREM’s EvoMicro solid-state microwave generators are designed to deliver highly precise and stable...
Full Length Article Beyond microwave susceptors: Exploring 5525 MHz frequency for efficient biomass pyrolysis - The transition from fossil fuels to renewable energy sources necessitates innovative approaches to b...
Microwave-assisted pyrolysis for advanced sustainable ... - Driven by global carbon neutrality goals and resource cycling demands, sustainable carbon materials ...
Microwave-assisted pyrolysis for advanced sustainable carbon ... - Driven by global carbon neutrality goals and resource cycling demands, sustainable carbon materials ...
Three-dimensional observations of the electric field distribution of variable frequency microwaves, and scaling-up organic syntheses - Variable Frequency Microwave (VFM) radiation provides a solution to the inhomogeneity of the electri...
In Situ Monitoring of Microwave Processing of Materials at High Temperatures through Dielectric Properties Measurement - Microwave-assisted processes have recognized advantages over more conventional heating techniques. H...
Rough set-based machine learning for prediction of biochar properties produced through microwave pyrolysis - Biomass Conversion and Biorefinery - Biochar, a carbon-rich compound, has a plethora of applications being explored in soil improvement, ...
Full Length Article Machine learning prediction of pore structure and nitrogen content of N-doped biochar derived from biomass pyrolysis: Effects of biomass elemental compositions, preparation processes, and preparation methods - N-doped biochar has garnered significant attention for its potential applications in environmental r...
Biochar production from agricultural biomass through microwave-assisted pyrolysis: predictive modelling and experimental validation of biochar yield - A machine learning model for microwave-assisted pyrolysis technology was developed in this study. Th...
Biomass microwave pyrolysis characterization by machine learning for sustainable rural biorefineries - Microwave heating is a promising solution to overcome the shortcomings of conventional heating in bi...
The Effect of Pyrolysis Heating Rate on the Mesoporosity of Soft-Templated Xerogels - This study explored the impact of pyrolysis heating rates ranging from 1 - 20 K min−1 on the porosit...
Biochar-based carbons with hierarchical micro-meso ... - The development of supercapacitors with high energy density and power density is an important resear...
Machine learning modeling of the capacitive performance of N-doped porous biochar electrodes with experimental verification - N-doped porous biochar is considered as a promising carbon material for supercapacitor electrodes ap...
Deep learning prediction and experimental investigation of specific capacitance of nitrogen-doped porous biochar - PubMed - N-doped porous biochar is a promising carbon material for supercapacitor electrodes due to its devel...
[PDF] Bayesian Optimization for Microwave Devices Using Deep GP ...
4D structural changes and pore network model of biomass during pyrolysis - Scientific Reports - Biochar is an engineered carbon-rich substance used for soil improvement, environmental management, ...
Pyrolysis kinetics and mechanism of pore formation during ...
Probing microwave heating of lignocellulosic biomasses - This work analyzes the temperature distribution inside the microwave-heated lignocellulosic biomass ...
Synthesis and Characterization of Biochar Obtained from Microwave-Assisted Copyrolysis of Torrefied Sawdust and Polystyrene - This study focuses on copyrolyzing pretreated sawdust and polystyrene utilizing microwave-assisted p...
activated biochar from sugarcane bagasse for electrochemical ... - A high-performance carbon electrode is desirable for promoting electrochemical desalination efficien...
Write a comment