Current sampling method and device
The embodiment of the invention provides a current sampling method and device, the current sampling method is applied to an H-bridge circuit, the H-bridge circuit comprises a motor, a first switch element connected to a first phase of the motor and a second switch element connected to a second phase...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a current sampling method and device, the current sampling method is applied to an H-bridge circuit, the H-bridge circuit comprises a motor, a first switch element connected to a first phase of the motor and a second switch element connected to a second phase of the motor, the H-bridge circuit is connected with a sampling resistor, and the method comprisesthe following steps: obtaining a first duty ratio of a first pulse width modulation (PWM) signal, wherein the first PWM signal is used for controlling the switching operation of the first switching element; under the condition that the first duty ratio is within a preset duty ratio range, adjusting the phase of the first PWM signal and/or the phase of the second PWM signal, determining the sampling moment, wherein the second PWM signal is used for controlling switching operation of the second switching element; and sampling the current flowing through the sampling resistor based on the sampling moment to obtain a curr |
---|