CN101865705A - 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
CN101865705A
CN101865705A CN 201010190383 CN201010190383A CN101865705A CN 101865705 A CN101865705 A CN 101865705A CN 201010190383 CN201010190383 CN 201010190383 CN 201010190383 A CN201010190383 A CN 201010190383A CN 101865705 A CN101865705 A CN 101865705A
Authority
CN
China
Prior art keywords
scrambler
diagnosis
fault
model
unit
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.)
Granted
Application number
CN 201010190383
Other languages
Chinese (zh)
Other versions
CN101865705B (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

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 the 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.
Technical background
Scrambler is that physical signalling or data are worked out and are converted to can be the sensing product that purposes was tested the speed and located in a kind of important being used in order to the equipment of the form of communication, transmission and storage.Scrambler is a big important branch of sensing product, has very vast market, 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 that displacement conversion is become 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 the maintenance of these equipments, causes equipment failure even, causes life and property loss.So-called encoder fault diagnosis is meant under certain working environment finds out reason or the character that causes certain malfunction of encoder system, judges position or parts that deterioration state takes place, avoids because the loss that the state deterioration is caused.Scrambler is subjected to the influence of working environment easily as a kind of photoelectricity exact instrument.Because the working environment of some industry (as metallurgy, harbour machinery, textile machine and wind-power electricity generation etc.) is comparatively abominable, scrambler can be interfered unavoidably, thereby influence 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 more and more widely, the client no longer is satisfied with scrambler only can be converted to electric signal with physical signalling, they also require scrambler to possess diagnostic function, product is intelligent more durable; Wish that also scrambler has abundanter interface mode, but integration is higher, it is intelligent that more associate device is realized, or even also can have on aspect the volume of scrambler and select the space widely.
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 to repair suggestion; 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 domain expert's long-term practical experience, to the deep understanding of system architecture and system failure history and a large amount of failure message knowledge, determines the 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 big problem.The formation of expertise, summary and accumulation need long process, and expertise accumulates by the time, develops the diagnostic system that makes new advances according to these knowledge 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 typical diagnosis based on model, its main thought is: become the annexation foundation between the assembly to wait to diagnose the model of system (as structure according to set of systems, 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, with regard to illustrative system logically is inconsistent, promptly 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 handle new fault (traditional diagnose often powerless), and can also provide compellent explanation.And, have device independence because it separates the reasoning kernel of system with system model---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.
Encoder fault automatic diagnostic device of the present invention is made up of fault diagnosis system, scrambler and servo-drive system.According to self-defining communications protocol and command protocol, by serial line interface RS422, fault diagnosis system can send command frame to scrambler, set the mode of operation of scrambler, the running state data of acquisition scrambler, and servo-drive system can obtain electric signal such as angle from scrambler.Scrambler six physical pieces such as 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 are formed, and have wherein realized RS422 serial communication module, command execution module, running state monitoring module, Gray code compiling module etc. on the single-chip microcomputer plate.
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, and wherein: user interface elements is used for carrying out input model in patterned user interface mode and describes, reports operations such as parse error, setting command code, display encoder running state data, configuration diagnostics system operational parameters; Describing dispensing unit is responsible for setting up the system model of scrambler and storing with the form of file with a kind of model description language; The language resolution unit is used to read the model description file with file storage, through word scanning and syntax parsing, creates the abstract syntax tree of this description document; The main effect of conflict recognition unit is the conflict between recognition system model and the scrambler running state data; Diagnosis is found the solution the unit and is mainly used in generation diagnosis candidate, and the row diagnosis of advancing by leaps and bounds liquidating; Failure location unit under can the position encoder system model suspect assembly and highlight.
The automatic diagnosis method of the encoder fault of logic-based compatibility of the present invention comprises following basic step:
1) model representation: the user is that scrambler is write a system model by user interface elements, this model description the composition and the interface relationship thereof of scrambler, again with document form storage (being called for short the system description file);
2) system configuration: the model description unit reads some operational factor configurations of diagnostic system, comprises scrambler input value (input of abbreviation system), the diagnosis number upper limit, diagnosis algorithm selection and the system description file path etc. of setting;
3) resolve: the language resolution unit obtains the path of system description file from the model description unit, read this system description file, 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 imported according to system, by the running parameter of digital communication unit setting scrambler, the running state data of the scrambler of reentrying (abbreviation observed reading).System is imported/observed reading is as the I/O of system model, and the executive system model is also propagated these data to each assembly port, and port data is inconsistent when promptly conflicting, and search causes the hypothesis of contradiction again, gathers to form the conflict set;
5) candidate produces: at the conflict set that obtains, diagnosed and found the solution by the set algorithm that bumps that the diagnosis algorithm unit selects that the user selects for use, calculate possible diagnosis candidate;
6) localization of fault: highlight suspect assembly under the system model according to diagnostic result.
The present invention recognizes the generation candidate diagnosis from conflict, and the whole operation process is simple, the time spent short, and the experience that does not rely on operating personnel or expert is located to the differentiation of trouble spot by system, 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, not normal operation and the maintenance that is having a strong impact on these equipments of encoder functionality.Scrambler with mistake/troubleshooting capability can effectively prevent and control the equipment deterioration, 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, the diagnosis based on model that development in recent years is got up has remarkable advantages, does not promptly 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) satisfy the needs of market to 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 littler.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 synoptic diagram of the present invention embodiment of employed data communication format when the diagnostic test scrambler.
Appointment Fig. 3 is a Figure of abstract
Embodiment
The trouble-shooter of scrambler of the present invention has been realized the diagnostic procedure based on model, be contents such as model representation, conflict identification, candidate's generation, localization of fault, the present invention gives the 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 made up 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 electric signal such as angle from scrambler.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 operations such as input model is described, report parse error, setting command code, display encoder running state data, configuration diagnostics system operational parameters, form by classes such as ModelUI, ErrReporter, Configurator, Commander, StatusViewer in patterned user interface mode.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, form 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 is formed, wherein each class has all realized the function of standard package, promptly 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 made up of GenericScanner, LogicScanner, GenericToken, KeywordToken, EOIToken, ErrorToken, IdToken class, and resolver is made up of LObject, LTruePredicate, LFalsePredicate, LVariable, LFunctor, LPredicate, LSentence, LSentences class.The main effect 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 on the abstract syntax tree of description document, be made up of TPObject, MBDTheoremProver, TPProposition, TPRule, TPAssumption class.Diagnosis is found the solution the unit and is mainly used in generation diagnosis candidate, the liquidating row diagnosis of advancing by leaps and bounds is made up of TPDiagnosor, HSTreeDiagnosor, BHSTreeDiagnosor, BADiagnosor, GADiagnosor, GenericNode, HSNode, BNSNode, GACoder, BADCoder class.Failure location unit is mainly used in the suspect assembly under location and the highlighted display encoder system model, is made up of Diagnoses, ValueHolder, DiagnosisPlacer class, and 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 is formed.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
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 the corresponding state data and the output of tested scrambler, and with expected results relatively.In other embodiments, also can pass through 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 a system description file;
2) if do not have a legal system description on this position, just on assigned address the newly-built system description of user.Otherwise, carried out for the 5th step.
3) user is that scrambler is write a system model by user interface elements, describes the composition and the interface relationship thereof of scrambler, sets the input value of this system model again;
4) saved system description document.The content of preserving comprises system description file, system description file 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; The system description file that user's selection will import, system obtains the deposit position of this document;
6) scanning resolution system description document.The language resolution unit reads the user selected system description document, and the syntactical unit that language is approved resolved again in keyword in the scanning document of system's meeting at this moment, creates the pairing abstract syntax tree of system description file;
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,, return running state data (comprising the actual observed value on real output value and the observation station) through a series of computings or operation;
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 I/O 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) at the conflict set that obtains, the diagnosis algorithm that uses the user to select is diagnosed and is found the solution, and calculates possible diagnosis candidate;
13), on system model, highlight suspect assembly according to the suspect assembly in the diagnostic result positioning circuit;
When 14) needing further candidate diagnosis to be differentiated, for the user specifies further observation station, the user selects observation station and specifies the observed reading of expectation, 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
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.The various electromagnetic interference sources and the mechanical shock of production scene disturb the Photoelectric Detection generation of scrambler, cause output waveform that the distortion distortion takes place, and cause control system instability or misoperation, 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 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, the syntactical unit that language is approved resolved again in keyword in system's meeting scanning document, creates the pairing abstract syntax tree of circuit description document;
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,, return running state data, comprise the actual observed value on real output value and the observation station through a series of computings or operation;
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 I/O 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) at certain conflict, associated component is regarded as a new logic module;
9) use the output valve of user expectation to construct a command frame, send the output valve of command frame with the 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 synoptic 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 orientation angle measurement information synchronous with sampling pulse is provided.For carrying out diagnostic test, at first set up serial ports and connect (method is known), 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 made up 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, be 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 OXC7 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 conspicuous 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 and the diagnosis method for solving, form by fault diagnosis system S101, scrambler S102 and servo-drive system S103, 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 electric signal such as angle 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 are formed, and it is characterized in that fault diagnosis system and model description language thereof based on model; This fault diagnosis system is found the solution unit, failure location unit and digital communication unit and is formed by user interface elements, model description unit, language resolution unit, conflict recognition unit, diagnosis, the unique distinction of system is: describe structure, function, the parts behavior of scrambler with model description language illustrative ground according to the scrambler theory of constitution, infer scrambler anticipatory behavior under normal circumstances in view of the above, anticipatory behavior and actual observation were variant when fault took place, and utilized reasoning from logic to determine the element set of initiating failure again.
  2. The automatic diagnostic device of a kind of encoder fault according to claim 1 and the diagnosis method for solving, it is characterized in that: the user interface elements S101-1 of described fault diagnosis system S101, be used for carrying out operations such as input model is described, report parse error, setting command code, display encoder running state data, configuration diagnostics system operational parameters, form by ModelUI, ErrReporter, Configurator, Commander, StatusViewer class in patterned user interface mode; Model description cell S 101-2 is used for patterned mode modelling encoder system, form with file is stored the system model of being set up, form 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 is formed, wherein each class has all realized the function of standard package, promptly under the normal mode of operation and fault mode under behavior; Language resolution unit S101-3 is used for reading system model description file, comprise scanner and resolver two parts, wherein scanner is made up of GenericScanner, LogicScanner, GenericToken, KeywordToken, EOIToken, ErrorToken, IdToken class, and resolver is made up of LObject, LTruePredicate, LFalsePredicate, LVariable, LFunctor, LPredicate, LSentence, LSentences class; The main effect of conflict recognition unit S101-4 is the conflict between recognition system model and the scrambler running state data, on the abstract syntax tree of description document, realized the derivation algorithm of forward-type and the derivation algorithm of backward type, formed by TPObject, MBDTheoremProver, TPProposition, TPRule, TPAssumption class; Diagnosis is found the solution cell S 101-6 and is mainly used in generation diagnosis candidate, the liquidating row diagnosis of advancing by leaps and bounds is made up of TPDiagnosor, HSTreeDiagnosor, BHSTreeDiagnosor, BADiagnosor, GADiagnosor, GenericNode, HSNode, BNSNode, GACoder, BADCoder class; Failure location unit S101-7 is mainly used in the suspect assembly under location and the highlighted display encoder system model, is made up of Diagnoses, ValueHolder, DiagnosisPlacer class; The single-chip microcomputer plate S102-1 of described scrambler S102 has realized RS422 serial communication module, command execution module, running state monitoring module, Gray code compiling module.
  3. The automatic diagnostic device of a kind of encoder fault according to claim 1 and the diagnosis method for solving, it is characterized in that:
    1) model representation: the user is that scrambler is write a system model by user interface elements, this model description the composition and the interface relationship thereof of scrambler, again with document form storage, be called for short the system description file;
    2) system configuration: the model description unit reads some operational factor configurations of diagnostic system, and the scrambler input value that comprises setting is system's input, the diagnosis number upper limit, diagnosis algorithm selection and system description file path etc.;
    3) resolve: the language resolution unit obtains the path of system description file from the model description unit, read this system description file, 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 imported according to system, set the running parameter of scrambler by digital communication unit, the running state data of scrambler reentried is an observed reading, system is imported/observed reading is as the I/O of system model, the executive system model is also propagated these data to each assembly port, port data is inconsistent when promptly conflicting, and search causes the hypothesis of contradiction again, gathers to form the conflict set;
    5) candidate produces: at the conflict set that obtains, diagnosed and found the solution by the set algorithm that bumps that the diagnosis algorithm unit selects that the user selects for use, calculate possible diagnosis candidate;
    6) localization of fault: highlight suspect assembly under the system model according to diagnostic result.
  4. 4. the automatic diagnosis method for solving of encoder fault according to claim 3, it is characterized in that fault diagnosis system is by serial ports and tested scrambler communication, the fault diagnosis system frame of giving an order is accepted the corresponding state data and the output of tested scrambler, and with expected results relatively;
    The flow process of method for diagnosing faults specifically comprises:
    1) after fault diagnosis system started, the user used the assigned address of dialog box to open a system description file;
    2) if do not have a legal system description on this position, just on assigned address the newly-built system description of user.Otherwise, carried out for the 5th step.
    3) user is that scrambler is write a system model by user interface elements, describes the composition and the interface relationship thereof of scrambler, sets the input value of this system model again;
    4) saved system description document.The content of preserving comprises system description file, system description file 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; The system description file that user's selection will import, system obtains the deposit position of this document;
    6) scanning resolution system description document.The language resolution unit reads the user selected system description document, and the syntactical unit that language is approved resolved again in keyword in the scanning document of system's meeting at this moment, creates the pairing abstract syntax tree of system description file;
    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,, return running state data (comprising the actual observed value on real output value and the observation station) through a series of computings or operation;
    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 I/O 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) at the conflict set that obtains, the diagnosis algorithm that uses the user to select is diagnosed and is found the solution, and calculates possible diagnosis candidate;
    13), on system model, highlight suspect assembly according to the suspect assembly in the diagnostic result positioning circuit;
    When 14) needing further candidate diagnosis to be differentiated, for the user specifies further observation station, the user selects observation station and specifies the observed reading of expectation, 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.
  5. 5. the automatic diagnosis method for solving of encoder fault according to claim 3 is characterized in that the idiographic flow that scrambler is carried out diagnostic test and process control comprises in complete encoder system description document:
    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, the syntactical unit that language is approved resolved again in keyword in system's meeting scanning document, creates the pairing abstract syntax tree of circuit description document;
    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,, return running state data, comprise the actual observed value on real output value and the observation station through a series of computings or operation;
    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 I/O 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) at certain conflict, associated component is regarded as a new logic module;
    9) use the output valve of user expectation to construct a command frame, send the output valve of command frame with the 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.
  6. 6. the automatic diagnosis method for solving of encoder fault according to claim 3 is characterized in that being connected with tested scrambler 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 true CN101865705A (en) 2010-10-20
CN101865705B 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)

Cited By (10)

* 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
CN103018592A (en) * 2012-11-28 2013-04-03 西南交通大学 Fault diagnosis method of traction transformer based on model diagnosis
CN103441712A (en) * 2013-07-29 2013-12-11 武汉迈信电气技术有限公司 Fault self-diagnosis method for encoder in servo driving system
CN103684826A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for solving fault
CN104848882A (en) * 2015-01-29 2015-08-19 上海兰宝传感科技股份有限公司 Code wheel fault self-diagnosis method for photoelectric absolute value encoder
CN105893232A (en) * 2014-10-21 2016-08-24 北京京航计算通讯研究所 Abnormal data generation method based on RS422 interface
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
CN117632114A (en) * 2024-01-24 2024-03-01 浙江大学 FMU file importing method and device based on file analysis
CN117632114B (en) * 2024-01-24 2024-05-17 浙江大学 FMU file importing method and device based on file analysis

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060077083A1 (en) * 2004-10-13 2006-04-13 Mitutoyo Corporation Encoder output signal correction apparatus and method
KR20070058258A (en) * 2005-12-03 2007-06-08 삼성전자주식회사 Apparatus and method for diagnosis of analog encoder
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060077083A1 (en) * 2004-10-13 2006-04-13 Mitutoyo Corporation Encoder output signal correction apparatus and method
KR20070058258A (en) * 2005-12-03 2007-06-08 삼성전자주식회사 Apparatus and method for diagnosis of analog encoder
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

Cited By (14)

* 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
CN103684826A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for solving fault
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
CN103018592A (en) * 2012-11-28 2013-04-03 西南交通大学 Fault diagnosis method of traction transformer based on model diagnosis
CN103441712B (en) * 2013-07-29 2016-01-20 武汉迈信电气技术有限公司 Encoder fault self-diagnosing method in servo drive system
CN103441712A (en) * 2013-07-29 2013-12-11 武汉迈信电气技术有限公司 Fault self-diagnosis method for encoder in servo driving system
CN105893232A (en) * 2014-10-21 2016-08-24 北京京航计算通讯研究所 Abnormal data generation method based on RS422 interface
CN104848882A (en) * 2015-01-29 2015-08-19 上海兰宝传感科技股份有限公司 Code wheel fault self-diagnosis method for photoelectric absolute value encoder
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
CN117632114A (en) * 2024-01-24 2024-03-01 浙江大学 FMU file importing method and device based on file analysis
CN117632114B (en) * 2024-01-24 2024-05-17 浙江大学 FMU file importing method and device based on file analysis

Also Published As

Publication number Publication date
CN101865705B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN101865705B (en) Automatic fault diagnosis device of encoder and diagnosis solving method thereof
CN201740542U (en) Encoder fault automatic diagnosis device
CN100492232C (en) Built-in rotating machinery operation monitoring protecting equipment and setting method thereof
CN101718841B (en) Automatic checking system and method of relaying protection device
Folmer et al. Computing dependent industrial alarms for alarm flood reduction
CN107544462B (en) For diagnosing the method and system of the failure of wind power generating set
CN110766277B (en) Health assessment and diagnosis system and mobile terminal for nuclear industry field
WO2012104488A1 (en) Arrangement and method for model-based testing
CN102735485B (en) Excavator, and method and system for determining equipment fault
CN102086784A (en) Distributed remote vibration monitoring and fault diagnosis system of large steam turbine-generator
CN104058336B (en) Front-handling mobile crane and control method thereof and system
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
CN103259686A (en) CAN bus network fault diagnosis method based on disperse error events
CN110296124A (en) Remote failure diagnosis system and method based on expert system
CN102122431A (en) Method and system for intelligently diagnosing faults of electricity information collection terminal
CN102012697A (en) Engineering machinery and intelligent fault treatment method and system thereof
EP2745380B1 (en) Diagnosis of communication based on the goose protocol
CN105134456A (en) Water turbine fault prognosis method based on on-line monitoring
US9081740B2 (en) Signal processing system and method for processing signals in a bus node
CN200997066Y (en) In-situ monitor of digital-controlled machine tool based on PSTN
CN103453933A (en) Agricultural machine working parameter integrated monitoring platform and using method thereof
CN102044308A (en) Acquisition method and system for real time data of nuclear plant DCS
EP2021736B1 (en) Measuring transducer
CN105137214A (en) Satellite bus data analysis system
CN107113199A (en) Analytical equipment for analyzing and handling communication sequence

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