CN101865705B - Automatic fault diagnosis device of encoder and diagnosis solving method thereof - Google Patents

Automatic fault diagnosis device of encoder and diagnosis solving method thereof Download PDF

Info

Publication number
CN101865705B
CN101865705B CN 201010190383 CN201010190383A CN101865705B CN 101865705 B CN101865705 B CN 101865705B CN 201010190383 CN201010190383 CN 201010190383 CN 201010190383 A CN201010190383 A CN 201010190383A CN 101865705 B CN101865705 B CN 101865705B
Authority
CN
China
Prior art keywords
scrambler
diagnosis
system model
model description
fault
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
Application number
CN 201010190383
Other languages
Chinese (zh)
Other versions
CN101865705A (en
Inventor
陈荣
陈达文
李俊义
吴志勇
徐俊杰
曹永刚
陈能
曹晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHANGCHUN AOPU OPTO-ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
CHANGCHUN AOPU OPTO-ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CHANGCHUN AOPU OPTO-ELECTRONIC TECHNOLOGY Co Ltd filed Critical CHANGCHUN AOPU OPTO-ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN 201010190383 priority Critical patent/CN101865705B/en
Publication of CN101865705A publication Critical patent/CN101865705A/en
Application granted granted Critical
Publication of CN101865705B publication Critical patent/CN101865705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention belongs to the technical field of computers, relating to fault diagnosis system and method of an encoder based on logic compatibility and aiming to provide an automatic fault diagnosis device of an encoder and a diagnosis solving method thereof. The fault diagnosis system comprises a user interface unit, a model description unit, a language analysis unit, a conflict recognition unit, a diagnosis solving unit, a fault positioning unit and a digital communication unit. The system is specially characterized in that the structure, function and component behavior of the encoder is prescriptively described by using a model description language according to an encoder constitution principle, accordingly, the expected behavior of the encoder under normal circumstances is deduced, differences exist between the expected behavior and an actual observation when a fault occurs, and then a component set triggering the fault is confirmed by using logical deduction. In the invention, from the conflict recognition to the generation of candidate diagnosis, the whole operation process is simple and needs short time, and the discrimination and positioning of the system on a fault point does not depend on the experience of an operator or an expert, thereby the limitations of the traditional diagnosis method are overcome.

Description

The automatic diagnostic device of encoder fault and diagnosis method for solving thereof
Technical field
The invention belongs to field of computer technology, relate to encoder fault diagnostic system and the method for logic-based compatibility, specifically a kind of automatic diagnostic device of encoder fault and diagnosis method for solving thereof.
Background technology
Scrambler is that physical signalling or data are worked out and are converted to can be in order to the equipment of the form of communication, transmission and storage, is a kind of important in testing the speed and locating the sensing product of purposes.Scrambler is a large important branch of sensing product, has very wide market, such as industries such as machine tool, Aero-Space, railway traffic new forms of energy and harbour machineries, is all using a large amount of scrambler products.
Scrambler is to be converted to the electric signal that machine code can read by the binary coding of " 1 " and " 0 " physical quantity (angular displacement or straight-line displacement) that collection is next, in order to communication, transmission and storage.Scrambler can be able to be divided into increment type and absolute type two classes according to principle of work: incremental encoder is to convert displacement to periodic electric signal, again this electric signal is transformed into count pulse, represents the size of displacement with the number of pulse; The corresponding numerical code of determining in the code-disc position of absolute type encoder, its indicating value is only relevant with the initial sum final position of measuring, and irrelevant with the pilot process of measuring.
As a vitals in the various Large Complex Equipment, encoder fault is having a strong impact on the operation and maintenance of these equipments, causes even equipment failure, causes life and property loss.So-called encoder fault diagnosis refers to find out reason or the character that causes certain malfunction of encoder system under certain working environment, judges position or parts that deterioration state occurs, avoids because the deteriorated loss that causes of state.Scrambler easily is subject to the impact of working environment as a kind of Optoelectronic precision instrument.Because the working environment of some industry (such as metallurgy, harbour machinery, textile machine and wind-power electricity generation etc.) is comparatively abominable, scrambler can be interfered unavoidably, thereby affect treatment circuit, single-chip microcomputer plate even programmed logic, cause encoder functionality not normal, even cause the fault of associate device.
Current encoder device product generally lacks or even does not have mistake/troubleshooting capability.Along with the application of scrambler product is more and more extensive, the client no longer is satisfied with scrambler only can be converted to electric signal with physical signalling, and they also require scrambler to possess diagnostic function, and product is more intelligent durable; Wish that also scrambler has abundanter interface mode, integration is higher, more associate device is realized intelligent, or even also can have on aspect the volume of scrambler and select widely the space.
The purpose of diagnosis is found out defective parts exactly.Early stage fault diagnosis mainly relies on individual expert or maintenance personal to be undertaken by sense organ, experience and simple instrument.For example fault tree analysis method starts from symptom or test result, judges according to experimental decision tree again, provides repair recommendation; For expert system, also be the knowledge of rule of thumb property and the computer program that designs,---when system breaks down, this program is according to the long-term practical experience of domain expert, to the deep understanding of system architecture and system failure history and a large amount of failure message knowledge, determines reason and the position of fault.The difficult problem of this class diagnostic method is knowledge acquisition: the domain expert needs long time integration could obtain diagnosis object knowledge (in fact these knowledge are always incomplete) on the one hand; On the other hand, from domain expert there acquire knowledge and with it change into computer system can with production rule also be a large problem.The formation of expertise, summary and accumulation need long process, and expertise accumulates by the time, the diagnostic system that makes new advances according to these knowledge developments again, and the product that diagnose may have been eliminated, and is perhaps out-of-date.
In recent years, be the focus that the diagnostic test field is paid close attention to based on the research of Model Diagnosis with using, develop very soon, multiple solution has appearred.The compatibility diagnosis is a kind of typically based on diagnoses of models, its main thought is: set up the model of system to be diagnosed (such as structure according to the annexation that system forms between the assembly, function, behavior), this model is described with the first order logic statement usually, according to the logical model of system and the input of system, we can derive system's anticipatory behavior under normal circumstances by the inference theory of logic, if the system's agenda that observes and system's anticipatory behavior are variant, logically be inconsistent with regard to illustrative system, namely have faulty components, utilize the inference theory of logic, we can determine the assembly set of initiating failure.As long as abstract correct of model just can diagnose all possible fault, and not only can process new fault (traditional diagnose often helpless), and can also provide compellent explanation.And because it separates the reasoning kernel of system with system model, have device independence---need only the update system model and just can be used for diagnosing another equipment, but thereby generalization good.
Summary of the invention
The automatic diagnostic device and the diagnosis method for solving thereof that the purpose of this invention is to provide a kind of encoder fault.Be intended to for scrambler provides fault diagnosis functions, realize a kind of method for diagnosing faults and system of absolute type encoder of logic-based compatibility.
The automatic diagnostic device of encoder fault of the present invention, formed by fault diagnosis system, scrambler and servo-drive system, physically between fault diagnosis system and the scrambler, link to each other by serial line interface RS422 between servo-drive system and the scrambler, adopt duplexing asynchronous communication mode, baud rate is the 230.4K bps; According to self-defining communications protocol and command protocol, fault diagnosis system sends command frame to scrambler in logic, sets the scrambler mode of operation, obtains the scrambler running state data, and servo-drive system obtains the angle electric signal from scrambler; Scrambler six physical pieces of system by on single-chip microcomputer plate, high-low signal treatment circuit, height read head photosignal, bearing signal treatment circuit, orientation read head photosignal and the machine time form; Fault diagnosis system comprises user interface elements, model description unit, language resolution unit, conflict recognition unit, diagnoses and find the solution unit, failure location unit and digital communication unit; The user interface elements of described fault diagnosis system is used for carrying out input model in patterned user interface mode and describes, reports parse error, setting command code, display encoder running state data, the operation of config failure diagnostic system operational factor; The model description unit is responsible for setting up the system model of scrambler and with the storage of the form of file with a kind of model description language, the user is that scrambler is write a system model by user interface elements, this model description composition and the interface relationship thereof of scrambler, again with the system model description document of document form storage; The language resolution unit is comprised of scanner and resolver two parts, is used for reading system model description file; The Main Function of conflict recognition unit is the system model of recognition coding device and the conflict between the scrambler running state data, has realized the derivation algorithm of forward-type and the derivation algorithm of backward type at the abstract syntax tree of system model description document; Diagnosis is found the solution the unit mainly for generation of the diagnosis candidate, and the row diagnosis of advancing by leaps and bounds liquidates; Failure location unit be mainly used in locating and the system model of highlighted display encoder under suspect assembly.
A kind of automatic diagnostic device of encoder fault carries out the automatic diagnosis method for solving of encoder fault, it is characterized in that:
1) model representation: the user is the system model that scrambler is write a scrambler by user interface elements, this model description composition and the interface relationship thereof of scrambler, again with document form storage, be called for short the system model description document;
2) system configuration: some operational factor configurations of model description unit read failure diagnostic system, the scrambler input value that comprises setting are system's input, the diagnosis number upper limit, diagnosis algorithm selection and system model description document path;
3) resolve: the language resolution unit obtains the path of system model description document from the model description unit, read this system model description document, the syntax according to the model description language scan keyword, parse syntactical unit one by one and create corresponding abstract syntax tree, can report to user interface elements when finding grammar mistake;
4) conflict identification: the conflict recognition unit is according to the input value of scrambler, set the running parameter of scrambler by digital communication unit, the running state data of scrambler reentried is observed reading, the scrambler input value that records inputs to the system model of scrambler, the output valve that records is as the output of the system model of scrambler, carry out the system model of scrambler and propagate these data to each assembly port, port data is inconsistent when namely conflicting, search causes the hypothesis of contradiction again, gathers to form the conflict set;
5) candidate produces: for the conflict set that obtains, find the solution the unit by diagnosis and diagnose according to the diagnosis algorithm of user selection and find the solution, calculate possible diagnosis candidate;
6) localization of fault: highlight the suspect assembly under the system model of scrambler according to diagnostic result.
The present invention recognizes the generation candidate diagnosis from conflict, and whole operating process is simple, the time spent is short, and system does not rely on operating personnel or expert's experience to the differentiation location of trouble spot, has broken away from the limitation of traditional diagnosis method.
The present invention has following beneficial effect:
(1) provides fault diagnosis functions for scrambler.As a vitals in the various Large Complex Equipment, the not normal operation and maintenance that is having a strong impact on these equipments of encoder functionality.It is deteriorated that scrambler with mistake/troubleshooting capability can prevent and control equipment effectively, reduces life and property loss.Use method of the present invention, can improve diagnostic test efficient, reduce cost of human resources.
(2) than traditional diagnostic method, what development in recent years was got up has obvious advantage based on diagnoses of models, does not namely rely on experience, is independent of equipment, model can reuse.As long as the update system model just can be used for diagnosing another equipment, but thereby have advantages such as the device independence generalization is good.
(3) satisfying the market is to the needs of intelligent scrambler.Angle from sector application, different industries is not quite similar to the requirement of scrambler, the precision of the industry requirement scrambler that for example has is higher, the scrambler that requires that has has stronger firm barrier propterty, what have requires scrambler anti-interference, intelligent durable, the scrambler that requires that has will have good integrated opening, and the then volume requirement to scrambler that has is less.Intelligent scrambler has responded this market demand, and the sector application that the client of functional requirement type, safety concern all needs intelligentized scrambler.
Description of drawings
Fig. 1 is the structural representation that the present invention emphasizes the encoder fault automatic diagnostic device of fault diagnosis part.
Fig. 2 is the structural representation that the present invention emphasizes the encoder fault automatic diagnostic device of encoder section.
Fig. 3 is the process flow diagram of an embodiment of method for diagnosing faults of the present invention.
Fig. 4 is the schematic diagram of the present invention embodiment of employed data communication format when the diagnostic test scrambler.
Appointment Fig. 3 is Figure of abstract.
Embodiment
The trouble-shooter of scrambler of the present invention has been realized based on the diagnoses of models process, be the contents such as model representation, conflict identification, candidate's generation, localization of fault, the present invention gives composition and the interface relationship of the scrambler with mistake/troubleshooting capability in addition.
Fig. 1 has provided the structural representation of encoder fault automatic diagnostic device of the present invention, see that roughly it is comprised of fault diagnosis system 101, scrambler 102 and servo-drive system 103, physically between fault diagnosis system and the scrambler, link to each other by serial line interface RS422 between servo-drive system and the scrambler, adopt (duplex) asynchronous communication mode, baud rate is the 230.4K bps.According to self-defining communications protocol and command protocol, fault diagnosis system can send command frame to scrambler in logic, set the scrambler mode of operation, obtain the scrambler running state data, and servo-drive system can obtain from scrambler the electric signal such as angle.Here servo-drive system is a kind of physical system of observing our scrambler communication protocol agreement, is not essential part of the present invention strictly speaking, is optional.
Fault diagnosis system 101 comprises: user interface elements 101-1, be used for carrying out the operations such as input model is described, report parse error, setting command code, display encoder running state data, configuration diagnostics system operational parameters in patterned user interface mode, formed by classes such as ModelUI, ErrReporter, Configurator, Commander, StatusViewer.Model description unit 101-2 is used for patterned mode modelling encoder system, form with file is stored the system model of being set up, formed by FileAccessor and Component and subclass thereof, wherein under the Component DComponent is arranged, DCSubcomponent, DCPort, DCConnection, DCTimer, DCPositionCard, DCAngleCard, DCSwitch, DCCircuitGD, DCCircuitFW, the DCRS422 class forms, wherein each class has realized the function of standard package, namely under the normal mode of operation and fault mode under behavior.The language resolution unit is used for reading system model description file, it comprises scanner and resolver two parts, wherein scanner is comprised of GenericScanner, LogicScanner, GenericToken, KeywordToken, EOIToken, ErrorToken, IdToken class, and resolver is comprised of LObject, LTruePredicate, LFalsePredicate, LVariable, LFunctor, LPredicate, LSentence, LSentences class.The Main Function of conflict recognition unit is the conflict between recognition system model and the scrambler running state data, it has realized the derivation algorithm of forward-type and the derivation algorithm of backward type at the abstract syntax tree of description document, is comprised of TPObject, MBDTheoremProver, TPProposition, TPRule, TPAssumption class.Diagnosis is found the solution the unit mainly for generation of the diagnosis candidate, the liquidating row diagnosis of advancing by leaps and bounds is comprised of TPDiagnosor, HSTreeDiagnosor, BHSTreeDiagnosor, BADiagnosor, GADiagnosor, GenericNode, HSNode, BNSNode, GACoder, BADCoder class.Failure location unit be mainly used in locating and highlighted display encoder system model under suspect assembly, formed by Diagnoses, ValueHolder, DiagnosisPlacer class, the user also can further differentiate for diagnosis.
The composition of scrambler 102 as shown in Figure 2, its six physical piece such as system 102-6 by on single-chip microcomputer plate 102-1, high-low signal treatment circuit 102-2, height read head photosignal 102-3, bearing signal treatment circuit 102-4, orientation read head photosignal 102-5 and the machine time forms.Wherein single-chip microcomputer plate 102-1 has realized RS422 serial communication module, command execution module, running state monitoring module, Gray code compiling module etc.
Embodiment 1
The first preferred embodiment of the present invention illustrates practicing of the inventive method by the fault diagnosis of certain type scrambler.Use fault diagnosis system of the present invention by serial ports and tested scrambler communication, this system frame of giving an order is accepted corresponding state data and the output of tested scrambler, and with expected results relatively.In other embodiments, also can pass through the interfaces such as netting twine, USB line is connected with tested scrambler.
Fig. 3 has provided the flow process that practices method for diagnosing faults of the present invention, specifically comprises:
1) after fault diagnosis system started, the user used the assigned address of dialog box to open system's description document;
2) if do not exist a legal system to describe on this position, be that the newly-built system of user is described at assigned address just.Otherwise, carried out for the 5th step.
3) user is that scrambler is write a system model by user interface elements, and the composition of description encoding device and interface relationship thereof are set the input value of this system model again;
4) saved system description document.The content of preserving comprises system's description document, system description document path and some operational factors etc. of tested scrambler;
5) selective system description document, configuration operation parameter.The operational factor configuration comprises input value, the diagnosis number upper limit and the diagnosis algorithm selection etc. of scrambler; System's description document that user selection will import, system obtains the deposit position of this document;
6) scanning resolution system description document.The language resolution unit reads system's description document of user selection, at this moment system can scanning document in keyword, the syntactical unit approved of analytic language creates the corresponding abstract syntax tree of system's description document again;
7) set up and being connected of tested scrambler;
8) structure and transmission diagnostic command frame;
9) after tested scrambler is received the diagnostic command frame, through a series of computings or operation, return running state data (comprising the actual observed value on real output value and the observation station);
10) fault diagnosis system obtains the scrambler running state data, and system's input that they and user are provided and desired output are in the lump as the input/output data of system model;
11) executive system model, search causes the hypothesis of contradiction, gathers to form the employed conflict set of diagnosis algorithm;
12) for the conflict set that obtains, the diagnosis algorithm that the user selects is diagnosed and is found the solution, and calculates possible diagnosis candidate;
13) according to the suspect assembly in the diagnostic result positioning circuit, highlight suspect assembly at system model;
When 14) needing further candidate diagnosis to be differentiated, for the user specifies further observation station, the user selection observation station is also specified the observed reading of expecting, continues for the 8th step; Otherwise carried out for the 15th step;
15) gather all diagnostic results and related description thereof, and press a complete diagnostic test report of form generation.
Embodiment 2
The second preferred embodiment of the present invention illustrates practicing of this method for diagnosing faults by the diagnostic test of certain 24 absolute type encoder.Various electromagnetic interference sources and the mechanical shock of production scene produce the Photoelectric Detection of scrambler and to disturb, and cause the distortion of output waveform distorted, cause the unstable or misoperation of control system, even accidents caused generation.For example; In the steel rolling governing system, scrambler is directly to be fixed on the shell of motor.When milling train is crossed steel, can cause the vibration of motor rotary shaft and shell, thereby cause the misoperation of scrambler, accidents caused.Use method of the present invention scrambler is carried out diagnostic test and process control, improve the reliability of machine system.
Suppose that the present embodiment has complete encoder system description document, so the idiographic flow that scrambler is carried out diagnostic test and process control comprises:
1) reading system description document and operational factor.The operational factor configuration comprises input value, the diagnosis number upper limit and the diagnosis algorithm selection etc. of scrambler; The import system description document is language resolution unit configuration path information;
2) scanning resolution system description document.When reading this description document, system can scanning document in keyword, the syntactical unit approved of analytic language creates the corresponding abstract syntax tree of circuit description document again;
3) set up and being connected of controlled scrambler;
4) the concurrent command frame that send of structure is to observe the running status of these 24 scramblers;
5) after controlled scrambler receives orders frame, through a series of computings or operation, return running state data, comprise the actual observed value on real output value and the observation station;
6) fault diagnosis system obtains the scrambler running state data, and system's input that they and user are provided and desired output are in the lump as the input/output data of system model;
7) executive system model, search causes the hypothesis of contradiction, gathers to form the employed conflict set of diagnosis algorithm;
8) for certain conflict, associated component is regarded as a new logic module;
9) command frame of output valve structure of user's expectation sends command frame with the output valve of constraint logic assembly;
10) if also have conflict, continued to carry out the 8th step, otherwise carried out for the 11st step;
11) gather all diagnostic results and related description thereof, and press a complete diagnostic test report of form generation.
Fig. 4 has provided the schematic diagram of the present invention embodiment of employed command frame structure when these 24 scramblers are carried out diagnostic test.These 24 scramblers adopt directly puts several electricity zeroing modes, can accept the control command of digital communication system, and the height Azimuth measurement information synchronous with sampling pulse is provided.For carrying out diagnostic test, the model serial ports connects (method is known), and after connecting, structure also sends the diagnostic command frame observing the running status of these 24 scramblers, and obtain the actual motion numerical value on the observation station.As shown in Figure 4, adopt the negative pulse of 800Hz in this example, sample in negative edge.Command frame is comprised of frame head and data field on the structure, wherein frame head length is fixed, comprise command word (order implication, a byte), coder parameters (six bytes, respectively AH, AM, AL, BH, BM, BL) and data field length (byte), and the length of data field is variable, is specified by the data length in the frame head.For example, check that the command word field of a command frame was filled out 0XC7 when the orientation carry was whether correct, AH, AM, AL etc. locate to fill out the number of putting of scrambler, data field length fills out 0, and other byte is empty, and then this command frame will send to scrambler by fault diagnosis system; The result frame that scrambler returns and the structure of command frame are identical, and different is the running state data (comprising the actual observed value on real output value and the observation station) that scrambler has been returned in the data field, and therefore data field length is also set.Should be noted that frame structure shown in Figure 4 can make amendment to it according to principle of the present invention, this all is apparent for a person skilled in the art, does not therefore enumerate one by one here.

Claims (6)

1. the automatic diagnostic device of an encoder fault, it is characterized in that being formed by fault diagnosis system (S101), scrambler (S102) and servo-drive system (S103), physically between fault diagnosis system (S101) and the scrambler (S102), link to each other by serial line interface RS422 between servo-drive system (S103) and the scrambler (S102), adopt duplexing asynchronous communication mode, baud rate is the 230.4K bps; In logic according to self-defining communications protocol and command protocol, fault diagnosis system (S101) sends command frame to scrambler (S102), set scrambler (S102) mode of operation, obtain scrambler (S102) running state data, servo-drive system (S103) obtains the angle electric signal from scrambler (S102); Scrambler (S102) by time on single-chip microcomputer plate (S102-1), high-low signal treatment circuit (S102-2), height read head photosignal (S102-3), bearing signal treatment circuit (S102-4), orientation read head photosignal (S102-5) and the machine (S102-6) six physical pieces of uniting form; Fault diagnosis system (S101) comprises user interface elements (S101-1), model description unit (S101-2), language resolution unit (S101-3), conflict recognition unit (S101-4), diagnoses and find the solution unit (S101-6), failure location unit (S101-7) and digital communication unit (S101-5); The user interface elements (S101-1) of described fault diagnosis system (S101) is used for carrying out input model in patterned user interface mode and describes, reports parse error, setting command code, display encoder (S102) running state data, the operation of config failure diagnostic system (S101) operational factor; Model description unit (S101-2) is responsible for setting up the system model of scrambler (S102) and storing with the form of file with a kind of model description language, the user writes a system model by user interface elements (S101-1) for scrambler (S102), this model description composition and the interface relationship thereof of scrambler (S102), again with the system model description document of document form storage; Language resolution unit (S101-3) is comprised of scanner and resolver two parts, is used for reading system model description file; The Main Function of conflict recognition unit (S101-4) is the system model of recognition coding device (S102) and the conflict between scrambler (S102) running state data, has realized the derivation algorithm of forward-type and the derivation algorithm of backward type at the abstract syntax tree of system model description document; Diagnosis is found the solution unit (S101-6) mainly for generation of the diagnosis candidate, and the row diagnosis of advancing by leaps and bounds liquidates; Failure location unit (S101-7) is mainly used in the suspect assembly under location and the system model of highlighted display encoder (S102), according to illustratively structure, function, the parts behavior of description encoding device (S102) of model description language of scrambler (S102) theory of constitution, infer accordingly scrambler (S102) anticipatory behavior under normal circumstances, anticipatory behavior and actual observation were variant when fault occured, and the element set of initiating failure is determined in the recycling reasoning from logic.
2. the automatic diagnostic device of encoder fault according to claim 1, it is characterized in that: the single-chip microcomputer plate (SS102-1) of described scrambler (S102) has been realized RS422 serial communication module, command execution module, running state monitoring module and Gray code compiling module.
3. the automatic diagnostic device of a kind of encoder fault according to claim 1 carries out the automatic diagnosis method for solving of encoder fault, it is characterized in that:
1) model representation: the user writes the system model of a scrambler (S102) for scrambler (S102) by user interface elements (S101-1), this model description composition and the interface relationship thereof of scrambler (S102), with the document form storage, be called for short the system model description document again;
2) system configuration: some operational factor configurations of model description unit (S101-2) read failure diagnostic system (S101), scrambler (S102) input value that comprises setting are system's input, the diagnosis number upper limit, diagnosis algorithm selection and system model description document path;
3) resolve: language resolution unit (S101-3) obtains the path of system model description document from model description unit (S101-2), read this system model description document, the syntax according to the model description language scan keyword, parse syntactical unit one by one and create corresponding abstract syntax tree, can report to user interface elements (S101-1) when finding grammar mistake;
4) conflict identification: conflict recognition unit (S101-4) is according to the input value of scrambler (S102), set the running parameter of scrambler (S102) by digital communication unit (S101-5), the running state data of scrambler (S102) reentried is observed reading, the scrambler that records (S102) input value inputs to the system model of scrambler (S102), the output valve that records is as the output of the system model of scrambler (S102), carry out the system model of scrambler (S102) and propagate these data to each assembly port, port data is inconsistent when namely conflicting, search causes the hypothesis of contradiction again, gathers to form the conflict set;
5) candidate produces: for the conflict set that obtains, find the solution unit (S101-6) by diagnosis and diagnose according to the diagnosis algorithm of user selection and find the solution, calculate possible diagnosis candidate;
6) localization of fault: highlight the suspect assembly under the system model of scrambler (S102) according to diagnostic result.
4. the automatic diagnosis method for solving of encoder fault according to claim 3, it is characterized in that, fault diagnosis system (S101) is by serial ports and tested scrambler (S102) communication, fault diagnosis system (S101) frame of giving an order, accept corresponding state data and the output of tested scrambler (S102), and compare with expected results;
The flow process of method for diagnosing faults specifically comprises:
1) after fault diagnosis system (S101) started, the user used the assigned address of dialog box to open a system model description document;
2) if do not exist a legal system to describe on this position, be the newly-built system model description document of user at assigned address just; Otherwise, carried out for the 5th step;
3) user writes the system model of a scrambler (S102) for scrambler (S102) by user interface elements (S101-1), composition and the interface relationship thereof of description encoding device (S102) are set the input value of the system model of this scrambler (S102) again;
4) saved system model description file; The content of preserving comprises system model description document, system model description document path and some operational factors of tested scrambler (S102);
5) selective system model description file, configuration operation parameter; The operational factor configuration comprises input value, the diagnosis number upper limit and the diagnosis algorithm selection of scrambler (S102); The system model description document that user selection will import, fault diagnosis system (S101) obtains the deposit position of this document;
6) scanning resolution system model description file; Language resolution unit (S101-3) reads the system model description document of user selection, at this moment keyword in fault diagnosis system (S101) the meeting scanning document, the syntactical unit approved of analytic language creates the corresponding abstract syntax tree of system model description document again;
7) set up and being connected of tested scrambler (S102);
8) structure and transmission diagnostic command frame;
9) after tested scrambler (S102) is received the diagnostic command frame, through a series of computings or operation, return the running state data that comprises the actual observed value on real output value and the observation station;
10) fault diagnosis system (S101) obtains scrambler (S102) running state data, and the input value that they and user are provided and the output valve of expectation are in the lump as input or the output data of the system model of scrambler (S102);
11) system model of execution scrambler (S102), search causes the hypothesis of contradiction, gathers to form the employed conflict set of diagnosis algorithm;
12) for the conflict set that obtains, the diagnosis algorithm that the user selects is diagnosed and is found the solution, and calculates possible diagnosis candidate;
13) according to the suspect assembly in the diagnostic result positioning circuit, highlight suspect assembly at the system model of scrambler (S102);
When 14) needing further candidate diagnosis to be differentiated, for the user specifies further observation station, the user selection observation station is also specified the observed reading of expecting, continues for the 8th step; If when not needing further candidate diagnosis to be differentiated, carried out for the 15th step;
15) gather all diagnostic results and related description thereof, and press a complete diagnosis report of form generation.
5. the automatic diagnosis method for solving of encoder fault according to claim 3 is characterized in that the system model description document at complete scrambler (S102), and the idiographic flow that scrambler (S102) is diagnosed, tested and controls comprises:
1) reading system model description file and operational factor; The operational factor configuration comprises input value, the diagnosis number upper limit and the diagnosis algorithm selection of scrambler (S102); Import system model description file is language resolution unit (S101-3) configuration path information;
2) scanning resolution system model description file; When reading this description document, keyword in system's meeting scanning document parses the syntactical unit that language is approved again, creates the corresponding abstract syntax tree of system model description document;
3) set up and being connected of controlled scrambler (S102);
4) the concurrent command frame that send of structure is to observe the running status of 24 scramblers (S102);
5) after controlled scrambler (S102) receives orders frame, through a series of computings or operation, return running state data, described running state data comprises the actual observed value on real output value and the observation station;
6) fault diagnosis system (S101) obtains scrambler (S102) running state data, and system's input that they and user are provided and desired output are in the lump as the input of the system model of scrambler (S102) or export data;
7) system model of execution scrambler (S102), search causes the hypothesis of contradiction, gathers to form the employed conflict set of diagnosis algorithm;
8) for certain conflict, associated component is combined into a new logic module;
9) command frame of output valve structure of user's expectation sends command frame with the output valve of constraint logic assembly;
10) if also have conflict, continued to carry out the 8th step, otherwise carried out for the 11st step;
11) gather all diagnostic results and related description thereof, and press a complete diagnosis report of form generation.
6. the automatic diagnosis method for solving of encoder fault according to claim 3 is characterized in that being connected with tested scrambler (S102) by netting twine or USB line interface.
CN 201010190383 2010-06-03 2010-06-03 Automatic fault diagnosis device of encoder and diagnosis solving method thereof Active CN101865705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010190383 CN101865705B (en) 2010-06-03 2010-06-03 Automatic fault diagnosis device of encoder and diagnosis solving method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010190383 CN101865705B (en) 2010-06-03 2010-06-03 Automatic fault diagnosis device of encoder and diagnosis solving method thereof

Publications (2)

Publication Number Publication Date
CN101865705A CN101865705A (en) 2010-10-20
CN101865705B true CN101865705B (en) 2013-03-27

Family

ID=42957516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010190383 Active CN101865705B (en) 2010-06-03 2010-06-03 Automatic fault diagnosis device of encoder and diagnosis solving method thereof

Country Status (1)

Country Link
CN (1) CN101865705B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156772A (en) * 2011-02-21 2011-08-17 大连海事大学 Logic-compatibility-based digital circuit fault diagnosis method and system
CN103684826B (en) * 2012-09-17 2017-05-24 腾讯科技(深圳)有限公司 Method and device for solving fault
CN103018592B (en) * 2012-11-28 2016-04-06 西南交通大学 The traction transformer faults diagnostic method of internal model control based PID controller
CN103441712B (en) * 2013-07-29 2016-01-20 武汉迈信电气技术有限公司 Encoder fault self-diagnosing method in servo drive system
CN105893232A (en) * 2014-10-21 2016-08-24 北京京航计算通讯研究所 Abnormal data generation method based on RS422 interface
CN104848882B (en) * 2015-01-29 2017-07-28 上海兰宝传感科技股份有限公司 A kind of code-disc failure self-diagnosis device of photoelectricity absolute value encoder
CN107957274A (en) * 2017-12-08 2018-04-24 长春理工大学 Multi-encoder fault diagnosis telemetry system and its monitoring method
CN111796238A (en) * 2020-07-15 2020-10-20 长春奥普光电技术股份有限公司 Positioning method and positioning system for indoor environment navigation
CN117632114B (en) * 2024-01-24 2024-05-17 浙江大学 FMU file importing method and device based on file analysis

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458528A (en) * 2008-12-23 2009-06-17 华东理工大学 On-line fault detection system based on CAN bus
CN201607244U (en) * 2009-12-04 2010-10-13 威海华东数控股份有限公司 On-line detection device for digital encoder
CN201740542U (en) * 2010-06-03 2011-02-09 长春奥普光电技术股份有限公司 Encoder fault automatic diagnosis device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4713123B2 (en) * 2004-10-13 2011-06-29 株式会社ミツトヨ Encoder output signal correction device
KR20070058258A (en) * 2005-12-03 2007-06-08 삼성전자주식회사 Apparatus and method for diagnosis of analog encoder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458528A (en) * 2008-12-23 2009-06-17 华东理工大学 On-line fault detection system based on CAN bus
CN201607244U (en) * 2009-12-04 2010-10-13 威海华东数控股份有限公司 On-line detection device for digital encoder
CN201740542U (en) * 2010-06-03 2011-02-09 长春奥普光电技术股份有限公司 Encoder fault automatic diagnosis device

Also Published As

Publication number Publication date
CN101865705A (en) 2010-10-20

Similar Documents

Publication Publication Date Title
CN101865705B (en) Automatic fault diagnosis device of encoder and diagnosis solving method thereof
EP3584658B1 (en) Method, system, device, and computer readable storage medium for diagnosing vehicle
CN201740542U (en) Encoder fault automatic diagnosis device
CN110766277B (en) Health assessment and diagnosis system and mobile terminal for nuclear industry field
CN100492232C (en) Built-in rotating machinery operation monitoring protecting equipment and setting method thereof
CN101989087B (en) On-line real-time failure monitoring and diagnosing system device for industrial processing of residual oil
CN107544462B (en) For diagnosing the method and system of the failure of wind power generating set
CN108132663A (en) The analytic method of vehicle trouble messages, device and system
EP2671157A1 (en) Arrangement and method for model-based testing
CN101718841A (en) Automatic checking system and method of relaying protection device
CN102086784A (en) Distributed remote vibration monitoring and fault diagnosis system of large steam turbine-generator
CN101770219A (en) Knowledge acquisition method of fault diagnosis knowledge base of turn-milling combined machine tool
CN104058336B (en) Front-handling mobile crane and control method thereof and system
US20100121951A1 (en) Method and arrangement for diagnosing networks including field bus systems
CN104391190A (en) Remote diagnosis system for measuring instrument and diagnosis method thereof
CN103259686A (en) CAN bus network fault diagnosis method based on disperse error events
EP2745380B1 (en) Diagnosis of communication based on the goose protocol
CN110296124A (en) Remote failure diagnosis system and method based on expert system
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
CN110543142A (en) Fault diagnosis and early warning system of numerical control machine tool
CN102012697A (en) Engineering machinery and intelligent fault treatment method and system thereof
CN102541725A (en) Simulation test method of numerical control system functional module
CN108919783A (en) A kind of driving mechanism trouble-shooter and method
EP2021736B1 (en) Measuring transducer
CN102033541B (en) System for testing automobile instrument with controller area network (CAN) bus and testing method thereof

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