5 ms·
TCXO Failure Analysis
- kentrf 8mo agoInteresting writeup! Today I learned about TCXO. If anyone else are curious, that component cost about $2 per piece.
- the__alchemist 8mo agoYea! Useful if you need precise timing under temp swings. I use them for UAS LoRa radios. Def more expensive than a normal XO!
- jacquesm 8mo agoBut cheaper than OCXO and far less power consumption too. Also (much) less stable.
- galangalalgol 8mo agoCompensating for the temperature will never be as accurate as actually controlling it (O is for ovenized). I keep reading about chip scale atomic clocks coming down in price but I've yet to see them as the oscillator in anything mass produced.
- flyinghamster 8mo agoIt's also something you want to look for if you're buying an SDR. Getting one with a TCXO will eliminate frequency drift, and the better-made SDRs will also have little or no need for frequency correction.
- Neywiny 8mo agoCan't comment on the wire bonding quality but yes you're not supposed to sonic wash anything with an oscillator. This includes ultra and mega sonic. I had always thought it was because you could damage the crystal or mems structures, so color me surprised to see this failure mode, though there still could be a shift in frequency that the scoping wasn't able to see. I tried looking at an exemplar ECS tcxo datasheet and didn't see anything in there about washing which is surprising but it also doesn't say not to crush it with a hammer so maybe it was assumed. That's bad on them. As for SMA to 0.1" headers: yes these are very cursed. But RF designers love putting SMAs for every connector on an eval board (power, enable, whatever) and those come in handy.
- myself248 8mo agoI've always been cautioned against ultrasonic cleaning of boards that have crystal oscillators, and indeed it's in most XO datasheets. I've also heard that one shouldn't trim the leads of a through-hole XO before soldering it into the board, since the mechanical shock of the lead breaking can ring the whole package and similarly shake it apart. I'm curious if anyone here has seen that in practice!
- the__alchemist 8mo agoI went down this rabbit hole a few years ago, and couldn't find an actionable answer on if this is OK or not. Sounded like "No, you shouldn't", but almost every PCB I've designed (or used?) has at least one, and I know ultrasonic cleaning is a thing, so I'm not sure how to reconcile these.
- ACCount37 8mo agoThere is no single answer. It depends on the exact components, their sensitivities, frequencies and energies used, and how much failure risk are you willing to take. Rule of thumb: one simple xtal per board in small manufacturing runs (4 digits or less) means you're fine. The larger your manufacturing runs are, and the more sensitive components you have on your boards, the more careful you want to be. Components can easily make the difference between 0.2% failure rate and 2% failure rate, and that 2% failure rate bites when you push units by hundreds of thousands. Of course, there's always a chance of you getting a perfect match of the exact intensity and frequency used on a given manufacturing line, which you didn't know, with what happens to kill your specific components at a disproportionate rate, which you also didn't know. But it's a pretty low chance. Feeling lucky? Because yes, it's not actually worth the engineering/support effort for you, your manufacturer and your part vendor to actually put the thinking cap on and characterize all of that shit for a typical low volume run. So luck it is.
- jacquesm 8mo agoOh, that's a good one, I can see how that would put a lot of g's on the package. I think this will be a factor depending on the weight of the total assembly. If that weight is significant it will dampen the shockwave.
- jacquesm 8mo agoThat's a very cute domain name. Thank you whoever wrote this up and posted it, I'm in the process of building something that has a crystal on it and I did not realize this was a risk.
- _Microft 8mo agoThat's a website of Andrew Zonenberg if that name rings a bell. https://news.ycombinator.com/user?id=azonenberg https://news.ycombinator.com/user?id=azonenberg
- jacquesm 8mo agoIt did not, thank you for the pointer, amazing stuff he's working on. We also appear to be buying from the same supplier (Leo Bodnar).
- namibj 8mo agoThe divide by two is to get the quartz small enough to fit that package.
- superxpro12 8mo agoIs there some kind of inverse relationship between resonant frequency and crystal size?
- namibj 8mo agoYeah, the resonant waves tend to be surface flexing (the top side expanding the bottom contracting and thus the sheet as a whole bending; and ofc vise-versa) which has a natural frequency related to the lever arm length amplifying the moving mass vs. the more centrally located elastic crystal lattice deformation forces acting as the spring. At least that's my recollection on the mechanics of these types of resonators; the general frequency of period being proportional to length and thus your observation holding is fairly universal, though. The 32kHz tuning forks btw use a torsional vibration mode thus not needing to be as massive as linear scaling would leave you to assume.
- myrmidon 8mo agoOn the origin of OXCO (for oven controlled crystal oscillator): The base abbreviation is "Xtal" (for crystal) and predates modern electronics by quite a bit (was already used before 1900 in geology etc). The author linking this to Xmas (indirectly, "Christ") via the the greek Chi (Χ) is very likely correct. In electronics this weird abbreviation (X for crystal) is further helped by the fact that "C" is completely taken by "capacitor" (an even more important passive component).
- ACCount37 8mo agoAmusingly, "crystal oscillator" can be both "X" and "Y" in schematics. "X" because "xtal", and "Y" because of the distinct shape of a tuning fork.
- SAI_Peregrinus 8mo agoEven more amusingly, only low-frequency crystals (very often 32.768kHz) are tuning-fork cut, high-frequency resonators use other shapes. Pedantically most of them aren't crystal oscillators, merely crystal resonators. Oscillators begin oscillating on their own when a DC voltage is applied, they usually are 3-pin or 4-pin devices with power input & oscillating outputs. 2-pin crystal resonators merely act as high-Q filters in an oscillator circuit, they still need other components to drive the oscillation.
- ACCount37 8mo agoA lot of "exposed bonded die" packages caution against using ultrasonic cleaning. This is especially true for TCXOs, which also have the entire loose crystal in them on top of the controller die, and for MEMS mics, which are designed to be sensitive to vibration. But it's also true for things like common CMOS image sensors, which are "exposed die", but not mechanically sensitive otherwise. Bond wires that are hanging midair instead of being pinned in place by package epoxy don't vibe with ultrasonic cleaning methods. The risks are usually small, mind. Which is why prototyping teams and repair shops often use ultrasonic cleaning regardless. But in actual mass manufacturing, you really don't want to risk that extra 1% failure rate. So you either ask the vendors for "safe" values and dance around those energies and frequencies, or avoid ultrasonics altogether.
- superxpro12 8mo ago"...dont vibe with ultrasonic cleaning...." Quite to the contrary, they DO vibe. Destructively :\
- dlcarrier 8mo agoI worked somewhere that accidentally ultrasonically washed a product batch with crystal oscillators in them, and the failure rate was probably even higher than 1%. It was very immediately noticeable when testing the product. There was also an above-average failure rate in the PMIC inductors. After that, we moved the ultrasonic cleaner to a back room.
- ACCount37 8mo agoJust one XO per board is usually quite safe, but you do get those freaky highly sensitive outliers every once in a while. There are methods to reduce the risks.
- rmast 8mo agoInteresting how the depackaging was done - curious what the mill setup was looked like. It seems like achieving .001” on manual mills isn’t uncommon; which would be about 25 micrometers, so in line with the depth of passes that were being taken here. I can see how the magnified view of the part would be helpful.
- showerst 8mo agoA thou on any decent mill is no problem. Given the teeny tiny endmill the author was using, I suspect they were using a small mill with a very fast spindle. Maybe something like a Taig or a Sherline. Edit -- I see on another post the author has a Sherline 5400 mini mill.
- jmole 8mo agoThis article is a good reminder that essentially everything in your computer boils down to really precise mechanical engineering.
- JanoMartinez 8mo agoInteresting thread. I had heard similar cautions about ultrasonic cleaning with certain MEMS sensors, but I didn't realize the same concern could apply to exposed-die CMOS sensors as well. Is the main risk the resonance frequencies of the bond wires, or more about mechanical stress propagating through the package?
- jnd-cz 8mo agoThe digital part of TCXO is interesting. It must be some simple microncontroller with lookup table that steers the frequency back to nominal value. These days you really have computation in many basic components, from crystals to flash memories.
- jacquesm 8mo agoYes, the typical way this works is that the lookup table is programmed during device calibration and that the microcontroller has a temperature sensor attached and uses a varicap to drive one of the two capacitors attached to the crystal (usually through a coupling capacitor to avoid loading up the circuit too much). This is nice because it will help to keep the crystal on track but a lot depends on the time constants of the control circuit whether or not the Allan Deviation of the circuit as a whole is going to be acceptable across all applicable timescales. As a domain this is both fascinating and far more complex than I had ever imagined it to be, but having spent the last couple of months researching this and building (small) prototypes I've learned enough to have holy respect for anything that doesn't have an atomic clock in it and that does better than 10^-7. That is a serious engineering challenge especially when you're on a tiny budget. If you can use a GPS disciplined oscillator then that's one possible solution, but there to you may see short term deviations that are unacceptable even if the system is long term very precise.
- avian 8mo agoIs there really a microcontroller in there? As in a general purpose microprocessor core executing machine code in ROM? Any references for that? I find it baffling that this would be cost effective. Maybe by dropping in a CPU core and software you save some design cost vs. a more specialized IC. But it must be more expensive per unit to manufacture in a process where you can fit in all those transistors. And these things are manufactured in such quantities that design costs must be a pretty minimal part of the final part price. This used to be implemented as a purely analog control loop, i.e. opamps and such. After all TCXOs predate the age of ubiquitous CPUs by decades. Even if there is a need for a factory-programmed temperature calibration curve, there are techniques where it can be implemented in a pure analog way, or in a dedicated digital circuit where the transistor count will be much lower vs. a general purpose CPU core.
- geocrasher 8mo agoAt first, I felt smart about knowing what a TCXO is. Then, it went downhill from there. Great analysis. I figured it would have been the heater component that failed, then reading the comments here, I realized I'd conflated TCXO with OCXO. Similar but not. I tried :D
- kens 8mo agoThe article asks about the etymology of X for crystal. I looked into that a while ago. The abbreviation "xtal" has been used for "crystal" since the 1800s in medicine, geology, and chemistry, and then electronics copied the usage. This comes from the earlier use of X for the "christ" sound, as in "xmas", which goes back to the 16th century. As the article suggests, the Greek chi (Χ) is the root.