CN108729490A - A method of being suitable for excavator fault diagnosis and CAN bus is sent - Google Patents
A method of being suitable for excavator fault diagnosis and CAN bus is sent Download PDFInfo
- Publication number
- CN108729490A CN108729490A CN201810580295.2A CN201810580295A CN108729490A CN 108729490 A CN108729490 A CN 108729490A CN 201810580295 A CN201810580295 A CN 201810580295A CN 108729490 A CN108729490 A CN 108729490A
- Authority
- CN
- China
- Prior art keywords
- fault
- error code
- num
- sent
- excavator
- 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
Links
Classifications
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02F—DREDGING; SOIL-SHIFTING
- E02F9/00—Component parts of dredgers or soil-shifting machines, not restricted to one of the kinds covered by groups E02F3/00 - E02F7/00
- E02F9/20—Drives; Control devices
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02F—DREDGING; SOIL-SHIFTING
- E02F9/00—Component parts of dredgers or soil-shifting machines, not restricted to one of the kinds covered by groups E02F3/00 - E02F7/00
- E02F9/20—Drives; Control devices
- E02F9/22—Hydraulic or pneumatic drives
Landscapes
- Engineering & Computer Science (AREA)
- Mining & Mineral Resources (AREA)
- Civil Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Structural Engineering (AREA)
- Operation Control Of Excavators (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The present invention provides a kind of method sent suitable for excavator fault diagnosis and CAN bus, including two modules, one is scanning error code module, the other is sending error code module;Wherein, scanning error code module is for calculating number of faults and counting each location of fault and type, then it is sent to instrument by sending the CAN bus of error code module, operator quickly determines the root of failure according to the description of error code and communication protocol, and makes measures to rectify and reform;Present invention illustrates the methods that fault diagnosis and CAN bus are sent, and effectively improve the speed to search problem, while improving the working efficiency of excavator.Fault diagnosis is put into director demon, is sent by CAN bus, and produces hydraulic crawler excavator of the assembly with fault diagnosis, the performance of excavator is effectively improved, and improve the rapidity of fault diagnosis, improves the working efficiency of user.
Description
Technical field
Present invention could apply on hydraulic crawler excavator, be a kind of control technology suitable for excavator fault diagnosis, belong to
In excavator technical field.
Background technology
With the rapid advances of China's engineering machinery, effect of the excavator in engineering construction field is more and more obvious,
Status constantly rises and occupies main status on Construction Machinery Market.The control system of excavator is complex, and client is to excavating
The functional requirement of machine is higher and higher, and when excavator breaks down, being quickly found abort situation and question classification has important meaning
Justice;
Therefore, the present invention proposes a kind of method that fault diagnosis and CAN bus type are sent, and hydraulic crawler excavator is in failure
In the case of, investigation speed can be improved while improving the working efficiency of operator.
Invention content
Hydraulic crawler excavator in case of a failure, is imitated to improve investigation speed while improving the work of operator
Rate, the present invention propose a kind of method that fault diagnosis and CAN bus type are sent.
The present invention is realized by following technical scheme:
A method of being suitable for excavator fault diagnosis and CAN bus is sent, including two modules, one is scanning error code
Module, the other is sending error code module;Wherein, scanning error code module is for calculating number of faults and counting each failure
Position and type, be then sent to instrument by sending the CAN bus of error code module, operator is according to the description of error code
The root of failure is quickly determined with communication protocol, and makes measures to rectify and reform;When excavator is started to work, a cycle period fortune
Row primary fault code scan module, cycle period can be arranged, and the variable being related to sends error code and enables Fault_Stop, therefore
Hinder number of codes Fault_Num, error code type array Fault_Kind [], error code position array Fault_Position [].
Preferably, cycle period 10ms.
Preferably, it is as follows:
(1) failure is often scanned, number of faults Fault_Num adds 1;
After (2) scan periods, whether failure judgement quantity Fault_Num is 0, is entered step for 0(1), otherwise into
Enter step(3);
(3) if Fault_Num ≠ 0, master controller sends corresponding fault type Fault_Kind [Fault_ by CAN lines
Num] and abort situation Fault_Position [Fault_Num] fault messages to display, 1 frame sends 2 error code, 4
Byte sends 1 error code;
(4) failure is often sent, number of faults fault_i has been sent and has added 1;
(5)Judge whether Fault_Num is even number, and even number enters step(8), otherwise enter step(6);
(6)Judge whether fault_i is equal to Fault_Num-1, is to enter step(7), otherwise enter step (8);
(7) if Fault_Num is odd number, 4 byte zero setting after last 1 failure frame;
(8) after being sent completely a failure frame, judge whether the number of faults fault_i sent is less than Fault_Num, if small
In then entering step(3), otherwise enter step(9);
(9) if fault data is sent completely, i.e. fault_i >=Fault_Num empties the data in failure frame and zero setting, therefore
Barrier quantity Fault_Num zero setting returns to step into next fault scanning period(1).
Advantageous effect of the present invention:
Present invention illustrates the methods that fault diagnosis and CAN bus are sent, and effectively improve the speed to search problem, while improving digging
The working efficiency of pick machine.Fault diagnosis is put into director demon, is sent by CAN bus, and produces assembly and carries
The hydraulic crawler excavator of fault diagnosis, is effectively improved the performance of excavator, and improves the rapidity of fault diagnosis, improves user's
Working efficiency.
Description of the drawings
Fig. 1 is the logical relation flow chart of the present invention;
Fig. 2 is the relational graph of two modules of the present invention.
Specific implementation mode
Below in conjunction with attached drawing, by specific embodiment, the present invention is described further.
As shown in Figure 1 and Figure 2, a method of being suitable for excavator fault diagnosis and CAN bus is sent, including two moulds
Block, one is scanning error code module, the other is sending error code module;Wherein, scanning error code module is for calculating event
Hinder quantity and count each location of fault and type, be then sent to instrument by sending the CAN bus of error code module, grasps
Author quickly determines the root of failure according to the description of error code and communication protocol, and makes measures to rectify and reform;
When excavator is started to work, a cycle period runs primary fault code scan module, and cycle period can be arranged, this
The invention default loop period is 10ms.The variable being related to sends error code and enables Fault_Stop, failure number of codes Fault_
Num, error code type array Fault_Kind [], error code position array Fault_Position [].
It is as follows:
(1) failure is often scanned, number of faults Fault_Num adds 1;
After (2) scan periods, whether failure judgement quantity Fault_Num is 0, is entered step for 0(1), otherwise into
Enter step(3);
(3) if Fault_Num ≠ 0, master controller sends corresponding fault type Fault_Kind [Fault_ by CAN lines
Num] and abort situation Fault_Position [Fault_Num] fault messages to display, 1 frame sends 2 error code, 4
Byte sends 1 error code;
(4) failure is often sent, number of faults fault_i has been sent and has added 1;
(5)Judge whether Fault_Num is even number, and even number enters step(8), otherwise enter step(6);
(6)Judge whether fault_i is equal to(Fault_Num-1), it is to enter step(7), otherwise enter step (8);
(7) if Fault_Num is odd number, 4 byte zero setting after last 1 failure frame;
(8) after being sent completely a failure frame, judge whether the number of faults fault_i sent is less than Fault_Num, if small
In then entering step(3), otherwise enter step(9);
(9) if fault data is sent completely, i.e. fault_i >=Fault_Num empties the data in failure frame and zero setting, therefore
Barrier quantity Fault_Num zero setting returns to step into next fault scanning period(1).
Present invention illustrates the methods that fault diagnosis and CAN bus are sent, and effectively improve the speed to search problem, carry simultaneously
The working efficiency of high excavator.Fault diagnosis is put into director demon, is sent by CAN bus, and produces assembly
Hydraulic crawler excavator with fault diagnosis, is effectively improved the performance of excavator, and improves the rapidity of fault diagnosis, improves and uses
The working efficiency of person.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
Understanding without departing from the principles and spirit of the present invention can carry out these embodiments a variety of variations, modification, replace
And modification, the scope of the present invention is defined by the appended.
Claims (3)
1. a kind of method sent suitable for excavator fault diagnosis and CAN bus, it is characterised in that:Including two modules, one
A is scanning error code module, the other is sending error code module;
Wherein, then scanning error code module passes through hair for calculating number of faults and counting each location of fault and type
The CAN bus of error code module is sent to be sent to instrument, operator quickly determines failure according to the description of error code and communication protocol
Root, and make measures to rectify and reform;
When excavator is started to work, a cycle period runs primary fault code scan module, and cycle period can be arranged, relate to
And the variable arrived sends error code and enables Fault_Stop, failure number of codes Fault_Num, error code type array Fault_
Kind [], error code position array Fault_Position [].
2. a kind of method sent suitable for excavator fault diagnosis and CAN bus according to claim 1, feature exist
In:Cycle period is 10ms.
3. a kind of method sent suitable for excavator fault diagnosis and CAN bus according to claim 1, feature exist
In being as follows:
(1) failure is often scanned, number of faults Fault_Num adds 1;
After (2) scan periods, whether failure judgement quantity Fault_Num is 0, is entered step for 0(1), otherwise into
Enter step(3);
(3) if Fault_Num ≠ 0, master controller sends corresponding fault type Fault_Kind [Fault_ by CAN lines
Num] and abort situation Fault_Position [Fault_Num] fault messages to display, 1 frame sends 2 error code, 4
Byte sends 1 error code;
(4) failure is often sent, number of faults fault_i has been sent and has added 1;
(5)Judge whether Fault_Num is even number, and even number enters step(8), otherwise enter step(6);
(6)Judge whether fault_i is equal to Fault_Num-1, is to enter step(7), otherwise enter step (8);
(7) if Fault_Num is odd number, 4 byte zero setting after last 1 failure frame;
(8) after being sent completely a failure frame, judge whether the number of faults fault_i sent is less than Fault_Num, if small
In then entering step(3), otherwise enter step(9);
(9) if fault data is sent completely, i.e. fault_i >=Fault_Num empties the data in failure frame and zero setting, therefore
Barrier quantity Fault_Num zero setting returns to step into next fault scanning period(1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810580295.2A CN108729490B (en) | 2018-06-07 | 2018-06-07 | Method suitable for fault diagnosis and CAN bus transmission of excavator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810580295.2A CN108729490B (en) | 2018-06-07 | 2018-06-07 | Method suitable for fault diagnosis and CAN bus transmission of excavator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108729490A true CN108729490A (en) | 2018-11-02 |
CN108729490B CN108729490B (en) | 2020-09-08 |
Family
ID=63932799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810580295.2A Active CN108729490B (en) | 2018-06-07 | 2018-06-07 | Method suitable for fault diagnosis and CAN bus transmission of excavator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108729490B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2247806Y (en) * | 1996-06-10 | 1997-02-19 | 广西梧州怀业高新科技有限公司 | Chinese character display automotive fault finder |
WO2003075180A2 (en) * | 2002-03-04 | 2003-09-12 | Accenture Global Services Gmbh | Content bank for objects |
CN102433911A (en) * | 2011-10-01 | 2012-05-02 | 徐州徐工挖掘机械有限公司 | Online fault diagnosis system and method for excavator |
CN105181360A (en) * | 2015-08-25 | 2015-12-23 | 南车青岛四方机车车辆股份有限公司 | Method for determining train fault by display terminal |
CN106284470A (en) * | 2016-08-31 | 2017-01-04 | 山推工程机械股份有限公司 | A kind of bull-dozer entire car controller fault finding system |
-
2018
- 2018-06-07 CN CN201810580295.2A patent/CN108729490B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2247806Y (en) * | 1996-06-10 | 1997-02-19 | 广西梧州怀业高新科技有限公司 | Chinese character display automotive fault finder |
WO2003075180A2 (en) * | 2002-03-04 | 2003-09-12 | Accenture Global Services Gmbh | Content bank for objects |
CN102433911A (en) * | 2011-10-01 | 2012-05-02 | 徐州徐工挖掘机械有限公司 | Online fault diagnosis system and method for excavator |
CN105181360A (en) * | 2015-08-25 | 2015-12-23 | 南车青岛四方机车车辆股份有限公司 | Method for determining train fault by display terminal |
CN106284470A (en) * | 2016-08-31 | 2017-01-04 | 山推工程机械股份有限公司 | A kind of bull-dozer entire car controller fault finding system |
Also Published As
Publication number | Publication date |
---|---|
CN108729490B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101593145B (en) | Designing method of high-efficiency high-coverage-rate function test case | |
CN106200575A (en) | A kind of robustness control method of automated manufacturing system based on Petri network | |
CN104298419B (en) | The aligning method of mobile terminal and its icon | |
US20100205418A1 (en) | Configuring of intelligent electronic device | |
CN1279461C (en) | Method for calibrating controller of electric automobile in mixing motive power based on CCP protocol | |
CN106407203A (en) | Method and device for identifying target terminal | |
CN110489317A (en) | Cloud system task run method for diagnosing faults and system based on workflow | |
CN110264452B (en) | Workpiece detection method, device, equipment and storage medium | |
CN103929732B (en) | A kind of method and M2M gateways of management terminal peripheral hardware | |
CN108729490A (en) | A method of being suitable for excavator fault diagnosis and CAN bus is sent | |
CN111640012A (en) | Block chain transaction tracing method and device | |
CN103577296A (en) | Bus reliability testing method and system | |
CN1494263A (en) | Method of carrying out test against join up service instrument | |
CN101674159B (en) | Rate de-matching method and device | |
JP2000010815A (en) | Device and method for debugging parallel decentralized systems | |
CN107122246B (en) | Intelligent numerical simulation operation management and feedback method | |
CN114446226B (en) | LED display screen dynamic display remote monitoring system | |
CN115412375A (en) | Industrial Internet data protection system | |
CN102360199B (en) | Processing workpiece quantity on-line statistical method under numeric control environment | |
CN1764131A (en) | Protocol testing system and method | |
CN107203380A (en) | A kind of SFC interpretation of programs operation method and device | |
CN101060525A (en) | A SCTP linking method | |
CN106897130A (en) | A kind of automation O&M method and system based on flow engine | |
CN110376977B (en) | Method, system, device and storage medium for calculating cycle period | |
CN112994998A (en) | Communication node, communication method, communication device and electronic equipment |
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 |