We present the combination of a state control and shape design approachesfor the optimization of micro-fluidic channels used for sample extraction andseparation of chemical species existing in a buffer solution.The aim is to improve the extraction and identification capacities of electroosmotic micro-fluidic devices by avoiding dispersion of the extracted advected band.