Posts Tagged ‘pld program copy’
From One Part to Ten Thousand: Four Sources of Copy Distortion
A copied device that works is evidence about one device. The step from one to ten thousand changes the question from whether the copy works to whether the process that produces copies works, and those are different questions with different failure modes.
Four sources of variation appear at volume, and all four are invisible in a sample of one. Each has a symptom and each can be measured before the run rather than after.
Source one: batch variation in the silicon
Devices from the same design differ between wafers and between lots. Threshold voltages shift, oscillator frequencies differ, and analog characteristics move within the process window.
For a copy, the consequence is that calibration values taken from one device are valid only for devices close to it in the distribution. A value that is correct for a device at the centre of the distribution may push a device at the edge outside specification.
| Variation | Magnitude | Effect on a copied calibration |
|---|---|---|
| Internal oscillator | ±1 to ±5 percent uncorrected | Larger frequency error |
| Reference voltage | ±1 to ±2 percent | Measurement error |
| Analog offset | Millivolts to tens of millivolts | Zero-point error |
| Threshold voltage | Tens of millivolts | Timing margin |
The first row is the one that produces customer-visible failures. A product whose timing depends on the internal oscillator will have units that communicate at slightly different rates, and the ones at the edge of the distribution will fail to communicate at all.
Source two: programmer calibration
The equipment that writes the device has tolerances of its own: the programming voltage, the timing of the write pulses, and the accuracy of the verify threshold.
These matter because the write margin is finite. A device programmed at the low end of the voltage window has cells that are less deeply programmed, and those cells are the ones that lose their state first as the product ages.
| Parameter | Typical tolerance | Consequence |
|---|---|---|
| Programming voltage | ±2 to ±5 percent | Reduced write margin |
| Pulse timing | ±5 percent | Marginal cells |
| Verify threshold | ±1 percent | Escaped weak cells |
| Contact resistance | Varies with the socket | Intermittent failures |
The fourth row is the one that appears as a mystery. A socket with worn contacts produces units that program successfully and fail in the field, and the failures are attributed to the devices rather than to the socket.
Source three: early-life failure
A fraction of any population fails early. The mechanism is a latent defect that the manufacturing test did not excite, and the fraction is typically between a tenth of a percent and a few percent depending on the process and the stress.
A copying process does not inherit the original manufacturer’s screening. If the original product was burned in and the copy is not, the copy’s field failure rate will be higher, and the difference will appear in the first months.
| Screening | Removes | Cost |
|---|---|---|
| None | Nothing | Field failures |
| Temperature cycling | Marginal solder and package defects | Equipment time |
| Burn-in at temperature | Early oxide and metal failures | Equipment time and sockets |
| Extended functional test | Marginal analog and timing | Test time |
The fourth row is the cheapest effective screen for a copied product, because the failures that matter are usually functional rather than structural.
Source four: peripheral tolerance
The firmware compensates for the components around it, and those components have tolerances that the compensation was designed for.
A firmware whose timing assumes a crystal with a twenty-parts-per-million tolerance will misbehave with a fifty-ppm part, not because the firmware is wrong but because its assumption was violated.
| Component | Assumption in firmware | Substitute effect |
|---|---|---|
| Crystal | Tolerance and load capacitance | Frequency error, start-up failure |
| Sensor | Sensitivity and offset | Measurement error |
| Regulator | Ripple and transient response | Resets under load |
| Connector | Contact resistance | Communication errors |
The third row is the one that is hardest to diagnose, because a reset under load looks like a firmware fault. The measurement that identifies it is a scope on the supply during the load transient, not a review of the code.
How to test a process rather than a unit
The test has to sample the process, which means multiple units from multiple batches, exercised across the specification rather than at a nominal point.
| Test | Sample | What it catches |
|---|---|---|
| Functional at nominal | Thirty units, three batches | Systematic errors |
| Functional at limits | Ten units, temperature extremes | Marginal design |
| Timing across the supply range | Ten units | Regulator interaction |
| Analog accuracy against a reference | Thirty units | Calibration validity |
| Extended run | Five units, a week | Early-life failure |
The second row is the one that finds the failures that a nominal test hides. A product that works at room temperature and nominal supply is a product that has been tested at the easiest point in its envelope.
What the numbers look like
For a product with an internal oscillator calibrated by copying, the distribution of frequency error across thirty units from three batches gives an immediate answer.
| Result | Interpretation |
|---|---|
| All within specification | The calibration transfers for this population |
| A few outside | The population is wider than assumed; calibrate per unit |
| A cluster at one edge | A batch effect; check the lots |
| Wide spread with no cluster | The calibration is not the dominant term |
The second row is the one that changes the plan. A calibration that transfers for most units and not all is a calibration that has to be verified per unit, which is a test step rather than a design change.
What the deliverable should contain
A process specification rather than a device specification: the sample plan, the acceptance limits, the measurements to make, and the action to take when a measurement is out of limits.
| Item | Purpose |
|---|---|
| Sample plan | How many units, from which batches |
| Acceptance limits | What counts as a pass |
| Measurement list | What to measure and with what |
| Action on failure | Recalibrate, rework, or reject |
| Record | Traceability per unit |
The fifth item is the one that makes a volume run defensible. A record that ties a unit to its measurements is what allows a field failure to be traced to a batch, and it is the difference between a production process and a batch of units.
Where this fits
The causes of a copy that fails immediately, rather than at volume, are in copy failures, and the lifecycle conditions that determine whether the copies can be updated or serviced are in copying MCU firmware.
The reading that produces the source image is in extracting MCU firmware, and the calibration question in its per-device form is in rebuilding from a reference part.
What we deliver is the sample plan and the interpretation of its results. What we do not deliver is an assurance based on one unit, because one unit is not a process and the failures it cannot reveal are exactly the ones that appear after the run.