博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
left & double spindle difference
阅读量:5291 次
发布时间:2019-06-14

本文共 2086 字,大约阅读时间需要 6 分钟。

1. project_cfg.h

#define NUMBER_OF_SPINDLES   (1u)

2. SensorPosition.c

Seems problem! but may only effect on Diagnosis

Spo_CalculatePosition

for ( lu8_Spindle = 0; lu8_Spindle < C_U8_CONFIG_NUMBER_OF_SPINDLES; lu8_Spindle++)

1. Calculate main position based of data from left spindle */

C_U8_CONFIG_NUMBER_OF_SPINDLES

E_SPO_SPINDLE_PRIMARY

E_SPO_SPINDLE_SECONDARY

 

3. MisuseDetection_cfg.c

#if(2u == NUMBER_OF_SPINDLES)

...

#endif

4. ObstacleDetection_cfg.c

5. SlamDetection_cfg.c 

/* primary side - dual sided and single systems */

    SCI_Read_HallSensor_Rpm(&(Sld_ms_PrimarySpindleData.u16_Rpm), E_SHA_HALL_PRIMARY  );

    #if(2u == NUMBER_OF_SPINDLES)

        /* secondary side - only dual sided systems */
        SCI_Read_HallSensor_Rpm(&(Sld_ms_SecondarySpindleData.u16_Rpm), E_SHA_HALL_SECONDARY  );
    #endif

6. SpindleBreakDetection_cfg.c

7. SwcApplPIDCtrlPwm_A.c

  /* Set/reset over current flag depending on spindle current and limit value */

 if ((Inputs->u16_MotorCurrentA < lu16_CalculatedCurrentLimit)
#if NUMBER_OF_SPINDLES > 1
   && (Inputs->u16_MotorCurrentB < lu16_CalculatedCurrentLimit)
#endif

8. SwcActuatorSpindleMotor.c

typedef enum{

#if NUMBER_OF_SPINDLES > 1
 TlgtMot_Right = 1, /* right Tailgate motor */
#endif
 TlgtMot_Left  = 0 /* left  Tailgate motor */
} TlgtMotT;

9. SwcApplPowerBalancer.c

 

/* primary side - dual sided and single systems */

    Sbd_ms_PrimarySpindleData.u16_PreviousRpm = Sbd_ms_PrimarySpindleData.u16_Rpm;
 SCI_Read_HallSensor_Rpm(&(Sbd_ms_PrimarySpindleData.u16_Rpm), E_SHA_HALL_PRIMARY  );
...
    Sbd_ms_PrimarySpindleData.b_TailgatePositionValid = lb_ReadBoolean;

    #if(2u == NUMBER_OF_SPINDLES)

        /* secondary side - only dual sided systems */
        Sbd_ms_SecondarySpindleData.b_TailgatePositionValid = lb_ReadBoolean;
    #endif

 

 

 

 

 Already Research:

2. Short to Gnd Dignosis

some investigation already done:

In Pmg_UpdateHCOMStableFlag() of PowerManager_cfg.c

from the comment

/* Hall Supply A and B shall behavior in the same way, not working independantly*/

this part only considered double spindle system.

the flag b_UHallStable is set here

转载于:https://www.cnblogs.com/dannykong/p/10899563.html

你可能感兴趣的文章
[HDU5536] Chip Factory
查看>>
面向对象与设计模式
查看>>
Android热修复原理
查看>>
算法(二):查找
查看>>
●BZOJ 3529 [Sdoi2014]数表
查看>>
Linux禁止root账户远程登录
查看>>
php 单例模式
查看>>
Angular项目中引入jQuery
查看>>
C# Linq 交集、并集、差集、去重
查看>>
JAVA初始化顺序
查看>>
(转)MSDN Library “已取消到该网页的导航”解决办法
查看>>
iOS-加载html字符串
查看>>
Shell 数组
查看>>
JavaStrip和python的变量存储位置
查看>>
【T_SQL】 基础 续
查看>>
cmd命令安装、卸载、启动和停止Windows Servic
查看>>
lightoj--1245--Harmonic Number (II)(数学推导)
查看>>
poj 1149 pigs ---- 最大流
查看>>
Swift中字符串转化为Class的方法
查看>>
使用RockMongo管理MongoDB
查看>>