Here mainly introduces the detection method of electric current, find some factors that are easy to be neglected in the design. First consider two different methods: the detection method based on the magnetic field and the detection method based on the shunt. 1. Magnetic field-based detection methods (represented by current transformers and Hall sensors) have many advantages, such as good isolation and low power loss, which makes it more widely used in power drive technology and high current fields, but It also has shortcomings, such as large size, unsatisfactory compensation characteristics, linearity, and temperature characteristics. 2. Shunt method High-precision low-resistance resistors currently have the characteristics of high power and small size. This method has low cost and high accuracy. More used in automotive electronics. If you want to realize the anti-pinch function, you usually use two methods for detection at the same time. The following takes the window control as an ...