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

The carrier is 38 kHz. Why does the TSOP38238 still drop infrared commands?

After a processor change, a remote transmitter produces 38 kHz, and the receiver sometimes responds at close range. Complete commands still go missing. The receiver examines carrier frequency, burst duration, gaps and envelope duty cycle. Its gain control responds to repetitive signals and interference. A continuous 38 kHz signal is not a valid test of whether the receiver will decode the intended bursts.

Budget carrier cycles and dark intervals together

Vishay's TSOP382 and TSOP384 data sheet specifies suitable data formats. For ordinary short bursts in the TSOP382 series, a burst must contain at least ten cycles, and one with ten through seventy cycles requires a gap of at least twelve cycles. Longer bursts have a separate rule. The series differ in long-burst thresholds and gap requirements. A substitute marked 38 kHz still needs a check against the actual pulse and repeat pattern. Vishay also lists continuous signals among the disturbances the receiver suppresses.

One 38 kHz cycle lasts about 26.316 µs. Ten cycles are about 263.16 µs, and twelve are about 315.79 µs. A transmitter that opens the gate for 220 µs sends fewer than nine complete cycles. Trimming the carrier more accurately does not provide the ten required cycles. A twelve-cycle burst and twelve-cycle gap total about 631.58 µs, or roughly 1,583 repeated groups per second. Verify the receiver's limit for continuous short bursts and envelope duty cycle as well. This example illustrates the timing units. It does not define the protocol's encoding.

Carrier duty and envelope duty describe different things

Carrier duty sets the LED on-time within each burst. Envelope duty is the share of time the carrier runs at all. With one-third carrier duty, sixteen carrier cycles on, and twenty-four cycles off, the envelope duty is 16 divided by 40, or 40%. Total LED on-time is about 13.3%. Compare the correct value with the receiver's envelope curve. LED peak current, average current and heating have their own checks. For repeated commands include the between-frame gap and sustained repeat rate as measured.

Separate PWM and software gating can open halfway through a high period and leave a partial last cycle. A nominal ten-cycle interval may contain fewer than ten complete carrier periods. Gate on a defined peripheral edge where possible and count complete pulses at the shortest programmed burst. After changing the main reference, confirm the carrier divider and envelope timer independently. Observe LED current or a suitable optical point, not just the software marker that enables transmit.

Accept the design under actual repeats

Capture transmitter envelope and receiver output together. Measure output width and delay for each valid burst. The receiver presents a demodulated envelope, so processor timing windows should account for receiver timing and real measurements. Start with the complete command at a suitable bench distance, then add ambient light, angle and long button holds. Preserve the first and last repeated frames. If reception fades after starting, examine optical strength, gain response and envelope compatibility. If the receiver output remains complete, look at decoding and state handling. Retain measured carrier, complete-cycle count, minimum gap and whole-frame reception results so a later oscillator substitution can be checked.

Keep a case with frequent repeated frames and narrow bursts, and verify recovery between the sequences. If the product increases the interframe gap, recheck response delay and held-button repeat behavior in software, not just receiver pulses. An optical window material change also needs a distance check. Fix angle and illumination to separate window attenuation from carrier errors. Feed the original receiver capture to the decoder test so each missing pulse can be attributed to the module or the software window. Record the full receiver suffix and environment.

If two lots behave differently, swap their positions under matched illumination and spacing to see whether the error follows the module.

References

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.