Controllable LED constant-current driving power supply for plant light supplement
By designing a controllable LED constant current drive power supply and using a multi-tap transformer and a microcontroller to achieve precise control of the LED light source, the problems of insufficient precise control and high power consumption in the existing technology are solved, and the flexibility and safety are improved. , providing advanced lighting solutions for plant growth environments.
Patent Information
- Application Number
- CN202420347376.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The LED light source driving power supply in the existing plant lighting system lacks precise control capabilities, has high power consumption and lacks adjustment flexibility, making it difficult to meet dynamic control needs.
A controllable LED constant current driving power supply is designed, including power input circuit, numerical control and display circuit, power output circuit and protection circuit, using multi-tap transformer, microcontroller, rotary encoder and display, through digital control and adjustment technology Achieve precise control of lighting and introduce protection circuits to enhance safety performance.
It improves the flexibility and adjustability of the system, reduces power consumption, provides a more controllable and customizable lighting solution, fills the gap in LED drive power for dynamic fill light systems, and promotes technological progress in the field of plant growth. .
Smart Images

Figure CN221863123U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a plant light supplement device, in particular to a controllable LED constant current driving power supply for plant light supplement. Background Art
[0002] At present, the LED light source supplementary lighting system commonly used in the field of plant growth has some problems, such as insufficient precision control, high power consumption and insufficient adjustment flexibility. The programmable power supply provided by professional manufacturers is bulky and lacks flexibility, and mainly works in a fixed value constant current mode, which is difficult to meet the needs of dynamic control of LED light source combinations. Utility Model Content
[0003] In order to overcome the deficiencies in the prior art, the utility model provides a controllable LED constant current driving power supply for plant supplementary lighting, wherein the controllable LED constant current driving power supply can achieve precise control of lighting, thereby greatly improving the flexibility and adjustability of the system.
[0004] The technical solution of the utility model to solve the above technical problems is:
[0005] A controllable LED constant current driving power supply for plant supplementary lighting, comprising a power input circuit, a digital control and display circuit, a power output circuit and a protection circuit, wherein:
[0006] The power input circuit includes a toroidal transformer and a rectifier filter circuit, wherein the toroidal transformer is provided with multiple groups of taps for realizing different voltage outputs; the rectifier filter circuit is used to realize the conversion of alternating current into direct current;
[0007] The numerical control and display circuit includes a microcontroller, a rotary encoder, a display and a key circuit, wherein the key circuit is provided with a plurality of groups of operation keys for inputting different control parameters; the input control parameters are encoded by the rotary encoder and acquired by the microcontroller; the display is used to display the operation parameters and the operation interface;
[0008] The power output circuit includes an adjustment circuit, an output circuit, a sampling circuit, a current limiting control circuit and a constant voltage control circuit, wherein the sampling circuit is used to collect the output voltage and output current of the output circuit, and then adjust the output voltage and output current through the constant voltage control circuit and the current limiting control circuit, and display the set value and the actual output value on the display;
[0009] The protection circuit includes an over-temperature protection circuit, an input over-voltage protection circuit, an output over-voltage protection circuit and an output over-current protection circuit.
[0010] Preferably, the rectifier and filter circuit uses an integrated rectifier bridge stack, whose model is KBU1010. The maximum reverse voltage that the rectifier bridge stack can withstand is 1000V, and the maximum forward current is 10A.
[0011] Preferably, the microcontroller adopts a single chip microcomputer of model STM32F103VET6.
[0012] Preferably, the display adopts a display screen of model LCD1602.
[0013] Preferably, the numerical control and display circuit also includes a fan for heat dissipation.
[0014] Preferably, the operation buttons realize state flipping through a bistable circuit, and include a SET button, a V / A button and an O / F button, wherein the SET button is used to set parameters, the V / A button is used to switch and adjust the output voltage and current, and the O / F button is used to switch the power supply to realize the start and stop control of the system.
[0015] Preferably, the bistable circuit is implemented by a D flip-flop, and the chip used by the D flip-flop is a dual D flip-flop 74HC74 with a set terminal and a reset terminal.
[0016] Preferably, the protection circuit also includes a surge protection circuit.
[0017] Preferably, the power input circuit also includes a transformer tap switching circuit.
[0018] Preferably, the protection circuit also includes an alarm circuit.
[0019] Compared with the prior art, the utility model has the following advantages and beneficial effects:
[0020] 1. The controllable LED constant current driving power supply of the utility model realizes precise control of illumination by introducing LED light source and multi-tap transformer design; compared with the traditional power supply, the digital control and regulation technology adopted by the controllable LED constant current driving power supply of the utility model greatly improves the flexibility and adjustability of the system; in addition, the multi-tap transformer design can effectively reduce power consumption and improve power efficiency. In addition, the controllable LED constant current driving power supply of the utility model introduces a protection circuit to enhance the safety performance of the equipment.
[0021] 2. The controllable LED constant current driving power supply of the utility model fills the gap in the market for LED driving power supplies specifically used for dynamic fill light systems, and provides a more controllable and customizable lighting solution for plant growth environments. Therefore, the controllable LED constant current driving power supply of the utility model is expected to promote the development of the field of plant growth and provide advanced and efficient lighting solutions for indoor plant cultivation, agricultural production and other fields.
[0022] 3. The controllable LED constant current drive power supply of the utility model has achieved a significant technological breakthrough in the field of plant supplementary lighting systems. Through innovative design and comprehensive functional optimization, it provides a more advanced and reliable solution for the precise control of the plant growth environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is the transformer schematic.
[0024] Figure 2 This is the schematic diagram of the rectifier and filter circuit.
[0025] Figure 3 This is the schematic diagram of the adjustment circuit.
[0026] Figure 4 It is the schematic diagram of the constant voltage control circuit.
[0027] Figure 5 This is the schematic diagram of the power input circuit.
[0028] Figure 6 Schematic diagram of the transformer tap switching circuit.
[0029] Figure 7 It is the schematic diagram of the communication interface between the CNC board and the analog part.
[0030] Figure 8 This is the schematic diagram of the EC11 encoder.
[0031] Fig. 9 This is the schematic diagram of the LCD1602 drive circuit.
[0032] Fig.10 This is the schematic diagram of the TL431 output 3.3V reference source circuit.
[0033] Fig.11 It is the schematic diagram of the switching circuit.
[0034] Fig.12 This is the schematic diagram of the SET button circuit.
[0035] Fig.13 This is the schematic diagram of the V / A button circuit.
[0036] Fig.14 It is a structural block diagram of a controllable LED constant current driving power supply for plant light supplementation of the utility model. DETAILED DESCRIPTION
[0037] The present invention is further described in detail with reference to the embodiments and the accompanying drawings, but the implementation manner of the present invention is not limited thereto.
[0038] The controllable LED constant current driving power supply for plant supplementary lighting of the utility model comprises a power input circuit, a digital control and display circuit, a power output circuit and a protection circuit, wherein:
[0039] The power input circuit includes a toroidal transformer and a rectifier filter circuit, wherein the toroidal transformer is provided with multiple groups of taps for realizing different voltage outputs; the rectifier filter circuit is used to realize the conversion of alternating current into direct current;
[0040] The numerical control and display circuit includes a microcontroller, a rotary encoder, a display and a key circuit, wherein the key circuit is provided with multiple groups of operation keys for inputting different control parameters; the input control parameters are encoded by the rotary encoder and acquired by the microcontroller; the display is used to display the operation parameters and the operation interface;
[0041] The power output circuit includes an adjustment circuit, an output circuit, a sampling circuit, a current limiting control circuit and a constant voltage control circuit, wherein the sampling circuit is used to collect the output voltage and output current of the output circuit, and then adjust the output voltage and output current through the constant voltage control circuit and the current limiting control circuit, and display the set value and the actual output value on the display;
[0042] The protection circuit includes one or more of an over-temperature protection circuit, an input over-voltage protection circuit, an output over-voltage protection circuit, an output over-current protection circuit, a surge protection circuit and an alarm circuit.
[0043] The following is an explanation of the specific structure of the controllable LED constant current driving power supply for plant light supplementation of the utility model in combination with a specific case:
[0044] Implementation Case 1
[0045] The input 220V AC is converted to a maximum 24V AC through a transformer. The transformer adopts a toroidal transformer. The main power transformer uses a total of 4 taps. The output voltages are AC 0V, 8V, 16V, and 24V, respectively, and the output current is 3.2A. Since the power consumed by the adjustment tube (set in the adjustment circuit) is the largest when the series-type adjustable voltage-stabilized power supply in this embodiment outputs low voltage and high current, the purpose of using 4 transformer taps is to lower the input voltage when outputting a relatively low voltage, thereby reducing the voltage drop on the adjustment tube, thereby achieving the purpose of improving the power supply efficiency while also reducing the power consumption of the adjustment tube.
[0046] Figure 1 This is the schematic diagram of the transformer. There are three independent output windings in total. The power part contains 4 taps that output 8V / 3.2A. The 25V / 1A and 8V / 0.5A windings are both auxiliary power inputs.
[0047] The controllable LED constant current driving power supply of the present invention adopts the method of "rectification" to convert AC into DC. "Rectification" is to realize the conversion from AC to DC by using unidirectional conductive elements. According to whether the rectifier tube has a control electrode, "rectification" is divided into controlled rectification and uncontrolled rectification. Uncontrolled rectification is adopted in this embodiment, and an integrated rectifier bridge stack is used, and its model is KBU1010. The maximum reverse voltage that the rectifier bridge stack can withstand is 1000V, and the maximum forward current is 10A.
[0048] Figure 2 This is the schematic diagram of the rectifier and filter circuit. Four 4700μF capacitors are connected in parallel to filter out the low-frequency, large-amplitude ripple noise in the input voltage. The purpose of using parallel connection instead of using a large-capacity capacitor is to reduce the equivalent resistance of the capacitor; two 105 monolithic capacitors are connected in parallel to filter out the high-frequency, small-amplitude ripple and noise in the input voltage; the parallel 1KΩ / 10W power resistor R1 is for smoothing the output and for discharging the large-capacity filter capacitor after power failure, so that the input voltage of the power circuit drops quickly to zero.
[0049] The controllable LED constant current driving power supply of the utility model adopts a composite adjustment tube circuit (i.e., an adjustment circuit), the power transistor adopts TIP35C, the auxiliary transistor adopts Darlington transistor TIP122, and the diode D1 is used for protection to prevent the output voltage from being higher than the input voltage when the power is off, thereby preventing the reverse voltage at both ends of the transistor Q1 from being too large and burning the transistor Q1.
[0050] Figure 3 To adjust the circuit, the collectors of transistors Q1 and Q2 are the input ends of the controllable LED constant current driving power supply of the utility model, the emitter of transistor Q1 is the output end of the controllable LED constant current driving power supply of the utility model, the base of transistor Q2 is connected in series with a switching diode D2, and the anode of the switching diode D2 is the input end of the feedback circuit. In addition, the digital control power supply of the controllable LED constant current driving power supply of the utility model is a series-type voltage-stabilized power supply. Since the adjustment tube works in the linear amplification area when the power supply is working, this type of power supply is called a linear power supply.
[0051] Figure 4 The schematic diagram of the constant voltage control circuit is shown below, where the J1 terminal is the input and the J2 terminal is the output. The voltage regulation principle is as follows:
[0052] When the input voltage Ui or the load current Io changes and causes the output voltage Uo to rise, the voltage at the inverting terminal of the operational amplifier U5 will also rise. At this time, the voltage at the inverting terminal of the operational amplifier U5 remains unchanged, and the voltage at the reverse terminal of the operational amplifier U5 is higher than the voltage at the inverting terminal. The operational amplifier U5 outputs a low level, and the base voltage of the equivalent transistor after the transistors Q1 and Q2 are combined decreases, so the base current decreases, and thus its emitter current also decreases, thereby causing the output voltage Uo to decrease until it is maintained in a stable state.
[0053] When the output voltage Uo decreases, the inverting input voltage of the operational amplifier U5 also decreases, and the non-inverting input voltage of the operational amplifier U5 remains unchanged. The non-inverting terminal voltage of the operational amplifier U5 is higher than the inverting terminal voltage. The operational amplifier U5 outputs a high level, which increases the base current of the composite equivalent transistor, thereby increasing the emitter current, and further increasing the output voltage Uo until it is maintained in a stable state.
[0054] The output voltage is controlled by a digital-to-analog converter. The output voltage of the digital-to-analog converter is input to the in-phase terminal of the operational amplifier U5 through the resistor R15 after passing through the RC filter composed of the resistor R16 and the capacitor C3. The resistors R12 and R13 are connected in series and in parallel at the output end of the power supply. The middle point of the series resistors is connected to the inverting terminal of the operational amplifier U5 through the resistor R14. The operational amplifier U5 uses the precision operational amplifier OP07. According to the voltage regulation principle, when the output voltage is stable, the in-phase and inverting voltages of the operational amplifier U5 are equal. Therefore, when the voltage is normally regulated, the output voltage of the analog-to-digital converter is equal to the middle point voltage of the series connection of the resistors R12 and R13. According to the resistance values of R12 and R13, it can be known that:
[0055]
[0056] Where UV is the output voltage of DA.
[0057] The controllable LED constant current driving power supply of the utility model adopts a current limiting method to enable the power supply to automatically switch to a constant current state when the load impedance is low.
[0058] Figure 5 This is the overall schematic diagram of the power input circuit, where U1, U2, and U3 are all OP07 operational amplifiers, which together form a three-op-amp amplifier circuit; the resistor R1 is a current sampling resistor, which is a precision sampling resistor with a resistance of 0.1Ω and an accuracy of 1% produced by DALE. The function of the three-op-amp differential amplifier circuit composed of U1, U2, and U3 is to make a difference between the voltages at both ends of the sampling resistor R1. The voltage obtained after the difference is the voltage dropped on the sampling resistor R1, and then this voltage value is amplified by 10 times and sent to the inverting terminal of the op-amp U4 as a reference. The function of the op-amp U4 is current feedback, and its working principle is as follows:
[0059] Assuming that the voltage dropped on resistor R1 is UR1, the current output by the power supply is The output current of the CNC power supply is adjustable from 0 to 3A, and the resistance value of R1 is 0.1Ω, so the range of UR1 is 0-0.3V, which is 0-3V after amplification by 10 times. This voltage is equal to the output current. Therefore, the voltage obtained by AD sampling at the output end of the operational amplifier U3 is equal to the output current. The resistor R19 and the capacitor C8 form an RC low-pass filter to make the AD sampling result more accurate.
[0060] The voltage variation range of the inverting terminal of the operational amplifier U4 is 0-3V, and the voltage of the non-inverting terminal of the operational amplifier U4 is determined by the DA input voltage, that is, the voltage value of the non-inverting terminal of the DA input U4 is the maximum value of the power supply output current. When the output current value is lower than the set value, the voltage of the inverting terminal of the operational amplifier U4 is lower than the voltage of the non-inverting terminal, the output is high, and the diode D3 is cut off. At this time, the operational amplifier U4 has no effect on the voltage feedback loop, and the power supply works in a regulated voltage state. When the power supply output current is higher than the set value, the voltage of the inverting terminal of the operational amplifier U4 is higher than the voltage of the non-inverting terminal, and the output is low. At this time, the diode D3 is turned on, forcibly pulling down the voltage of the non-inverting terminal of the voltage feedback operational amplifier U3, so that the output voltage is reduced until the power supply output current is reduced to within the set value range. At this time, the output voltage drops to a level lower than the set value, and the power supply works in a constant current state.
[0061] The power input circuit and digital circuit of the controllable LED constant current driving power supply of the utility model have 6 communication interfaces in total, which are connected to the female connector through the pin header. The 6 communication interfaces are DA-A, DA-V, AD-A, AD-V, Control, and GND, where DA-A is the power output current control quantity, and its value is equal to the output current of the power supply; DA-V is the power output voltage control quantity, and its value multiplied by 8.5 is the output voltage value of the power supply; AD-A is the output current size sampling, and its value is equal to the output current size; AD-V is the output voltage size sampling, and its value multiplied by 8.5 is equal to the actual output voltage size of the power supply; Control is the power output control quantity, which is used to control the opening and closing of the power output; GND is the ground of the power circuit, which is the analog ground of the system, and it is isolated from the digital ground of the CNC board by a 0Ω resistor.
[0062] The digital control power supply of the controllable LED constant current driving power supply of the utility model has an adjustable current range of 0-3A, an adjustable voltage range of 0-24V, and a maximum total power of 72W.
[0063] The transformer has 4 taps in total, with outputs of 0V, 8V, 16V, and 24V. When the 8V and 16V taps are connected, the maximum DC voltage after rectification and filtering is When the 0V and 16V taps are connected, the maximum DC voltage after rectification and filtering is When the 0V and 24V taps are connected, the maximum DC voltage after rectification and filtering is The above voltages are all no-load voltages. In order to maintain the input voltage stability, a resistor is connected in parallel to the output end of the power supply to stabilize the input voltage. At this time, the power supply input voltages are 8×1.2≈9.6V, 16×1.2≈19.2V, and 24×1.2≈28.8V respectively.
[0064] When the linear power supply outputs low voltage and high current, the power consumed by the adjustment tube is the largest. That is, when the power supply output current is 3A and the voltage is 0V, if the AC input is 24V, the power consumed by the power supply adjustment is:
[0065] P=28.8V×3A=86.4W
[0066] At this time, the heating of the adjustment tube will be very serious. In order to reduce the power consumption of the adjustment tube as much as possible and to improve the efficiency of the power supply, a multi-tap transformer design is adopted.
[0067] When the output voltage is lower than 8V, the transformer taps are connected to 8V and 16V. At this time, the maximum input DC voltage of the power circuit is 9.6V. When the output voltage is greater than 8V and less than 16, the transformer is connected to 0V and 16V. At this time, the maximum input DC voltage of the power input circuit is 19.2V. When the output voltage is greater than 16 V, the transformer is connected to 0V and 24V. At this time, the maximum input DC voltage of the power input circuit is 28.8V.
[0068] Therefore, when the power supply outputs 0V and 3A, the maximum power consumed by the adjustment tube is:
[0069] P1=9.6×3A=28.8W
[0070] The value of P1 is much lower than that of P. At this time, adding a heat sink and a cooling fan is enough to maintain the normal operation of the power supply. In order to realize the automatic switching of the transformer tap, a transformer tap switching circuit composed of a voltage comparator and a relay is added to realize the automatic switching of the transformer tap.
[0071] Figure 6 The schematic diagram of the transformer tap switching circuit is shown in Figure 1. The output voltage range of the CNC power supply is 0-24V, which is 0-4.8V after being divided by resistors R1 and R2. The voltage comparator uses the dual voltage comparator integrated chip LM393. In the figure, the inverting terminal reference voltage of U1A is provided by the +5V power supply after being divided by resistors R3 and R4, and its reference potential is 1.594V. The inverting terminal reference voltage of U1B is 3.198V, that is, the two thresholds of the voltage comparator are 1.594V and 3.198V respectively.
[0072] The output voltage is reduced to 1 / 5 of the original value after being divided by resistors R1 and R2, so the actual output of the CNC power supply corresponding to the two thresholds of the voltage comparator is 8V and 16V respectively.
[0073] When the power supply output voltage is lower than 8V, both voltage comparators output high level. At this time, both transistors Q1 and Q2 are cut off, the relay does not work, and the transformer taps connected to the circuit are 8V and 16V connected to the normally closed contacts of the relay. At this time, the transformer output is 8V.
[0074] When the power supply output voltage is higher than 8V and lower than 16V, U1A outputs a low level and U1B outputs a high level. At this time, transistor Q1 is turned on, Q2 is turned off, and relay RL1 is activated to switch the transformer tap connected to the circuit to 0V. Therefore, the two taps connected to the circuit are 0V and 16V, and the transformer outputs 16V.
[0075] When the power supply output voltage is higher than 16V, U1A and U1B both output low level, so transistors Q1 and Q2 can be turned on. At this time, both relays will be energized, and the transformer taps connected to the circuit are 0V and 24V, so the transformer output voltage is 24V.
[0076] The STM32F103VET6 used in the controllable LED constant current driving power supply of the utility model is a 32-bit microcontroller based on the ARM core. This series of chips is a product of STMicroelectronics (ST), and its core is Cortex-M3; since the communication between the numerical control board and the analog part is through a six-bit interface, including two ADs and two DAs, as well as GND and Control, a 0Ω resistor is used to isolate the analog ground and the digital ground, and Control is the input interface of the control signal for turning the power on and off.
[0077] Figure 7 This is a digital analog interface connection diagram. This embodiment uses a rotary encoder to adjust the output voltage and current. The rotary encoder is EC11. Figure 8 This is its working circuit. When the knob of EC11 is turned, pulses will be output in phase A and phase B. There is a phase difference between the two pulses. The pulse of phase A is connected to PC13, which is the interrupt input port. Phase B is connected to PC6, which is a common I / O port. When PC13 generates a falling edge, if PC6 is judged as a low level, it means that the encoder is rotating forward at this time. When PC13 generates a falling edge, if PC6 is judged as a high level, it means that the encoder is reversed at this time. When the encoder rotates forward, the output voltage or current value increases, otherwise it decreases. Every time the encoder rotates one grid, the internal count increases or decreases by one, and this process is completed in the interrupt.
[0078] The LCD1602 used in the display is a character type liquid crystal display, and its driving circuit is as follows Fig. 9 shown.
[0079] The controllable LED constant current drive power supply of this utility model uses the built-in ADC and DAC of STM32. In order to make the result more accurate, a reference source circuit is required. TL431 is used to implement this function. Fig.10 As shown in the figure, it is the schematic diagram of TL431 outputting 3.3V reference source.
[0080]
[0081] The CNC power supply has three buttons, namely "SET", "V / A" and "O / F", which are used for setting, current and voltage conversion, and turning on and off output respectively. Each button of the power supply corresponds to an LED indicator. After the power supply is powered on, all LED indicators are off. After the button is pressed, the LED indicator lights up, and the LED indicator turns off when the button is pressed again. Since each button corresponds to two states of the power supply, the on and off of the LED indicator can indicate the current state of the power supply. For example, when the LED indicator corresponding to the button "O / F" lights up, it means that the power supply turns on the output, and when it turns off, it means that the power supply turns off the output. Each time the button "O / F" is pressed, the power supply switches to a state.
[0082] In order to achieve the above requirements, this embodiment adopts a bistable circuit, which has two stable states and flips one stable state when receiving a trigger signal. This embodiment uses a D flip-flop to realize a bistable circuit, and the chip used is a commonly used dual D flip-flop 74HC74 with a set terminal and a reset terminal. The set terminal and reset terminal of the 74HC74 chip are both effective at low levels. When the chip is expected to work in a triggered state, the set terminal and the reset terminal must be set to a high level at the same time. When the 74HC74 works in a triggered state, when a rising edge appears at its CLK terminal (clock input terminal), the D flip-flop will transmit the level state of its data terminal D to the output terminal Q. The design uses a button to generate a rising edge to trigger the D flip-flop, and then connects the Q (-) terminal of the D flip-flop to the data terminal, so that the purpose of flipping the output level every time the button is pressed can be achieved.
[0083] However, due to the jitter of the button, the button is usually pressed once but the circuit state does not flip. In fact, the jitter of the button generates two trigger signals, so the circuit state flips twice and finally returns to the initial state. Therefore, it is equivalent to no flip. The intuitive phenomenon is that the LED indicator is on before the button is pressed, and the LED indicator flashes and remains on after the button is pressed.
[0084] In order to avoid the power supply outputting directly after turning on the main switch and for the convenience of use, a switch circuit is added to the function button of the power supply, such as Fig.11 Shown is the switching circuit of the power supply.
[0085] U3A and its peripheral circuits together form a monostable circuit. After power-on, the Q terminal of U3A outputs a low level. The output is high level. The capacitor C1 is charged through R12, so that the voltage across C1 basically reaches The voltage of the D flip-flop is set high, and the D flip-flop works normally. When the button is pressed, the CLK terminal of U3A receives a rising edge, and Q outputs a high level. The output is low level, so the capacitor will start to discharge through R12 until the voltage across the capacitor is low enough to be recognized as a low level by the D flip-flop, and the D flip-flop will be reset. After reset, the output of Q becomes low level again, waiting for the next rising edge.
[0086] Since the data terminal D is always at a high level, the output Q of U3A will be high as long as there is a rising edge. The D flip-flop can only be reset forcibly after the capacitor C1 is discharged, so that its output jumps to a low level. The purpose of this process is to widen the pulse generated by the key through the delay effect of the RC circuit and maintain it for a period of time. During this period of time, even if the key jitters, U3A will no longer generate a rising edge and will not affect the subsequent circuit. Such a delay will not affect normal use.
[0087] U3B and its peripheral circuits form a single-key bistable circuit. In the initial state, its output terminal Q is low-level. is high level, Consistent with the potential of the data terminal D, when its CLK terminal receives a rising edge, Q becomes a high level. When the rising edge comes, Q will jump to low level again. This cycle forms a bistable circuit.
[0088] The final effect is that each time the button is pressed, the state of the circuit is flipped. When it is high, transistor Q4 is turned on, and the Control terminal of the transistor is connected to the anode of the series diode of the adjustment tube. At this time, the voltage of the Control terminal will be low, and the base potential of the adjustment tube will be forced to be pulled down, so that the adjustment tube cannot be turned on, and the power supply output is turned off. When it is low level, transistor Q4 is cut off. Since Q4 is an open collector output, the collector potential of transistor Q4 is consistent with the anode potential of the diode connected in series with the base of the adjustment tube, which will not affect the normal output of the circuit. At this time, transistor Q3 is turned on and the LED indicator is lit, indicating that the power output is turned on.
[0089] Fig.12 This is the schematic diagram of the SET button. Fig.13 This is the schematic diagram of the V / A button. Its basic working principle diagram is consistent with the switch circuit. The output of the SET button is connected to the PB0 pin of the control chip, and the output of the V / A button is connected to the PB1 pin of the control chip, so that the control chip STM32F103VET6 responds to the operation through the status of the pin and displays the working status of the system.
[0090] In addition, the controllable LED constant current driving power supply of the present invention has four protection circuits, namely input overvoltage, output overvoltage, output overcurrent and over-temperature protection, as well as a surge protection circuit; the panel of the controllable LED constant current driving power supply of the present invention includes seven parts: human-computer interaction interface, output wiring terminals, function buttons, function button indicator lights, main power switch, output adjustment knob, and alarm indicator light. The human-computer interaction interface and output wiring terminals are distributed on the left side of the panel, the function buttons and their indicator lights are distributed on the middle right side, the upper right corner is the adjustment knob and alarm indicator light, and the lower right corner is the main power switch.
[0091] Implementation Case 2
[0092] See also Fig.14 The difference between this implementation case and implementation case 1 is that:
[0093] (1) The transformer is divided into 5 taps in total. 8V / 0.5A and 25V / 1A are used as auxiliary power supplies, outputting -5V and 27V power supplies respectively. The 27V power supply is used to power the operational amplifier and is also converted into a 12V power supply as an input, thereby generating 5V and 3.3V power supplies to power the control circuits and fans in the system. The other 3 sets of taps output by the transformer are 8V / 3.2A, which are detected and judged by the microcontroller. When the output voltage is lower than 8V, only one set of taps is used. When the output voltage is between 8-16V, two sets of taps are used. When the output voltage is between 16-24V, three sets of taps are used to improve power efficiency.
[0094] (2) The power output of the power supply is mainly completed by the adjustment circuit. The main control collects the voltage and current at the output end through the sampling circuit, and then controls the constant voltage control circuit and the current limiting control circuit through the DAC to complete the adjustment of the output voltage and current, and displays the set value and the actual output value on the screen.
[0095] (3) The protection circuit of the power supply is mainly composed of four parts, namely over-temperature protection, input over-voltage protection, output over-voltage protection and output over-current protection. Over-temperature protection is completed by temperature acquisition by a temperature probe installed on the radiator of the adjustment tube. If the temperature exceeds 40°C, the main control will turn on the fan for cooling. If the temperature exceeds 80°C, the protection circuit will directly control the cut-off of the input power. If the input voltage, output voltage and output current exceed the normal value, the input power will also be directly cut off by the protection circuit. The protection circuit is not interfered by the microcontroller and is directly completed by the hardware circuit, so the action speed will be faster.
[0096] The above is a preferred implementation mode of the present invention, but the implementation mode of the present invention is not limited by the above content. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principle of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A controllable LED constant current driving power supply for plant supplementary lighting, comprising a power input circuit, a digital control and display circuit, a power output circuit and a protection circuit, characterized in that: The power input circuit includes a toroidal transformer and a rectifier filter circuit, wherein the toroidal transformer is provided with multiple groups of taps for realizing different voltage outputs; the rectifier filter circuit is used to realize the conversion of alternating current into direct current; The numerical control and display circuit includes a microcontroller, a rotary encoder, a display and a key circuit, wherein the key circuit is provided with a plurality of groups of operation keys for inputting different control parameters; the input control parameters are encoded by the rotary encoder and acquired by the microcontroller; the display is used to display the operation parameters and the operation interface; The power output circuit includes an adjustment circuit, an output circuit, a sampling circuit, a current limiting control circuit and a constant voltage control circuit, wherein the sampling circuit is used to collect the output voltage and output current of the output circuit, and then adjust the output voltage and output current through the constant voltage control circuit and the current limiting control circuit, and display the set value and the actual output value on the display; The protection circuit includes an over-temperature protection circuit, an input over-voltage protection circuit, an output over-voltage protection circuit and an output over-current protection circuit.
2. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The rectifier and filter circuit adopts an integrated rectifier bridge stack, whose model is KBU1010. The maximum reverse voltage that the rectifier bridge stack can withstand is 1000V, and the maximum forward current is 10A.
3. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The microcontroller adopts a single chip microcomputer of model STM32F103VET6.
4. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The display adopts a display screen of LCD1602 model.
5. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The digital control and display circuit also includes a fan for heat dissipation.
6. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The operation buttons realize state flipping through a bistable circuit, and include a SET button, a V / A button, and an O / F button. The SET button is used to set parameters, the V / A button is used to switch and adjust the output voltage and current, and the O / F button is used to switch the power supply to realize the start and stop control of the system.
7. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 6, characterized in that: The bistable circuit is implemented by using a D flip-flop, and the chip used by the D flip-flop is a dual D flip-flop 74HC74 with a set terminal and a reset terminal.
8. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The protection circuit also includes a surge protection circuit.
9. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The power input circuit also includes a transformer tap switching circuit.
10. The controllable LED constant current driving power supply for plant supplementary lighting according to claim 1, characterized in that: The protection circuit also includes an alarm circuit.
