CN109802761A - A kind of fault recognition method and device - Google Patents

A kind of fault recognition method and device Download PDF

Info

Publication number
CN109802761A
CN109802761A CN201910141394.5A CN201910141394A CN109802761A CN 109802761 A CN109802761 A CN 109802761A CN 201910141394 A CN201910141394 A CN 201910141394A CN 109802761 A CN109802761 A CN 109802761A
Authority
CN
China
Prior art keywords
synchronous head
head
level
synchronous
attribute
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
CN201910141394.5A
Other languages
Chinese (zh)
Other versions
CN109802761B (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.)
Beijing Runke General Technology Co Ltd
Original Assignee
Beijing Runke General 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 Beijing Runke General Technology Co Ltd filed Critical Beijing Runke General Technology Co Ltd
Priority to CN201910141394.5A priority Critical patent/CN109802761B/en
Publication of CN109802761A publication Critical patent/CN109802761A/en
Application granted granted Critical
Publication of CN109802761B publication Critical patent/CN109802761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The present invention provides a kind of fault recognition method and devices, which comprises receives echo signal, the synchronous head attribute of synchronous head is determined from the echo signal, according to the synchronous head attribute of the synchronous head, determine the synchronous head with the presence or absence of failure.By the invention it is possible to identify the position failure of synchronous head.

Description

A kind of fault recognition method and device
Technical field
The present invention relates to the communications fields, more specifically, being related to a kind of fault recognition method and device.
Background technique
1553B bus Bit Transmission Rate is 1Mbps, and numeric data code uses II type biphase-level coding of Manchester.Synchronous head Be divided into coding line synchronous head, status word synchronous head and data word synchronous head, 1553B bus synchronous head be 1553B message and word just True received precondition, plays the role of vital in bus communication.
The fault identification of existing 1553B bus synchronous head is usually to judge to receive whether the coding of the synchronous head of word is to set Fixed number value such as " 111000 " or " 000111 ", and then judges in the message transmitted in 1553B bus with the presence or absence of synchronous head event Barrier.But such method only accounts for the electrical layer attribute of synchronous head, without considering protocol layer attribute, that is, is only capable of identification and synchronizes The coding failure of head, cannot identify the position failure of synchronous head, and then a part of synchronous head failure is caused to fail to be correctly validated.
Summary of the invention
In view of this, the present invention provides a kind of fault recognition method and device, to solve to be only capable of the coding of identification synchronous head Failure, cannot identify the position failure of synchronous head, and then a part of synchronous head failure is caused to fail the problem of being correctly validated.
In order to solve the above technical problems, present invention employs following technical solutions:
A kind of fault recognition method, comprising:
Receive echo signal;
Determine the synchronous head attribute of the synchronous head in the echo signal;The synchronous head attribute includes synchronous head encoded radio With synchronous head position;
According to the synchronous head attribute of the synchronous head, the synchronous head is determined with the presence or absence of failure, the failure includes position Set failure.
Preferably, the synchronous head attribute of the synchronous head in the echo signal is determined, comprising:
Determine the initial position of the synchronous head in the echo signal;
According to the initial position, the synchronous head is determined;
Determine the synchronous head attribute of the synchronous head.
Preferably, the initial position of the synchronous head in the echo signal is determined, comprising:
After detecting that last data bit of any word of the echo signal terminates, after judging the data bit Next bit when target level whether be idle level;
If the idle level, determine that the idle level whether there is rising edge or failing edge later;
If it exists, the slope value of the rising edge or the failing edge is determined;
If the slope value is in default slope range, using the position for the rising edge or the failing edge occur as institute State the initial position of synchronous head;
If not the idle level, determines that the target level is converted with the presence or absence of polarity of wave;
If it exists, then using the mistake zero position of the target level as the initial position of the synchronous head;
If it does not exist, then specified level when the latter position of the target level is acquired;
If the level value of the specified level is constant and busy level, using the data bit end position as described in The initial position of synchronous head.
Preferably, according to the initial position, after determining the synchronous head, further includes:
The synchronous head is filtered.
Preferably, the synchronous head attribute according to the synchronous head determines the synchronous head with the presence or absence of failure, packet It includes:
Obtain the position failure recognition strategy of the synchronous head;
According to the position failure recognition strategy and the synchronous head attribute, determine the synchronous head with the presence or absence of position event Barrier.
Preferably, described according to position failure recognition strategy and the synchronous head attribute, determine whether the synchronous head is deposited In position failure, comprising:
If the synchronous head encoded radio is the first pre-arranged code value, the synchronous head position is that the synchronous head appears in institute It states in echo signal since any word after the third word or third word in multiple words continuous first character, then Determine that there are position failures for the synchronous head;
If the synchronous head encoded radio is the second pre-arranged code value, the synchronous head position is that the synchronous head appears in institute It states in the first character in echo signal, it is determined that there are position failures for the synchronous head.
Preferably, during the synchronous head attribute for determining the synchronous head in the echo signal, further includes:
According to the zero crossing of the synchronous head, device calibration is timed to the echo signal.
A kind of fault identification device, comprising:
Signal receiving module, for receiving echo signal;
Attribute determination module, for determining the synchronous head attribute of the synchronous head in the echo signal;The synchronous head category Property includes synchronous head encoded radio and synchronous head position;
Fault determination module determines the synchronous head with the presence or absence of event for the synchronous head attribute according to the synchronous head Barrier, the failure includes position failure.
Preferably, the attribute determination module includes:
Position determination submodule, for determining the initial position of the synchronous head in the echo signal;
Synchronous head determines submodule, for determining the synchronous head according to the initial position;
Attribute determines submodule, for determining the synchronous head attribute of the synchronous head.
Preferably, the position determination submodule includes:
First judging unit, for after detecting that last data bit of any word of the echo signal terminates, Whether target level when judging the next bit after the data bit is idle level;
First determination unit determines that the idle level whether there is rising edge later if being used for the idle level Or failing edge;
Second determination unit, for the rising edge or the failing edge if it exists, determine the rising edge or it is described under The slope value on edge drops;
Third determination unit, if the rising edge or described will occur in default slope range for the slope value Initial position of the position of failing edge as the synchronous head;
4th determination unit is used for if not the idle level, determines the target level with the presence or absence of polarity of wave Conversion;
5th determination unit then makees the mistake zero position of the target level for the polarity of wave conversion if it exists For the initial position of the synchronous head;
Acquisition unit, for the polarity of wave conversion if it does not exist, then when acquiring the latter position of the target level Specified level;
6th determination unit, if the level value for the specified level is constant and busy level, by the data Initial position of the position end position as the synchronous head.
Compared to the prior art, the invention has the following advantages:
The present invention provides a kind of fault recognition method and devices, receive echo signal, determine from the echo signal The synchronous head attribute of synchronous head out determines the synchronous head with the presence or absence of failure according to the synchronous head attribute of the synchronous head.It is logical The present invention is crossed, can identify the position failure of synchronous head.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of method flow diagram of fault recognition method provided in an embodiment of the present invention;
Fig. 2 is a kind of signal schematic representation of echo signal provided in an embodiment of the present invention;
Fig. 3 is the signal schematic representation of another echo signal provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of bus diagnostic module provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram of another fault recognition method provided in an embodiment of the present invention;
Fig. 6 is the method flow diagram of another fault recognition method provided in an embodiment of the present invention;
Fig. 7 is the method flow diagram of another fault recognition method provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of fault identification device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of fault recognition methods, using the diagnostic device of 1553B bus, specifically, 1553B bus Bit Transmission Rate 1Mbps, i.e. 1 bit occupancy 1us, numeric data code use II type biphase-level coding of Manchester, logic 1 is bipolar coding signal 1/0 (i.e. a positive pulse is followed by a negative pulse, such as Fig. 2), and logical zero is bipolar coding signal 0/1 Midpoint at each occurs for the zero passage jump of (i.e. a negative pulse is followed by a positive pulse, such as Fig. 3), synchronous head.Together Step head is divided into coding line synchronous head, status word synchronous head and data word synchronous head, and synchronous head accounts for 3 before the word to be sent When position.Wherein coding line synchronous head and status word synchronous head are as shown in Fig. 2, be invalid Manchester waveform, first 1.5 When waveform be positive, waveform is negative at latter 1.5.Data word synchronous head as shown in figure 3, be invalid Manchester waveform, Waveform is negative at first 1.5, and waveform is positive at latter 1.5.
The core of the diagnostic device of 1553B bus is bus diagnostic module, and referring to Fig. 4, bus diagnostic module is connect by bus Access point A 101 and bus access point B 107, high speed acquisition circuit 102 and 106, field programmable gate array FPGA (Field-Programmable Gate Array) 105, Double Data Rate synchronous DRAM DDR (Double Data Rate 103 and high speed serialization computer expansion bus standard PCIE (peripheral component) is stored Interconnect express) composition of interface 104.Wherein there are two bus access points, it is connected respectively to the A of 1553B bus Redundancy and B redundancy.High speed acquisition circuit use signal conditioning circuit and 2 analog-to-digital conversion A/D chips, sample rate 200MSPS, Sampling interval 5ns, 1553B rate are 1Mbps, and such 1 bit acquires 200 points, can well to waveform carry out analysis and Reduction.FPGA 105 completes to receive data from AD, then according to bus characteristics to 1553B number of buses using Xilinx V7 series According to the electrical layer analysis of carry out, protocol layer analysis passes through after initial data and analysis result are finally placed in DDR group packet PCIE interface 104 uploads host computer.
Fault recognition method provided by the invention can be applied to above-mentioned FPGA, referring to Fig.1, may include:
S11, echo signal is received.
Specifically, passing through above-mentioned bus access point A 101 and bus access point B 107,102 and of high speed acquisition circuit 106 acquisition echo signals.Echo signal is a piece of news, and a message includes multiple words, and each word includes synchronous head and data Position.Word can continuous arrangement in the message, can also include 20 with midfeather idle level, a word, front three is to synchronize Head, latter 17 are data bit.
S12, the synchronous head attribute for determining synchronous head in the echo signal.
The synchronous head attribute includes synchronous head encoded radio and synchronous head position.
Wherein, synchronous head encoded radio is six, and correct synchronous head encoded radio is " 000111 " and " 111000 ".Mistake Synchronous head encoded radio can be " 000110 ", " 100111 " etc..
After knowing synchronous head encoded radio, synchronous head type, synchronous head type can be determined according to synchronous head encoded radio It include: coding line synchronous head, status word synchronous head and data word synchronous head, coding line synchronous head and status word synchronous head are referring to figure 2, the encoded radio of coding line synchronous head and status word synchronous head is " 111000 ", and for data word synchronous head referring to Fig. 3, data word is synchronous The encoded radio of head is " 000111 ".
S13, the synchronous head attribute according to the synchronous head determine the synchronous head with the presence or absence of failure.
Wherein, the failure may include two kinds of failure of position failure and coding.
The present embodiment receives echo signal, and the synchronous head attribute of synchronous head is determined from the echo signal, according to institute The synchronous head attribute for stating synchronous head determines the synchronous head with the presence or absence of failure.Through the embodiment of the present invention, synchronization can be identified The position failure of head.
Optionally, on the basis of the above embodiments, may include: referring to Fig. 5, step S12
S21, the initial position for determining the synchronous head in the echo signal.
Wherein, the initial position of synchronous head refers to the position for starting synchronous head occur.
Optionally, on the basis of the present embodiment, may include: referring to Fig. 6, step S21
S31, after detecting that last data bit of any word of the echo signal terminates, judge the data bit Whether target level when next bit later is idle level;If so, executing step S32;If it is not, executing step S35.
Specifically, synchronous head initial position is there are following several situations, it is idle level that the first, which is before synchronous head, i.e., 0V.Such situation is divided into available free level before coding line or status word again, and such situation synchronous head is initiated with rising edge, sum number According to level available free before word, such situation synchronous head is initiated with failing edge, and second is synchronous head immediately preceding word check bit Afterwards, it is 1+ coding line or status word synchronous head that such situation is divided into odd again, and odd is that 0+ coding line or status word are synchronous Head (such as Fig. 2), odd parity bit 1+ data word synchronous head (such as Fig. 3) and odd are four kinds of situations of 0+ data word synchronous head.
After a word in echo signal terminates, next level may be idle level, it is also possible to next word, according to Different situations carries out different analyses.
S32, determine that the idle level whether there is rising edge or failing edge later;If so, executing step S33;If it is not, Terminate.
Specifically, being idle level before synchronous head, the synchronous head of coding line or status word is initiated with rising edge, data word Being initiated with after failing edge, that is, idle level for synchronous head have a rising edge or failing edge, agreement provide rising edge and The time of failing edge is 100-300ns, amplitude 9-13.5V, therefore can calculate rising edge or decline according to time and amplitude The slope range on edge, being computed slope range is 150mV/5ns-675mV/5ns.It is certainly contemplated that arriving limiting case and route pair The influence of waveform can suitably expand the slope range of judgement, using 100mV/5ns- in bus diagnostic equipment 725mV/5ns。
S33, the slope value for determining the rising edge or the failing edge.
If S34, the slope value make the position for the rising edge or the failing edge occur in default slope range For the initial position of the synchronous head.
Specifically, the determination method of the slope of rising edge or failing edge is to carry out one by one to the voltage of the adjacent two o'clock of acquisition Compare, compare multiple groups, when the slope for the group number for having preset quantity is in slope range, then it is assumed that detect edge, i.e., will rise The initial position of edge or the starting position of failing edge as synchronous head.Such as, the voltage of sampled point, and more adjacent two are constantly acquired The voltage difference of point, compares 7 groups, when the slope for the voltage difference for having 4 groups is in slope range, then it is assumed that detect edge.
S35, determine that the target level is converted with the presence or absence of polarity of wave;If so, executing step S36;If it is not, executing step Rapid S37.
S36, then using the mistake zero position of the target level as the initial position of the synchronous head;
Specifically, four kinds of situations described above after preceding word check bit, can be divided into 2 groups, one group is by synchronous head Odd be 1 (according to II type biphase-level coding of Manchester, logic 1 is bipolar coding signal 1/0, i.e. a positive pulse after With a negative pulse, logical zero is bipolar coding signal 0/1, i.e. a negative pulse is followed by a positive pulse)+coding line or Status word synchronous head, odd are 0+ data word synchronous head, and the common feature of the group is that have before synchronous head polarity of wave conversion (to refer to The starting position of synchronous head jumps to positive level by negative level or jumps to negative level by positive level) level is crossed into zero position at this time As synchronous head starting point.
S37, the acquisition target level the latter position when specified level;
If the level value of S38, the specified level is constant and busy level, using the data bit end position as The initial position of the synchronous head.
Specifically, another group is odd parity bit 1+ data word synchronous head, odd is 0+ coding line or status word synchronous head, The common feature of the group is converted before synchronous head without polarity of wave, high or low when forming 2 position with the later half position of check bit The apparent widths of level.It is specifically referred to Fig. 2, the recognition methods of such situation synchronous head initial position is to abandon odd parity bit With the judgement of synchronous head cohesive position, when acquiring a position again using timer, the starting point of acquisition is odd end position, when Subluxation is height before detecting, rear subluxation is height, then it is assumed that there are coding line or status word synchronous heads, and subluxation is before detecting Low, rear subluxation is low, then it is assumed that there are data word synchronous heads, and subluxation is idle level before detecting, rear subluxation is idle electricity It is flat, then it is assumed that effective waveform terminates, then is the situation of idle level before removing to detect the first synchronous head, when detecting preceding subluxation It is inconsistent with rear subluxation height, then it is assumed that there are synchronous head failures.
S22, according to the initial position, determine the synchronous head;
Specifically, synchronous head initial position determine after, when a synchronous head accounts for 3 positions, so backward three positions of number when, As synchronous head when this 3 positions.
Optionally, on the basis of the present embodiment, after executing step S22, the synchronous head is filtered.
Specifically, when receiving echo signal, it is understood that there may be interference waveform, interference waveform are probably derived from relay on route Or the switching of electronic switch, it is also possible to from the variation of power utilization environment load.
During system diagnostics, synchronous head and interference waveform need to be judged, the correct synchronous head of waveform is received, it will Interference waveform excludes.What interference waveform was generally presented is impulse form, the characteristics of according to interference waveform, the method for exclusive PCR For, after the rising edge and failing edge for recognizing synchronous head, preceding subluxation when first position received to timer and later half Position is judged, if amplitude is all between 9V-3.5V or -9V~-3.5V (agreement regulation), then it is assumed that it is not interference waveform, if It is, then it is assumed that be interference waveform, abandon this time receiving.
S23, the synchronous head attribute for determining the synchronous head.
After synchronous head determines, according to the synchronous head determined, so that it may which analysis obtains synchronous head attribute.
Optionally, it on the basis of the present embodiment, determines the synchronous head type in the synchronous head attribute of the synchronous head, wraps It includes:
If there is the rising edge, it is determined that the synchronous head is coding line synchronous head or status word synchronous head;
If there is the failing edge, it is determined that the synchronous head type is data word synchronous head;
If the target level is converted there are polarity of wave and the odd parity bit of the data bit is the first default value, Then determine that the synchronous head type is coding line synchronous head or status word synchronous head;Wherein, the first default value is 1.
If the target level is converted there are polarity of wave and the odd parity bit of the data bit is the second default value, Then determine that the synchronous head type is data word synchronous head;Wherein, the second default value is 0.
If the level value of the specified level is the first predetermined level value, the odd parity bit of the data bit is described first Default value, it is determined that the synchronous head type is data word synchronous head;Wherein, the first default value is 1.First predetermined level Value is low level.
If the level value of the specified level is the second predetermined level value, the odd parity bit of the data bit is described second Default value, it is determined that the synchronous head type is coding line synchronous head or status word synchronous head.In, the second default value is 0, Second predetermined level value is high level.
Specifically, the specific explanations in the present embodiment illustrate, the respective description in above-described embodiment is please referred to, herein no longer It repeats.
Furthermore it is possible to determine the position of synchronous head at the time of according to acquisition.In addition, determining the synchronous head attribute of synchronous head In the process of synchronous head encoded radio include:
Synchronous head occupies 3 position Shi Kuandu, each position includes preceding subluxation and rear subluxation, such as coding line or status word Synchronous head logical value is " 111000 ", and data word synchronous head is " 000111 ", and preceding subluxation and rear subluxation are all 0.5us.
The determination method of synchronous head encoded radio can be to take the middle position of preceding subluxation and rear subluxation, that is, timer The a quarter position and 3/4ths positions of one timing cycle 1us, respectively takes adjacent 7 before and after two sampling locations Point is averaged to the voltage value of 7 points, and the voltage value then obtained is then judged as logically high if more than 4.5V, if being less than -4.5V Then it is judged as logic low, if between -4.5-4.5, then it is assumed that be inactive level.
Optionally, on the basis of the present embodiment, during executing step S12, further includes:
According to the zero crossing of the synchronous head, device calibration is timed to the echo signal.
Specifically, just starting to start a 1us timer, timer time arrives, right after recognizing synchronous head initial position Waveform is marked, it is believed that when receiving 1 complete bit, there are certain deviations for such method, when digit is less, hits also compared with It is small, therefore deviation is also smaller, but 1553B the case where there are multiple consecutive words, most BC-RT message consecutive words has 33, also It is 660 bit, just needs to carry out position acquisition calibration in such cases.Because each word is to fix 20, the starting of each word Position is all synchronous head, therefore is timed device calibration in the zero crossing of each synchronous head, can guarantee that sampling is correct.
In second position Shi Douyou, mono- zero crossing, (coding line or status word are positive zero crossing synchronous head, and data word is negative Zero crossing), the counting interval of timer is 5ns, and ideally 1 bit timing device is counted as 200, when detecting zero crossing, The count value of timer is adjusted to 100 (that is, being to have been subjected to 0.5us by the time calibration of timer) and continues timing, Timer and waveform are synchronized into calibration in each word in this way, ensure that the correctness of bus parsing.
In the present embodiment, gives identification synchronous head and determine the process of the synchronous head attribute of synchronous head, and then can be with The synchronous head attribute of synchronous head is determined according to this implementation.
In addition, being provided with filtering operation, the interference of interference waveform can be avoided.In addition, it is also provided with calibration method, it can More accurately receive and parse echo signal.
Optionally, based on any of the above embodiments, step S13 may include:
S41, the position failure recognition strategy for obtaining the synchronous head;
S42, according to the position failure recognition strategy and the synchronous head attribute, determine the synchronous head with the presence or absence of position Set failure.
Optionally, step S42 may include:
If 1) the synchronous head encoded radio is the first pre-arranged code value, the synchronous head position is that the synchronous head appears in In the echo signal since any word after the third word or third word in multiple words continuous first character, Then determine that there are position failures for the synchronous head.
Specifically, the failure of synchronous head can be divided into electrical layer accident analysis and protocol layer accident analysis.
1, synchronous head electrical layer accident analysis;
When synchronous head accounts for 3 positions (6 0.5us), the accurate synchronization head of coding line and status word is " 111000 ", data word Accurate synchronization head be " 000111 ", synchronous head electrical layer representation for fault be receive incorrect synchronous head, in GJB5186 Defined coding line invalid sync header encoder value include " 111100 ", " 110000 ", " 111001 " and " 011000 ", data word without Imitating synchronous head encoded radio includes " 000011 ", " 001111 ", " 000110 ", " 100111 ".
Bus diagnostic module identifies synchronous head mistake after receiving the above invalid synchronization header encoder in the message, and Invalid synchronization header encoder is uploaded, being prompted to user this message, there are synchronous head mistakes.
2, synchronous head protocol layer accident analysis;
Synchronous head protocol layer representation for fault is to receive correct synchronous head, but occur from the position that should not occur.
Specifically, all 1553B type of messages, continuous word more than two, subsequent occurrences of should be data word synchronous head, That is coding line or status word synchronous head (encoded radio 111000) should not appear in the echo signal since first character In any word of third word in continuous multiple words or three or more, if after continuous third word or three or more timess Determine that synchronous head encoded radio occur is " 111000 " in one word, i.e. the first pre-arranged code value is " 111000 ", then it is assumed that is occurred same Walk head position failure.
If 2) the synchronous head encoded radio is the second pre-arranged code value, the synchronous head position is that the synchronous head appears in In first character in the echo signal, it is determined that there are position failures for the synchronous head.
If echo signal is transmitting terminal, such as the signal that controller is sent, then the first character of echo signal must be instruction Word synchronous head or status word synchronous head, i.e. data word synchronous head (encoded radio 000111) should not appear in the of echo signal In one word, if the synchronous head encoded radio that synchronous head occurs in first character is " 000111 ", i.e. the second pre-arranged code value is " 000111 ", then it is assumed that synchronous head position failure occur.
If echo signal is receiving end, if remote terminal RT feeds back to the signal of transmitting terminal, then the first of echo signal Word must be status word synchronous head, i.e., data word synchronous head (encoded radio 000111) should not appear in the first of echo signal In a word, if the synchronous head encoded radio that synchronous head occurs in first character is " 000111 ", i.e. the second pre-arranged code value is " 000111 ", then it is assumed that synchronous head position failure occur.
If not occurring above-mentioned situation, then it is assumed that synchronous head position failure is not present in synchronous head.Bus diagnostic module exists After receiving the above invalid synchronization header encoder, synchronous head mistake is identified in the message, and invalid synchronization header encoder is uploaded, Being prompted to user this message, there are synchronous head mistakes.
The present embodiment compares traditional only carry out electrical layer attribute accident analysis scheme, the fault detection to synchronous header encoder It is more comprehensive and accurate, it can reflect the failure that equipment occurs during carrying out 1553B bus communication, more also so that user exists System is analyzed and adjusted in time after recognizing failure.
Optionally, on the basis of the embodiment of above-mentioned fault recognition method, another embodiment of the present invention provides one Kind fault identification device, reference Fig. 8 may include:
Signal receiving module 101, for receiving echo signal;
Attribute determination module 102, for determining the synchronous head attribute of the synchronous head in the echo signal;The synchronous head Attribute includes synchronous head encoded radio and synchronous head position;
Fault determination module 103 determines that the synchronous head whether there is for the synchronous head attribute according to the synchronous head Failure, the failure include position failure.
The present embodiment receives echo signal, and the synchronous head attribute of synchronous head is determined from the echo signal, according to institute The synchronous head attribute for stating synchronous head determines the synchronous head with the presence or absence of failure.Through the embodiment of the present invention, synchronization can be identified The position failure of head.
It should be noted that the course of work of the modules in the present embodiment, please refers to corresponding in above-described embodiment Illustrate, details are not described herein.
Optionally, on the basis of the embodiment of above-mentioned fault identification device, the attribute determination module 102 be can wrap It includes:
Position determination submodule, for determining the initial position of the synchronous head in the echo signal;
Synchronous head determines submodule, for determining the synchronous head according to the initial position;
Attribute determines submodule, for determining the synchronous head attribute of the synchronous head.
Optionally, the position determination submodule may include:
First judging unit, for after detecting that last data bit of any word of the echo signal terminates, Whether target level when judging the next bit after the data bit is idle level;
First determination unit, if being used for idle level, determine whether there is after the idle level rising edge or under Edge drops;
Second determination unit determines the oblique of the rising edge or the failing edge for rising edge or failing edge if it exists Rate value;
Third determination unit, if the rising edge or described will occur in default slope range for the slope value Initial position of the position of failing edge as the synchronous head;
4th determination unit is used for if not idle level, determines that the target level is converted with the presence or absence of polarity of wave;
5th determination unit is converted for polarity of wave if it exists, then using the mistake zero position of the target level as institute State the initial position of synchronous head;
Acquisition unit is converted for polarity of wave if it does not exist, then acquires finger when the latter position of the target level Determine level;
6th determination unit, if the level value for the specified level is constant and busy level, by the data Initial position of the position end position as the synchronous head.
Optionally, the attribute determines the synchronous head type in synchronous head attribute of the submodule for determining the synchronous head When, it is specifically used for:
If there is the rising edge, it is determined that the synchronous head is coding line synchronous head or status word synchronous head;
If there is the failing edge, it is determined that the synchronous head type is data word synchronous head;
If the target level is converted there are polarity of wave and the odd parity bit of the data bit is the first default value, Then determine that the synchronous head type is coding line synchronous head or status word synchronous head;
If the target level is converted there are polarity of wave and the odd parity bit of the data bit is the second default value, Then determine that the synchronous head type is data word synchronous head;
If the level value of the specified level is the first predetermined level value, the odd parity bit of the data bit is described first Default value, it is determined that the synchronous head type is data word synchronous head;
If the level value of the specified level is the second predetermined level value, the odd parity bit of the data bit is described second Default value, it is determined that the synchronous head type is coding line synchronous head or status word synchronous head.
Optionally, further includes:
Filter submodule, for synchronous head determine submodule according to the initial position, determine the synchronous head it Afterwards, the synchronous head is filtered.
Optionally, further includes:
Calibration module, when determining the synchronous head attribute of the synchronous head in the echo signal for attribute determination module 102, According to the zero crossing of the synchronous head, device calibration is timed to the echo signal.
In the present embodiment, gives identification synchronous head and determine the process of the synchronous head attribute of synchronous head, and then can be with The synchronous head attribute of synchronous head is determined according to this implementation.
In addition, being provided with filtering operation, the interference of interference waveform can be avoided.In addition, it is also provided with calibration method, it can More accurately receive and parse echo signal.
It should be noted that the course of work of modules, submodule and unit in the present embodiment, please refers to above-mentioned reality The respective description in example is applied, details are not described herein.
Optionally, on the basis of the embodiment of any of the above-described fault identification device, the fault determination module 103 can be with Include:
Tactful acquisition submodule, for obtaining the position failure recognition strategy of the synchronous head;
Failure determines submodule, described in determining according to the position failure recognition strategy and the synchronous head attribute Synchronous head whether there is failure.
Optionally, the failure determine submodule for according to position failure recognition strategy and the synchronous head attribute, really When the fixed synchronous head whether there is position failure, it is specifically used for:
If the synchronous head encoded radio is the first pre-arranged code value, the synchronous head position is that the synchronous head appears in institute It states in echo signal since any word after the third word or third word in multiple words continuous first character, then Determine that there are position failures for the synchronous head;
If the synchronous head encoded radio is the second pre-arranged code value, the synchronous head position is that the synchronous head appears in institute It states in the first character in echo signal, it is determined that there are position failures for the synchronous head.
The present embodiment compares traditional only carry out electrical layer attribute accident analysis scheme, the fault detection to synchronous header encoder It is more comprehensive and accurate, it can reflect the failure that equipment occurs during carrying out 1553B bus communication, more also so that user exists System is analyzed and adjusted in time after recognizing failure.
It should be noted that the course of work of modules and submodule in the present embodiment, please refers to above-described embodiment In respective description, details are not described herein.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of fault recognition method characterized by comprising
Receive echo signal;
Determine the synchronous head attribute of the synchronous head in the echo signal;The synchronous head attribute includes synchronous head encoded radio and same Walk head position;
According to the synchronous head attribute of the synchronous head, the synchronous head is determined with the presence or absence of failure, the failure includes position event Barrier.
2. fault recognition method according to claim 1, which is characterized in that determine the synchronous head in the echo signal Synchronous head attribute, comprising:
Determine the initial position of the synchronous head in the echo signal;
According to the initial position, the synchronous head is determined;
Determine the synchronous head attribute of the synchronous head.
3. fault recognition method according to claim 2, which is characterized in that determine the synchronization in the echo signal The initial position of head, comprising:
After detecting that last data bit of any word of the echo signal terminates, under judging after the data bit Whether target level at one is idle level;
If the idle level, determine that the idle level whether there is rising edge or failing edge later;
If it exists, the slope value of the rising edge or the failing edge is determined;
If the slope value is in default slope range, using the position for the rising edge or the failing edge occur as described same Walk the initial position of head;
If not the idle level, determines that the target level is converted with the presence or absence of polarity of wave;
If it exists, then using the mistake zero position of the target level as the initial position of the synchronous head;
If it does not exist, then specified level when the latter position of the target level is acquired;
If the level value of the specified level is constant and busy level, using the data bit end position as the synchronization The initial position of head.
4. fault recognition method according to claim 2, which is characterized in that according to the initial position, determine described After synchronous head, further includes:
The synchronous head is filtered.
5. fault recognition method according to claim 1, which is characterized in that the synchronous head category according to the synchronous head Property, determine the synchronous head with the presence or absence of failure, comprising:
Obtain the position failure recognition strategy of the synchronous head;
According to the position failure recognition strategy and the synchronous head attribute, determine the synchronous head with the presence or absence of the position event Barrier.
6. fault recognition method according to claim 5, which is characterized in that described according to the position failure recognition strategy With the synchronous head attribute, determine the synchronous head with the presence or absence of the position failure, comprising:
If the synchronous head encoded radio is the first pre-arranged code value, the synchronous head position is that the synchronous head appears in the mesh It marks in signal since any word after the third word or third word in multiple words continuous first character, it is determined that There are the position failures for the synchronous head;
If the synchronous head encoded radio is the second pre-arranged code value, the synchronous head position is that the synchronous head appears in the mesh It marks in the first character in signal, it is determined that there are the position failures for the synchronous head.
7. fault recognition method according to claim 1, which is characterized in that determine the synchronous head in the echo signal During synchronous head attribute, further includes:
According to the zero crossing of the synchronous head, device calibration is timed to the echo signal.
8. a kind of fault identification device characterized by comprising
Signal receiving module, for receiving echo signal;
Attribute determination module, for determining the synchronous head attribute of the synchronous head in the echo signal;The synchronous head attribute packet Include synchronous head encoded radio and synchronous head position;
Fault determination module determines the synchronous head with the presence or absence of failure, institute for the synchronous head attribute according to the synchronous head Stating failure includes position failure.
9. fault identification device according to claim 8, which is characterized in that the attribute determination module includes:
Position determination submodule, for determining the initial position of the synchronous head in the echo signal;
Synchronous head determines submodule, for determining the synchronous head according to the initial position;
Attribute determines submodule, for determining the synchronous head attribute of the synchronous head.
10. fault identification device according to claim 9, which is characterized in that the position determination submodule includes:
First judging unit, for judging after detecting that last data bit of any word of the echo signal terminates Whether target level when next bit after the data bit is idle level;
First determination unit, if being used for the idle level, determine whether there is after the idle level rising edge or under Edge drops;
Second determination unit determines the oblique of the rising edge or the failing edge for the rising edge or failing edge if it exists Rate value;
Third determination unit, if the rising edge or the decline will occur in default slope range for the slope value Initial position of the position on edge as the synchronous head;
4th determination unit is used for if not the idle level, determines that the target level is converted with the presence or absence of polarity of wave;
5th determination unit, for the dipole inversion if it exists, then using the mistake zero position of the target level as described same Walk the initial position of head;
Acquisition unit then acquires specified electricity when the latter position of the target level for the dipole inversion if it does not exist It is flat;
6th determination unit, if the level value for the specified level is constant and busy level, by the data bit knot Initial position of the beam position as the synchronous head.
CN201910141394.5A 2019-02-26 2019-02-26 Fault identification method and device Active CN109802761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910141394.5A CN109802761B (en) 2019-02-26 2019-02-26 Fault identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910141394.5A CN109802761B (en) 2019-02-26 2019-02-26 Fault identification method and device

Publications (2)

Publication Number Publication Date
CN109802761A true CN109802761A (en) 2019-05-24
CN109802761B CN109802761B (en) 2021-07-23

Family

ID=66561335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910141394.5A Active CN109802761B (en) 2019-02-26 2019-02-26 Fault identification method and device

Country Status (1)

Country Link
CN (1) CN109802761B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4868686A (en) * 1989-02-09 1989-09-19 Sony Corporation Method and system for recording asynchronous biphase encoded data on a video tape recorder and for recovering the encoded recorded data
US6666511B2 (en) * 1989-08-04 2003-12-23 Schukra Geratebau Ag Arching mechanism and method of use
CN103346931A (en) * 2013-07-10 2013-10-09 北京航天自动控制研究所 1553B bus monitoring system
CN103701663A (en) * 2013-12-25 2014-04-02 北京航天测控技术有限公司 1553B bus program control fault injection device
CN103856283A (en) * 2012-11-28 2014-06-11 中兴通讯股份有限公司 40G Ethernet encoding device and method
CN105406943A (en) * 2015-10-30 2016-03-16 西北工业大学 High-integrity coding method of 1553B bus
CN108199993A (en) * 2017-12-13 2018-06-22 浙江大华技术股份有限公司 A kind of synchronous head inspecting method, device, electronic equipment and readable storage medium storing program for executing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4868686A (en) * 1989-02-09 1989-09-19 Sony Corporation Method and system for recording asynchronous biphase encoded data on a video tape recorder and for recovering the encoded recorded data
US6666511B2 (en) * 1989-08-04 2003-12-23 Schukra Geratebau Ag Arching mechanism and method of use
CN103856283A (en) * 2012-11-28 2014-06-11 中兴通讯股份有限公司 40G Ethernet encoding device and method
CN103346931A (en) * 2013-07-10 2013-10-09 北京航天自动控制研究所 1553B bus monitoring system
CN103701663A (en) * 2013-12-25 2014-04-02 北京航天测控技术有限公司 1553B bus program control fault injection device
CN105406943A (en) * 2015-10-30 2016-03-16 西北工业大学 High-integrity coding method of 1553B bus
CN108199993A (en) * 2017-12-13 2018-06-22 浙江大华技术股份有限公司 A kind of synchronous head inspecting method, device, electronic equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN109802761B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
US10547437B2 (en) Synchronization signal transmitting device, method thereof and power electronic apparatus having the device
EP0103460B1 (en) Improvements in or relating to data interconnecting networks
JPH0127615B2 (en)
CN105680947B (en) A kind of Serial data receiving method for filtering out burr
EP3675398A1 (en) Check code processing method, electronic device, and storage medium
CN108153688A (en) Serial isolation communication means and system
CN108390752A (en) Signal acceptance method
CN102355395B (en) Bus communication protocol of fire alarm system
CN106021165A (en) LIN bus decoding, triggering and analyzing technology
CN101719858B (en) Synchronous processing method of bit timing of control area network (CAN) controller
JP3520388B2 (en) Data receiving apparatus, data receiving method, and electronic device
JP2812665B2 (en) Data collision detection circuit and detection method for communication network
US5315597A (en) Method and means for automatically detecting and correcting a polarlity error in twisted-pair media
CN109802761A (en) A kind of fault recognition method and device
Gallo et al. Revision and verification of an enhanced UART
CN111181815A (en) Automatic baud rate detection circuit and detection method thereof
CN113722251B (en) Two-wire SPI communication system and method for functional safety monitoring
CN101610570B (en) Communication method and device for adapting to multiple speeds for dual port AISG tower amplifier
US6567487B1 (en) Method for the sampling of biphase coded digital signals
CN103455461B (en) For the method improving RS485 bus communication reliability
US20020003848A1 (en) Synchronous network
CN111090606A (en) System of topological type circuit architecture and bus switching method
RU1798793C (en) Device for connecting two computers
CN112821915B (en) Data processing apparatus and method
CN113672540B (en) Two-bus system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant