In my previous guide, I showed you how to design a high-redundancy Flight Controller (FC) using 2 IMUs and 2 Barometers. But having multiple sensors is useless if the "brain" doesn't know how to merge their data. If one IMU is vibrating and one Barometer has a pressure spike, which one should the drone trust?
This is where the Extended Kalman Filter (EKF) comes in. It is the gold standard for state estimation in modern UAVs.
What is EKF and Why "Extended"?

A standard Kalman Filter works perfectly for linear systems. However, drones are non-linear; rotating a drone by 90 degrees involves trigonometry (sin, cos), which creates curves, not straight lines. The Extended part of the EKF uses a mathematical trick called "Linearization" (usually via a Jacobian matrix) to handle these complex movements.In your custom FC, the EKF performs three main tasks:
- Estimation: It guesses the drone's position, velocity, and orientation (Attitude).
- Prediction: It uses your IMUs (Accelerometer and Gyroscope) to predict where the drone will be in the next millisecond.
- Correction: It compares that prediction with "Truth" sensors like your Compass, GPS, and Barometers to fix any errors.
This images shown the basic loop of a Kalman Filter: Predict (Time Update) and Correct (Measurement Update).

Managing 2 IMUs and 2 Barometers
When you have a redundant setup like the one I designed, the EKF becomes a "Manager." Most advanced firmwares (like ArduPilot or PX4) actually run multiple EKF instances simultaneously.
IMU Blending
The EKF calculates the Innovation for each IMU. Innovation is simply the difference between what the IMU says and what the other sensors (GPS/Baro) expect.
- If IMU1 has high vibration, its Innovation Variance will increase.
- The EKF will automatically "weight" the data more toward IMU2.
- This prevents a single sensor failure from causing a "flyaway."
Barometer Voting
With 2 Barometers, the EKF compares the pressure altitude. If one Barometer is placed near a hole in the frame and experiences "wind buffeting," the EKF detects the noise and relies on the cleaner Barometer.
Key Parameters for Your Code
When programming your EKF, you need to define Noise Density for your specific hardware. For example, if you are using an ICM-42688-P or MPU6000, you should look at the "Spectral Noise" section of the datasheet.
| Parameter | Recommended Value (Standard Units) |
|---|---|
| Gyro Noise | 0.005 deg/s/sqrt(Hz) |
| Accel Noise | 0.5 m/s/s |
| Baro Noise | 2.0 meters |
| EKF Period | 10ms |
If you use a decoupling capacitor like a 22uF or 100nF near the IMU power pins, you can lower the "Noise" value in your EKF code, making the drone much "snappier" and more stable.
This images shown the Noise Density table in an IMU.

Implementation Resources
To truly master EKF for your project, I highly recommend studying these professional resources:
Technical Documentation
ArduPilot EKF3 Wiki: The best practical guide on how EKF handles multiple IMUs.
Website: https://ardupilot.org/dev/docs/ekf.html?hl=id-ID
PX4 Estimation Guide: Excellent explanation of the 24-state EKF.
Website: https://docs.px4.io/main/en/advanced_config/tuning_the_ecl_ekf
Journals and Academic Papers
"A New Approach to Linear Filtering and Prediction Problems" by R.E. Kalman (1960). This is the foundational paper.
Meet SLM 316L Stainless Steel at JLC3DP. We bridge the gap between high-end engineering and budget-friendly manufacturing.
✅ From $8.00 | Start small, scale big.
✅ 72h Lead Time | 3 days from CAD/STL file to metal.
✅ 600 MPa Tensile Strength | Built for heavy-duty use.
✅ Excellent Corrosion Resistance | Marine & Medical grade.
✅ Complex Internal Geometries | Designs CNC can't touch.
The perfect bridge between prototyping and mass production. 🛠️
Check out our 316L capabilities:https://jlc3dp.com/help/article/316L-Stainless-Steel
#3DPrinting# #Tech# #JLC3DP# #Manufacturing# #MetalPrint# #IndustrialDesign# #SLM316L#
This logo sign is 3D printed. And it’s not just plastic.
It combines multiple materials, textures, and finishes to create a truly dimensional design.
Something traditional signage struggles to achieve.
Using JLC3DP, designers can turn a simple 3D model file into a fully customized logo sign.
No molds.
No tooling.
No color limitations.
🎨 Material options
Resin → ultra-smooth details
Metal → premium industrial texture
Nylon → durable and impact-resistant
Plastics → lightweight and strong
Each material creates a different visual and tactile experience.
📍 Common uses
• brand logo signage
• desk display pieces
• studio decorations
• wall-mounted branding
From 3d desktop displays to 3d logo wall signs, your design can finally have real depth.
🖨️ Upload your model and get an instant quote
https://jlc3dp.com/3d-printing-quote
💬 Designers & makers:
Which material would you use for a 3d logo sign?
Resin / Metal / Nylon?
#3DPrinting# #Custom3DLogo# #MakerCommunity# #AdditiveManufacturing# #IndustrialDesign# #BrandingDesign#
High aesthetics + high toughness. 8228 Resin has just applied to join your BOM.
Precision that holds: Tolerance within ±0.2mm or 0.3%. Skip the manual sanding.
Stay White: Superior yellowing resistance. Keep your concept models "fresh" for the long haul.
💡 Pro-Tip for Engineers:
Starting from $0.3.
48h rapid turnaround.
The go-to for automotive interiors and consumer electronics.
Note: With an HDT of 56.4℃, it loves the lab AC—keep it away from the desert sun.
🚀 Ready to test it on your next prototype?
👉 https://jlc3dp.com/3d-printing-quote?from=fiona
#JLC3DP# #AdditiveManufacturing# #RapidPrototyping# #8228Resin# #SLAResin# #Resin# #3DPrinting# #Stereolithography# #SLA3DPrinting# #3DPrintingMaterials# #engineeringresin# #ResinPrinting# #EngineeringPrototype# #3DPrintingCommunity#
SMD stencils are known for mass production and easy solder paste dispensing. They are widely used in the industry. The stencils are very useful when you are mass-producing a unit. Today, we are not going into physics or manufacturing but talking about the different use case scenarios. However, the stencil requirements for prototyping are quite different from those in mass production. In mass production, we need yield, the better the yield more efficient the production. For these needs, JLCPCB offers customizable SMD stencils.So they need some special kind of solder stencils, which we will discuss below.
What are SMD Stencils?
They are basically the metal sheets that act as a mask for solder paste. Through this, we can apply solder paste on a PCB and then directly mount the components. It ensures uniform paste volume, which improves solder joint reliability. It accelerates SMT assembly, especially in automated processes. How they are used is: SMD stencils are mounted on or aligned with a PCB during paste application. Then, a squeegee is used to spread the solder paste across the stencil. These are mainly used to fasten the prototyping, and the goals are:
- Validate design functionality.
- Quickly iterate and test new revisions.
- Avoid excessive tooling costs.
- Allow manual or semi-automated assembly.
Stencil for Prototypes
The prototyping budget is small, so the use of step-down apertures is rare due to cost. On the other hand, the Kapton stencils or polymer stencils may be used for low-budget projects. In most cases, hand soldering or hot air reflow is preferred. In prototypes,to speed up the process, JLCPCB provides customizable stencil options that allow you to select specifications optimized for reducing errors and controlling costs, helping engineers achieve more reliable results even on a tight budget.
- Go for stainless steel with the laser cutting method
- Moderate pitch components
- Can use a uniform thickness stencil for the prototype
- Try to go for a frameless stencil without any nanocoating
But things will change and become equally opposite when it comes to mass production.
SMD Stencils in Mass Production
Goals in Mass Production:
- To maintain consistent, high-quality solder joints.
- Support high throughput with minimal rework.
- Integration with automated SMT lines.
- Justify cost through scale.
For mass production, we need a better and longer-lasting stencil with more accuracy and lower stickiness to the solder paste. This will reduce the cleaning time and increase the overall yield. Because in mass production, we are making products, we can tailor the thickness as per applications. Go for the framed ones because they can be directly inserted into machines for auto alignment. Some advanced features and procedures can be:
- Step-up/step-down regions for mixed component types.
- Electropolished apertures for smoother paste release.
- Laser-cut precision for tight tolerances.
- Barcode marking for line tracking and QC.
Comparison Table: Prototyping vs Mass Production

When to Upgrade from Prototype to Production Stencil
If you're moving from prototyping to small or mid-volume production, you might want to:
- Switch from frameless to framed stencils for better alignment.
- Use electropolished or nano-coated stencils for easier cleaning and consistent paste release.
- Adjust thickness depending on fine-pitch or mixed components.
- Consider step stencils if large and small pad sizes are used together.
Cost Considerations

SMD stencils are widely used in modern assembly lanes. Understanding their role in prototyping vs mass production can greatly improve your design-to-manufacture transition. In prototyping, flexibility, speed, and cost are the primary concerns. In the article, we have covered all the aspects a designer and production house to think of before buying a stencil. Prototyping and mass production are two different areas of interest; in one, we have to save cost, and in the second, quality becomes the primary concern. Mass production demands durability and integration with high-speed automation.
JLCPCB offers a range of stencils suitable for both prototyping and mass production, helping engineers optimize for cost, speed, and reliability.




























