Method for controlling multiple lamps individually

文档序号:1509199 发布日期:2020-02-07 浏览:20次 中文

阅读说明:本技术 一种多灯珠单控制的方法 (Method for controlling multiple lamps individually ) 是由 陈其佑 于 2019-10-15 设计创作,主要内容包括:本发明公开了一种多灯珠单控制的方法,包括步骤一,电源测试;步骤二,多灯珠选择;步骤三,多灯珠安装;步骤四,多灯珠试用;步骤五,数据记录归纳;步骤六,后期数据比对;其中在上述步骤一中,人工选定需要安装多灯珠的地方,观察当前位置的环境以及空气湿度等因素,记录在表格中;该一种多灯珠单控制的方法,采用计算机自动规划,使用C语言技术,利用单片机进行控制多灯珠,实现多灯珠单控制的目的,节约资源与电力,同时操作方便,无需用户自行开关,节约时间与人力,降低用户的劳动强度,同时用单片机控制多灯珠的开关与轮换,保证恒定照明,避免多灯珠由于开关操作失误造成灯丝损坏,大大延长了多灯珠的使用寿命。(The invention discloses a method for controlling multiple lamps individually, which comprises the following steps of testing a power supply; step two, selecting a plurality of light beads; step three, mounting a plurality of lamp beads; step four, trial using a plurality of light beads; step five, data recording and induction; step six, comparing the later data; in the first step, manually selecting a place where multiple lamp beads need to be installed, observing factors such as the environment of the current position, air humidity and the like, and recording the factors in a table; this method of many lamp pearls single control adopts computer automatic planning, uses C language technique, utilizes the singlechip to control many lamp pearls, realizes the purpose of many lamp pearl single control, resources are saved and electric power, and convenient operation simultaneously need not the user and opens and shuts by oneself, save time and manpower, reduce user's intensity of labour, switch and the rotation of many lamp pearls of monolithic processor control simultaneously, guarantee invariable illumination, avoid many lamp pearls to cause the filament to damage because switch misoperation, the life of many lamp pearls has been prolonged greatly.)

1. A method for controlling multiple lamps individually comprises the steps of testing a power supply; step two, selecting a plurality of light beads; step three, mounting a plurality of lamp beads; step four, trial using a plurality of light beads; step five, data recording and induction; step six, comparing the later data; the method is characterized in that:

in the first step, the power supply test comprises the following steps:

1) manually selecting a place where multiple lamp beads need to be installed, observing factors such as the environment of the current position, air humidity and the like, recording the factors in a table, and selecting an installation position;

2) monitoring the voltage and current of the selected installation position by using an instrument, testing once every three hours, storing the test result in a computer, drawing a line graph according to the test result, and comparing;

in the second step, the multi-bead selection comprises the following steps:

1) manually go to the market or a factory building to select a plurality of multi-lamp beads, connect the multi-lamp beads in parallel, and then access a power supply to observe;

2) manually observing the bright condition of the multi-lamp beads, removing the non-bright multi-lamp beads, observing the bright condition, selecting the multi-lamp beads with higher brightness, and picking out the multi-lamp beads with lower brightness;

3) electrifying the rest multiple lamp beads once every 15 minutes for 20-30 times continuously, observing the brightness change of the lamp beads, removing the multiple lamp beads with flickering and uneven brightness, finally turning off the power supply of the rest multiple lamp beads, and storing in a shade place;

in the third step, the single control of multiple lamp beads comprises the following steps:

1) connecting the multiple lamp beads selected in the step two in parallel with a power supply in sequence, wherein one end of the power supply is provided with a main switch;

2) then the multi-lamp beads are connected with a single chip microcomputer, the single chip microcomputer is connected with a computer through signals, one end pin of the single chip microcomputer is connected with a 5V power supply, and the other end pin of the single chip microcomputer is connected with a ground wire;

3) finally, fixing the multiple lamp beads at the mounting positions selected in the first step through bonding or buckling, and then completing the mounting of the multiple lamp beads;

in the fourth step, the trial use of the multiple light beads comprises the following steps:

1) turning on a power supply connected with a plurality of lamp beads in the third step, and turning on a main switch, wherein the plurality of lamp beads are all lighted;

2) connecting a computer with a single chip microcomputer through a signal, creating a new source program File, inputting a crystal oscillator frequency value behind the Xtal, inputting a Create HEX File for generating an executable code File, and writing the executable code File into the single chip microcomputer chip by using a programmer;

3) when debugging is carried out, the multi-lamp bead program can be executed through the computer program, the lamp beads are turned on and off, single control of the multi-lamp beads is realized, and the multi-lamp beads can be controlled through resetting, running, pausing, single step and single step in the process through the computer;

4) after the circuit is used, the circuit can be closed uniformly by closing the main switch;

in the fifth step, the data recording and summarizing comprise the following steps:

1) recording the sequence of the multi-lamp bead switches in the fourth step, and simultaneously recording the running conditions of the multi-lamp beads and the brightness conditions of the multi-lamp beads;

2) storing the recorded data into a computer, and drawing the data into a table for storage so as to carry out comparison in the following;

and in the sixth step, the obtained conclusion is manually recorded and stored in a file room and a computer respectively for comparison again, the multi-lamp-bead observation data is manually recorded at intervals, and meanwhile, the previous data is compared.

2. The method of claim 1, wherein: in the step one 2), the recorded data is stored in an archive room for subsequent comparison.

3. The method of claim 1, wherein: and in the second step, the removed lamp beads are returned to the factory for processing or used in other illumination places for use.

4. The method of claim 1, wherein: in the third step 1), a power supply protector is arranged on one side of the power supply.

5. The method of claim 1, wherein: in the step four 4), the circuit can be closed by closing the singlechip through the computer.

6. The method of claim 1, wherein: in the sixth step, the test record is required to be retested once every other month.

Technical Field

The invention relates to the field of lamp bead control, in particular to a method for controlling multiple lamp beads individually.

Background

The lamp beads, namely artificial lighting appliances using electricity as energy, can convert the electricity into light, thereby greatly promoting the progress of human civilization, and the common lamp beads are incandescent lamps, fluorescent lamps, LED lamps and the like; when a plurality of traditional lamp beads are used together, the single control cannot be carried out, manual control and turning-off are needed, the lamp filaments are easily damaged due to misoperation of a switch on/off switch, the service life of the lamp beads is greatly shortened, time and manpower are wasted, constant illumination cannot be guaranteed when the lamp beads are alternately turned off and turned on, and resources and electric power are not saved; in view of these drawbacks, it is necessary to design a method for controlling multiple lamps individually.

Disclosure of Invention

The present invention is directed to a method for controlling multiple lamps individually, so as to solve the above-mentioned problems in the prior art.

In order to solve the technical problems, the invention provides the following technical scheme: a method for controlling multiple lamps individually comprises the steps of testing a power supply; step two, selecting a plurality of light beads; step three, mounting a plurality of lamp beads; step four, trial using a plurality of light beads; step five, data recording and induction; step six, comparing the later data;

in the first step, the power supply test comprises the following steps:

1) manually selecting a place where multiple lamp beads need to be installed, observing factors such as the environment of the current position, air humidity and the like, recording the factors in a table, and selecting an installation position;

2) monitoring the voltage and current of the selected installation position by using an instrument, testing once every three hours, storing the test result in a computer, drawing a line graph according to the test result, and comparing;

in the second step, the multi-bead selection comprises the following steps:

1) manually go to the market or a factory building to select a plurality of multi-lamp beads, connect the multi-lamp beads in parallel, and then access a power supply to observe;

2) manually observing the bright condition of the multi-lamp beads, removing the non-bright multi-lamp beads, observing the bright condition, selecting the multi-lamp beads with higher brightness, and picking out the multi-lamp beads with lower brightness;

3) electrifying the rest multiple lamp beads once every 15 minutes for 20-30 times continuously, observing the brightness change of the lamp beads, removing the multiple lamp beads with flickering and uneven brightness, finally turning off the power supply of the rest multiple lamp beads, and storing in a shade place;

in the third step, the single control of multiple lamp beads comprises the following steps:

1) connecting the multiple lamp beads selected in the step two in parallel with a power supply in sequence, wherein one end of the power supply is provided with a main switch;

2) then the multi-lamp beads are connected with a single chip microcomputer, the single chip microcomputer is connected with a computer through signals, one end pin of the single chip microcomputer is connected with a 5V power supply, and the other end pin of the single chip microcomputer is connected with a ground wire;

3) finally, fixing the multiple lamp beads at the mounting positions selected in the first step through bonding or buckling, and then completing the mounting of the multiple lamp beads;

in the fourth step, the trial use of the multiple light beads comprises the following steps:

1) turning on a power supply connected with a plurality of lamp beads in the third step, and turning on a main switch, wherein the plurality of lamp beads are all lighted;

2) connecting a computer with a single chip microcomputer through a signal, creating a new source program File, inputting a crystal oscillator frequency value behind the Xtal, inputting a Create HEX File for generating an executable code File, and writing the executable code File into the single chip microcomputer chip by using a programmer;

3) when debugging is carried out, the multi-lamp bead program can be executed through the computer program, the lamp beads are turned on and off, single control of the multi-lamp beads is realized, and the multi-lamp beads can be controlled through resetting, running, pausing, single step and single step in the process through the computer;

4) after the circuit is used, the circuit can be closed uniformly by closing the main switch.

In the fifth step, the data recording and summarizing comprise the following steps:

1) recording the sequence of the multi-lamp bead switches in the fourth step, and simultaneously recording the running conditions of the multi-lamp beads and the brightness conditions of the multi-lamp beads;

2) storing the recorded data into a computer, and drawing the data into a table for storage so as to carry out comparison in the following;

and in the sixth step, the obtained conclusion is manually recorded and stored in a file room and a computer respectively for comparison again, the multi-lamp-bead observation data is manually recorded at intervals, and meanwhile, the previous data is compared.

According to the technical scheme, in the step one 2), the recorded data is stored in an archive room for subsequent comparison.

According to the technical scheme, in the second step, the removed lamp beads are returned to the factory for processing or used in other illumination places for use.

According to the technical scheme, in the step three 1), a power supply protector is arranged on one side of the power supply.

According to the technical scheme, in the step four 4), the singlechip can be turned off through a computer so as to turn off the circuit.

According to the technical scheme, in the sixth step, the test record is required to be retested once every other month.

Compared with the prior art, the invention has the following beneficial effects: this method of many lamp pearls single control, adopt computer automatic planning, use C language technique, utilize the singlechip to control many lamp pearls, realize the purpose of many lamp pearl single control, resources are saved and electric power, and convenient operation simultaneously, need not the user and switch by oneself, save time and manpower, reduce user's intensity of labour, avoid arousing user fatigue, convenience of customers uses, switch and the rotation of many lamp pearls are controlled with the singlechip simultaneously, guarantee invariable illumination, avoid many lamp pearls to cause the filament to damage because switch misoperation, the life of many lamp pearls has been prolonged greatly, be favorable to the user to use.

Drawings

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

FIG. 1 is a process flow diagram of the present invention;

fig. 2 is a diagram of a multiple bead connection of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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.

Referring to fig. 1-2, the present invention provides a technical solution:

a method for controlling multiple lamps individually comprises the steps of testing a power supply; step two, selecting a plurality of light beads; step three, mounting a plurality of lamp beads; step four, trial using a plurality of light beads; step five, data recording and induction; step six, comparing the later data;

in the first step, the power supply test comprises the following steps:

1) manually selecting a place where multiple lamp beads need to be installed, observing factors such as the environment of the current position, air humidity and the like, recording the factors in a table, and selecting an installation position;

2) monitoring the voltage and current of the selected installation position by using an instrument, testing once every three hours, storing the test result in a computer, drawing a line graph according to the test result, comparing, recording data and storing in a file room for subsequent comparison;

in the second step, the multi-bead selection comprises the following steps:

1) manually go to the market or a factory building to select a plurality of multi-lamp beads, connect the multi-lamp beads in parallel, and then access a power supply to observe;

2) manually observing the bright condition of the multi-lamp beads, removing the non-bright multi-lamp beads, observing the bright condition, selecting the multi-lamp beads with higher brightness, and picking out the multi-lamp beads with lower brightness;

3) electrifying the rest multiple lamp beads once every 15 minutes for 20-30 times continuously, wherein the electrifying time is 1-2 hours, observing the brightness change of the lamp beads, removing the multiple lamp beads with flickering and uneven brightness, finally turning off the power supply of the rest multiple lamp beads, storing the lamp beads in a shade place, and returning the removed lamp beads to the factory for processing or using the lamp beads in other illumination places for use; in the third step, the single control of multiple lamp beads comprises the following steps:

1) sequentially connecting the multiple lamp beads selected in the step two in parallel with a power supply, wherein one end of the power supply is provided with a main switch, and one side of the power supply is provided with a power supply protector;

2) then the multi-lamp beads are connected with a single chip microcomputer, the single chip microcomputer is connected with a computer through signals, one end pin of the single chip microcomputer is connected with a 5V power supply, and the other end pin of the single chip microcomputer is connected with a ground wire;

3) finally, fixing the multiple lamp beads at the mounting positions selected in the first step through bonding or buckling, and then completing the mounting of the multiple lamp beads;

in the fourth step, the trial use of the multiple light beads comprises the following steps:

1) turning on a power supply connected with a plurality of lamp beads in the third step, and turning on a main switch, wherein the plurality of lamp beads are all lighted;

2) connecting a computer with a single chip microcomputer through a signal, creating a new source program File, inputting a crystal oscillator frequency value behind the Xtal, inputting a Create HEX File for generating an executable code File, and writing the executable code File into the single chip microcomputer chip by using a programmer;

3) when debugging is carried out, the multi-lamp bead program can be executed through the computer program, the lamp beads are turned on and off, single control of the multi-lamp beads is realized, and the multi-lamp beads can be controlled through resetting, running, pausing, single step and single step in the process through the computer;

4) after the use is finished, the circuit can be closed uniformly by closing the main switch, and the circuit can also be closed by closing the singlechip through a computer;

in the fifth step, the data recording and summarizing comprise the following steps:

1) recording the sequence of the multi-lamp bead switches in the fourth step, and simultaneously recording the running conditions of the multi-lamp beads and the brightness conditions of the multi-lamp beads;

2) storing the recorded data into a computer, and drawing the data into a table for storage so as to carry out comparison in the following;

and in the sixth step, the obtained conclusion is manually recorded in a file room and a computer respectively for comparison again, the multi-lamp-bead observation data is manually recorded at intervals, and meanwhile, the data before comparison is retested and recorded once every month.

Based on the above, the invention has the advantages that the invention adopts the computer automatic planning, uses the C language technology, utilizes the singlechip to control the multiple lamp beads, realizes the purpose of single control of the multiple lamp beads, saves resources and electric power, is convenient to operate, does not need to be switched by a user, saves time and manpower, is convenient for the user to use, simultaneously controls the on-off and the alternation of the multiple lamp beads by the singlechip, ensures constant illumination, avoids the damage of the lamp filaments caused by the misoperation of the on-off operation of the multiple lamp beads, greatly prolongs the service life of the multiple lamp beads, and is beneficial to the use of the user.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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.

Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. 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.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种场馆灯光预约控制系统及方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!