KR20170090314A - Apparatus and method for motor control - Google Patents
Apparatus and method for motor control Download PDFInfo
- Publication number
- KR20170090314A KR20170090314A KR1020160011004A KR20160011004A KR20170090314A KR 20170090314 A KR20170090314 A KR 20170090314A KR 1020160011004 A KR1020160011004 A KR 1020160011004A KR 20160011004 A KR20160011004 A KR 20160011004A KR 20170090314 A KR20170090314 A KR 20170090314A
- Authority
- KR
- South Korea
- Prior art keywords
- motor
- value
- control unit
- rotation
- pulse width
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P6/00—Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
- H02P6/14—Electronic commutators
- H02P6/16—Circuit arrangements for detecting position
- H02P6/17—Circuit arrangements for detecting position and for generating speed information
-
- 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P6/00—Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
- H02P6/06—Arrangements for speed regulation of a single motor wherein the motor speed is measured and compared with a given physical value so as to adjust the motor speed
Abstract
A motor control apparatus according to an embodiment of the present invention includes a motor including a magnet, a position sensor that detects a magnetic field generated in the magnet when the motor rotates and calculates a rotation signal, an electronic control device that controls the motor based on the pulse- Unit, and the electronic control unit controls the motor drive based on the estimated number of rotations of the motor based on the pulse width modulation signal and the rotation signal of the motor calculated by the position sensor.
Description
The present invention relates to a motor, and more particularly, to a motor control apparatus for determining whether a position sensor of a motor is faulty by using a pulse width modulation signal.
Pulse Width Modulation (PWM) is mainly used for motor drive or LED lighting inverter control by adjusting On time and Off time and is used in various industrial fields. Further, the speed of the motor can be controlled by adjusting the duty value of the pulse width modulation signal.
In order to control the motor with such a pulse width modulation signal, it is necessary to accurately calculate the rotation position of the motor to effectively control it. Therefore, conventionally, a magnetic sensor is used to detect the magnetic field generated by the magnet mounted on the motor, and the rotational position of the motor is calculated.
However, there is a disadvantage in that it is difficult to judge whether the Hall sensor alone is abnormal or faulty if there is an abnormality in the Hall sensor or when the Hall sensor calculates the error value by the mechanical gap and the temperature condition between the Hall sensor and the magnet.
The following prior art documents relate to a motor speed control apparatus and method, which discloses techniques related to a PWM converter, a duty detector, an error rate controller, and a speed controller, but does not include the technical gist of the present invention.
A motor control apparatus and a motor control method according to the present invention aim at the following problems.
First, a motor control apparatus and a motor control method for determining whether or not a position sensor has failed are provided.
Second, a motor device and a motor method for estimating the number of revolutions of a motor without a current sensor are provided.
The present invention has been made in view of the above problems, and it is an object of the present invention to at least solve the problems in the conventional arts.
A motor control apparatus according to an embodiment of the present invention includes a motor including a magnet, a position sensor that detects a magnetic field generated in the magnet when the motor rotates and calculates a rotation signal, an electronic control device that controls the motor based on the pulse- Unit, and the electronic control unit controls the motor drive based on the estimated number of rotations of the motor based on the pulse width modulation signal and the rotation signal of the motor calculated by the position sensor.
The electronic control unit calculates the number of revolutions of the motor by receiving the rotation signal from the position sensor. A motor driving unit for generating a pulse width modulation signal to control the motor, and a control unit for estimating the motor rotation speed based on the duty of the pulse width modulation signal.
The control unit may include a comparator for calculating a difference between the calculated motor speed and the estimated motor speed, an error counter for increasing the error count when the difference is greater than or equal to a first predetermined value, And a count section for decreasing the count value.
When the count value of the counting unit is equal to or larger than a second value set in advance in the control unit, the electronic control unit generates an error flag and judges the motor (10) as a failure.
A motor control method according to another embodiment of the present invention includes a motor including a magnet, a position sensor for detecting a magnetic field of the magnet, and an electronic control unit for controlling the motor, wherein the electronic control unit includes a motor control method The method comprising the steps of: generating a pulse width modulated signal in an electronic control unit to drive a motor; calculating a rotation signal of the motor based on the magnetic field in the position sensor; Estimating and calculating the number of revolutions of the motor based on the rotation signal, and controlling the motor drive based on the estimated number of revolutions and the calculated number of revolutions.
The step of estimating and calculating the number of revolutions includes estimating the number of revolutions of the motor based on the pulse width modulation signal and calculating the number of revolutions of the motor based on the number of revolutions.
The step of estimating and calculating the number of rotations includes the steps of calculating the number of rotations of the motor based on the rotation signal, and estimating the number of rotations of the motor based on the pulse width modulation signal.
The step of controlling the motor drive includes calculating a difference value between the calculated motor revolution number and the estimated motor revolution number, and comparing the difference value with a predetermined first value to increase or decrease the error count value.
Increasing or decreasing the error count value increases the error count value when the difference value is equal to or greater than the first value and decreases the error count value when the difference value is less than the first value.
The electronic control unit generates an error flag when the error count value is equal to or greater than a preset second value, and determines that the motor is faulty.
The motor control apparatus and the motor control method according to the embodiment of the present invention can estimate the number of revolutions of the motor without using the current sensor based on the pulse width modulation signal of the motor.
Further, by comparing the number of revolutions of the motor calculated based on the position sensor and the number of revolutions of the motor estimated by the pulse width modulation signal, it is possible to effectively determine whether or not the position sensor is faulty.
The effects of the present invention are not limited to those mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the following description.
1 is a block diagram showing a motor control apparatus according to an embodiment of the present invention.
2 is a diagram illustrating a motor control apparatus according to an embodiment of the present invention.
3 is a graph showing error count values of a motor control apparatus according to an embodiment of the present invention.
4 is a view showing two position sensors of a motor control apparatus according to an embodiment of the present invention.
5 is a flowchart showing a motor control method according to another embodiment of the present invention.
FIG. 6 is a flowchart illustrating the rotation speed estimation and calculation steps of the motor control method according to another embodiment of the present invention.
FIG. 7 is a flowchart illustrating the rotation speed estimation and calculation steps of the motor control method according to another embodiment of the present invention.
8 is a flowchart illustrating a step of controlling a pulse width modulation signal of the motor control method according to another embodiment of the present invention.
The present invention will be described in detail with reference to the accompanying drawings. It is to be noted that the accompanying drawings are only for the understanding of the present invention and should not be construed as limiting the scope of the present invention.
1 and 2, the motor control apparatus according to the embodiment of the present invention includes a
The
The
The
The
The rotation
The
The
Conventionally, a current sensor is provided for estimating a rotation signal of a motor. However, in the present invention, since the pulse width modulation signal output from the motor driver is used without a current sensor, the development cost is reduced compared to the conventional case, It is possible to effectively control the motor.
The
The
The
Further, the electronic control unit can generate an error flag to block entry of an external signal, or to make a signal entering the motor intrinsic.
As a result, by comparing the estimated number of rotations of the motor and the number of rotations of the motor calculated by the number-of-rotations calculating unit to increase or decrease the error count value, it is determined whether the position sensor is faulty. Can be controlled.
3, when the predetermined first value is the RPM threshold value, the motor RPM according to the PWM duty is the estimated rotational speed value, and the Hall Counter sensor is the rotational speed value calculated by the position sensor, When the difference between the rotational speed value and the calculated rotational speed value is calculated to be larger than the RPM threshold value, the error counter is increased as shown in FIG. 3 and the error flag is set in the electronic control unit And stops the braking of the motor driving section motor.
In addition, as shown in FIG. 4, the motor control apparatus according to the embodiment of the present invention may include two position sensors. In this case, when one position sensor is determined to be abnormal due to an increase in the error count value based on the pulse width modulation signal, the remaining one motor can be normally driven.
Hereinafter, a motor control method according to another embodiment of the present invention will be described, and duplicated description of the motor control apparatus according to the embodiment of the present invention will be omitted.
5, the motor control method according to another embodiment of the present invention includes a step S100 of driving the
Step S100 of driving the
The step S200 of calculating the rotation signal is a step of calculating the rotation signal of the
The number-of-rotations estimation and calculation step S300 is a step in which the
The step of controlling the motor drive (S400) is a step of controlling the motor drive based on the estimated number of rotations and the calculated number of rotations.
6 and 7, the rotation speed estimation and calculation step S300 of the motor control method according to yet another embodiment of the present invention includes a motor rotation speed estimation step S310a (S320b), a motor rotation speed calculation step S310b Step S310b (S320a).
The motor rotation speed estimation step S310a (S320b) estimates the rotation speed of the
The motor rotation number calculation step S310b (S320a) is a step of calculating the rotation number of the
The steps S310a and S320b of estimating the number of motor revolutions and the step S320b of calculating the number of revolutions of the motor may be performed at the same time. In addition, the motor rotation speed calculation step S320a may be performed after the motor rotation speed estimation step S310a, and the motor rotation speed estimation step S320a may be performed after the motor rotation speed calculation step S310b.
As shown in FIG. 8, step S400 of controlling the motor driving of the motor control method according to another embodiment of the present invention includes calculating S410 the difference value of the number of revolutions, increasing / decreasing the error count value Step S420.
The step S410 of calculating the difference in the number of revolutions is a step of calculating the calculated difference between the calculated number of revolutions of the
The step of increasing / decreasing the error count value (S420) is a step of increasing / decreasing the error count value by comparing the difference value with a predetermined first value.
In addition, the step of increasing / decreasing the error count value (S420) increases the error count value when the difference value is equal to or larger than the first value, and decreases the error count value when the difference value is less than the first value.
Further, when the error count value is equal to or greater than the second predetermined value, the
As a result, by comparing the estimated number of rotations of the motor and the number of rotations of the motor calculated by the number-of-rotations calculating unit to increase or decrease the error count value, it is determined whether the position sensor is faulty. Can be controlled.
The embodiments and the accompanying drawings described in the present specification are merely illustrative of some of the technical ideas included in the invention. Therefore, it is to be understood that the embodiments disclosed herein are not intended to limit the scope of the present invention but to limit the scope of the present invention. It will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents. It should be interpreted.
10: motor 20: position sensor
30: Electronic control unit 40: Number of rotations
50: motor drive unit 60:
70: comparison unit 80:
Claims (10)
A position sensor 20 for detecting a magnetic field generated by the magnet when the motor 10 rotates and calculating a rotation signal;
An electronic control unit (30) for controlling said motor based on a pulse width modulation signal;
Lt; / RTI >
The electronic control unit 30 controls the motor 10 based on the rotation number of the motor 10 estimated based on the pulse width modulation signal and the rotation signal of the motor 10 calculated by the position sensor 20 ) Motor control device.
The electronic control unit (30) includes:
A rotation number calculation section (40) for receiving the rotation signal from the position sensor (20) and calculating the rotation number of the motor (10);
A motor driving unit 50 for generating the pulse width modulation signal to control the motor 10;
A controller (60) for estimating the number of rotations of the motor (10) based on the duty of the pulse width modulation signal;
And the motor control device.
The control unit 60
A comparator (70) for calculating a difference between the calculated number of rotations of the motor (10) and the estimated number of rotations of the motor (10);
A counting unit 80 for increasing an error count value when the difference value is equal to or greater than a predetermined first value and decreasing an error count value when the difference value is less than the predetermined first value;
And the motor control device.
The electronic control unit 30 generates an error flag when the count value of the counting unit 80 is equal to or greater than a second value set in advance by the control unit 60, .
Generating a pulse width modulation signal in the electronic control unit 30 to drive the motor 10 (S100);
Calculating (S200) a rotation signal of the motor (10) based on the magnetic field in the position sensor (20);
The electronic control unit 30 estimates the number of revolutions of the motor 10 based on the pulse width modulation signal and calculates the number of revolutions of the motor 10 based on the number of revolutions of the motor 10, (S300);
Controlling the motor drive based on the estimated number of rotations and the calculated number of rotations (S400);
≪ / RTI >
The rotation number estimation and calculation step (S300)
Estimating the number of revolutions of the motor (10) based on the pulse width modulation signal (S310a);
Calculating a rotation speed of the motor (10) based on the rotation signal (S320a);
≪ / RTI >
The rotation number estimation and calculation step (S300)
Calculating a rotation speed of the motor based on the rotation signal (S310b);
Estimating the number of revolutions of the motor 10 based on the pulse width modulation signal (S320b);
≪ / RTI >
The step S400 of controlling the driving of the motor 10
(S410) calculating a difference value between the calculated number of rotations of the motor (10) and the estimated number of rotations of the motor (10);
Comparing the difference value with a preset first value to increase or decrease the error count value (S420);
≪ / RTI >
The step of increasing / decreasing the error count value (S420)
Increasing the error count value when the difference value is equal to or greater than the first value and decreasing the error count value when the difference value is less than the first value.
Wherein the electronic control unit (30) generates the error flag when the error count value is equal to or greater than a second predetermined value, and determines that the motor (10) is faulty.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160011004A KR20170090314A (en) | 2016-01-28 | 2016-01-28 | Apparatus and method for motor control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160011004A KR20170090314A (en) | 2016-01-28 | 2016-01-28 | Apparatus and method for motor control |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170090314A true KR20170090314A (en) | 2017-08-07 |
Family
ID=59653954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160011004A KR20170090314A (en) | 2016-01-28 | 2016-01-28 | Apparatus and method for motor control |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170090314A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102030826B1 (en) * | 2018-06-27 | 2019-10-10 | 현대오트론 주식회사 | Engin control system and fault diagnosis method thereof |
-
2016
- 2016-01-28 KR KR1020160011004A patent/KR20170090314A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102030826B1 (en) * | 2018-06-27 | 2019-10-10 | 현대오트론 주식회사 | Engin control system and fault diagnosis method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8901863B2 (en) | Motor control device | |
US20180212548A1 (en) | Motor control device and motor control method | |
JP2005518178A (en) | Motor error detection method | |
US9979331B2 (en) | Method for controlling a motor | |
KR101388854B1 (en) | Motor driving device, and method for cotrolling motor | |
KR20170051813A (en) | System and method for controlling motor | |
KR20160021574A (en) | Detecting extended current method for controlling three-phase motor in event of emergency brake | |
JP6586639B2 (en) | Motor adjustment system | |
KR20170002759A (en) | Failure diagnosis method for hall sensor | |
KR20170090314A (en) | Apparatus and method for motor control | |
US7460030B2 (en) | System and method for encoder failure detection | |
JP2009131069A (en) | Motor control unit | |
JP5674844B2 (en) | Duty ratio detection circuit and method for PWM signal | |
JP6596253B2 (en) | Power converter and control method of power converter | |
JP2007181330A (en) | Motor control device and control method | |
JP4534612B2 (en) | Motor drive control device | |
KR20060126281A (en) | Fault detection method for wheel speed sensor | |
JP2007121119A (en) | Encoder | |
KR102269480B1 (en) | Inverter apparatus for controlling bldc motor and control method for bldc motor | |
KR101397888B1 (en) | Apparatus and method for motor driving control and motor using the same | |
US20140062357A1 (en) | Motor driving apparatus and operating method thereof | |
KR101988980B1 (en) | Control method of cooling fan motor | |
JP7415863B2 (en) | motor control device | |
KR20140019675A (en) | Apparatus for controlling motor speed and the method thereof | |
KR101736183B1 (en) | Hydraulic pressure generation apparatus and control method thereof |