Back to Basics: LIN

Today, let’s talk about Local Interconnect Network(LIN). I believe it’s an essential but yet often overlooked communication protocol in automotive tech because of its big brother CAN.

LIN came in the late 1990s when automotive manufacturers needed a simpler, cost-effective solution to complement CAN. While CAN was great for critical tasks like engine control or braking. But for simpler tasks, CAN was too complicated and expensive. This is exactly where LIN shines. It operates on a single data wire (Data & GND) serial communication, making it simpler and cheaper to implement. LIN transmits at speeds up to only 20kbps which is more than enough for non-critical tasks like controlling windows, mirrors, seat adjustments, and wipers. Why use & waste the CAN bandwidth for these routine tasks?

Its architecture consists primarily of one master node and multiple slave nodes(upto 16). The master node initiates communication by sending a header; slave nodes respond based on predefined data frames. LIN has a self-synchronization feature, meaning slave nodes synchronize automatically with the master’s clock every time a message is sent in the header frame. Hence, there is no need for additional timing signals. Since communication protocol is not complex, it’s usually handled in the microcontroller and doesn’t need a dedicated controller like CAN.

The uC’s output is level shifted by specific LIN transceivers for transmission/reception in the bus. The physical layer bus voltage can be between 9V-30V, depending on the IC. They require pull-ups like I2C, but it might already be built into the IC. Although speed of communication is low, you would need to keep the bus capacitance under 10nF for good signalling. Max distance supported is around 40m. EMI/EMC problems with LIN are relatively lesser because of lower rise times/speed compared with CAN.

LIN is everywhere in modern cars. Think of them as local masters handling all the less critical work and then sends the data to the CAN when needed via the microcontroller. They do their work without any major fuss and coexist with CAN in your cars.

If you liked the post, Share it with your friends!

Tech Explained: Acoustic Cameras

Earlier in the week, a friend sent me a video of a product from Fluke that visualizes air leaks and other noises. I had no idea such a technology existed. Spent some time learning more, and now I wanted to share what I found.

Acoustic cameras are essentially devices that can “see” sound. Think of them as thermal imagers, except for sound. They combine a specialized array of MEMS microphones with a camera interface to capture and display noise sources as colourful, real-time heat-map images. While this might sound futuristic, the tech has been around for the last few decades, but I never knew. 
So how does it work? An array of microphones picks up sound waves from different directions. These signals are then processed by a beam forming algorithm that calculates the precise location of each sound source. The system superimposes a heatmap-like overlay onto a visual image or video feed, highlighting exactly where noise originates. It’s like having a set of highly trained ears that can pinpoint the faintest hiss or hum in a busy environment. Some units have audio freq range selection so that you can select to really reduce surrounding noise to focus on a specific band.

Its applications are varied. Factories use them to quickly spot air leaks, carmakers use them to reduce cabin noise, and mechanics use them to find hidden unusual vibration noises in factory equipment. Some factories rely on them for preventative maintenance, before they become costly. Environmental folks employ these tools for tasks like monitoring wildlife habitats or measuring noise pollution levels. It’s used to detect electric partial discharges in High voltage electric power delivery systems. Corona discharge, arcing emits ultrasound that can be picked up via this tech.

The distance of capture is not that high though. If it was, I would have loved to put this up on a drone and get a bird’s eye view of the city and its noise level sources. Nice little tech if you ask me.

If you liked the post, Share it with your friends!
1 17 18 19 20 21 93