ToolsConductScience tool
Operant ConditioningFree in-browser calculator

Trial Protocol Designer.

Design reinforcement schedules, build trial state machines, and export Bpod-compatible protocols for operant conditioning experiments.

PrivateData stays in your browser
LiveNo sign-up required
Validated2026-04-08
CitableMethods and citation included

Calculator

Results update in place

Try it out

Load example Trial Protocol Designer data to see the full workflow

Reinforcement Schedule

Reinforcement after a fixed number of responses

Timing Parameters

Schedule Results

Session Duration
10.0 min
600 seconds
Estimated Trials
100
FR5 schedule
Total Reward
1.00 mL
1000 µL

When to use

  • Plan operant conditioning sessions with accurate timing and reward volume estimates
  • Compare reinforcement schedules (FR, VR, FI, VI, DRL, PR) for your experimental design
  • Build and validate trial state machines before programming behavioral control hardware
  • Generate Bpod-compatible state tables and protocol JSON for Sanworks systems
  • Estimate progressive ratio breakpoints for motivation and addiction studies

Do not use for

  • For real-time behavioral control — this is a planning tool, not a runtime controller
  • For complex multi-agent or social behavior protocols requiring parallel state machines
  • As a substitute for pilot testing — actual timing depends on animal performance

Match reward volume to fluid restriction protocol

Calculate total reward volume (trials ×\times volume per reward) before the session. If the total exceeds the animal’s daily allowance, either reduce trials or volume per reward. Exceeding the allowance causes satiety mid-session and corrupts late-session data.

Progressive ratio requires an explicit breakpoint criterion

Without a ceiling criterion (e.g., 5 min with no response), PR sessions run indefinitely. The Richardson-Roberts formula escalates to over 100 responses by trial 16. Define your breakpoint criterion before starting data collection.

Use variable schedules for steady-state responding

Fixed schedules (FR, FI) produce systematic pauses (post-reinforcement pause, scalloping). If you need steady response rates for neural recording, use variable schedules (VR, VI) which produce more uniform behavior.

Validate state machine transitions for completeness

Every state should have at least one outgoing transition. The tool warns about dead-end and orphan states. In Bpod, a state with no exit transition will hang the trial indefinitely.

1

Method

Schedule duration computed from trial count ×\times per-trial timing. Progressive ratio uses the Richardson-Roberts formula (5×e^(0.2n)−5). State machine analysis sums mean state durations (min+max)/2 for non-ITI states. Session estimate = avg_trial ×\times n_trials + ITI ×\times n_trials. Bpod names generated by camelCase conversion. Reference: Richardson & Roberts (1996) J Neurosci Methods.

2

Validated

Last validated 2026-04-08. Calculations are designed for planning and documentation support; verify procurement decisions against manufacturer specifications or institutional SOPs.

3

How to cite

How to Cite

ConductScience Trial Protocol Designer (v1.0). ConductScience, Inc. 2026. Available at: https://conductscience.com/tools/trial-protocol-designer

Richardson NR, Roberts DCS. Progressive ratio schedules in drug self-administration studies in rats: a method to evaluate reinforcing efficacy. J Neurosci Methods. 1996;66(1):1‑1.

Sanders JI, Bhatt DK, Kepecs A. Real-time feedback control of operant behavior using an embedded computing platform. J Neurosci Methods. 2012;205(1):125‑131.

Operant Conditioning Schedule Fundamentals

Reinforcement schedules control when and how frequently responses are rewarded, fundamentally shaping behavior patterns:

Ratio schedules (FR, VR) reinforce after a set number of responses. Fixed ratios produce post-reinforcement pauses; variable ratios produce steady high-rate responding.
Interval schedules (FI, VI) reinforce the first response after a time period. Fixed intervals produce scalloped response patterns; variable intervals produce moderate steady rates.
Progressive ratio escalates the response requirement each trial, measuring motivational breakpoints. The Richardson-Roberts formula (5×e^(0.2n)−5) is the standard escalation function.
DRL reinforces only when responses are spaced by a minimum delay, measuring impulse control and temporal discrimination.

Common Pitfalls in Protocol Design

Several factors can compromise behavioral data quality:

Session too long: Sessions beyond 60–90 min cause satiety and fatigue artifacts. Monitor lick rate and response latency for decline. • Reward volume mismatch: Total session reward must match the daily fluid/food restriction target. Too much causes satiety; too little causes motivational drift. • ITI too short: Brief ITIs cause behavioral carry-over between trials. Minimum 3–5s for operant, 10–30s for Pavlovian. • Missing timeout states: Omitting timeout penalties for incorrect responses reduces discrimination learning speed. • State machine dead-ends: States with no outgoing transitions will freeze the protocol. Always verify every state can exit. • Progressive ratio ceiling: Without a breakpoint criterion (typically 5 min no response), PR sessions can run indefinitely.

Frequently asked

325
Free tools
1,200+
Institutions
100%
Client-side
0
Uploads required