A new process for the production of triiodotrimesic acid that is used as an intermediate product for the synthesis of x-ray contrast media is described. The present invention also provides a quasi-resonant valley voltage detecting apparatus. The sub-segments, such as edge segment and intermediate segment 16, 18, which are advantageously produced through extrusion, are hooked to one another to form an inseparable unit in the connected state.