To design transducers or motors, it requires the analysis of a lot of parameters such as length, temperature, efficiency, weight, etc. To obtain the optimum results for given specifications, the solution is to analyze globally all the free parameters in one go, with an optimization algorithm based on the Matlab software including the optimization toolbox. A general module makes it possible then to get the optimum according to the constraints of the problem. In future, a module for each type of transducer or motor as well as a module for the driver will be developed