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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypilot motor controller
#8
(2018-06-14, 12:54 PM)NahanniV Wrote: I think you are heading in the right direction here, adding a simple "H" bridge, But:
Would it not be simpler and more efficient to get rid of the Arduino completely and just add an ADC to the RPi ?
The arduino is probably the simplest way to add an ADC to a RPi already.

There is optical isolation to protect the raspberry and the simplest way to do that is over a uart, not spi.

Furthermore, the raspberry has difficulty generating decent pwm signals especially for 4 channels.

Finally, the arduino can react to overcurrent, end of travel or rudder feedback stops much faster than the raspberry ever could stopping the motor much more quickly.

I got the current down to 16mA for the controller which isn't great.  About half of this is the cheap regulator and power LED.   Finally, if it were running at 3.3v instead of 5v it would drop significantly.   So it's definately possible to make the controller use 5mA or less eventually.  It uses about an extra 1.5mA when it's driving the mosfets.

A different uC could probably get the consumption down to 2-3mA
Quote:Come up with a drip proof box with a heat sink and terminal strip for connections and you would have a very simple and easy to install autopilot with better functionality than commercial units that cost thousands of dollars. 

The mosfets I am using make it possible to run at 15 amps continous without a heat sink, but 60-80 amps with one.

I tried bolting them to an aluminum case with insulating pads, and insulating washers, and I do not like this.  It seems too easy to accidentally short out.  I will redesign the board so that the mosfets are clamped a different way.
Reply


Messages In This Thread
Pypilot motor controller - by quetzal - 2018-06-05, 09:09 AM
RE: Pypilot motor controller - by jim321 - 2018-06-05, 10:06 AM
RE: Pypilot motor controller - by quetzal - 2018-06-05, 06:32 PM
RE: Pypilot motor controller - by seandepagnier - 2018-06-06, 06:09 PM
RE: Pypilot motor controller - by jim321 - 2018-06-07, 12:56 AM
RE: Pypilot motor controller - by seandepagnier - 2018-06-12, 09:17 PM
RE: Pypilot motor controller - by NahanniV - 2018-06-14, 12:54 PM
RE: Pypilot motor controller - by seandepagnier - 2018-06-14, 04:04 PM
RE: Pypilot motor controller - by CapnKernel - 2019-11-28, 02:55 AM
RE: Pypilot motor controller - by CapnKernel - 2021-01-13, 02:56 AM
RE: Pypilot motor controller - by jim321 - 2018-06-15, 11:25 AM
RE: Pypilot motor controller - by seandepagnier - 2018-06-15, 02:50 PM
RE: Pypilot motor controller - by seandepagnier - 2018-06-17, 10:27 PM
RE: Pypilot motor controller - by quetzal - 2018-06-19, 03:54 PM
RE: Pypilot motor controller - by CapnKernel - 2019-07-24, 08:24 AM
RE: Pypilot motor controller - by seandepagnier - 2021-01-14, 12:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)