Control circuit for memory plant light supplement lamp

文档序号:327281 发布日期:2021-11-30 浏览:6次 中文

阅读说明:本技术 一种用于记忆植物补光灯的控制电路 (Control circuit for memory plant light supplement lamp ) 是由 杨明来 马强 周锴 王玄伟 卞婷 于 2021-08-26 设计创作,主要内容包括:本发明公开了一种用于记忆植物补光灯的控制电路,包括中央控制电路、供电电路、第一激光补光灯电路、第二激光补光灯电路和存储器;所述中央控制电路用于控制给植物补光的第一激光补光灯电路和第二激光补光灯电路的启闭;所述存储器与中央控制电路通讯连接,用于记忆第一激光补光灯电路和第二激光补光灯电路的色彩配比,在下次启动电路时回到断电时色彩配比;所述供电电路分别与中央控制电路、第一激光补光灯电路、第二激光补光灯电路和存储器供电。本发明通过智能调解光照强度和时间,并且在发生断电的时候,通过记忆芯片存储不同种类植物光照灯光照比例的状态,在通电的时候,仍然回到断电时的状态,从而更有利于植物的健康生长。(The invention discloses a control circuit for a plant memory light supplement lamp, which comprises a central control circuit, a power supply circuit, a first laser light supplement lamp circuit, a second laser light supplement lamp circuit and a memory, wherein the central control circuit is connected with the power supply circuit; the central control circuit is used for controlling the opening and closing of a first laser light supplementing lamp circuit and a second laser light supplementing lamp circuit for supplementing light to plants; the memory is in communication connection with the central control circuit and is used for memorizing the color matching of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit and returning to the color matching when the circuit is powered off next time; and the power supply circuit is respectively supplied with power to the central control circuit, the first laser light supplementing lamp circuit, the second laser light supplementing lamp circuit and the memory. According to the invention, the illumination intensity and time are intelligently regulated, the states of the illumination proportions of the illumination lamps of different types of plants are stored through the memory chip when the power is off, and the illumination lamps still return to the power-off state when the power is on, so that the healthy growth of the plants is facilitated.)

1. A control circuit for a plant memory light supplement lamp is characterized by comprising a central control circuit, a power supply circuit, a first laser light supplement lamp circuit, a second laser light supplement lamp circuit and a memory;

the central control circuit is used for controlling and adjusting the opening and closing of a first laser light supplementing lamp circuit and a second laser light supplementing lamp circuit for supplementing light to plants, so that the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit form color matching;

the memory is in communication connection with the central control circuit and is used for memorizing the color matching of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit and returning to the color matching when the circuit is powered off next time;

and the power supply circuit is respectively supplied with power to the central control circuit, the first laser light supplementing lamp circuit, the second laser light supplementing lamp circuit and the memory.

2. The control circuit for the light supplement lamp for the memory plants as claimed in claim 1, wherein the central control circuit comprises a central controller, an LED display and an infrared receiver;

the central controller is respectively in communication connection with the LED display and the infrared receiver;

the infrared receiver is used for acquiring a human body movement signal, sending the signal to the central controller and adjusting the color ratio of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit;

the LED display is used for displaying the color ratio of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit;

and the central controller controls the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit through PWM signals.

3. The control circuit for the light supplement lamp for the memory plants as claimed in claim 1 or 2, wherein the first laser light supplement lamp circuit comprises a plurality of red laser lamps and red lamp drivers matched with the red laser lamps, each red lamp driver is connected with an output end of a signal expansion chip, and an input end of the signal expansion chip receives a PWM signal of the central controller.

4. The control circuit for the light supplement lamp of the memory plants as claimed in claim 1 or 2, wherein the second laser light supplement lamp circuit comprises a plurality of serially connected blue laser lamps and a blue lamp driver connected with the blue lamp lamps, and an input end of the blue lamp driver receives a PWM signal of the central controller.

5. The control circuit for the light supplement lamp of the memory plants as claimed in claim 2, wherein the power supply circuit comprises a switching power supply, a first DC-DC converter, a second DC-DC converter and a relay, the switching power supply is connected with a 220V DC power supply, the switching power supply supplies power to the storage and the central controller through the first DC-DC converter, and the switching power supply supplies power to the relay, the signal expansion chip, the LED display and the infrared receiver through the second DC-DC converter.

6. The control circuit for the plant light supplement lamp for memorizing of claim 5, wherein the model of the memory is AT24C02, the red-blue light proportion is initialized to be written into the memory, and the red-blue light proportion is stored into the memory every time the infrared receiver changes the red-blue light proportion, so that the memory of the red-blue light proportion after power failure is realized.

7. The control circuit for the light supplement lamp of the memory plant as claimed in claim 3, wherein the signal expansion chip has a model number of 74HC244, and the signal expansion chip comprises eight PWM input interfaces and eight PWM output interfaces for expanding multiple PWM signals from the PWMR signal and the PWMB signal output by the central controller.

8. The control circuit for a supplementary lighting lamp for memory plants as claimed in claim 2, 5 or 6, wherein said infrared receiver receives 32-bit NEC code of infrared transmitter, and the central controller adjusts brightness of red light and blue light after decoding.

Technical Field

The invention relates to the technical field of plant light supplement lamps, in particular to a control circuit for a memory plant light supplement lamp.

Background

With the development of agricultural technology and the implementation and application of various intelligent agricultural equipment, the cultivation mode of traditional agriculture is changed to a great extent, particularly in the field of plant illumination, the illumination environment is dynamically regulated through a light supplementing method, so that the plant growth is in a relatively better illumination state, and the growth speed of the plant is improved. However, although the conventional plant light supplement lamp has a dimming function, the conventional plant light supplement lamp cannot be restored to the original illumination state after being powered off, that is, the memory function cannot be realized, so that a manual restoration method has to be adopted after the power off, unnecessary operation troubles are brought, even negative effects are brought to crop growth under the condition that personnel cannot arrive in time, and the plant light supplement lamp is not beneficial to plant production.

Disclosure of Invention

In view of the above, the main objective of the present invention is to provide a control circuit for a fill-in light of a memory plant.

In order to achieve the purpose, the technical scheme of the invention is realized as follows:

the embodiment of the invention provides a control circuit for a plant memory light supplementing lamp, which comprises a central control circuit, a power supply circuit, a first laser light supplementing lamp circuit, a second laser light supplementing lamp circuit and a memory, wherein the central control circuit is used for controlling the plant memory light supplementing lamp;

the central control circuit is used for controlling and adjusting the opening and closing of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit, so that the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit form color matching;

the memory is in communication connection with the central control circuit and is used for memorizing the color matching of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit and returning to the color matching when the circuit is powered off next time;

and the power supply circuit is respectively supplied with power to the central control circuit, the first laser light supplementing lamp circuit, the second laser light supplementing lamp circuit and the memory.

Preferably, the central control circuit comprises a central controller, an LED display and an infrared receiver;

the central controller is respectively in communication connection with the LED display and the infrared receiver;

the infrared receiver is used for acquiring a human body movement signal, sending the signal to the central controller and adjusting the color ratio of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit;

the LED display is used for displaying the color ratio of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit;

and the central controller controls the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit through PWM signals.

Preferably, the first laser supplementary lighting circuit comprises a plurality of red laser lamps and red lamp drivers matched with the red laser lamps, each red lamp driver is connected with the output end of the signal expansion chip, and the input end of the signal expansion chip receives a PWM signal of the central controller.

Preferably, the second laser supplementary lighting circuit includes a plurality of blue laser lamps connected in series and a blue lamp driver connected thereto, and an input terminal of the blue lamp driver receives a PWM signal of the central controller.

Preferably, the power supply circuit comprises a switching power supply, a first DC-DC converter, a second DC-DC converter and a relay, the switching power supply is connected with a 220V direct current power supply, the switching power supply supplies power to the storage and the central controller through the first DC-DC converter, and the switching power supply supplies power to the relay, the signal expansion chip, the LED display and the infrared receiver through the second DC-DC converter respectively.

Preferably, the type of the memory is AT24C02, the red-blue light proportion is initialized to be written into the memory, and the red-blue light proportion is stored into the memory every time the infrared receiver changes the red-blue light proportion, so that the memory of the red-blue light proportion after power failure is realized.

The signal expansion chip is preferably 74HC244, and comprises eight PWM input interfaces and eight PWM output interfaces, and the PWMR signal and the PWMB signal output by the central controller are expanded to form a plurality of paths of PWM signals.

Preferably, the infrared receiver receives 32-bit NEC codes of the infrared transmitter, and the central controller adjusts the brightness of the red light and the blue light after decoding.

Compared with the prior art, the control circuit for the memory plant light supplement lamp has the advantages that the illumination intensity and time are intelligently adjusted, the states of the illumination proportions of different types of plant light supplement lamps are stored through the memory chip when power failure occurs, and the control circuit still returns to the power failure state when power is on, so that the control circuit is convenient to operate, wide in application range and more beneficial to the healthy growth of plants.

Drawings

Fig. 1 is a schematic structural diagram of a control circuit for a light supplement lamp for memory plants according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of a central controller according to an embodiment of the present invention;

fig. 3 is a schematic circuit diagram of an infrared receiver according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of a circuit structure of the memory according to the embodiment of the invention;

fig. 5 is a schematic structural diagram of a signal expansion chip according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The embodiment of the invention provides a control circuit for a memory plant light supplement lamp, which comprises a central control circuit, a power supply circuit, a first laser light supplement lamp circuit, a second laser light supplement lamp circuit and a memory U4, wherein the central control circuit is connected with the power supply circuit;

the central control circuit is used for controlling and adjusting the opening and closing of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit so as to enable the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit to form color matching;

the memory U4 is in communication connection with the central control circuit and is used for memorizing the color matching of the first laser fill light circuit and the second laser fill light circuit and returning to the color matching when the circuit is powered off next time;

the power supply circuit is respectively supplied with power to the central control circuit, the first laser fill-in light circuit, the second laser fill-in light circuit and the memory U4.

As shown in fig. 1 and 2, the central control circuit includes a central controller IC1, an LED display, and an infrared receiver H;

the central controller IC1 is respectively in communication connection with the LED display and the infrared receiver H;

the infrared receiver H is used for acquiring a human body movement signal, sending the signal to the central controller IC1 and adjusting the color ratio of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit;

the LED display is used for displaying the color ratio of the first laser light supplementing lamp circuit and the second laser light supplementing lamp circuit;

the central controller IC1 controls the first laser fill light circuit and the second laser fill light circuit through PWM signals.

As shown in fig. 1, the first laser fill-in light circuit includes a plurality of red laser lights L1 and red light drivers each matched with the red laser lights connected thereto, each red light driver is connected to an output terminal of the signal expansion chip IC2, and an input terminal of the signal expansion chip IC2 receives a PWM signal of the central controller IC 1.

As shown in fig. 1, the second laser fill-in light circuit includes a plurality of serially connected blue laser lights L2 and a blue light driver U5 connected thereto, wherein an input terminal of the blue light driver U5 receives a PWM signal of the central controller IC 1.

As shown in fig. 1, the power supply circuit includes a switching power supply, a first DC-DC converter, a second DC-DC converter and a relay, the switching power supply is connected to a 220V DC power supply, the switching power supply supplies power to the storage U4 and the central controller IC1 through the first DC-DC converter, and the switching power supply supplies power to the relay, the signal expansion chip IC2, the LED display and the infrared receiver H through the second DC-DC converter, respectively.

As shown in fig. 1, the memory U4 is of the AT24C02 type, the initialized red-blue light mixture is written into the memory U4, and each time the infrared receiver H changes the red-blue light mixture, the red-blue light mixture is stored into the memory U4, so that the memory of the red-blue light mixture is realized after the power failure.

As shown in fig. 1 and 2, the signal expansion chip IC2 has a model number of 74HC244, the signal expansion chip IC2 includes eight PWM input interfaces, such as 1AO to 2A3 shown in fig. 5, eight PWM output interfaces, such as 1Y0 to 2Y3 shown in fig. 5, a PWMR signal and a PWMB signal output by the central controller H are expanded to form multiple PWM signals, the infrared receiver H receives 32-bit NEC codes of the infrared transmitter, and the central controller IC1 decodes the signals to adjust the brightness of red light and blue light.

The following is further illustrated with reference to the examples:

as shown in fig. 3, the format transmitted by the infrared receiver H from the infrared remote controller is NEC code, the NEC code mainly has 32 bits, which includes 8-bit address code, 8-bit address bar code, 8-bit user code, and 8-bit user bar code, the central processor IC1 decodes different user codes transmitted by the infrared remote controller, so that the central processor IC1 performs different functions, such as turning on or off a relay, adjusting the brightness of the red laser light L1, and adjusting the brightness of the blue laser light L2;

the infrared remote controller uses NEC protocol, which includes: an 8-bit address and an 8-bit instruction length; address and command 2 transfers; PWM pulse position modulation to represent "0" and "1" with duty cycles of the emitted infrared carrier; the carrier frequency is 38 Khz; bit time is 1.125ms or 2.25 ms; the bits of the NEC code define: one pulse corresponds to 560us of continuous carriers, one logical 1 transmission takes 2.25ms (560us pulse +1680us low) and one logical 0 transmission takes 1.125ms (560us pulse +560us low). The infrared receiver H is at a low level when receiving the pulse and at a high level when there is no pulse, and the signal received at the infrared receiver H is: logic 1 should be 560us low +1680us high, logic 0 should be 560us low +560us high; the data format of the NEC remote control instruction is a synchronous wharf, an address code, an address inverse code, a control code and a control inverse code, wherein the synchronous code consists of a low level of 9ms and a high level of 4.5ms, the address code, the address inverse code, the control code and the control inverse code are all in an 8-bit data format and are sent in the sequence of the low bit in front of the high bit behind the low bit, and the inverse code is adopted to increase the transmission reliability (can be used for checking).

As shown in fig. 3, the central controller IC1 receives the waveform from the ir receiver H by the input capture function of the timer, decodes the waveform according to the above logic to extract the key value, and then determines the key value to perform the dimming or relay control operation.

As shown in fig. 1 and 5, the first laser fill light circuit includes a first red light driver U1, a second red light driver U2, a third red light driver U3, a signal expansion chip IC2 and a plurality of red laser lights L1, four red laser lights L1 are connected in series to the first red light driver U1, four red laser lights L1 are connected in series to the second red light driver U2, and four red laser lights L1 are connected in series to the third red light driver U3, and then both ends of the first red light driver U1 are connected to the signal expansion chip IC2 and a 12V power supply of the relay output, and the central controller is connected to the plurality of PWMR and PWMB ends of the signal expansion chip IC2 by using PWMR and PWMB ends.

As shown in fig. 2, the second laser fill-in light circuit includes a blue light driver U5 and two blue laser lights L2, which are connected in series in turn and then connected to the PWMR and PWMB terminals of the central controller and the 12V power supply output by the relay.

The color ratio of the first laser light supplement lamp circuit to the second laser light supplement lamp circuit is 2: 1.

As shown in fig. 4, the memory U4 uses an AT24C02 memory chip, the memory U4 can continue to store data when power is lost, and simultaneously can be erased and rewritten under the action of higher than normal voltage, as shown in fig. 4, two lines SCL and SDA of the memory U4 are connected with ports P17 and P40 of the central processor IC1, the ratio of red and blue laser lamps adjusted each time is written into a certain address of the memory U4 in the form of characters through the central processor IC1 in an IIC communication mode, after the power-on initialization is completed, the corresponding proportion is directly read from the address of the memory U4 for storing the red and blue proportion, and then the central processor IC1 outputs the PWM duty ratio corresponding to the proportion to the first red light driver U1, the second red light driver U2, the third red light driver U3 and the blue light driver U5 for driving the red laser lamp L1 or the blue laser lamp L2, so that the laser lamp state before power failure can be recovered. When a program is firstly burnt, factory red and blue light ratio IIC program initialization is written, the central processing unit IC1 reads the data of the flag bit, if the flag bit is not a set value, factory red and blue ratio is written, if the flag bit is a set value, the operation is not performed, when the red and blue light ratio is changed by operating an infrared remote controller each time, the ratio is stored in the storage U4, the red and blue light ratio is read after the power is turned off and on, and the power-down memory red and blue light ratio is realized.

As mentioned above, the control circuit for memorizing the plant light supplement lamp provided by the invention intelligently regulates the illumination intensity and time, and stores the illumination proportion state of different types of plant light supplement lamps through the memory chip when power failure occurs, and the control circuit still returns to the power failure state when power is on, thereby being more beneficial to the healthy growth of plants.

The same or similar reference numerals in the drawings of the present embodiment correspond to the same or similar components; in the description of the present invention, it is to be understood that the terms "upper", "lower", "left", "right", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, the terms describing the positional relationships in the drawings are only for illustrative purposes and are not to be construed as limitations of the present patent, and specific meanings of the terms may be understood by those skilled in the art according to specific situations.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, 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, 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, article, or apparatus that comprises the element.

The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有故障诊断诊断功能的RGB氛围灯电路

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!