The reason for this release is to bring the DC Generators core regulation functions back in step with changes which have been made in the stand alone Arduino Alternator Regulator source. These mainly focus on the core mange_alt() function and include:
- Expansion of P&D engine to include 'I' factor, now a full PID capable engine.
- Improved field PWM error summing to prevent one factor from overwhelming others when regulation is close to its goal (esp Voltage)
- Adjusted pull-back factors, to lessen the dramatic pull down associated with common load-dumps
Over the coming months I hope more can be learned about the core regulation engine, and perhaps further refinements can be made to the PID tuning. Given the common code base between the DC Generator and the stand alone Alternator Regulator there is opportunity for all to help in any future adjustments.
There had been no changes to the configuration.h file, so if you have already edited a copy of that to match your system - just download the core .INO source file and team it up with your edited config.h file. That way you will get the new code, and retain your individual customization.
A final note: Over the past few days I have completed a changeover to the newest Arduino IDE release v1.6.0 This release of source was tested using the new IDE, and going forward will continue to keep largely in step with the RELEASED (non beta) versions of the Arduino IDE. I suspect the DC generator source will work OK with the prior IDE released (1.0.5, or 1.0.6), but have not been actively using those for about a week now.