{"uid":"cap_IdD2lNDKsWLmptYcbyGem","slug":"rqm-optimize-disturbance-rejection-627f26d8","name":"RQM Optimize Disturbance Rejection","description":"Problem: Tune supported control parameters against this bounded disturbance model and supplied response objectives. Input: JSON with mass, damping, disturbance, time step seconds, baseline kp, baseline.... Result: candidate parameters, comparative metrics and constraint results. Limits: Software/model evidence only; 65536 request bytes; 5 s execution.","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/robotics.optimize-disturbance-rejection.v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"DisturbanceOptimizationRequest","required":["mass","damping","disturbance","time_step_seconds","baseline_kp","baseline_kd","minimum_kp","maximum_kp","minimum_kd","maximum_kd","grid_points_per_axis","maximum_peak_error","maximum_rms_error"],"properties":{"mass":{"type":"number","title":"Mass","maximum":1000000000,"exclusiveMinimum":0},"damping":{"type":"number","title":"Damping","maximum":1000000000,"minimum":0},"maximum_kd":{"type":"number","title":"Maximum Kd","maximum":1000000000,"minimum":0},"maximum_kp":{"type":"number","title":"Maximum Kp","maximum":1000000000,"minimum":0},"minimum_kd":{"type":"number","title":"Minimum Kd","maximum":1000000000,"minimum":0},"minimum_kp":{"type":"number","title":"Minimum Kp","maximum":1000000000,"minimum":0},"baseline_kd":{"type":"number","title":"Baseline Kd","maximum":1000000000,"minimum":0},"baseline_kp":{"type":"number","title":"Baseline Kp","maximum":1000000000,"minimum":0},"disturbance":{"type":"array","items":{"type":"number"},"title":"Disturbance","maxItems":4096,"minItems":2},"maximum_rms_error":{"type":"number","title":"Maximum Rms Error","maximum":1000000000,"minimum":0},"time_step_seconds":{"type":"number","title":"Time Step Seconds","maximum":10,"exclusiveMinimum":0},"maximum_peak_error":{"type":"number","title":"Maximum Peak Error","maximum":1000000000,"minimum":0},"holdout_disturbance":{"type":"array","items":{"type":"number"},"title":"Holdout Disturbance","maxItems":4096},"grid_points_per_axis":{"type":"integer","title":"Grid Points Per Axis","maximum":32,"minimum":2}},"additionalProperties":false},"schema_version":{"const":"rqm.jobs.bazaar-buyer-job-request.v1"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","maxLength":128,"minLength":1},"max_total_price":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JSGlgUiAjvcGpFODTt6G0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tunes PD controller gains (Kp, Kd) over a bounded grid search to minimize peak and RMS tracking error under a supplied disturbance signal for a mass-damper system.","exampleAgentPrompt":"I have a mass-damper system with mass 5.0 kg and damping 1.2, and I want to tune the PD gains to reject a disturbance — can you grid-search 10 points per axis over Kp in [0.5, 20.0] and Kd in [0.1, 5.0], starting from baseline Kp=5.0 and Kd=1.0, with a time step of 0.01 s, and find the gains that keep peak error below 0.5 and RMS error below 0.1?","exampleUseCases":[{"title":"Robotic arm disturbance rejection tuning","prompt":"I'm building a robotic arm controller with a 2 kg link and 0.5 damping coefficient. I have a sinusoidal disturbance signal sampled at 0.005 s steps and I need to find the best Kp and Kd in the range [1.0, 50.0] for Kp and [0.05, 3.0] for Kd, using 8 grid points per axis, starting from baseline Kp=10.0 and Kd=0.5, while keeping peak error below 0.3 and RMS error below 0.05."},{"title":"Mobile robot motor gain optimization","prompt":"My mobile robot's drive motor model has mass 0.8 kg and damping 0.3. I captured a disturbance trace of 512 samples at 0.01 s timestep and want you to grid-search 6 points per axis over Kp from 2.0 to 30.0 and Kd from 0.0 to 2.0, with baseline Kp=8.0 and Kd=0.4, and find gains satisfying a maximum peak error of 1.0 and maximum RMS error of 0.2."},{"title":"Industrial conveyor PD gain sweep","prompt":"I need to tune a conveyor belt controller — the plant has mass 50.0 kg and damping 5.0. My disturbance profile has 200 samples at a 0.02 s time step. Please search 12 grid points per axis over Kp in [5.0, 200.0] and Kd in [0.5, 10.0] starting from Kp=40.0 and Kd=2.0, with maximum allowable peak error of 2.0 and RMS error of 0.5."}],"resultDescription":"Returns the optimized Kp and Kd gain values found by the grid search, along with the achieved peak tracking error and RMS error under the supplied disturbance signal, and whether the result satisfies the caller's error constraints.","failureModes":["Disturbance array below minimum length (< 2 samples) or above 4096 samples","mass must be strictly positive; zero or negative mass returns validation error","grid_points_per_axis outside [2, 32] range causes schema rejection","No gain combination in the search grid satisfies the peak or RMS constraints — returns failure with best achieved metrics","time_step_seconds must be strictly positive and ≤ 10","Kp or Kd min/max bounds are inverted (min > max) causing invalid search space","max_total_price too low — payment authorization fails before computation"],"whenToPreferThis":"Use this endpoint when you have a parameterized mass-damper plant model with a known bounded disturbance signal and explicit numerical objectives (peak and RMS error limits), and you want to find optimal PD gains via grid search without deploying to hardware. Prefer this over manual tuning or generic optimization libraries when you need a reproducible, cloud-executed sweep with explicit constraint checking at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:54.317Z","isFirstParty":false}