CN101742780A - CAN bus-based intelligent illumination control system - Google Patents

CAN bus-based intelligent illumination control system Download PDF

Info

Publication number
CN101742780A
CN101742780A CN201010023170A CN201010023170A CN101742780A CN 101742780 A CN101742780 A CN 101742780A CN 201010023170 A CN201010023170 A CN 201010023170A CN 201010023170 A CN201010023170 A CN 201010023170A CN 101742780 A CN101742780 A CN 101742780A
Authority
CN
China
Prior art keywords
bus
microprocessor
interface circuit
bus interface
system based
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.)
Pending
Application number
CN201010023170A
Other languages
Chinese (zh)
Inventor
吴迪
王帅
水名岳
周博
楚舒宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Enji Energy-saving Technology Co Ltd
Original Assignee
Shanghai Enji Energy-saving Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Enji Energy-saving Technology Co Ltd filed Critical Shanghai Enji Energy-saving Technology Co Ltd
Priority to CN201010023170A priority Critical patent/CN101742780A/en
Publication of CN101742780A publication Critical patent/CN101742780A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention relates to the technical field of illumination device, in particular to a CAN bus-based intelligent illumination control system. The input ends of a CAN bus interface circuit and a microprocessor peripheral circuit are connected with a microprocessor; the output end of the microprocessor is connected with an execution module, and the input end of the microprocessor is connected with a data acquisition module; and the output end of the CAN bus interface circuit is connected with a PC machine. The system has the advantages that: the system is a distributed intelligent control system, overcomes the defects of excessive dependence on individual capability of a controller, relatively decentralized control and unavailable effective management, low timeliness and automatic degree and the like compared with the traditional illumination control system and simultaneously realizes dimming control which cannot be realized in an automatic illumination control mode.

Description

A kind of intelligent lighting system based on the CAN bus
Technical field
Technical field of lighting fixtures of the present invention, specifically a kind of intelligent lighting system based on the CAN bus.
Background technology
As far back as earlier 1990s in the world just at saves energy, the illuminator of protection environment has proposed the iconicity saying of " green illumination ".In the latter stage eighties, some developed countries such as the U.S., Japan, Britain, Holland etc. have taken the lead in carrying out the popularization of " green illumination ".
Taken the lead by State Economic and Trade Commission in October, 1996, tens ministries and commissions such as State Planning Commission, the Department of Science and Technology, the Ministry of Construction, the Ministry of Information Industry, the Ministry of Agriculture, National Quality ﹠ Technology Inspection Bureau, State Administration of Internal trade, State Power Corporation, the Chinese Academy of Sciences, China Energy Conservation Investment Corp. and associated mechanisms have started " Chinese Green Lighting Project " jointly." Chinese Green Lighting Project " is intended to development and promotes the efficient illumination electric equipment products, electricity consumption saves lighting, reduce environmental pollution, satisfy the growing needs of the people, set up the illuminator of high-quality and efficient, economic comfortable, safe and reliable, a useful environment lighting quality, lighting environment and minimizing environmental pollution.
At present, China's electric consumption on lighting accounts for the 20-30% of building electricity consumption, and present a few family to be absorbed in light modulation product or the scene controller that the electric corporation of intelligent lighting produces all be open loop control basically, when people enter the working region, can work requirements as required open required light source, regulate the light output of light source, make it reach desired illumination level, but after generally transferring what a illumination level, substantially can not change according to indoor light intensity again, ignore the output of regulating light source easilier when light is fine, so not only can not create good, comfortable operational environment, but also precocity unnecessary energy waste and economic loss.Increase power load in addition, when increasing extra electric power investment, also caused a large amount of pollutions, calculate according to the expert, 10,000,000,000 kilowatts of points of every production need consume 5,000,000 tons in coal, and the flue dust of discharging will 5.4 ten thousand tons, 7.8 ten thousand tons of sulfur dioxide produce serious acid rain, have destroyed the ecological balance.
Summary of the invention
Purpose of the present invention is exactly will solve above-mentioned deficiency and a kind of intelligent lighting system based on the CAN bus of providing.
For achieving the above object, the present invention proposes a kind of intelligent lighting system based on the CAN bus, comprise CAN bus interface circuit, microprocessor, microprocessor peripheral circuit, Executive Module and data acquisition module, it is characterized by: described CAN bus interface circuit, microprocessor peripheral circuit input connect microprocessor, the output of microprocessor connects Executive Module, the input of microprocessor connects data acquisition module, and described CAN bus interface circuit output connects PC.
The described microprocessor that connects adopts 8 single chip computer AT 89C52 of COMS technology manufacturing as kernel control chip.
Described CAN bus interface circuit comprises CAN bus control unit, CAN bus transceiver.
Described Executive Module is made up of ON-OFF control circuit and adjusting control circuit.
Described data acquisition module is made up of illumination detection module and Infrared Detectors module.
Described CAN bus interface circuit is connected with the serial port of PC by a transducer with the connected mode of PC or inserts an adapter in the expansion slot of PC.
Beneficial effect of the present invention: this system is a kind of distributed intelligence control system, compare profile, the relative dispersion of control that has overcome too much dependence effector with traditional Lighting Control Assembly and can't effectively manage, shortcoming such as its timeliness and automaticity are lower, the while has also been realized the irrealizable brightness adjustment control of automatic illumination control mode.Its main feature is summarized as follows:
(1) lighting controller can rationally utilize natural daylight, the output of in time regulating light source makes illumination reach only level, and can in time close the lamp in unmanned room, therefore, this Lighting Control Assembly is when providing comfortable illumination environment, also saved the energy greatly, responded " Chinese Green Lighting Project ".
(2) this system is distributed control system, the controlled function of controller is further transferred the light fixture to least significant end, its tension management software is that the operation of controlling is played monitoring and management, thereby improved the reliability of system and increased some miscellaneous function, but it is not the control system of central type, and the normal control of fault effects The whole control system can not arranged because of monitoring management system itself.
(3) outstanding feature of native system is exactly the application of CAN bus.Because it is good that the CAN bus has real-time, reliability height, flexible configuration, advantage such as antijamming capability is strong.Therefore the CAN bussing technique is applied to effectively to solve in the Lighting Control Assembly and adopts communication network such as RS-232 in the present lamp light control system, RS-485, institute's ubiquity communication distances such as 20mA electric current loop are short, and data transmission bauds is slow, error rate height, problems such as poor reliability.
Description of drawings
Fig. 1 is a system structural framework schematic diagram of the present invention.
Embodiment
As shown in Figure 1, a kind of intelligent lighting system based on the CAN bus, comprise CAN bus interface circuit, microprocessor, microprocessor peripheral circuit, Executive Module and data acquisition module, described CAN bus interface circuit, microprocessor peripheral circuit input connect microprocessor, the output of microprocessor connects Executive Module, the input of microprocessor connects data acquisition module, and described CAN bus interface circuit output connects PC.The described microprocessor that connects adopts 8 single chip computer AT 89C52 of COMS technology manufacturing as kernel control chip.Described CAN bus interface circuit comprises CAN bus control unit, CAN bus transceiver.Described Executive Module is made up of ON-OFF control circuit and adjusting control circuit.Described data acquisition module is made up of illumination detection module and Infrared Detectors module.
The connected mode of CAN bus and PC has two kinds, and one is connected with the serial port of PC by a transducer; Its two, in the expansion slot of PC, insert an adapter.When the data of need exchanges are big, often adopt a kind of method in back.Consider the autgmentability of system, promptly can be with whole building other system, as air-conditioning system, elevator device, kilowatt meter reading-out system etc. all are articulated on the CAN bus, therefore the method that has adopted adapter to be connected with PC in the design.
Can be divided into two types by the task adapter:
1. only be used for CAN bus and host computer swap data, adapter only plays data forwarding, promptly only collects the data on each node on the CAN bus, is transmitted to host computer, and gives each node the order of host computer and data forwarding.Its circuit is by CAN communication controler, CAN physical interface, PC bus interface circuit, and formations such as a spot of program storage and a spot of Data Buffer Memory are called the sluggish network adapter.
2. except above-mentioned exchanges data task, also to finish part monitoring, management work, be called intelligent adapter the custom system on the CAN bus.It can alleviate the part task of host computer, improves the real-time of system.This adapter needs CPU, bigger program storage and data storage.
Consider that from the demand and the ratio of performance to price of native system the method for planting the sluggish network adapter before decision is selected for use realizes the transmission of data in the CAN bus.The CAN communications adapter has been formed product, is produced by specialized factory, and certainly, this part also can be designed by designer oneself, but effect may not be good, if there is not the reason on special the application to adopt specialized vendor's product not only to save time but also reliable.
The non intelligent isolated form CAN of the HK-CAN20C bus communication plate that adopts Beijing China control company to produce among the present invention, it is a kind of non intelligent CAN plug-in card that the CAN communications protocol is connected with PC isa bus standard, circuit is by CAN communication controler, CAN physical interface, PC bus interface circuit, formations such as a spot of program storage and a spot of Data Buffer Memory just do not describe in detail here.Non intelligent CAN card can fully satisfy the requirement of CAN network high real-time, can monitor instrument and control appliance that the scene has a CAN communication interface by this card.
The performance index of HK-CAN20 address card
DC/DC is arranged on the plate, and the CAN communication need not outer power supply, is applicable to general occasion.
(1) isa bus data width: 8
Isa bus interrupts setting range: IRQ10, IRQ11, IRQ12, IRQ15
CAN network communication flank speed: 1Kbit/s
CAN network interface controller: grandson PhilipsS 1000T
CAN network transceivers: Philips8 2C250
CAN network connector: DB-9, pin type
Isolate withstand voltage: 1000VDC
HK-CAN20C plate power consumption (representative value) :+5V, 200mA
(2) driver title definition:
Virtual unit drives (VXD): be applied to Windows95/98
The kernel formula drives (SY S): be applied to Windows98/NT/2000
DOS driver: be applicable to the DOS environment
The operation principle of CAN bus communication card
On function, the non intelligent isolated form CAN of HKCAN20C bus communication plate can be divided into two parts: isa bus interface section and CAN network communication portion.
(1) isa bus interface section
The isa bus interface section is the bridge of swap data between HK-CAN20C plate and the PC CPU, and the exchanges data between HK-CAN20C plate and the PC CPU realizes by the isa bus circuit.The isa bus data width is 8.
(2) CAN communication part
This part has realized CAN physical layer and data link layer protocol, and this part function is controlled by the control circuit in the HK-CAN20C plate.
With the CAN bus communication
The driving function that the exchanges data of host computer and on-the-spot node can provide by the CAN card among the present invention, can under VB, call the dll file that the CAN card provides itself, in the VB engineering, add this dll file, so just can as calling the VB inner function, call the driving function of CAN card, so realize the exchanges data with the next module very easily.
In the compilation process of upper computer software, realize directly to call corresponding function with the communications portion of CAN bus, the main task of communicating by letter with CAN as upper main frame:, all have ready-made function to use to the initialization of CAN adapter, the transmission of CAN packets of information, the reception of CAN packets of information etc.
Initialization to CAN communication adapter mainly is each register of initialization adapter, necessary parameter such as the baud rate of interrupt vector, communication card and interrupt mask word is set, for proper communication is prepared.Realize the transmission of CAN packets of information, at first will determine 11 information identifiers of packets of information, insert frame head, and in data field, insert and need the data message that sends, send on all CAN nodes or the specific CAN node by sending function.And for using the CAN packets of information that receiver function received, also by its 11 information identifiers, judge and its source is handled by the data of data field, obtain effective information, show or store, and need sending controling instruction according to control.
Upper main frame is just by to constantly the calling of CAN driving function, and These field control modules is given in transmitting control commands or parameter setting order; Receive parameters data message and state information simultaneously from field module, carry out analyzing and processing, working control according to system needs to send corresponding order to field module more then, goes its operating state of better controlled, makes it to satisfy the requirement of The field.

Claims (6)

1. intelligent lighting system based on the CAN bus, comprise CAN bus interface circuit, microprocessor, microprocessor peripheral circuit, Executive Module and data acquisition module, it is characterized by: described CAN bus interface circuit, microprocessor peripheral circuit input connect microprocessor, the output of microprocessor connects Executive Module, the input of microprocessor connects data acquisition module, and described CAN bus interface circuit output connects PC.
2. by the described a kind of intelligent lighting system based on the CAN bus of claim 1, it is characterized by: the described microprocessor that connects adopts 8 single chip computer AT 89C52 of COMS technology manufacturing as kernel control chip.
3. by the described a kind of intelligent lighting system based on the CAN bus of claim 1, it is characterized by: described CAN bus interface circuit comprises CAN bus control unit, CAN bus transceiver.
4. by the described a kind of intelligent lighting system based on the CAN bus of claim 1, it is characterized by: described Executive Module is made up of ON-OFF control circuit and adjusting control circuit.
5. by the described a kind of intelligent lighting system based on the CAN bus of claim 1, it is characterized by: described data acquisition module is made up of illumination detection module and Infrared Detectors module.
6. by the described a kind of intelligent lighting system based on the CAN bus of claim 1, it is characterized by: described CAN bus interface circuit is connected with the serial port of PC by a transducer with the connected mode of PC or inserts an adapter in the expansion slot of PC.
CN201010023170A 2010-01-22 2010-01-22 CAN bus-based intelligent illumination control system Pending CN101742780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010023170A CN101742780A (en) 2010-01-22 2010-01-22 CAN bus-based intelligent illumination control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010023170A CN101742780A (en) 2010-01-22 2010-01-22 CAN bus-based intelligent illumination control system

Publications (1)

Publication Number Publication Date
CN101742780A true CN101742780A (en) 2010-06-16

Family

ID=42465445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010023170A Pending CN101742780A (en) 2010-01-22 2010-01-22 CAN bus-based intelligent illumination control system

Country Status (1)

Country Link
CN (1) CN101742780A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316636A (en) * 2011-06-30 2012-01-11 北京惠特优宝机电有限公司 Intelligent lighting control device based on bus mode
CN103781246A (en) * 2014-01-15 2014-05-07 陇东学院 Bus-type intelligent illumination system and method
CN106559300A (en) * 2016-11-27 2017-04-05 杭州柏年智能光电子股份有限公司 One kind is applied to intelligent lamp box CAN communication means
CN108076576A (en) * 2017-12-11 2018-05-25 大连前锋科技发展有限公司 A kind of intelligent lighting system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316636A (en) * 2011-06-30 2012-01-11 北京惠特优宝机电有限公司 Intelligent lighting control device based on bus mode
CN103781246A (en) * 2014-01-15 2014-05-07 陇东学院 Bus-type intelligent illumination system and method
CN106559300A (en) * 2016-11-27 2017-04-05 杭州柏年智能光电子股份有限公司 One kind is applied to intelligent lamp box CAN communication means
CN108076576A (en) * 2017-12-11 2018-05-25 大连前锋科技发展有限公司 A kind of intelligent lighting system

Similar Documents

Publication Publication Date Title
CN101282605B (en) Energy-saving type interior illumination wireless intelligent control system and control method based on ZigBee sensing network
CN201199739Y (en) Energy-saving type interior illumination intelligent control system based on ZigBee sensing network
CN201123155Y (en) Road lamp energy-saving intelligent control system
CN102510634A (en) LED lighting power supply management system
CN202750271U (en) Distributed intelligent lighting apparatus based on CAN-Ethernet architecture
CN101742780A (en) CAN bus-based intelligent illumination control system
CN102740570B (en) A kind of remote LED light adjusting system
CN103617712B (en) Based on ZigBee-network LED street lamp control system data transmission
CN203167376U (en) A LED street lamp control system based on wireless transmitting and receiving technology
CN206602689U (en) A kind of intelligent lighting light-adjusting module based on bus links power supply technique
CN210469832U (en) Industrial lamp networking intelligent control system
CN210986500U (en) Wireless inspection system for public lighting lamp
CN205535346U (en) A intelligent light source for machine vision
CN203219568U (en) Central control system with LED intelligent lighting sets
CN205040075U (en) Security protection light filling lamp based on wireless regulation
CN103796384A (en) Environment self-adaptation multi-scene multiplex semiconductor illumination control device
CN202818697U (en) LED illumination energy saving control system on campus
CN204241910U (en) Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer
CN203884050U (en) Intelligent illuminating energy-saving control system
CN109526111B (en) Power carrier wave three-primary-color multi-color-temperature LED street lamp control system
CN203748086U (en) A control system for illuminating lamps in a highway tunnel
CN208671152U (en) Heat-exchange unit cloud intelligent remote maintenance platform
CN202231907U (en) Electric power supply system for LED lamp
CN208398023U (en) Centrally connected power supply formula LED lighthouse, lamp bridge lighting control system
CN109639441A (en) A method of realizing that power consumption adjusts in real time based on business board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100616