Arduino Working as an AVR "Automatic Voltage Regulator"

Hi not sure if my inquiry falls in that category or not,a quick explanation to what i would like to know,i've made myself an electric generator which uses 2 electric universal motors the driving motor is ran with a 12V battery which is stepped up to make run faster the driving universal motor.
What i would like to know since i am slightly ignorant on coding and electronics is:
It is possible to use Arduino as AVR "Automatic Voltage Regulator"?.
If yes where or how can i find the basic code to make work as an AVR Arduino?.
Basic features of an AVR based on the AC/DC electricity output of the generator sampling the voltage output and speed up or slow down the driving motor based on the voltage output of the generator and the preset values, example if the electricity preset output of the generator is 230V let's say it drops to 210V,the AVR speed up the driving motor and the voltage output increase to the preset value.
If the code to use Arduino as an AVR exist where can i find it?.
What components would i need for Arduino to be used as AVR?
Thank you in advance for any tip or info any of you will provide.
Regards Lodovico

What mechanism, exactly, do you intend to use to make the driving motor speed up or slow down?

Paul

This sounds like a job for a PID loop library, as you are asking for a feedback control loop.

Can you provide a good diagram of all the connections, motors/windings, etc? For instance
a universal motor might be series or shunt, and its possible to wire up in various ways as
a generator, so be explicit about these details (details always matter...).

Paul_KD7HB:
What mechanism, exactly, do you intend to use to make the driving motor speed up or slow down?

Paul

Hi Paul and thank you for the reply.
Its Not a mechanism but a step up DC board,but first i have to say that the method i will be using its different from my original project,since my original project was to make myself a step up 12 to 200v,since i failed on it i decided to buy 2 of the board at the following link:
STEP UP 600W 10A Convertitore DC-DC boost regolabile alimentatore G... "the site is in italian but the basics for understanding how it works shouldn't need to be translated".
Well either way i give you the basic info 600W DC step up 12-60V-In to 12-80V-Out using 2 of them in parallel for a theoretical total of 160v DC and making a bridge for the voltage regulation between both boards that in theory should end up being connected to arduino.

MarkT:
This sounds like a job for a PID loop library, as you are asking for a feedback control loop.

Can you provide a good diagram of all the connections, motors/windings, etc? For instance
a universal motor might be series or shunt, and its possible to wire up in various ways as
a generator, so be explicit about these details (details always matter...).

Well since i do not have any idea on how to make diagrams i took pictures and added text on one, specifying color of wires and winding,Gap so on.
I do hope that you can make sense of it,and as i said on electronics i am not that good since i failed even tho i had basic instructions and not so many details which made me fail to build my own step up,also i agree with you on details any small detail Matter even if it could seem insignificant.
Both motors have the same wiring configuration and both motors come from2 washing machine,the only difference between both motors is the diameter of the rod of the rotor,one rod has the ending diameter of 9.2 mm,the other has the ending diameter 10.5 mm.
By ending diameter i mean the side of the rod where you slip in the pulley.
Both motors have same speed,working voltage and Hz.
Links to Pics:
https://drive.google.com/file/d/15FgHyD-WOj1JcFOo8LmRcvB6kSpsmTop/view?usp=sharing
https://drive.google.com/file/d/1ZhHcFxwPiCVDkrJYh-PyxfO76czfMF0X/view?usp=sharing
https://drive.google.com/file/d/1dvabjDTVEKuqa7xVAMCoG9RbHNcJHz7i/view?usp=sharing

Paul_KD7HB:
What mechanism, exactly, do you intend to use to make the driving motor speed up or slow down?

Paul

I was thinking just now without using any external mechanism or boards,how would i step up 12V DC to 200V DC with arduino?.
Just to keep things nice and tidy in one single board that control stepping up DC for the driving motor and its speed based on the electricity generated,battery charging,hydrogen gas detector.
For the battery chargin and hydrogen gas detector i have already found the codes needed and its parts needed for both.
Right now with that new idea i am missing only the stepping up and AVR control.
Ludo

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.