The invention discloses a
sun sensor and a measuring method thereof, relating to a device of an attitude sensor for measuring the relative positions of an aerocraft such as a
satellite and the like and the sun and a measuring method thereof. The device comprises a light path introducer, a photosensor and a
signal processor. The light path introducer consists of a reference
optical fiber and introducing optical fibers, wherein the reference
optical fiber is arranged at the center of the light path introducer, 2-2n pairs of introducing optical fibers are uniformly distributed on a circular track taking the reference
optical fiber as the center of the a circle, wherein n is 2, 4 or 8, each pair of the introducing optical fibers comprise two optical fibers which are symmetrically distributed based on the center of the circle, and the end face normal of each introducing optical
fiber and the end face normal of the reference optical
fiber form an included angle of 15-60 degrees. The photosensor consists of photoelectric sensing elements with the same number as that of optical
fiber, and the output end of each optical fiber is in
butt joint with a photoelectric sensing element. The invention has the characteristics of high-precision resolution ratio, small volume, light weight, simple structure, low price and suitability for
aerospace environment, and has wide generalization and application prospects.