静海商城网站建设,外贸移动商城网站开发,网站备案与域名备案,临沂做网站首选摘要 本篇文档主要用来介绍英飞凌电源管理芯片TLF35584的使用#xff0c;基于电动助力转向应用来介绍。包含一些安全机制的执行。 TLF35584介绍 TLF35584是英飞凌推出的针对车辆安全应用的电源管理芯片#xff0c;符合ASIL D安全等级要求#xff0c;具有高效多电源输出通道基于电动助力转向应用来介绍。包含一些安全机制的执行。 TLF35584介绍 TLF35584是英飞凌推出的针对车辆安全应用的电源管理芯片符合ASIL D安全等级要求具有高效多电源输出通道宽电压输入范围,根据不同的型号有3.3V和5.0V两种命名。可以为MCU提供600mA的电源可以提供200mA的电源给通信还可以提供精确的参考电压给ADC使用具有SPI通信可以监控和配置该芯片。我们以TLF35584QVVS2型号的使用来做介绍。TLF35584的封装类型以及电压分类如下表所示  TLF35584系统框图  管脚介绍 PinSymbolFunction1BSGBoost driver ground:Connect this pin to ground at the low side of an external current sense resistor todecouple the driver noise from the sensitive ground. If step up pre regulator optionis not used, connect to ground.2VSTSupply voltage standby regulator, input:Connect this input to supply (battery) voltage with reverse protection diode andcapacitor between pin and ground. An EMC filter is recommended.3ENAEnable Input:A positive edge signal at this pin will wake the device. In case of not used connectto ground.4WAKWake/Inhibit Input:A high level signal of defined length at this pin will wake the device. In case of notused, connect to ground5QSTOutput standby LDO:Connect a capacitor as close as possible to pin.6AG1Analogue ground, pin 1:Connect this pin directly (low ohmic and low inductive) to ground.7AG2Analogue ground, pin 2:Connect this pin directly (low ohmic and low inductive) to ground.8AGS1Analogue ground, safety, pin 1:Connect this pin directly (low ohmic and low inductive) to ground.In case a safety switch is used, connect directly to the source of the NMOS used.9AGS2Analogue ground, safety, pin 2:Connect this pin directly (low ohmic and low inductive) to ground.In case a safety switch is used, connect directly to the source of the NMOS used.10SS2Safe state signal 2:Safe state output signal 2, sets the application into a safe state. Signal is delayed against SS1, delay can be adjusted via SPI command.11SS1Safe state signal 1:Safe state output signal 1, sets the application into a safe state.12SDISerial peripheral interface, signal data input:SPI signalling port, connect to SPI port “data output” of micro processor to receive commands during SPI communication.13SDOSerial peripheral interface, signal data output:SPI signalling port, connect to SPI port “data input” of micro processor to sendstatus information during SPI communication.14SCLSerial peripheral interface, signal clock:SPI signalling port, connect to SPI port “clock” of micro processor to clock thedevice for SPI communication.15SCSSerial peripheral interface, signal chip select:SPI signalling port, connect to SPI port “chip select” of micro processor to addressthe device for SPI communication.16WDIWatchdog input, trigger signal:Input for trigger signal, connect the “trigger signal output” of the micro processor tothis pin. In case of not used, leave open (internal pull-down).17ROTReset output:Open drain structure with internal pull-up current source. A low signal at this pin indicates a reset event.18INTInterrupt signal:Push-pull-stage. A low pulse at this pin indicates an interrupt, the micro processor shall read out the SPI status registers. Connect to a non maskable interrupt port (NMI) of the micro processor core supply voltage.19SYNSynchronization output signal:Connect this output to the optional external switch mode post regulatorsynchronization input. The signal delivers the step down regulator switchingfrequency either in phase or shifted by 180° (selectable via SPI command). The switch mode post regulator shall synchronize to the rising edge. If not used, leave open.20ERRError signal input:Input for error signal from micro processor safety managing unit (SMU, internalfailure detection of the micro processor). Connect the “error signal output” of themicro processor to this pin.21EVCEnable external post regulator for core supply:Connect this pin to the enable input of the external post regulator. If not used, leaveopen.22MPSMicrocontroller programming support pin:Pull down this pin to ground for operation. Optionally, this pin can be used formicrocontroller debugging and programming purposes. For details please refer toChapter 11.7.23SECConfiguration pin for external post regulator for core supply:Connect this pin to ground if the option external post regulator is not used. If theoption external post regulator is used, leave open.24FREFrequency adjustment pin:Connect pin to ground for low frequency range or leave open for high frequencyrange.25STUConfiguration pin for step up converter:Connect this pin to ground if the option step up pre regulator is not used. If theoption step up pre regulator is used, leave open.26VCIInput for optional external post regulator output voltage (core supply):Connect an external resistor divider to adjust the over and under voltagethresholds of reset output signal ROT.If the option external post regulator is not used, leave open.27GSTGate stress pin:Not for customer use. Connect this pin directly (low ohmic and low inductive) toground.28AG3Analogue ground, pin 3:Connect this pin directly (low ohmic and low inductive) to ground.29QVROutput voltage reference:Connect a capacitor as close as possible to pin.30QUCOutput LDO_uC supply (micro processor supply):Connect a capacitor as close as possible to pin.31QCOOutput LDO_communication supply:Connect a capacitor as close as possible to pin.32QT2Output tracker 2:Connect a capacitor as close as possible to pin.33QT1Output tracker 1:Connect a capacitor as close as possible to pin.34N.C.Internally not connected:This pin is electrically not connected internally and can be kept open/floating,connected to GND or any other signal. Consider neighboring signals for potentialfailures.20ERRError signal input:Input for error signal from micro processor safety managing unit (SMU, internalfailure detection of the micro processor). Connect the “error signal output” of themicro processor to this pin.21EVCEnable external post regulator for core supply:Connect this pin to the enable input of the external post regulator. If not used, leaveopen.22MPSMicrocontroller programming support pin:Pull down this pin to ground for operation. Optionally, this pin can be used formicrocontroller debugging and programming purposes. For details please refer toChapter 11.7.23SECConfiguration pin for external post regulator for core supply:Connect this pin to ground if the option external post regulator is not used. If theoption external post regulator is used, leave open.24FREFrequency adjustment pin:Connect pin to ground for low frequency range or leave open for high frequencyrange.25STUConfiguration pin for step up converter:Connect this pin to ground if the option step up pre regulator is not used. If theoption step up pre regulator is used, leave open.26VCIInput for optional external post regulator output voltage (core supply):Connect an external resistor divider to adjust the over and under voltagethresholds of reset output signal ROT.If the option external post regulator is not used, leave open.27GSTGate stress pin:Not for customer use. Connect this pin directly (low ohmic and low inductive) toground.28AG3Analogue ground, pin 3:Connect this pin directly (low ohmic and low inductive) to ground.29QVROutput voltage reference:Connect a capacitor as close as possible to pin.30QUCOutput LDO_uC supply (micro processor supply):Connect a capacitor as close as possible to pin.31QCOOutput LDO_communication supply:Connect a capacitor as close as possible to pin.32QT2Output tracker 2:Connect a capacitor as close as possible to pin.33QT1Output tracker 1:Connect a capacitor as close as possible to pin.34N.C.Internally not connected:This pin is electrically not connected internally and can be kept open/floating,connected to GND or any other signal. Consider neighboring signals for potentialfailures.46DRGDriver output for external step up regulator power stage, connect to gate:Gate of low side switch of step up pre regulator: Connect to the gate of an externalN-channel mosfet, line to be straight and as short as possible. If step up preregulator option is not used, leave open.47RSHSense resistor for external step up regulator power stage, high side:Connect this pin to the high side of an external current sense resistor to determinethe maximum current threshold through the external N-channel mosfet. If step uppre regulator option is not used, connect to ground.48RSLSense resistor for external step up regulator power stage, low side:Connect this pin to the low side of an external current sense resistor to determinethe maximum current threshold through the external N-channel mosfet. If step uppre regulator option is not used, connect to ground.EP1Edge pin no 1:Keep area below this pin free of ground or other signals, do not solder this pin toground or any other signal. This pin must be kept free of soldering.EP2Edge pin no 2:Keep area below this pin free of ground or other signals, do not solder this pin toground or any other signal. This pin must be kept free of soldering.EP3Edge pin no 3:Keep area below this pin free of ground or other signals, do not solder this pin toground or any other signal. This pin must be kept free of soldering.EP4Edge pin no 4:Keep area below this pin free of ground or other signals, do not solder this pin toground or any other signal. This pin must be kept free of soldering.Cooling TabGNDCooling Tab.Connect externally to GND and heat sink area. 典型应用框图  安全功能 TLF35584提供了很多安全功能来保证系统的安全 输出电源轨监控 VpreregVQUCVQSTVQVRVVCIVQT1,  VQT2VQCO 提供MCU外部安全机制的时序时间监控服务 监控MCU的SMU  ERR输出功能监控MCU的看门狗输出服务二次安全关断能力 TSR TSR01 -在所有产生和监控的输出电压上检测和响应故障。违反将会导致系统级的单点失效 TSR02 -检测并响应MCU安全管理单元(SMU)的错误触发。违反会导致潜伏失效或者多点失效 TSR03 -检测并响应由MCU错误触发的定时监控服务违反会导致潜伏失效或者多点失效 TSR04 -内部需要时激活二次关断信号违反TSR04可能会导致潜伏失效 安全功能应用  安全路径 安全路径是信号链和电路使能并维持系统的安全状态。对于一些TLF35584目标应用达到了安全状态 通过禁用执行器、通信通道或整个系统。在这样的系统中安全路径是安全停机路径。 首要安全路径 主要安全路径不是由PMIC管理的而是由MCU单片机控制的。因此主安全路径不依赖于PMIC的安全逻辑。通常,这类安全路径是通过安全MCU建立的。该单片机可以使应用程序始终处于安全状态使用的条件在有效范围内外部安全机制可用。 二次安全路径 二次安全路径或者叫二次关断路径是通过PMIC的安全功能实现的。在PMIC的安全功能TSR需求中系统的安全状态是通过PMIC的安全状态输出达到的也就是说通过TLF35584的SS1和SS2输出连接到系统电路可以释放或者进入安全状态这种机制可以在检测到关键失效时候进入安全状态已达到安全目标。 安全状态 系统的安全状态被认为是没有任何不合理的高水平风险的运行模式 Assumption: [SM_00_01] 只要TLF35584处于安全状态(通过激活二次安全关机路径即SS1/SS2处于低电平表示)则子系统处于安全状态。 TLF35584包括许多安全设计功能和安全机制以支持实现技术安全分析总结报告中定义的安全级别的安全要求. 安全特性 安全特性概览 安全特性如下图中标红色部分所示  输出电压监控 TLF35584为所有输出提供了独立的电源监控功能每一路输出都包含独立的过压和欠压监控  带隙基准和内部电压监控 所有的内部电压也会被监控如果出现异常会进入POWNDOWN状态。TLF35584包含两路互相独立的带隙基准参考电压互相监控对方的操作。如果超过某一预设的门限值TLF35584将会产生一个中断给到外部MCU可以利用这个中断做一些响应。 热关断 TLF35584包含热监控以保护设备在高温条件下损坏内部有多点的温度保护来防止器件损坏如果检测到过温会产生中断给到MCU MCU应当作出一些反映如可以关断某路电源输出。 错误管脚监控 TLF35584提供一个可以通过ERR脚监控MCU的安全管理单元SMU一个预定义的频率范围的翻转方波信号必须给到TLF35584的ERR脚如果是超过频率范围的信号给到ERR脚会引起报故障TLF35584将会进入INT状态。默认情况下ERR脚功能是使能的。 窗口看门狗 TLF35584包含一个窗口看门狗来监控MCU的运行需要一定间隔内收到触发信号可以通过WDI脚或者SPI在一定的开窗时间内或者超时触发都会被认为是无效的看门狗触发无效看门狗触发事件将会引起内部错误计数器加2并且产生中断有效的看门狗触发事件将会引起错误计数减1如果错误计数器超过配置的门限值TLF35584将会跳转到INT状态。默认条件下窗口看门狗是使能的需要注意的是窗口看门狗和功能看门狗是相互独立的可以同时使能使用。 功能看门狗 功能看门狗稍微复杂一些也叫问答看门狗通过多个SPI通信帧完成。TLF35584产生一个问题同时心跳计数器开始从0向上计数直到心跳周期结束心跳周期可以通过SPI调整配置4个字节的响应答案必须在心跳周期结束之前收到。最后一个收到的响应必须同步写入同步寄存器以复位心跳计数器。如果接收到正确的答案响应认为是一次有效的看门狗触发事件有效的看门狗触发事件会导致内部错误计数器减1无效的看门狗触发事件将会导致内部错误计数器加2并且产生中断。如果错误计数器超过预设的门限值将会跳转到INT状态。默认情况下功能看门狗是禁止的和窗口看门狗可以独立使用互不干涉。 二次安全关断能力 TLF35584具有二次安全关断能力在应用中安全状态输出引脚SS1和SS2的状态用来表明设备的安全状态。 软错误检测和修正 TLF35584通过一些寄存器提供了软错误的检测和修正安全机制包括单个位错误的检测和修正以及两个位错误的检测。两个位错误会引起中断。 安全机制软件需求 TLF35584在安全相关应用中用作微处理器电源。安全机制必须由相应的微处理器执行以保证系统的正确运行。 SPI通信 来自微处理器的SPI通信用于配置TLF35584服务看门狗和监控状态寄存器由于SPI通信是用来传输安全相关信息的因此需要采取措施保证其数据的完整性 奇偶校验 Assumption: [SM_SPI_01] SPI通信中的奇偶校验位为每次通信进行检查。具有无效奇偶校验信息的数据必须被忽略。 奇偶校验位在SPI期间防止单比特故障和奇数比特错误的故障沟通。为了提供更全面的误差覆盖范围可以考虑额外的措施。如果在读操作过程中奇偶校验信息不正确微处理器必须忽略数据和重做读操作 如果写操作过程中的校验信息不正确TLF35584将忽略该数据并产生中断。微处理器应该响应中断并检查中断源即检查是否SPI.PARE位置位。如果写操作失败微处理器应该重复这个操作。 配置 Assumption: [SM_SPI_02] write-verify-apply过程用于对安全相关配置的写访问。因此数据应是在写入数据之后和应用于应用程序之前进行验证。预期配置的验证至少每次配置校验一次并根据应用程序可以重新配置。 所有与安全相关的配置寄存器(称为“受保护的寄存器”)都由定义的LOCK/UNLOCK过程允许在数据激活之前对其进行验证。 清除状态和中断寄存器 所有状态和中断标志在清除之前被正确读取。挂起的中断没有正确清除服务 中断信号 Assumption: [SM_INT_01] 根据具体的应用在将中断信号用作安全功能的应用中对每个中断信号的正确功能进行验证。 中断的处理当产生中断应遵循 可以实施超时其到期应视为测试失败。持续时间超时时间应根据所选择的中断源设置 读取中断状态寄存器并验证中断标志是否与生成的特定中断相匹配 中断响应 Assumption: [SM_INT_02] 微处理器检查每个中断事件的中断源并根据应用程序做出反应要求。 Assumption: [SM_INT_03] 如果通过中断状态标志SYSSF.CFGE检测到一个配置错误MCU应该对设备进行重新配置 复位输出使用 Assumption: [SM_ROT_01] TLF35584的复位输出脚ROT连接到MCU的复位输入引脚当有复位引脚输出主要安全路径激活。 备用Stand-by LDO使用 Assumption: [SM_SBL_01] 在备用LDO用作微控制器的存储器电源供给时需要每个周期确认验证下此LDO是否安全。 独立的二次安全关断路径 Assumption: [SM_SS_01] 必须确保主要安全关断路径和二次安全关断路径的独立性不能存在任何的依赖关系。 一次关断路径或者脚主要关断路径由MCU控制。 Assumption: [SM_SS_02] 在将二次关断路径用作安全功能的应用中根据不同的应用要验证其正确的功能每个周期至少需要一次安全功能验证。 窗口看门狗 Assumption: [SM_WWD_01] 在将窗口看门狗用作安全功能的应用程序中根据应用至少在每个驾驶周期验证一次窗口看门狗的正确性 Assumption: [SM_WWD_02] 在将窗口看门狗用作安全功能的应用程序中其正确的功能包括微处理器复位信号ROT和安全状态输出的激活在每个周期至少验证一次。 功能看门狗 Assumption: [SM_FWD_01] 在将功能看门狗用作安全功能的应用中至少要验证其正确的功能每个驾驶周期一次取决于应用程序。 Assumption: [SM_FWD_02] 在功能看门狗作为安全功能发布的应用程序中其正确的功能包括微处理器复位信号ROT和安全状态输出的激活在每次驾驶中至少验证一次周期取决于应用程序。 ERR引脚监控 Assumption: [SM_ERR_01] 在将ERR引脚用作安全功能的应用程序中每次至少验证一次其正确功能驱动周期取决于应用。 Assumption: [SM_ERR_02] 在ERR引脚用作安全功能的应用中其正确的功能包括微处理器复位信号ROT和安全状态输出的激活在每个驾驶周期至少验证一次。 请注意测试程序的可用性取决于错误引脚监控的配置应用:立即行动与恢复延迟 监控组件 Assumption: [SM_MON_01] 在监控块用作安全功能的应用程序中监视器的正确功能每个使用的监视器每个驱动周期至少验证一次对中断信号的监控。 Assumption: [SM_MON_02] 在监控块用作安全功能的应用程序中监视器的正确功能在对每个已使用的监视器至少进行一次验证以激活安全状态输出周期取决于应用程序。 ABIST ABIST的检测由MCU发起请求 详细执行规则可以参考SM手册要求这里不在赘述。 监控功能恢复 如果对设备的监督功能的测试导致异常或失败则相应的监督功能应被认为是非活性的并应考虑相应的系统反应以确保安全操作。由于缺乏监督功能并不一定意味着违反了安全目标微控制器可以控制场景以增加系统的可用性。进一步讲系统集成者可以预见恢复机制使监管恢复有效运作。如可以重新配置有问题的配置或者重启TLF35584. 硬件需求 二次关断路径 Assumption: [SM_SS_03] 在应用中要确保SS1和SS2的高电平输出被认为是使二次安全关断路径无效低电平或者高阻态被认为是激活安全关断路径的信号。 Assumption: [SM_SS_04] SS1和SS2之间的延迟不能被视为安全特性   最大额定值 Assumption: [SM_ABS_01] 在任何操作下都不能违反数据手册中电气参数的最大额定值 电压电流 温度 外部器件的选择 反相保护 因为TLF35584本身不能够处理反相供电的情况所以需要外部系统层的额外电路来处理电池电压的反接情况。 输入滤波 为了使TLF35584都在额定电气参数范围内操作强烈建议添加输入滤波器以限制电源线上的尖峰相关的参数可以从TLF35584的EMC测试报告中获取。 过流限制 强烈建议在管脚添加限流电阻防止引脚的电流超过手册的限制值。输入电压VST的限制主要靠前级降压器件来提供可靠输入。如我们的应用中的LM5085. 主要分为两类 一类是连接到电池电压等级的ENA和WAK脚必须小心处理过流和反相至少大于10K的串联电阻 第二类是像SPISCS,SCL,SDI,SDO,INT,ROT,WDI,SYN,EVC 至少串联一个大于50欧姆的电阻电阻布局的位置也需在系统级考虑。   ERR脚保护 在MCU的SMU故障输出脚P33.8和TLF35584的ERR脚之间串联大于1K的电阻。   电压域的分离 强烈建议将ECU内的高、低压区分开在不同组的信号之间的电路以减少短路的风险。这可以通过在PCB布线中使用足够的间隙来完成任何外部高压和内部低压信号之间。在这种情况下应给予特别考虑不同域的信号在引脚上连接。 外部被动元器件 必须强制确保连接到TLF35584的外部器件在数据手册要求的范围内如输出电感电容等。外部器件组件的失效必须在系统层级覆盖可以使用冗余外部器件提高系统层级的可靠性。可以参考数据手册有关外部器件要求更详细的信息这里只给出简单的要求     总结 要根据自己的应用选择内外安全机制去执行提高系统的安全。