CN108363008B - Online current control diagnosis circuit for brush direct current motor - Google Patents
Online current control diagnosis circuit for brush direct current motor Download PDFInfo
- Publication number
- CN108363008B CN108363008B CN201810177803.2A CN201810177803A CN108363008B CN 108363008 B CN108363008 B CN 108363008B CN 201810177803 A CN201810177803 A CN 201810177803A CN 108363008 B CN108363008 B CN 108363008B
- Authority
- CN
- China
- Prior art keywords
- resistor
- motor
- mos tube
- mcu
- capacitor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/34—Testing dynamo-electric machines
- G01R31/343—Testing dynamo-electric machines in operation
Abstract
The invention discloses an online current control diagnosis circuit of a brushed direct current motor, which comprises an MOS tube M1, an MOS tube M3, a resistor R1, a resistor R2 and a shunt sampling resistor, wherein the source electrode of the MOS tube M1 is connected with the drain electrode of an MOS tube M2, a resistor R1 and a motor M, the source electrode of the MOS tube M2 is connected with the source electrode of the MOS tube M4, an AD module ADC2 of an MCU and the shunt sampling resistor, the other end of the resistor R1 is connected with the resistor R2, a capacitor C1 and the AD module ADC3 of the MCU, and the other end of the capacitor C1 is connected with the other end of the resistor R2 and grounded. The invention has the beneficial effects that: 1. the sampling resistor is adopted, so that the cost advantage is better; 2. the operational amplifier has no special requirements on the common-mode input voltage, has larger selection margin and lower cost; 3. when the motor rotates forwards or backwards, the phase current of the motor can be obtained in real time; 4. the AD module directly collects the current value passing through the sampling resistor and is used for mutual verification with the voltage value amplified by the operational amplifier.
Description
Technical Field
The invention relates to a controller, in particular to an online current control diagnosis circuit of a brush direct current motor.
Background
In the first prior art, the current passing through the motor is detected by respectively connecting sampling resistors in series on two PHASEs of the brush motor. When the motor rotates forwards and reversely, the currents with the same direction are amplified by the operational amplifier through the two sampling resistors and then input to the AD module of the MCU, so that two current values passing through the motor PHASE are obtained, mutual verification is carried out, and whether abnormality exists is judged. The movement direction (current direction) of the motor is judged by the fact that the voltage value output by the operational amplifier is larger or smaller than OFFSET. The method requires that the operational amplifier has a very high common-mode voltage input range, and only a few companies have the operational amplifier products with high prices.
In the second prior art, as shown in fig. 1, a method of connecting a sampling resistor in series with a PHASE of a brush motor is used to detect the current passing through the motor. When the motor rotates forwards and reversely, the current directions of the sampling resistors are different, and the voltage output by the operational amplifier is larger than or smaller than the OFFSET voltage. The method requires that the operational amplifier has a very high common-mode voltage input range, and only a few companies have the operational amplifier products with high price; the currents cannot be verified against each other.
In the third prior art, as shown in fig. 2, a sampling resistor is connected in series with the S-stage of the half-bridge low-side MOS transistor, and when the motor rotates in a certain direction, the current passes through the sampling resistor, is amplified by the operational amplifier, and is then input to the AD module of the MCU. Because the motor is controlled by PWM, because the two MOS tubes on the low side of the circuit controller need to be opened for follow current at the same time, the current passing through the sampling resistor has equal magnitude and opposite direction, and is used for checking the current. In the method, when the motor rotates forwards or backwards, the current only passes through one sampling resistor, and the mutual verification of the current can be carried out only when the current continues.
In the third prior art, as shown in fig. 3, a sampling resistor is connected to the S-pole at the lower side of the H-bridge, and when the motor rotates, the current passes through the sampling resistor, and enters the AD module of the MCU after being amplified by the operational amplifier. This method does not identify the direction of motion of the motor and does not verify the current.
Disclosure of Invention
The present invention is directed to an online current control diagnosis circuit for a brushed dc motor, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a brush direct current motor online current control diagnosis circuit comprises an MOS tube M1, an MOS tube M3, a resistor R1, a resistor R2 and a shunt sampling resistor, wherein the source of the MOS tube M1 is connected with the drain of the MOS tube M2, the resistor R1 and a motor M, the source of the MOS tube M2 is connected with the source of the MOS tube M4, an AD module ADC2 and the shunt sampling resistor of an MCU, the other end of the resistor R1 is connected with the resistor R2, a capacitor C1 and the AD module ADC3 of the MCU, the other end of the capacitor C1 is connected with the other end of the resistor R2 and is grounded, the source of the MOS tube M3 is connected with the drain of the MOS tube M4, the resistor R3 and the other end of the motor M, the other end of the resistor R3 is connected with the resistor R4, the capacitor C2 and the AD module ADC4 of the MCU, and the other end of the capacitor C2 is connected.
As a further technical scheme of the invention: the motor M is a brush direct current motor.
As a further technical scheme of the invention: the sampling resistor further comprises an operational amplifier U1, two input ends of the operational amplifier U1 are connected to two ends of the sampling resistor of the shunt respectively, and an output end of the operational amplifier U1 is connected with the AD module ADC1 of the MCU.
Compared with the prior art, the invention has the beneficial effects that:
1. the sampling resistor is adopted, so that the cost advantage is better;
2. the operational amplifier has no special requirements on the common-mode input voltage, has larger selection margin and lower cost;
3. when the motor rotates forwards or backwards, the phase current of the motor can be obtained in real time;
4. the AD module directly collects the current value passing through the sampling resistor and is used for mutual verification with the voltage value amplified by the operational amplifier.
Drawings
Fig. 1 is a circuit diagram of a second prior art.
Fig. 2 is a circuit diagram of a third prior art.
Fig. 3 is a circuit diagram of a prior art four.
Fig. 4 is a circuit diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 4, an online current control diagnostic circuit for a brushed dc motor includes a MOS transistor M1, a MOS transistor M3, a resistor R1, a resistor R2, and a shunt sampling resistor, a source of the MOS transistor M1 is connected to a drain of the MOS transistor M2, a resistor R1, and the motor M, a source of the MOS transistor M2 is connected to a source of the MOS transistor M4, an AD module ADC2 of the MCU, and the shunt sampling resistor, another end of the resistor R1 is connected to the resistor R2, the capacitor C1, and the AD module ADC3 of the MCU, another end of the capacitor C1 is connected to the other end of the resistor R2 and grounded, a source of the MOS transistor M3 is connected to a drain of the MOS transistor M4, the resistor R3, and another end of the motor M, another end of the resistor R3 is connected to the resistor R4, the capacitor C2, and the AD module ADC4 of the MCU, and another end of the capacitor C2 is.
The motor M is a brush direct current motor. The sampling resistor further comprises an operational amplifier U1, two input ends of the operational amplifier U1 are connected to two ends of the sampling resistor of the shunt respectively, and an output end of the operational amplifier U1 is connected with the AD module ADC1 of the MCU.
The working principle of the invention is as follows: the S poles of M2 and M4 MOSFETs of the H bridge are connected with a sampling resistor, when the motor is driven, the operational amplifier amplifies the voltage on the sampling resistor and inputs the amplified voltage to an AD module (accurate value) of the MCU, and meanwhile, the AD module of the MCU acquires the voltage (approximate value) on the sampling resistor and simultaneously performs mutual verification on the two values. In order to obtain the motion direction of the motor, voltage values at two ends of the motor are subjected to voltage division and then enter an AD module of the MCU, and the voltage values at the two ends of the motor are compared to obtain the motion direction of the motor.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.
Claims (1)
1. An on-line current control diagnosis circuit of a brush direct current motor is characterized by comprising an MOS tube M1, an MOS tube M2, an MOS tube M3, an MOS tube M4, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a capacitor C1, a capacitor C2 shunt sampling resistor, an operational amplifier U1 and AD modules ADC1 to ADC4 of an MCU,
the source of the MOS tube M1 is connected with the drain of the MOS tube M2, the resistor R1 and the motor M, the source of the MOS tube M2 is connected with the source of the MOS tube M4, the AD module ADC2 of the MCU and the shunt sampling resistor, the other end of the resistor R1 is connected with the resistor R2, the capacitor C1 and the AD module ADC3 of the MCU, the other end of the capacitor C1 is connected with the other end of the resistor R2 and is grounded, the source of the MOS tube M3 is connected with the drain of the MOS tube M4, the resistor R3 and the other end of the motor M, the other end of the resistor R3 is connected with the resistor R4, the capacitor C2 and the AD module ADC4 of the MCU, the other end of the capacitor C2 is connected with the other end of the resistor R4 and is grounded, the motor M is a brush direct current motor, two input ends of the operational amplifier U1 are respectively connected with two ends of the sampling resistor, the,
when the motor M is driven, the operational amplifier U1 amplifies the voltage on the shunt sampling resistor and inputs the amplified voltage to the ADC1 of the MCU, the ADC2 of the MCU collects the voltage on the shunt sampling resistor, the two values are checked at the same time, wherein, in order to obtain the motion direction of the motor M, the voltage values at the two ends of the motor M are subjected to voltage division and then enter the AD modules ADC3 and ADC4 of the MCU, the voltage values at the two ends of the motor M are compared, and the motion direction of the motor is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810177803.2A CN108363008B (en) | 2018-03-05 | 2018-03-05 | Online current control diagnosis circuit for brush direct current motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810177803.2A CN108363008B (en) | 2018-03-05 | 2018-03-05 | Online current control diagnosis circuit for brush direct current motor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108363008A CN108363008A (en) | 2018-08-03 |
CN108363008B true CN108363008B (en) | 2021-05-14 |
Family
ID=63003473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810177803.2A Active CN108363008B (en) | 2018-03-05 | 2018-03-05 | Online current control diagnosis circuit for brush direct current motor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108363008B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108896816B (en) * | 2018-08-15 | 2020-12-01 | 惠州市蓝微电子有限公司 | High-precision current detection circuit of brushless direct current motor |
CN109066597A (en) * | 2018-09-25 | 2018-12-21 | 盖泽工业(天津)有限公司 | A kind of driving of automatic door motor and current foldback circuit |
CN114137293A (en) * | 2021-11-02 | 2022-03-04 | 中国航空工业集团公司洛阳电光设备研究所 | Direct current torque motor current detection circuit with isolation function |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203310900U (en) * | 2013-06-27 | 2013-11-27 | 浙江联宜电机股份有限公司 | Current detection circuit for DC motor |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5006773A (en) * | 1988-03-28 | 1991-04-09 | Nec Electronics Inc. | Microcomputer control of stepper motor using reduced number of parts |
CN103259469A (en) * | 2013-04-19 | 2013-08-21 | 杭州微光电子股份有限公司 | Electronic commutation brushless direct current and single phase fan circuit and control method thereof |
CN203278729U (en) * | 2013-04-19 | 2013-11-06 | 杭州微光电子股份有限公司 | Electronic commutation brushless direct current single-phase blower fan circuit |
CN103344811B (en) * | 2013-06-27 | 2016-06-08 | 浙江联宜电机股份有限公司 | A kind of DC motor current detection circuit |
CN104678163A (en) * | 2014-12-30 | 2015-06-03 | 东南大学 | Direct-current motor winding current sampling circuit and sampling method thereof |
CN106856390A (en) * | 2015-12-09 | 2017-06-16 | 国家电网公司 | Electric mincing grinding machine direct current generator forward and backward and braking circuit |
CN206878734U (en) * | 2017-04-12 | 2018-01-12 | 浙江航驱汽车科技有限公司 | For there is the direct current generator current sampling device of brush EPS controllers |
CN107727925B (en) * | 2017-11-10 | 2020-04-14 | 电子科技大学 | High-precision wide-range peak current sampling circuit |
-
2018
- 2018-03-05 CN CN201810177803.2A patent/CN108363008B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203310900U (en) * | 2013-06-27 | 2013-11-27 | 浙江联宜电机股份有限公司 | Current detection circuit for DC motor |
Also Published As
Publication number | Publication date |
---|---|
CN108363008A (en) | 2018-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363008B (en) | Online current control diagnosis circuit for brush direct current motor | |
CN106851474B (en) | Class D audio amplifier and corresponding reading method | |
CN107976601B (en) | Fault diagnosis circuit and method for NTC temperature acquisition circuit | |
CN206878734U (en) | For there is the direct current generator current sampling device of brush EPS controllers | |
US20210231735A1 (en) | Method for measuring insulation resistance in inverters with multipoint topology, and inverter with multipoint topology | |
CN104617830A (en) | Counter electromotive force zero-cross detection method and method of brushless DC motor, and phase-changing signal output method and circuit | |
CN103913629A (en) | Device for detecting direct current busbar current and control system of motor with the same | |
JP2022534356A (en) | Motor controller with accurate current measurement | |
EP3537590B1 (en) | Half-bridge driver circuit, related integrated circuit and system | |
CN103453929A (en) | Brushless direct current motor Hall sensor installation position correction method | |
US11635453B2 (en) | Inverter and method for measuring phase currents in an electric machine | |
EP2754237B1 (en) | Electronically commutated electric motor | |
CN106788050B (en) | Power device control and over-temperature protection system and method for motor controller | |
CN106972804A (en) | BLDCM Drive System modeling method based on mixed logical dynamics | |
CN103606328B (en) | Brshless DC motor hall signal and rotor-position relation self-learning method | |
CN111381096B (en) | Steering wheel current detection circuit and system | |
CN103930844A (en) | Control method and system for correcting the voltages to be applied to an electrical load | |
CN109742984A (en) | Driving circuit and motor | |
JP2020169917A (en) | Signal processing circuit, and drive system for motor | |
CN105391350A (en) | Detection device and method for phase counterelectromotive forces of permanent magnet synchronous motor (PMSM) | |
CN205754084U (en) | The position detecting circuit of motor | |
CN104767436B (en) | For identifying current sampling equivalence amplification method and the circuit of motor initial position | |
JP2020188575A (en) | motor | |
JP2016185013A (en) | Motor drive controller | |
CN105572463A (en) | Accurate measurement circuit for bus current of direct-current brushless motor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |