05 2023 档案

摘要:vscode自定义代码字体与颜色风格在setting.json中修改即可:在这里插入图片描述"editor.semanticTokenColorCustomizations": { "enabled": true, // enable for all themes "rules": { "*.sta 阅读全文
posted @ 2023-05-30 09:01 Kconfig 阅读(4817) 评论(0) 推荐(1)
摘要:// // Name : FILT_lLowPass // // // Function : Low-pass filter with two filter constants // // Output = (FiltConst1 * (NewInput + LastInput)) + (FiltC 阅读全文
posted @ 2023-05-24 10:56 Kconfig 阅读(69) 评论(0) 推荐(0)
摘要:Simulink之低通滤波 一起留下脚印 低通滤波,从字面意思理解就是低频信号可以通过,高频信号会被滤掉,主要用于去除信号的毛刺和干扰,工程上应用较多。 低通滤波器的基本理论公式是: y(t) = K*u(t) + (1-K)*y(t-1) = y(t-1) + K*[u(t)-y(t-1)] 其中 阅读全文
posted @ 2023-05-24 10:49 Kconfig 阅读(2720) 评论(0) 推荐(0)
摘要:Filter = Filter*(1-Tcon/Tfilter)+ newData*(Tcon/Tfilter) 其中Tcon和Tfilter单位需要一致,比如单位S psRes->fWrestProtectfliter = psRes->fWrestProtectfliter*(1.0f-1.0f 阅读全文
posted @ 2023-05-11 14:32 Kconfig 阅读(31) 评论(0) 推荐(0)