Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 27-01-2024, 11:38   #61
Registered User

Join Date: Apr 2017
Location: New Zealand
Boat: 31ft tank
Posts: 143
Re: Open Source Arduino Alternator Regulator

Be able to use alternator ac wave form.for rpm, to configure alternator load for small engines at low rpm.
Cowpoos is offline   Reply With Quote
Old 27-01-2024, 13:04   #62
Registered User

Join Date: Sep 2019
Location: Bellingham, WA
Boat: Gulfstar 50 ketch
Posts: 288
Re: Open Source Arduino Alternator Regulator

As for mounting a temperature sensor, whether it be thermistor, 1-wire TO-92 package, thermocouple or thermostat - high temperature epoxy to 'pot' it in the barrel of a ring lug has worked for me. Easy to bolt on anywhere. Glue-filled heatshrink over the barrel and wire lead helps insulate it from ambient and strain relieve (relief?) the wire. Downsides are not as fast response compared to a welded-on thermocouple, and the epoxy takes time to set so production in volume takes some fixturing and space.

1-wire sensors seem to top out at 125C, which is probably adequate. If you need to go higher, then something like a MAX31850 (thermocouple to 1-wire IC, can still be parasitic powered) on a PCB near the sense point with a short thermocouple wire that could be placed inside the alternator... but it's a $10 IC, plus PCB, plus enclosure, plus thermocouple and mounting.

Keep adding these $10-15 "features" and before long you're closing in on the cost of the commercially available regulators. I for one want a low-cost, 12V nominal-only external regulator set up for LiFePo4 charging with rudimentary status interface (local display, wifi or NMEA2000) and an input to shut off charging gracefully. Trying to make one-size-fits-all adds unecessary cost and complexity. Sure, maybe include hardware stuff options for 24V and maybe even 48V in the design (PCB real estate is not too costly) and have different models , but I think the largest potential user base is 12V systems and those 99.5% of those folks are unlikely to convert to higher voltage somewhere down the road.

A $100-ish 12V regulator would be a a no-brainer upgrade path for me - cheap enough to carry a spare or even a couple of them to be able to upgrade other boaters one meets along the way. Over $200 and I'd have to think about it.
Bellinghamster is offline   Reply With Quote
Old 27-01-2024, 17:41   #63
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising the Philippines, just got back from PNG & Solomons
Boat: Wauquiez 45' (now 48') catamaran
Posts: 1,093
Images: 1
Send a message via Skype™ to Jon Hacking
Re: Open Source Arduino Alternator Regulator

I'm pretty much with Bellinghamster. 12v primarily, maybe 24v/48v if it's easy, but I don't think there are many DIYers out there going high, & cost is a primary concern. Having said that, as an EE, I like knowing what my equipment is doing, so the display is well worthwhile IMO (& a major issue with my VSRs).

I wrap 3 long tie-wraps (cable-ties) around my alternator, with my temp-sensor underneath. Not ideal, as the nylon needs to be replaced now & then, but I've never had one fail on me. They have enough stretch to actually hold the sensor securely, but I have to mount it on the iron core, as I can't get to the diodes, which are probably more important.
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 27-01-2024, 18:50   #64
Registered User

Join Date: May 2019
Location: Everywhere
Boat: Razzle Dazzle - 61ft Simpson / Crowther Daggerboard Cat ‘93
Posts: 325
Re: Open Source Arduino Alternator Regulator

Motor temp standards
https://www.nema.org/docs/default-so...rsn=947aee6f_2

Stator laminations are often hotter than case due to induced eddy currents.
nfbr is offline   Reply With Quote
Old 27-01-2024, 20:30   #65
Registered User

Join Date: Jan 2013
Location: where we anchor
Boat: Cooper Seabird 37
Posts: 22
Re: Open Source Arduino Alternator Regulator

I would be very interested in this. Starting a design myself, so this could be a helpful shortcut.

My requirement is very basic. I have a bad belt setup, so all I really need is to manually adjust the current to the field wire. Was going to use a basic transistor setup for this. But, would be interesting to add an arduino to add more charging features.

Please point to the design when you are ready.
scottburch is offline   Reply With Quote
Old 27-01-2024, 20:56   #66
Registered User

Join Date: May 2019
Location: Everywhere
Boat: Razzle Dazzle - 61ft Simpson / Crowther Daggerboard Cat ‘93
Posts: 325
Re: Open Source Arduino Alternator Regulator

Quote:
Originally Posted by scottburch View Post
I would be very interested in this. Starting a design myself, so this could be a helpful shortcut.

My requirement is very basic. I have a bad belt setup, so all I really need is to manually adjust the current to the field wire. Was going to use a basic transistor setup for this. But, would be interesting to add an arduino to add more charging features.

Please point to the design when you are ready.
$5 adjustable 10A DC to DC Buck works well for that. I used one for testing.
nfbr is offline   Reply With Quote
Old 28-01-2024, 17:20   #67
Registered User

Join Date: Oct 2013
Location: Sudbury Ontario
Boat: Windrider 17
Posts: 23
Re: Open Source Arduino Alternator Regulator

Before you do too much reinventing the wheel, be sure to see the excellent open source regulator already created by by William A. Thomason. VSR Alternator Regulator

Quote:
Originally Posted by markxengineerin View Post
I am mostly done developing an alternator regulator with the following features
  • Fully open source, based on Arduino Uno microcontroller, programmable with any PC/laptop
  • Probably <half the cost of any other product in this category
  • Display showing voltage, current, temperature, field command and any error data
  • 12, 24, 48V system support (automatically, same hardware + software)
  • Max 12 amp field current
  • Remote voltage sensing
  • Thermistor for alternator temp sensing
  • Hall effect type alternator output current sensor (clamp style for easy installation)
  • Infinitely programmable charge profile for any battery chemistry
  • Infinitely expandable to communicate with any other device (CAN, NMEA, etc) or add other inputs/outputs
  • Protected + stable power supply (Buck/Boost power regulator operates from 2V to 100V, Reverse Polarity Protected to –40V)
  • 120dB warning buzzer programmable for any fault condition

Are there any other features that people want? Now is the easiest time to add things before finalizing the first PCB order.
openear is offline   Reply With Quote
Old 21-02-2024, 04:54   #68
Registered User

Join Date: Aug 2020
Posts: 922
Re: Open Source Arduino Alternator Regulator

Ok, design review time

Here are the claimed features

Here is the schematic and a description of components

The next task will be the PCB layout.

I'm also interested in feedback on the website, which is intended to help anyone interested in getting started with Arduino for boat applications.

Thanks for the help so far
markxengineerin is offline   Reply With Quote
Old 21-02-2024, 07:11   #69
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising the Philippines, just got back from PNG & Solomons
Boat: Wauquiez 45' (now 48') catamaran
Posts: 1,093
Images: 1
Send a message via Skype™ to Jon Hacking
Re: Open Source Arduino Alternator Regulator

"Laser cut wood enclosure"? Really? Wouldn't plastic be better on a boat? Oh, I see, you're tired of plastic. We've had lots of issues with wood (although your photo looks cool, if a bit elaborate).

"I’m not planning to conformally coat or pot the board..." Your choice, I suppose. Our battery compartment (where this would be mounted) is under our helm, about in the middle of the boat. It's nominally dry-ish, but I had a LiFePO4 BMS corrode away to oblivion in there once. We all live in a moist, salt, marine environment. I view coatings as good, but I don't know how much they cost.

Your "Alternator Wiring" diagram shows your regulator connected to the alternator output, not to the battery. The alternator wire is carrying significant current, so you're reading the alternator voltage, not the battery voltage. Is this on purpose? I'd MUCH rather my regulator was looking at battery voltage, on a wire carrying no significant current. I don't really care what voltage my alternator is outputting. With LiFePO4, even hundredths of a volt are relevant.
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 21-02-2024, 07:19   #70
always in motion is the future
 
s/v Jedi's Avatar

Cruisers Forum Supporter

Join Date: Feb 2009
Location: in paradise
Boat: Sundeer 64
Posts: 19,004
Re: Open Source Arduino Alternator Regulator

You write “open source” but then you also write that you intend to make and sell these?

Of course I will only participate in diy non-commercial efforts.
__________________
“It’s a trap!” - Admiral Ackbar.

s/v Jedi is offline   Reply With Quote
Old 21-02-2024, 09:36   #71
Registered User

Join Date: Aug 2020
Posts: 922
Re: Open Source Arduino Alternator Regulator

Quote:
You write “open source” but then you also write that you intend to make and sell these?
Yes the two can exist together, at least how I think of it. Other businesses with similar models https://en.wikipedia.org/wiki/List_o...s_and_services

Quote:
Of course I will only participate in diy non-commercial efforts.
I hear you, but let me try to change your mind, because I would like your participation:
  • The hardware and software are both open source, nothing hidden, anyone can do what they want with it, including build it themselves if they prefer
  • But you also have the option to buy pre-made hardware, to support what I'm doing and make your life easier. Price undecided, but it's going to be much cheaper than anything else on the market for what it is
  • Making money will compensate me for my efforts, and pay for future product development. It will mostly be the latter, I'm keeping my day job and this is more of a hobby/experiment at least for the foreseeable future
  • Participation is not required, and in many cases will be as simple as someone here saying "why don't you consider an ESP32?" This thought probably took someone a split second to type, but it totally changed the project direction for the better.
  • The above level of participation is not that different in principle than posting a review or opinion about any commercial product.
  • Heck, you already have participated, I think one of your posts was my intro to the INA219. That was valuable and if you'd like a free prototype, PM me and I'll ask for your shipping address when something is ready. I'm guessing a couple months from now if all goes well.

@JonHacking, thanks for the feedback, noted. I will learn more about conformal coatings when the PCB is finalized, maybe I'm just imagining spray causing continuity issues with connections, unless masking is used, and I don't know how complex that ends up looking, how quality is controlled, etc. I also don't know much about the costs, none of the vendors I've found offer that (although I haven't looked very deeply). Open for ideas in this area. I would like to offer something that's corrosion resistant, haven't found a clear path to do it yet.

Quote:
I'd MUCH rather my regulator was looking at battery voltage, on a wire carrying no significant current. I don't really care what voltage my alternator is outputting. With LiFePO4, even hundredths of a volt are relevant.
I'll update the diagram, it's not a good one. The sensor shown was current only, no voltage measurement location is shown. You're free to locate either measurement at any location you choose. In my breadboard prototype, I'm measuring current from the alternator, but voltage at the battery. Opinions on this will vary, but the system can handle any option, or all at once if someone wants.
markxengineerin is offline   Reply With Quote
Old 21-02-2024, 13:40   #72
Registered User

Join Date: Aug 2020
Posts: 922
Re: Open Source Arduino Alternator Regulator

About connectors- the screw terminals selected are the highest we found, and only good to 15 amps. The PWM chip is good to 40, so, better connectors would allow higher currents. Anyone know of anything friendly for a DIY wiring harness, but higher current rating than a screw terminal?
markxengineerin is offline   Reply With Quote
Old 21-02-2024, 14:49   #73
Registered User

Join Date: Mar 2007
Location: Rocky's Boat Yard
Boat: Tayana V42 - Passages
Posts: 618
Re: Open Source Arduino Alternator Regulator

Quote:
Originally Posted by markxengineerin View Post
Anyone know of anything friendly for a DIY wiring harness, but higher current rating than a screw terminal?
Bulky but good old fashion barrier terminal strips.

I like open source projects that are also available as a finished project for those that don't want to have a PCB made and source all of the parts.
__________________
You can make more money but you can't make more time.
jcapo is offline   Reply With Quote
Old 21-02-2024, 15:51   #74
always in motion is the future
 
s/v Jedi's Avatar

Cruisers Forum Supporter

Join Date: Feb 2009
Location: in paradise
Boat: Sundeer 64
Posts: 19,004
Re: Open Source Arduino Alternator Regulator

Anderson PowerPole connectors. Also available for PCB mount.
__________________
“It’s a trap!” - Admiral Ackbar.

s/v Jedi is offline   Reply With Quote
Old 22-02-2024, 08:43   #75
Registered User

Join Date: Aug 2020
Posts: 922
Re: Open Source Arduino Alternator Regulator

What about the P type vs. N type setup- does anyone need N type?

15 amps at 12V max field current, and P type only is the most convenient way to move ahead, but I don't know if there are special cases out there requiring >15 amps, higher than a 12V field, or N type. I asked some of these questions in another thread, but might as well check again here, because now is the time to decide.
markxengineerin is offline   Reply With Quote
Reply

Tags
alternator, regulator


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arduino based alternator regulator Epicurean Marine Electronics 3 18-02-2023 05:36
Arduino based Alternator Regulator Project wayne.b Electrical: Batteries, Generators & Solar 11 11-03-2021 10:16
[SOLD] Balmar Regulator, 100A Alternator & 35A alternator JimJohnston General Classifieds (no boats) 0 07-10-2018 19:36
A DIY barograph based on an Arduino shield PauloOnArbutus Marine Electronics 5 23-01-2016 04:58
3 stage regulator or internal regulator for AGMs? sgtPluck Electrical: Batteries, Generators & Solar 13 05-09-2008 08:50

Advertise Here


All times are GMT -7. The time now is 23:06.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.