9 ms·
The motor turns too much
- Animats 2y agoThis shows why BYD developed their "e-axle" system.[1] The drive axle, differential, and motor are an integrated unit. There's an electronics box that connects the battery, the e-axle, and the charging port. It's controlled over CANbus. So there's a coherent standalone component BYD can reuse in many different vehicles. Which they are doing, and clobbering Detroit on price. [1] https://www.yolegroup.com/technology-outlook/whats-in-the-box-byds-8-in-1-electrification-system-at-a-glance/ https://www.yolegroup.com/technology-outlook/whats-in-the-bo...
- weaksauce 2y agohow repairable is such a design?
- dghlsakjg 2y agoIt isn’t inherently more difficult to make it more or less repairable. Repair ability is a design attribute that is planned for.
- magicalhippo 2y agoI guess a repair could mean swap it out, and the unit would get sent back to get refurbished, like what's commonly done with say alternators.
- Animats 2y agoThere's an e-axle repair kit from Germany.[1] This kit is for a Schaeffler e-axle, and contains all the bearings and seals. If you have to take the axle apart to replace any of those, you may as well replace all of them. Third party E-axles are mostly for trucks, where power trains and truck bodies come from different manufacturers. Heavy trucks can be maintained for decades, and that market wants repair parts available. For a car, the powertrain bearings tend to outlast the useful life of most cars. [1] https://www.repxpert.com/en/eaxle https://www.repxpert.com/en/eaxle
- wakawaka28 2y ago>Which they are doing, and clobbering Detroit on price. Let's be real, their prices are lower because Chinese labor is cheaper. US companies have to pay US rates and import as much as they can rather than having it all made in the US.
- bryanlarsen 2y agoLabor is under 10% of the cost of an electric car.
- 0l 2y agoIs there a source on this? And is this the labor cost for the final product, or also that of all components?
- bryanlarsen 2y agoThe UAW puts it at 5-8%. Other sources put it higher, up to about 15%. But that's for combustion vehicles -- most sources put the labor component of EV's at 40-60% of that of combustion vehicles. It generally includes the labor for sub-assemblies, but not for components. Components are sourced globally, so manufacturers in different countries should not be paying substantially different prices for components. Certainly sometimes they do, but that's generally a tariff issue, not a labor issue. Not an expert, this is just based on most of an hour of random Googling.
- criddell 2y agoDoes labor include healthcare and pension costs? A high school teacher once told me that the most expensive part of a car is healthcare and pension costs. Road and Track reported on this a little while ago, no idea what the situation is today. https://www.roadandtrack.com/car-culture/a9590/pension-costs-drive-gms-discount-prices/ https://www.roadandtrack.com/car-culture/a9590/pension-costs...
- wakawaka28 2y agoAlthough this may be true (I haven't found much to the contrary in a few minutes of searching", "raw materials" also involve labor. Facilities in the US are bound to cost more as well because property is so much more expensive. US auto workers and engineers make easily 10x as much as Chinese counterparts.
- Schiendelman 2y agoIt's pretty disingenuous to argue that's why they are price competitive when there are so many bigger factors.
- pas 2y agocan you please elaborate on this? what are these factors? how do we know which factor contributes how much? thanks!
- hawaiianbrah 2y agoThe support they get from the Chinese government …
- bryanlarsen 2y agoBYD et al got massive support from the Chinese government in the past, but most of that support is gone now, and little of what is left applies to exports. The US government's $7500 rebate is larger than what BYD gets per car.
- Schiendelman 2y agoWe don't know that at all.
- bryanlarsen 2y agoWe know it is 17% or less, because of the EU investigation.
- Qwertious 2y agoIt's easier to register an EV in China than an ICE car, among other things - for instance, ICE cars must be left idle on a specific day of the week (determined from the car's license plate number), whereas EVs can be used the full 7 days a week.
- beAbU 2y agoIf you read the earlier articles in this series you'll see that the motor, diff, motor controller, charge controller and inverter are all on a single 'stack', treated as a single unit in the car. This module is used in the Hyundai Kona, Kia e-Niro and Soul EV. Modular car design is nothing new and almost all carmakers thesedays do this.
- cwalv 2y ago> So the controller only ever increased the torque request, or kept it at the same level. Even when I simulated pressing the brake it was like "Nothing needs to change, we're not even moving!" So wheel speed sensors drop out and the car will accelerate uncontrollably? I love EVs, but with all this complexity I wish there's some kind of mechanical disconnect or a big red STOP button somewhere.
- trhway 2y ago>the car will accelerate uncontrollably? https://en.wikipedia.org/wiki/2009–2011_Toyota_vehicle_recalls https://en.wikipedia.org/wiki/2009–2011_Toyota_vehicle_recal... 'Michael Barr of the Barr Group testified[30] that NASA had not been able to complete its examination of Toyota's ETCS and that Toyota did not follow best practices for real time life-critical software, and that a single bit flip which can be caused by cosmic rays could cause unintended acceleration. "
- cwalv 2y agoYeah, maybe not particular to EVs. I do remember wondering back during the Toyota "uncontrolled acceleration" epidemic why people wouldn't just put the cars in neutral
- Syonyk 2y agoBecause the vast majority of people driving cars don't have enough of a mental model of the vehicle systems to consider such a thing, especially in a panic situation such as unintended acceleration. If you've driven rattletrap manuals for most of your life, and have worked on cars, rebuilt engines, replaced clutches, rewired things that failed, yeah. That's an obvious conclusion, and I expect some people without doing that will have enough sense of what's going on to consider a drop to neutral (and letting the rev limiter handle keeping the engine intact). But go ask most people, even in technical fields, about the details of a car, and you'll struggle to get much beyond "I press the gas and it goes." You run into this constantly if you're a "car guy" and people ask you questions about why their car isn't going. "It turns over but doesn't start!" can mean anything from "the lights are barely on and nothing happens" to "the starter relay clicks but nothing happens" to what I would consider that to mean, "the engine is rotating under the starter's power but is not engaging in sustained internal combustion." Neutral isn't a thing most people even think about, unfortunately. Park, Drive, Reverse, and some oddball other positions that you don't want to end up in accidentally. Yes, they're useful, and yes, they solve problems, but it's not something that a lot of people would consider. Neither do they seem to consider "Stand on the brakes until the car comes to a stop. No, really, stand on them!" - because I've yet to meet a moderately well maintained vehicle that can't come to a stop with the gas floored and the brakes applied firmly (yes, I've tried, it's a standard test of mine after brake work). But if you only apply partial brake pressure, or have a vacuum brake booster, you only get a few attempts before the booster has lost vacuum (won't get any more, because wide open throttle), and if you've heated up your brakes trying without succeeding, you may very well have no usable brakes left. Passenger car brakes are adequate, but you can easily overheat them and fade them if you try, or boil the fluid, or... etc. Again, not something you'll find many people aware of these days. I wish it were different, but "magic box I put gas into and it goes" is closer to the reality of how many people consider cars these days.
- ZeroGravitas 2y agoSeems only a matter of time until Chinese manufacturers start providing kits for EV conversions. Can they compete on price and convenience with equipment rescued from scrapped EVs? Would EV tariffs apply?
- sandermvanvliet 2y agoCheck out what https://www.edisonmotors.ca/edison-pickup-kit https://www.edisonmotors.ca/edison-pickup-kit is doing
- spockz 2y agoVery nice. I really would like to get a replacement kit of my XC90 battery and electric engine. Especially one that doesn’t cost more than half of the remainder of the economic value of the car. This is my second second hand plug in hybrid that loses battery capacity rapidly and the battery is crazy expensive to replace. Moreover, newer generations have stronger electric motors giving wider range of use and better regen.
- driverdan 2y agoI'm rooting for Edison but after watching some recent videos on this kit I don't have high hopes. There are only a few people working on this project.
- ggreer 2y agoIt's quite difficult to convert a combustion engine vehicle to an EV. - EVs need significant volume for batteries. The only places available in a combustion vehicle are the engine bay and the gas tank. If you put batteries in the engine bay, you'll mess up the weight distribution. The volume occupied by the gas tank isn't nearly large enough to house a battery for decent range. - The extra weight of the batteries requires changes to the suspension and tires. - EV motors have lots of torque. If you use the original transmission, you'll need to limit torque based on which gear it's in. Any replacement transmission will need to be designed for that car chassis. It's not easily adapted to other models. - Combustion vehicles are designed with an accessory belt in mind. The air conditioning, power steering, and many other components are run off of these belts. An EV motor doesn't spin while idling. These components will need another power source, or they'll have to be replaced with EV-specific components. - Combustion vehicles use waste heat from the engine to heat the cabin. Unless you live in a mild climate, a retrofit will need electric heating coils (or a heat pump for maximum efficiency). And after making all of these modifications, you'll need to deal with regulations around making sure the vehicle is street legal. Those can differ greatly based on the state and the model year of the vehicle you're converting. Considering all that, it's unlikely that you'd save money by converting an existing vehicle. An EV kit car might make more sense, but the market for those is quite small.
- schiffern 2y agoIf you're interested in this check out the previous posts: Part 1 https://www.projectgus.com/2023/03/ev-conversion-one/ https://www.projectgus.com/2023/03/ev-conversion-one/ Part 2 https://www.projectgus.com/2023/03/ev-conversion-two/ https://www.projectgus.com/2023/03/ev-conversion-two/ Part 3 https://www.projectgus.com/2023/10/kona-can-decoding/ https://www.projectgus.com/2023/10/kona-can-decoding/ ...and the follow-up posts: Part 5 https://www.projectgus.com/2024/04/unremarkable/ https://www.projectgus.com/2024/04/unremarkable/ Part 6 https://www.projectgus.com/2024/10/simplifying-bench-kona/ https://www.projectgus.com/2024/10/simplifying-bench-kona/
- krisoft 2y agoI heard a similar story from a coworker. They were interfacing with a car via CAN. They had an engineer from the manufacturer telling them the details of the message they should be sending to demand a certain speed. Turns out the description wasn’t quite right. The message ID was correct, but not the endianness of the speed demand signal. Thus when they tried to test it they thought they requested a stately 5m/s, but the vehicle thought they were asking it to exceed the speed of sound. Which of course it wasn’t designed to be able to do, but it still tried. That’s why i prefer to have nice hardware e-stops on prototype vehicles.
- m463 2y ago> That’s why i prefer to have nice hardware e-stops on prototype vehicles. Yeah, I kind of wonder if lawsuits/regulation might be the way to get those. Because there will always be some sort of cost with that kind of thing. I'm pretty sure a major reason garage doors have limit and occlusion sensors is because of regulation. (and even those suck - it is common for garage doors to incorrectly sense occlusion in bright sunlight)
- krisoft 2y ago> I kind of wonder if lawsuits/regulation might be the way to get those. I’m talking about prototype cars. The solution there to have an e-stop is to ask your technicians to put it on. No lawsuit or regulation is necessary for that. If you are thinking about mandating e-stops on production vehicles then I don’t think that is the right thing to do. It is a complicated analysis but it boils down to that the cases where it would help should be vanishingly small, and even in those people not trained for it would forget to use them. > there will always be some sort of cost with that kind of thing Absolutely. And the cost of the switch is not the major component. Where i work forgetting to reset the e-stop is so common that it is the first thing we ask about when something is weird. And the people forgetting them are skilled engineers with known prototype cars. I imagine the cost of support/service calls would be huge in prod.
- bewaretheirs 2y agoSomething similar was at work in the 2018 natural gas explosions in and around Andover, MA: https://en.wikipedia.org/wiki/Merrimack_Valley_gas_explosions https://en.wikipedia.org/wiki/Merrimack_Valley_gas_explosion... "According to the NTSB's preliminary report, customers in the accident area received gas from a low-pressure (0.5 psi) distribution network which, in turn, was fed from a high-pressure (75 psi) main pipeline via regulators controlled by sensors measuring pressure in the low-pressure pipes. At the time of the accident, workers were replacing some of the low-pressure piping, but the procedure set out by Columbia Gas for doing this failed to include transfer of a regulator's pressure sensor from the old, disused piping to the new. As a result, when the old pipe was depressurized, the regulator sensed zero pressure on the low-pressure side and opened completely, feeding the main pipeline's full pressure into the local distribution network."
- aetherspawn 2y agoEV software engineer here. Your hypothesis is basically correct. Since the motor is under no load, it will appear to spin out of control even with the smallest torque application, but in reality the torque being applied is very small… probably around 5Nm. Trust me if it was truly spinning out of control with no load you’d know… it would reach max speed in 0.1 seconds and probably start tearing through the floor. Most likely what’s happening is that the creep torque is applying a constant small torque and the wheel sensors are reading 0 continuously, so it continues to apply a constant small torque.
- angusgr 2y agoHey! Post author here. I appreciate the insight from someone who's worked on this kind of thing formally, thanks. > Most likely what’s happening is that the creep torque is applying a constant small torque and the wheel sensors are reading 0 continuously, so it continues to apply a constant small torque. This was also my hypothesis at the time of the post. Turned out it's less constrained than this, a fully operational car with the drive wheels off the ground will also run away to high rpm (even in Neutral): https://www.projectgus.com/2024/04/unremarkable/#on-car-testing https://www.projectgus.com/2024/04/unremarkable/#on-car-test... There's still minimal torque, as you say, so a small press on the car's brake pedal is all it takes to stop. However I think if a driveshaft broke on a real car then it'd be spinning fast for a minute or two... It kind of makes sense that the control loop is tuned for a heavy car with a fixed drive ratio, though. I am still hopeful there will be a way to stop this behaviour via a control signal (rather than pulling the safety interlock and slamming the contactors open). Have left the problem aside until I have a mechanical brake to use for testing! If that doesn't work out then it's still usable I think, provided any EV conversion is single speed fixed gear just like the Kona. If you have any other insights on this then I'd be very interested to hear them, though.
- aetherspawn 2y agoIt won’t happen on a real car because the speed probably comes from the ABS wheel speed sensors, and in that case they would read the correct speed of the wheels (unless the motor shaft is proper broken). If the ABS is properly plugged in it will detect a fault with the sensors (which probably causes the creep to stop) however it won’t detect a mechanical fault with the encoder wheel (such as sensor not bolted to wheel) — such a fault is indistinguishable from the wheel not spinning, thus zero speed. I think you were emulating the ABS module right? In that case, the spinning out of control is actually probably your fault. If you had not emulated this, the system would realise there is an ABS fault (from the messages not being present) and not use the ABS reported speed. It might even fall back to motor speed automatically. Re: shaft scenario, if the motor shaft is broken the safety risk is pretty minimal because the torque wont actually cause the car to move. I guess this is what they arrived to in the FMEA.
- HiroshiSan 2y agoVery cool, I'm in automotive and in school we've got a few of these builds with some older engines to play around with.
- numpad0 2y agoIIUC, flying orbital altitude over on this domain, treat as hallucinations: High end brushless motors like EV traction motors are "vector" controlled and instructed by desired torque, not in sinusoidal phase shifts and desired RPM. Back EMF voltages are measured at output terminals of drivers, and errors between expected vs measured voltages is fed back to the driver thereby achieving requested torque, somewhat disconnected from RPM. This means motor RPM always diverges into +/- infinity with any non-zero torque request under no-load condition. There is another quirk of note, that some EV motors seem to jump into an open-loop mode when BEMF or rotor phase detection reports failure, and that might also result in unintended acceleration, but that's probably not it.
- ActorNightly 2y ago> the Hyundai Kona Electric is absurdly complicated. More than five separate CAN buses, ten or more kilograms of low voltage wiring, probably over one hundred electronic modules (most with their own CPU and firmware), etc. This is just sad for electric cars.
- cdmckay 2y agoWhy is it sad?
- ActorNightly 2y agoCause electric cars are supposed to be simple.
- holoduke 2y agoHow would you do it otherwise? And btw. Ice cars have probably similar amount of modules.
- ActorNightly 2y agoICE cars are more complex. You want an ECU and TCU separate because those are pretty critical to the cars not breaking, you have a separate system for 12v power to the battery and accessories, you want your steering gauge cluster/display separate so it can show critical information apart from the entertainment cluster, and so on. With an electric car, the control of the motor is DEAD simple, and you already have your electrical power. You really need like 2 modules/computers at most. Motor controller that takes DC power and converts it to the phase power to drive the motor, and the "main" computer that includes a PDU and manages the systems of the car. Optionally a 3d entertainment cluster, but honestly, you can just include a slot for a tablet with a USBc plug from the main computer, and an app, and that would be better than whatever manufacturers are doing now.
- janosch_123 2y agoI've put a Nissan Leaf on a bench before and run it just like you did and would never do it again. This approach is so much harder than it seems. "once everything works then it'll be straightforward to remove what's left and dramatically reduce the rats nest qualities of this setup" We thought the same initially, it turns out the system depends on many more components than you would think. I imagined the EV system to be like an onion where you can take layers off, not so!It is much more like an egg, once you smash it, you have a few shards that you can re-use but you end up with a mess due to high connectivity between systems. (Leaf refused to turn on without original power steering and wipers connected). Surprisingly what is more straightforward is putting together your own drivetrain with something like https://openinverter.org https://openinverter.org and building it back up from first principles. Or you isolate the inverter and motor and make them believe they are still in the original vehicle by replaying CAN messages, ZombieVerter is a project with that approach. Both of these are open source projects. Happy tinkering!
- MrGilbert 2y agoSounds like the early* days of software engineering, where everything was a big bowl of spaghetti you would never untangle again, compared to modular applications that you have nowadays. *rumor has it, that most of the software out there is still written like that.
- krisoft 2y ago> Sounds like the early days of software engineering Sounds much more like they are trying to work with a production system without the source code, the debugers, the compilers, the datasheets, and the documentation. Plus many of the things they want go directly against the wishes and good judgement of the engineers who made the system. They want to start the car without the steering component. I bet that someone at the manufacturer spent extra energy that you can’t do that. Why? Because under production circumstances if the steering components are not answering that means that something is terribly wrong with the car and it would be dangerous to turn on and accelerate. Same with the keyless entry component. I bet that there were at least an effort done to make circumventing that hard.
- 34567 2y ago[flagged]
- dzannetandreevn 2y ago[dead]
- mort96 2y agoThe removal of the parentheses in the title really changes the meaning... The original title focuses on the fact that they got the motor to turn, with the addendum that it turns too much. The HN title makes it sound like the article is about how the motor turns too much.
- HPsquared 2y agoThe constant 5 Nm torque is probably to prevent backlash in the driveline when setting off. Best to keep all the gears, shafts etc under a slight preload so they don't "clunk" when you start accelerating. Much easier on the components, and better comfort.