The content of the invention
The present invention provides a kind of tractor work lamp controller, and the purpose is to realize to tractor portable lamp working status
Control and configuration.
To achieve these goals, the technical solution taken of the present invention is:
The tractor work lamp controller of the present invention is equipped with:The signal of signal is turned on and off for receiving single portable lamp
Receiving module;For being turned on and off the signal processing module that signal handled according to single portable lamp, single work is obtained
Lamp is turned on and off control instruction;For the control instruction output module exported to control instruction, single portable lamp root
Enter corresponding working state according to control instruction is turned on and off.
Tractor is provided with portable lamp master switch, and signal receiving module is connected with portable lamp master switch;Controller further includes
Data memory module, in the case where portable lamp master switch is closed, if inputting single portable lamp open signal, the signal
The control instruction obtained after signal processing module is handled is stored in data memory module, after portable lamp master switch opening,
The control instruction stored in data memory module is output to the single portable lamp through control instruction output module, makes the single work
Lamp is opened.
The present invention provides the tractor work lamp control system using above tractor work lamp controller, its technical side
Case is:
The display screen of controller and tractor is connected by CAN bus, completes data communication.
Portable lamp includes front running light, rear running light;Control system includes the portable lamp master switch of tractor, and portable lamp is total
Switch includes the front running light rocker switch and rear running light rocker switch for controlling front running light and rear running light respectively.
Front running light rocker switch, rear running light rocker switch access to the input pin of controller by electric wiring,
Control instruction is sent to controller;Portable lamp accesses to controller output pin by electric wiring, each portable lamp
An individually output pin of connection controller, to realize drive control of the controller to portable lamp.
Front running light includes Engine Casing front running light, vehicle body front waist front running light, driver's cabin top front running light;
Rear running light includes rear running light, tail of the body rear running light at the top of driver's cabin.
Controller is connected with each portable lamp rocker switch respectively by control circuit.
Display screen can be touch-screen.
Portable lamp virtual key is shown in the display interface of display screen.
The profile of tractor is shown in the display interface of display screen.
Controller is connected with each portable lamp respectively by relay.
The present invention provides a kind of technical solution of tractor, which sets above-described tractor portable lamp control
System.
The present invention carries a kind of tractor work lamp control method, includes the following steps:
Step 1:Obtain the control signal that single portable lamp is turned on and off;
Step 2: being turned on and off status signal according to single portable lamp carries out logical operation process, single work is obtained
Lamp is turned on and off control instruction;
Step 3: single portable lamp enters corresponding working state according to control instruction is turned on and off.
According to above-mentioned tractor work lamp control method, further, tractor is provided with portable lamp master switch;
In the case where portable lamp master switch is closed, following steps are also carried out after the step 2:
The unlatching control instruction of portable lamp is stored, after portable lamp master switch is opened, performs the step 3.
The present invention provides a kind of technical solution of tractor, and tractor work lamp control system therein is using described above
Control method.
The present invention uses above-mentioned technical proposal, it is possible to achieve control or configuration to single portable lamp, it is farthest same
When meet lighting and energy saving requirement, improve the control integrated level of system;Technical solution is easily achieved, and is easy to extend;By void
Intend control of the button realization to single (group) portable lamp, do not increase hardware cost;Do not increase actual physics button, make driver's cabin
Layout designs more.
Embodiment
Below against attached drawing, by the description of the embodiment, making to embodiment of the invention further details of
Illustrate, to help those skilled in the art to have more complete, accurate and deep reason to inventive concept of the invention, technical solution
Solution.
Structure of the invention as shown in Figure 1, works lamp control system for a kind of tractor, tractor include CAN bus,
Portable lamp rocker switch, display screen.
In order to solve the problems, such as existing in the prior art and overcome its defect, the control to tractor portable lamp working status is realized
System and the goal of the invention of configuration, the technical solution that the present invention takes are:
As shown in Figure 1, the tractor work lamp control system of the present invention, sets controller, the controller passes through control
Display screen of the circuit respectively with portable lamp rocker switch, portable lamp and the tractor is connected.
Controller is equipped with:The portable lamp signal receiving module of status signal is opened and closed for receiving portable lamp;For
The signal processing module that status signal is handled is opened and closed to portable lamp;Data memory module;For to portable lamp
Open and close the control instruction output module being controlled.
Since middle and high end tractor basic configuration has display screen, controller and CAN bus communication system, so, can be with
By configuring these component systems, it can flexibly realize control or configuration to tractor portable lamp working status, realize this hair
Bright purpose.
The beneficial effects of the invention are as follows:
1st, the control or configuration to single portable lamp can be realized, at utmost while meet lighting and energy saving need
Ask;
2nd, the integrated level of higher system control;
3rd, technical solution is easily achieved, and is easy to extend;
4th, by control of the virtual key realization to single (group) portable lamp, hardware cost is not increased;
5th, without increase actual physics button, be conducive to make driver's cabin layout designs more reasonable.
Portable lamp includes:Front running light, rear running light;
Portable lamp rocker switch includes:Front running light rocker switch, rear running light rocker switch.
As shown in Figure 1, the system of the present invention is mainly stuck up by display screen, controller, front running light rocker switch, rear running light
Switching plate, portable lamp, CAN bus, electric wiring composition.
Each several part major function is:
Controller:The control instruction of reception display screen, front running light rocker switch and rear running light rocker switch, and according to
Command status completes logical operation, output services lamp control signal.
Front running light rocker switch:Tractor front running light opens and closes master switch.
Rear running light rocker switch:Tractor rear running light opens and closes master switch.
Further:
Front running light includes Engine Casing front running light, vehicle body front waist front running light, driver's cabin top front running light;
Rear running light includes rear running light, tail of the body rear running light at the top of driver's cabin.
Display screen:Realize status display and the control of portable lamp, can with respective fictional button in operating display interface, and
Being sent by CAN bus to controller controls some (group) portable lamp to be turned on or off instructing.
Display screen can use touch-screen.
Display screen interface content, as shown in Figure 2.Content is mainly made of two parts in figure:
1st, tractor signal profile is used for providing positioning reference for portable lamp virtual key, and it is clear accurate to allow the operator to
Understand the virtual key correspondence control for grasping a certain position or the portable lamp for configuring its corresponding physical location.
2nd, five groups of portable lamp control virtual keys, according to the position in Fig. 2 from top to bottom, are respectively defined as the 1st group to the 5th
Group.
Engine Casing front running light button, in Fig. 2 shown in the 1st group;
Vehicle body front waist front running light button, in Fig. 2 shown in the 2nd group;
Front running light button at the top of driver's cabin, in Fig. 2 shown in the 3rd group;
Rear running light button at the top of driver's cabin, in Fig. 2 shown in the 4th group;
Tail of the body rear running light button, in Fig. 2 shown in the 5th group.
Portable lamp:The instruction sent according to controller is opened illumination or is extinguished.
Wherein display screen is connected by CAN bus with controller and completes data communication;Front running light rocker switch, rear work
Lamp rocker switch accesses to the input pin of controller by electric wiring, and control instruction is transmitted into controller;Portable lamp
Controller output pin is accessed to by electric wiring, each portable lamp individually connects an output pin of controller, with
Realize drive control of the controller to portable lamp.
The overall structure of the present invention can also use following technical scheme (scheme two):
As shown in figure 5, the tractor work lamp control system of the present invention, tractor includes CAN bus, portable lamp wrap board is opened
Close, display screen;Control system is equipped with controller, the controller by control circuit respectively with portable lamp rocker switch and described
The display screen connection of tractor;The controller is connected by relay with portable lamp.
The present invention provides a preferred embodiment:
Since the driving force of each controller output pin has differences, some controller pin driving forces are relatively low, nothing
Method directly drives portable lamp, can directly drive relay by controller output pin at this time, then by relay driving portable lamp,
It can equally realize said system function, still, corresponding hardware cost is slightly higher.
Its Control system architecture is as shown in Figure 5.
In order to realize the goal of the invention identical with above-mentioned technical proposal, present invention also offers tractor described above work
The step of lamp control system, its technical solution is the control method, is as follows:
1st, start;
2nd, the portable lamp virtual key on operating display, to send control instruction to controller;
3rd, controller receives the control instruction, and carries out logical operation process to signal;
4th, it is closed if necessary to unlatching portable lamp and front running light or rear running light rocker switch, then before opening
Portable lamp or rear running light rocker switch;
5th, the control instruction after controller output computing, to drive relevant work lamp;
6th, relevant work lamp is turned on or off;
7th, control process terminates.
Wherein, the control method of front running light is:
First, no matter whether front running light rocker switch is effective, the front running light virtual key in operating display interface,
Complete relevant work lamp and open or extinguish transmission of the control instruction to controller;
Flow as shown in Figure 3:
If front running light rocker switch is closed, front running light is completely in OFF state;Operate at this time
Portable lamp virtual key in display screen interface, control instruction are sent to controller;Controller is patrolled according to these instruction completions
Computing is collected, but does not export the portable lamp control instruction after computing, simply by these control instruction memory retentions;As long as hereafter preceding work
Make lamp rocker switch to be opened, these portable lamp control instructions are just output, and complete that portable lamp is turned on and off controlling;
Flow as shown in Figure 4:
If front running light rocker switch is in opening, front running light can be instructed according to the output control of controller
Open illumination or extinguish;The portable lamp virtual key in operating display interface, control instruction are sent to controller at this time;Control
Device processed exports the portable lamp control instruction after computing at once according to these instruction completion logic computings, to complete to portable lamp
Be turned on and off control.
Similarly, the control method of rear running light is:
First, no matter whether rear running light rocker switch is effective, the rear running light virtual key in operating display interface,
Complete relevant work lamp and open or extinguish transmission of the control instruction to controller;
If rear running light rocker switch is closed, rear running light is completely in OFF state;Operate at this time
Portable lamp virtual key in display screen interface, control instruction are sent to controller;Controller is patrolled according to these instruction completions
Computing is collected, but does not export the portable lamp control instruction after computing, simply by these control instruction memory retentions;As long as hereafter rear work
Make lamp rocker switch to be opened, these portable lamp control instructions are just output, and complete that portable lamp is turned on and off controlling;
If rear running light rocker switch is in opening, rear running light can be instructed according to the output control of controller
Open illumination or extinguish;The portable lamp virtual key in operating display interface, control instruction are sent to controller at this time;Control
Device processed exports the portable lamp control instruction after computing at once according to these instruction completion logic computings, to complete to portable lamp
Be turned on and off control.
In conclusion the key of the present invention is:A kind of tractor portable lamp control, configuration system are provided, passes through the above
Analysis, is described in detail the composition of system, operation principle, control flow etc.;The structure constituted mode, right of the present invention
The effect answered, control flow, are the key point solved the problems, such as.
The present invention is exemplarily described above in conjunction with attached drawing, it is clear that the present invention implements and from aforesaid way
Limitation, as long as the improvement of the various unsubstantialities of inventive concept and technical scheme of the present invention progress is employed, or without changing
Other occasions are directly applied into by the design of the present invention and technical solution, within protection scope of the present invention.