Thermal单元
1.添加Thermal单元
- 把pro中的includepath路径全部加入
![image]()
调试的时候出现了找不到ArmIntrinsicsStub.h - 通过找寻这个文件,发现在Stubs文件夹里面,我把ArmIntrinsicsStub.h和ArmIntrinsicsStub.cpp文件都加入工程中,然后调试后就没有错误了
- 工程文件的介绍
- .pro工程文件,主要是路径和一些配置,还有工程中的.h和.cpp文件
- .pri文件是google test的关联文件,里面有那个google test的项目路径
- .h文件
- .c文件
2. 有关Thermal的文档
- 这里有9个温度,(1个Composite Temperature, 8个传感器温度)
最低阈值和最高阈值通过 ADMIN set feature command来设置,如果9个中任何一个温度超过了这个阈值,那么就会将 标志位置1,从而触发异步事件
composite temperature:是通过8个温度传感器通过特定的算法得到的
![image]()
问题
FCL是啥




TM1和TM2是通过什么来判断设置多少为好?
3.Thermal manager主要工作
so Thermal Management can sample and calculate I/O delays every few seconds (assume 3-5 seconds for now) via a timer task
The I/O delay can be passed to the I/O Throttle module via shared variables. The I/O Throttle module is responsible for delaying Nand operations to FCT with the amount of delay specified by Thermal Management module
After calculating the composite temperature, the table entry corresponding to the temperature that is closes to the measured composite temperature (less than or equal) is looked up. Since the delays are organized to be increasing with temperature, the control loop is a proportional control. The actual delay values within the table will need to be determine empirically for each product.
4.温度PID控制算法
学习的视频:
https://www.bilibili.com/video/BV1B54y1V7hp?from=search&seid=14152695602247606275


浙公网安备 33010602011771号