This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strange behaivour
#16
(2019-07-13, 04:14 PM)rmvdmrl Wrote: Hi Skeyedoc,
TMHO. You should connect a 1k resistor from the IBT2 IS to ground that should give a 8.5 ratio from current to Vis (BTS7960 datasheet). So with a current of 15 Amps there should be 1,764 volt (15/8,5) on that resistor (with a max of 7 volt in current limit mode but standard that should be with 43 Amps/8,5=5.05 Volt). Off course you want the Arduino to measure and give the right current. Just for an example According to ohm's law a shunt of 0.05Ohm (one of the options with the Arduino/Pypilot) should give a voltage of 0.75 volt at 15 Amps (that is also what the code in motor.ino measures (low current 20 Amps Max)  (1024/1,1(refvolt)=931 x 0,75V = 698,2 x 275 /128 =1500)  therefore you could (and should because of the possible 7 volt) use a voltage divider of 100Kohm and 74Kohm that will result in a voltage of 1,764V/174KOhm X 74Kohm=0,7502 volt. So Your measured current should be reasonably right. I hope this will put you in the right direction and off course I can’t give any guaranties as most off the time I have no idea what I’m thinking or doing.
Greetings Rob

These notes are extremely helpful! I'd had no understanding of how the measured current worked. I'll try these values soon.

Thank you!
Reply


Messages In This Thread
strange behaivour - by beholder77 - 2019-06-13, 05:23 AM
RE: strange behaivour - by jim321 - 2019-06-13, 12:02 PM
RE: strange behaivour - by beholder77 - 2019-06-13, 01:48 PM
RE: strange behaivour - by PaddyB - 2019-06-13, 02:37 PM
RE: strange behaivour - by beholder77 - 2019-06-14, 04:18 AM
RE: strange behaivour - by PaddyB - 2019-06-14, 12:19 PM
RE: strange behaivour - by skyeyedoc - 2019-06-17, 01:41 PM
RE: strange behaivour - by beholder77 - 2019-06-17, 05:26 PM
RE: strange behaivour - by skyeyedoc - 2019-07-04, 12:27 PM
RE: strange behaivour - by CapnKernel - 2019-09-30, 05:28 AM
RE: strange behaivour - by skyeyedoc - 2019-06-18, 11:18 AM
RE: strange behaivour - by skyeyedoc - 2019-06-20, 02:41 PM
RE: strange behaivour - by seandepagnier - 2019-07-04, 01:23 PM
RE: strange behaivour - by skyeyedoc - 2019-07-04, 03:37 PM
RE: strange behaivour - by jim321 - 2019-07-04, 04:39 PM
RE: strange behaivour - by rmvdmrl - 2019-07-13, 04:14 PM
RE: strange behaivour - by skyeyedoc - 2019-07-14, 12:15 PM
RE: strange behaivour - by skyeyedoc - 2019-08-28, 07:52 PM
RE: strange behaivour - by seandepagnier - 2019-08-29, 12:16 PM
RE: strange behaivour - by rmvdmrl - 2019-08-30, 01:21 AM
RE: strange behaivour - by skyeyedoc - 2019-08-30, 01:58 PM
RE: strange behaivour - by jim321 - 2019-08-30, 02:05 PM
RE: strange behaivour - by rmvdmrl - 2019-08-30, 04:49 PM
RE: strange behaivour - by jim321 - 2019-09-30, 10:50 AM
RE: strange behaivour - by CapnKernel - 2019-11-24, 02:14 PM
RE: strange behaivour - by jim321 - 2019-11-24, 10:11 PM
RE: strange behaivour - by seandepagnier - 2019-11-25, 12:20 AM
RE: strange behaivour - by CapnKernel - 2019-11-25, 01:47 AM
RE: strange behaivour - by CapnKernel - 2019-11-25, 03:22 AM
RE: strange behaivour - by seandepagnier - 2019-11-25, 02:49 PM
RE: strange behaivour - by jamos.tan@gmail.com - 2021-02-02, 05:17 PM
RE: strange behaivour - by seandepagnier - 2021-02-04, 03:09 AM
RE: strange behaivour - by Pascal - 2021-02-04, 06:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)