Hi to all, My question is concerning motor controllers. For my own good reasons, I don't want to buy a commercial controller, but design it myself using material, information I found in scientific literature and, of course, internet.
With all the design propositions I studied, I need confirmations about a roadmap, I believe, possible. Let's say a dc drive. EMC2 offering real-time capabilities (real-time kernel), can it send PWM (pulse width modulation) to a H-bridge drive using PWMgen, receive counts from a quad encoder and calculate a PID controller to modify the next outgoing PWM. One channel of output (PWM), one channel of input (encoder) and compensation calculations (PID) in pc. What about cpu overload, how many axes do you think a recent pc could handle this way, what about latency, does the communication protocol between the pc and the controller is critical? If this configuration is possible, I think the controller becomes much easier to build. A H-bridge, an analogue current limiter (shunt resistor), filtering and/or isolation of signals, and if I don't forget a main feature, that's about it... Last question. What would be the best tool to handle the quad encoder input signal? Is there a pretty close HAL setup I should look at to hack in case my setup would be viable? Thanks in advance, Olivier H. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users