The invention relates to a motor angle detection and diagnosis device and method in a vehicle-mounted motor controller. The motor angle detection and diagnosis device is connected with a driving motor through a rotary transformer, and the rotary transformer is used for outputting a rotary transformer feedback signal of the electric angle of the driving motor. An angle sampling and diagnosis system in the motor angle detection and diagnosis device carries out two-path simultaneous sampling on the rotary transformer feedback signals conditioned by the rotary transformer feedback processing circuit, calculates a first electrical angle and a second electrical angle respectively, and carries out real-time diagnosis on the two paths of sampling data, the first electrical angle and the second electrical angle. Meanwhile, a hardware circuit is diagnosed, and the motor controller is controlled to enter a safe state when a diagnosis result is abnormal. According to the scheme, sampling is carried out through two sampling channels, angle software decoding is achieved through a software algorithm, and a software diagnosis mechanism is added, so that angle decoding above ASILC can be achieved, use of a safety decoding chip is avoided, and the production cost is reduced.