CN101881637A - Encoder test system based on virtual instrument - Google Patents
Encoder test system based on virtual instrument Download PDFInfo
- Publication number
- CN101881637A CN101881637A CN 201010206566 CN201010206566A CN101881637A CN 101881637 A CN101881637 A CN 101881637A CN 201010206566 CN201010206566 CN 201010206566 CN 201010206566 A CN201010206566 A CN 201010206566A CN 101881637 A CN101881637 A CN 101881637A
- Authority
- CN
- China
- Prior art keywords
- encoder
- stepping motor
- scrambler
- virtual instrument
- signal processing
- 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
Images
Landscapes
- Optical Transform (AREA)
Abstract
The invention relates to an encoder test system based on a virtual instrument. An encoder is sleeved on a fastening frame; the fastening frame is fixed on an adjustable guide rail; the rotating shaft of the encoder is sleeved in a coupling shaft; the coupling shaft is connected with the shaft ends of the encoder and a stepping motor so as to make a sensor stably run along with the stepping motor; an industrial computer sends a command to control the counter of a data acquisition card to output a control signal to a stepping motor driver to control the stepping motor; the encoder enables the rotating speed signal of the stepping motor to pass through a signal processing circuit and then to enter the data acquisition card; and the data acquisition card returns the data to the industrial computer. The invention automatically completes the fault diagnosis of an photoelectric encoder and puts forward maintenance measures; alternation can be conveniently carried out according to the replacement of the type of a test object, and thereby, the flexibility is improved; data acquisition speed is high, and errors caused by artificial reading are eliminated; test precision is high and repeatability is good, and thereby, test efficiency is greatly improved and the reliability is improved.
Description
Technical field
The present invention relates to a kind of test macro, particularly a kind of encoder test system based on virtual instrument.
Background technology
Sensor is the sensitive element in surveying instrument, smart instrumentation, automatic control system and the computerized information input system.The quality of sensor not only is directly connected to equipment running status, and is related to the safety problem of system, and the sensor of feedback signal more particularly is provided, and its duty directly has influence on the performance of system.According to statistics, 80% control system lost efficacy and resulted from the fault of sensor, only depended on manpower to go to find and repair sensor fault to be difficult to accomplish timely and effective.
As the electric locomotive that the automatic control technology typical case uses, the operation control system complexity contains a large amount of sensors in the system, and their fault has significant impact to the locomotive reliability service.Referent is a photoelectric encoder among the present invention, and it is the vitals on " harmony " number motor-car unit, is used for detecting and feeding back the travelling speed of locomotive, and the trainman makes judgement according to the speed that detects.But owing to be subjected to the invasion and attack of locomotive vibration, sunlight exposure, rainwater and greasy dirt etc., make photoelectric encoder become one of parts that the most easily break down in the locomotive control, will directly have influence on the working condition of locomotive like this, thereby further have influence on the security of operation of locomotive.Therefore the fault detect of photoelectric encoder has very important effect for the safe operation of electric driving vehicle, and each electric driving vehicle maintenance section all detects speed pickup the visual plant as prophylactic repair.
The maintenance personal of domestic most of locomotive depots tests by simple instrument and artificial tracing trouble for the fault of photoelectric encoder at present, can not profoundly analyze the reason that fault produces.Be easy to generate erroneous judgement and fail to judge, so traditional method of testing be difficult to satisfy improves testing efficiency and shortens requirement servicing time.Therefore, research sensor fault Mechanism analysis and diagnostic method, it is very necessary to design a kind of low cost at the photoelectric encoder fault test, high-level efficiency, high reliability diagnostic system, also has realistic meaning.
Summary of the invention
The present invention be directed to traditional test macro is difficult to satisfy the raising testing efficiency and shortens the problem that require servicing time, a kind of encoder test system based on virtual instrument has been proposed, by test platform architecture in conjunction with the Virtual Instruments Test System of forming by sensor, data collecting card, stepper motor and industrial computer, dynamically gather the output pulse of photoelectric encoder, then to test result diagnose, put in order, show, follow-up works such as preservation and report printing, and then the fault of photoelectric encoder made estimates and diagnostic analysis.Be a kind of low cost, high-level efficiency, high reliability photoelectric encoder diagnostic system.
Technical scheme of the present invention is: a kind of encoder test system based on virtual instrument, comprise industrial computer, data collecting card, stepping motor and stepper motor driver, scrambler, the photoelectric encoder rotating shaft, signal processing circuit, shaft coupling, probe power, fastening frame, guide rail, scrambler is set on the fastening frame, fastening frame is fixed on the adjustable guide rail, the scrambler rotating shaft is inserted in the coupking shaft, shaft coupling has connected the axle head of scrambler and stepping motor, allow sensor follow the stepping motor steady running, the counter that industrial computer sends the instruction control data collecting card outputs a control signal to stepper motor driver control step motor, scrambler enters data collecting card with the tach signal of stepper motor after by signal processing circuit, and data collecting card feeds back to industrial computer again with data.
Described scrambler comprises photoelectric encoder, rotary encoder and virtual instrument software.Described signal processing circuit comprises photoelectric encoder signal processing card, rotary encoder through signals transaction card, digital signal processing card.
Beneficial effect of the present invention is: the present invention is based on the encoder test system of virtual instrument, can automatically finish the fault diagnosis of photoelectric encoder and propose maintenance measures; Program by the virtual instrument establishment can be changed easily according to the replacing of tested object type, has improved dirigibility; Acquisition speed is fast, and has eliminated the error that artificial reading causes; The measuring accuracy height, good reproducibility can be saved a large amount of time and manpower, has improved testing efficiency greatly, and improves reliability.
Description of drawings
Fig. 1 is a photoelectric encoder structural drawing of the present invention;
Fig. 2 is the encoder test system front view that the present invention is based on virtual instrument;
Fig. 3 is the encoder test system left side view that the present invention is based on virtual instrument;
Fig. 4 is the encoder test system rear view that the present invention is based on virtual instrument;
Fig. 5 is the encoder test system principle of work block diagram that the present invention is based on virtual instrument;
Fig. 6 is the testing software process flow diagram that the present invention is based on the encoder test system of virtual instrument;
Fig. 7 is the operation interface figure of testing software that the present invention is based on the encoder test system of virtual instrument.
Embodiment
As Fig. 1 photoelectric encoder structural drawing, comprise photoelectric encoder sensor 101, aviation plug 102, screw hole 103, photoelectric encoder rotating shaft 104, cable 105.
Photoelectric encoder test macro such as Fig. 2, Fig. 3 and shown in Figure 4 based on virtual instrument: be made up of two subsystems of hardware device and testing software, the hardware device subsystem mainly comprises: display screen 201, power switch 202, computer switch 203, supply voltage display screen 204, power light 205, computing machine pilot lamp 206, printer 207, aviation socket 208, coupling spindle 209, fastening frame 210, guide rail 211, mouse 212, keyboard 213, control desk 214; Industrial computer 401, photoelectric encoder signal processing card 403, rotary encoder through signals transaction card 404, digital signal processing card 405, photoelectric encoder power supply 406, signal processing card power supply 407, stepper motor 408, power supply for step-by-step motor switch 409, fan 410, stepper motor driver 411, rotary encoder 412; Parts such as data collecting card 501.Testing software subsystem 701 mainly partly is made up of four of the demonstration of motion control, data acquisition, data analysis and the processing of stepper motor and data and storages etc.
System works theory diagram as shown in Figure 5, system comprises industrial computer 401, data collecting card 501, stepping motor 408 and step motor drive 411, scrambler 309, signal processing circuit 404, shaft coupling 209, probe power 406, aviation socket 208, man-machine interactive parts display 201, printer 207, mouse 212 and keyboard 213.Wherein computing machine 401 is used for stored programme, data, and carries out a series of computing and processing; Data acquisition 501 is bridges that computing machine 401 is connected with the external physical device; Stepping motor 408 and driver 411 directly receive the digital signal from computing machine 401 as the topworks of system, do not need the conversion through D/A; Scrambler 309 is used to detect the rotating speed of stepping motor 408, and system is played retroactive effect; Signal processing circuit 404 mainly by handling the signal in early stage, makes the signal that enters computing machine 401 meet technical requirement; Shaft coupling 209 has connected the axle head of photoelectric encoder 309 and stepping motor 408, allows sensor follow the stepping motor steady running; The fixed guide parts are used for fastening and adjust the position of photoelectric encoder 309 on test board, make sensor 101 and 411 better coaxial linkings of stepping motor; The effect of man-machine interactive parts is the contacts of linking up between operator and the instrument, and it mainly is made up of the keyboard in the instrument panel 213 and LCDs 201 etc.
Exporting a series of pulses by test platform architecture in conjunction with the counter that is sent instruction control data collecting card 501 by software program moves to stepper motor driver 411 control step motor, stepping motor drags photoelectric encoder and scrambler rotates, photoelectric encoder and scrambler will be exported a series of pulse square waves, these pulse square waves are through the signal processing circuit conversion, amplify, shaping, denoising, process treatment conversion such as filtering are that suitable voltage signal enters data collecting card 501, by the frequency of software processing system to these pulse square waves, wave amplitude, trough, duty when parameter such as phase differential carries out computational analysis, then test result is diagnosed, arrangement, show, preserve and follow-up work such as report printing, and then the fault of photoelectric encoder made estimate and diagnostic analysis.
The mechanical installing platform of above-mentioned said test macro as shown in Figure 2, at first photoelectric encoder 309 is set on the fastening frame 210 along screw 215, direction according to guide rail 211 is adjusted fastening frame 210, guarantee that photoelectric encoder rotating shaft 104 is inserted in the coupking shaft 209, and keep photoelectric encoder rotating shaft 104 consistent in the axial direction with coupking shaft 209; Receive aviation plug 102 on the aviation socket 208 then and tighten; Then turn on the power switch 202, computer switch 203 and power supply for step-by-step motor switch, fan 410 thermolysis of having started working; Control knob 704 by software interface enables stepper motor driver 411 drive stepping motor 308 with the past motion counterclockwise of certain rotating speed; Photoelectric encoder signal processing card 403 and rotary encoder through signals transaction card 404 will carry out pre-filtering, isolation, amplification, Filtering Processing again to the voltage signal of photoelectric encoder 101 and rotary encoder 412 outputs, and be converted into 501 voltage ranges that can accept of data collecting card, be transported to industrial computer 401.
Above-mentioned said testing software subsystem 701 process flow diagrams are as shown in Figure 6: testing software at first finish data collecting card sample frequency, adopt count, the isoparametric setting of sampling channel, control step electric motor starting and data collecting card adopt synchronously to photoelectric encoder and rotary encoder through signals; The data that obtain after the sampling are delivered to analysis and the processing that computing machine carries out data, mainly are to be carried out filtering, frequency computation part and phase difference calculating to gathering the signal that comes; The demonstration of data is used for handled signal with the output of forms such as oscillography window, form intuitively with adjusting back in the form of front panel, electric machine speed regulation is used to test the situation under the different rotating speeds, to judge whether photoelectric encoder has fault, improve test accuracy, deliver among the EXCEL for the correct data of test process operation and to keep, can conveniently call; After program detects out code, call the api function of Windows bottom, enter the shutdown picture, Automatic Program is closed.
In the related software subsystem of this example, adopt the thought of modularization, stratification to work out based on the photoelectric encoder test macro of virtual instrument.Modular design requires in the process of specifically programming, and according to hierarchical structure, to each corresponding independently program module of task establishment independently, according to the needs of master routine task, each module is called; Stratification design promptly requires top-down software to be segmented from integral body to the layout layer by layer, analyzes the details of each task and relation each other.Above-mentioned related software subsystem has mainly been finished following task:
Testing software operation interface figure as shown in Figure 7, testing software master interface 701, normal data 702, test data 703, control knob 704, oscillogram 705, fault diagnosis and analysis result display box 706.At first, utilize software graphic interface function, weave user interface apace.The user can be simply by the control operation test macro on the main interface to finish test assignment.By the control of the demonstration on the main interface, the waveform demonstration of testing, data presentation etc. are write various test function modules in the test, and this is the most crucial parts of software systems.Comprising the initial parameter setting, test event is selected, and modules such as stepper motor motion control, data acquisition, analysis keep, show and analyze the data of test, and can callback data, reproduction test data and figure.
Secondly, after the function of having determined software systems and task division, can design main program structure and program flow diagram, the clear and definite division of each functional module on the public data interface of definition, is carried out the programming of each module, can make program orderly like this, revise easily and safeguard.
Each function in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
In sum, this paper provides a kind of photoelectric encoder test macro and system based on virtual instrument, and its principle, test platform physical construction and embodiment are set forth, and the explanation of above embodiment just is used for helping to understand the solution of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, in specific embodiments and applications all can be useful, this description should not be construed limitation of the present invention.
Claims (3)
1. encoder test system based on virtual instrument, it is characterized in that, comprise industrial computer, data collecting card, stepping motor and stepper motor driver, scrambler, the photoelectric encoder rotating shaft, signal processing circuit, shaft coupling, probe power, fastening frame, guide rail, scrambler is set on the fastening frame, fastening frame is fixed on the adjustable guide rail, the scrambler rotating shaft is inserted in the coupking shaft, shaft coupling has connected the axle head of scrambler and stepping motor, allow sensor follow the stepping motor steady running, the counter that industrial computer sends the instruction control data collecting card outputs a control signal to stepper motor driver control step motor, scrambler enters data collecting card with the tach signal of stepper motor after by signal processing circuit, and data collecting card feeds back to industrial computer again with data.
2. according to the described encoder test system of claim 1, it is characterized in that described scrambler comprises photoelectric encoder, rotary encoder and virtual instrument software based on virtual instrument.
3. according to the described encoder test system of claim 2, it is characterized in that described signal processing circuit comprises photoelectric encoder signal processing card, rotary encoder through signals transaction card, digital signal processing card based on virtual instrument.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010206566 CN101881637A (en) | 2010-06-22 | 2010-06-22 | Encoder test system based on virtual instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010206566 CN101881637A (en) | 2010-06-22 | 2010-06-22 | Encoder test system based on virtual instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101881637A true CN101881637A (en) | 2010-11-10 |
Family
ID=43053709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010206566 Pending CN101881637A (en) | 2010-06-22 | 2010-06-22 | Encoder test system based on virtual instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101881637A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103487688A (en) * | 2013-09-18 | 2014-01-01 | 上海理工大学 | Testing device of TRIM module and RIM module based on virtual instrument |
CN103528804A (en) * | 2013-07-27 | 2014-01-22 | 中广核工程有限公司 | Flexible shaft performance characteristic testing device |
CN105302014A (en) * | 2014-07-15 | 2016-02-03 | 罗伯特·博世有限公司 | Method and device for the analysis and diagnosis of a controller of a driving system |
CN105973293A (en) * | 2016-07-27 | 2016-09-28 | 东莞星辰智能科技有限公司 | Encoder output waveform tester |
CN106507103A (en) * | 2016-12-02 | 2017-03-15 | 深圳市华宇半导体有限公司 | 3 passage HD video encoder test circuits |
CN108168590A (en) * | 2018-01-15 | 2018-06-15 | 固安华电天仁控制设备有限公司 | A kind of increment type absolute value type motor encoder detecting |
CN109489707A (en) * | 2018-11-06 | 2019-03-19 | 倍赫曼工业技术(天津)有限公司 | Incremental photoelectric encoder testing machine and testing method |
CN109520547A (en) * | 2018-11-06 | 2019-03-26 | 倍赫曼工业技术(天津)有限公司 | High-low temperature precision detection device and detection method for photoelectric encoder |
CN110018416A (en) * | 2019-05-21 | 2019-07-16 | 黑龙江工程学院 | Ultrasound electric machine test device based on LabVIEW virtual instrument platform |
CN111742194A (en) * | 2019-06-12 | 2020-10-02 | 深圳市大疆创新科技有限公司 | Fault detection method, apparatus and storage medium for encoder of movable platform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6198788B1 (en) * | 1999-09-23 | 2001-03-06 | Westinghouse Air Brake Company | Encoder test apparatus and method |
CN2476824Y (en) * | 2001-04-19 | 2002-02-13 | 安徽工业大学 | Automatic testing device for property of photoelectric coder and speedometer |
CN101135579A (en) * | 2006-08-03 | 2008-03-05 | 北京理工大学 | High precision low cost angle sensor detector methods and apparatus |
CN201731895U (en) * | 2010-06-22 | 2011-02-02 | 上海理工大学 | Coder testing device based on virtual instrument |
-
2010
- 2010-06-22 CN CN 201010206566 patent/CN101881637A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6198788B1 (en) * | 1999-09-23 | 2001-03-06 | Westinghouse Air Brake Company | Encoder test apparatus and method |
CN2476824Y (en) * | 2001-04-19 | 2002-02-13 | 安徽工业大学 | Automatic testing device for property of photoelectric coder and speedometer |
CN101135579A (en) * | 2006-08-03 | 2008-03-05 | 北京理工大学 | High precision low cost angle sensor detector methods and apparatus |
CN201731895U (en) * | 2010-06-22 | 2011-02-02 | 上海理工大学 | Coder testing device based on virtual instrument |
Non-Patent Citations (3)
Title |
---|
《中国优秀硕士学位论文全文数据库 信息科技辑》 20090415 兰子穆 光学编码器电气特性的在线检测技术研究 , * |
《仪表技术与传感器》 20100215 佟丽翠等 编码器自动检测过程的虚拟仪器化设计 1-3 , 第2期 * |
《仪表技术与传感器》 20100215 佟丽翠等 编码器自动检测过程的虚拟仪器化设计 1-3 , 第2期 2 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103528804B (en) * | 2013-07-27 | 2017-03-15 | 中广核工程有限公司 | Flexible shaft performance characteristic test device |
CN103528804A (en) * | 2013-07-27 | 2014-01-22 | 中广核工程有限公司 | Flexible shaft performance characteristic testing device |
CN103487688A (en) * | 2013-09-18 | 2014-01-01 | 上海理工大学 | Testing device of TRIM module and RIM module based on virtual instrument |
CN105302014A (en) * | 2014-07-15 | 2016-02-03 | 罗伯特·博世有限公司 | Method and device for the analysis and diagnosis of a controller of a driving system |
CN105302014B (en) * | 2014-07-15 | 2019-05-10 | 罗伯特·博世有限公司 | Method and apparatus for analyzing and diagnosing the controller of drive system |
CN105973293A (en) * | 2016-07-27 | 2016-09-28 | 东莞星辰智能科技有限公司 | Encoder output waveform tester |
CN106507103A (en) * | 2016-12-02 | 2017-03-15 | 深圳市华宇半导体有限公司 | 3 passage HD video encoder test circuits |
CN106507103B (en) * | 2016-12-02 | 2023-12-19 | 深圳市华力宇电子科技有限公司 | 3-channel high-definition video encoder test circuit |
CN108168590A (en) * | 2018-01-15 | 2018-06-15 | 固安华电天仁控制设备有限公司 | A kind of increment type absolute value type motor encoder detecting |
CN109489707A (en) * | 2018-11-06 | 2019-03-19 | 倍赫曼工业技术(天津)有限公司 | Incremental photoelectric encoder testing machine and testing method |
CN109520547A (en) * | 2018-11-06 | 2019-03-26 | 倍赫曼工业技术(天津)有限公司 | High-low temperature precision detection device and detection method for photoelectric encoder |
CN110018416A (en) * | 2019-05-21 | 2019-07-16 | 黑龙江工程学院 | Ultrasound electric machine test device based on LabVIEW virtual instrument platform |
CN111742194A (en) * | 2019-06-12 | 2020-10-02 | 深圳市大疆创新科技有限公司 | Fault detection method, apparatus and storage medium for encoder of movable platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201731895U (en) | Coder testing device based on virtual instrument | |
CN101881637A (en) | Encoder test system based on virtual instrument | |
EP2836881B1 (en) | Embedded prognostics on plc platforms for equipment condition monitoring, diagnosis and time-to-failure/service prediction | |
CN109324601A (en) | The test platform of robot controller or control system based on hardware in loop | |
CN109405889A (en) | System and method for for the prediction of development machine working arm decelerator trouble | |
CN202995451U (en) | A vehicle-mounted controller automatic testing device | |
CN103759757A (en) | Test device of combined instrument of automobile | |
CN101936815A (en) | Computer type vehicle fault diagnostic system and method | |
CN108628185A (en) | Five-electrical level inverter fault diagnosis and fault-tolerant control method and semi-physical emulation platform | |
CN113075919B (en) | Detection system and method for analog/binary interface board of subway train traction controller | |
CN105388881A (en) | Fault detection display device and method for vehicle controller | |
CN102879732B (en) | Method and system for testing board card | |
CN102789228B (en) | Detection device for mechanical cam controller | |
CN103692350B (en) | The integrated numerical control Development of Grinding Machines'Control System that tape jam detects | |
CN103344434A (en) | LabVIEW-based automotive engine parameter detection system | |
CN108414224A (en) | A kind of real-time detection apparatus and method for electric operator mechanical wear | |
CN107246882A (en) | Coding odometer detection means and method based on servo control technique | |
CN108957410A (en) | Synthetic aperture radar antenna stabilized platform integrated test system | |
CN215854490U (en) | Elevator floor display detection device | |
CN102270829A (en) | Apparatus and calculating method for early warning on health of servo motor | |
CN204613245U (en) | Fluted disc speed measuring comprehensive calibrator | |
CN202900280U (en) | Tunneling machine multi-parameter detection system | |
CN103324138B (en) | Tester and testing method for numerically-controlled machine tool virtual transmission chain | |
CN203552052U (en) | Control cabinet test bench | |
CN110209110B (en) | PLC fault detection method for remanufacturing of shield machine, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20101110 |