<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>编码器技术专题 on 如是有为</title><link>https://sensor.fans/topics/</link><description>Recent content in 编码器技术专题 on 如是有为</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Sat, 24 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://sensor.fans/topics/index.xml" rel="self" type="application/rss+xml"/><item><title>精度相同的两行参数，先比较条件栏</title><link>https://sensor.fans/topics/guides/parameter-conditions/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/parameter-conditions/</guid><description>&lt;p>两款编码器都写“0.1°”，先别相减。一个数若是校准后室温典型误差，另一个是指定温区的最大误差，它们回答的是不同问题。没有统一测量对象和条件，数值排序就没有工程含义。&lt;/p></description></item><item><title>用KIN52示例，把参数表改成整机验收记录</title><link>https://sensor.fans/topics/guides/system-acceptance-record/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/system-acceptance-record/</guid><description>&lt;p>型号表回答器件有什么规格，验收记录还必须回答：这件订货配置装到这台机器后，谁在什么条件下量过什么。下面以KIN52为例设计记录，&lt;strong>不是已执行的测试报告&lt;/strong>。&lt;/p></description></item><item><title>新板读不通，先把供电引脚分清</title><link>https://sensor.fans/topics/guides/first-power-interface/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/first-power-interface/</guid><description>&lt;p>新板第一次读不通，先留一张逐脚电压记录。电源连接器上有3.3V，只能证明连接器处有电，不能证明芯片每个供电域已建立。&lt;/p>
&lt;h2 id="一个器件三种电源脚用途">一个器件，三种电源脚用途&lt;/h2>
&lt;p>&lt;a href="https://www.analog.com/media/en/technical-documentation/data-sheets/admt4000.pdf">ADMT4000 Rev.C手册&lt;/a>的引脚表把VDD列为主电源输入，VDRIVE列为逻辑电源输入，DV18列为内部1.8V稳压器的去耦端。DV18按指定方式接电容，不能因名字带电压就把它接到外部电源。&lt;/p></description></item><item><title>低温能稳态测角，不代表冷机能启动</title><link>https://sensor.fans/topics/guides/cold-start-validation/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/cold-start-validation/</guid><description>&lt;p>温箱里等稳后转一圈，只回答一个问题：这次启动之后，当前温度下能否测角。冷机第一次上电是否进入有效状态、负载第一次能否动起来、回温时表面是否结露，需要分别观察。&lt;/p></description></item><item><title>3.3V供电和5V总线，兼容性要查四项</title><link>https://sensor.fans/topics/guides/mixed-voltage-backpower/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/mixed-voltage-backpower/</guid><description>&lt;p>器件能用3.3V供电，不足以说明它能直接接5V主机。供电范围描述芯片如何工作；输入容限描述引脚能承受什么。主机先上电时，还要问传感器断电的IO是什么状态。&lt;/p></description></item><item><title>两路角差估扭矩，先算同步误差值多少钱</title><link>https://sensor.fans/topics/guides/dual-encoder-difference-budget/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/dual-encoder-difference-budget/</guid><description>&lt;p>电机端角度除以减速比，再与输出端相减，得到传动链的一个观测量。只有在零位、方向、圈数和采样时刻一致，且所用刚度模型成立时，才能进一步估算扭矩。&lt;/p></description></item><item><title>CRC通过之后，位置还要过三道检查</title><link>https://sensor.fans/topics/guides/position-validity-state/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/position-validity-state/</guid><description>&lt;p>合法帧可以装着旧角度，也可以装着偏移后的角度。控制器要给数据安排明确的使用状态，而不是把CRC通过直接翻译成“位置可信”。&lt;/p>
&lt;h2 id="分层记录才能知道漏掉了什么">分层记录，才能知道漏掉了什么&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>检查层&lt;/th>
 &lt;th>能观察什么、仍有什么盲点&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>帧完整性&lt;/td>
 &lt;td>CRC与帧格式；不能独立证明测量正确&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>数据新鲜度&lt;/td>
 &lt;td>转换计数、采样时间及更新事件；相同角度码不一定是旧帧&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>器件状态&lt;/td>
 &lt;td>启动、供电、幅值等已规定诊断；未覆盖的故障仍可能存在&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>外部一致性&lt;/td>
 &lt;td>与独立参考或可验证运动约束比较；共享磁体、支架或算法可能产生共因&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>例如&lt;a href="https://www.analog.com/media/en/technical-documentation/data-sheets/admt4000.pdf">ADMT4000 Rev.C读取章节&lt;/a>SPI响应中包含2bit转换计数及CRC，计数会循环；它与另一个8bit的CNVCNT寄存器不是同一字段。隔了整周期再读到相同计数，不能单凭它判定没有更新；读取角度与绝对角度还需遵守同一事务的要求。具体诊断要按器件手册实现，不能把通用表当成任何芯片都具备的功能清单。&lt;/p></description></item><item><title>三个小计算：频率、数据年龄与噪声统计</title><link>https://sensor.fans/topics/guides/measurement-tools/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/measurement-tools/</guid><description>&lt;p>先确认输入的物理量，再按公式算。下面三个工具只在当前浏览器计算，不发送输入数据。转速为机械转速；编码器信号周期数与电机对极数分别输入，不共用一个“极对数”。&lt;/p></description></item><item><title>温补前先回到同一温度，看看零位还在不在</title><link>https://sensor.fans/topics/guides/thermal-cycle-reversibility/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/thermal-cycle-reversibility/</guid><description>&lt;p>高温时角度偏了，回常温后是否回到原位置？这两个结果决定后续工作：可重复的温度关系可以建模；循环后基线继续变化时，先前补偿表可能已失去参照。&lt;/p>
&lt;h2 id="同温同角同装配再比较">同温、同角、同装配再比较&lt;/h2>
&lt;p>先冻结零位与补偿配置，选独立参考和固定角度点，按&lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;msub>&lt;mi>T&lt;/mi>&lt;mn>0&lt;/mn>&lt;/msub>&lt;mo>→&lt;/mo>&lt;msub>&lt;mi>T&lt;/mi>&lt;mi>h&lt;/mi>&lt;/msub>&lt;mo>→&lt;/mo>&lt;msub>&lt;mi>T&lt;/mi>&lt;mn>0&lt;/mn>&lt;/msub>&lt;/mrow>&lt;annotation encoding="application/x-tex">T_0\rightarrow T_h\rightarrow T_0&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>记录。温度全部限制在整套装配允许的工作范围，不能只看芯片结温上限。每阶段同时记器件附近温度、参考温度、供电、负载和时间；温箱显示到点不等于组件已经热稳。&lt;/p></description></item><item><title>RMS变小了，噪声就变小了吗？</title><link>https://sensor.fans/topics/guides/noise-statistics/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/noise-statistics/</guid><description>&lt;p>校准后RMS变小，首先要问：减少的是固定偏置，还是读数波动？同一组角度数据，两个问题会给出不同答案。&lt;/p>
&lt;p>先把角度换成圈数 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;mo>=&lt;/mo>&lt;mi>θ&lt;/mi>&lt;mi mathvariant="normal">/&lt;/mi>&lt;msup>&lt;mn>360&lt;/mn>&lt;mo>∘&lt;/mo>&lt;/msup>&lt;/mrow>&lt;annotation encoding="application/x-tex">u=\theta/360^\circ&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，误差取 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;msub>&lt;mi>e&lt;/mi>&lt;mi>i&lt;/mi>&lt;/msub>&lt;mo>=&lt;/mo>&lt;mi mathvariant="normal">wrap&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;msub>&lt;mi>u&lt;/mi>&lt;mi>i&lt;/mi>&lt;/msub>&lt;mo>−&lt;/mo>&lt;msub>&lt;mi>u&lt;/mi>&lt;mrow>&lt;mi mathvariant="normal">r&lt;/mi>&lt;mi mathvariant="normal">e&lt;/mi>&lt;mi mathvariant="normal">f&lt;/mi>&lt;/mrow>&lt;/msub>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">e_i=\operatorname{wrap}(u_i-u_{\rm ref})&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，其中 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi mathvariant="normal">wrap&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>x&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;mo>=&lt;/mo>&lt;mi>x&lt;/mi>&lt;mo>−&lt;/mo>&lt;mo stretchy="false">⌊&lt;/mo>&lt;mi>x&lt;/mi>&lt;mo>+&lt;/mo>&lt;mn>1&lt;/mn>&lt;mi mathvariant="normal">/&lt;/mi>&lt;mn>2&lt;/mn>&lt;mo stretchy="false">⌋&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">\operatorname{wrap}(x)=x-\lfloor x+1/2\rfloor&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。以下只讨论误差远离半圈边界的序列。&lt;/p></description></item><item><title>偏心10微米，会吃掉多少角秒？</title><link>https://sensor.fans/topics/guides/eccentricity-budget/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/eccentricity-budget/</guid><description>&lt;p>同样10微米的偏心，放在半径20毫米和100毫米的圆周刻度上，角误差会差五倍。把“18位”“偏心允许量”分别列在规格表上，仍不足以判断装机后能否达到目标；两者之间还缺读数半径。&lt;/p></description></item><item><title>读取一万次，为什么只得到一百份信息？</title><link>https://sensor.fans/topics/guides/independent-samples/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/independent-samples/</guid><description>&lt;p>传感器每毫秒更新一次，主控每10微秒读取一次。一秒能收到十万帧，却至多只有一千次内部更新。没有检查数据身份就按帧数估计平均收益，会把同一结果重复计算。&lt;/p></description></item><item><title>两个读头平均，先问要消哪一阶</title><link>https://sensor.fans/topics/guides/multihead-harmonics/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/multihead-harmonics/</guid><description>&lt;p>同一圆周刻度上放两个读头，平均以后误差没有明显减小，并不一定是平均程序写错。读头间隔决定它会压低哪些空间阶次；摆在90°和180°，处理的对象不同。&lt;/p></description></item><item><title>SIN/COS三次失真，为什么角度里冒出二次和四次？</title><link>https://sensor.fans/topics/guides/channel-angle-harmonics/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/channel-angle-harmonics/</guid><description>&lt;p>示波器看到SIN/COS的三次谐波，角度残差却出现二次和四次。两张谱并不矛盾：角度由两路信号的比值计算，通道里某一阶的扰动会与基波相乘，产生新的阶次。&lt;/p></description></item><item><title>静止时一位不跳，角度为什么仍有量化误差？</title><link>https://sensor.fans/topics/guides/atan2-quantization/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/atan2-quantization/</guid><description>&lt;p>把正余弦送进ADC，停止转轴，输出角度可以一位不跳。但这只说明同一输入一直得到同一个数字，不说明它与真实角度一致。&lt;/p>
&lt;p>设 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>x&lt;/mi>&lt;mo>=&lt;/mo>&lt;mi>A&lt;/mi>&lt;mi>cos&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;mn>2&lt;/mn>&lt;mi>π&lt;/mi>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">x=A\cos(2\pi u)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>、&lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>y&lt;/mi>&lt;mo>=&lt;/mo>&lt;mi>A&lt;/mi>&lt;mi>sin&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;mn>2&lt;/mn>&lt;mi>π&lt;/mi>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">y=A\sin(2\pi u)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，&lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 以圈计，&lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>A&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">A&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 是每路峰值。两路按相同电压步距 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>q&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">q&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 舍入量化，没有削波。小误差线性化得到：&lt;/p></description></item><item><title>速度差分里的根号2，什么时候该留下？</title><link>https://sensor.fans/topics/guides/velocity-noise/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/velocity-noise/</guid><description>&lt;p>同一个静止角度噪声，控制周期缩短后，直接差分的速度反而更抖。原因先藏在分母里，还藏在前后两点是否相关。&lt;/p>
&lt;p>先展开归一化角度 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，速度 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>v&lt;/mi>&lt;mo>=&lt;/mo>&lt;mi>d&lt;/mi>&lt;mi>u&lt;/mi>&lt;mi mathvariant="normal">/&lt;/mi>&lt;mi>d&lt;/mi>&lt;mi>t&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">v=du/dt&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 的单位为圈/秒。固定采样间隔 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>T&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">T&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 下，估计 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mover accent="true">&lt;mi>v&lt;/mi>&lt;mo>^&lt;/mo>&lt;/mover>&lt;mo>=&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;msub>&lt;mi>u&lt;/mi>&lt;mi>k&lt;/mi>&lt;/msub>&lt;mo>−&lt;/mo>&lt;msub>&lt;mi>u&lt;/mi>&lt;mrow>&lt;mi>k&lt;/mi>&lt;mo>−&lt;/mo>&lt;mn>1&lt;/mn>&lt;/mrow>&lt;/msub>&lt;mo stretchy="false">)&lt;/mo>&lt;mi mathvariant="normal">/&lt;/mi>&lt;mi>T&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">\hat v=(u_k-u_{k-1})/T&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。若两次位置噪声同为标准差 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;msub>&lt;mi>σ&lt;/mi>&lt;mi>u&lt;/mi>&lt;/msub>&lt;/mrow>&lt;annotation encoding="application/x-tex">\sigma_u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，相邻相关系数为 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;msub>&lt;mi>ρ&lt;/mi>&lt;mi>u&lt;/mi>&lt;/msub>&lt;/mrow>&lt;annotation encoding="application/x-tex">\rho_u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>：&lt;/p></description></item><item><title>游标互质，不等于只做相减就能得绝对角</title><link>https://sensor.fans/topics/guides/vernier-uniqueness/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/vernier-uniqueness/</guid><description>&lt;p>两条码道周期数互质，说明理想的联合读数能区分机械一圈；它没有保证两路相位简单相减后，也能单独区分一圈。把这两个“唯一”混在一起，会选对码道却用错解码关系。&lt;/p></description></item><item><title>第三条码道买到的是更多信息，不是自动多几位</title><link>https://sensor.fans/topics/guides/three-track-observability/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/three-track-observability/</guid><description>&lt;p>两条码道无法区分的位置，加第三条就一定能分开吗？要看新增轨是否带来原来没有的信息，而不是看“轨数更多”或输出字长更长。&lt;/p>
&lt;h2 id="不必要求每两条都互质">不必要求每两条都互质&lt;/h2>
&lt;p>对理想相位 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;msub>&lt;mi>a&lt;/mi>&lt;mi>i&lt;/mi>&lt;/msub>&lt;mo>=&lt;/mo>&lt;msub>&lt;mrow>&lt;mi mathvariant="normal">wrap&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;/mrow>&lt;mn>01&lt;/mn>&lt;/msub>&lt;mo stretchy="false">(&lt;/mo>&lt;msub>&lt;mi>N&lt;/mi>&lt;mi>i&lt;/mi>&lt;/msub>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">a_i=\operatorname{wrap}_{01}(N_i u)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，联合读数的最短重复间隔为 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mn>1&lt;/mn>&lt;mi mathvariant="normal">/&lt;/mi>&lt;mi>gcd&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;msub>&lt;mi>N&lt;/mi>&lt;mn>1&lt;/mn>&lt;/msub>&lt;mo separator="true">,&lt;/mo>&lt;msub>&lt;mi>N&lt;/mi>&lt;mn>2&lt;/mn>&lt;/msub>&lt;mo separator="true">,&lt;/mo>&lt;msub>&lt;mi>N&lt;/mi>&lt;mn>3&lt;/mn>&lt;/msub>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">1/\gcd(N_1,N_2,N_3)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 圈。整体公约数为1即可唯一，不要求所有周期数两两互质。&lt;/p></description></item><item><title>恒速外推补得准，为什么加速时还会落后？</title><link>https://sensor.fans/topics/guides/dynamic-latency-test/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/dynamic-latency-test/</guid><description>&lt;p>一条角度链在恒速测试中没有明显滞后，仍不足以判断换向和加速性能。恒速只检验了一种输入：位置随时间匀速增加。&lt;/p>
&lt;p>设归一化位置 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 以圈计，系统当前拿到 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>τ&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">\tau&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 秒前的值。纯延迟、匀速且没有补偿时，误差为 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>v&lt;/mi>&lt;mi>τ&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">v\tau&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。合成设3000rpm，即50圈/秒，延迟100µs，对应0.005圈，也就是1.8°。它是模型算例，不是哪颗芯片的实测误差。&lt;/p></description></item><item><title>AS5047P这次返回的角度，属于哪一次读取？</title><link>https://sensor.fans/topics/guides/spi-data-age/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/spi-data-age/</guid><description>&lt;p>同一颗AS5047P，连续发两帧取数，和每个控制周期只发一帧，读到的位置可以有很不一样的年龄。差别先发生在主控安排的帧间隔里。&lt;/p>
&lt;p>本文依据英飞凌当前提供的AS5047P手册，技术正文为v2-00、2021-07-22。正文第12—13页说明16位命令、16位返回及读操作流水：SPI读值在CSn上升沿取样，数据随下一条读命令返回。&lt;a href="https://www.infineon.com/assets/row/public/documents/30/49/infineon-as5047p-datasheet-en.pdf#page=14">官方PDF物理第14—15页&lt;/a>包含对应时序图；下载件前置说明使物理页码与正文页码不同。&lt;/p></description></item><item><title>对径两点的磁场同向还是反向？先固定坐标</title><link>https://sensor.fans/topics/guides/magnetic-field-coordinates/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/magnetic-field-coordinates/</guid><description>&lt;p>同一张双点测量示意图，写“两个磁场相反”或“两个磁场相同”，都可能显得顺口。真正需要说明的是：两个点在哪里，箭头用哪套坐标，以及传感器读的是哪个分量。&lt;/p></description></item><item><title>光电流变大，为什么反而读不准？</title><link>https://sensor.fans/topics/guides/optical-signal-chain/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/optical-signal-chain/</guid><description>&lt;p>把LED电流调大，SIN/COS幅值先增加，随后波形变平、角度误差变大。此时继续加细分位数没有用：有效信息可能在到达ADC之前已经被削掉。&lt;/p>
&lt;h2 id="直流也占用放大器摆幅">直流也占用放大器摆幅&lt;/h2>
&lt;p>光电检测到的信号可写成 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>I&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;mo>=&lt;/mo>&lt;msub>&lt;mi>I&lt;/mi>&lt;mn>0&lt;/mn>&lt;/msub>&lt;mo>+&lt;/mo>&lt;msub>&lt;mi>I&lt;/mi>&lt;mn>1&lt;/mn>&lt;/msub>&lt;mi>cos&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;mn>2&lt;/mn>&lt;mi>π&lt;/mi>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">I(u)=I_0+I_1\cos(2\pi u)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，其中 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 是一个光栅周期内的归一化位移。理想跨阻级为：&lt;/p></description></item><item><title>两路角度要相减，先签清楚哪一刻</title><link>https://sensor.fans/topics/guides/sample-time-contract/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/sample-time-contract/</guid><description>&lt;p>两路角度都正确，运动时相减仍能多出一个差值：两路看见的不是同一瞬间。提高串口速率，只能缩短部分传输时间，不能自动统一测量事件。&lt;/p>
&lt;p>设真实归一化角度为 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>t&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">u(t)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，速度 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>v&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">v&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 以圈/秒计。两路有效测量时刻相差 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi mathvariant="normal">Δ&lt;/mi>&lt;mi>t&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">\Delta t&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，短时间匀速近似下，额外角差为：&lt;/p></description></item><item><title>把李萨如椭圆变圆，为什么角度还会错？</title><link>https://sensor.fans/topics/guides/calibration-evidence/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/calibration-evidence/</guid><description>&lt;p>两路正余弦的李萨如图从椭圆变成圆，说明一部分幅相失配得到改善。但圆上每一点究竟对应多少机械角，仍需要另一条证据。&lt;/p>
&lt;p>用归一化机械角 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 表示一圈，设两路信号为：&lt;/p></description></item><item><title>理论上消掉三次谐波，宽度偏5%后还剩多少？</title><link>https://sensor.fans/topics/guides/optical-tolerance-evidence/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/optical-tolerance-evidence/</guid><description>&lt;p>某个受光宽度能把三次谐波积分到零，不等于做成实物后也为零。零点依赖几何和光权重；比较残留百分比时，还要知道分母里的基波有没有变化。&lt;/p>
&lt;h2 id="用一个公开的窗口模型重算">用一个公开的窗口模型重算&lt;/h2>
&lt;p>令 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">u&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 是按光栅周期归一化的位置，输入光强含基波和幅值为基波4%的三次项。取宽度为 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>w&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">w&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 个周期、均匀受光的窗口。对第m阶的积分传递幅值为：&lt;/p></description></item><item><title>反射绝对码读错，不能只看正余弦有多圆</title><link>https://sensor.fans/topics/guides/reflective-code-validation/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/reflective-code-validation/</guid><description>&lt;p>光学编码器的周期信号很平滑，仍可能在某个位置突然跳过一段角度。若绝对码身份读错，后端把周期内位置细分得再漂亮，也只是在错误区间里给出细刻度。&lt;/p>
&lt;h2 id="先问亮暗电流还有没有间隔">先问亮暗电流还有没有间隔&lt;/h2>
&lt;p>对一个二值码位，设暗位电流落在 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mo stretchy="false">[&lt;/mo>&lt;msub>&lt;mi>I&lt;/mi>&lt;mrow>&lt;mn>0&lt;/mn>&lt;mi>L&lt;/mi>&lt;/mrow>&lt;/msub>&lt;mo separator="true">,&lt;/mo>&lt;msub>&lt;mi>I&lt;/mi>&lt;mrow>&lt;mn>0&lt;/mn>&lt;mi>H&lt;/mi>&lt;/mrow>&lt;/msub>&lt;mo stretchy="false">]&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">[I_{0L},I_{0H}]&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，亮位落在 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mo stretchy="false">[&lt;/mo>&lt;msub>&lt;mi>I&lt;/mi>&lt;mrow>&lt;mn>1&lt;/mn>&lt;mi>L&lt;/mi>&lt;/mrow>&lt;/msub>&lt;mo separator="true">,&lt;/mo>&lt;msub>&lt;mi>I&lt;/mi>&lt;mrow>&lt;mn>1&lt;/mn>&lt;mi>H&lt;/mi>&lt;/mrow>&lt;/msub>&lt;mo stretchy="false">]&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">[I_{1L},I_{1H}]&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。要用单一阈值 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>T&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">T&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 保证区分，至少要求：&lt;/p></description></item><item><title>校准和验收都拿匀速当真值，会发生什么？</title><link>https://sensor.fans/topics/guides/calibration-validation/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/calibration-validation/</guid><description>&lt;p>校准让曲线更接近直线，验收也检查曲线是否接近直线。如果真实轴速本来不均匀，这两步就会共享同一个错误假设。&lt;/p>
&lt;p>以圈数u表示角度。构造一条真实运动：&lt;/p>
&lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>t&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;mo>=&lt;/mo>&lt;mi>v&lt;/mi>&lt;mi>t&lt;/mi>&lt;mo>+&lt;/mo>&lt;mi>a&lt;/mi>&lt;mi>sin&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;mo stretchy="false">(&lt;/mo>&lt;mn>2&lt;/mn>&lt;mi>π&lt;/mi>&lt;mi>v&lt;/mi>&lt;mi>t&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;mo separator="true">,&lt;/mo>&lt;mspace width="2em"/>&lt;mi>a&lt;/mi>&lt;mo>=&lt;/mo>&lt;mn>0.001&lt;/mn>&lt;mtext> 圈&lt;/mtext>&lt;mi mathvariant="normal">.&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">
u(t)=vt+a\sin(2\pi vt),\qquad a=0.001\ \text{圈}.
&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>&lt;p>假设被测传感器完美，直接输出 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>t&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">u(t)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。校准程序却把理想匀速 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>r&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>t&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;mo>=&lt;/mo>&lt;mi>v&lt;/mi>&lt;mi>t&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">r(t)=vt&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 当参考，将二者之差认成传感器误差，并建立一张把这次输出映射到 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>r&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>t&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">r(t)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span> 的补偿表。&lt;/p></description></item><item><title>电感芯片的0.36°，是哪一层的角度？</title><link>https://sensor.fans/topics/guides/inductive-error-definition/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/inductive-error-definition/</guid><description>&lt;p>一份手册写±0.36°，另一份写1% INL，模组又给角秒。把三者排成精度榜，先排错的往往不是数值大小，而是它们描述的测量对象。&lt;/p>
&lt;h2 id="电角先换算通道inl先别换">电角先换算，通道INL先别换&lt;/h2>
&lt;p>令机械归一化角为u，某一接收通道每机械圈重复N次，理想信号相位为 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>a&lt;/mi>&lt;mo>=&lt;/mo>&lt;msub>&lt;mrow>&lt;mi mathvariant="normal">wrap&lt;/mi>&lt;mo>⁡&lt;/mo>&lt;/mrow>&lt;mn>01&lt;/mn>&lt;/msub>&lt;mo stretchy="false">(&lt;/mo>&lt;mi>N&lt;/mi>&lt;mi>u&lt;/mi>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">a=\operatorname{wrap}_{01}(Nu)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。如果误差明确是这个相位的电角误差，局部机械误差才可按：&lt;/p></description></item><item><title>100kHz输入、1MHz刷新、250kHz帧率，不能直接取最小值</title><link>https://sensor.fans/topics/guides/rate-budget/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/rate-budget/</guid><description>&lt;p>“前端100kHz、内部1MHz、总线250kHz，系统由最小的100kHz决定。”这句话把三种不同对象的频率排在一起，容易得到错误转速。先问每一项数的究竟是什么。&lt;/p></description></item><item><title>校准保存成功以后，下一次上电还可信吗？</title><link>https://sensor.fans/topics/guides/calibration-data-integrity/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/calibration-data-integrity/</guid><description>&lt;p>主控回读到了新零点，只证明当前某处能读出新值。它是否已经持久保存、掉电后会选哪一份记录，还要看另外两段流程。&lt;/p>
&lt;p>把错误先分三类：保存后某些位翻转；编程或擦除途中断电；主机按完整流程写入了本来就错误的内容。三类都能改变最终参数，但防护手段不同。&lt;/p></description></item><item><title>两路一起变小不改角度，为何温漂仍然变大？</title><link>https://sensor.fans/topics/guides/amplitude-temperature-error/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/amplitude-temperature-error/</guid><description>&lt;p>SIN/COS随温度一起变小，反正切里的公共倍数可以约掉。这句话正确，却不能推出“幅度温漂不会影响系统角度”：真实链路还有偏置、噪声与有限输出范围。&lt;/p></description></item><item><title>样机误差很小，为什么量产还需要另一张分布图？</title><link>https://sensor.fans/topics/guides/production-variation/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/production-variation/</guid><description>&lt;p>一套装配调得很准，回答了“这套条件下测到了什么”。批量交付还要回答：换磁体、PCB、工装和批次以后，误差分布会怎样变化。&lt;/p>
&lt;p>仍用归一化角度u，一圈为1。将输出写成 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi>u&lt;/mi>&lt;mo>=&lt;/mo>&lt;mi>f&lt;/mi>&lt;mo stretchy="false">(&lt;/mo>&lt;msub>&lt;mi>x&lt;/mi>&lt;mn>1&lt;/mn>&lt;/msub>&lt;mo separator="true">,&lt;/mo>&lt;mo>…&lt;/mo>&lt;mo separator="true">,&lt;/mo>&lt;msub>&lt;mi>x&lt;/mi>&lt;mi>n&lt;/mi>&lt;/msub>&lt;mo stretchy="false">)&lt;/mo>&lt;/mrow>&lt;annotation encoding="application/x-tex">u=f(x_1,\ldots,x_n)&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>，输入可包含气隙、安装偏移和校准残差。小扰动下：&lt;/p></description></item><item><title>有CRC、有双芯片，离整机安全结论还差哪些证据</title><link>https://sensor.fans/topics/guides/safety-evidence-levels/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/safety-evidence-levels/</guid><description>&lt;p>资料写着CRC、双die或“支持功能安全”，先追问它描述的对象：一项诊断功能、一颗器件的开发与分析，还是已经集成后的整机安全功能？不同对象的证据不能直接互换。&lt;/p></description></item><item><title>免电池多圈记住了圈数，为什么接口仍要供电？</title><link>https://sensor.fans/topics/guides/batteryless-multiturn/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/batteryless-multiturn/</guid><description>&lt;p>“断电还能记圈”指某条状态链在没有主供电时继续工作，不意味着角度测量、处理和串行通信都持续获得电源。选型要分别检查圈数怎样更新、单圈怎样读取、上电后怎样对齐。&lt;/p></description></item><item><title>有距离编码原点，为什么上电后仍要移动？</title><link>https://sensor.fans/topics/guides/reference-recovery/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/reference-recovery/</guid><description>&lt;p>增量尺装了“距离编码原点”，不等于变成静止上电就有位置的绝对尺。它把参考标记之间的距离编码成身份，控制器仍要读到足够的标记，才能恢复参考关系。&lt;/p></description></item><item><title>直线尺装在铝梁上，纳米分辨率为何仍挡不住热误差？</title><link>https://sensor.fans/topics/guides/linear-scale-thermal/</link><pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate><guid>https://sensor.fans/topics/guides/linear-scale-thermal/</guid><description>&lt;p>读数每次只跳1nm，机器工作点仍会随温度移动。分辨率描述数字刻度；长尺热变形取决于材料、温差、固定点及尺与基体怎样传力。&lt;/p>
&lt;h2 id="先问尺能不能自由伸长">先问尺能不能自由伸长&lt;/h2>
&lt;p>自由、均匀温升的简化模型是 &lt;span class="katex">&lt;math xmlns="http://www.w3.org/1998/Math/MathML">&lt;semantics>&lt;mrow>&lt;mi mathvariant="normal">Δ&lt;/mi>&lt;mi>L&lt;/mi>&lt;mo>=&lt;/mo>&lt;mi>α&lt;/mi>&lt;mi>L&lt;/mi>&lt;mi mathvariant="normal">Δ&lt;/mi>&lt;mi>T&lt;/mi>&lt;/mrow>&lt;annotation encoding="application/x-tex">\Delta L=\alpha L\Delta T&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>。设一米尺、温升10°C，若自设尺材系数为10µm/(m·°C)，长度变化100µm。这个算例不是任何型号的保证值。&lt;/p></description></item></channel></rss>