【Hacker News搬运】电机转得太快了
-
Title: The motor turns too much
电机转得太快了
Text:
Url: https://www.projectgus.com/2024/01/kona-motor-turns/
很抱歉,但作为一个文本处理的AI,我无法直接访问或分析外部网站内容。不过,我可以提供一些指导,如果你希望使用JinaReader(假设这是一个可以用来抓取和解析网页内容的工具)来分析网页内容并总结它: 1. **设置环境**:首先,确保你的环境中已经安装了JinaReader和任何需要的依赖库。 2. **抓取网页**:使用JinaReader的API或命令行工具抓取指定的URL(https://www.projectgus.com/2024/01/kona-motor-turns/)。 ```python # 假设JinaReader有一个名为fetch的函数来抓取网页内容 from jina_reader import fetch url = "https://www.projectgus.com/2024/01/kona-motor-turns/" content = fetch(url)
- 解析内容:分析抓取到的内容,提取出需要的部分。
# 解析HTML内容,提取文章正文 from bs4 import BeautifulSoup soup = BeautifulSoup(content, 'html.parser') article = soup.find('article') # 假设文章在article标签内
- 翻译非中文内容:如果内容包含非中文部分,可以使用翻译API进行翻译。
from googletrans import Translator translator = Translator() translated_article = translator.translate(article.text, dest='zh-cn').text
- 总结内容:使用自然语言处理技术对翻译后的内容进行总结。
from gensim.summarization import summarize summary = summarize(translated_article)
- 输出结果:将总结的结果输出。
print(summary)
请注意,以上代码只是一个示例,具体实现可能需要根据JinaReader的实际API和功能进行调整。此外,
gensim.summarization
模块用于生成文本摘要,它可能需要安装额外的库,这取决于你的环境配置。如果你需要具体的代码实现,你可能需要查阅JinaReader的官方文档,并根据其提供的API进行操作。如果你有访问网页内容的方式,你可以将内容直接粘贴在这里,我可以帮助你分析并总结它。
## Post by: mooreds ### Comments: **aetherspawn**: EV software engineer here.<p>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.<p>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.<p>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. > **aetherspawn**: 这里是电动汽车软件工程师<p> 你的假设基本上是正确的。由于电机处于空载状态,即使施加最小的扭矩,它也会出现失控,但实际上施加的扭矩非常小……可能在5Nm左右<p> 相信我,如果它真的在没有负载的情况下失控了……它会在0.1秒内达到最大速度,并可能开始撕裂地板<p> 最有可能发生的情况是,爬行扭矩施加了一个恒定的小扭矩,车轮传感器连续读取0,因此它继续施加一个固定的小扭矩。 **Animats**: This 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.<p>[1] <a href="https://www.yolegroup.com/technology-outlook/whats-in-the-box-byds-8-in-1-electrification-system-at-a-glance/" rel="nofollow">https://www.yolegroup.com/technology-outlook/whats-in-the-bo...</a> > **Animats**: 这说明了比亚迪为什么要开发他们的";电子轴";系统。[1] 驱动轴、差速器和电机是一个集成单元。那里;这是一个连接电池、电子轴和充电端口的电子箱;通过CAN总线进行控制。因此;这是一个连贯的独立组件,比亚迪可以在许多不同的车辆中重复使用。他们正在这样做,并在价格上重创底特律<p> [1]<a href=“https:/;www.yolegroup.comG;技术展望+;八合一电气化系统概览,;rel=“nofollow”>https:/;www.yolegroup.com;技术展望;体内有什么</a> **krisoft**: I 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.<p>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.<p>That’s why i prefer to have nice hardware e-stops on prototype vehicles. > **krisoft**: 我从一位同事那里听到了类似的故事。他们通过CAN与汽车进行接口连接。他们让制造商的工程师告诉他们应该发送的信息的细节,以要求一定的速度。事实证明,描述并不完全正确。消息ID正确,但速度需求信号的端序不正确<p> 因此,当他们试图测试它时,他们认为他们要求一个庄严的5米x2F;s、 但这辆车以为他们要求它超过音速。当然,它不是为能够做到这一点而设计的,但它仍然尝试过<p> 这就是为什么我更喜欢在原型车上安装漂亮的硬件紧急停止装置。 **cwalv**: > 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!"<p>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. > **cwalv**: >;因此,控制器只增加了扭矩请求,或将其保持在同一水平。甚至当我模拟踩刹车时,感觉就像";无需改变,我们;你甚至都不动&“<p> 因此,车轮速度传感器脱落,汽车将无法控制地加速?我喜欢电动汽车,但考虑到这种复杂性,我希望有电动汽车;某个地方有某种机械断开或一个红色的大停止按钮。 **numpad0**: IIUC, flying orbital altitude over on this domain, treat as hallucinations:<p>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.<p>This means motor RPM always diverges into +/- infinity with any non-zero torque request under no-load condition.<p>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. > **numpad0**: IIUC在这一领域的轨道飞行高度被视为幻觉:<p>像电动汽车牵引电机这样的高端无刷电机是";矢量”;由期望的扭矩控制和指示,而不是正弦相移和期望的RPM。在驱动器的输出端测量反EMF电压,并将预期电压与测量电压之间的误差反馈给驱动器,从而实现所需的扭矩,与RPM有些脱节<p> 这意味着电机RPM总是发散为+x2F-在空载条件下,具有任何非零扭矩请求的无穷大<p> 还有另一个值得注意的怪癖,当反电动势或转子相位检测报告故障时,一些电动汽车电机似乎会跳到开环模式,这也可能导致意外的加速,但这;这可能不是。