So I want to make a closed loop VSD system with PID, I use the MCP4725 DAC which can output up to 4095 (12bit) as the analog input to the VSD. input here I use "kecepatan" (rpm measurement), Setpoint uses "kecepatanSet" (rpm set, by operator). But if I use the PID library, the output only reaches 255. I want the output to only reach 4095, not just up to 255, I'm a newbie in coding, can anyone help me?
Is there a reason you want to control your motor with an analog voltage and not PWM?
How big is your motor?
Can we please have a circuit diagram?
An image of a hand drawn schematic will be fine, include ALL power supplies, component names and pin labels.
I use analog input because I use a Schneider ATV12 VSD, instead of making a VSD from scratch. it has several drawbacks, such as open loop, cannot know parameters such as voltage, current, motor speed, etc, and cannot be remote or IoT. so I want to design a system that can cover this lacks of vsd.
The system that I made is dependent on VSD, the VSD that I use can only be up to 0.75 kW, so it can only control motors under 0.75 kW.
for my schematic like the picture below, I made this for my course, it's called a creative project, feel free to use it but please don't use it for commercial purposes hehe