CN203722863U - Intelligent illumination system based on ANT wireless network - Google Patents

Intelligent illumination system based on ANT wireless network Download PDF

Info

Publication number
CN203722863U
CN203722863U CN201320808122.4U CN201320808122U CN203722863U CN 203722863 U CN203722863 U CN 203722863U CN 201320808122 U CN201320808122 U CN 201320808122U CN 203722863 U CN203722863 U CN 203722863U
Authority
CN
China
Prior art keywords
ant
interface
media
pin
main control
Prior art date
Application number
CN201320808122.4U
Other languages
Chinese (zh)
Inventor
骆岭
彭刚
Original Assignee
骆岭
彭刚
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 骆岭, 彭刚 filed Critical 骆岭
Priority to CN201320808122.4U priority Critical patent/CN203722863U/en
Application granted granted Critical
Publication of CN203722863U publication Critical patent/CN203722863U/en

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 utility model relates to the illumination system technology field, and concretely discloses an intelligent illumination system based on an ANT wireless network. In the intelligent illumination system, a master control module is in bidirectional connection with a node module through a network module. The master control module is in bidirectional connection with a PLC through a serial port RS 232. The master control module is in bidirectional connection with an upper computer through a USB interface. The ANT interface of the master control module is connected with the ANT interface of the network module. The ANT interface of the network module is connected with the ANT interface of the master control module and the ANT interface of the node module. The ANT interface of the node module is connected with the ANT interface of the network module. The master control module comprises a master control MCU, a power supply, an ANT interface, an external device interface, an LCD interface and buttons. The network module comprises an ANT network chip, a gain amplifier, an ANT interface and an ANT antenna. The node module comprises a node MCU, a power supply, an ANT interface, a lamp driver and a single node switch. each component of the intelligent illumination system is modularized, independent and personalized and is convenient to assemble. The intelligent illumination system is advantaged by simple network construction, speediness, low cost and high efficiency.

Description

A kind of intelligent illuminating system based on ANT wireless network
Technical field
The utility model relates to illuminator technical field, especially relates to a kind of intelligent illuminating system based on ANT wireless network.
Background technology
At present, along with scientific and technical fast development, a large amount of room lighting lighting control systems more and more trends towards energy-saving and environmental protection and the aspect such as convenient and swift.At present, room lighting generally adopts the wired mode of comprehensive wiring technology to realize control, and mostly uses incandescent lamp bulb and high pressure fluorescent tube.If light network is carried out to concentrated control and management, cost expense will increase greatly.Therefore the wireless lamp control system of low, the convenient management of a kind of cost and environmental protection and energy saving is more and more subject to people's attention.
Prior art exists that light efficiency is low, cost is high, energy waste is large and the defect such as management difficulty is large on the whole, and bulb and fluorescent tube fail safe is simultaneously low, and power consumption is large, and the life-span is short, shows that index is low, the shortcoming such as big for environment pollution after discarded.
Publishing house of BJ University of Aeronautics & Astronautics has published < < nRF24AP2 monolithic ANT ultra-low power consumption wireless Principles of Network and the senior application > > being write by Tan Hui, and ANT technology is described in detail.ANT agreement adopts wireless personal local area network (Personal Area Network, PAN) mechanics of communication, can guarantee connection data integrality, and be a low cost, low power consumption wireless network agreement.This agreement modulation system is to adopt before modulation to come the GFSK (Gauss frequency Shift Keying) of the spectrum width of restricting signal to modulate by a gauss low frequency filter, support the multiple network construction forms such as star-like and end-to-end, the node of supporting is 2 to more than thousands of, so, it not only can substitute the wireless network (ZigBee of the territory fidonetFido of the low-power consumption based on IEEE802.15.4 standard of present main flow, for setting up, domestic consumer there is the speech of interoperability and the HomeRF of data communication network, bluetooth, infrared etc.), and many-side is touched in advantage on energy-conservation and cost.ANT agreement is a kind of of wireless near field communication agreement, is one of mode of a kind of super low-power consumption short-distance wireless communication.Its data transmission efficiency is very high, supports sleep pattern, has 8 independent channels, and each channel is supported at most 218 nodes.ANT agreement is supported three kinds of information: broadcast, acknowledged, burst.
At present also do not have effectively to adopt ANT wireless network to solve the control problem of illuminator.
Utility model content
The technical problem that the utility model solves is to provide a kind of intelligent illuminating system based on ANT wireless network, demand for energy-conserving and environment-protective, intelligent lighting, the utility model adopt Nordic company nRF2401AG chip design a set of intelligent illuminating system based on ANT2.4G wireless network control, this system feature is: use ANT wireless network replace from before the wired or wireless control section of intelligent illuminating system, this system is installed simple, control easy, stable performance, and more energy-conservation.
In order to solve the problems of the technologies described above, the utility model provides a kind of intelligent illuminating system based on ANT wireless network: comprising:
Main control module, mixed-media network modules mixed-media and node module; Described main control module is connected with described node module is two-way by described mixed-media network modules mixed-media, and described main control module is connected with host computer is two-way, and described main control module is connected with PLC is two-way.
Preferably, described main control module is connected with PLC is two-way by serial ports RS232; Described main control module is connected by USB interface and host computer are two-way.
Be more preferably, described main control module, described mixed-media network modules mixed-media and described node module comprise respectively ANT interface; The ANT interface of described main control module connects the ANT interface of described mixed-media network modules mixed-media, the ANT interface of described mixed-media network modules mixed-media connects the ANT interface of described main control module and the ANT interface of described node module, and the ANT interface of described node module connects the ANT interface of described mixed-media network modules mixed-media.
Be more preferably, described main control module comprises main control MCU, power supply, ANT interface, external apparatus interface, LCD interface and button; Described power supply is connected with described button with described main control MCU, described ANT interface, described external apparatus interface, described LCD interface, described external apparatus interface or two-way be connected unidirectional with external equipment, described LCD interface is connected with TFT LCDs, and described button is connected with described main control MCU.
Be more preferably, described external equipment comprises computer, PLC, PDA and infrared sensor.
Be more preferably, described mixed-media network modules mixed-media comprises ANT network chip, gain amplifier, ANT interface and ANT antenna; One end of described gain amplifier and described two-way connection of ANT antenna, the other end of described gain amplifier and described two-way connection of ANT network chip, the connectivity port that described ANT network chip comprises two described ANT antennas, the two-way connection of described connectivity port of described ANT antenna and described ANT network chip; Described gain amplifier comprises RF5189 chip.
Be more preferably, described node module comprises node M CU, power supply, ANT interface, lamp driver and individual node switch; Described power supply is connected with described lamp driver with described node M CU, described ANT interface, and described lamp driver is connected with described node M CU, and described lamp driver is connected with described individual node switch; Described lamp driver comprises triode 2n5551.
Be more preferably, described main control MCU comprises flash memory microcontroller, and described flash memory microcontroller adopts STM32F103R.
Be more preferably, described ANT network chip adopts nRF2401AG chip.
Be more preferably, described node M CU adopts PIC16F627A chip; Described PIC16F627A is containing 8 CMOS flash memory single-chip microcomputers of 16 independent, direction I/O pins and two analog comparators.
Master control process of the present utility model is: main control module powers on; Initialization mixed-media network modules mixed-media; By mixed-media network modules mixed-media, connect ANT network and each node module communication; Scan A NT network, if find new node, for new node distributes address; Master system in succession; Carry out user program, sending controling instruction is to the node module of corresponding address; Wait for that " controlling successfully " signal returns.
Node control process of the present utility model is: node module powers on; Initialization mixed-media network modules mixed-media; By mixed-media network modules mixed-media, connect ANT network and main control module communication; When node module receives that after the data command of main control module transmission, node module controller is analyzed instruction, makes the corresponding action of turning on light and turn off the light after analysis; After having moved by mixed-media network modules mixed-media to main control module return " successful instruction ".
Wherein, described nRF2401AG is a kind of model of the lead-free process of Nordic company exploitation, and the feature of described nRF2401AG is: lead-free process, work in 2.4~2.5GHz ISM band, and power output and communication channel can be configured by program.Chip energy consumption is very low, and during with the power emission of-5dBm, operating current only has 10.5mA, and during reception, operating current only has 18mA, multiple low-power working mode, and energy-saving design is more convenient.DuoCeiverTM is that an antenna of a kind of use just can receive and send the technology of the ANT network information, this technology is built in chip internal in Nordic company, its DuoCeiverTM technology makes nRF2401AG can use the same antenna, receives the data of two different channels simultaneously.Its performance parameter is: (1) small size, QFN24 5x5mm encapsulation; (2) wide voltage power supply scope, 1.9V~3.6V; 3. operating temperature range ,-40 ℃~+ 80 ℃; (4) operating frequency range, 2.400GHz~2.524GHz; (5) message transmission rate, 250Kbps, 1Mbps; (6) low power dissipation design, operating current 18mA during reception, 13mA during 0dBm power emission, is only 400uA during power-down mode; (7) multichannel mode of operation, 125 data channel, passage switching time≤200us, meets multi-point communication and frequency modulation needs; (8) CRC check of hardware and the address of point-to-multipoint are controlled; (9) SPI PORT COM (at a high speed, full duplex, synchronous communication), is applicable to connecting with various MCU (Micro Control Unit, micro-control unit), and programming is simple; (10) can operating frequency, address, transmission rate and data packet length be set by software; (11) MCU can judge whether data receiver soon by finishing receiving pin.
Wherein, the exploitation of described PIC16F627A Wei Yong Microchip company, as the switch of lamp individual node control, dimming controlling module.PIC16F627A feature is: PIC16F627A is 8 CMOS (Complementary Metal Oxide Semiconductor of 18 pins, complementary metal oxide semiconductors (CMOS)) flash memory single-chip microcomputer, little, the built-in high precision oscillator of volume, application circuit are easy, there is multipurpose, low cost, high-performance and complete static feature, and built-in comparator module can be done dimmer circuit design, the maximum electric current of filling with of I/O pin can reach 25mA arbitrarily, can be directly as lamp control switch pin.Its performance parameter is: (1) operating rate can be from DC to 20MZH; Article (2) 35, single-word instruction; (3) the inner 4MHZ oscillator of high accuracy; (4) energy-conservation park mode; (5) separate oscillators house dog; (6) wide operating voltage (2.0V-5.5V); (7) technical grade temperature range; (8) flash memory EEPROM can write 100,000 times 1024 bytes; (9) EEPROM (Flectrically Erasable Programmable Read-Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)) can write 128 bytes 1,000,000 times; (10) the data maintenance phase is 40 years; (11) 16 independent, direction I/O pins; (12) two analog comparators.
Wherein, the input and output pin that described I/O pin is exactly chip.Mainly to carry out the port of exchanges data with external equipment.
Wherein, described flash memory microcontroller adopts the STM32F103R of ARM company as the main control module of lamp, and STM32F103R has abundant external apparatus interface, can be by ANT network management centralization, variation.The feature of STM32F103R is: the ARM Cortex-M3 kernel of STM32 series 32 digit flash memory microcontrollers based on breakthrough, this is a kernel that aims at Embedded Application and develop.Cortex-M3 kernel: Britain ARM company tries hard to recommend kernel, is devoted to substitute 8/16 single-chip microcomputers, uses THUMB-2 instruction set, 32 performances, and 16 bit densitys, compare with ARM7TDMI, and it is fast 35% that Cortex-M3 kernel is wanted, and code reduces 45%.STM32 series of products have benefited from the multinomial improvement that Cortex-M3 carries out on framework, when comprising improving performance, improved again the Thumb-2 instruction set of code density, the interrupt response increasing substantially, and all new functions all have the power consumption levels of industry optimum simultaneously.Its performance parameter is: (1) core, the Cortex of ARM32 position tM-M3CPU, 72MHz, up to 90DMips, 1.25DMips/MHz, monocycle hardware multiplication and division, accelerate to calculate; (2) memory, from 32K byte to 128K byte flash memory program storage, from 6K byte to 20K byte SRAM, multiple bootstrapping function; (3) clock, reset and power supply management, power and I/O pin for 2.0 to 3.6 volts, (POR/PDR) powers on/power-off restoration, programmable voltage monitor (PVD), down Monitor Unit device, embedded 4 to 16MHz high speed crystal oscillators, the RC oscillator of the embedded 8MHz through the adjustment of dispatching from the factory, the RC oscillator of embedded 40kHz, embedded PLL supply cpu clock, the RTC oscillator of the outside 32kHz crystal of embedded use; (4) low-power consumption: 3 kinds of battery saving modes, sleep, shutdown and standby mode, VBAT is RTC and backing register power supply; (5) 2 12 analog to digital converters, 1us change-over time (16 passage), conversion range is 0 to 3.6V, two samplings and keep function, temperature sensor; (6) debugging mode, string line debugging (SWD) and jtag interface; (7) DMA, 7 passage dma controllers, the peripheral hardware of support: timer, ADC, SPI, I2C and USART; (8) 80 quick I/O mouths nearly, the I/O mouth of 26/36/51/80 multi-function double-way 5V compatibility, all I/O mouths 16 external interrupt of can videoing; (9) reach 7 timers, reach 3 16 synchronous bit timing devices, each timer has nearly 4 passages for input capture/output comparison/PWM or step-by-step counting, 16 senior control timers of 6 passage, nearly 6 road PWM outputs, dead band is controlled, edge/justified waveform and brake hard, 2 WatchDog Timers (independently with Window-type), system time timer: 24, with automatic value-added tax function; (10) reach 9 communication interfaces, reach 2 I2C interfaces (SMBus/PMBus), reach 3 USART interfaces, support ISO7816, LIN, IrDA interface and modulation /demodulation are controlled, nearly 2 SPI synchronous serial interfaces (18 megabit per second), CAN interface (2.0B initiatively), USB2.0 is interface at full speed.
Wherein, described PLC is the abbreviation of English Programmable Logic Controller, i.e. programmable logic controller (PLC) is a kind of electronic system of digital operation operation, aims in industrial environment application and design.It adopts a class programmable memory, for its internally stored program, and actuating logic computing, sequential control, regularly, the user oriented instructions such as counting and arithmetical operation, and control various types of machinery or production process by numeral or analog pattern input/output.It is the core of Industry Control.The communication link of PLC can be divided into wired and wireless two kinds, and wired data link has RS-485 etc., and wireless data link has MDS data radio station etc.
Wherein, described MCU (Micro Control Unit) Chinese is micro-control unit, claim again one chip microcomputer (Single Chip Microcomputer) or single-chip microcomputer, refer to appearance and development thereof along with large scale integrated circuit, by the CPU of computer, RAM, ROM, timer conter and multiple I/O Interface integration on a slice chip, form the computer of chip-scale, for different application scenarios, do various combination and control.MCU plays nucleus of leadership equipment in the video conference of modern popular, sets Authorization Attributes just can set up a complete video conference network by MCU equipment to lower terminal equipment.
Wherein, described LCD (abbreviation of Liquid Crystal Display) liquid crystal display.The structure of LCD is to place liquid crystal cell in the middle of two parallel glass substrates, TFT (thin-film transistor) is set on lower baseplate glass, the upper substrate colored filter that arranges on glass, by the signal on TFT and voltage, change to control the rotation direction of liquid crystal molecule, thereby reach, whether control each pixel polarised light outgoing and reach demonstration object.LCD has substituted CRT now becomes main flow, and price has also declined a lot, and universal fully.
Wherein, described RS232 is one of communication interface on personal computer, the asynchronous transmission standard interface of being formulated by Electronic Industries Association (Electronic Industries Association, EIA).Conventionally RS-232 interface occurs with 9 pins (DB-9) or the kenel of 25 pins (DB-25), on general personal computer, has two groups of RS-232 interface, is called COM1 and COM2.
Wherein, described ANT is a kind of build instrument based on Java.In theory, it is similar to the make in (Unix) C a bit, but there is no the defect of make.Different from the mode of extension based on shell-command, Ant expands by the class of Java.(user) needn't write shell-command, and configuration file, based on XML, is set by calling target, just can carry out various task.Each task is moved by the object of having realized a specific T ask interface.ANT itself is a flow process script engine, for the compiling of automation caller finished item, and packing, test etc.Except based on JAVA platform independence, the form of script, based on XML, also will be safeguarded well than make script.
Wherein, described USB is the abbreviation of English Universal Serial Bus (USB), and its Chinese is referred to as " logical getting lines crossed, is being an external bus standard, for being connected and communication of standard computer and external equipment.It is the interfacing that is applied in PC field.The plug and play of USB interface support equipment and warm connection function.USB will combine proposition in the end of the year 1994 by Intel, Compaq, IBM, Microsoft Deng Duo company.
Wherein, described TFT is the abbreviation of English Thin Film Transistor (Thin Film Transistor (TFT)), refers to that each the liquid crystal pixel point in liquid crystal display is all to be driven by the thin-film transistor being integrated in thereafter.Thereby can accomplish high-speed high brightness high-contrast display screen information, TFT-LCD (Thin Film Transistor-LCD) is a kind of of most liquid crystal display
Wherein, described PDA (Personal Digital Assistant), is called again palmtop PC, can help us to complete in movement and work, study, amusement etc.By making, for classification, to be divided into technical grade PDA and consumer goods PDA.Technical grade PDA is mainly used in industrial circle, common are barcode scanner, rfid read write line, POS machine etc. and can be called PDA; It is many that consumer goods PDA comprises, smart mobile phone, panel computer, hand-held game machine etc.
The utility model compared with prior art, has following beneficial effect:
The utility model provides a kind of intelligent illuminating system based on ANT wireless network, the utility model is based on ANT technology, ANT technology is a kind of Radio Transmission Technology with great potential, at aspects such as transmission rate, transmission range, power consumption, costs, has and has outstanding advantage.The sharpest edges of ANT wireless network are exactly that power consumption is extremely low, and while working under ANT wireless network environment, average power consumption is minimum reaches about 10uA, and power consumption during dormancy even can be low to moderate 0.5uA; And, ANT wireless network is encapsulated in chip internal completely by relevant wireless network protocol, anti-interference agreement and super low-power consumption power management etc., in the situation that need not expend a large amount of time and efforts, just can set up a safety, stable wireless network, and be absorbed in the realization of application and function, greatly shortened the field erected cycle.
Each part design modularization of the utility model intelligent illuminating system, independent, personalization, configuration is convenient, convenient management; Structure network is easy, swift to operate, with low cost, and efficiency is high; Circuit all adopts low-power consumption, high performance chip design, has also guaranteed stability and the expansion advantage of system when saving the energy and reducing costs; Adopt button cell power supply can make working life for the several years; Programming automatic scan network, automatic allocated channel and address, network management and establishment are very easy; Various ways access network makes network control variation, and practicality is stronger.
Accompanying drawing explanation
Fig. 1 exemplarily shows principle schematic of the present utility model;
Fig. 2 exemplarily shows primary control program flow chart of the present utility model;
Fig. 3 exemplarily shows node procedure flow chart of the present utility model;
Fig. 4 exemplarily shows the utility model structural representation;
Fig. 5 exemplarily shows the structural representation of the utility model main control module;
Fig. 6 exemplarily shows the structural representation of the utility model mixed-media network modules mixed-media;
Fig. 7 exemplarily shows the structural representation of the utility model node module.
Reference numeral shown in Fig. 4~7 is as follows: 1, main control module, 2, mixed-media network modules mixed-media, 3, node module, 4, PLC, 5, host computer; 101, main control MCU, 102, power supply, 103, ANT interface, 104, external apparatus interface, 105, LCD interface, 106, button; 201, ANT network chip, 202, gain amplifier, 203, ANT antenna; 301, node M CU, 302, power supply, 303, lamp driver.
Embodiment
For the technical problem that the utility model solves, the technical scheme providing are provided better, below in conjunction with drawings and Examples, the utility model is further elaborated.Specific embodiment described herein is only in order to explain enforcement of the present utility model, but and is not used in restriction the utility model.
In order to solve the problems of the technologies described above, the utility model provides a kind of intelligent illuminating system based on ANT wireless network,
In a preferred embodiment, Fig. 4 exemplarily shows structural representation of the present utility model; Comprise: main control module 1, mixed-media network modules mixed-media 2, node module 3, main control module 1 is by 3 two-way connections of mixed-media network modules mixed-media 2 and node mould, and main control module 1 is connected with host computer 5 is two-way by USB interface, and main control module 1 is connected with PLC is two-way by serial ports RS232.The utility model networking is simple, and convenient management is swift to operate, saves the energy and with low cost.
In the embodiment being more preferably, described main control module 1, described mixed-media network modules mixed-media 2 and described node module 3 comprise respectively ANT interface 103; The ANT interface 103 of described main control module 1 connects the ANT interface 103 of described mixed-media network modules mixed-media 2, the ANT interface 103 of described mixed-media network modules mixed-media 2 connects the ANT interface 103 of described main control module 1 and the ANT interface 103 of described node module 3, and the ANT interface 103 of described node module 3 connects the ANT interface 103 of described mixed-media network modules mixed-media 2.
In the embodiment being more preferably, Fig. 5 exemplarily shows the structural representation of the utility model main control module; Described main control module 1 comprises: main control MCU 101, power supply 102, ANT interface 103, external apparatus interface 104, LCD interface 105 and button 106, power supply 102 provides working power for all the other each parts in main control module, external apparatus interface 104 and unidirectional or two-way connections the such as external equipment computer, PLC, PDA and infrared sensor, LCD interface 105 is connected with 7 cun of TFT LCDs, state and information for display system, button 106 is connected with main control MCU 101, for controlling user program.
In the embodiment being more preferably, Fig. 6 exemplarily shows the structural representation of the utility model mixed-media network modules mixed-media; Described mixed-media network modules mixed-media 2 comprises: ANT network chip 201, gain amplifier 202, ANT interface 103 and ANT antenna 203, one end 202-1 of gain amplifier 202 is connected with ANT antenna 203 is two-way, the other end 202-2 of gain amplifier 202 is connected with ANT network chip 201 is two-way, and gain amplifier 202 is for amplifying the reception of ANT network and transmission signal gain; The connectivity port that ANT network chip 201 comprises two ANT antennas 203, the two-way connection of described connectivity port of ANT antenna 203 and ANT network chip 201, ANT antenna 203 is for receiving and sending ANT wireless network signal, and the ANT wireless network to bidirectionally of realizing whole system connects.
In the embodiment being more preferably, described gain amplifier mainly be take RF5189 chip as main, totally 12 pins:
Pin 1 connects 1 pin of 50R resistance R 3, and 2 pin of R3 connect 14 pin of nRF2401;
Pin 2 connects the negative pole of power module;
Pin 3 connects the negative pole of power module;
Pin 4 connects 1 pin of 1000pF capacitor C 11, and 2 pin of C11 connect power cathode;
Pin 5 connects 1 pin of 1000pF capacitor C 12, and 2 pin of C12 connect power cathode;
Pin 6 connects 1 pin of 10nH inductance L 3, and 2 pin of L3 connect power cathode;
Pin 7 connects 1 pin of 1000pF capacitor C 13, and 2 pin of C13 connect power cathode;
Pin 8,9 connects 1 pin of 50R resistance R 4, and 2 pin of R4 connect antennal interface;
Pin 10,11 connects 1 pin of 12nH inductance L 4, and 2 pin of L4 connect positive source;
Pin 12 connects the positive pole of power module.
In the embodiment being more preferably, Fig. 7 exemplarily shows the structural representation of the utility model node module; Described node module 3 comprises: node M CU301, power supply 302, ANT interface 103, lamp driver 303 and individual node switch, power module 302 provides working power for each module, lamp driver 304 is controlled by node M CU301 and is connected with main control module 1 by mixed-media network modules mixed-media 2, node M CU301 exports corresponding response to lamp driver 303 after receiving signal, lamp driver 303 is connected with described individual node switch, and lamp driver 303 is controlled lamp and opened or closed.
In the embodiment being more preferably, described lamp driver mainly be take triode 2n5551 as main, totally 3 pins:
Pin 1 connects the negative pole of power module for transistor collector;
Pin 2 connects 1 pin of 2K resistance R 9 for transistor base, and 2 pin of R9 connect 4 pin of optocoupler PC817, connect 1 pin of 10K resistance R 10, and 2 pin of R10 connect the negative pole of power module;
Pin 3 is succeeded 1 pin of electrical equipment LS1 for the emitter of triode, and 2 pin of LS1 connect the cathode power supply of power module.
In the embodiment being more preferably, described main control MCU comprises flash memory microcontroller, and described flash memory microcontroller adopts STM32F103R.
In the embodiment being more preferably, described ANT network chip adopts nRF2401AG chip.
In the embodiment being more preferably, described node M CU adopts PIC16F627A chip; Described PIC16F627A is containing 8 CMOS flash memory single-chip microcomputers of 16 independent, direction I/O pins and two analog comparators.
Master control process of the present utility model is: main control module powers on; Initialization mixed-media network modules mixed-media; By mixed-media network modules mixed-media, connect ANT network and each node module communication; Scan A NT network, if find new node, for new node distributes address; Master system in succession; Carry out user program, sending controling instruction is to the node module of corresponding address; Wait for that " controlling successfully " signal returns.
Node control process of the present utility model is: node module powers on; Initialization mixed-media network modules mixed-media; By mixed-media network modules mixed-media, connect ANT network and main control module communication; When node module receives that after the data command of main control module transmission, node module controller is analyzed instruction, makes the corresponding action of turning on light and turn off the light after analysis; After having moved by mixed-media network modules mixed-media to main control module return " successful instruction ".
Specific embodiment:
Mixed-media network modules mixed-media: be mainly to take nRF2401AG chip as main, totally 24 pins:
Pin 1 connects---CE port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 2 connects---DR2 port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 3 connects---CLK2 port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 4 connects---DOUT2 port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 5 connects---CS port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 6 connects---DR1 port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 7 connects---CLK1 port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 8 connects---DATA port, and purposes is in node module and main control module communication, realizes controlled in wireless;
Pin 11,12 connects---16M crystal oscillator, and purposes is to provide the operating frequency of nRF2401AG chip;
Pin 13 connects---1 end, 1 end of 22pF polarity free capacitor C4 and 1 end of 22nH inductance L 2 of 22nF polarity free capacitor C3, and purposes is the resonance ability that strengthens antenna;
Pin 14 connects---1 end of 2 ends of 22nH inductance L 2,2 ends of 3.6nH inductance L 1 and 1pF polarity free capacitor C10, and the 2 termination antennal interfaces of C10, purposes is by antenna reception and sending and receiving wireless signal;
Pin 15 connects---1 end of 3.6nH inductance L 1 and 1 end of 1pF polarity free capacitor C9, and the 2 termination signal grounds of C9, purposes is the resonance ability that strengthens antenna;
Pin 19 connects---1 end of 22K/0.1W resistance R 2, and the 2 termination signal grounds of R2, purposes is to provide the reference value of reception of wireless signals;
Pin 23 connects---and PWR-UP port, purposes is to provide node module and the power on control end of main control module to nRF2401AG chip.
Node control module: mainly take PIC16F627A chip as main, totally 18 pins:
Pin 2 connects---2 pin of 100R/1W resistance R 8, and 1 pin of R8 connects 1 pin of PC817 photoelectrical coupler U6, and 2 pin of U6 connect power supply ground, and purposes is to control external equipment, such as: lamp, alarm, door etc.;
Pin 6 connects---3 pin of PC817 photoelectrical coupler U5 and the pull-up resistor R6 of 1K/1W, and 4 pin of U5 connect power supply ground, and purposes is to receive external control, for example, switch, infrared sensor, doppler sensor etc.;
Pin 7 connects---PWR-UP port, and purposes is to electric control on mixed-media network modules mixed-media, in the situation that not needing mixed-media network modules mixed-media work, makes mixed-media network modules mixed-media in resting state, real energy-saving and emission-reduction;
Pin 8 connects---CE port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 9 connects---CS port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 10 connects---DR2 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 11 connects---CLK2 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 12 connects---DOUT2 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 13 connects---DATA port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 15 connects---DR1 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 16 connects---CLK1 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 18 connects---2 pin of 100R/1W resistance R 7, and 1 pin of R7 connects analog input port, and purposes is the input that receives photo sensor device, realize light-operatedly, light control functionality can make system more intelligent, without worker management, self energy conforms, and controls the light and shade of lamp;
Main control module: mainly take STM32F103R chip as main, totally 64 pins;
Pin 3,4 connects---32.768MHZ crystal oscillator and 15pF polarity free capacitor, and purposes is to provide the high-frequency of STM32F103R;
Pin 5,6 connects---12MHZ crystal oscillator and 27pF polarity free capacitor, and purposes is to provide the standard frequency of STM32F103R;
Pin 8 connects---8 cun of TFT liquid crystal display screen LDO pin, liquid crystal display screen data-interface;
Pin 9 connects---8 cun of TFT liquid crystal display screen LD1 pin, liquid crystal display screen data-interface;
Pin 10 connects---8 cun of TFT liquid crystal display screen LD2 pin, liquid crystal display screen data-interface;
Pin 11 connects---8 cun of TFT liquid crystal display screen LD3 pin, liquid crystal display screen data-interface;
Pin 24 connects---8 cun of TFT liquid crystal display screen LD4 pin, liquid crystal display screen data-interface;
Pin 25 connects---8 cun of TFT liquid crystal display screen LD5 pin, liquid crystal display screen data-interface;
Pin 37 connects---8 cun of TFT liquid crystal display screen LD6 pin, liquid crystal display screen data-interface;
Pin 38 connects---8 cun of TFT liquid crystal display screen LD7 pin, liquid crystal display screen data-interface;
Pin 39 connects---8 cun of TFT liquid crystal display screen LCD_RD pin, liquid crystal display screen control interface;
Pin 40 connects---8 cun of TFT liquid crystal display screen LCD_RW pin, liquid crystal display screen control interface;
Pin 51 connects---8 cun of TFT liquid crystal display screen LCD_RS pin, liquid crystal display screen control interface;
Pin 52 connects---8 cun of TFT liquid crystal display screen LCD_RST pin, liquid crystal display screen control interface;
Pin 53 connects---8 cun of TFT liquid crystal display screen LCD_CS pin, and liquid crystal display screen control interface, purposes directly drives liquid crystal display screen to realize visualized management;
Pin 42 connects---11 pin of MAX232 chip U2;
Pin 43 connects---9 pin of MAX232 chip U2, and purposes is implemented in the serial communication of external equipment;
Pin 44 connects---1 pin of 27R/1W resistance R 21, and 2 pin of R21 connect the data negative terminal of USB interface;
Pin 45 connects---1 pin of 27R/1W resistance R 22, and 2 pin of R22 connect the data anode of USB interface, and purposes is to realize the communication of USB interface;
Pin 61 connects---4 pin of SN65HVD23D chip;
Pin 62 connects---9 pin of SN65HVD23D chip, and purposes is to realize the communication of CAN bus;
Pin 17 connects---CE port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 27 connects---PWR-UP port, and purposes is to electric control on mixed-media network modules mixed-media, in the situation that not needing mixed-media network modules mixed-media work, makes mixed-media network modules mixed-media in resting state, real energy-saving and emission-reduction;
Pin 29 connects---DR2 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 30 connects---CLK2 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 33 connects---DOUT2 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 34 connects---DR1 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 35 connects---CLK1 port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 36 connects---DATA port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 41 connects---CS port, and purposes is in mixed-media network modules mixed-media communication, realizes controlled in wireless;
Pin 20 connects---SD card data monitoring mouth DAT3 port;
Pin 21 connects---1 pin of 100R/1W resistance R 11, and 2 pin of R11 connect SD card clock bit CLK port;
Pin 22 connects---1 pin of 100R/1W resistance R 10, and 2 pin of R10 connect SD card data O position DATO port;
Pin 23 connects---1 pin of 100R/1W resistance R 12, and 2 pin of R12 connect SD card instruction CMD port;
20-23 interface purposes is by SD port, to read the user program of SD card reason, makes the system can independent operating, need not rely on the control of host computer, makes the use of system more simple and efficient.
Button: mainly take confirm button, exit button, on select button, lower button, left button, the right button that selects of selecting of selecting as main;
Confirm that the pin 1 of button connects the negative pole of power module;
The pin 2 of confirmation button connects 10K pull-up resistor, and (pull-up resistor is exactly by uncertain signal, by the resistance on high potential in circuit, pin clamper at high level) R15, connect disappearing of 100nF and tremble electric capacity (because button is mechanical movement, when contact, can produce the signal that burr voltage produces a plurality of low and high levels, can make single-chip microcomputer think by mistake by many times, add after electric capacity that the principle that the two ends electricity by electric capacity can not suddenly change eliminates the burr voltage that mechanical movement produces) C9, connect 36 pin of STM32F103R chip;
The pin 1 that exits button connects the negative pole of power module;
The pin 2 that exits button meets 10K pull-up resistor R20, connects 29 pin that disappearing of 100nF trembled electric capacity () C14, connect STM32F103R chip;
On select the pin 1 of button to connect the negative pole of power module;
On select the pin 2 of button to meet 10K pull-up resistor R16, connect 35 pin that disappearing of 100nF trembled capacitor C 10, connect STM32F103R chip;
The lower pin 1 that selects button connects the negative pole of power module;
Select the pin 2 of button to meet 10K pull-up resistor R17 down, connect 34 pin that disappearing of 100nF trembled capacitor C 11, connect STM32F103R chip;
The left pin 1 that selects button connects the negative pole of power module;
Leftly select the pin 2 of button to meet 10K pull-up resistor R18, connect 33 pin that disappearing of 100nF trembled capacitor C 12, connect STM32F103R chip;
The right pin 1 that selects button connects the negative pole of power module;
Rightly select the pin 2 of button to meet 10K pull-up resistor R19, connect 30 pin that disappearing of 100nF trembled capacitor C 13, connect STM32F103R chip;
(prime of power module is that our company exchanges at the 220V of buying on the market the Switching Power Supply that becomes 5V direct current 1W);
Power module 102 mainly be take LM1117-3.3 chip as main, totally 3 pins;
Pin 1 connects the negative pole of 5V power interface;
Pin 2 connects and connects 3.3V power supply pin 12 pin, 18 pin, 31 pin, 47 pin, 63 pin of STM32F103R chip, the 3.3V power supply pin that connects ANT module, the 3.3V power supply pin that connects LCD module, the 3.3V power supply pin of key-press module for LM1117-3.3 output 3.3V Power supply pin;
Pin 3 connects the positive pole of 5V power interface.
More than by preferred and description that specific embodiment is detailed the utility model; but those skilled in the art should be understood that; the utility model is not limited to the above embodiment; all within basic principle of the present utility model; any modification of doing, combine and be equal to replacement etc., within being all included in protection range of the present utility model.

Claims (9)

1. the intelligent illuminating system based on ANT wireless network, is characterized in that, comprising: main control module, mixed-media network modules mixed-media and node module; Described main control module is connected with described node module is two-way by described mixed-media network modules mixed-media, and described main control module is connected with host computer is two-way, and described main control module is connected with PLC is two-way; Described main control module comprises main control MCU, power supply, ANT interface, external apparatus interface, LCD interface and button, described power supply is connected with described button with described main control MCU, described ANT interface, described external apparatus interface, described LCD interface, described external apparatus interface or two-way be connected unidirectional with external equipment, described LCD interface is connected with TFT LCDs, and described button is connected with described main control MCU; Described mixed-media network modules mixed-media comprises ANT network chip, gain amplifier, ANT interface and ANT antenna, one end of described gain amplifier and described two-way connection of ANT antenna, the other end of described gain amplifier and described two-way connection of ANT network chip, the connectivity port that described ANT network chip comprises two described ANT antennas, the two-way connection of described connectivity port of described ANT antenna and described ANT network chip; Described node module comprises node M CU, power supply, ANT interface, lamp driver and individual node switch, described power supply is connected with described lamp driver with described node M CU, described ANT interface, described lamp driver is connected with described node M CU, and described lamp driver is connected with described individual node switch.
2. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described main control module is connected with PLC is two-way by serial ports RS232; Described main control module is connected by USB interface and host computer are two-way.
3. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described main control module, described mixed-media network modules mixed-media and described node module comprise respectively ANT interface; The ANT interface of described main control module connects the ANT interface of described mixed-media network modules mixed-media, the ANT interface of described mixed-media network modules mixed-media connects the ANT interface of described main control module and the ANT interface of described node module, and the ANT interface of described node module connects the ANT interface of described mixed-media network modules mixed-media.
4. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described external equipment comprises computer, PLC, PDA and infrared sensor.
5. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described main control MCU comprises flash memory microcontroller, and described flash memory microcontroller adopts STM32F103R.
6. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described gain amplifier comprises RF5189 chip.
7. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described ANT network chip adopts nRF2401AG chip.
8. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described lamp driver comprises triode 2n5551.
9. the intelligent illuminating system based on ANT wireless network according to claim 1, is characterized in that, described node M CU adopts PIC16F627A chip; Described PIC16F627A is containing 8 CMOS flash memory single-chip microcomputers of 16 independent, direction I/O pins and two analog comparators.
CN201320808122.4U 2013-12-10 2013-12-10 Intelligent illumination system based on ANT wireless network CN203722863U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320808122.4U CN203722863U (en) 2013-12-10 2013-12-10 Intelligent illumination system based on ANT wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320808122.4U CN203722863U (en) 2013-12-10 2013-12-10 Intelligent illumination system based on ANT wireless network

Publications (1)

Publication Number Publication Date
CN203722863U true CN203722863U (en) 2014-07-16

Family

ID=51161980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320808122.4U CN203722863U (en) 2013-12-10 2013-12-10 Intelligent illumination system based on ANT wireless network

Country Status (1)

Country Link
CN (1) CN203722863U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470058A (en) * 2014-10-10 2015-03-25 江苏科技大学 Partition illumination energy-saving switch control system and control method thereof
CN110932758A (en) * 2019-11-28 2020-03-27 国网福建省电力有限公司漳州供电公司 Low-voltage power line layered ant colony routing method based on non-overlapping clustering

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470058A (en) * 2014-10-10 2015-03-25 江苏科技大学 Partition illumination energy-saving switch control system and control method thereof
CN104470058B (en) * 2014-10-10 2017-04-05 江苏科技大学 A kind of control method of subregion lighting energy-saving switch control system
CN110932758A (en) * 2019-11-28 2020-03-27 国网福建省电力有限公司漳州供电公司 Low-voltage power line layered ant colony routing method based on non-overlapping clustering

Similar Documents

Publication Publication Date Title
CN103167691B (en) Light emitting diode (LED) driving power supply and dimming system
Wang et al. System of wireless temperature and humidity monitoring based on Arduino Uno Platform
CN201765685U (en) Sensing node circuit applicable to various types of sensors
Chi et al. A reconfigurable smart sensor interface for industrial WSN in IoT environment
CN101853565B (en) Ultra-low power consumption wireless temperature measurement node based on RFID
Mehta ESP 8266: a breakthrough in wireless sensor networks and internet of things
CN102331485B (en) Portable water quality monitor
CN201262702Y (en) Wireless sensor network node based on Bluetooth
CN101252553B (en) Wireless sensor network multi-interface gateway equipment with terminal function and uses thereof
CN203340336U (en) LED driving power and light modulation system
CN201215495Y (en) Economic multifunctional agricultural environmental information collecting device
CN101309297A (en) Multi-type appliance control method based on multimedia wireless sensor network
CN207625574U (en) Communication control unit and system
CN204406757U (en) A kind of Internet of Things experimental box based on embedded system
CN204589664U (en) A kind of Intellective airer based on Bluetooth control
CN201278536Y (en) Wireless sensor network multi-port gateway equipment with terminal function
CN202134753U (en) Remote control programmable time switch socket
CN101945497A (en) Wireless sensor network node for collecting energy
CN203338121U (en) Electric appliance switch identification and control circuit based on active RFID technology
CN105403248B (en) A kind of low-power consumption environmental monitoring system
CN102799152A (en) Intelligent household control system based on bluetooth
CN101917207A (en) Sensing node circuit adapting to various sensors
CN202549151U (en) Wireless monitoring and control practical training system of street lamp
CN204904716U (en) Electron perpetual calendar based on singlechip
CN204576099U (en) A kind of intelligent domestic system based on 6LoWPAN technology

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
EXPY Termination of patent right or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140716

Termination date: 20151210