Illumination monitoring method and device

文档序号:787796 发布日期:2021-04-09 浏览:6次 中文

阅读说明:本技术 照明监控方法及设备 (Illumination monitoring method and device ) 是由 孟志强 何湘桂 周华安 李端峰 高子昂 邱海贵 郑瑶 刘小可 于 2020-12-21 设计创作,主要内容包括:本发明涉及照明技术领域,公开一种照明监控方法及设备,以实现远距离调控并提高调控效率。本发明方法包括:部署照明系统,所述照明系统包括:经485总线连接的主机和单灯控制器,各所述单灯控制器分别连接有1路或1个受控灯具;所述主机从各所述单灯控制器获取受控灯具的状态信息,并根据获取的状态信息判断对应的受控灯具是否发生故障,当确认相应的受控灯具发生故障时,启动相对应的故障处理预案。例如:当任一受控灯具发生故障时,指示与故障灯具相邻且能正常工作的其他受控灯具通过增强亮度进行补光。(The invention relates to the technical field of illumination, and discloses an illumination monitoring method and equipment, which are used for realizing remote control and improving control efficiency. The method comprises the following steps: deploying a lighting system, the lighting system comprising: the system comprises a host and single lamp controllers which are connected through a 485 bus, wherein each single lamp controller is respectively connected with 1 path or 1 controlled lamp; the host computer acquires the state information of the controlled lamp from each single lamp controller, judges whether the corresponding controlled lamp fails according to the acquired state information, and starts a corresponding failure processing plan when the corresponding controlled lamp fails. For example: when any controlled lamp fails, other controlled lamps which are adjacent to the failed lamp and can normally work are indicated to supplement light by enhancing brightness.)

1. A lighting monitoring method, comprising:

deploying a lighting system, the lighting system comprising: the system comprises a host and single lamp controllers which are connected through a 485 bus, wherein each single lamp controller is respectively connected with 1 path or 1 controlled lamp;

the host computer acquires the state information of the controlled lamp from each single lamp controller, judges whether the corresponding controlled lamp fails according to the acquired state information, and starts a corresponding failure processing plan when the corresponding controlled lamp fails.

2. The method according to claim 1, wherein during normal operation, each single lamp controller executes power switching, DA dimming and status reporting processing of a controlled lamp according to instructions of the host; the fault handling plan comprises: when any controlled lamp fails, other controlled lamps which are adjacent to the failed lamp and can normally work are indicated to supplement light.

3. The method of claim 2, wherein the single lamp controller comprises: the relay module is arranged between the 220V mains supply input and the controlled lamp power supply module; the relay module is connected with the single chip microcomputer; the single chip microcomputer is connected with a 485 communication module which is used for communicating with a host based on a 485 bus; the first power supply conversion module is used for converting 220V commercial power input into 12V; a second power conversion module cascaded with the first power conversion module to convert 12V to 3.3V; the power supply end of the second power supply conversion module is respectively connected with the singlechip and the power supply pin of the 485 communication module; the power supply end of the first power supply conversion module is also connected with a power supply pin of the control chip in the relay module; a DA dimming module is arranged between the single chip microcomputer and the controlled lamp power supply module, and a power supply pin of the DA dimming module is connected with a power supply end of the second power supply conversion module;

the method further comprises the following steps:

and each single lamp controller acquires a command of the host, identifies the type of the command, and then performs corresponding processing according to the identified command type, wherein the command type comprises a lamp failure state reading command, a dimming command, a power switch control command and a configuration parameter updating command.

4. The method of claim 3, wherein the single lamp controller further comprises a current collection module disposed between the 220V mains input and the controlled lamp power module and connected in series with the relay module, and the current collection module is connected to the single chip microcomputer;

the method further comprises the following steps:

when a lamp fault state reading command sent by the host is received, the singlechip acquires real-time current acquisition information from the current acquisition module, and logic judgment is carried out on whether the controlled lamp has a fault according to the acquired real-time current information; the single chip microcomputer carries out logic judgment on self faults among other functional modules in the associated single lamp controller; and then the result is returned to the host computer through the 485 communication module.

5. The method of claim 3, further comprising:

when a dimming command sent by the host is received, the DA dimming module corresponding to the single chip microcomputer instruction of each single chip controller performs dimming by adjusting the duty ratio.

6. The method of claim 3, further comprising:

when a power switch control command sent by the host is received, the relay module corresponding to the single-chip microcomputer command of each single-chip controller executes on-off processing between 220V mains supply input and the controlled lamp power module.

7. A host comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to perform the steps corresponding to the host related processing in the method of any one of claims 1 to 5.

8. A single lamp controller comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the steps corresponding to the processing associated with the single lamp controller in the method of any one of claims 1 to 5.

Technical Field

The invention relates to the technical field of illumination, in particular to an illumination monitoring method and equipment.

Background

With the rapid development of the expressway and the acceleration of the urban construction in China, the tunnel illumination and the urban road illumination are rapidly increased, the number of required illumination lamps is rapidly increased, and the illumination lamps become the most main energy consumption source in the traffic field and the urban public service. The existing traditional tunnel lighting and town road lighting control systems all set and install lamps in a loop control mode. The sub-loop control mode does not adjust the light of each lamp, and only controls the on-off of a certain loop power supply of each group; the control mode needs to lay dimming control cables, lay more independent lighting circuits and power supply cables, has high construction difficulty, and particularly in tunnel lighting, because the circuits are switched on and off, the brightness of the tunnel is difficult to control smoothly to meet the requirement of safe driving of the tunnel, and large electric energy waste is formed; in addition, there is no way to detect and diagnose lamp faults in time, and even a faulty lamp cannot be located, and lamp faults and lamp positions can be determined only by manual patrol, tunnel lighting maintenance is inconvenient, driving safety is easily affected when lamps are damaged more, and when a dimming signal input end of a certain lamp is short-circuited, all lamps on a group of dimming cables are abnormal, namely dimming cannot be performed, so that a dimming function is lost, driving safety of a tunnel and safety of people and vehicles on a road are seriously affected, or huge electric energy waste is caused.

The tunnel environment is relatively severe, lamps are relatively dense in number, a plurality of special tunnels are arranged, the contradiction between the long distance and dimming signal attenuation existing in the existing LED lamp dimming mode is increasingly prominent, the lamp fault automatic detection and positioning functions are not available, the LED lamp dimming mode is not suitable for tunnel illumination, and the requirements of intelligent illumination of town roads and internal areas of enterprises are difficult to meet along with the development of town roads.

RS-485 is a data transmission technology based on serial port communication technology, and has the characteristics of long transmission distance, high transmission rate, multiple nodes, strong anti-interference capability and the like. Most RS-485 equipment is applied to the fields of process automation (chemical engineering, brewing and papermaking), factory automation (automobile manufacturing and metal processing), security and protection systems and the like at present, and a 485 communication single-lamp controller suitable for road tunnel illumination does not exist.

Disclosure of Invention

The invention aims to disclose an illumination monitoring method and equipment to realize remote regulation and control and improve regulation and control efficiency.

To achieve the above object, the present invention discloses a lighting monitoring method, comprising:

deploying a lighting system, the lighting system comprising: the system comprises a host and single lamp controllers which are connected through a 485 bus, wherein each single lamp controller is respectively connected with 1 path or 1 controlled lamp;

the host computer acquires the state information of the controlled lamp from each single lamp controller, judges whether the corresponding controlled lamp fails according to the acquired state information, and starts a corresponding failure processing plan when the corresponding controlled lamp fails.

Preferably, during normal operation, each single lamp controller executes power switch, DA dimming and state reporting processing of the controlled lamp according to the instruction of the host; the fault handling plan comprises: when any controlled lamp fails, other controlled lamps which are adjacent to the failed lamp and can normally work are indicated to supplement light.

Preferably, the single lamp controller includes: the relay module is arranged between the 220V mains supply input and the controlled lamp power supply module; the relay module is connected with the single chip microcomputer; the single chip microcomputer is connected with a 485 communication module which is used for communicating with a host based on a 485 bus; the first power supply conversion module is used for converting 220V commercial power input into 12V; a second power conversion module cascaded with the first power conversion module to convert 12V to 3.3V; the power supply end of the second power supply conversion module is respectively connected with the singlechip and the power supply pin of the 485 communication module; the power supply end of the first power supply conversion module is also connected with a power supply pin of the control chip in the relay module; a DA (Digital to Analog) dimming module is arranged between the singlechip and the controlled lamp power supply module, and a power supply pin of the DA dimming module is connected with a power supply end of the second power supply conversion module; the method further comprises the following steps:

and each single lamp controller acquires a command of the host, identifies the type of the command, and then performs corresponding processing according to the identified command type, wherein the command type comprises a lamp failure state reading command, a dimming command, a power switch control command and a configuration parameter updating command.

Preferably, the single lamp controller further comprises a current collection module which is arranged between the 220V mains supply input and the controlled lamp power module and is connected with the relay module in series, and the current collection module is connected with the single chip microcomputer; the method further comprises the following steps:

when a lamp fault state reading command sent by the host is received, the singlechip acquires real-time current acquisition information from the current acquisition module, and logic judgment is carried out on whether the controlled lamp has a fault according to the acquired real-time current information; the single chip microcomputer carries out logic judgment on self faults among other functional modules in the associated single lamp controller; and then the result is returned to the host computer through the 485 communication module.

Preferably, the method further comprises: when a dimming command sent by the host is received, the DA dimming module corresponding to the single chip microcomputer instruction of each single chip controller performs dimming by adjusting the duty ratio.

Preferably, the method further comprises: when a power switch control command sent by the host is received, the relay module corresponding to the single-chip microcomputer command of each single-chip controller executes on-off processing between 220V mains supply input and the controlled lamp power module.

In order to achieve the above object, the present invention further discloses a host, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps corresponding to the host related processing in the above method when executing the computer program.

In order to achieve the above object, the present invention further discloses a single lamp controller, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps corresponding to the related processing of the single lamp controller in the above method when executing the computer program.

The invention has the following beneficial effects:

the single lamp controller and the lighting system based on 485 communication are very suitable for road tunnel lighting, and RS-485 is a data transmission technology based on a serial port communication technology and has the characteristics of long transmission distance, high transmission rate, multiple nodes, strong anti-interference capability and the like. The single lamp controller and the whole monitoring system have simple structures and low cost; the regulation and control efficiency is rapid and reliable. More expensively, the host machine can accurately position faults and start related emergency treatment plans through interaction between the host machine and each single lamp controller; therefore, the accommodation and response processing performance of the system to the fault is improved.

The present invention will be described in further detail below with reference to the accompanying drawings.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:

fig. 1 is a schematic structural diagram of an illumination system according to an embodiment of the present invention.

Fig. 2 is a flow chart of the illumination monitoring method of the present invention.

Fig. 3 is a schematic structural diagram of a single lamp controller according to an embodiment of the present invention.

[ description of figures ]

1. A first power conversion module; 2. a second power conversion module; 3. 485 communication module; 4. a single chip microcomputer; 5. a DA dimming module; 6. a relay module; 7. a current collection module; 8. and a controlled lamp power supply module.

Detailed Description

The embodiments of the invention will be described in detail below with reference to the drawings, but the invention can be implemented in many different ways as defined and covered by the claims.

Example 1

The present embodiment discloses an illumination system, as shown in fig. 1, including: the single lamp controllers are respectively connected with 1 path or 1 controlled lamp; and the host is connected with each single lamp controller through a 485 bus.

As shown in fig. 2, the method of the present embodiment includes:

step S1, deploying a lighting system, the lighting system comprising: the system comprises a host and single lamp controllers connected through a 485 bus, wherein each single lamp controller is respectively connected with 1 path or 1 controlled lamp.

Wherein, the lighting system deployed by the step can refer to fig. 1.

And step S2, the host acquires the state information of the controlled lamp from each single lamp controller, judges whether the corresponding controlled lamp fails according to the acquired state information, and starts a corresponding failure processing plan when the corresponding controlled lamp fails.

In this step, preferably, each of the single lamp controllers executes power switching, DA dimming, and state reporting processing of the controlled lamp according to the instruction of the host; the fault handling plan comprises: when any controlled lamp fails, other controlled lamps which are adjacent to the failed lamp and can normally work are indicated to supplement light. The related fill-in operation includes, but is not limited to, increasing brightness, etc.

As shown in fig. 3, the single lamp controller of the present embodiment includes:

the relay module 6 is arranged between 220V mains supply input and the controlled lamp power module 8; the relay module is connected with the singlechip 4; the singlechip is connected with a 485 communication module 3 which is used for communicating with a host based on a 485 bus; the first power conversion module 1 is used for converting 220V commercial power input into 12V; a second power conversion module 2 cascaded with the first power conversion module to convert 12V to 3.3V; the power supply end of the second power supply conversion module is respectively connected with the singlechip and the power supply pin of the 485 communication module; the power supply end of the first power supply conversion module is also connected with a power supply pin of the control chip in the relay module.

Optionally, the controlled light fixture includes, but is not limited to, an LED light fixture. The singlechip can adopt STM8S003F3P6 chips.

Preferably, a DA dimming module 5 is arranged between the single chip microcomputer and the controlled lamp power module, and a power pin of the DA dimming module is connected with a power supply end of the second power conversion module. Optionally, the DA dimming module may dim by adjusting a duty cycle. Therefore, the single lamp controller only has one path of 220V mains supply input, but has two paths of outputs, wherein one path of output is the 220V mains supply which can be controlled by the on-off of the relay module, and the other path of output is the dimming control signal output by the DA dimming module.

Preferably, a current collection module 7 connected with the relay module in series is further arranged between the 220V commercial power input and the controlled lamp power module, and the current collection module is connected with the single chip microcomputer. Therefore, the method of the embodiment may further include: the single chip microcomputer can acquire real-time current acquisition information from the current acquisition module and carry out logic judgment on whether the controlled lamp fails or not according to the acquired real-time current information; the single chip microcomputer carries out logic judgment on self faults among other functional modules in the associated single lamp controller; and then the result is returned to the host computer through the 485 communication module.

Therefore, in the method of the embodiment, after the single lamp controller obtains the command of the host, the type of the command can be identified, and then corresponding processing is performed according to the identified command type, where the relevant command type includes a command for reading a lamp fault state, a dimming command, a power switch control command, and a configuration parameter (including but not limited to a modification ID and a group number parameter) update command. For example: and when a dimming command sent by the host is received, the DA dimming module corresponding to the single chip microcomputer instruction of each single chip controller performs 0-10V dimming by adjusting the duty ratio. Another example is: when a power switch control command sent by the host is received, the relay module corresponding to the single-chip microcomputer command of each single-chip controller executes on-off processing between 220V mains supply input and the controlled lamp power module.

Preferably, the single-lamp controller of the present embodiment may set the processing flow of the main program of the loop according to the command types, for example:

the method comprises the following steps: after receiving command information sent by a host on the 485 bus, the 485 single lamp controller firstly judges whether the command is a command for reading the fault state of the lamp, and if so, the 485 single lamp controller starts the current acquisition module to perform ADC (analog to digital converter) sampling and operates a fault judgment program to perform lamp fault judgment. And then, returning lamp fault state information to a host on the 485 bus, and if a lamp fault exists, automatically returning the positioning information of the fault lamp.

Step two: if the command is not the command for reading the fault state of the lamp, whether the command is the lamp dimming command is judged, if so, the 485 single lamp controller outputs the command through the DA dimming module, so that the LED lamp dimming control signal connected with the 485 single lamp controller performs smooth dimming, and the required dimming value is adjusted within the instant or 3 seconds.

Step three: if the dimming command is not the dimming command for the lamp, whether the dimming command is the lamp power switch control command is judged, and if the dimming command is the lamp power switch control command, the relay module makes corresponding action to control the lamp power to be switched on or switched off.

Step four: if the command is not the command for controlling the power switch of the lamp, whether the command is the command for modifying the ID and group number parameters is judged, if so, the 485 single lamp controller modifies the parameters of the 485 single lamp controller on line, and the 485 single lamp controller is automatically restarted after the modification is finished.

Step five: if the command is not the command of modifying the ID and the group number parameters, the 485 single lamp controller is switched to a 485 receiving mode to wait for new information to arrive. And entering the next round of circulation.

Example 2

Corresponding to the above method, the present embodiment discloses an illumination monitoring apparatus. The method specifically comprises the following steps:

in one aspect, the present embodiment discloses a host, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements steps corresponding to host-related processing in the foregoing method.

On the other hand, the embodiment further discloses a single lamp controller, which includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and when the processor executes the computer program, the steps corresponding to the related processing of the single lamp controller in the above method are implemented.

In summary, the illumination monitoring method and the illumination monitoring apparatus disclosed in the above embodiments of the present invention have the following advantages:

the single lamp controller and the lighting system based on 485 communication are very suitable for road tunnel lighting, and RS-485 is a data transmission technology based on a serial port communication technology and has the characteristics of long transmission distance, high transmission rate, multiple nodes, strong anti-interference capability and the like. The single lamp controller and the whole monitoring system have simple structures and low cost; the regulation and control efficiency is rapid and reliable. More expensively, the host machine can accurately position faults and start related emergency treatment plans through interaction between the host machine and each single lamp controller; therefore, the accommodation and response processing performance of the system to the fault is improved.

The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电子设备防静电装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!