A kind of single-lamp controller of separation between machine and card and single lamp control method
Technical field
The invention belongs to illumination monitoring field, be specifically related to a kind of single-lamp controller of separation between machine and card and single lamp control method.
Background technology
Existing city illumination supervisory control system have employed three-tier architecture, control centre, branch controller (BranchNode), single-lamp controller (LeafNode), control centre and branch controller adopt at present ripe GPRS/CDMA/3G/ communication mode, and branch controller and single-lamp controller adopt wireless or wired mode to carry out information interaction.Specifying information is see Fig. 1.Control centre is the Administrative Area that illumination supervision personnel monitor street lamp and night scene lamp running status and manage, and administrative staff realize access to whole city's lighting transformer/power distribution cabinet and road lamp and control by center software; Branch controller (BranchNode) and lighting transformer/power distribution cabinet are installed together, and realize controlling transformer/power distribution cabinet A.C. contactor, gather the various state informations of circuit; Single-lamp controller (LeafNode), is arranged on lamp stand place, detects the information of each light source, and realizes the switch control rule of light source.
As can be seen from Figure 1, multiple power distribution cabinet, the multiple lamp stand of each power distribution cabinet band can be administered by control centre.Street lamp spreads over each corner, city, source for street light maintenance personnel are common electrical substantially, existing road lamp maintenance work major part is exactly change light fixture, ballast, the work such as cable, as long as carry out wiring according to winding diagram, do not need complicated scene that work is set, and along with the use of single-lamp controller, need to carry out software address setting to each single-lamp controller, when single-lamp controller breaks down needs replacing time, onsite application portable computer or special equipment is just needed to carry out software address setting, high ability and sense of responsibility requirement are proposed to field service personnel.
The shortcoming of existing product:
1, existing single-lamp controller adopts software address design, corresponding information is recorded to plate and carries memory, all pass through portable computer, specific purpose tool and software are carrying out address setting to single-lamp controller, when single-lamp controller equipment break down need change time, field service personnel's (common electrical) can not be equipped with portable computer substantially, and the maintenance personal of existing street lamp does not need to understand too many computer literacy, so the maintenance of existing single-lamp controller, substantially be all found single-lamp controller fault, after being directly factory repair or single-lamp controller being shorting out, control centre is taken in unification, after new single-lamp controller being set numbering and parameter by control centre personnel, transfer to maintenance personal, scene of arriving again is installed, maintenance cycle is long, very inconvenient.
2, by carrying out training existing maintenance personal (common electrical), because the basic structure of personnel limits, the numbering (No. Id) being difficult to allow all maintenance teams and groups can learn single-lamp controller arranges work, and maintenance work launches difficulty.
Therefore, need a kind of new single-lamp controller to solve the problem.
Summary of the invention
The object of the invention is the deficiency for single-lamp controller maintenance difficult in the prior art, a kind of single-lamp controller of separation between machine and card of convenient for maintaining is provided.
For achieving the above object, the single-lamp controller of separation between machine and card of the present invention can adopt following technical scheme:
A kind of single-lamp controller of separation between machine and card, comprise operation control module, also comprise number information storage device, the number information of described single-lamp controller is stored in described number information storage device, described number information storage device connects described operation control module, and described number information storage device and described operation control module are for removably connecting.
Further, described number information storage device is Contact Type Ic Card.Contact Type Ic Card is adopted to have low cost as number information storage device, the advantage of convenient plug.
Further, described single-lamp controller also comprises communication unit, analog acquisition unit, On-off signal output unit and plate and carries memory cell, and described communication unit, analog acquisition unit, On-off signal output unit and plate carry memory cell and be all connected described operation control module.
Further, what also store in latitude and longitude information, switch lamp time, evening lamp time, light modulation parameter, alarm threshold value and supply power mode information in described number information storage device is one or more.After saving above-mentioned parameter in number information storage device, after changing single-lamp controller, just no longer need control centre to re-issue running parameter, only need to change number information storage device, improve maintenance work efficiency further.
Further, described Contact Type Ic Card is FM20C02A chip, described FM20C02A chip comprises VCC pin, a NC pin, SCL pin, GND pin, the 2nd NC pin and SDA pin, described VCC pin connects power supply, described SCL pin connects serial clock input, described GND pin ground connection, described SDA pin connects serial date transfer and output.Structure is simple, and cost is lower.
Further, described operation control module adopts JN5148-001 microcontroller, described JN5148-001 microcontroller comprises DIO18 end and DIO20 end, described Contact Type Ic Card is FM20C02A chip, described FM20C02A chip comprises VCC pin, GND pin, SCL pin and SDA pin, described DIO18 end is connected SCL pin and SDA pin respectively with DIO20 end, described VCC pin connects and is connected described SCL pin and SDA pin respectively by resistance R11 with resistance R12, described GND pin ground connection.Only need to utilize the vacant pin of original JN5148-001 microcontroller can complete the connection with Contact Type Ic Card.
Further, described Contact Type Ic Card is FM20C02A chip, and described FM20C02A chip package is IC-card.Be IC-card form by FM20C02A chip package, convenient plug.
Further, described operation control module adopts JN5148-001 microcontroller, and described Contact Type Ic Card is FM20C02A chip, describedly connects described FM20C02A chip with JN5148-001 microcontroller by I2C interface.I2C interface has two lines, a data lines, and for interaction data between operation control module and Contact Type Ic Card, single line is clock line, for providing communication synchronization between operation control module and Contact Type Ic Card.
Beneficial effect: single lamp number information is stored in number information storage device by the single-lamp controller of separation between machine and card of the present invention, when single-lamp controller breaks down time, as long as the number information storage device in original single-lamp controller is changed in new single-lamp controller.Ensure that the simplicity of replacing, the digital age now, these are changed does not need special training and study, can simple realization.Make single-lamp controller be easy to installation and maintenance and become possibility.
The invention also discloses a kind of single lamp control method of separation between machine and card, single-lamp controller is utilized to control single lamp, the number information of described single-lamp controller is stored in number information storage device, and described number information storage device and single-lamp controller are for removably connecting.
Further, described number information storage device is Contact Type Ic Card.Contact Type Ic Card is adopted to have low cost as number information storage device, the advantage of convenient plug.
Further, described single-lamp controller comprises operation control module, and described number information storage device connects described operation control module.
Beneficial effect: single lamp number information is stored in number information storage device by single lamp control method of separation between machine and card of the present invention, when single-lamp controller breaks down time, the number information storage device in original single-lamp controller is pulled up and is inserted in new single-lamp controller.Single lamp control method of the present invention ensure that the simplicity of replacing, the digital age now, and these are changed does not need special training and study, can simple realization.Make single-lamp controller be easy to installation and maintenance and become possibility.
Accompanying drawing explanation
Fig. 1 is the structural representation of the city illumination supervisory control system of prior art;
Fig. 2 is the structural representation of the single-lamp controller of separation between machine and card of the present invention;
Fig. 3 is the electrical block diagram that the single-lamp controller of prior art and the plate of storage chip carry memory cell;
Fig. 4 is the pin schematic diagram of Contact Type Ic Card;
Fig. 5 is the annexation schematic diagram of operation control module and Contact Type Ic Card;
Fig. 6 is the electrical block diagram of operation control module and Contact Type Ic Card in the single-lamp controller of separation between machine and card of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, illustrate the present invention further, these embodiments should be understood only be not used in for illustration of the present invention and limit the scope of the invention, after having read the present invention, the amendment of those skilled in the art to the various equivalent form of value of the present invention has all fallen within the application's claims limited range.
Refer to shown in Fig. 2, Fig. 4, Fig. 5 and Fig. 6, the single-lamp controller of a kind of separation between machine and card of the present invention, comprise operation control module, also comprise number information storage device, the number information of described single-lamp controller is stored in described number information storage device, and described number information storage device connects described operation control module.
Wherein, single-lamp controller also comprises communication unit, analog acquisition unit, On-off signal output unit and plate and carries memory cell, and communication unit, analog acquisition unit, On-off signal output unit and plate carry the equal concatenation operation control module of memory cell.
Preferably, what also store in latitude and longitude information, switch lamp time, evening lamp time, light modulation parameter, alarm threshold value and supply power mode information in number information storage device is one or more.After saving above-mentioned parameter in number information storage device, after changing single-lamp controller, just no longer need control centre to re-issue running parameter, only need to change number information storage device, improve maintenance work efficiency further.
Number information storage device is Contact Type Ic Card.Contact Type Ic Card is adopted to have low cost as number information storage device, the advantage of convenient plug.
Preferably, the Contact Type Ic Card that the present invention adopts is FM20C02A chip, FM20C02A chip comprises VCC pin C1, NC pin C2, SCL pin C3, GND pin C5, the 2nd NC pin C6 and SDA pin C7, VCC pin C1 connects power supply, SCL pin C3 connects serial clock input, GND pin C5 ground connection, SDA pin C7 connects serial date transfer and output.
Operation control module adopts JN5148-001 microcontroller, JN5148-001 microcontroller comprises DIO18 end, DIO19 end and DIO20 end, Contact Type Ic Card is FM20C02A chip, FM20C02A chip comprises VCC pin, GND pin, SCL pin, SDA pin and WP pin, DIO18 end, DIO19 end are connected SCL pin, WP pin and SDA pin respectively with DIO20 end, VCC pin connects and is connected SCL pin and SDA pin respectively by resistance R11 with resistance R12, GND pin ground connection.Contact Type Ic Card is FM20C02A chip, and FM20C02A chip package is IC-card.Wherein, WP pin plays write-protect effect, available protecting Contact Type Ic Card.Be IC-card form by FM20C02A chip package, convenient plug.Operation control module adopts JN5148-001 microcontroller, and Contact Type Ic Card is FM20C02A chip, connects FM20C02A chip with JN5148-001 microcontroller by I2C interface.I2C interface has two lines, a data lines, and for interaction data between operation control module and Contact Type Ic Card, single line is clock line, for providing communication synchronization between operation control module and Contact Type Ic Card.
Refer to shown in Fig. 3, the single-lamp controller of prior art all only uses plate to carry storage, and plate carries memory cell and often adopts SPI mode to carry out being connected and communicating with operation control module.The access of Fig. 3 to be operation control module U1 be NXP JN5148 chip adopts spi bus and storage chip Numomyx M25P40 realize plate carries storage is read and write.
In novel separation between machine and card list lamp control system, single-lamp controller is stored Dynamic data exchange out, and be stored in Contact Type Ic Card, be separated with single-lamp controller by Contact Type Ic Card, realize single-lamp controller and store physics decoupling zero.In separation between machine and card list lamp control system of the present invention, the information stored in Contact Type Ic Card is as follows:
1), at least will store the number information of single-lamp controller, the number information (No. Id) of single-lamp controller, as the unique identification of single-lamp controller, under same control centre, No. Id of single-lamp controller can not be repeated.In native system, the numbering of single-lamp controller is made up of 7 bit digital, and first 4 is the branch controller numbering at single-lamp controller place, and latter three be the numbering of single-lamp controller under this branch controller (general with actual street lamp post number corresponding).Had single lamp number information, single-lamp controller just can join in single lamp network, and the running parameter of this single-lamp controller just can be handed down to single-lamp controller by network by control centre operating personnel.
2), in IC-card except preserving the number information of single-lamp controller, other running parameters such as longitude and latitude, switch lamp time, evening lamp time, light modulation parameter, alarm threshold value, supply power mode can also be preserved; After saving these parameters in IC-card, after changing single-lamp controller, just no longer need control centre to re-issue running parameter, improve maintenance work efficiency further.
With the contrast of prior art:
Adopt separation between machine and card formula single-lamp controller and currently there are some similarities and differences of Related product, for SIM cards of mobile phones, something in common is all to adopt separation between machine and card, while there is difference in them:
1) be separated object different: single-lamp controller adopts separation between machine and card object to be to the operation control module of single-lamp controller be separated with memory, thus reduce system maintenance operations complexity; Mobile phone SIM is mainly in order to strengthen the fail safe that networking authentication controls, improves charging;
2) store data content different: main in separation between machine and card single-lamp controller IC-card what store is the numbering Id information of the reality of single-lamp controller, and what store in SIM cards of mobile phones be IMSI information is not the phone number MSISDN that we often say;
3) application is different: the single-lamp controller of separation between machine and card is mainly used in illumination monitoring system, belongs to Industry Control and automatic field; Mobile phone SIM is mainly used in terminal consumption user, belongs to communication field.
In a word, by separation between machine and card, make single-lamp controller configuration information by providing for simple replacement of storage card, attended operation difficulty can be reduced to greatest extent.
Embodiment
one, install for the first time
When single lamp control system is installed first, main operating process is as follows:
Step 1: production environment configuration parameter, this operation provides simple tool by producer, by UI interface visual on computer by single-lamp controller parameter read-in Contact Type Ic Card.That is: instrument is provided to carry out off-line arrangement to the information of Contact Type Ic Card by single lamp system producer, or by the online long-range setting of system;
Note: this operation also can be done off-line by on-the-spot version instrument and arrange;
Step 2: equipment is delivered a line, and Contact Type Ic Card is inserted general purpose single lamp controller, system can put into effect.
two, system maintenance
For the single-lamp controller put into effect, after breaking down for a certain reason, spare part scene can be used to make spare part and replace, associative operation is as follows:
Step 1: take off field failure single-lamp controller;
Step 2: the Contact Type Ic Card taking out this controller from failed controller, then inserts spare parts list lamp controller;
Step 3: will insert the spare parts list lamp controller connecting system of Contact Type Ic Card, spot replace has operated, and can drop into normal operation.
Single lamp number information is stored in number information storage device by the single-lamp controller of separation between machine and card of the present invention, when single-lamp controller breaks down time, be inserted in new single-lamp controller as long as the number information storage device in original single-lamp controller is pulled up.Ensure that the simplicity of replacing, the digital age now, these are changed does not need special training and study, can simple realization.Make single-lamp controller be easy to installation and maintenance and become possibility.