A control circuit, a power supply circuit and a lamp
By designing a control circuit for street lights, the lighting intensity of the street lights is dynamically adjusted according to the ambient light intensity, which solves the problem of energy waste of existing street lights in summer and achieves more efficient energy-saving effects and convenient lighting management.
Patent Information
- Application Number
- CN202410798175.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing street lights adopt timing control, which causes them to light up too early when the daytime is long in summer and turn off too early at night, resulting in a waste of energy, and the lighting intensity cannot be automatically adjusted according to the ambient light intensity.
Design a control circuit, including a light intensity detection circuit, a delay circuit, a comparator circuit and an oscillator circuit. By detecting the ambient light intensity and adjusting the output power of the power supply circuit, the street lamp lighting intensity can be dynamically changed.
Effective energy saving avoids the problem of street lights turning on too early or turning off too late in summer, improves the convenience and maintenance efficiency of street lights, and reduces labor costs and maintenance difficulty.
Smart Images

Figure CN118368789B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power management, and in particular to a control circuit, a power circuit and a lamp. Background Art
[0002] Existing street lamps generally use timer control, that is, they work on time at 6 pm or other fixed times to provide lighting for passers-by, and stop working at 8 am or other fixed times when it gets light, and the existing street lamps have only one light intensity.
[0003] The daytime hours are longer in the summer, and the sun rises earlier in the morning and sets later in the evening. However, existing street lamps often start working before it is completely dark in the summer. Turning on the street lamps too early will cause a waste of energy. In addition, the sun rises earlier in the summer, and when the light intensity in the morning is sufficient for lighting, the street lamps are still in working state, which will also cause a waste of energy. Summary of the invention
[0004] The main purpose of the present invention is to provide a control circuit, a power supply circuit and a lamp, aiming to achieve that the lighting intensity of the street lamp changes with the change of the ambient light, thereby achieving an energy-saving effect.
[0005] To achieve the above object, the present invention provides a control circuit, which is applied to a power supply circuit. The control circuit includes:
[0006] A light intensity detection circuit, which is used to detect the ambient light intensity and output a corresponding light intensity detection signal;
[0007] A delay circuit, wherein an input end of the delay circuit is electrically connected to an output end of the light intensity detection circuit;
[0008] a first comparator circuit, wherein a non-inverting terminal of the first comparator circuit is electrically connected to an input terminal of the delay circuit, an inverting terminal of the first comparator circuit is electrically connected to an output terminal of the delay circuit, and when a voltage at the input terminal of the delay circuit is greater than a voltage at the output terminal of the delay circuit, an output terminal of the first comparator circuit outputs a first signal;
[0009] a second comparator circuit, wherein a non-inverting terminal of the second comparator circuit is electrically connected to an output terminal of the delay circuit, an inverting terminal of the second comparator circuit is electrically connected to an input terminal of the delay circuit, and when a voltage at the output terminal of the delay circuit is greater than a voltage at the input terminal of the delay circuit, the output terminal of the second comparator circuit outputs a second signal;
[0010] a main control circuit, wherein a detection end of the main control circuit is electrically connected to an output end of the first comparator circuit and an output end of the second comparator circuit respectively;
[0011] an oscillation circuit, wherein a controlled end of the oscillation circuit is electrically connected to a control end of the main control circuit, an output end of the oscillation circuit is electrically connected to a controlled end of the power supply circuit, and when the main control circuit receives the first signal, the main control circuit controls the frequency of the square wave signal output by the oscillation circuit to become smaller; when the main control circuit receives the second signal, the main control circuit controls the frequency of the square wave signal output by the oscillation circuit to become larger;
[0012] The greater the frequency of the square wave signal, the greater the output power of the power supply circuit; the smaller the frequency of the square wave signal, the smaller the output power of the power supply circuit;
[0013] When the main control circuit continuously receives the first signal within the first time, the main control circuit controls the frequency of the square wave signal output by the oscillation circuit according to the duration of the first time, and the longer the duration of the first time is, the smaller the frequency of the square wave signal is; when the main control circuit continuously receives the second signal within the second time, the main control circuit controls the frequency of the square wave signal output by the oscillation circuit according to the duration of the second time, and the longer the duration of the second time is, the larger the frequency of the square wave signal is.
[0014] In one embodiment, the control circuit further includes:
[0015] a first amplifier circuit and a second amplifier circuit, wherein a non-inverting terminal of the first amplifier circuit is electrically connected to an input terminal of the delay circuit, an inverting terminal of the first amplifier circuit is electrically connected to an output terminal of the delay circuit, and an output terminal of the first amplifier circuit is electrically connected to the main control circuit;
[0016] The inverting terminal of the second amplifier circuit is electrically connected to the input terminal of the delay circuit, the non-inverting terminal of the second amplifier circuit is electrically connected to the output terminal of the delay circuit, and the output terminal of the second amplifier circuit is electrically connected to the main control circuit;
[0017] The first amplifier circuit is used to amplify the difference between the input terminal voltage of the delay circuit and the output terminal voltage of the delay circuit, and output a corresponding first difference signal; the second amplifier circuit is used to amplify the difference between the output terminal voltage of the delay circuit and the input terminal voltage of the delay circuit, and output a corresponding second difference signal;
[0018] The main control circuit controls the rate of change of the frequency of the square wave signal according to the size of the first difference signal or the size of the second difference signal. The larger the first difference signal is, the faster the rate at which the frequency of the square wave signal decreases; the smaller the second difference signal is, the slower the rate at which the frequency of the square wave signal increases.
[0019] In one embodiment, the delay circuit comprises:
[0020] A first resistor and a first capacitor, wherein the first end of the first resistor is electrically connected to the output end of the light intensity detection circuit, the first end of the first resistor is also electrically connected to the in-phase end of the first comparator circuit and the inverting end of the second comparator circuit, the second end of the first resistor is electrically connected to the first end of the first capacitor, the first end of the first capacitor is also electrically connected to the inverting end of the first comparator circuit and the in-phase end of the second comparator circuit, and the second end of the first capacitor is grounded.
[0021] In one embodiment, the first comparator circuit comprises:
[0022] a first comparator, wherein a non-inverting terminal of the first comparator is electrically connected to an input terminal of the delay circuit, an inverting terminal of the first comparator is electrically connected to an output terminal of the delay circuit, and an output terminal of the first comparator is electrically connected to a detection terminal of the main control circuit;
[0023] The second comparator circuit comprises:
[0024] A second comparator, wherein the non-inverting end of the second comparator is electrically connected to the output end of the delay circuit, the inverting end of the second comparator is electrically connected to the input end of the delay circuit, and the output end of the second comparator is electrically connected to the detection end of the main control circuit.
[0025] In one embodiment, the oscillator circuit comprises:
[0026] A capacitor circuit, a current source, a first switch tube, a voltage-stabilizing diode and a plurality of second switch tubes, wherein the capacitor circuit comprises a plurality of capacitors, the first ends of the plurality of capacitors are electrically connected to the current source, the second ends of the plurality of capacitors are electrically connected to the input ends of the plurality of second switch tubes in a one-to-one correspondence, the output ends of the plurality of second switch tubes are all grounded, the controlled ends of the plurality of second switch tubes are all electrically connected to the control end of the main control circuit, the cathode of the voltage-stabilizing diode is electrically connected to the controlled end of the first switch tube and the main control circuit respectively, and the output end of the first switch tube is grounded;
[0027] When the main control circuit continuously receives the first signal within the first time, the main control circuit turns on one of the second switch tubes every first preset time; when the main control circuit continuously receives the second signal within the second time, the main control circuit controls one of the second switch tubes to be turned off every first preset time.
[0028] In one embodiment, the capacitances of the plurality of capacitors are equal.
[0029] In one embodiment, the first amplifier circuit comprises:
[0030] A first amplifier, a second resistor, a third resistor, a fourth resistor and a fifth resistor, wherein the first end of the second resistor is electrically connected to the input end of the delay circuit, the second end of the second resistor and the second end of the third resistor are both electrically connected to the in-phase end of the first amplifier, the first end of the third resistor is grounded, the first end of the fourth resistor is electrically connected to the output end of the delay circuit, the second end of the fourth resistor and the first end of the fifth resistor are both electrically connected to the inverting end of the first amplifier, the second end of the fifth resistor is electrically connected to the output end of the first amplifier, and the output end of the first amplifier is also electrically connected to the main control circuit;
[0031] The second amplifier circuit comprises:
[0032] a second amplifier, a sixth resistor, a seventh resistor, an eighth resistor and a ninth resistor, wherein the first end of the sixth resistor is electrically connected to the output end of the delay circuit, the second end of the sixth resistor and the second end of the seventh resistor are both electrically connected to the in-phase end of the second amplifier, the first end of the seventh resistor is grounded, the first end of the eighth resistor is electrically connected to the input end of the delay circuit, the second end of the eighth resistor and the first end of the ninth resistor are both electrically connected to the inverting end of the second amplifier, the second end of the ninth resistor is electrically connected to the output end of the second amplifier, and the output end of the second amplifier is also electrically connected to the main control circuit.
[0033] In one embodiment, the light intensity detection circuit includes:
[0034] A photosensor, a filter circuit and a voltage follower, wherein the output end of the photosensor is electrically connected to the input end of the filter circuit, the output end of the filter circuit is electrically connected to the input end of the voltage follower, and the output end of the voltage follower is electrically connected to the input end of the delay circuit.
[0035] The present invention further provides a power supply circuit, comprising any one of the control circuits described above.
[0036] The present invention further provides a lamp, comprising a lamp body and the power circuit described above, wherein a power supply end of the power circuit is electrically connected to the lamp body.
[0037] The control circuit of the present invention detects the intensity of ambient light through a light intensity detection circuit and outputs a corresponding light intensity detection signal. Due to the delay effect of the delay circuit, the voltages at the input and output ends of the delay circuit will be different in a short time after the light intensity changes. The first comparator circuit is used to compare the voltage at the input end and the voltage at the output end of the delay circuit. When the voltage at the input end of the delay circuit is greater than the voltage at the output end, it indicates that the ambient light intensity has become stronger. The first comparator circuit outputs a first signal (high level) to the main control circuit, so that the main control circuit controls the direction of the output of the oscillation circuit. The frequency of the square wave signal decreases, thereby reducing the output power of the power supply circuit, and the brightness of the lamp connected to the power supply circuit also becomes weaker; the second comparator circuit is used to compare the voltage at the output end of the delay circuit and the voltage at the input end. When the voltage at the output end of the delay circuit is greater than the voltage at the input end, it indicates that the ambient light intensity becomes weaker, and the second comparison circuit outputs a second signal (high level) to the main control circuit to increase the frequency of the square wave signal output by the oscillation circuit controlled by the main control circuit, thereby increasing the output power of the power supply circuit, and the brightness of the lamp connected to the power supply circuit also becomes stronger. When the main control circuit continuously receives the first signal within the first time, the longer the first time is, the longer the ambient light intensity continues to become stronger. The main control circuit controls the frequency of the square wave signal according to the duration of the first time. The longer the first time is, the smaller the frequency of the square wave signal is. When the main control circuit continuously receives the second signal within the second time, the longer the second time is, the longer the ambient light intensity continues to become weaker. The main control circuit controls the frequency of the square wave signal according to the duration of the second time. The longer the second time is, the larger the frequency of the square wave signal is, so that the output power of the power supply circuit changes with the change of light intensity.
[0038] With such arrangement, in practical application, the control circuit of the present invention can be applied to the power circuit of the street lamp. When the ambient light gradually weakens (for example, it is dark), the control circuit of the present invention controls the output power of the power circuit of the street lamp to gradually increase, so that the luminous intensity of the street lamp gradually increases as the ambient light gradually weakens. Compared with the existing street lamps, the existing street lamps generally adopt timing control, and often start working before it is completely dark in summer. The premature lighting of the street lamp will cause energy waste. In summer, the daylight is early. If the street lamp is still in a working state when it is completely bright, it will also cause energy waste. The control circuit of the present invention can control The street lamp changes with the change of the ambient light intensity. When it gradually gets darker, the luminous intensity of the street lamp also gradually gets stronger. When it gradually gets brighter, the luminous intensity of the street lamp also gradually gets weaker. It will not light up too early or go out too late like the existing street lamps, thereby achieving a better energy-saving effect. Moreover, when the ambient light gradually weakens due to weather changes, such as heavy rain, the street lamp used by the control circuit of the present invention will automatically light up in time, and will go out in time when the weather gradually becomes clear. For the staff, there is no need to go to the control room to turn on the street lamp during heavy rain. The control circuit of the present invention not only improves the convenience of using the street lamp, but also reduces the labor cost and maintenance difficulty. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0040] Figure 1 A schematic diagram of a module according to an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a circuit structure of another embodiment of the present invention;
[0042] Figure 3 A schematic diagram of a circuit structure of another embodiment of the present invention;
[0043] Figure 4 A schematic diagram of a circuit structure of another embodiment of the present invention;
[0044] Figure 5 FIG. 2 is a schematic diagram of a circuit structure of another embodiment of the present invention.
[0045] Explanation of the accompanying drawings: 10, light intensity detection circuit; 20, delay circuit; 30, first comparator circuit; 40, second comparator circuit; 50, main control circuit; 60, oscillation circuit; 70, first amplifier circuit; 80, second amplifier circuit.
[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0049] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or solutions that satisfy both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0050] Existing street lamps generally use timer control, that is, they work on time at 6 pm or other fixed times to provide lighting for passers-by, and stop working at 8 am or other fixed times when it gets light, and the existing street lamps have only one light intensity.
[0051] The daytime hours are longer in the summer, and the sun rises earlier in the morning and sets later in the evening. However, existing street lamps often start working before it is completely dark in the summer. Turning on the street lamps too early will cause a waste of energy. In addition, the sun rises earlier in the summer, and when the light intensity in the morning is sufficient for lighting, the street lamps are still in working state, which will also cause a waste of energy.
[0052] To this end, the present invention proposes a control circuit, a power supply circuit and a lamp, aiming to achieve that the lighting intensity of the street lamp changes with the change of the ambient light, thereby achieving an energy-saving effect.
[0053] refer to Figure 1 In one embodiment of the present invention, a control circuit is applied to a power supply circuit, characterized in that the control circuit includes:
[0054] A light intensity detection circuit 10, wherein the light intensity detection circuit 10 is used to detect the ambient light intensity and output a corresponding light intensity detection signal;
[0055] A delay circuit 20, wherein an input end of the delay circuit 20 is electrically connected to an input end of the light intensity detection circuit 10;
[0056] a first comparator circuit 30, wherein a non-inverting terminal of the first comparator circuit 30 is electrically connected to an input terminal of the delay circuit 20, and an inverting terminal of the first comparator circuit 30 is electrically connected to an output terminal of the delay circuit 20, and when a voltage at the input terminal of the delay circuit 20 is greater than a voltage at the output terminal of the delay circuit 20, an output terminal of the first comparator circuit 30 outputs a first signal;
[0057] a second comparator circuit 40, wherein a non-inverting terminal of the second comparator circuit 40 is electrically connected to an output terminal of the delay circuit 20, and an inverting terminal of the second comparator circuit 40 is electrically connected to an input terminal of the delay circuit 20, and when a voltage at the output terminal of the delay circuit 20 is greater than a voltage at the input terminal of the delay circuit 20, the output terminal of the second comparator circuit 40 outputs a second signal;
[0058] A main control circuit 50, wherein a detection end of the main control circuit 50 is electrically connected to an output end of the first comparator circuit 30 and an output end of the second comparator circuit 40 respectively;
[0059] an oscillating circuit 60, wherein a controlled end of the oscillating circuit 60 is electrically connected to a control end of the main control circuit 50, and an output end of the oscillating circuit 60 is electrically connected to a controlled end of the power supply circuit, and when the main control circuit 50 receives the first signal, the main control circuit 50 controls the frequency of the square wave signal output by the oscillating circuit 60 to become smaller; when the main control circuit 50 receives the second signal, the main control circuit 50 controls the frequency of the square wave signal output by the oscillating circuit 60 to become larger;
[0060] The greater the frequency of the square wave signal, the greater the output power of the power supply circuit; the smaller the frequency of the square wave signal, the smaller the output power of the power supply circuit;
[0061] When the main control circuit 50 continuously receives the first signal within the first time, the main control circuit 50 controls the frequency of the square wave signal output by the oscillation circuit 60 according to the duration of the first time, and the longer the duration of the first time is, the smaller the frequency of the square wave signal is; when the main control circuit 50 continuously receives the second signal within the second time, the main control circuit 50 controls the frequency of the square wave signal output by the oscillation circuit 60 according to the duration of the second time, and the longer the duration of the second time is, the larger the frequency of the square wave signal is.
[0062] In this embodiment, the main control circuit 50 can be implemented by a main controller, such as an MCU (Microcontroller Unit), a DSP (Digital Signal Process), an FPGA (Field Programmable Gate Array), a SOC (System On Chip), etc.
[0063] In this embodiment, the first comparator circuit 30 includes:
[0064] A first comparator, wherein a non-inverting terminal of the first comparator is electrically connected to an input terminal of the delay circuit 20, an inverting terminal of the first comparator is electrically connected to an output terminal of the delay circuit 20, and an output terminal of the first comparator is electrically connected to a detection terminal of the main control circuit 50;
[0065] The second comparator circuit 40 comprises:
[0066] A second comparator, wherein the non-inverting end of the second comparator is electrically connected to the output end of the delay circuit 20, the inverting end of the second comparator is electrically connected to the input end of the delay circuit 20, and the output end of the second comparator is electrically connected to the detection end of the main control circuit 50.
[0067] In this embodiment, the output end of the oscillation circuit 60 can be electrically connected to a driving circuit in the power supply circuit, and the driving circuit controls the conduction time of the synchronous rectification switch tube according to the frequency of the square wave signal, thereby controlling the output power of the power supply circuit; it can also be directly electrically connected to the controlled end of the synchronous rectification switch tube in the power supply circuit. The greater the frequency of the square wave signal, the longer the conduction time of the synchronous rectification switch tube, and the greater the output power of the power supply circuit; the smaller the frequency of the square wave signal, the shorter the conduction time of the synchronous rectification switch tube, and the smaller the output power of the power supply circuit.
[0068] In this embodiment, specifically, the control circuit of the present invention detects the intensity of ambient light through the light intensity detection circuit 10 and outputs a corresponding light intensity detection signal. Due to the delay effect of the delay circuit 20, the voltages at the input and output ends of the delay circuit 20 will be different in a short time after the light intensity changes. The first comparator circuit 30 is used to compare the voltage at the input and output ends of the delay circuit 20. When the voltage at the input end of the delay circuit 20 is greater than the voltage at the output end, it indicates that the ambient light intensity has become stronger. The first comparator circuit 30 outputs a first signal (high level) to the main control circuit 50, so that the main control circuit 50 controls the vibration. The frequency of the square wave signal output by the oscillation circuit 60 decreases, thereby reducing the output power of the power supply circuit, and the brightness of the lamp body connected to the power supply circuit also decreases; the second comparator circuit 40 is used to compare the voltage at the output end and the voltage at the input end of the delay circuit 20. When the voltage at the output end of the delay circuit 20 is greater than the voltage at the input end, it indicates that the ambient light intensity has weakened. The second comparison circuit outputs a second signal (high level) to the main control circuit 50, so that the main control circuit 50 controls the frequency of the square wave signal output by the oscillation circuit 60 to increase, thereby increasing the output power of the power supply circuit, and the brightness of the lamp body connected to the power supply circuit also increases. When the main control circuit 50 continuously receives the first signal within the first time, the longer the first time is, the longer the ambient light intensity continues to become stronger. The main control circuit 50 controls the frequency of the square wave signal according to the duration of the first time. The longer the first time is, the smaller the frequency of the square wave signal is. When the main control circuit 50 continuously receives the second signal within the second time, the longer the second time is, the longer the ambient light intensity continues to become weaker. The main control circuit 50 controls the frequency of the square wave signal according to the duration of the second time. The longer the second time is, the larger the frequency of the square wave signal is, so that the output power of the power supply circuit changes with the change of light intensity. When the ambient light does not change, the voltages at both ends of the delay circuit 20 are equal, and the inverting terminal voltage and the in-phase terminal voltage of the first comparator circuit 30 and the second comparator circuit 40 are equal. At this time, the first comparator circuit 30 and the second comparator circuit 40 do not output corresponding control signals, the output power of the power supply circuit does not change, and the brightness of the lamp body connected to the power supply circuit also does not change.
[0069] With such arrangement, in practical application, the control circuit of the present invention can be applied to the power circuit of the street lamp. When the ambient light gradually weakens (for example, it is dark), the control circuit of the present invention controls the output power of the power circuit of the street lamp to gradually increase, so that the luminous intensity of the street lamp gradually increases as the ambient light gradually weakens. Compared with the existing street lamps, the existing street lamps generally adopt timing control, and often start working before it is completely dark in summer. The premature lighting of the street lamp will cause energy waste. In summer, the daylight is early, and if the street lamp is already completely bright, it will still be on. In the working state, it will also cause a waste of energy. The control circuit of the present invention can control the street lamp to change with the change of the ambient light intensity. When the sky gradually gets darker, the luminous intensity of the street lamp also gradually becomes stronger. When the sky gradually gets brighter, the luminous intensity of the street lamp also gradually goes out. It will not light up too early or go out too late like the existing street lamps, thereby achieving a better energy-saving effect. When the ambient light is stable, the control circuit of the present invention can control the brightness of the street lamp lighting to remain unchanged, so that the street lamp can provide stable lighting at night and can be stably extinguished during the day. And when the ambient light gradually weakens due to weather changes, such as heavy rain, the street lamp used by the control circuit of the present invention will automatically light up in time, and the street lamp will also go out in time when the weather gradually becomes clear. For the staff, there is no need to go to the control room to turn on the street lamp during heavy rain. The control circuit of the present invention not only improves the convenience of using street lamps, but also reduces labor costs and maintenance difficulties.
[0070] refer to Figure 2 In one embodiment of the present invention, the control circuit further includes:
[0071] A first amplifier circuit 70 and a second amplifier circuit 80, wherein the in-phase terminal of the first amplifier circuit 70 is electrically connected to the input terminal of the delay circuit 20, the inverting terminal of the first amplifier circuit 70 is electrically connected to the output terminal of the delay circuit 20, and the output terminal of the first amplifier circuit 70 is electrically connected to the main control circuit 50;
[0072] The inverting end of the second amplifier circuit 80 is electrically connected to the input end of the delay circuit 20, the non-inverting end of the second amplifier circuit 80 is electrically connected to the output end of the delay circuit 20, and the output end of the second amplifier circuit 80 is electrically connected to the main control circuit 50;
[0073] The first amplifier circuit 70 is used to amplify the difference between the input terminal voltage of the delay circuit 20 and the output terminal voltage of the delay circuit 20, and output a corresponding first difference signal; the second amplifier circuit 80 is used to amplify the difference between the output terminal voltage of the delay circuit 20 and the input terminal voltage of the delay circuit 20, and output a corresponding second difference signal;
[0074] The main control circuit 50 controls the rate of change of the frequency of the square wave signal according to the size of the first difference signal or the size of the second difference signal. The larger the first difference signal is, the faster the rate at which the frequency of the square wave signal decreases; the smaller the second difference signal is, the slower the rate at which the frequency of the square wave signal increases.
[0075] In this embodiment, the first amplifier circuit 70 includes:
[0076] A first amplifier U1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a fifth resistor R5, wherein a first end of the second resistor R2 is electrically connected to an input end of the delay circuit 20, a second end of the second resistor R2 and a second end of the third resistor R3 are both electrically connected to a non-inverting end of the first amplifier U1, a first end of the third resistor R3 is grounded, a first end of the fourth resistor R4 is electrically connected to an output end of the delay circuit 20, a second end of the fourth resistor R4 and a first end of the fifth resistor R5 are both electrically connected to an inverting end of the first amplifier U1, a second end of the fifth resistor R5 is electrically connected to an output end of the first amplifier U1, and an output end of the first amplifier U1 is also electrically connected to the main control circuit 50;
[0077] The second amplifier circuit 80 comprises:
[0078] A second amplifier U2, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8 and a ninth resistor R9, wherein the first end of the sixth resistor R6 is electrically connected to the output end of the delay circuit 20, the second end of the sixth resistor R6 and the second end of the seventh resistor R7 are both electrically connected to the in-phase end of the second amplifier U2, the first end of the seventh resistor R7 is grounded, the first end of the eighth resistor R8 is electrically connected to the input end of the delay circuit 20, the second end of the eighth resistor R8 and the first end of the ninth resistor R9 are both electrically connected to the inverting end of the second amplifier U2, the second end of the ninth resistor R9 is electrically connected to the output end of the second amplifier U2, and the output end of the second amplifier U2 is also electrically connected to the main control circuit 50.
[0079] In this embodiment, the first amplifier circuit 70 and the second amplifier circuit 80 are both differential amplifier circuits. The first amplifier circuit 70 is used to amplify and output the difference between the voltage at the input end and the voltage at the output end of the delay circuit 20 (the voltage at the input end minus the voltage at the output end). The larger the difference, the faster the ambient light intensity becomes stronger. The main control circuit 50 controls the rate at which the frequency of the square wave signal decreases according to the size of the difference. The larger the difference, the faster the rate at which the frequency of the square wave signal decreases, so that the output power of the power supply circuit decreases faster; the second amplifier circuit 80 is used to amplify and output the difference between the voltage at the output end and the voltage at the input end of the delay circuit 20 (the voltage at the output end minus the voltage at the input end). The larger the difference, the faster the rate at which the frequency of the square wave signal increases, so that the output power of the power supply circuit increases faster. With such an arrangement, in actual application, when the weather is heavy rain, the ambient light intensity changes rapidly from strong to weak in a short time, and the street lamps applied by the control circuit of the present invention can be quickly lit up in a short time, thereby providing lighting for passers-by in time; when the weather turns from heavy rain to clear, the ambient light intensity changes rapidly from weak to strong in a short time, and the street lamps applied by the control circuit of the present invention can be quickly weakened and extinguished in a short time, thereby achieving the effect of saving energy.
[0080] refer to Figure 3 In one embodiment of the present invention, the delay circuit 20 comprises:
[0081] A first resistor R1 and a first capacitor C1, wherein the first end of the first resistor R1 is electrically connected to the output end of the light intensity detection circuit 10, the first end of the first resistor R1 is also electrically connected to the in-phase end of the first comparator circuit 30 and the inverting end of the second comparator circuit 40, the second end of the first resistor R1 is electrically connected to the first end of the first capacitor C1, the first end of the first capacitor C1 is also electrically connected to the inverting end of the first comparator circuit 30 and the in-phase end of the second comparator circuit 40, and the second end of the first capacitor C1 is grounded.
[0082] In the present embodiment, the capacitor is a device for storing electric charge, and its characteristic is that when there is a voltage difference between the two ends, the capacitor will start to charge or discharge. When charging, the electric charge will accumulate on the two plates of the capacitor until the voltage across the capacitor is equal to the voltage applied externally, at which time the charging process ends. Therefore, when the ambient light intensity becomes stronger, the voltage of the light intensity detection signal becomes larger. Due to the charging and discharging characteristics of the capacitor, the voltage at the first end of the first capacitor C1 gradually increases in a short period of time, but it is still smaller than the voltage of the first resistor R1. Therefore, at this time, the first comparator circuit 30 outputs the first signal to the main control circuit 50, so that the frequency of the square wave signal controlled by the main control circuit 50 becomes smaller;
[0083] When the ambient light intensity remains unchanged, the first capacitor C1 is no longer charged, so that the voltage of the first resistor R1 and the voltage of the first capacitor C1 gradually become equal, and at this time, the first comparator circuit 30 and the second comparator circuit 40 do not output the first signal and the second signal;
[0084] When the ambient light intensity becomes weaker, the voltage of the light intensity detection signal becomes smaller, and the voltage of the first resistor R1 also becomes smaller. The first capacitor C1 starts to discharge, so that the voltage of the first capacitor C1 gradually decreases. At this time, the voltage of the first capacitor C1 is still greater than the voltage of the first resistor R1. The second comparator circuit 40 outputs a second signal to the main control circuit 50, so that the frequency of the square wave signal controlled by the main control circuit 50 increases.
[0085] refer to Figure 4 In one embodiment of the present invention, the oscillator circuit 60 comprises:
[0086] A capacitor circuit, a current source, a first switch tube Q1, a voltage-stabilizing diode D1 and a plurality of second switch tubes Q2, wherein the capacitor circuit comprises a plurality of capacitors, a first end of the plurality of capacitors is electrically connected to the current source, a second end of the plurality of capacitors is electrically connected to an input end of the plurality of second switch tubes Q2 in a one-to-one correspondence, an output end of the plurality of second switch tubes Q2 is grounded, a controlled end of the plurality of second switch tubes Q2 is electrically connected to a control end of the main control circuit 50, a cathode of the voltage-stabilizing diode D1 is electrically connected to the controlled end of the first switch tube Q1 and the main control circuit 50, respectively, and an output end of the first switch tube Q1 is grounded;
[0087] When the main control circuit 50 continues to receive the first signal within the first time, the main control circuit 50 turns on one of the second switch tubes Q2 every first preset time; when the main control circuit 50 continues to receive the second signal within the second time, the main control circuit 50 turns off one of the second switch tubes Q2 every first preset time.
[0088] In this embodiment, the first switch tube Q1 and the second switch tube Q2 can be implemented by MOS tubes, IGBT tubes, thyristors, triodes, power tubes, etc., and / or by at least one switching device, such as a contactor, a circuit breaker and a relay.
[0089] In this embodiment, the first switch tube Q1 and the second switch tube Q2 are both NMOS tubes. When the second switch tube Q2 is turned on, the corresponding capacitor is connected to the circuit. When the second switch tube Q2 is turned off, the corresponding capacitor is disconnected. The current source is used to charge the capacitor connected to the circuit. When the voltage of the capacitor reaches the conduction threshold of the voltage-stabilizing diode D1, the voltage-stabilizing diode D1 is turned on. At this time, the signal received by the controlled end of the power supply circuit is a high level, and the first switch tube Q1 is also turned on. After the first switch tube Q1 is turned on, the charge stored in the capacitor is released to the ground through the first switch tube Q1, and the charge of the capacitor is The voltage is zero. At this time, the signal received by the controlled end of the power supply circuit is at a low level. By repeating the above process, a square wave signal can be formed, wherein the frequency of the square wave signal depends on the capacitance of the capacitor. The larger the capacitance, the larger the frequency of the square wave signal. On the contrary, the smaller the capacitance, the smaller the frequency of the square wave signal. With such a configuration, when the main control circuit 50 receives the first signal, one or more second switch tubes Q2 can be controlled to be turned on to reduce the frequency of the square wave signal. When the main control circuit 50 receives the second signal, one or more second switch tubes Q2 can be controlled to be turned off to increase the frequency of the square wave signal.
[0090] In this embodiment, when the main control circuit 50 continuously receives the first signal within the first time, the main control circuit 50 turns on one of the second switch tubes Q2 at a first preset time interval. The longer the first time is, the more second switch tubes Q2 are turned on, so that more capacitors are connected to the circuit and the frequency of the square wave signal is smaller; when the main control circuit 50 continuously receives the second signal within the second time, the main control circuit 50 turns off one of the second switch tubes Q2 at a first preset time interval. The more second switch tubes Q2 are turned off, the more capacitors are disconnected and the frequency of the square wave signal is larger. With such a configuration, when the ambient light continues to become stronger or weaker, the control circuit of the present invention can control the output power of the power supply circuit to continue to become weaker or stronger, so that the luminous intensity of the street lamp used by the power supply circuit changes with the change of light.
[0091] In the present embodiment, since the capacities of the plurality of capacitors are equal, when the main control circuit 50 controls one of the second switch tubes Q2 to turn on / off, the capacity of the capacitor circuit will increase / decrease by a fixed value, and the fixed value is the capacity of a single capacitor. This arrangement allows the frequency of the square wave signal to vary slightly after each change, and the output power of the power supply circuit to vary slightly after each change, so that the degree of change in the luminous intensity of the street lamp used by the control circuit of the present invention is more uniform, thereby avoiding damage to the street lamp body caused by a sudden weakening or strengthening of the luminous intensity, thereby extending the life of the street lamp.
[0092] refer to Figure 5 In one embodiment of the present invention, the light intensity detection circuit 10 comprises:
[0093] A photosensor, a filter circuit and a voltage follower, wherein the output end of the photosensor is electrically connected to the input end of the filter circuit, the output end of the filter circuit is electrically connected to the input end of the voltage follower, and the output end of the voltage follower is electrically connected to the input end of the delay circuit 20.
[0094] In this embodiment, the photosensitive sensor is used to detect the intensity of ambient light and output a corresponding light intensity detection signal. The filter circuit filters the light intensity detection signal output by the photosensitive sensor to remove noise and unnecessary frequency components, thereby obtaining a smoother and more stable signal. The voltage follower is used to buffer and isolate the signal output by the filter circuit to prevent the subsequent circuit from affecting the filter circuit and ensure the stability and accuracy of the signal. In this way, the stability of the light intensity detection signal can prevent noise from interfering with the first comparator circuit 30 or the second comparator circuit 40.
[0095] The present invention also provides a power supply circuit, comprising the control circuit as described above.
[0096] It is worth noting that since the power supply circuit of the present invention is based on the above-mentioned control circuit, the embodiments of the power supply circuit of the present invention include all technical solutions of all embodiments of the above-mentioned control circuit, and the technical effects achieved are also exactly the same, which will not be repeated here.
[0097] The present invention further provides a lamp, comprising a lamp body and the power supply circuit as described above; wherein a power supply end of the power supply circuit is electrically connected to the lamp body.
[0098] It is worth noting that, since the lamp of the present invention is based on the above-mentioned power supply circuit, the embodiments of the lamp of the present invention include all technical solutions of all the embodiments of the above-mentioned hanger, and the technical effects achieved are also exactly the same, which will not be repeated here.
[0099] The above description is only an exemplary embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A control circuit, applied to a power supply circuit, characterized in that: The control circuit comprises: A light intensity detection circuit, which is used to detect the ambient light intensity and output a corresponding light intensity detection signal; A delay circuit, wherein an input end of the delay circuit is electrically connected to an output end of the light intensity detection circuit; a first comparator circuit, wherein a non-inverting terminal of the first comparator circuit is electrically connected to an input terminal of the delay circuit, an inverting terminal of the first comparator circuit is electrically connected to an output terminal of the delay circuit, and when a voltage at the input terminal of the delay circuit is greater than a voltage at the output terminal of the delay circuit, an output terminal of the first comparator circuit outputs a first signal; a second comparator circuit, wherein a non-inverting terminal of the second comparator circuit is electrically connected to an output terminal of the delay circuit, an inverting terminal of the second comparator circuit is electrically connected to an input terminal of the delay circuit, and when a voltage at the output terminal of the delay circuit is greater than a voltage at the input terminal of the delay circuit, the output terminal of the second comparator circuit outputs a second signal; a main control circuit, wherein a detection end of the main control circuit is electrically connected to an output end of the first comparator circuit and an output end of the second comparator circuit respectively; an oscillation circuit, wherein a controlled end of the oscillation circuit is electrically connected to a control end of the main control circuit, an output end of the oscillation circuit is electrically connected to a controlled end of the power supply circuit, and when the main control circuit receives the first signal, the main control circuit controls the frequency of the square wave signal output by the oscillation circuit to become smaller; when the main control circuit receives the second signal, the main control circuit controls the frequency of the square wave signal output by the oscillation circuit to become larger; The greater the frequency of the square wave signal, the greater the output power of the power supply circuit; the smaller the frequency of the square wave signal, the smaller the output power of the power supply circuit; When the main control circuit continuously receives the first signal within a first time, the main control circuit controls the frequency of the square wave signal output by the oscillator circuit according to the duration of the first time, and the longer the duration of the first time is, the smaller the frequency of the square wave signal is; when the main control circuit continuously receives the second signal within a second time, the main control circuit controls the frequency of the square wave signal output by the oscillator circuit according to the duration of the second time, and the longer the duration of the second time is, the larger the frequency of the square wave signal is; The control circuit further comprises: a first amplifier circuit and a second amplifier circuit, wherein a non-inverting terminal of the first amplifier circuit is electrically connected to an input terminal of the delay circuit, an inverting terminal of the first amplifier circuit is electrically connected to an output terminal of the delay circuit, and an output terminal of the first amplifier circuit is electrically connected to the main control circuit; The inverting terminal of the second amplifier circuit is electrically connected to the input terminal of the delay circuit, the non-inverting terminal of the second amplifier circuit is electrically connected to the output terminal of the delay circuit, and the output terminal of the second amplifier circuit is electrically connected to the main control circuit; The first amplifier circuit is used to amplify the difference between the input terminal voltage of the delay circuit and the output terminal voltage of the delay circuit, and output a corresponding first difference signal; the second amplifier circuit is used to amplify the difference between the output terminal voltage of the delay circuit and the input terminal voltage of the delay circuit, and output a corresponding second difference signal; The main control circuit controls the rate of change of the frequency of the square wave signal according to the size of the first difference signal or the size of the second difference signal. The larger the first difference signal is, the faster the rate at which the frequency of the square wave signal decreases; the smaller the second difference signal is, the slower the rate at which the frequency of the square wave signal increases.
2. The control circuit according to claim 1, characterized in that: The delay circuit comprises: A first resistor and a first capacitor, wherein the first end of the first resistor is electrically connected to the output end of the light intensity detection circuit, the first end of the first resistor is also electrically connected to the in-phase end of the first comparator circuit and the inverting end of the second comparator circuit, the second end of the first resistor is electrically connected to the first end of the first capacitor, the first end of the first capacitor is also electrically connected to the inverting end of the first comparator circuit and the in-phase end of the second comparator circuit, and the second end of the first capacitor is grounded.
3. The control circuit according to claim 1, characterized in that: The first comparator circuit comprises: a first comparator, wherein a non-inverting terminal of the first comparator is electrically connected to an input terminal of the delay circuit, an inverting terminal of the first comparator is electrically connected to an output terminal of the delay circuit, and an output terminal of the first comparator is electrically connected to a detection terminal of the main control circuit; The second comparator circuit comprises: A second comparator, wherein the non-inverting end of the second comparator is electrically connected to the output end of the delay circuit, the inverting end of the second comparator is electrically connected to the input end of the delay circuit, and the output end of the second comparator is electrically connected to the detection end of the main control circuit.
4. The control circuit according to claim 1, characterized in that: The oscillator circuit comprises: A capacitor circuit, a current source, a first switch tube, a voltage-stabilizing diode and a plurality of second switch tubes, wherein the capacitor circuit comprises a plurality of capacitors, the first ends of the plurality of capacitors are electrically connected to the current source, the second ends of the plurality of capacitors are electrically connected to the input ends of the plurality of second switch tubes in a one-to-one correspondence, the output ends of the plurality of second switch tubes are grounded, the controlled ends of the plurality of second switch tubes are electrically connected to the control end of the main control circuit, the cathode of the voltage-stabilizing diode is electrically connected to the controlled end of the first switch tube and the main control circuit respectively, and the output end of the first switch tube is grounded; When the main control circuit continuously receives the first signal within the first time, the main control circuit turns on one of the second switch tubes every first preset time; when the main control circuit continuously receives the second signal within the second time, the main control circuit controls one of the second switch tubes to be turned off every first preset time.
5. The control circuit according to claim 4, characterized in that: The capacitances of the plurality of capacitors are all equal.
6. The control circuit according to claim 1, characterized in that: The first amplifier circuit comprises: A first amplifier, a second resistor, a third resistor, a fourth resistor and a fifth resistor, wherein the first end of the second resistor is electrically connected to the input end of the delay circuit, the second end of the second resistor and the second end of the third resistor are both electrically connected to the in-phase end of the first amplifier, the first end of the third resistor is grounded, the first end of the fourth resistor is electrically connected to the output end of the delay circuit, the second end of the fourth resistor and the first end of the fifth resistor are both electrically connected to the inverting end of the first amplifier, the second end of the fifth resistor is electrically connected to the output end of the first amplifier, and the output end of the first amplifier is also electrically connected to the main control circuit; The second amplifier circuit comprises: a second amplifier, a sixth resistor, a seventh resistor, an eighth resistor and a ninth resistor, wherein the first end of the sixth resistor is electrically connected to the output end of the delay circuit, the second end of the sixth resistor and the second end of the seventh resistor are both electrically connected to the in-phase end of the second amplifier, the first end of the seventh resistor is grounded, the first end of the eighth resistor is electrically connected to the input end of the delay circuit, the second end of the eighth resistor and the first end of the ninth resistor are both electrically connected to the inverting end of the second amplifier, the second end of the ninth resistor is electrically connected to the output end of the second amplifier, and the output end of the second amplifier is also electrically connected to the main control circuit.
7. The control circuit according to claim 1, characterized in that: The light intensity detection circuit comprises: A photosensor, a filter circuit and a voltage follower, wherein the output end of the photosensor is electrically connected to the input end of the filter circuit, the output end of the filter circuit is electrically connected to the input end of the voltage follower, and the output end of the voltage follower is electrically connected to the input end of the delay circuit.
8. A power supply circuit, characterized in that: Comprising the control circuit according to any one of claims 1 to 7.
9. A lamp, characterized in that: It comprises a lamp body and the power supply circuit as claimed in claim 8; the power supply end of the power supply circuit is electrically connected to the lamp body.
