CN107276467A - A kind of adaptive method of direction of motor rotation - Google Patents
A kind of adaptive method of direction of motor rotation Download PDFInfo
- Publication number
- CN107276467A CN107276467A CN201710658071.4A CN201710658071A CN107276467A CN 107276467 A CN107276467 A CN 107276467A CN 201710658071 A CN201710658071 A CN 201710658071A CN 107276467 A CN107276467 A CN 107276467A
- Authority
- CN
- China
- Prior art keywords
- motor
- mcu
- corresponding relation
- motor rotation
- target
- 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.)
- Pending
Links
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
- H02P7/00—Arrangements for regulating or controlling the speed or torque of electric DC motors
- H02P7/03—Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The embodiment of the present invention provides a kind of direction of motor rotation adaptive method, including:The input voltage of the motor is controlled by MCU;Comprising at least one detector, for determining whether the motor realizes target;The target of realization is stored in storage medium with motor input voltage corresponding relation;The MCU is rotated according to the corresponding relation output signal motor;Show to have been carried out target if the MCU obtains detector feedback signal, completion is exited;If the MCU, which obtains detector feedback signal, shows unrealized target, rotated according to the corresponding relation output voltage motor;If after the completion of the motor is rotated, the MCU obtains detector feedback signal and not changed, it is determined that the corresponding relation mistake of storage medium, and changes corresponding relation is recorded on storage medium.The present embodiment is adaptive by direction of motor rotation, can exempt manual testing's direction of motor rotation, lifts efficiency of operation, reduces cost.
Description
Technical field
The present invention relates to electronic device field, more particularly to the adaptive method of direction of motor rotation.
Background technology
Motor is in daily life using widely.
It is well known that direct current generator has two inputs of A and B, and if A terminal voltages subtract B terminal voltages for positive voltage, direct current
The rotor clockwise direction of motor is rotated, and otherwise rotor is rotated in an anti-clockwise direction.Direct current generator passes through rotor band moving-target
Thing rotates or driven the movement of target object location, to realize purpose.
In daily use, the correctness of artificial judgment direction of motor rotation is required for:Artificial connection circuit is supplied to motor
Electricity allows motor to rotate, and then judges whether the rotation direction of now motor realizes purpose, if be not carried out, needs to described
Motor reversal connection circuit, again testing of electric motors rotation direction whether realize purpose, until being completed.
So application motor brings a series of problems:First, it is desirable to have the technician of technological accumulation could complete above-mentioned
Test job, cost of labor is high;Second, direction of motor rotation is not to install just to put things right once and for all after test correctly, works as electricity
Machine completed rotate, but objective body but because machinery barrier can not rotate or can not position movement when, the motor
Rotation direction just must need artificial reversal connection circuit again, it is clear that such maintenance efficiency is not high in turn.
The content of the invention
In consideration of it, the embodiment of the present invention provides a kind of direction of motor rotation adaptive method, including:
Pass through the input voltage of MCU controlled motors;
At least one detector is used for the rotor banding dynamic load displacement for detecting the motor;
The load direction of displacement is stored in memory cell with motor input voltage corresponding relation;
The MCU is rotated according to the corresponding relation, output signal motor.
Further, before the motor is rotated, it is Sa that the MCU, which obtains detector feedback signal,;
After the completion of the motor is rotated, the MCU obtains detector feedback signal Sb;
If Sa is equal with Sb, it is determined that the corresponding relation mistake of memory cell, record correspondence is closed in corrigendum memory cell
System;If Sa is unequal with Sb, it is determined that the corresponding relation of memory cell is correct..
The present embodiment is adaptive by direction of motor rotation, can exempt manual testing's direction of motor rotation, lifting operation
Efficiency, reduces cost.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the circuit diagram of embodiments of the invention.
Fig. 2 is the logical flow chart of embodiments of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Such as Fig. 1, direction of motor rotation is that input MA and MB voltage are determined, when MA terminal voltages subtract MB terminal voltages for just
During voltage, the rotor clockwise of the motor is rotated, when MA terminal voltages subtract MB terminal voltages for negative voltage, the rotor of the motor
Rotate counterclockwise, when MA terminal voltages subtract MB terminal voltages for no-voltage, the rotor of the motor stops operating.It is traditionally artificial to survey
Examination direction of motor rotation is tested by changing MA and MB connection.
It is very easy to find from Fig. 1 circuit, the input voltage of motor is actually what MCU was controlled, centre passes through motor core
Piece L9110s amplifies MCU level signal, and Ma and MA is positively related, and Mb and MB is positively related, i.e. when Ma is high level
When MA also be high level, MA is also low level when Ma is low level, similarly, and MB is also high level when Mb is high level, and Mb is
MB is also low level during low level, except that bearing power is big more than Ma and Mb between MA and MB.
So, manual testing can be similarly simulated in the MCU level signals for changing Ma and Mb, so as to realize that motor is rotated
Direction-adaptive.
During motor normal rotation, its rotor or rotate clockwise, or rotate counterclockwise, then rotor can necessarily drive one
Or position movement occurs for multiple loads.Explained in order to apparent, enumerate a special case to illustrate in Fig. 1, motor motor's turns
Sub- rotation driven gear(301)Rotate, while gear(301)Rotate also band carry-over bar(302)Move generation position.Work as rack
(302)Contact detector(303)When, the detector(303)High level is fed back to MCU;Work as rack(302)Leave detector
(303)When, the detector(303)Low level is fed back to MCU, it is clear that low level can also be fed back during contact, and it is anti-when leaving
High level is presented, principle is the same, and here is omitted.
The adaptive step of this method direction of motor rotation is as follows:
Step 201, MCU records initialization corresponding relation in memory cell:
。
Step 202, MCU plans realize that target A, the MCU start the level signal of sensor port processing detectors.
Step 203, the MCU obtains level signal and the judgement of detector feedback from sensor ports.
Step 204, if now the signal is high level, target A has been realized, is completed and is exited.
Step 205, if now the signal is the record corresponding relation stored in low level, inquiry memory cell,
According to corresponding relation, realize that target A needs output Ma high level and Mb low levels;So the MCU output Ma high level and Mb
Low level, and motor rotates T milliseconds.
Step 206, the MCU obtains level signal and the judgement of detector feedback from sensor ports.
Step 207, if now the signal is high level, target A has been realized, is completed and is exited.
Step 208, if now the signal is low level, it is determined that the correspondence that the MCU is recorded in memory cell
Relation is wrong.
Step 209, the corresponding relation that the MCU is recorded in memory cell is changed:
。
Step 210, the MCU output Ma low levels and Mb high level, motor rotate T milliseconds.
Step 211, the MCU obtains level signal and the judgement of detector feedback from sensor ports.
Step 212, if now the signal is high level, target A has been realized, is completed and is exited.
Step 213, if now the signal remains as low level, system fault is illustrated, it is necessary to send alarm.
The implementation steps of the present embodiment are not strictly to fix, those skilled in the art can with set-up procedure order,
Either change signal implementation or record acquisition modes, those skilled in the art are readily conceivable that change, no longer gone to live in the household of one's in-laws on getting married herein
State.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (2)
1. a kind of adaptive method of direction of motor rotation, it is characterised in that including:
Pass through the input voltage of MCU controlled motors;
At least one detector is used for the rotor banding dynamic load displacement for detecting the motor;
The load direction of displacement is stored in memory cell with motor input voltage corresponding relation;
The MCU is rotated according to the corresponding relation, output signal motor.
2. the adaptive method of direction of motor rotation according to claim 1, it is characterised in that including:
Before the motor is rotated, it is Sa that the MCU, which obtains detector feedback signal,;
After the completion of the motor is rotated, the MCU obtains detector feedback signal Sb;
If Sa is equal with Sb, it is determined that the corresponding relation mistake of memory cell, record correspondence is closed in corrigendum memory cell
System;If Sa is unequal with Sb, it is determined that the corresponding relation of memory cell is correct.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710658071.4A CN107276467A (en) | 2017-08-03 | 2017-08-03 | A kind of adaptive method of direction of motor rotation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710658071.4A CN107276467A (en) | 2017-08-03 | 2017-08-03 | A kind of adaptive method of direction of motor rotation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107276467A true CN107276467A (en) | 2017-10-20 |
Family
ID=60075802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710658071.4A Pending CN107276467A (en) | 2017-08-03 | 2017-08-03 | A kind of adaptive method of direction of motor rotation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107276467A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02212269A (en) * | 1989-02-10 | 1990-08-23 | Hitachi Ltd | Motor-driven power steering device |
CN104518716A (en) * | 2014-12-29 | 2015-04-15 | 黑龙江大学 | Closed loop control system for miniature direct current motor and control method for system |
CN104638993A (en) * | 2015-02-10 | 2015-05-20 | 中国航天科技集团公司第九研究院第七七一研究所 | Commutation control circuit and method for direct current motor |
CN105450109A (en) * | 2012-02-08 | 2016-03-30 | 欧姆龙汽车电子株式会社 | Dc electric motor control device |
CN105496667A (en) * | 2015-12-11 | 2016-04-20 | 张俊 | Electrically powered wheelchair brake control system and electrically powered wheelchair |
-
2017
- 2017-08-03 CN CN201710658071.4A patent/CN107276467A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02212269A (en) * | 1989-02-10 | 1990-08-23 | Hitachi Ltd | Motor-driven power steering device |
CN105450109A (en) * | 2012-02-08 | 2016-03-30 | 欧姆龙汽车电子株式会社 | Dc electric motor control device |
CN104518716A (en) * | 2014-12-29 | 2015-04-15 | 黑龙江大学 | Closed loop control system for miniature direct current motor and control method for system |
CN104638993A (en) * | 2015-02-10 | 2015-05-20 | 中国航天科技集团公司第九研究院第七七一研究所 | Commutation control circuit and method for direct current motor |
CN105496667A (en) * | 2015-12-11 | 2016-04-20 | 张俊 | Electrically powered wheelchair brake control system and electrically powered wheelchair |
Non-Patent Citations (2)
Title |
---|
曹应明: "《基于STC单片机的直流电机调速系统设计》", 《计量与测试技术》 * |
胡耀航: "《一种基于CPLD的无刷直流电机转向判别方法》", 《测控技术》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103869208B (en) | The three-phase inverter open fault detection method of phase redundancy fault-tolerant architecture | |
CN107783006B (en) | Method for detecting turn-to-turn short circuit fault of rotor winding of hydraulic generator | |
US10877099B2 (en) | Method and device for testing battery equalization circuit | |
CN103779889A (en) | Equalization circuit for battery pack | |
CN105041702B (en) | A kind of maglev molecular pump control method and system | |
Sova et al. | Fault tolerant BLDC motor control for Hall sensors failure | |
CN113358958B (en) | Servo driver accelerated life test device and test method | |
Samanta et al. | KNN based fault diagnosis system for induction motor | |
JP2010252536A (en) | Inverter device and fault diagnosis method for the same | |
CN103501148A (en) | Method for controlling operation of non-radial displacement sensor of bearingless permanent magnetic synchronous motor | |
Azzoug et al. | A single observer for currents estimation in sensor’s fault-tolerant control of induction motor drives | |
CN105573304A (en) | Fault diagnosis method for Hall position sensor of permanent magnet synchronous motor | |
CN108535649A (en) | A kind of disconnecting switch jam faults diagnostic method and device based on driving motor electric current | |
CN202196158U (en) | Calibration system of voltage and current of battery | |
CN104681109A (en) | Water level measurement device and method for pressure container of nuclear power plant | |
CN104007358B (en) | Permanent Magnet Synchronous Motor Drives for Electric Vehicle short trouble diagnostic method and system | |
Ren et al. | Fault diagnosis of motor bearing based on speed signal kurtosis spectrum analysis | |
CN107276467A (en) | A kind of adaptive method of direction of motor rotation | |
CN203981744U (en) | Motor positive and inverse detects control circuit | |
CN117347919A (en) | Inverter current sensor wiring detection method | |
CN103606328B (en) | Brshless DC motor hall signal and rotor-position relation self-learning method | |
CN104635142A (en) | Testing device and testing method for improving testing accuracy | |
CN107508520A (en) | A kind of magneto control method and device | |
CN205123635U (en) | Aassessment circuit and motor with state acquires mechanism | |
CN112039387A (en) | Fault diagnosis method for permanent magnet synchronous motor position sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171020 |