Text this: Analysis and optimal design of microstrip sensors