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

Diagnosing Touch False Triggers During Charging With Counts, Baselines, and Thresholds | Crystal & Oscillator Handbook

The touchscreen works on battery but sometimes registers false touches when powered by a charger. Apply the same touch and compare the controller's raw counts, baseline, threshold, and events. If count noise grows when the power mode changes, start by finding how interference reaches the sensing circuit.

This independent low-voltage panel is used in portable test equipment. Observe only development units and approved charging conditions. Leave the adapter shut, exposed mains points untouched, and grounding unchanged. The panel does not control other equipment during testing. The 8 MHz crystal may clock only the processor or may contribute to touch scanning through the clock tree. Some touch controllers use their own timebase, so first confirm the actual design from board documentation.

Lower touch margin and false threshold crossings can produce similar symptoms

Capacitive touch controllers repeatedly measure a count related to capacitance and use the baseline, threshold, and confirmation logic to detect a touch. The baseline represents the current untouched reading. Some designs report higher counts on touch and others lower. Determine the sign and meaning of the captured value before interpreting it.

Connecting a charger can change the ground reference and environmental coupling. Supply noise can also enter through power or signal paths. If the raw count variation increases and intermittent touches are reported, start with sensing margin and noise. If raw data and the controller's touch state remain stable but the interface jumps, check event coalescing, duplicate reports, coordinate mapping, and application behavior. A visible click alone cannot distinguish those classes of fault.

Some controllers can change or hop sensing frequencies to reduce sensitivity to interference at particular frequencies. That sensing setting is distinct from the main board crystal's condition. If one setting looks quieter, retest it with other factors controlled and measure the effect on sensitivity, response time, and consumption. A hidden symptom is insufficient for approval.

Run three comparisons and record four traces on the same panel

Start on battery. Record raw counts and touch states without contact, then collect repeated samples using an approved test point and consistent contact action. Record application events independently from the raw-state definition. Next, use the approved charging setup and keep panel position, touch tool, brightness, wireless state, and script as consistent as possible. If the product design permits, use a second approved, known-good compatible charger for the third run.

Record baseline, raw data, and final touch events in all three runs. If input supply or clock states are observable, record those and the entry and exit times for charging. Note whether false touches occur only at transition. Instruments can affect ground or noise along the cable, so document their connection points and any extra reference path. Keep a grounded debugger connected consistently across comparisons to avoid attributing its effect to charging.

ObservationWhat to recordNext check
Untouched count variationSame observation duration, position, and firmwareSee whether noise reaches the threshold
Count change with touchTest location, cover glass, and device stateEstablish the minimum discernible touch
Controller reports and app eventsTime, position, state, repeatsDistinguish sensing errors from application processing
Working clockClock source, modes before and after charging, valid test pointsConsider replacement if the actual clock is abnormal

Example: a 15-count noise peak can cross a 12-count threshold

Suppose the controller enters a candidate state at +12 counts from baseline, then requires three consecutive confirmations. In battery mode the untouched peak is +4, and a normal touch is about +30. While charging, an untouched positive peak can reach +15 and sometimes cross the entry threshold. A single peak does not establish a false report. Check how long each crossing lasts, whether the baseline follows, and whether the confirmation rule is met.

Raising the threshold to 18 could suppress the observed false touches if untouched peaks stay at or below 15. A light touch in the least favorable position may yield only 16 counts and become undetectable. Test the weakest valid touch and longest interference event before changing the threshold. The sample counts and confirmation rule illustrate the trade-off and do not set production controller thresholds.

Confirmation also takes time. With one scan every 5 ms, two scan periods, or 10 ms, elapse from the first crossing observed to the third confirmation. This excludes the phase delay from the actual touch to the first observation and any application delay. If the interface merely seems slower while charging, check both the raw states and scan intervals before attributing it to a slow crystal. Use the actual controller's definition for its scanning and debounce behavior.

The 8 MHz order line describes only one condition on the clock path

Mainland China supplier SCTF's 3X series of surface-mount quartz crystals covers the example's 8 MHz frequency. This passive part needs a compatible oscillator circuit to produce a logic clock. For a substitution, verify both full order codes, frequency, load capacitance, equivalent series resistance, drive requirements, temperature range, package, and land pattern. A family range does not establish that every combination is orderable or has stock or a given lead time.

Engineering should confirm startup, steady-state frequency, and clock destination from actual board data. Choose a probe method that will not materially disturb the circuit. If the controller uses an independent sensing timebase, the processor reference may have no direct effect on raw touch counts. Trace the relevant sensing input path. If power changes coincide with processor resets or a confirmed loss of clock, retain synchronized power, reset, and clock traces before deciding on a component comparison.

Panel acceptance should cover approved charging conditions, no-touch behavior, the lightest valid touch, and maximum permitted latency. The lead, adapter, and cover are all system test conditions. When comparing crystals, keep the power setup and touch configuration fixed. Set distinct limits for false touches, light-touch detection, and response time so that reducing sensitivity does not create a misleading pass.

For retesting, use fixed positions at the center, corners, and near seams. Record whether a light touch is detected and whether untouched peaks cross the threshold in each position. If the fault occurs only with one cover revision, have mechanical engineering check that variable separately so that a software adjustment does not hide an assembly difference.

Frequently asked questions

Will a tighter-tolerance crystal make touch sensing more immune to interference? Frequency error and noise in the measured counts are different issues. First establish whether the crystal participates in sensing, then verify voltage levels, frequency, and scan settings on that path.

Is a false touch at plug-in the same as false touches throughout charging? At plug-in, align supply switching, baseline reestablishment, and event timing. During steady charging, compare count noise, worst-case positions, and the trigger path. Keep separate records.

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.