CN102183916B - Zero position-searching method for limited angle servo turntable - Google Patents
Zero position-searching method for limited angle servo turntable Download PDFInfo
- Publication number
- CN102183916B CN102183916B CN 201010584293 CN201010584293A CN102183916B CN 102183916 B CN102183916 B CN 102183916B CN 201010584293 CN201010584293 CN 201010584293 CN 201010584293 A CN201010584293 A CN 201010584293A CN 102183916 B CN102183916 B CN 102183916B
- Authority
- CN
- China
- Prior art keywords
- zero
- motor
- optoelectronic switch
- turntable
- mechanical
- 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
Landscapes
- Control Of Position Or Direction (AREA)
Abstract
The invention discloses a zero position-searching method for a limited angle servo turntable and belongs to the technical field of servo control. In the method, an optoelectronic switch is installed between a mechanical zero position and a positive limit of the servo turntable; the position of the optoelectronic switch and the positive mechanical limit are respectively taken as a first reference point and an auxiliary reference point of the method; a motor rotates positively when the servo turntable turns on; and the motor can be controlled to reversely rotate at a corresponding known angle when a transistor-transistor logic (TTL) level signal controlled by the optoelectronic switch is searched or a current value of the motor is monitored to reach a set threshold value, and then the accurate mechanical zero position can be found out. According to the method, the zero position searching is performed by preferably using the first reference point and is carried out through the auxiliary reference point when the optoelectronic switch is out of work. Moreover, the zero position-searching reliability and the working stability of the servo turntable are improved by the method on the basis of not increasing any cost.
Description
Technical field
The invention belongs to the servo control technique field, relate generally to a kind of finding method of finite angle servo turntable mechanical zero, relate in particular to a kind of method of when starting shooting, seeking mechanical zero with the finite angle servo turntable of incremental encoder.
Background technology
The incremental encoder that the finite angle servo turntable is used generally is installed on motor shaft or the bearing axle; The controller of servo turntable can be exported the direction of the precedence judgement motor rotation of two-way pulse according to scrambler, confirms the position, angle of finite angle servo turntable according to the number of pulse.This method requires at first to confirm the initial position of rotor; Because the no position memory function in incremental encoder outage back; Thereby the finite angle servo turntable starts shooting when powering up first, and the initial position of rotor is uncertain, and this has just determined the control system of servo turntable need carry out the position and has sought zero; Just can find the mechanical zero of servo turntable, realize accurate position control.
In order to find the mechanical zero of servo turntable, the most methods that adopt at present are to utilize optoelectronic switch point as a reference, and optoelectronic switch is installed in the prevision angle position of servo turntable, and promptly the differential seat angle between known reference point and the mechanical zero is fixed value θ.During start; Servo turntable rotates to the direction that optoelectronic switch is installed earlier; When detecting optoelectronic switch and be triggered the Transistor-Transistor Logic level signal that produces, the control servo turntable θ angle of moving in the opposite direction promptly arrives the mechanical zero of turntable, and with the impulse meter zero clearing.Though this method is simple, in case optoelectronic switch damages, servo turntable can't find mechanical zero, can not normal boot-strap work.
Summary of the invention
The technical matters that the present invention will solve is, to the defective that prior art exists, provides a kind of position that when the finite angle servo turntable start shooting, can reliably seek mechanical zero to seek zero method, can operate as normal after starting shooting to guarantee servo turntable.
For solving the problems of the technologies described above; Position provided by the invention is sought zero method and may further comprise the steps: at first between the mechanical zero of servo turntable and forward mechanical position limitation, an optoelectronic switch is set; When servo turntable is started shooting, accomplish following operation after the controller initialization successively: seek the zero flag position and be set to effectively; Send the instruction of motor forward rotation to servo control circuit; Whether inquiry I/O testing circuit detects the Transistor-Transistor Logic level signal and the real-time detected motor current value of monitoring current testing circuit of optoelectronic switch control in real time; When the I/O testing circuit detects the Transistor-Transistor Logic level signal, send motor counter-rotating instruction and make the impulse meter zero clearing to servo control circuit; Read the motor inversion pulse number of impulse meter real time record; When umber of pulse reaches optoelectronic switch and the pairing umber of pulse of mechanical zero angle; Send motor stall instruction to servo control circuit, make the impulse meter zero clearing and seek the zero flag position be set to invalid; Do not detect at the I/O testing circuit under the situation of Transistor-Transistor Logic level signal, if monitor the detected motor current value of current detection circuit when having reached the threshold value of setting, to servo control circuit output motor counter-rotating instruction and make the impulse meter zero clearing; Read the motor inversion pulse number of impulse meter real time record; When umber of pulse reaches forward mechanical position limitation and the pairing umber of pulse of mechanical zero angle; Send motor stall instruction to servo control circuit, give the impulse meter zero clearing and seek the zero flag position be set to invalid.
The present invention is provided with an optoelectronic switch between the mechanical zero of turntable and forward mechanical position limitation, and it is sought first RP of zero as the position, and with the forward mechanical position limitation of turntable as second RP.Seek in zero process in the turntable start; If the I/O testing circuit of Servo Control Board detects the Transistor-Transistor Logic level signal of optoelectronic switch control, be that reference point is controlled motor and rotated a known angle in the opposite direction and be and find mechanical zero just with the installation site of optoelectronic switch; And when the optoelectronic switch damage, when level signal is invalid all the time, turntable will be rotated further; Up to mechanical position limitation; At this moment owing to motor rotation blockage, electric current will increase gradually, and the current detection circuit of Servo Control Board detects this electric current in real time; When monitoring control devices when this current value reaches the threshold value of setting, be that reference point control motor rotates another known angle in the opposite direction and is and finds mechanical zero just with the installation site of forward mechanical position limitation.Be not difficult to find out; The finite angle servo turntable that utilizes the inventive method control to have incremental encoder carries out the position when seeking zero, except optoelectronic switch, does not need to put in addition sensor; Can solve the optoelectronic switch damage that possibly occur when the turntable start seeks zero and cause seeking zero failure; And then problem that can't normal boot-strap work, not only reduce cost, and improved the functional reliability of turntable.
Description of drawings
Fig. 1 adopts the present invention to realize that the position seeks zero theory diagram.
Fig. 2 adopts azimuth mechanism mechanical zero trace routine process flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment the present invention is made further detailed description.
Visible by Fig. 1, be integrated with controller, I/O testing circuit, current detection circuit, impulse meter, servo control circuit and power driving circuit on the servo control circuit plate.Controller is as servo-controlled core, and is same as realizing core of the present invention, the main processing of accomplishing acquired signal, information flow and control algolithm and steering logic; The function of I/O testing circuit is to detect the Transistor-Transistor Logic level signal of optoelectronic switch control in real time, for controller provides the state of detection signal, thus as a witness marker position seeking zero; The function of current detection circuit is to detect the current value of motor in real time; During operate as normal detected current value is used as the electric current loop input parameter, can be during the turntable start as required with the witness marker position of motor real-time current value as the searching mechanical zero; The function of impulse meter is the umber of pulse of detection record motor incremental encoder output; The function of servo control circuit is to realize various control algolithms according to servocontrol software, the output motor control signal; The function of power driving circuit is that the motor control signal that servo control circuit produces is carried out power amplification, the drive motor motion.
The present invention uses optoelectronic switch and mechanical position limitation to seek two zero RPs as the position.First RP is an optoelectronic switch, and its installation site can be designed according to the actual conditions of turntable, and principle is should be too not far away from the shutdown position; Like this; When turntable was started shooting, the signal that can export its control faster detected judgement, and this helps improving zero efficient of seeking of turntable; Shorten the on time, suggestion is arranged on motor and rotates 10 °~20 ° positions that can trigger optoelectronic switch; Turntable start is sought zero initial motion direction and is confirmed according to the position of optoelectronic switch, and principle is the forward rotation that the turntable start should be defined as turntable when seeking zero to the direction motion that optoelectronic switch is installed.Second RP is the mechanical position limitation of optoelectronic switch one side, and when optoelectronic switch lost efficacy, turntable will continue motion, and up to the mechanical position limitation RP, the current value through real-time detection motor judges whether to arrive this RP, thereby mechanical zero is detected demarcation; When judging that through mechanical position limitation electric current seeks zero; Should confirm the threshold value according to the turntable actual conditions, the electric current when threshold value should seek zero than motor is big, but should be not excessive; Avoid the long-time stall of motor, general power taking machine is normally sought 3~5 times of zero output current value; Seeking zero velocity should select according to the actual conditions of turntable, unsuitable too fast, avoids the motor mechanical position limitation that clashes.
After the servo control circuit plate powers on, controller will be sought the correlation step of zero method according to workflow completing place shown in Figure 2:
(1) initialization Servo Control Board correlation function module comprises I/O detection module, current detection module, pulse detection module, servocontrol module and power driver module;
(2) start is sought the zero flag position and is set to effectively, and this zone bit needs to remove when accomplishing seeking zero;
(3) send the instruction of motor forward rotation to servo control circuit.Under this instruction, rotating speed and direction drive motor forward rotation that servo control circuit and power driving circuit are set according to Control Software;
(4) inquire about the Transistor-Transistor Logic level signal and the real-time detected motor current value of monitoring current testing circuit whether the I/O testing circuit detects optoelectronic switch control in real time.When the I/O testing circuit detects the Transistor-Transistor Logic level signal, send motor counter-rotating instruction, impulse meter zero clearing to servo control circuit; In servo control circuit and power driving circuit drive motor Umklapp process; Read the motor inversion pulse number of impulse meter real time record; When umber of pulse reaches the optoelectronic switch umber of pulse corresponding with the mechanical zero angle; Send motor stall instruction to servo control circuit, the impulse meter zero clearing and seek the zero flag position be set to invalid.So far, the idle task end is sought in the position;
(5), and monitor the detected motor current value of current detection circuit when having reached the threshold value of setting if do not detect under the situation of Transistor-Transistor Logic level signal at the I/O testing circuit, to servo control circuit output motor counter-rotating instruction, the impulse meter zero clearing; In servo control circuit and power driving circuit drive motor Umklapp process; Read the motor inversion pulse number of impulse meter real time record; When umber of pulse reaches this mechanical position limitation umber of pulse corresponding with the mechanical zero angle; Send motor stall instruction to servo control circuit, the impulse meter zero clearing and seek the zero flag position be set to invalid.So far, the idle task end is sought in the position.
The present invention can be applicable to diaxon or multiple-axis servo turntable, and the principle of work of its preferred implementation and detailed protocol are that example describes with the azimuth axis, and other principle is then identical with it.
Suppose that incremental encoder is the X line, Y frequency multiplication segmentation back is the XY line, and promptly 360 ° of corresponding line numbers of mechanical angle are the XY line; The magnetic pole logarithm of motor is that P is right, and then the corresponding electrical angle of each pulse is 360P/ (XY); Scrambler is installed on the rotor of motor, and load is related with motor shaft through reducing gear, and reduction gear ratio is L: 1; Azimuth mechanism is that benchmark clockwise turns to positive-angle with the mechanical zero, is rotated counterclockwise to be negative angle; Optoelectronic switch is installed in the positive-angle position of azimuth mechanism, with the angle of mechanical zero be α; Angle between mechanical zero and the forward mechanical position limitation is β; The threshold value is set at λ; The zero velocity of seeking of azimuth mechanism is set at V.Wherein, α, β must accurately demarcate, and write down the pulse number between two RPs and the mechanical zero respectively through impulse meter, according to the parameter of selecting scrambler for use, calculate the angle value of α, β, average after can repeatedly measuring, to reduce measuring error; The λ threshold value need repeatedly be measured definite through overcurrent sensing circuit, and in order to protect motor, this value should not be provided with excessive, in order to avoid the long-time stall of motor, but the current of electric should seek zero than orientation mechanism the time is bigger.This embodiment is not considered the backlash between the gear, and for the high occasion of accuracy requirement, the backlash between gear should be considered.
The general formula that provides calculation of alpha, β angle respective pulses number is following:
L·α/(360·P/(X·Y))=L·α·X·Y/(360·P) (1)
L·β/(360·P/(X·Y))=L·β·X·Y/(360·P) (2)
The incremental encoder X that uses in this embodiment is 2500 lines, and frequency multiplication segmentation number Y is 4; The magnetic pole logarithm P of motor is 1 pair; The reduction gear ratio L of azimuth mechanism is 80: 1; Through accurate calibrated α angle is 10.23 °, and the β angle is 60.56 °; Threshold value λ is set at 5A; The zero velocity V that seeks of azimuth mechanism is set at 5 °/s.
Through formula (1), (2) calculate α, β angle respective pulses number is respectively 22733 and 134578.
When turntable powered up start, azimuth mechanism was at first sought Z-operation.Servo Control Board enables I/O testing circuit, current detection circuit, impulse meter, servo control circuit and power driving circuit; I/O testing circuit and current detection circuit real-time working, controller are inquired about the Transistor-Transistor Logic level signal and monitoring azimuth-drive motor current value of optoelectronic switch control respectively.Azimuth mechanism clockwise rotates with 5 °/s of speed, and when optoelectronic switch was effectively triggered, the I/O that one tunnel level signal is delivered to Servo Control Board detected mouth; In case the I/O testing circuit detects this level signal, the impulse meter zero clearing that resets, controller sends motor counter-rotating instruction; Servo control circuit and power driving circuit drive azimuth mechanism and rotate counterclockwise, and read the motor inversion pulse number of impulse meter real time record simultaneously, when counting down to 22733; Controller sends motor stall instruction, and turntable stops operating, and promptly azimuth rotating platform has been rotated counterclockwise 10.23 °; Arrive mechanical zero; The impulse meter zero clearing is removed the orientation and is sought the zero flag position, and the orientation is sought zero and finished.
When optoelectronic switch lost efficacy, the I/O testing circuit failed to detect level signal, and monitoring control devices is when the detected motor current value of current detection circuit reaches the threshold value 5A of setting; Show motor arrival bearing forward mechanical position limitation, the impulse meter zero clearing that resets, controller sends motor counter-rotating instruction; Servo control circuit and power driving circuit drive azimuth mechanism and rotate counterclockwise, and read the motor inversion pulse number of impulse meter real time record simultaneously, when counting down to 134578; Controller sends motor stall instruction, and turntable stops, and promptly azimuth rotating platform has been rotated counterclockwise 60.56 °; Arrive mechanical zero; The impulse meter zero clearing is removed the orientation and is sought the zero flag position, and the orientation is sought zero and finished.
Turntable other to seek zero mode be the same with flow process and azimuth axis.Seek zero when all axles of turntable and finish, then show turntable start completion, can get into normal workflow.
When each seeks zero end; It is invalid must will seeking the zero flag position; Turntable is when operate as normal like this, and the level signal of optoelectronic switch control can not exert an influence to the motion of turntable, and the detected current value of current detection circuit can be used as the input parameter use of turntable electric current loop.
Through the present invention, turntable can not damage because of optoelectronic switch when seeking zero and cause the turntable can't normal boot-strap work, is not increasing by zero reliability of seeking that has improved turntable under the condition of cost greatly.
Claims (1)
1. a finite angle servo turntable is sought zero method with the position; It is characterized in that: this method comprises following operation steps: between the mechanical zero of servo turntable and forward mechanical position limitation, an optoelectronic switch is set; When servo turntable is started shooting, accomplish following operation after the controller initialization successively: seek the zero flag position and be set to effectively; Send the instruction of motor forward rotation to servo control circuit; Whether inquiry I/O testing circuit detects the Transistor-Transistor Logic level signal and the real-time detected motor current value of monitoring current testing circuit of optoelectronic switch control in real time; When the I/O testing circuit detects the Transistor-Transistor Logic level signal, send motor counter-rotating instruction and make the impulse meter zero clearing to servo control circuit; Read the motor inversion pulse number of impulse meter real time record; When umber of pulse reaches optoelectronic switch and the pairing umber of pulse of mechanical zero angle; Send motor stall instruction to servo control circuit, make the impulse meter zero clearing and seek the zero flag position be set to invalid; Do not detect at the I/O testing circuit under the situation of Transistor-Transistor Logic level signal, if monitor the detected motor current value of current detection circuit when having reached the threshold value of setting, to servo control circuit output motor counter-rotating instruction and make the impulse meter zero clearing; Read the motor inversion pulse number of impulse meter real time record; When umber of pulse reaches forward mechanical position limitation and the pairing umber of pulse of mechanical zero angle; Send motor stall instruction to servo control circuit, give the impulse meter zero clearing and seek the zero flag position be set to invalid.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010584293 CN102183916B (en) | 2010-12-09 | 2010-12-09 | Zero position-searching method for limited angle servo turntable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010584293 CN102183916B (en) | 2010-12-09 | 2010-12-09 | Zero position-searching method for limited angle servo turntable |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102183916A CN102183916A (en) | 2011-09-14 |
CN102183916B true CN102183916B (en) | 2012-12-26 |
Family
ID=44570105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010584293 Active CN102183916B (en) | 2010-12-09 | 2010-12-09 | Zero position-searching method for limited angle servo turntable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102183916B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707662B (en) * | 2012-05-15 | 2014-06-25 | 广州数控设备有限公司 | Zero returning control method based on industrial Ethernet bus technology |
JP5942741B2 (en) * | 2012-09-26 | 2016-06-29 | ブラザー工業株式会社 | Numerical control device and rotary table position adjusting method |
CN106155101B (en) * | 2015-03-31 | 2019-02-01 | 北京航天计量测试技术研究所 | It is a kind of to seek zero method for the rapid location with limit turntable |
CN104942775B (en) * | 2015-06-01 | 2017-12-22 | 东南大学 | Servo-type multi-station turning table and its precision characteristic test device |
CN105258717B (en) * | 2015-11-13 | 2017-07-04 | 中国民用航空总局第二研究所 | A kind of spacing turntable of airfield runway foreign body detecting system seeks zero device |
CN106249760A (en) * | 2016-03-16 | 2016-12-21 | 中国科学院合肥物质科学研究院 | A kind of auto zero bit correction method based on open loop controlled type sky brightness instrument |
CN106970324A (en) * | 2017-04-25 | 2017-07-21 | 北京太尔时代科技有限公司 | A kind of spacing method for sensing |
CN108983090B (en) * | 2017-06-02 | 2022-04-08 | 天津市松正电动汽车技术股份有限公司 | Motor Hall zero point adjusting device and adjusting method thereof |
CN108468799A (en) * | 2018-01-17 | 2018-08-31 | 宁波高发汽车控制系统股份有限公司 | A kind of detection method and device of knob selector gear positions |
CN109099833A (en) * | 2018-09-03 | 2018-12-28 | 中国科学院长春光学精密机械与物理研究所 | A kind of shafting angle zero-bit for small-sized stabilized platform determines method and system |
CN109254597B (en) * | 2018-09-28 | 2021-03-19 | 中国科学院长春光学精密机械与物理研究所 | Control system and method for foundation large-caliber telescope |
CN109101045A (en) * | 2018-10-17 | 2018-12-28 | 中国兵器装备集团自动化研究所 | A kind of small turntable seeks zero device |
CN109388156B (en) * | 2018-11-26 | 2021-07-09 | 中国航空工业集团公司洛阳电光设备研究所 | Zero searching method of incremental encoder through image area code |
BR112020020026A2 (en) * | 2019-01-07 | 2021-01-05 | Lohia Corp Limited | METHOD FOR POSITIONING A SPINDLE WITH PRECISION IN AN AUTOMATIC TOWER WINDER |
CN110673657B (en) * | 2019-10-21 | 2022-12-27 | 西安应用光学研究所 | Stable platform angle automatic compensation resolving method |
CN111811794B (en) * | 2020-06-18 | 2022-05-20 | 浙江大华技术股份有限公司 | Cloud deck self-checking method and device, computing equipment and storage medium |
CN111781447B (en) * | 2020-06-28 | 2021-11-05 | 珠海格力智能装备有限公司 | Method and device for determining mechanical zero point and machine tool equipment |
CN113188405B (en) * | 2021-05-28 | 2023-05-30 | 西安微电机研究所有限公司 | Method for marking mechanical zero position of limited-angle torque motor |
CN113276985B (en) * | 2021-06-10 | 2022-08-23 | 济南科亚电子科技有限公司 | Driver control method for automatically zeroing steering wheel by using incremental encoder motor |
CN116172698A (en) * | 2021-11-29 | 2023-05-30 | 瑞龙诺赋(上海)医疗科技有限公司 | Mechanical zero calibration method, device, equipment and medium |
CN115603630B (en) * | 2022-12-14 | 2023-03-10 | 四川大学 | Method for quickly determining reference zero point of servo motor in high-precision situation |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2876847Y (en) * | 2006-03-24 | 2007-03-07 | 南京埃斯顿工业自动化有限公司 | Single axis positioning device integrated in servo-system |
CN101267182B (en) * | 2008-04-24 | 2011-05-04 | 深圳和而泰智能控制股份有限公司 | Step electromotor control method and its device |
-
2010
- 2010-12-09 CN CN 201010584293 patent/CN102183916B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102183916A (en) | 2011-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102183916B (en) | Zero position-searching method for limited angle servo turntable | |
CN101995533B (en) | Real-time wire-break detection method and system for digital incremental encoder | |
US7994749B2 (en) | Multiple-rotation absolute-value encoder of geared motor | |
CN103063153A (en) | Shield tail clearance measurement method and device based on multiple-spot scanning distance detection technology | |
CN101973035A (en) | Method and device for precisely positioning initial position of joint of robot | |
CN103018474A (en) | FPGA (Field Programmable Gata Array)-based motor speed and rotating direction detecting device | |
CN104914864A (en) | Mobile device, mobile device control system and control method | |
CN102944209A (en) | Equipment, system and method for determining revolving angle and engineering machine | |
CN107728147A (en) | A kind of radar for backing car distance detection method and its device | |
JP2008148412A (en) | Motor control device | |
JP2015024478A (en) | Robot shaft return-to-origin method, device, control device, and program | |
CN102331781A (en) | Trolley left-right linear synchronous travelling control circuit, control method and detection device | |
JPH02257003A (en) | Arrival position recording device for moving part moved by rotary motor | |
JP7275008B2 (en) | Diagnostic device, motor drive device and diagnostic method | |
CN110884385B (en) | Tray extension positioning method and system | |
CN111367218B (en) | Multifunctional magnetic induction control system | |
CN103941110A (en) | Durability test device and test method for vehicle rotary connector | |
CN107992109A (en) | Closed-loop positioning control system and method | |
CN111181469A (en) | Servo driver position feedback abnormal jump multi-period joint detection processing method | |
CN111800040A (en) | Stepping motor, resetting method and device thereof and computer readable storage medium | |
CN106371402B (en) | It is a kind of to realize that communication transmission origin signal returns former method and corresponding servo-driver | |
CN112072966B (en) | Detection device and detection method of position sensor | |
CN111665858B (en) | Reliable erection control method and control system realized through information fusion | |
CN114753072A (en) | Embroidery machine embroidery frame power-off protection control method, system and device | |
CN112821845B (en) | Electric tool control method and electric tool |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |