Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Why the Same Resting Stick Values Pass a Circular Dead Zone but Stay Inside a Square One | Crystal & Oscillator Handbook

When you release the stick, the character sometimes moves diagonally forward. Before investigating the crystal, check the two axis values reported by the gamepad. See whether software tests each axis independently or uses their combined distance from center. The same pair of values may be ignored by one rule and trigger movement under another.

Use an owned gamepad and an offline test page. This example does not involve vehicles, industrial controls, or other equipment. Assume a quartz crystal provides the controller’s timebase, with implementation details varying by model. Static centering error, dead-zone geometry, and report timing are separate issues, even if all are described as drift.

Both axes are below the threshold. Why does the input still clear the dead zone?

A stick normally reports a horizontal and a vertical value. A dead zone is a region where small deviations are ignored. Axis-based rules can apply separately to each axis or define a square region. This example ignores the whole input when the absolute values on both axes are at or below the threshold. A radial dead zone uses distance from center and is circular. Using the same number for the square’s half-width and the circle’s radius still produces different results near the corners.

Check whether the actual center offset was subtracted before testing the boundary. If reports consistently show an off-center position after release, increasing the dead zone may hide the fault but also suppress small intentional movements. If the original center is sound and movement starts only after a change in dead-zone shape, investigate the application mapping before returning hardware. Retain both absolute positions and normalized axis values.

A diagonal motion on screen is an interpretation, not proof of physical diagonal movement. The display may scale the axes differently, or the operating system may apply one transform before the game applies another. If the controller performs its own centering, the host sees processed input rather than the sensor’s raw voltage. Note that observation limit if controller diagnostics are unavailable.

Worked example: the square ignores 80 counts on both axes, while the circle does not

Assume a common axis scale. One report after release reads X = 80 and Y = 80, with a dead-zone threshold of 100. Under the square rule, both absolute values are below 100 and the whole input is ignored. With a radial threshold of 100, the distance is √(80² + 80²) ≈ 113.14, which exceeds the threshold. Software can make different decisions from the same report without any change in report rate or reference clock.

Now take X = 80, Y = 0. Its radial distance is 80, so both rules ignore it. Test several points near horizontal, vertical, and diagonal boundaries instead of using a single value after release. Specify whether the threshold comparison is strictly greater than, equal to, or greater than or equal to the threshold. Different boundary rules can turn one count into the difference between movement and no movement.

These are synthetic inputs and illustrative thresholds, not settings for any game or controller. Real software may renormalize at the boundary, apply a response curve, or zero small axis values separately rather than ignoring the whole vector. A mathematical rule changes how static drift is interpreted. It cannot repair the mechanical or electrical cause.

Replay the same input to separate hardware from mapping

First collect the host-accessible axis reports and report sequence numbers without running a game. Record released position, slow movement on one axis, and returns to center using supported controls. Keep several independent segments for each action. Release from the left and right may differ. Avoid actions that might damage the mechanism or use unsupported firmware interfaces.

Replay the same sample through the two offline mappings. If unchanged input produces different movement or direction, check dead-zone geometry, center correction, and scaling. Then compare two units with the same revision and record values before and after mapping. If one unit alone remains off-center in the raw reports under the same mapping, investigate that sample, the mechanism, or the sensor data path.

CheckWhat to keepWhat it helps answer
Raw reportsBoth axes, sequence numbers, units, and stationary and return segmentsWhether the gamepad already reports an offset
MappingSquare or circular rule, threshold, center, and rescalingWhy the same input produces different movement
TimingReport intervals, sample age, and setting change timesWhether the issue is static offset or uneven updates
AcceptanceMinimum intentional movement and no false motion at restWhether a wider dead zone is harming low-amplitude control

Record movement onset and the point where motion stops after release separately. Some applications use different entry and exit thresholds to prevent toggling. If the same point gives a different result when moving toward versus away from center, check the processing rule against the raw sample before attributing it to hardware lag. Keeping the raw center, observed input boundary, and application output in one test plan helps identify the source of hysteresis.

When should purchasing consider a 12 MHz part?

Taiwan-based TAITIEN’s XY series is a passive surface-mount quartz crystal family whose frequency range includes 12 MHz. It is a candidate for designs using a matching oscillator circuit. That does not establish the part fitted to any gamepad or guarantee the availability of a particular version. Confirm the full order code, load capacitance, equivalent series resistance, drive conditions, temperature range, and package. Engineering should verify startup and frequency on the actual board under controlled conditions. The frequency table for a passive crystal does not specify a logic clock output.

Prioritize the crystal and its circuit only when report intervals or acquisition state are abnormal, or when there is a reproducible clock fault. A tighter crystal cannot change how software classifies a static offset. Specify both no false movement at rest and detection of the required minimum intentional motion during unit-level acceptance.

If the axes use different scales, normalize them before comparing circular and square rules. If one full-scale range is twice the other, computing distance from the raw values makes one direction cross a boundary more easily. Record center offsets, positive and negative usable ranges, and normalized values separately. Test axial limits, diagonals, and points near center after release. If software applies centering and scaling in a different order, compare those steps as well.

For lot acceptance, a stationary reading from one sample in one position is insufficient. Record sample identifiers, approved firmware, test conditions, and the direction of motion before return to center. That helps separate a common mapping problem from centering differences in individual units. Avoid using a fleet-wide software change to mask a mechanical defect in a few samples.

Frequently asked questions

Will making every dead zone larger eliminate drift after release? It may suppress small offsets, but it may also filter intentional small movements. Check hardware centering first, then set the boundary against the application requirements.

Do different results on two computers prove the gamepad hardware is fine? No. Give both computers the same input, record versions and settings, and compare the raw data. If the inputs already differ, check the driver, mapping layer, and sample state.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.