<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by The car guy on Medium]]></title>
        <description><![CDATA[Stories by The car guy on Medium]]></description>
        <link>https://medium.com/@mahadevanravi1997?source=rss-40dc891ce2ee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uNtBHOIq4b-ni5WH</url>
            <title>Stories by The car guy on Medium</title>
            <link>https://medium.com/@mahadevanravi1997?source=rss-40dc891ce2ee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:29:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahadevanravi1997/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[In memory of the The Great Lock down of 2020. Stay home, Stay safe.]]></title>
            <link>https://medium.com/@mahadevanravi1997/in-memory-of-the-the-great-lock-down-of-2020-stay-home-stay-safe-af97ef99c16f?source=rss-40dc891ce2ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/af97ef99c16f</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[tesla]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[The car guy]]></dc:creator>
            <pubDate>Sat, 02 May 2020 23:47:45 GMT</pubDate>
            <atom:updated>2020-05-03T00:20:16.005Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine vs Machine Man</h3><p><strong><em>In memory of the The Great Lock down of 2020. Stay home, Stay safe.</em></strong></p><p><strong>** MATURE CONTENT WARNING **</strong></p><p><em>Glossary : Deep learning with neural networks is a key tool enabling humanity’s pursuit of artificial intelligence about which I know shit.</em></p><p>Despite the lock down we still have door step delivery for essentials. The ordering process is automated. The check out of goods has been automated by Amazon and Alibaba in their giant warehouses already. Wouldn’t it be nice if trucks drove themselves and dropped them in our doorsteps, given we already have drones sophisticated enough to take parcels and drop ?</p><p>Well, even if we have 25 Elon Musks and 10 Googles competing against each other, I don’t see that happening in India. Let’s talk about how people are trying to do it in other places. Firstly the delivery of tomatoes and bread is a timely need of the corona crisis. The bigger cause that is driving autonomous vehicles research, or rather a cause that should be driving, is sheer amount of deaths on road everyday. As Elon Musk puts it, you are more likely to die on road rather than due to corona virus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/0*nkRvODFND82hjvOQ.jpg" /></figure><p><em>DARPA Autonomous Vehicle challenge of the 2000s. Note the proud tagline of the great TDI diesel engines before the Dieselgate scandal:P</em></p><p>I remember seeing a one hour program on NatGeo in my ninth standard,of the DARPA Autonomous vehicle challenge. The almost self driving cars of today pretty much look the same way. Except that the rods and wires are cleanly covered by panels and outer glass covers. In fact Google owned Waymo’s self driving Chrysler Pacifica taxis look quite handsome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jCuEGXg_rom7FMDH.jpg" /></figure><p><em>People boarding human monitored self driving taxis in Phoenix, Arizona</em></p><p>General public must be wondering why we have read so many lines without even the mention of the star brand Tesla. That’s because Tesla is pursuing the self driving challenge in a way very different from others. In fact, that way also meant that util very recently, Tesla was not there on the top contenders to achieve full self driving (FSD) or level five autonomy to be politically correct. Just look at the how an FSD capable Tesla looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o65a3IXoKPrdcEKl.jpg" /></figure><p><em>Full self driving capable Tesla Model 3, as simple as a regular car, just a bit more ugly.</em></p><p>So whats that big heavy hardware over Waymo’s roof which Tesla doesn’t seem to use ? It’s the LIDAR, which is nothing but Radio in RADAR replaced by light. Intuitively this device atop beams laser pulses at around 10 Hz per second and receives pulses, calculating the distance of the object which reflected the pulses. Advanced LIDARs, pretty much the ones above cars all advanced, emit pulses all around and receive them back and intuitively what you get is a hugely valuable data of physical objects lying all around the car or in other words a 3D map. It will look something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*YblEc5Hikvbpu0SB.png" /></figure><p><em>A representative 3D LIDAR map created by Velodyne, a leading LIDAR manufacturer. Velodyne has been pretty much the only supplier so far.</em></p><p>If such a 3D map is created every 10 or so times per second and you get the velocity of the objects the 3D map using time variation of the map, you consistently get a virtual path ahead of you in which you can set the non-solid portion as drive-able space for the car. The car’s controls then decide what throttle, brake and steering input are needed to drive through that drive-able space identified. This is definitely the easiest bit of self driving tech, since the most sophisticated performance cars today just take steering as the only input and can even perfect the art of drifting themselves. This feels so intuitive right? Yes it is! It is heuristic. You find a solid, you don’t drive through it. You don’t need a brain to do this. Lets the complicate the situation.</p><p>Let’s say there is a speed bump on road, a LIDAR just identifies it as bump, it could be sick person lying on road or a dog or a fallen motorcyclist. The above image might suggest that we can image process the shit out of the 3D map and find out if its a bump or dog. But the LIDAR resolution we have today doesn’t possess that extent of detailing. Morever if you are to save a life by identifying the object you have to do it sufficiently far ahead, which is also a challenge now with most LIDARs working satisfactorily only within 100 metres.</p><p>Added to that, the current road infrastructure was developed for biological drivers, who can read sign boards and understand traffic signals. LIDAR at the best, can identify a traffic signal post as a traffic signal post, but not if it’s red or green. It won’t be able to tell you if the car ahead is switching on the left indicator. LIDAR in all probability will identify physical objects with almost 100% accuracy but the problem is with false positives. You can call it being conservative, but that is not essentially safe since an unnecessary braking could be equally dangerous as not braking. Or you try to avoid false positives by optimizing your LIDAR image processing……and end up being screwed big time like Uber. The current understanding by several invesitgators of the fatal crash of the Uber FSD test Volvo XC90 in 2018, as seen in this video, is that the lady with bicycle was detected 1.3 seconds before the impact, very well enough to have saved her. But the algorithms that didn’t prompt a brake application was apparently due to Uber’s effort to reduce the excessive false positives from the system, so much so that they couldn’t drive it practically.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRASBcc4yOOo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRASBcc4yOOo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRASBcc4yOOo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/294d3803b427776b1269d66e9c979d6a/href">https://medium.com/media/294d3803b427776b1269d66e9c979d6a/href</a></iframe><p><em>2018 Uber self driving Volvo XC90 crash footage</em></p><p>This saddening incident happened despite the popular advantage of the ability of LIDARs to work day and night, since the source of illumination is the LIDAR itself and not the sun or headlights. Thus inevitably, you need an intelligence to assist LIDAR. The most common intelligence comes from cameras, which ironically use the sun and headlamps as source of illumination.</p><p>How exactly ? Image processing. There are varying ranges of complexity. Companies like Mobileye make cameras for already existing basic driver assistance systems (ADAS) like lane change warning and auto emergency braking. These systems use basic processing like differentiation of background from moving objects along with ultrasonic sensors and RADAR.</p><p>These are not sufficient for FSD of course. What we need to assist LIDAR is to identify what has been found in the 3D map of LIDAR. That requires full blown deep learning for processing the images, which is what all automakers and Tesla do, but its just that Tesla does only that. Why ?</p><p>The philosophy is simple. Humans as intelligent beings have two really capable overlapping field of vision cameras and an even more capable image processor called brain. Deep learning is essentially a tool to imitate intelligence, a.k.a artificial intelligence. That is, the system should ideally be able to do whatever humans can do it with their eyes and brain. But the system needs to be trained. How do we train it? You consider it as child with a primitive brain made of a countable number of man-made neurons called the neural network. You keep showing it the images of dog or motorcyclist lying on the ground and it will eventually start identifying the dogs and motorcyclists. How good, depends how good the study material is. If you had a really good collection images of dogs lying on road, it will start predicting accurately.</p><p>Where do we get a really good collection of images of dogs lying on road ? Most automakers are buying thousands of cars, putting cameras in them, appointing drivers and letting them drive on and on so that they get images of dogs lying on road. Then, there will be humans annotators who will clearly label the dog in the image and tell the child that this is a dog, called labeling.</p><p><strong><em>Full disclosure</em></strong><em> : I was doing a freelance assignment in my college to label images as dogs and cats and cars, online, for money. Perhaps google is secretly using us for the purpose by asking to us to choose car images in “I am not a robot” check.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*KGUWtGnu4q68N8mx.png" /></figure><p><em>A labeled image with cars and pedestrians boxed</em></p><p>Where Tesla has the edge over the competition is that has half a million cars running road with 8 cameras of overlapping field of view, all connected over internet. Forget dogs, Tesla has a good chance of getting an image of an endangered species of animal lying on road whereas others might face difficulty identifying cats, if they had trained only for dogs. Most of them resort to simulation to create such scenes and train the “brain” but it’s not about if you can create a situation but it’s about whether you can think about all possible situations. Dog lying, dog standing, dog peeing or two dogs mating on road giving a weird shape, it’s countless.</p><p>Well, Tesla and few others with large fleet and simulation capacity have access to lot of study material, but can they get enough humans labeling images to tell that it’s a dog ? It will take millions of man hours to label the millions of images Tesla gets every day. So, isn’t it better to teach the child to learn itself ? That’s auto labeling. Simplest auto labeling that’s done is to just use the ultrasonic and RADAR as labeling machines. You take lot of images of dogs in a particular distance known from RADAR and map it to the brain so that learns that if an image of a dog looks like this, it’s this far, Or it’s this large, if you have a LIDAR. But this sort of non supervised learning has gone much farther. Let me explain with a dog again.</p><p>Let us say you want to predict whether a dog standing by the road side is coming in front of the car or not. If you write a code and say that whenever the group of pixels of the dog move to the central area over time it is the even of dog running into the lane, then it is supervised learning, like image labeling. But let’s say you take all the images of dog already in the center of the road, take all corresponding images a few moments before. In some, the dog would have been already in the center and in some it would have been in the sides. You feed both of them to the system and woah! Now it knows how to predict dogs running in, instead of detecting a dog after running in. Yeah, read it again:P</p><p>That sounds like quite a powerful weapon. You don’t have to think about cases but it finds cases of it’s own and learns! And that is what Elon Musk believes in. There will come a point where the cameras and the image processing will give you whatever the shit you want, where is the dog, is it running, is it standing, how far is it and whatever details you can see with naked eye. That kind of capability will essentially make a LIDAR useless since LIDAR needs a camera system to support it anyway.</p><p>What is also pushing Tesla to get rid of LIDARs is reality. The sophisticated LIDAR from Velodyne today will cost as much as a low range Tesla. There is no way Tesla them puts in the 5000+ vehicles it makes every week. The cameras are got at a single digit dollar price each!</p><h3><strong>“Everyone behind the LIDAR is doomed “, Elon Musk on Tesla Investors meet of 2019.</strong></h3><p>When asked a question on capability on snow and fog where cameras have poor image quality, Tesla’s AI team was confident that we have enough footage of humans navigating in snowy and foggy conditions and with every winter the system should get better at it, learning the correlation between what humans do and what corresponding footage the camera has.</p><p>Well that might sound too confident especially if you see incidents like this Tesla crash of 2018 in Mountain View, CA which took the life of an Apple engineer.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fv85deWn50Ro%3Fstart%3D101%26feature%3Doembed%26start%3D101&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dv85deWn50Ro&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fv85deWn50Ro%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca43b7c7b4f4bfe10feaeaafc222d8c8/href">https://medium.com/media/ca43b7c7b4f4bfe10feaeaafc222d8c8/href</a></iframe><p><em>Attempt to recreate the 2018 Tesla Model X crash</em></p><p>On a bright sunny day, the Tesla Model X mistook the dividing edge between concrete and asphalt sections for lane marking and followed it straight into the side wall edge of an exit (the side wall edge has a reflective sigh board seen in the video), burning the car into ashes. While the camera confusion is forgivable, most experts believe that a LIDAR would have almost definitely avoided this collision. What Tesla had was RADARS, which have tough time detecting a narrow stationary object like side wall edge because of their low resolution, and Ultrasonic sensors which are essentially proximity detectors working withing few metres of range.</p><p>Nevertheless, Tesla has put all its bet on image processing, going ahead and developing a a full fledged custom processor made specifically for neural network processing. The FSD chip, as Tesla calls, is multi fold better than the best GPUs currently on sale by the market leaser NVIDIA and uses as low as 100 W of power.</p><p>But what is most likely to happen is something neither Tesla nor others will suffer a huge loss from. Researchers are converging towards a common point in both techniques that establish the drive-able space. If it’s going to be the LIDAR, use the 3D map to directly get 3D coordinates of every object and the drive-able space. If it’s the camera, after all the processing and depth recognition, you have to arrive at the 3D coordinates table, which is effectively a pseudo LIDAR. The process is similar further on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/0*jgtFHzekcPpXXBCp.jpg" /></figure><p><em>A representative 3D coordinates map of all critical points identified in space</em></p><p>In case this conclusion happens between these two streams of pursuit, LIDAR will be like your mom accompanying you in driving pushing you into conservative decisions and you will have to keep avoiding the false positives from your camera and intelligence so that you can actually move in a reasonable pace, without having false negatives of course!</p><p>That sweet spot is definitely going to take a long while to be figured out. So till then, drive safe!</p><p><em>Regards,</em></p><p><em>Mahadevan, Carkirukkan</em></p><p><em>Wear your seat belts and helmets before your face masks.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af97ef99c16f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Black Box]]></title>
            <link>https://medium.com/@mahadevanravi1997/the-black-box-115e244f913d?source=rss-40dc891ce2ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/115e244f913d</guid>
            <category><![CDATA[automotive]]></category>
            <category><![CDATA[battery]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[electric-car]]></category>
            <dc:creator><![CDATA[The car guy]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 08:53:10 GMT</pubDate>
            <atom:updated>2020-09-28T20:15:00.951Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Black Box : Li-ion batteries myth buster</h3><p><strong>To more range and life in 2020!</strong></p><blockquote><strong>Glossary</strong>: It’s too technical, but I have tried my best to not use high funda terms.</blockquote><p>How long will it last? The fundamental question every customer asks.</p><p>Let me brief you through the process of how we engineers ensure products are designed to last as long as required. That basically starts from a course in engineering called Fatigue or Material Mechanics (Materials And Design in IIT Madras, fondly called the MAD course) accompanied by a grueling end semester exam.</p><p>If we are designing a switch to last for 5 years and a corresponding usage of say a million on or off cycles or so. How do we test this component, in an unassuming way? Take the switch and click it for 1.2 million times, for a safety margin. That’s the easier part. But we definitely can’t do that over a period of 10 years, hence something called accelerated testing. You click it 1.2 million times in a period of say 6 months or so. It is harsher to put it through same cycling in a period one-twentieth of intended life right? Sounds good? We are safe?</p><p>If only nature behaves in intuitive ways. Clicking a switch 10 times in a row is apparently less harmful to the switch than 10 spaced relaxed clicks over a period of time. You can say we don’t give enough time for it take the damage in the former case. Things get more complicated when you store the switch for 2 years and then start clicking it. Will the life be offset by 2 years ? It gets even more complicated in a real use case. What if we do 2 million half clicks in the same switch? Is it same as one million full clicks?</p><p>Fortunately most of these aspects has been time tested for friendly materials like steel or aluminum or common plastics since we don’t see wheels or seats tearing off in cars. The problem comes back when there is a revolution, when there is an inevitability of accommodating something we haven’t tried and tested for a century, like Li-ion batteries.</p><p>Cell is the new oil. Ok, along with data. Though they have been existing in the current form for years in laptops and mobile phones, they have never been pushed so far like now being done in automotive industry.</p><p>Imagine the degree of non-intuitiveness that would be there in the life cycle expectations of something which is made up of at least three different compounds, both organic and inorganic mixed, used by customers in not one or two, but in infinite possible ways.</p><p>Mess happened for sure. The pioneering practical electric car, the Nissan Leaf ( which in my opinion never got the attention deserved)had customers complaining of 30 precent drop of advertised full charge range in one year. That was 2010. We have Tesla Model S reporting 90% advertised range after…5 years and ………million kms now. What exactly changed? Understanding of the complex fatigue behavior of Li-ion chemistry, as evident from the complexity in the simplest of materials itself, required literal testing to the the life intended. No shortcuts, no accelerated testing. And it took almost half a decade to figure it out, predominantly by a team of quite smart researchers somewhere in a Canadian university, which Tesla was clever enough to find so early.</p><p>Professor Dahn splendidly explains <a href="https://www.youtube.com/watch?v=9qi03QawZEk">here</a> how accelerated testing is even worse than not testing itself in case of Li-ion batteries. Testing a few different chemistry for few tens of cycles yielded the exact opposite results against testing for more number of cycles. That is exactly what Nissan’s engineering team did with the Leaf.</p><p>This is also why academic environment was only able to afford the time and money and brains required for figuring out the black box. So much so that they have successfully modeled the once impossible accelerated tests and correlated with the real life results. One more parallel understanding is the unique nature of the accuracy required for battery testing. While most mechanical components have cycle life requirement, batteries have a target to achieve post cycle life. A target of 1000 cycles will require a thousandth digit accuracy of efficiency in order to meaningfully extrapolate the capacity at the end of thousand cycles. Or in other words, your device should be capable of measuring 0.01% drop in efficiency in each cycle in order capture the 10% drop at the end of 1000 cycles.</p><p>After all this, now we a looking at battery chemistry lasting for a million miles, which made news recently. While a break through in terms of long range EVs, it also clearly busts many myths about charging and cycling, with much more evidence. Look at this for instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/0*k4aarKgIFc5UZpfm.jpg" /></figure><p><em>C represents charging or discharging rate. 2C is faster than 1C. Got it?</em></p><p><em>(Ecker is a brand of cell in the market and this work is the cell developed by the researchers (green and violet))</em></p><p>So, for all the people who believe that charging your smart phone before it drops to 20% battery is wrong, just see how wrong you are here:) By following that cycle you are losing close to one and half years of life before battery capacity drops to half. (Black vs blue)</p><p>Let us get into the counter intuitive parts. Taking the green (slower charging) vs violet (faster charging), higher charging rates definitely seems to be better for those mysterious batteries to last longer. Ok, but wait. Shouldn’t electric cars be a breeze for engineering then? Faster you charge, longer you last, right?</p><p>Take a look at this before you answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/0*8eqnHAyGBovv1nfZ.jpg" /></figure><p>The business is different altogether when the charging rate exceeds a point. Faster is better, but not too fast. You know what ? Even our very friendly mild steel has the same behavior. Its good if you load it a particular fast pace, neither slower, not faster. This is not something which is usually taught in engineering, at least where I studied.</p><p>Coming back to our footwear example, what if you store it for an year and then use it ? I am sorry, because you already lost the equivalent life by jut storing it, called creep, not even creep, because creep needs a load, it’s sleep deterioration. Take a look. This is by far the most expensive experiment here in terms of time and money I guess. A single experiment has literally continued for 900 days, in multiple set ups for each target storage days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/0*Wk1ih87gh1EmMuFg.jpg" /></figure><p>Wow! Modern batteries are better off cycled in use than being stored at a high voltage! My grandpa and grandma are right when they say “Use panlena waste aayidum pa”, meaning unused things will become non functional.</p><p>The complexities just don’t end there. Just like simple metals, batteries like it cold…no hot… no a special requirement. Fortunately our researchers have come up with splendid results again. Depending on chemistry and the temperature at which batteries are cycled, some cell chemistry performs better in higher temperature and some better in lower temperature. Poor Nissan had went wrong again here choosing the exact opposite chemistry for a battery system with…err…. air cooling.</p><p>While it is appreciable that all these amazing results have been obtained from years of research and patience, we have thousands of Teslas running on the roads of the world doing experiments for us, in ways an university professor will never imagine. Well, I don’t know Tesla is doing with all that golden data. Or may be we are already seeing the fruit of it in these results. What more can help you validate your results than a real customer cycling the batteries out on the field? As I said earlier, data could very well be he new oil, for cells too!</p><p><strong><em>Your takeaways :</em></strong><em> Just plug in your smart phone and sleep, nothing is going to a happen. Don’t store charged batteries.</em></p><p><em>Last but not least, don’t listen to dumb battery management tips.</em></p><p><strong>#futureiselectric</strong></p><p><em>Regards,</em></p><p><em>Mahadevan, carkirukkan</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=115e244f913d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>