Elevator light curtain control method and device and electronic equipment

文档序号:1775 发布日期:2021-09-17 浏览:56次 中文

1. An elevator light curtain control method, characterized in that the method comprises:

acquiring the positions of the door panels and obtaining the intervals between the door panels for executing door opening and closing instructions;

and adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is.

2. The method of claim 1, wherein adjusting the light intensity of the leds of the elevator light curtain based on the adjustment phase of the spacing between the door panels comprises:

obtaining the output voltage of the light emitting diode according to the adjusting stage of the interval between the door plates;

and adjusting the pulse width modulation duty ratio according to the output voltage of the light-emitting diode so as to realize the adjustment of the light intensity of the light-emitting diode.

3. The method of claim 2, wherein obtaining the output voltage of the light emitting diode according to the adjustment phase of the interval between the door panels comprises:

when the spacing distance between the door plates is smaller than or equal to a preset threshold value, obtaining the output voltage of the light emitting diode according to a first formula;

and when the spacing distance between the door plates is larger than the width threshold value, the output voltage of the light emitting diode is obtained according to a second formula.

4. The method of claim 3, wherein the first formula is as follows:

y2=ax

y is the output voltage of the light emitting diode, x is the interval distance between the door plates, and a is a preset coefficient.

5. The method of claim 3, wherein the second formula is:

y=b1+b2(x-m)/(M-m)

y is the output voltage of the light emitting diode, x is the interval between the door panels, b1 and b2 are a first voltage value and a second voltage value, b1+ b2 is equal to the maximum output voltage of the light emitting diode, M is the maximum door operator width, and M is a preset threshold value.

6. The method of claim 2, wherein obtaining the output voltage of the light emitting diode according to the adjustment phase of the interval between the door panels comprises:

and obtaining the width of the actual gantry crane through self-learning, and obtaining the output voltage of the light emitting diode according to the ratio of the interval distance between the door plates to the width of the actual gantry crane.

7. An elevator light curtain control apparatus, the apparatus comprising:

the monitoring module is used for acquiring the positions of the door panels and acquiring intervals among the door panels for executing door opening and closing instructions;

and the execution module is used for adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjustment stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is.

8. The apparatus of claim 7, wherein the execution module is configured to:

obtaining the output voltage of the light emitting diode according to the adjusting stage of the interval between the door plates;

and adjusting the pulse width modulation duty ratio according to the output voltage of the light-emitting diode so as to realize the adjustment of the light intensity of the light-emitting diode.

9. An electronic device comprising a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor, which is used for executing the program stored in the memory, realizes the steps of the elevator light curtain control method according to any one of claims 1-6.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the elevator light curtain control method according to any one of claims 1-6.

Background

In the process of opening and closing the door of the elevator door motor, if the light curtain arranged in the middle of the car door of the hall detects that foreign matters block, the door motor can execute the action of re-opening the door to ensure the safety of passengers and articles.

In the prior art, the light of the light emitting diode in the light curtain is not variable, and the diode works with the same power regardless of whether the door is opened in place or closed in place, and is always in a working state after the door is closed in place, so that the energy consumption is high, the efficiency is low, and the service life is short.

Disclosure of Invention

The embodiment of the invention aims to provide an elevator light curtain control method, an elevator light curtain control device and electronic equipment, and aims to solve the problems of high energy consumption, low efficiency and short service life.

In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:

in a first aspect, an embodiment of the present invention provides an elevator light curtain control method, including:

acquiring the positions of the door panels and obtaining the intervals between the door panels for executing door opening and closing instructions;

and adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is.

In a second aspect, an embodiment of the present invention provides an elevator light curtain control device, including:

the monitoring module is used for acquiring the positions of the door panels and acquiring intervals among the door panels for executing door opening and closing instructions;

and the execution module is used for adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjustment stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is.

In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is used for executing the program stored in the memory to realize the steps of the elevator light curtain control method according to the first aspect.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the elevator light curtain control method according to the first aspect are implemented.

According to the technical scheme provided by the embodiment of the invention, the light intensity of the light-emitting diode is adjusted into two stages through the threshold, the corresponding stage is determined according to the comparison between the interval between the door plates and the threshold, and the input voltage of the light-emitting diode is calculated by adopting the corresponding formula, so that the light intensity of the light-emitting diode is adjusted. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 is a schematic flow chart of an elevator light curtain control method provided by an embodiment of the invention;

fig. 2 is another schematic flow chart of an elevator light curtain control method provided by an embodiment of the invention;

fig. 3 is another schematic flow chart of an elevator light curtain control method provided by an embodiment of the invention;

fig. 4 is a schematic diagram of a module composition of an elevator light curtain control device provided by an embodiment of the invention;

fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The embodiment of the invention provides an elevator light curtain control method, an elevator light curtain control device and electronic equipment.

In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1, an embodiment of the present invention provides an elevator light curtain control method, where an execution main body of the method may be a controller, and the controller may be implemented based on a light curtain and a door inverter integrated device. The method may specifically comprise the steps of:

and step S110, acquiring the positions of the door plates and obtaining the intervals between the door plates for executing the door opening and closing instructions.

In the process of opening and closing the door by the door machine, the controller monitors the door plate of the elevator to acquire the position of the door plate in real time and obtain the interval between the door plates.

And S120, adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the interval between the door panels.

The controller adjusts the light intensity of the light emitting diodes of the elevator light curtain in real time according to the interval between the door plates. When the door is opened, the controller drives the door to open the door, and simultaneously opens the electronic switch of the light curtain light-emitting diode, and the light intensity of the light-emitting diode is stronger and stronger in the door opening process; when the door machine is closed, the controller drives the door machine to close, in the door closing process, the light intensity of the light emitting diode is weaker and weaker, the preset time, for example 90s, passes until the door machine is closed in place, and if the door is not opened, the electronic switch of the light emitting diode is closed, so that the light emitting diode enters a sleep mode.

In the process of adjusting the light intensity of the light-emitting diode, the light intensity of the light-emitting diode can be adjusted in a plurality of adjusting stages according to the intervals between the door plates and according to different adjusting modes.

In an embodiment, the adjustment of the light intensity of the light emitting diode can be adjusted in various ways, and this embodiment of the application only gives an example, and the step S102 includes:

step S121, obtaining output voltage of the light emitting diode according to the adjusting stage of the interval between the door plates;

and S122, adjusting the pulse width modulation duty ratio according to the output voltage of the light-emitting diode so as to adjust the light intensity of the light-emitting diode.

A change in the Pulse Width Modulation (PMW) duty cycle will result in a corresponding change in the output voltage of the light emitting diode. The output voltage is increased, and the light intensity of the light-emitting diode is enhanced; the output voltage is reduced and the light intensity of the light emitting diode is weakened.

When the controller obtains the output voltage of the light emitting diode according to the interval between the door plates, the controller can adjust the effective voltage of the light emitting diode to obtain the output voltage by adjusting the PMW duty ratio, and further achieve the purpose of adjusting the light intensity of the light emitting diode. In the door opening process, the controller synchronously increases the PMW duty ratio along with the gradual increase of the intervals between the door plates, so that the effective voltage of the light emitting diode is gradually increased, and the light intensity is stronger and stronger; in the process of closing the door, the controller reduces the PMW duty ratio synchronously along with the gradual reduction of the interval between the door plates, so that the effective voltage of the light-emitting diode is gradually reduced, the light intensity is weaker and weaker, and the light-emitting diode enters a sleep mode until the door machine is closed.

It should be understood that the adjustment range of the output voltage of the light emitting diode can be set according to actual requirements, for example, 0 to 3.3V, and for simplicity, 0 to 3.3V can be exemplified in the following embodiments.

According to the technical scheme provided by the embodiment of the invention, the embodiment of the invention obtains the positions of the door panels and the intervals between the door panels; and adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

Based on the above embodiment, further, as shown in fig. 3, the step S121 includes:

and S1211, when the spacing distance between the door plates is smaller than or equal to a preset threshold value, obtaining the output voltage of the light emitting diode according to a first formula.

According to the preset threshold value, the output voltage of the light emitting diode is divided into two stages. The first stage is executed when the spacing distance between the door panels is smaller than or equal to a threshold value, and the second stage is executed when the spacing distance between the door panels is larger than the threshold value.

The threshold value may be set according to actual needs, for example, the maximum distance between the door panels is 4000mm, that is, the distance between the door panels may be in the range of 0 to 4000mm, and the threshold value may be 1500 mm. For the sake of simplicity, this is exemplified in the following examples.

Further, the first formula is as follows:

y2=ax

y is the output voltage of the light emitting diode, x is the interval between the door panels, and a is a preset coefficient.

And step S1212, when the interval distance between the door panels is larger than the width threshold value, obtaining the output voltage of the light emitting diode according to a second formula.

Further, the second formula is:

y=b1+b2(x-m)/(M-m)

y is the output voltage of the light emitting diode, x is the interval between the door panels, b1 and b2 are a first voltage value and a second voltage value, b1+ b2 is equal to the maximum output voltage of the light emitting diode, M is the maximum door operator width, and M is a preset threshold value.

It should be understood that the coefficients and values in the first and second equations may be set according to actual requirements, and are exemplified by a being 0.0015, b1 being 1.5V, b2 being 1.8V, M being 4000mm, and M being 1500mm, that is, the range of possible values of the gantry crane interval is 0 to 4000 mm. Under the condition that the interval OP between the door plates obtained by the controller is less than or equal to 1500, according to a first formula y2Calculating to obtain the output voltage y of the light emitting diode as 0.0015; the spacing OP between the door panels>1500, the output voltage y of the led is calculated according to the second formula, i.e., 1.5+1.8 (x-1500)/2500. It can be known that the output voltage y of the light emitting diode ranges from 0V to 3.3V. For example, when x ═ xAt 1000mm, y is 1.225V according to the first formula; when x is 1600, y is 1.572V according to the second formula; when x is 2000mm, y is 1.86V according to the second formula.

According to the technical scheme provided by the embodiment of the invention, the light intensity of the light-emitting diode is adjusted into two stages through the threshold, the corresponding stage is determined according to the comparison between the interval between the door plates and the threshold, and the input voltage of the light-emitting diode is calculated by adopting the corresponding formula, so that the light intensity of the light-emitting diode is adjusted. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

Based on the above embodiment, further, the step S121 further includes:

and obtaining the width of the actual gantry crane through self-learning, and obtaining the output voltage of the light emitting diode according to the ratio of the interval between the door plates to the width of the actual gantry crane. The actual door machine width is the maximum value that can be practically achieved for the spacing between the door panels.

The controller can obtain the actual width of the portal crane through self-learning, specifically, the controller obtains the width of the self-learning portal crane through self-learning, and then the actual width of the portal crane is obtained through calculation according to a corresponding formula, for example, the width of the self-learning portal crane is equal to the actual width of the portal crane/2 + 50. If the width of the self-detection door machine is 550mm, the width of the actual door machine is 1000 mm.

Then, the output voltage of the light emitting diode is obtained according to the ratio of the width of the actual door machine to the interval between the door plates, and the specific calculation formula can be expressed as follows:

y=Bx/M′

b is the maximum output voltage of the led, e.g. 3.3V, and M' is the actual gate width.

If the actual width of the gantry crane is 2000mm, the calculation formula is that y is 3.3 x/2000.

Further, the actual door machine width obtained by the controller through self-learning is applied to the control method divided into a plurality of stages, and under the condition that the actual door machine width is less than or equal to the threshold value, the output voltage of the light emitting diode is obtained by directly adopting a first formula; under the condition that the width distance of the actual door machine is larger than the threshold value, a corresponding adjusting stage needs to be determined according to the interval between the door plates, and the output voltage of the light emitting diode is obtained according to a first formula or a second formula respectively.

According to the technical scheme provided by the embodiment of the invention, the actual width of the door machine is deduced through self-learning, so that the output voltage of the light emitting diode is obtained according to the ratio of the interval between the door plates to the actual width of the door machine, and the light intensity of the light emitting diode is further adjusted. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

Corresponding to the elevator light curtain control method provided by the above embodiment, based on the same technical concept, an embodiment of the present invention further provides an elevator light curtain control device, fig. 4 is a schematic diagram of module composition of the elevator light curtain control device provided by the embodiment of the present invention, the elevator light curtain control device is used for executing the elevator light curtain control method described in fig. 1 to fig. 3, and as shown in fig. 4, the elevator light curtain control device includes: a monitoring module 401 and an execution module 402.

The monitoring module 401 is configured to obtain positions of the door panels and obtain an interval between the door panels for executing a door opening and closing instruction; the execution module 402 is configured to adjust the light intensity of the leds of the elevator light curtain according to the adjustment stage of the interval between the door panels, where the smaller the interval between the door panels is, the weaker the light intensity of the corresponding leds is.

Further, the executing module 402 is configured to:

obtaining the output voltage of the light emitting diode according to the adjusting stage of the interval between the door plates;

and adjusting the pulse width modulation duty ratio according to the output voltage of the light-emitting diode so as to realize the adjustment of the light intensity of the light-emitting diode.

According to the technical scheme provided by the embodiment of the invention, the embodiment of the invention obtains the positions of the door panels and the intervals between the door panels; and adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

Further, the execution module is to:

obtaining the output voltage of the light emitting diode according to the adjustment stage of the interval between the door panels, comprising:

when the spacing distance between the door plates is smaller than or equal to a preset threshold value, obtaining the output voltage of the light emitting diode according to a first formula;

and when the spacing distance between the door plates is larger than the width threshold value, the output voltage of the light emitting diode is obtained according to a second formula.

Further, the first formula is as follows:

y2=ax

y is the output voltage of the light emitting diode, x is the interval between the door panels, and a is a preset coefficient.

Further, the second formula is:

y=b1+b2(x-m)/(M-m)

y is the output voltage of the light emitting diode, x is the interval between the door panels, b1 and b2 are a first voltage value and a second voltage value, b1+ b2 is equal to the maximum output voltage of the light emitting diode, M is the maximum door operator width, and M is a preset threshold value.

According to the technical scheme provided by the embodiment of the invention, the light intensity of the light-emitting diode is adjusted into two stages through the threshold, the corresponding stage is determined according to the comparison between the interval between the door plates and the threshold, and the input voltage of the light-emitting diode is calculated by adopting the corresponding formula, so that the light intensity of the light-emitting diode is adjusted. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

Further, the execution module is used for obtaining the width of an actual door machine through self-learning, and obtaining the output voltage of the light emitting diode according to the ratio of the interval between the door plates to the width of the actual door machine.

According to the technical scheme provided by the embodiment of the invention, the actual width of the door machine is deduced through self-learning, so that the output voltage of the light emitting diode is obtained according to the ratio of the interval between the door plates to the actual width of the door machine, and the light intensity of the light emitting diode is further adjusted. By the embodiment of the invention, the purposes of reducing power consumption and prolonging the service life of the light curtain are realized under the condition of not influencing the working efficiency.

The elevator light curtain control device provided by the embodiment of the invention can realize each process in the embodiment corresponding to the elevator light curtain control method, and is not described again for avoiding repetition.

It should be noted that the elevator light curtain control device provided in the embodiment of the present invention and the elevator light curtain control method provided in the embodiment of the present invention are based on the same inventive concept, and therefore, specific implementation of the embodiment may refer to implementation of the elevator light curtain control method, and repeated details are not described again.

Based on the same technical concept, the embodiment of the present invention further provides an electronic device for implementing the elevator light curtain control method, and fig. 5 is a schematic structural diagram of an electronic device for implementing various embodiments of the present invention, as shown in fig. 5. Electronic devices may vary widely in configuration or performance and may include one or more processors 501 and memory 502, where the memory 502 may have one or more stored applications or data stored therein. Memory 502 may be, among other things, transient or persistent storage. The application program stored in memory 502 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 501 may be arranged in communication with the memory 502 to execute a series of computer-executable instructions in the memory 502 on the electronic device. The electronic device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input-output interfaces 505, one or more keyboards 506.

Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is used for executing the program stored in the memory and realizing the following method steps:

acquiring the positions of the door panels and obtaining the intervals between the door panels for executing door opening and closing instructions;

and adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is.

An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when executed by a processor, the computer program implements the following method steps:

acquiring the positions of the door panels and obtaining the intervals between the door panels for executing door opening and closing instructions;

and adjusting the light intensity of the light emitting diodes of the elevator light curtain according to the adjusting stage of the intervals between the door panels, wherein the smaller the interval between the door panels is, the weaker the light intensity of the corresponding light emitting diodes is.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

In a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.

It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种具有防夹功能的电梯90度平开门系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!