Control Response Lab

Control Response Lab

Explore one precisely defined continuous-time control family: a first-order plant P(s)=K/(τs+1), proportional controller C(s)=Kc and constant feedback gain h. The open-plant reference response and closed-loop reference response are computed from exact formulas with zero initial conditions. Inspect the pole and Bode plots before treating a design as stable; this is an educational model, not a physical safety certificate.

1. Plant and feedback model

All gains are dimensionless; τ and the plotting horizon are seconds. Frequency bounds are hertz. Negative K or Kc can invert the response; h is a nonnegative feedback gain.

P(s) = K / (τs + 1)C(s) = KcT(s) = KcK / (τs + 1 + KcKh)

The blue open trace uses P(s) alone; orange uses the proportional controller and negative feedback. Linear time-invariant continuous-time model, zero initial state, no delay or saturation. Unstable growth is bounded to a safe plotting horizon.

Set a first-order process and run analysis.

Comments & questions

Control Response Lab

Explore one precisely defined continuous-time control family: a first-order plant P(s)=K/(τs+1), proportional controller C(s)=Kc and constant feedback gain h. The open-plant reference response and closed-loop reference response are computed from exact formulas with zero initial conditions. Inspect the pole and Bode plots before treating a design as stable; this is an educational model, not a physical safety certificate.

Key features

  • Exact open-plant and closed-loop unit-step or scaled-step traces over a chosen horizon
  • Frequency magnitude in dB and phase in degrees using s=j2πf, with frequency in hertz
  • Closed-loop pole, stability classification and algebraic DC transfer value
  • Explicit stable, marginal and unstable examples, including a right-half-plane pole
  • Editable plant, proportional controller, feedback sensor and reference amplitude
  • Local standalone SVG charts and numeric CSV traces

How to use

  1. Start with the stable preset or enter a first-order plant gain K and positive time constant τ in seconds.
  2. Enter proportional gain Kc, nonnegative feedback gain h and the reference amplitude. Choose the time horizon and positive frequency bounds in hertz.
  3. Run analysis to derive the open and closed transfer functions, exact step responses and complex frequency responses.
  4. Read the closed-loop pole: a negative value is asymptotically stable in this model, zero is marginal and positive is unstable. Compare the open and closed charts.
  5. Download the SVG charts and CSV samples if you need a reproducible record of the configured experiment.

Use cases

  • See how proportional feedback moves the pole of a first-order process
  • Compare transient speed against the changed closed-loop DC value
  • Recognize a right-half-plane pole caused by a chosen negative controller gain
  • Check how magnitude and phase change across a specified frequency band

Frequently asked questions

Can I enter an arbitrary transfer function or a PID controller?

No. This version analyzes P(s)=K/(τs+1), C(s)=Kc and a constant feedback gain h only. It assumes continuous time, linear time-invariant behavior and zero initial conditions; it does not solve arbitrary higher-order or delayed systems.

What exactly is shown in the two response traces?

The blue trace treats the reference as the direct input to P(s). The orange trace is reference-to-output T(s)=KcK/(τs+1+KcKh) in a negative-feedback connection. The controller changes the forward gain, so the traces are compared as two explicit configurations rather than pretending they share identical actuation.

How is stability decided?

The sole closed-loop pole is -(1+KcKh)/τ in reciprocal seconds. A negative pole is asymptotically stable, zero is marginal, and a positive pole is unstable for this modeled state. The algebraic DC transfer value of an unstable case is not a settled output.

Why can the step plot stop before settling?

The plot ends at the time horizon you entered. The displayed 2% settling estimate is derived from the stable exponential pole, not from the last sampled point. It is undefined for marginal or unstable settings.

Is this suitable for a real plant or safety decision?

No. It omits delay, saturation, disturbance, noise, uncertainty, higher-order dynamics and actuator limits. Validate any physical controller with measured plant data, independent engineering review and appropriate safeguards.

Are the parameters uploaded?

No. Analysis and file creation run locally in this browser tab. The parameters are not submitted to a tool API.

Privacy

The entered parameters and calculated traces remain in browser memory. This tool has no parameter-upload endpoint; SVG and CSV files are created only when you request a download.

Related Tools

Function Graph WorkbenchImpulse Response LabAudio Spectrum AnalyzerWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →