triangulation using two Sonar sensors

I have a question regarding localization using Sonar sensors.

First should I use a single sensor or 2 ?
Secondly, I will attach the sonar sensor(s) on a fixed location and place an object to triangulate it's position and plot the error with respect to the measure location.

Is there any other way to implement this problem ?

Please Advice.

Regards.

With one sonar sensor, you get the distance to the nearest object, approximately in the direction that the sensor is pointing. If you scan one sensor (using for example a servo), you get an angle and distance to the nearest object.

With two sensors, both scanned using servos, you could imagine triangulation to get a more accurate position. However, each sensor returns the distance to the nearest object.

How will you know that you are detecting the object of interest?

Since my main focus is to plot the error obtained from the Sonar sensors. I was considering having only a single object in the environment whose exact position will be known

Proper triangulation requires a single sender, and multiple receivers at a certain distance. Then you can determine the time lag between one output ping (pulse train) and the echoes received. The first echo comes from the nearest object, further echoes from more distant objects may follow.

Multiple sender/receiver pairs require a delay, so that all echoes from the first sender have vanished before the other one pings.

I'm working on something similar, using three microphones to locate a simulated gunshot using TDOA (Time Difference Of Arrival). It is also called Multilateration.