A motor controller comprising: a motor driver that supplies three-phase driving power to a motor coil; and an angle detection device that detects a rotation angle of a rotation shaft, wherein the angle detection device includes magnets (M1, M2) arranged for forming a rotating magnetic field in accordance with the rotation of the rotation shaft, a first magnetic detector that obtains a detected output analogous to a sine wave which is a rotation angle function for the rotating magnetic field, a second magnetic detector that obtains a detected output analogous to a cosine wave, and an analog mixer including a switching circuit that cuts out a plurality of detected output portions analogous to a linear function from the detected outputs obtained from the first magnetic detector and the second magnetic detector as they are or through gain adjustment, the detected outputs being analog, and a bias adding circuit that connects the plurality of detected output portions to each other by supplying bias power to any of the plurality of detected output portions, so as to use the result as an angle detection output (Sθ) analogous to a linear function from the detected output analogous to the sine wave and from the detected output analogous to the cosine wave, the angle detection output (Sθ) being analog, and wherein the motor driver includes a division detecting unit that detects a 120° rotation angle of the rotation shaft from the angle detection output (Sθ), and a driving circuit that supplies the three-phase driving power to the motor coil in accordance with a timing at which the division detecting unit detects a dividing signal at every 120°. a motor driver that supplies three-phase driving power to a motor coil; and an angle detection device that detects a rotation angle of a rotation shaft, wherein the angle detection device includes magnets (M1, M2) arranged for forming a rotating magnetic field in accordance with the rotation of the rotation shaft, a first magnetic detector that obtains a detected output analogous to a sine wave which is a rotation angle function for the rotating magnetic field, a second magnetic detector that obtains a detected output analogous to a cosine wave, and an analog mixer including a switching circuit that cuts out a plurality of detected output portions analogous to a linear function from the detected outputs obtained from the first magnetic detector and the second magnetic detector as they are or through gain adjustment, the detected outputs being analog, and a bias adding circuit that connects the plurality of detected output portions to each other by supplying bias power to any of the plurality of detected output portions, so as to use the result as an angle detection output (Sθ) analogous to a linear function from the detected output analogous to the sine wave and from the detected output analogous to the cosine wave, the angle detection output (Sθ) being analog, and magnets (M1, M2) arranged for forming a rotating magnetic field in accordance with the rotation of the rotation shaft, a first magnetic detector that obtains a detected output analogous to a sine wave which is a rotation angle function for the rotating magnetic field, a second magnetic detector that obtains a detected output analogous to a cosine wave, and an analog mixer including a switching circuit that cuts out a plurality of detected output portions analogous to a linear function from the detected outputs obtained from the first magnetic detector and the second magnetic detector as they are or through gain adjustment, the detected outputs being analog, and a bias adding circuit that connects the plurality of detected output portions to each other by supplying bias power to any of the plurality of detected output portions, so as to use the result as an angle detection output (Sθ) analogous to a linear function from the detected output analogous to the sine wave and from the detected output analogous to the cosine wave, the angle detection output (Sθ) being analog, and wherein the motor driver includes a division detecting unit that detects a 120° rotation angle of the rotation shaft from the angle detection output (Sθ), and a driving circuit that supplies the three-phase driving power to the motor coil in accordance with a timing at which the division detecting unit detects a dividing signal at every 120°. a division detecting unit that detects a 120° rotation angle of the rotation shaft from the angle detection output (Sθ), and a driving circuit that supplies the three-phase driving power to the motor coil in accordance with a timing at which the division detecting unit detects a dividing signal at every 120°.