Summary of the invention
The object of the present invention is to provide a kind of tractor driving cabin test macro, existing tractor driving cabin comprehensive parameters is effectively tested, facilitated tester's work, saved manpower.And can carry out self check to system self, further guarantee the accuracy of test.
The technical scheme that realizes above-mentioned purpose is:
A kind of tractor driving cabin test macro, described tractor driving cabin carries some detection tabs, this test macro comprises industrial computer, PLC(Programmable Logic Controller, programmable logic controller (PLC)), the switching frame that formed by external input signal joint, external control joint and water temperature/Oil-pressure joint, photoelectrical coupler, network resistor circuit, containing self-checking circuit, programmable power supply and the Switching Power Supply of some joints, wherein:
Switching Power Supply, connect described PLC and self-checking circuit;
Programmable power supply, connect described tractor driving cabin, self-checking circuit and industrial computer, gives the power supply of described tractor driving cabin and the working current in this tractor driving cabin is offered to described industrial computer;
Industrial computer, comprise the waveform card that contains frequency measurement mouth and waveform delivery outlet, and this industrial computer connects described PLC, and connect described switching frame by described waveform delivery outlet;
The switching frame, each joint in it docks respectively each detection tabs in corresponding described tractor driving cabin, or docks each joint of corresponding described self-checking circuit;
PLC, its input end connects described external input signal joint by described photoelectrical coupler, and its first output terminal directly connects described external control joint, and its second output terminal connects described water temperature/Oil-pressure joint by described network resistor circuit.
Above-mentioned tractor driving cabin test macro, wherein, described self-checking circuit comprises self check joint group, relay group and the feedback joint group of joining successively, wherein:
Described self check joint group comprises some self check joints, and this self check joint group connects described external control joint and water temperature/Oil-pressure joint;
Described feedback joint group comprises some feedback joints, and this feedback joint group connects described external input signal joint;
Described relay group comprises some relays, and each relay receives the output of described PLC by each self check joint of correspondence, realize adhesive or the disconnection of each relay contact, and the joint that respectively feeds back by correspondence completes the mapping to described PLC input.
Above-mentioned tractor driving cabin test macro, wherein, described network resistor circuit comprises bang-bang circuit, the first electric resistance output circuit and the second electric resistance output circuit, wherein:
Described bang-bang circuit comprises the control port on 18 tunnels, and this control port De Mei road connects a relay, each relay series arm in parallel, and each series arm is in series by pilot lamp and current-limiting resistance;
18 relays in described bang-bang circuit are divided into two groups, and the contact separately of every group of 9 relays is connected in series successively;
Described the first electric resistance output circuit is identical with the structure of the second electric resistance output circuit, includes described 9 relay contacts of serial connection successively, and 8 contacts wherein respectively separately and connect a resistance.
Above-mentioned tractor driving cabin test macro, wherein, described test macro also comprises the manually-operated handle that connects described PLC.
Above-mentioned tractor driving cabin test macro, wherein, described test macro also comprises display, printer and the scanner that connects respectively described industrial computer.
Above-mentioned tractor driving cabin test macro, wherein, described programmable power supply connects described industrial computer by the USB communication modes.
Above-mentioned tractor driving cabin test macro, wherein, described industrial computer connects described PLC by the RS232 mode.
The invention has the beneficial effects as follows: the present invention adopts and can effectively test existing tractor driving cabin comprehensive parameters, has facilitated tester's work, has saved manpower, has good detection effect.Simultaneously, the present invention can carry out self check to system self, on the no problem basis of test macro itself, the comprehensive parameters in tractor driving cabin is effectively tested guaranteeing, thereby has further been guaranteed the accuracy of testing.And the present invention is simple in structure, be easy to realize to there is high practical value.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
Refer to Fig. 1, tractor driving of the present invention cabin test macro, TL type or TS type tractor comprehensive parameters are tested, tractor driving cabin 13 carries some detection tabs, this test macro comprises industrial computer 1, PLC2, the switching frame 3 consisted of external input signal joint 301, external control joint 302 and water temperature/Oil-pressure joint 303, photoelectrical coupler 4, network resistor circuit 5, programmable power supply 6, Switching Power Supply 7, contains self-checking circuit 8, manually-operated handle 9, display 10, printer 11 and the scanner 12 of some joints, wherein:
Manually-operated handle 9 connects PLC2, and by this manually-operated handle, 9 couples of PLC2 manually input;
Display 10, printer 11 and scanner 12 are connected respectively industrial computer 1;
Switching Power Supply 7, connect PLC2 and self-checking circuit 8, gives each parts power supply of test macro, in the present embodiment, is the 24V direct-current switch power supply;
Programmable power supply 6, connect tractor driving cabin 13 and self-checking circuit 8, and connect industrial computer 1 by the USB communication modes, gives 13 power supplies of tractor driving cabin and the working current in this tractor driving cabin 13 is offered to industrial computer 1; In the present embodiment, programmable power supply 6 is the 13.5V direct supply;
Industrial computer 1, comprise the waveform card that contains frequency measurement mouth and waveform delivery outlet, and this industrial computer 1 connects PLC2 by the RS232 mode, and connect switching frame 3 by described waveform delivery outlet; Industrial computer 1, as control core, completes a series of actions requirement that comprises that System self-test, type are selected, test item is selected, test process is pointed out demonstration, test data record, test report printing etc.;
Switching frame 3, each joint (external input signal joint 301, external control joint 302 and water temperature/Oil-pressure joint 303) in it docks respectively each detection tabs in corresponding tractor driving cabin, thereby completes the test to the comprehensive parameters in tractor driving cabin 13; Perhaps dock each joint of corresponding self-checking circuit 8, thereby complete the self check of tractor driving cabin test macro;
PLC2, its input end connects external input signal joint 301 by photoelectrical coupler 4, and its first output terminal connects external control joint 302, and its second output terminal connects water temperature/Oil-pressure joint 303 by network resistor circuit 5.
Refer to Fig. 2, self-checking circuit 8 of the present invention comprises self check joint group 801, relay group 802 and the feedback joint group 803 of joining successively, wherein:
Self check joint group 801 comprises some self check joints, and self check joint group 801 connects external control joint 302 and water temperature/Oil-pressure joint 303;
Feedback joint group 803 comprises some feedback joints, and feedback joint group 803 connects external input signal joint 301;
Relay group 802 comprises some relays, each relay receives the output (PLC OUT) of PLC2 by each corresponding self check joint, realize adhesive or the disconnection of each relay contact, the joint that respectively feeds back by correspondence completes the mapping to PLC input (PLC IN), according to having or not of judgement input signal, judge that with this whether testing circuit is qualified, guarantee that tractor driving cabin test macro itself is no problem.
Refer to Fig. 3, the specific embodiment for self-checking circuit 8, in this embodiment, self check joint group 801 comprises that braking oil level joint 8011(receives PLC output Y34), liquid storage dried joint 8012(receives PLC output Y33), left brake pressure joint 8013(receives PLC output Y21), right brake pressure joint 8014(receives PLC output Y22), engine oil pressure joint 8015(receives PLC output Y40), oil filtration joint 8016(receives PLC output Y46), differential lock joint 8017(receives PLC output Y31), chassis Oil-pressure joint 8018(receives PLC output Y30), air filter is blocked joint 8019(and is received PLC output Y45) and neutral startup joint 8020(reception PLC output Y35), relay group 802 comprises the first to the 8th relay 8021-8028, feedback joint group 803 comprises the first to the 9th feedback joint 8031-8039, wherein:
When PLC output Y33 connects, compressor (mapping address X18) has feedback signal, illustrates that the dry detection of liquid storage is qualified, otherwise defective; When PLC output Y33 disconnection, the first relay 8021 are connected, loudspeaker, dipped headlights, infrabar or compressor (mapping address: X08, X09, X16, X18) have feedback signal, illustrate that detection is qualified, otherwise defective; When PLC output Y33 disconnection, the first relay 8021 are disconnected, it is qualified that night lamp or dipped headlights (mapping address: X0A, X0B) have the feedback signal explanation to detect, otherwise defective; If logical front connector feedback (mapping address: X08-X0B) all feed back, and the bunch bonding line detects defective by no signal;
When the second relay 8022 is disconnected, excitation (mapping address: X00) have feedback signal to detect qualified, without feedback signal, without working power, jump out detection; When the second relay 8022 is connected, iron inhaled by starter or generator (mapping address: X17, X1E) has the feedback signal detection qualified, without feedback signal, detects defective;
When the 3rd relay 8023 is disconnected, flameout electromagnetic valve (mapping address: X07) have feedback signal to detect qualified, detect defective without feedback signal; When the 3rd relay 8023 is connected, reversing (mapping address: X19) have feedback signal to detect qualified, detect defective without feedback signal;
When the 3rd relay 8023, connect, when the 4th relay 8024 is disconnected, it is qualified that left brake, left steering or right brake (mapping address: X04, X05, X06) have feedback signal to detect, otherwise detect defective; When the 3rd relay 8023, connect, when the 4th relay 8024 is connected, it is qualified that right turn, rear running light or night lamp (mapping address: X01, X02, X03) have feedback signal to detect, otherwise detect defective; If after 12N is logical, the wire harness feedback (mapping address: X01-X06) all feed back, and the bunch bonding line detects defective by no signal;
When the 5th relay 8025 is connected, the POT(PTO) (mapping address: X0D) have feedback signal to detect qualified, detect defective without feedback signal;
When the 6th relay 8026 is connected, the 4WD(four-wheel drive) (mapping address: X0C) have feedback signal to detect qualified, detect defective without feedback signal;
When PLC output Y30 connects, and the chassis oil pressure (mapping address: X1D) qualified without the feedback signal detection, there is feedback signal to detect defective;
When the 7th relay 8027 is disconnected, air filter is blocked (mapping address: X15) have feedback signal to detect qualified, detect defective without feedback signal; When the 7th relay 8027 is connected, heater plug (mapping address: X14) have feedback signal to detect qualified, detect defective without feedback signal;
When the 8th relay 8028 is connected, differential lock (mapping address: X0E) have feedback signal to detect qualified, detect defective without feedback signal.
Refer to Fig. 4 a, Fig. 4 b and Fig. 4 c, they have formed the network resistor circuit 5 for tractor driving cabin test macro of the present invention jointly, it has the output of two-way resistance, and resistance value is controlled, met the requirement of tractor driving cabin test macro, this network resistor circuit 5 comprises bang-bang circuit, the first electric resistance output circuit and the second electric resistance output circuit, wherein:
Refer to Fig. 4 a, described bang-bang circuit comprises the control port 511 on 18 tunnels, this control port 511De Mei road connects relay YL0-YL8 or a SW0-SW8, an each relay YL0-YL8 or SW0-SW8 series arm in parallel, each series arm is in series by pilot lamp D and current-limiting resistance R; Specifically, each pass line of control port 511 connects the coil of a relay YL0-YL8 or SW0-SW8, and the equal ground connection of coil of each relay YL0-YL8 or SW0-SW8, thereby forms loop; In the present embodiment, control port 511 is the computer control port, and each relay YL0-YL8 and SW0-SW8 are controlled their break-make by PLC2; Pilot lamp D is light emitting diode, the on-state of indicating relay YL0-YL8 or SW0-SW8; Current-limiting resistance R is used for limiting the electric current 8 of pilot lamp D.
18 relay YL0-YL8 and SW0-SW8 in described bang-bang circuit are divided into two groups, and the contact separately of 9 every group relays (YL0 to YL8 or SW0 to SW8) is connected in series successively.
Described the first electric resistance output circuit is identical with the structure of the second electric resistance output circuit, include described 9 relay contacts of serial connection successively, 8 contacts wherein respectively separately and meet resistance YLR1-YLR8 or a SWR1-SWR8, the resistance of these resistance is all different, in the present embodiment, be respectively 0.5 Ω, 1 Ω, 2 Ω, 4 Ω, 8 Ω, 16 Ω, 32 Ω and 64 Ω.
Refer to Fig. 4 b, in the first electric resistance output circuit, the contact of relay YL1-YL8 separately respectively and meet a resistance YLR1-YLR8, thereby determine separately whether resistance YLR1-YLR8 works; The contact of relay YL0 determines whether resistance value of this first resistance circuit; RP4 means the resistance output port;
Refer to Fig. 4 c, in the second electric resistance output circuit, the contact of relay SW2-SW8 separately respectively and meet a resistance SWR1-SWR8, thereby determine separately whether resistance SWR1-SWR8 works; The contact of relay SW0 determines whether resistance value of this second resistance circuit; RP5 means the resistance output port.
In sum, the present invention can carry out self check to system self, on the no problem basis of test macro itself, can effectively test the comprehensive parameters in tractor driving cabin, specifically practical value guaranteeing.
Above embodiment is used for illustrative purposes only, but not limitation of the present invention, person skilled in the relevant technique, without departing from the spirit and scope of the present invention, can also make various conversion or modification, therefore all technical schemes that are equal to also should belong to category of the present invention, should be limited by each claim.