Available connections on the system is..
1. Reference Voltage can be 2,2V up to 12V (1st parameter) .. It is adjustable with a poti..(Not linear)
2. Linear Potentiometer... (2nd parameter) 12V when fully open and 2,2V when fully closed..
What happens is:
The motor will run Linear Potentiometer slider up and down....
Now you can set how much down it should go...
Essentially this is easy by using a comparator circuit... But this isn't precise enough because of the momentum of the machine..
This isn't also how the boss wants it...
What we want is..
As it approaches the set point (set by poti)...
Initially it will drive the motor very fast using PWM (80% DC is enough) .... But as it reaches the point of destination it will get slower (30% DC) first before coming to a complete halt (0% DC).. Or when it goes over the limit it will reverse to the set point...
This must go very very precise up to 5 micron tolerance... So reverse must not happen! Or if it does happen it must not happen that frequently because of mechanical backlash...
The current setup I am using is with a comparator and is always running at 30% DC. To make it precise as possible.. But they aren't satisfied and want it to run initially fast.. But as it approach goal it will go slower and then stop.
I used the term "motor" but in reality it is a lesser load.. It's a hydraulic system that has a 12V input and 100mA consumption.. The slightest voltage applied will already move the system up or down by the microns...
Any advice? Like what components should I use? I have PID running always in my mind.. But I like to avoid it because I have no experience with PIDs only in textbooks and theory. It should be satisfactory enough if the distance was linearily proportional to its speed.
Best Regards
Franz
1. Reference Voltage can be 2,2V up to 12V (1st parameter) .. It is adjustable with a poti..(Not linear)
2. Linear Potentiometer... (2nd parameter) 12V when fully open and 2,2V when fully closed..
What happens is:
The motor will run Linear Potentiometer slider up and down....
Now you can set how much down it should go...
Essentially this is easy by using a comparator circuit... But this isn't precise enough because of the momentum of the machine..
This isn't also how the boss wants it...
What we want is..
As it approaches the set point (set by poti)...
Initially it will drive the motor very fast using PWM (80% DC is enough) .... But as it reaches the point of destination it will get slower (30% DC) first before coming to a complete halt (0% DC).. Or when it goes over the limit it will reverse to the set point...
This must go very very precise up to 5 micron tolerance... So reverse must not happen! Or if it does happen it must not happen that frequently because of mechanical backlash...
The current setup I am using is with a comparator and is always running at 30% DC. To make it precise as possible.. But they aren't satisfied and want it to run initially fast.. But as it approach goal it will go slower and then stop.
I used the term "motor" but in reality it is a lesser load.. It's a hydraulic system that has a 12V input and 100mA consumption.. The slightest voltage applied will already move the system up or down by the microns...
Any advice? Like what components should I use? I have PID running always in my mind.. But I like to avoid it because I have no experience with PIDs only in textbooks and theory. It should be satisfactory enough if the distance was linearily proportional to its speed.
Best Regards
Franz