Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of garage control system is provided. This garageControl system can be passed through light-emitting diode (LED) car lamp module controls garage door, simple and convenient.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of garage control system, described carStorehouse control system is for controlling the garage door in garage, and it comprises sender unit and garage door control device,Described sender unit is installed on an automobile, and described garage door control device is installed on a garage, instituteState sender unit and comprise memory cell, control module and light-emitting diode (LED) car lamp module, described storage listUnit is used for storing start signal coding and shutdown signal coding, and described control module is used for from described memory cellObtain start signal coding or shutdown signal coding, the start signal coding obtaining or shutdown signal coding are turnedBe changed to up and down along triggering signal, and drive described light-emitting diode (LED) car lamp mould along triggering signal up and down according to describedPiece sends the optical signal that characterizes start signal coding or shutdown signal coding;
Described garage door control device comprises optical signal processing unit and authentication unit;
Described optical signal processing unit comprises that opto-electronic conversion subelement, current/voltage are changed subelement and voltage is putLarge subelement;
Described opto-electronic conversion subelement characterizes start signal coding or closes for described light emitting diode is sentThe optical signal of Signal coding converts current signal to;
Described current/voltage conversion subelement is used for receiving described current signal, and by described current signal conversionBecome voltage signal;
Described voltage amplification subelement is used for receiving described voltage signal, and amplifies described voltage signal, asData signal outputs to authentication unit.
Described authentication unit comprises decoding subelement, comparison subelement and garage control subelement;
Described decoding subelement is used for receiving described data signal, and described data signal is converted to binary systemData;
Described relatively subelement is for by described binary data and a default unlatching check code or default passClose check code comparison, when described binary data and a default unlatching check code or the default check code of closingMeet when pre-conditioned, send garage door control signal to described garage control subelement;
Described garage control subelement is used for receiving described garage door control signal, and institute is opened or closed to correspondenceState garage door.
Wherein, described sender unit comprise two groups described in light-emitting diode (LED) car lamp module, send out for described two groupsOptical diode car light module is installed on respectively on the head lamp and taillight of described automobile.
Described light-emitting diode (LED) car lamp module adopts automobile day portable lighter.
Described pre-conditioned be described binary data and described default unlatching check code or the default school of closingTest code identical or have a corresponding relation.
Described control module comprises compiling subelement, signal conversion subelement and driven element unit;
It is binary system that described compiling subelement is used for start signal coding or the shutdown signal code conversion obtainedData;
Described signal conversion subelement is for be converted to binary data according to Manchester's code mode up and downAlong triggering signal;
Described driven element unit is used for receiving described up and down along triggering signal, and according to described upper and lower along triggering letterNumber drive light emitting diode to send to characterize the optical signal of start signal coding or shutdown signal coding.
Described signal conversion subelement is for being converted to trailing edge triggering signal by binary data " 1 ", by " 0 "Be converted to rising edge triggering signal.
Described start signal coding or shutdown signal coding adopt binary format to write.
Luminous when described light-emitting diode (LED) car lamp module receives trailing edge triggering signal, receive rising edge and touchNot luminous when signalling.
Garage control system provided by the invention adopts and is integrated in the light-emitting diode (LED) car lamp module of automobile, canTo control the keying of garage door by car light, thereby without extra remote controller, for driver provides sideJust.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, intactly description, obviously, described embodiment is only the present invention's part embodiment, instead ofWhole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creationThe every other embodiment obtaining under property work prerequisite, belongs to the scope of protection of the invention.
In embodiments of the present invention, by being integrated in the light-emitting diode (LED) car lamp module controls garage door of automobileOpen and close, thereby without extra remote controller.
Seeing also Fig. 1 and Fig. 2, is the garage control system 100 of the first embodiment provided by the invention.Described garage control system 100 comprises sender unit 10 and garage door control device 20.
Described sender unit 10 is installed on an automobile 1, and described garage door control device 20 is installed onOn one garage 300.
Described sender unit 10 comprises memory cell 11, control module 12 and light-emitting diode (LED) car lamp mouldPiece 13. The headstock day portable lighter 13a that described light-emitting diode (LED) car lamp module 13 is described automobile 1 and the tailstock day rowLamp 13b. Certainly, in other embodiments, described light-emitting diode (LED) car lamp module 13 can be also instituteState headstock day portable lighter 13a or the tailstock day portable lighter 13b of automobile 1. In other embodiments, described luminous twoUtmost point pipe car light module 13 can be also head lamp and the taillight of described automobile 1.
Described memory cell 11 is for storing start signal coding and shutdown signal coding. Described memory cell 11Can adopt programmable read only memory, Erasable Programmable Read Only Memory EPROM or flash memory. Described openingOpening Signal coding and shutdown signal encodes and can directly be write or be write by user by manufacturer. Described start signalCoding and shutdown signal coding can adopt binary system to write or adopt other to be convenient to assembler language, the height of identificationThe computer programming languages such as level language are write. In present embodiment, for the ease of reading, described defaultStart signal coding and shutdown signal coding adopt high-level [computer to write.
Described control module 12 is compiled for obtain start signal coding and shutdown signal from described memory cell 11Code, by the start signal coding obtaining and shutdown signal code conversion for up and down along triggering signal, and according to instituteStating up and down drives described light-emitting diode (LED) car lamp module 13 send sign start signal coding or close along triggering signalClose the optical signal of Signal coding. In present embodiment, described control module 12 is by the start signal coding obtainingOr shutdown signal code conversion is binary data, then according to Manchester's code mode, binary data is turnedBe changed to up and down along triggering signal. Particularly, within a time cycle, binary data " 1 " is converted toTrailing edge triggering signal, is converted to rising edge triggering signal by " 0 ". Described light-emitting diode (LED) car lamp module 13Luminous while receiving trailing edge triggering signal, not luminous while receiving rising edge triggering signal. Certainly, at itIn his embodiment, in the time that described start signal coding or shutdown signal are encoded to binary data, describedOptical diode car light module 13 can be directly also upper and lower edge by start signal coding or shutdown signal code conversionTriggering signal. Described light-emitting diode (LED) car lamp module 13 also can not sent out in the time receiving trailing edge triggering signalLight, luminous while receiving rising edge triggering signal. Described control module 12 can adopt digit chip.
Particularly, in the time opening the garage door 310 in described garage 300, described control module 12 is deposited from describedStorage unit 11 obtains start signal coding, drives described headstock day portable lighter 13a to send and characterizes start signal codingOptical signal. In the time closing the garage door 310 in described garage 300, described control module 12 is from described storageUnit 11 obtains shutdown signal coding, drives described tailstock day portable lighter 13b to send to characterize shutdown signal codingOptical signal. Certainly, in other embodiments, also can be by both sending to described headstock day portable lighter 13aStart signal coding, also sends shutdown signal coding to described headstock day portable lighter 13a, thereby described in only passing throughHeadstock day portable lighter 13a controls the unlatching of garage door 310 and closes.
Described garage door control device 20 comprises optical signal processing unit 21 and authentication unit 22. Described light letterNumber processing unit 21 is for receiving described optical signal, and described optical signal is converted to binary data. This realityExecute in mode, described optical signal processing unit 21 is installed on described garage 300. Described optical signal is processed singleUnit 21 receives the optical signal that described light-emitting diode (LED) car lamp module 13 is sent, and optical signal is converted to telecommunicationsNumber, then the signal of telecommunication is converted to binary number with the decoding process corresponding with described Manchester's code modeAccording to. Particularly, within a time cycle, level is converted into data signal " 1 " from high to low, by electricityThe flat data signal " 0 " that is converted into from low to high. Thereby restore the optical signal that described light emitting diode 13 sendsThe meaning of the binary data of representative. Described optical signal processing unit 21 adopts photodiode and processes coreSheet is realized in the lump. Described optical signal processing unit 21 also can adopt and optical signal can be converted to binary system generationThe photoelectric switching circuit of code data signal.
The binary data that described authentication unit 22 is exported for receiving described optical signal processing unit 21, andDescribed binary data and a default unlatching check code or the default check code of closing are compared, when described twoSystem data and described default unlatching check code or the default check code of closing meet when pre-conditioned, described inDescribed garage door 310 is opened or closed to garage control system 100 correspondences. Described pre-conditioned be described binary systemData and described default unlatching check code or the default check code of closing are identical or have a corresponding relation. DescribedDefault unlatching check code or default to close check code can be binary data or adopt other to be convenient to identificationThe computer programming language such as assembler language, the high-level language data of writing. When described default unlatchingCheck code or the default check code of closing adopt the computer programming languages such as assembler language, high-level language to compileWrite data time, described authentication unit 22 also for by output described binary data and described default openingOpen check code or the default check code of closing is converted to identical form and compares. In present embodiment, byDefault unlatching check code in described garage door control device 20 or the default check code of closing do not needRead to user, so directly adopt binary data to write, reduce the process of data transaction, improve and differentiateSpeed. Described garage door 310 is opened or closed to described garage control system 100 can directly connect control instituteState the stepper motor 311 of garage door 310, or the intelligence system of access garage control, described in controllingA control module of garage door 310.
In present embodiment, described authentication unit 22 is connected with the stepper motor 311 of described garage door 310.When described binary data and default unlatching check code meet when pre-conditioned, described garage control system 100Send enabling signal to described stepper motor 311. When described binary data and default are closed check code completelyWhen foot is pre-conditioned, described garage control system 100 sends and closes gate signal to described stepper motor 311.
Refer to Fig. 3, the garage control system 200 that the second embodiment provided by the invention provides and first in factThe difference of the described garage control system 100 that the mode of executing provides is, described garage control system 200Control module 120 comprise compiling subelement 121, signal conversion subelement 122 and driven element unit 123.
Described compiling subelement 121 is for being two by the start signal coding obtaining and shutdown signal code conversionSystem data. In present embodiment, described compiling subelement 121 is realized by transformation rule prepared in advanceBinary data conversion.
Described signal conversion subelement 122 is for being converted to binary data according to Manchester's code modeUp and down along triggering signal. In present embodiment, described signal conversion subelement 122 adopts described first to implementThe conversion regime of mode is converted to binary data up and down along triggering signal.
Described driven element unit 123 is described up and down along triggering signal for receiving, and touches according to described upper and lower edgeSignal and drive described light-emitting diode (LED) car lamp module 130 send the described start signal coding of sign and close letterNumber coding optical signal. In present embodiment, described driven element unit 123 receives trailing edge triggering signalTime drive described light-emitting diode (LED) car lamp module 130 luminous, described driven element unit 123 receives rising edgeWhen triggering signal, drive described light-emitting diode (LED) car lamp module 130 not luminous.
The optical signal processing unit 221 of garage door control device 220 comprises opto-electronic conversion subelement 221a, electricityStream voltage transitions subelement 221b and voltage amplification subelement 221c.
Described opto-electronic conversion subelement 221a characterizes institute for described light-emitting diode (LED) car lamp module 130 is sentThe optical signal of stating start signal coding and shutdown signal coding converts current signal to. Described opto-electronic conversion is singleThe 221a of unit can be photo resistance, photoelectric multiplier, photocell, PIN pipe, CCD etc.
Described current/voltage conversion subelement 221b is used for receiving described current signal, and by described current signalConvert voltage signal to. Described current/voltage conversion subelement 221b can adopt current-to-voltage convertor or electricityStream translation potential circuit.
Described voltage amplification subelement 221c is used for receiving described voltage signal, and amplifies described voltage signal,Output to authentication unit 222 as data signal.
Described authentication unit 222 comprises decoding subelement 222a, comparison subelement 222b and garage control listThe 222c of unit. Described decoding subelement 222a is used for receiving described data signal, and by described data signal conversionFor binary data. Described decoding subelement 222a, within a time cycle, transforms level from high to lowFor data signal " 1 ", level is converted into data signal " 0 " from low to high. .
Described relatively subelement 222b for by described binary data with a default unlatching check code or presetClose check code comparison, when described binary data and a default unlatching check code or the default school of closingTest code and meet when pre-conditioned, send garage door control signal to described garage control subelement 222c. DescribedRelatively subelement 222b adopts binary data described in mode verification identical in described the first embodiment.
Described garage control subelement 222c is used for receiving described garage door control signal, and corresponding unlatching or passClose described garage door 310. Described garage control subelement 222c to described stepper motor 311 send open the door orClose gate signal.
Garage control system provided by the invention can be controlled garage door by light-emitting diode (LED) car lamp moduleOpen and close, simple and convenient, simultaneously without extra remote controller, for driver provides convenience.
Above disclosed only for a kind of preferred embodiment of the present invention, certainly can not limit this with thisBright interest field, the equivalent variations of therefore doing according to the claims in the present invention, still belongs to that the present invention containsScope.