← Feocey Blog

Engineering Notes

How to Measure Scan-to-Door Timing on a QR Code Access Control Reader

Measure QR scan-to-door timing from a fixed presentation point to verified release. Use six checkpoints, a 30-attempt worked example, and a slow trace to find the delay.

A test-door strike and door-position contact beside a low-voltage event logger.

A QR code access control reader can acknowledge a test pass while the person at the door is still waiting. To find the delay, time the entire attempt from a repeatable presentation point to verified release. Then use the reader indication, host record and controller record to locate the part that grew slower. A beep can mean the reader recognized a code or received a configured response. A controller acknowledgment can confirm receipt of a request. Each signal answers a different question from whether the door hardware released.

Define release before you start the stopwatch

Choose a supervised pilot entrance or an approved bench assembly. Use a synthetic pass and reproduce the intended reader, controller, host and locking hardware configuration. On a bench fixture, an installer can verify release with a visible mechanical indicator or a documented lock-state output. Take that as the endpoint and write down exactly how it was observed. If the installed door exposes only a door-position contact, report presentation to door movement and use a consistent opening procedure. The result then includes the tester's response and the contact's switching point. If the project cares about passage through the entrance, make that a separate test with its own endpoint.

The FC7735 is one example of a recessed wall reader that accepts printed and phone-screen codes and provides light and sound feedback. Before mapping a light or beep to successful decoding, check the behavior of the ordered mode and firmware. A host-controlled setup can return feedback after the host has already acted. If the controller decides locally, include its policy marker where available instead of inventing a separate host decision. FC7735 specifications · FC7735 user manual

Hold the setup steady before testing real arrivals

Mark a repeatable position for the test pass and point a camera where it can see both that mark and the visible release indication. Run a baseline with the same pass medium, reader mode and door state. Give each attempt a run ID and a sequence number. Let the door or fixture return to its agreed starting position between trials and record first passes separately from re-presentations.

Run separate sets for the conditions the buyer actually needs to compare, such as printed badges, phone screens, the first attempt after a planned idle period, and repeated authorized arrivals during a representative busy period. Change one condition between comparison sets. Record the phone display setting or printed stock, test position, door state, and hardware and software revisions. If people present passes more slowly under normal use, report that as its own field result. This lets you distinguish a change in user interaction from a change in equipment timing.

Read one attempt from presentation to release

The example below traces one approved bench attempt. The numbers are illustrative and show how to read observations from different systems. Record the actual sequence for your configuration, including any events you cannot observe.

Six checkpoints from test-code presentation to a verified mechanical release in an illustrative 500 ms trial.
Illustrative bench attempt. The camera, host and controller contribute different observations. Door movement and passage are measured separately.
Six timestamps from one illustrative bench attempt
MarkerElapsedEvidence
T0 · Code in fixed pose0 msFirst frame with the whole test code at the presentation mark.
T1 · Reader feedback133 msRecorded indicator whose meaning was checked for this configuration.
T2 · Host receives event153 msHost intake event tied to the same attempt.
T3 · Host sends release request390 msHost records the approved request going out.
T4 · Controller acknowledges423 msSupported diagnostics record the request being acknowledged. An output-state event would be a separate observation.
T5 · Visible mechanical release500 msCamera records a change in the approved fixture’s visible release indicator.

Here the total elapsed time is about 500 ms. In the host's own record, intake through request took 237 ms. That interval includes whatever work the host performs between those events. The 77 ms after controller acknowledgment includes time after the controller recorded that event. Classifying it as mechanical delay would require separate evidence of when the output changed and when the mechanism released.

Compare timestamps only as precisely as the evidence allows

Use one recording for presentation and visible release if practical. Frames from a 60 fps recording are about 17 ms apart. Check that the video preserves the recording frame rate and use frame timestamps if available. Report realistic precision. For a timing comparison within one host process, prefer a supported elapsed-time timer. For a comparison between video and either log, establish a reference event both sources observe, then repeat it at the end of the run to check offset drift. Include display delay or event-detection delay if the reference passes through either.

Use the test attempt ID to pair the rows. Clock alignment is a separate check. If the sources can only be aligned to within about 40 ms, a 20 ms difference between reader feedback and host receipt is too small to assign to transport. Record it as unresolved and use the complete presentation-to-host interval until there is a better clock reference. Leave a missing field blank with a reason and use the nearest verified boundary. The OpenTelemetry trace specification explains why timestamps from different processes cannot, by themselves, establish precise order. Its engineering discussion about event timing covers devices that timestamp events outside the host process.

Report successful times and missed releases together

Define the completion window before collecting data. In one illustrative run with a two-second window, 28 of 30 approved attempts reached visible release. There was one attempt with no decode observed and one approved request with no verified release. The completion rate was 28/30, or 93.3%. The completed attempts ranged from 360 to 1,100 ms. Their nearest-rank P50 was 500 ms and their P95 was 920 ms.

Cumulative timing for 28 verified releases in 30 attempts. The median is 500 milliseconds and nearest-rank P95 is 920 milliseconds.
Twenty-eight verified releases ranked by elapsed time. The 14th took 500 ms and the 27th took 920 ms. The two unverified releases remain in the attempt count.

To reproduce P95, sort the 28 completed times from fastest to slowest and round 0.95 × 28 up to rank 27. For P50, use rank 14 under the same convention. This is one of several percentile methods. Record which you used and state that these percentiles describe completions only. If the pilot criterion were 29 of 30 verified releases and a P95 no higher than one second, the example would meet the timing criterion and miss the completion criterion. Give expected denials their own test set and verify the configured response separately. R sample quantile definitions.

Use a slow trace to decide who investigates

Compare one representative attempt with one slow attempt under the same conditions. Suppose the 920 ms attempt reaches host intake at 155 ms and its approved request leaves at 800 ms. On that host clock, intake through request took 645 ms, versus 237 ms in the 500 ms attempt. The measured extra 408 ms in this interval explains most of the additional wait in the example. Ask the host owner to split its own elapsed time into parsing, policy checks and calls to other services before changing the reader or door hardware.

  • Most of the delay is before host receipt. Review the test position, confirmed decode evidence and accepted payload boundary with the reader integrator. Preserve any combined interval whose individual pieces could not be timed.
  • The controller confirms receipt quickly, but release is late. Ask the installer for documented output-state and mechanical evidence from the same trial. Door-position records can help with movement when that is the endpoint.
  • The problem only appears at busy times. Preserve the test pacing and condition labels. Keep the completed percentile, missed-release count and slow trace together so a second team can reproduce the run.

Send the two traces and the configuration list with the support request. For mismatches at host input, see the guide to preserving QR payloads from scan to host. For work before the timing test, use the FC7735 visitor access field checks to confirm how readers handle your actual phone screens and printed passes.

References

  1. FC7735 user manual
  2. OpenTelemetry trace data model
  3. engineering discussion about event timing
  4. R sample quantile definitions

Put the guide to work

Find the reference for your model.

Compare each device with your requirements. Confirm configuration and compatibility for the complete installation.

Discuss your project ↗

Interested in this guide?

Tell us the model and quantity.