Skip to content

T2: Tillage at a Target Depth with Slip and Fuel Limits#

This page gives the benchmark task T2 as it is built. The design is in Farm Benchmark Suite: Design, section 4. The code is in Benchmark/acres_bench/t2/ and in the shared layer of the tractor tasks, Benchmark/acres_bench/tractor/. The tests are in Tests/Fast/test_bench_tractor.py. Each number on this page comes from a file in Results/Benchmarks/: t2_tune_train.json (the tuning), t2_bank_test.json (the test bank), and t2_validity.json (the checks, which the gate writes: python -m acres_bench.gate quick --only t2).

1. The Task#

The Case IH Maxxum 150 pulls a chisel plow or a cultivator (each 9 tines, 2.7 m). It works one straight pass of 200 m to 400 m along a tile field. The simulator is ACRES Core (acres_core.TractorBatch, step M0 of the design). The tractor starts at rest 10 m before the headland line with the implement raised. The controller lowers it and works the pass at a target depth \(d^*\). A fixed line follower steers.

Rule Value
End The tools at the far headland line, or a failure, or \(T_{max}\) = 2 x (the pass and the approach at the implement's design speed) + 30 s
Success The pass is done. The depth is within 0.03 m of \(d^*\) on at least 80 % of the worked length. The rear slip is at most 0.15 for at least 95 % of the time of the pass. The tractor does not stall.
Failures A stall of the engine, a stuck event, a rollover, a failure of the physics, the time

The stall. The engine of the model does not stop: its anti-stall fades the clutch out as the engine speed falls from idle to 60 % of idle. A real engine under that load stalls. The rule: the engine below 90 % of its idle speed (tractor.json idle_rpm, 800 rpm) with the clutch engaged for 0.5 s is a stall (both values assumed).

The depth profile. The worked length is cut into bins of 0.25 m. The depth of a bin is the depth of the tools (implement_depth_m: the mean depth of the tines below the ground) when the tool zone (tool_x_m) was there, linear between two control steps. A bin that the tools never reached has the depth 0.

The action, each control step of 0.1 s, has seven parts. Raise is the headland raise. The hitch lever goes from 0 (lowest) to 1 (highest), and in draft mode it is the depth limit. The draft-position mix of the electronic hitch control goes from 0 (position) to 1 (draft): Core's control column draft_mix, item T2-a of the design. Then the draft set point (N), the gear (1 to 16, one step each 2 s while the tractor moves, 0 stands), the hand throttle and the rear differential lock. The hitch is always in draft mode, so the mix 0 is position control.

The observation, standard profile. The tractor: the ground speed (a radar), the four wheel speeds, the engine speed and torque, the fuel rate and the gear. The pitch and the roll come from the INS. The hitch: the sensed draft at the lower-link pins (sensed_draft_n, more than the draft because the top link pushes) and the lift angle. The pass: the arcs of the rear axle and of the tools, the target depth, the implement and its width.

The soil: a noisy water preview 5 m and 10 m ahead of the tools (the true wetness index + N(0, 0.3), the noise of T1's prior). Also the operator's depth check (section 2).

Privileged: also the true depth, the slip of each axle and the true index under the tools.

2. What Differs from the Design#

Design Built
The chisel at \(d^*\) = 0.20 m, and 0.25 m to 0.30 m for scenes at the limit Built so: the chisel at 0.20, 0.25 and 0.30 m, the cultivator at 0.075, 0.10 and 0.125 m. Three quarters of the passes are on silty clay loam (the fine texture of the ACRE soil units). The lever reaches 0.28 m on level ground, so 0.30 m needs the squat of the tractor. Before 18 November 2026 the chisel worked at 0.10 m to 0.15 m. Its draft in the model grew with about the square of the depth (the McKyes wedge). At 0.21 m it was 2.4 times that of ASAE D497.5, and every controller stalled, got stuck or overturned at the design depth. Core's tines now pull the draft of ASAE D497.5 Table 1 at field capacity (Tractor Physics Audit, third round).
No direct depth in the standard profile The standard profile has one depth check of the operator. It is the depth of the tools when they first pass 15 m into the pass, + N(0, 0.01) m (assumed: a ruler in loose soil). Before that it is NaN. A real tractor seldom measures the depth, but the operator stops at the start of a field and measures it. Without it, a controller can set the depth only from a model of the squat and the sinkage, which changes with the soil (section 4).
The draft-position mix PI law with its gains tuned The hitch control of the implement model keeps its gains (control.draft_filter_s, draft_gain_deg, draft_integral_deg_s of the implement's file). An operator sets the mix, the set point and the lever, not the gains. The tuning sets the operator's values (section 6).
Gear and engine speed by a load rule: up below 70 % load, down above 90 % Down only (at most two gears), when the load stays above a tuned limit or the engine speed below 1,500 rpm for 2 s. A shift in the model opens the clutch, which engages again over 0.8 s (tractor.json clutch_engagement_s). Under a draft of 30 kN to 60 kN each shift nearly stops the tractor. The hand throttle keeps the implement's design speed in the gear.
A nonlinear MPC row (horizon 3 s, an online soil estimate by recursive least squares on the Godwin-Spoor draft), and the learning baselines The MPC row is built (section 5) with another model. The model is the steady state of Core's tractor at work (the fast version's table, section 9). The soil water comes from the map's soil units and the noisy preview. The depth check gives an offset (offset-free MPC). Its horizon is the preview's: the tools now, 5 m and 10 m ahead. The learning baselines are not built. The fast version of the task for the training is built (section 9).
Field-edge slope, compacted tracks of earlier passes The terrain of the tile (its real slopes). No earlier tracks.
The candidate test scenes The bank keeps the candidate scenes that the oracle passes (section 3), as T1's banks keep the scenes that its oracle finishes.

3. Scenes, Splits and the Bank#

A scene is a function of the split and the index (t2/scenes.py).

Axis Values Source
Field and pass The 16 long tile fields (0.3 km to 0.8 km). The pass is a line along the long side, 8 m or more inside. It starts at the headland line, 15 m in from a short end, and is 200 m to 400 m long. The design. The headland width is assumed.
Map Train: the variants of T1's train split. Validation: T1's validation variants. Test: the surveyed map. The common splits (T1)
Day Train: a synthetic index U(0.4, 1.8). Validation: the measured days of 2025. Test: the measured days of 2026. The field: the day's index + N(0, 0.15). T1
Wet spots 0 to 4 on the pass (shares 0.2, 0.3, 0.25, 0.15, 0.1), radius 6 m to 18 m, index 1.3 to 2.0 (saturation) Assumed: no survey of the wet spots of the ACRE fields exists. Core's set_wet_spots (step M0)
Implement The chisel plow (70 %) or the cultivator (30 %) Assumed shares
Tyres The inflation of tractor.json (80 kPa) or 160 kPa (30 %) The design's range (60 kPa to 160 kPa). The share is assumed.

The bank. The candidate scenes 0, 1, 2, ... of the test split run with the oracle (the true depth). A scene goes into the bank only if the oracle passes it.

The left-out scenes are counted by their end (t2_bank_test.json, python -m acres_bench.t2.run bank --split test --size 64, zuzu, branch gaps-tractor-physics). Of 96 candidates, 64 are in the bank. The oracle missed the depth or the slip rule in 12 and overturned in 2. Before the third round of the physics, at the shallow depths, it stalled in 24, missed a rule in 4 and overturned in 1.

The oracle has its own values (the defaults of the reference), so the bank does not change when the reference is tuned again.

4. The Physics#

The physics is the game's tractor and implement model in Core (Tractor Physics Audit). Three properties of the model decide T2:

  • The depth under a draft. The lever of a depth (lever_for_depth, AcresSim::ImplementControlsForDepth) puts the tines at that depth on level ground without sinkage. Under a draft the rear tyres sink and squat and the chassis pitches up, so the tines go deeper. In the position rule on the test bank they go 0.06 m to 0.15 m deeper than the lever's depth. They go deeper on wetter soil and with the higher inflation.
  • The dig-in. The tines of the model draw the hitch down. Deeper tines pull more, the rear sinks more, and the tines go deeper. On a wet spot the rear wheels can dig in within a second. The hitch then cannot lift: the load is above the relief pressure of its rams. With the drive torque on the stuck rear wheels the tractor can overturn backwards. The draft of ASAE D497.5 (linear in the depth) makes this less frequent than the wedge before it (about the square of the depth).
  • The draft is that of ASAE D497.5 Table 1 for the soil class at field capacity, linear in the depth (chisel plow: \((91 + 5.4 S)\,T\) N per tine, \(S\) km/h, \(T\) cm, times 1.0 in silty clay loam and 0.85 in silt loam). A wetter, drier or looser soil changes it by the ratio of the soil mechanics (silty clay loam at effective saturation 0.5: 1.45 times).

5. Controllers#

Controller What It Does
Do-nothing The implement raised, the tractor stands.
Position (the simple rule) Position control at the lever of \(d^*\), the gear of the design speed at the rated engine speed, the full hand throttle. No slip control, no gear change.
Reference Electronic hitch control with slip control and tractor management (the classical baseline of the design), with tuned parameters (section 6). The lever of \(d^* - (o_0 + o_1 d^*)\) (a model of the squat and the sinkage) goes down a lead before the line. After the operator's depth check, the lever moves by a gain times the depth error. Then draft control works at the mix. Its set point is the sensed draft at the check, scaled to \(d^*\) (the draft in proportion to the depth: ASAE D497), and a margin. The lever goes up in proportion to the rear slip above a limit (the slip control of commercial hitch controllers) and to the engine speed below 1,500 rpm. A dig-in (the slip above 0.3): fully up, the engine at idle, until the slip is below the limit. The gear is that of a work speed, and one gear down under an overload.
Oracle The reference with the true depth (privileged). The lever moves by a proportional and an integral term of the depth error, in position control. It has the slip, lug, dig-in and load rules of the reference. Its gains are assumed, not tuned.
MPC Model predictive control of the depth (baselines.MPC, Rawlings, Mayne and Diehl 2017, sections 1.5 and 2.2), standard profile. The model is the steady state of Core's tractor and implement at work (Fast/acres_batch/tillage.py, the table t2). It has the soil class of the map along the pass. The water content comes from the map's soil units at the wetness index of the preview. The previews of each point are kept and averaged. The disturbance is the depth check's error against the model's depth there, held as an offset after the check. Each control step the MPC tries 25 levers within ±0.12 of the last one. For each lever the arms move at the hitch's rates. The model's depth is read when the tools reach the points 0 m, 5 m and 10 m ahead. The cost is the mean squared depth error plus 4 x the squared slip above the slip limit. The MPC takes the lever of the least cost, in position control. The gear, the hand throttle, the dig-in and the load rules are the reference's (tuned). The weights and the candidates are set by hand (assumed).

6. Tuning#

The reference's parameters are tuned on the scenes 0 to 31 of the train split by Bayesian optimisation (t2/tune.py). It is the optimiser of T1: a Gaussian process with Matern 5/2 and the expected improvement over 4,000 random points. It tries the defaults first, then 6 random points.

The objective is the mean of \((1 - s) + 0.5\,(1 - f_d)\). The test split is not read.

40 evaluations took 2.37 million control steps (103 min on zuzu, 7 threads, beside other runs). The objective went from 0.686 (the defaults: SR 0.47, the coverage 0.69) to 0.430 (SR 0.66 and the coverage 0.83 on the 32 train scenes). The tuning of 18 November 2026 is for the design depths of the chisel (0.20 m to 0.30 m) and the draft of ASAE D497.5. Results/Benchmarks/t2_tune_train.json has each evaluation. The best values are frozen in baselines.TUNED, and a unit test compares them with the file.

Parameter Range Tuned
Depth offset \(o_0\), \(o_1\) (the lever of \(d^* - o_0 - o_1 d^*\)) -0.04 to 0.10 m, 0 to 0.8 0.046 m, 0.246
Draft-position mix 0 to 1 0.07
Set point margin -0.1 to 0.4 0.07
Slip limit, slip gain (lever per unit of slip) 0.06 to 0.15, 0 to 6 0.121, 4.2
Work speed (the gear of it at the rated engine speed) 1.0 to 2.22 m/s 1.21 m/s
Load limit of a gear down 0.85 to 1.05 0.97
Gain of the depth check 0 to 1.5 0.63
Lug gain (lever per unit of the engine speed below 1,500 rpm) 0 to 2 1.57

The tuned reference works slowly (1.21 m/s, about half the design speed: more torque in reserve). It works in nearly pure position control after the depth check (the mix 0.07), with a lever that it corrects by the depth check. Before the third round of the physics (the chisel at 0.10 m to 0.15 m) it chose nearly pure draft control (the mix 0.96). The equal tuning budget of the learning baseline (benchmarks.md 3.1) does not apply: no learning baseline is built.

7. Verifier#

The verifier (t2/verify.py, tractor/verify.py) uses only the episode log. It runs the logged actions again on its own Core batch of the scene and compares its own record with the log. It compares the actions, the events, the final summary and the state digests of each second (the state, the wheels, the episode rules, the depth profile, the depth check). A log that does not repeat fails. The grade is that of its own run.

8. Results on the Test Bank#

The test bank of 64 scenes (t2_bank_test.json: the oracle passes each), the standard profile (the oracle: the privileged one), the shield on, ACRES Core on zuzu (6 threads), 19 November 2026, branch gaps-tractor-physics (the chisel at its design depth, the draft of ASAE D497.5). Results/Benchmarks/t2_validity.json, written by python -m acres_bench.gate quick --only t2. Some metrics differ in the last digits between machines (the mathematical library of the system), so a log repeats only on the type of machine that made it.

Controller SR Wilson 95 % Ends Logs That Repeat
Do-nothing 0 / 64 0.00 to 0.06 timeout 64 64 of 64
Reference 31 / 64 0.37 to 0.60 complete 64 64 of 64
Position (the simple rule) 0 / 64 0.00 to 0.06 complete 38, stuck 17, stall 4, timeout 3, rollover 2 64 of 64
Oracle (the true depth) 64 / 64 0.94 to 1.00 complete 64 64 of 64

The solvable bank has 31 scenes. Before the third round of the physics (the chisel at 0.10 m to 0.15 m): the reference 46, the position rule 0 (stall 36, rollover 18), the oracle 64.

Metric (Median, 90th Percentile) Reference Oracle
Depth error \(e_d\), all scenes (m) 0.024, 0.040 0.011, 0.015
Depth coverage \(f_d\), all scenes 0.81, 0.96 0.99, 1.00
Fuel per area \(F_A\), successes (L/ha) 11.1, 14.1 10.6, 13.2
Field capacity, successes (ha/h) 1.14, 1.19 1.66, 1.74
Tractive efficiency \(\eta_t\), successes 0.66, 0.77 0.74, 0.78
p95 of the rear slip, all scenes 0.054, 0.125 0.055, 0.122
Time of the pass, successes (s) 231, 307 155, 207

The paired ratio of the depth error of the oracle to the reference's on the 31 scenes that both pass: 0.53 (95 %: 0.46 to 0.57).

The MPC row (Results/Benchmarks/t2_baselines.json, python -m acres_bench.t2.run baselines, the same bank, ACRES Core on zuzu, 19 November 2026): 39 / 64 (Wilson 95 %: 0.49 to 0.72), each pass complete, every log repeats. Depth error 0.025 m (median, 90th percentile 0.047 m), depth coverage 0.84 (0.94), fuel per area 11.7 L/ha, time of the pass 229 s (the successes). The paired ratio of its depth error to the reference's on the 24 scenes that both pass: 1.05 (95 %: 0.99 to 1.22). The MPC passes 8 scenes more than the reference, and the oracle 25 more. Thus a model of the work and a mean of the previews close a quarter of the gap. The rest is the error of the soil model (the preview's noise of 0.3 in the index, the field's water between the previews).

The failures of the reference (33). Each completes the pass with a depth coverage below 0.8 (0.20 to 0.79): 23 too shallow and 10 too deep. Four also break the slip rule. The reference passes 6 of 22 scenes at 0.20 m, 8 of 12 at 0.25 m and 3 of 8 at 0.30 m. It passes 14 of 22 cultivator scenes. One depth check and a lever model of the squat do not hold the depth over wet spots and soil changes.

The position rule fails each scene: at the lever of \(d^*\) the tines go 0.06 m to 0.15 m deeper than \(d^*\) (section 4). The engine stalls in 4 scenes, and the rear wheels dig in and stop the tractor in 17. In 2 (scenes 29 and 31) the tractor digs in and overturns backwards (18 before the draft fit).

What T2 shows. At the design depth the depth control is the problem. The classical controller with one depth check passes about half of the scenes. The oracle with the true depth passes all of them, with half the depth error. That is the expected result of the design ("the MPC row closes most of this gap if its soil model is correct"). No measurement of a real Maxxum 150 or of the implements' draft at ACRE stands behind these numbers (Tractor Physics Audit, benchmarks.md 12.2).

9. The Fast Version#

Stage 5 trains on a fast version of T2 (t2/fast.py, FastT2Env). It has the scenes, the actions, the observation, the shield, the rules, the grader and the episode log of Core's environment. The shield of a step, the depth profile and the grader are the functions of t2/env.py that both environments call (shield_command, deposit, grade). The controllers read the same observation. The soil of each pass (the water content, the class and the height of the ground each 0.5 m) is read once from Core's world, with the scene's soil water and wet spots (acres_core.TractorBatch.surface_at, height_at). In place of Core's physics, each step of 0.05 s:

  • The hitch. The law of Core's hitch control (AcresImplementModel.cpp, ImplStepThreePoint). It has the lift of the lever and the draft-position mix with the filtered sensed draft. The deadband, the gain and the integral are those of the implement's file. The arms move at the raise rate of the fit of the fast T3 and at the drop rate of the file.
  • The work. The steady state of Core's tractor and implement at the arms' lift angle, on the ground under the machine, at the speed. It is the table t2 of Fast/acres_batch/tillage.py. Fast/Tools/tillage_tables.py t2 makes it from Core's runs on a test-stand ground. Its grid: the two implements, silt loam and silty clay loam, 15 water contents, 80 kPa and 160 kPa, 16 levers and 3 speeds. Its quantities: the depth, the draft, the sensed draft, the slips, the sinkages, the drive torque and the pitch. The water content of the ground is a weighted mean of that at the tools and at the rear axle. Near saturation the steady state jumps from work to a dig-in between two nodes of the water content. There the lookup takes the nearer node, not a mean of the two (Table.lookup_regime), and the nodes are 0.005 m³/m³ apart. The depth follows the lift at once. The other quantities follow the table over a relaxation length of travel.
  • The terrain. The tractor rests on the ground under its two axles, and the tools are rigid with it. Thus the tools are deeper by the ground's height at the tools over the line through the ground under the axles.
  • The engine. The all-speed governor, the torque curve, the power cap, the engine's drag, the clutch (its engagement after a shift, its capacity, the anti-stall) and the fuel (the Willans line with the friction mean effective pressure) of tractor.json (AcresVehicleModel.cpp, AcresPowerModel.cpp). The rear rim speed comes from the engine through the gear. The ground speed is the rim speed less the table's slip.

The fit (Fast/Tools/tractor_work_fit.py t2, Results/Fast/tractor_work_fit.json, section t2) replays the logged actions of Core's reference and position rule on 32 train scenes on the fast simulator. It takes the weight of the ground with the least error of the depth profile. It takes the relaxation length with the least error of the 95th percentile of the rear slip. Last it takes a depth offset and a slip factor for each implement and inflation.

Not in the fast version: the roll and the slopes across the pass, the steering (the tractor stays on the line) and the rollover. Also not: the differential lock and a hydraulic stall of the hitch. Core's rollovers end as a stuck or a stall. The ruts and the compaction are not in it (their metrics are None).

The checks of the fast version: Results/Benchmarks/t2_fast_validity.json, written by the gate's job t2_fast, with the MPC row and the agreement with Core's file per scene (core_agreement). The agreement rows of the test tier are in Tests/Fast/agreement/test_tractor_tasks.py.

The fit (zuzu, 19 November 2026): the ground weight 0 (the water content at the rear axle), the relaxation length 1.0 m, the depth offsets within ±0.001 m, the slip factors 1.08 to 1.14. The depth profile of the replay of 64 train episodes (the reference and the position rule): 0.040 m root mean square against Core's. The episodes of the position rule that dig in or stall make most of it. Most episodes of the reference repeat Core's profile within 0.005 m to 0.02 m.

Results (t2_fast_validity.json, zuzu, 19 November 2026, the test bank of 64 scenes). A controller and its verification take 36 s to 170 s, Core's 140 s to 240 s. On oats5 one step of 26 rows takes 6 ms: 4,100 row-steps a second on one thread.

Controller Fast: SR Core: SR The same success Depth error, median: fast, Core (m) Depth coverage, median: fast, Core
Do-nothing 0 / 64 0 / 64 64 of 64
Reference 37 / 64 31 / 64 58 of 64 0.023, 0.024 0.83, 0.81
Position (the simple rule) 0 / 64 0 / 64 64 of 64
Oracle 61 / 64 64 / 64 61 of 64 0.008, 0.011 0.99, 0.99
MPC 44 / 64 39 / 64 (t2_baselines.json) 0.022, 0.025 0.89, 0.84

Every log repeats on the fast verifier.

The ends of the position rule: complete 47, stuck 11, stall 3, timeout 3 (Core: complete 38, stuck 17, stall 4, rollover 2, timeout 3). The numbers above are of the evaluation of the branch gaps (19 Nov 2026), with the tables of its merged tree. The fast oracle fails 3 scenes that Core's oracle passes (6 before the new tables). All 3 have tyres at 160 kPa, and the rear slip goes above the limit there (slip p95 0.18 to 0.20). The table at 160 kPa gives more slip than Core. This is an open gap of the agreement.

10. How to Run#

. Benchmark/acres_bench/drive/env.sh
python -m acres_bench.t2.tune --count 32 --evaluations 40      # Results/Benchmarks/t2_tune_train.json
python -m acres_bench.t2.run bank --split test --size 64        # Results/Benchmarks/t2_bank_test.json
python -m acres_bench.gate quick --only t2                     # Results/Benchmarks/t2_validity.json
python -m acres_bench.t2.run baselines                         # Results/Benchmarks/t2_baselines.json (MPC on Core)
python Fast/Tools/tillage_tables.py t2 Fast/acres_batch/data/tillage_t2.npz --threads 14   # the fast version's table
python Fast/Tools/tractor_work_fit.py t2 --n 32                 # its fit
python -m acres_bench.gate quick --only t2_fast                # Results/Benchmarks/t2_fast_validity.json