I want to know how to use the IFB pin in the TFC-shield.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I want to know how to use the IFB pin in the TFC-shield.

Jump to solution
2,866 Views
jeonghwanchoi
Contributor II

hello

I am trying to control the DC motor through the TFC-shield.

In the TFC-shield, there is a IFB pin (as I know, This pin represent the armature current  over 375 . am I right?)

Here is my questions,

1. Can I  PID control the DC motor with just known about armature current?  I have to measure the angular velocity of the tire as far as I know .

     because armature current and angular velocity are not simply related. so In my opinion It is hard to control the DC motor using armature current .

2.  If I can, then how to use this..?

thanks.

Labels (2)
0 Kudos
1 Solution
2,255 Views
bobapplonie
Contributor II

I believe that is a current feedback pin. According to the datasheet: "The load current feedback output provides ground referenced 0.24% of the high side output current. (Tie to GND through a resistor if not used.)"

You could measure the current through each motor with this pin, but I don't think that is very useful in controlling the motor--a speed sensor on the wheels is probably more useful. The schematics for the board are here: https://community.freescale.com/servlet/JiveServlet/download/93914-26-257650/FRDM-TFC-REVB-BUILD_PAC...

From that, you will see that you enable the H-bridge thru H-Bridge-Enable connected to PTE21 and control the speeds of each motor by applying PWM to H-Bridge-A-IN1/2 (PTC3 and PTC4) and H-Bridge-B-IN1/2 (PTC1 and PTC2).

Good Luck!

Bob

View solution in original post

0 Kudos
2 Replies
2,256 Views
bobapplonie
Contributor II

I believe that is a current feedback pin. According to the datasheet: "The load current feedback output provides ground referenced 0.24% of the high side output current. (Tie to GND through a resistor if not used.)"

You could measure the current through each motor with this pin, but I don't think that is very useful in controlling the motor--a speed sensor on the wheels is probably more useful. The schematics for the board are here: https://community.freescale.com/servlet/JiveServlet/download/93914-26-257650/FRDM-TFC-REVB-BUILD_PAC...

From that, you will see that you enable the H-bridge thru H-Bridge-Enable connected to PTE21 and control the speeds of each motor by applying PWM to H-Bridge-A-IN1/2 (PTC3 and PTC4) and H-Bridge-B-IN1/2 (PTC1 and PTC2).

Good Luck!

Bob

0 Kudos
2,254 Views
FlavioStiffan
NXP Employee
NXP Employee

GregoryCAMUZATjohnmc(test) any idea about this?

0 Kudos