A kind of switchgear
[technical field]
The utility model relates to switchgear, specifically relates to a kind of automobile-used multifunction switch device.
[background technology]
Along with science and technology development, the functional part on the automobile is also more and more, and the control corresponding device also emerges in an endless stream, but the space on the automobile is very limited, and driver's its arm scope in one's power when the high speed of driving is galloped is just more limited.Traditional switch is the corresponding controll plant of a switch key, realize that a plurality of functions just need the switch key of the equal number of configuration, increases driver fatigue easily and made originally to seem more crowded with regard to limited driving space.
[summary of the invention]
The technical problems to be solved in the utility model provides a kind of switchgear, the function that this switchgear provides a key to use more.This switchgear has been broken the thoughtcast of the corresponding controll plant of switch key of conventional switch, realizes the function of the corresponding a plurality of controll plants of a switch key by programming.Can reduce simultaneously driver's the dirigibility that control is tired and enhancing is controlled.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: a kind of switchgear, comprise the Switch main body module that is electrically connected successively, the control function decoder module able to programme and the control signal output module of operation of responding to switch body module and generation control signal, described Switch main body module comprises Switch main body, switch this subject comprises base, be arranged on first bracing frame on the base, second bracing frame, also comprise roller, last item, rotating shaft one end of roller links to each other with last item, the other end of the rotating shaft of roller links to each other by back-moving spring with first bracing frame, comprises that also being used to of being connected with control function decoder module able to programme detect the detecting unit that roller rotates and be used to detect the detecting unit that presses down that last item presses down; When rotation roller, rotation detecting unit is imported control function decoder module able to programme with detected turn signal; When depressing roller, roller drive last item is depressed into and presses down detecting unit, press down detecting unit and will press down signal and be input to control function decoder module able to programme, described control function decoder module able to programme carries out encoding and decoding according to the detection signal of input and produces different control signal, control signals and be input to control signal output module and drive each controlling object.
Described control signal output module comprises the signal output part that is connected with described control function decoder module able to programme.
Preferably, described rotation detecting unit comprises light emitting diode, phototriode and is distributed in reflex reflector on the roller shaft; The light that light emitting diode sends is input to phototriode after the reflex reflector reflection, the phototriode conducting, and the output terminal of phototriode links to each other with control function decoder module able to programme.
The described detecting unit that presses down comprises armature contact, fixing metal contact and the retracing spring that is connected with armature contact; When roller presses down, drive last item and move downward with movable contact and contact, and then drive retracing spring and move down, armature contact is contacted with the hard contact of fixing, the hard contact of fixing links to each other with described control function decoder module able to programme.
For the reliability of strong system more, described Switch main body also comprises the reset key that is connected with control function decoder module able to programme.
In order to strengthen the theftproof performance of vehicle, described Switch main body module also comprises the locking key that links to each other with control function decoder module able to programme.The operational lock key can be with this switch locking when the driver leaves car, even if the burglary-resisting system of the car load car stealer of having lost efficacy does not know that driver's authentication information just can't obtain for the moment the right to use of the many electrical equipment of car load like this, will soon be identified if open the highway possibility, this thus switch has very high anti-theft to a certain extent.
Produce for convenience and maintenance, described Switch main body module, control function decoder module able to programme are connected by standard interface with control signal output module, are mutually independent, and can change respectively.When a certain module goes wrong, can only change corresponding module rather than three modules are all changed, thereby save user's expense; This structure provides a kind of control mode that disposes flexibly simultaneously, by revising the control program in the control function decoder module able to programme, realize different functions in the time of can realizing pushing button, even can in limited range, allow the driver who understands certain technology from main programming, made things convenient for the renewal and the expansion of function.So just may occur having the situation of difference in functionality, make troubles to the car stealer to a certain extent, help reducing the incidence of stealing the car incident with the same switch of money vehicle.
Preferably link to each other between control function decoder module able to programme and the control signal output module by CAN bus or LIN bus.
Adopt technique scheme, the beneficial effects of the utility model are: can reduce production costs and easy to assembly; Conventional switch is electrical equipment of switch key control often, and the switch key that the utility model provides can be controlled a plurality of electrical equipment, and just one thisly novel switchedly can substitute many conventional switch.By traditional thinking, realize just must to them corresponding switch being set separately respectively to the control of a plurality of electrical equipment, also must assemble respectively simultaneously, so production cost will also can be longer than higher and installation time, and this by contrast novel switched batch process back all will more have superiority than conventional switch on production cost and installation time.Next is: it is little to take up room, and provides very big facility to the driver; Compare with conventional switch, this novel switched Switch main body module can design very for a short time as required, owing to realized the multiplexing of button, therefore has the incomparable advantage of conventional switch; If this switch is installed on the bearing circle or near, just can make the driver when driving, on bearing circle, just can not realize control by hand to more electrical equipment, the control action of having simplified, increased the comfortableness of operation, reduced operator's operation fatigue, improved the security of driving, also saved interior space, modular design simultaneously further strengthened systemic-function dirigibility and extendability.
The utility model is described in further detail below in conjunction with the drawings and specific embodiments:
[description of drawings]
Fig. 1 is the circuit structure block diagram of a kind of switchgear of the utility model.
Fig. 2 is a Switch main body modular structure block diagram shown in Figure 1.
Fig. 3 is a control function decoder module structured flowchart able to programme shown in Figure 1.
Fig. 4 is a control signal output module structured flowchart shown in Figure 1.
Fig. 5 is the utility model switchgear installation site synoptic diagram
Fig. 6 is the structural representation (not zone face cover) of the utility model switchgear embodiment
Fig. 7 is the structural representation of switchgear shown in Figure 6.
Fig. 8 is the side structure view one of switchgear shown in Figure 6.
Fig. 9 is the side structure view two of switchgear shown in Figure 6.
Figure 10 is a switchgear electrical block diagram shown in Figure 6.
Figure 11 (a) is a 80C51 subprogram process flow diagram shown in Figure 10.
Figure 11 (b) is the process flow diagram of interruption 1 correspondence among Figure 11 (a).
Figure 11 (c) is the process flow diagram of interruption 2 correspondences among Figure 11 (a).
Figure 11 (d) is the process flow diagram of interruption 3 correspondences among Figure 11 (a).
[embodiment]
The structured flowchart of switchgear is referring to Fig. 1 to Fig. 4, and this switch is installed in the bearing circle left side, as shown in Figure 5, so that driver's handled easily when driving.
The structure of this switchgear such as Fig. 6, shown in Figure 7, Switch main body comprise face shield and base, and face shield rises to be decorated and protective action; Base is provided with roller 1, first bracing frame 2, base plate 4, contact 5, second bracing frame 6, be used to export the output terminal 3 of control signal and lay respectively at roller 1 both sides when being used to limit roller 1 and rotating before and after the opening bearing of displacement, control function decoder module able to programme is PCB (Printed Circuit Board, printed circuit board (PCB)) plate is positioned at base, select 80C51 for use, the circuit diagram of present embodiment as shown in figure 10, wherein input end terminal 16,17,18 connect respectively by the bottom roller signal, preceding revolve the roller signal and after revolve the roller signal.
After loading onto face shield, this switchgear links to each other with the external world by roller.The driver can control some electrical equipment by operated roller; Pcb board receives the signal from roller, and it is handled the back by output terminal 3 outputs; Output terminal 3 links to each other with CAN (Controller Area Network, Local Area Network controller) bus, and control signal output module is integrated in the CAN bus.
The attainable function of the switchgear of present embodiment is as described in Table 1:
Wherein, volume default volume when radio has just been opened, i.e. 3 grades of volumes.
P0.3~P0.0 |
Function |
P0.3~P0.0 |
Function |
0H |
Receive first channel |
6H |
It is 3 grades that volume is set |
1H |
Receive second channel |
7H |
It is 4 grades that volume is set |
2H |
Receive the 3rd channel |
8H |
It is 5 grades that volume is set |
3H |
Receive the 4th channel |
9H |
It is 6 grades that volume is set |
4H |
Receive the 5th channel |
AH |
It is 1 grade that volume is set |
5H |
Receive the 6th channel |
BH |
It is 2 grades that volume is set |
|
|
CH |
Close this switch |
Table 1
When the driver pressed bottom roller 1 for the first time, roller 1 drove last item 7 and is depressed into contact 5, and opening this switch and choosing radio is controlling object, roller 1 was revolved 60 forward skip to next radio station when spending, and revolved 60 backward and turned back to a radio station when spending; When the driver just chooses volume during once more by bottom roller 1 is controlling object, and volume increased when roller was revolved forward, and volume reduced when roller 1 was revolved backward; The driver closes this switch during for the third time by bottom roller 1, and turn this moment roller 1 cuts little ice, and control flow chart is referring to Figure 11 (a)~11 (d).
Wherein, reach signal output part 3 by the signal of bottom roller by contact 5, the signal of turn roller reaches signal output part 3 by the devices in first bracing frame 2.
Construction of switch is equipped with a back-moving spring 8 referring to Fig. 6 to Fig. 9 in first bracing frame 2, after loosing one's grip by bottom roller 1, back-moving spring 8 can make the roller 1 original position of returning.Roller 1 is provided with protruding axle 9 near a side of second bracing frame 6, and protruding axle 9 is independently with last item 7.Protruding axle 9 is embedded among the axle of last item 7 inboards, thereby last item 7 does not rotate when guaranteeing that roller 1 rotates, and roller 1 when pressing down last item 7 also toward pressing down.
As shown in Figure 8, be provided with a little sealing box, be uniform-distribution with six reflex reflectors 10 on 1 on the roller here in the inner sides of first bracing frame 2 near rollers 1.On the base plate of box, be provided with light emitting diode 11 and Chang Liang, when reflex reflector 10 just forwards to vertically downward, the light of penetrating from light emitting diode 11 will be reflected on the phototriode 12 that is located on the low plate, make its conducting, Continuity signal reaches in the pcb board in the base plate 4 and reaches the CAN bus after treatment again.Wherein adorn in the sealing box of photosensitive triode three triodes are housed, two lay respectively on the sidewall, one be positioned in the middle of, can judge the sense of rotation of roller according to the order of three triode conductings.
As shown in Figure 9, second back shaft 6 comprises sheet metal 13, hard contact 14 (about each one), retracing spring 15.When pressing bottom roller 1, last item 7 is pressed onto on the contact 5, the contact presses down, sheet metal 13 is pressed onto on the hard contact 14, hard contact 14 mutual conduction, Continuity signal reaches in the pcb board in the base plate 4 by the circuits in second bracing frame 6, and the signal that this signal and phototriode are sent here reaches the CAN bus after treatment.
Last CAN bus is selected radio station and volume according to concrete signal and is regulated.
Only using a button in this example is roller, and it integrates function group selection button and function and regulates button, carries out the function of function group selection button when press bottom roller, turn it the time carry out the function of function adjusting.First function group is the wireless platform function group of changing, and whenever revolves 60 degree and changes a platform, so can store 6 platforms altogether; Second function group is the volume functions group, and the range of control of volume can be set as required.This example has been realized the function that conventional switch several keys could be realized by a key.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to the scope of patent protection that the present invention is determined by claims of being submitted to.