Skip to main content
. 2019 Feb 27;19(5):1020. doi: 10.3390/s19051020
Algorithm 5. MAI—Tangent Lines with Minimal Angles Intersections Model Algorithm
Data Input
m2 is the number of receivers.
Ck(xk,yk), k=1,2,,m, is the planar position of each receiver.
rk,k=1,2,,m, is the signal range of each receiver to an emitter.
Procedure
1: for each k=1,2,3,,m
 2: k,j:1,2,,m/kj, by (d-6) and (d-7), for each receiver position Ck, used as pole-points, compute all combinations of polar-points Pkj(xpkj,ypkj) and Qkj(xqkj,yqkj) with the respective receiver at position Cj and signal range rj.
 3: Stores the points Pkj and Qkj in the set R (RR{Pkj,Qkj}).
 4: For each corresponding Pkj and Qkj polar-points, by (d-6), compute the respective two tangent lines equation tPkj and tQkj that passes by Ck.
5: end for
6: For all tPkj and tQkj tangent-lines, by (d-3), compute the intersections points, (x+,y+), among all tangent-lines. Stores these intersections points in S.
7: Apply (d-8), find the convex hull polygon for all center circles points Ck. The obtained polygon is the minimal convex polygon that involves all interest points in S. This polygon constitutes our ROI.
8: Exclude from S all intersections points among all tangent-lines on the boundary, or out, of the ROI, called bad intersections points.
9: Apply (d-9), compute the location estimation, Exy(Ex,Ey), of the emitter.
Information Output
10: Emitter location estimation Exy(Ex,Ey).