CN110545598B - Control circuit and control method for equipment power supply - Google Patents
Control circuit and control method for equipment power supply Download PDFInfo
- Publication number
- CN110545598B CN110545598B CN201910773098.7A CN201910773098A CN110545598B CN 110545598 B CN110545598 B CN 110545598B CN 201910773098 A CN201910773098 A CN 201910773098A CN 110545598 B CN110545598 B CN 110545598B
- Authority
- CN
- China
- Prior art keywords
- control
- voltage
- module
- sampling
- outputs
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000005070 sampling Methods 0.000 claims abstract description 122
- 238000001514 detection method Methods 0.000 claims description 45
- 239000003990 capacitor Substances 0.000 claims description 15
- 230000001276 controlling effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000002618 waking effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000003381 stabilizer Substances 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Dc-Dc Converters (AREA)
- Direct Current Feeding And Distribution (AREA)
Abstract
The invention discloses a control circuit and a control method of a device power supply, wherein the control circuit is connected with a controlled device and comprises a rectifying module, a line voltage sampling module and a control module low-voltage direct current power supply module; the input alternating current is rectified by a rectifying module and then output to a line voltage sampling module and a low-voltage direct current power supply module; the line voltage sampling module is used for outputting a first sampling voltage to the control module according to the line voltage, and the low-voltage direct current power supply module is used for converting the line voltage into low-voltage direct current and outputting the low-voltage direct current to the control module; when the first sampling voltage is changed from being smaller than the first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to controlled equipment according to instruction information, and then enters the sleep mode again; the controlled device is used for updating the working state according to the control signal. The invention can reduce the power consumption of the equipment and improve the power efficiency.
Description
Technical Field
The invention relates to the technical field of power supplies, in particular to a control circuit and a control method of a power supply of equipment.
Background
The internal circuit of the intelligent device can be simply divided into a control part and a controlled part, wherein the control part and the controlled part respectively need different power supplies to supply power, the control part adopts low-voltage direct current power supply in certain applications, the controlled part adopts high-voltage power supply, for example, in the application of a wireless intelligent LED lamp, the wireless control part adopts low-voltage direct current power supply of 3.3V, and the LED lamp driving part adopts high-voltage linear power supply of more than 200 volts. The control part is used for converting the received user instruction into a control signal which can be identified by the controlled part, so that the control part works in a working state corresponding to the user instruction.
In the traditional two power supply schemes for supplying power to the control part, one of the two power supply schemes adopts a switching power supply for supplying power, and the power supply has the advantages of high power supply efficiency; the defects are that the radiation conduction problem, the large volume and the high cost are outstanding. The other is a structure adopting a resistor, a capacitor, a voltage stabilizing tube and a LDO (low dropout regulator) low-dropout linear voltage stabilizer, as shown in fig. 1, the rectified line voltage is reduced to a low-voltage direct current (VDD) suitable for a control part, and the low-voltage direct current (VDD) has the advantages of small power supply volume, low cost and no conduction radiation problem; the disadvantage is that a fixed current is pulled up from the line voltage, and the output current cannot be automatically adjusted with the load current, resulting in low power efficiency.
There is thus a need for improvements and improvements in the art.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a control circuit and a control method for a power supply of a device, which can effectively reduce power consumption of the power supply and improve power supply efficiency of the power supply.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the control circuit of the equipment power supply is connected with the controlled equipment and comprises a rectification module, a line voltage sampling module and a control module low-voltage direct current power supply module; the input alternating current is rectified by the rectifying module and then output to the line voltage sampling module and the low-voltage direct current power supply module; the line voltage sampling module is used for outputting a first sampling voltage to the control module according to the line voltage, and the low-voltage direct current power supply module is used for converting the line voltage into low-voltage direct current and outputting the low-voltage direct current to the control module; when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to the controlled equipment according to instruction information, and then enters the sleep mode again; the controlled device is used for updating the working state according to the control signal.
In the control circuit of the equipment power supply, the control module comprises a control unit and an ambient light detection unit, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, and outputs a first level signal to the ambient light detection unit to control the ambient light detection unit to be started; the ambient light detection unit samples the ambient light signal in a first preset time and then outputs a second sampling voltage to the control unit; the control unit outputs a control signal to the controlled device according to the second sampling voltage, and outputs a second level signal to the ambient light detection unit to control the ambient light detection unit to be closed, and then the controlled device enters a sleep mode again.
In the control circuit of the equipment power supply, the control module comprises a control unit and a wireless unit, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, starts a timer to count time, and outputs a wake-up instruction to the wireless unit to control the wireless unit to enter a wireless receiving mode; when the timing time of the timer is within a second preset time and the wireless unit outputs an interrupt request instruction to the control unit, the control unit reads wireless data from the wireless unit, and the control unit outputs a control signal to the controlled device according to the wireless data and outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode again.
In the control circuit of the device power supply, when the second sampling voltage is greater than a second preset voltage, the control unit outputs a first control signal to the controlled device; and when the second sampling voltage is smaller than a second preset voltage, the control unit outputs a second control signal to the controlled device.
In the control circuit of the equipment power supply, the control unit comprises a control chip, a PA0 signal end of the control chip is connected with the line voltage sampling module, a PA1 signal end of the control chip and a PA2 signal end of the control chip are both connected with the ambient light detection unit, a PA7 signal end of the control chip is connected with the controlled equipment, and a VDD signal end of the control chip is connected with the low-voltage direct current power supply module.
In the control circuit of the equipment power supply, the ambient light detection unit comprises a first resistor and a photoresistor, one end of the first resistor is connected with one end of the photoresistor and the PA1 signal end of the control chip, the other end of the first resistor is grounded, and the other end of the photoresistor is connected with the PA2 signal end of the control chip.
In the control circuit of the equipment power supply, the line voltage sampling module comprises a second resistor, a third resistor and a first capacitor; one end of the second resistor is connected with the rectifying module, the other end of the second resistor, one end of the third resistor and one end of the first capacitor are all connected with the PA0 signal end of the control chip, and the other end of the first capacitor and the other end of the third resistor are all grounded.
The control method of the control circuit based on the equipment power supply comprises the following steps:
the input alternating current is rectified by the rectifying module and then output to the line voltage sampling module;
outputting a first sampling voltage to the control module by the line voltage sampling module according to the line voltage;
converting the line voltage into low-voltage direct current by the low-voltage direct current power supply module and outputting the low-voltage direct current to the control module;
when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to the controlled equipment according to instruction information, and then enters the sleep mode again;
and updating the working state corresponding to the control signal by the controlled equipment according to the control signal.
In the method for controlling the control circuit of the power supply of the device, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the step of the control module entering the working mode from the sleep mode and entering the sleep mode again after outputting a control signal to the controlled device according to the instruction information includes:
when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, and outputs a first level signal to the ambient light detection unit to control the ambient light detection unit to be started;
the ambient light detection unit samples the ambient light signal in a first preset time and then outputs a second sampling voltage to the control unit;
the control unit outputs a control signal to the controlled device according to the second sampling voltage, and outputs a second level signal to the ambient light detection unit to control the ambient light detection unit to be closed, and then the controlled device enters a sleep mode again.
In the method for controlling the control circuit of the power supply of the device, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the step of the control module entering the working mode from the sleep mode and entering the sleep mode again after outputting a control signal to the controlled device according to the instruction information includes:
when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, starts a timer to count time, and outputs a wake-up instruction to the wireless unit to control the wireless unit to enter a wireless receiving mode;
when the timing time of the timer is within a second preset time and the wireless unit outputs an interrupt request instruction to the control unit, the control unit reads wireless data from the wireless unit, and the control unit outputs a control signal to the controlled device according to the wireless data and outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode again.
Compared with the prior art, the control circuit and the control method for the equipment power supply provided by the invention have the advantages that the control circuit is connected with the controlled equipment and comprises a rectifying module, a line voltage sampling module and a control module low-voltage direct current power supply module; the input alternating current is rectified by a rectifying module and then output to a line voltage sampling module and a low-voltage direct current power supply module; the line voltage sampling module is used for outputting a first sampling voltage to the control module according to the line voltage, and the low-voltage direct current power supply module is used for converting the line voltage into low-voltage direct current and outputting the low-voltage direct current to the control module; when the first sampling voltage is changed from being smaller than the first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to controlled equipment according to instruction information, and then enters the sleep mode again; the controlled device is used for updating the working state corresponding to the control signal according to the control signal. The invention can reduce the power consumption of the equipment and improve the power efficiency.
Drawings
FIG. 1 is a schematic circuit diagram of a control circuit of a conventional smart device;
FIG. 2 is a block diagram of a control circuit of a power supply of a device according to the present invention;
FIG. 3 is a signal waveform diagram of a control circuit of a power supply of an apparatus according to the present invention;
FIG. 4 is a schematic circuit diagram of a first preferred embodiment of the control circuit of the power supply of the apparatus according to the present invention;
FIG. 5 is a flowchart of the control module of the first preferred embodiment in the control circuit of the power supply of the device according to the present invention;
FIG. 6 is a schematic circuit diagram of a second preferred embodiment of the control circuit of the power supply of the apparatus according to the present invention;
FIG. 7 is a flowchart of a control module of a second preferred embodiment of the control circuit for a power supply of a device according to the present invention;
FIG. 8 is a flow chart of a method for controlling a power supply of a device according to the present invention;
FIG. 9 is a flowchart of step S400 of a first preferred embodiment of the method for controlling power of a device according to the present invention;
fig. 10 is a flowchart of step S400 of the second preferred embodiment of the method for controlling a power supply of a device according to the present invention.
Detailed Description
The invention aims to provide a control circuit and a control method for a power supply of equipment, which can effectively reduce power consumption of the power supply and improve power supply efficiency of the power supply.
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 2 and fig. 3 together, the control circuit of the device power supply provided by the present invention is connected to a controlled device 10, and includes a rectifying module 100, a line voltage sampling module 200, a control module 300 and a low voltage dc power supply module 400, wherein an input end of the rectifying module 100 is connected to an ac power supply, an output end of the rectifying module 100 is connected to the line voltage sampling module 200, the low voltage dc power supply module 400 and the controlled device, and the control module 300 is further connected to the line voltage sampling module 200, the low voltage dc power supply module 400 and the controlled device 10 respectively.
The input alternating current is rectified by the rectifying module 100 and then output to the line voltage sampling module 200 and the low-voltage direct current power supply module 400; the line voltage sampling module 200 is configured to output a first sampling voltage to the control module 300 according to the line voltage, the low-voltage dc power supply module 400 converts the line voltage into a low-voltage dc power to be output to the control module 300, so as to provide electric energy for the operation of the control module 300, ensure the stable operation of the control module 300, and the low-voltage dc power supply module 400 can dynamically adjust the output current according to the magnitude of the load current, and has a large output current when the load needs a large current and a small output current when the load needs a small current, so as to achieve the purpose of reducing the average power consumption of the load.
The control module 300 has two working modes, namely a sleep mode and a working mode, and can be switched according to actual requirements, specifically, the first sampling voltage output by the line voltage sampling module 200 periodically changes along with the working frequency of the ac power supply, the control module 300 receives the first sampling voltage output by the line voltage sampling module 200, determines the magnitudes of the line voltage and a first preset voltage Vth, adjusts the working state of the control module according to the determination result, and when the first sampling voltage changes from less than the first preset voltage Vth to greater than the first preset voltage Vth, the control module 300 enters the working mode from the sleep mode, starts to process instruction information, outputs a control signal to the controlled module 110 according to the instruction information, and then enters the sleep mode again until the next time when the first sampling voltage changes from less than the first preset voltage Vth to greater than the first preset voltage Vth again, wakes up again; the controlled module 110 is configured to update a working state corresponding to the control signal according to the control signal.
With continued reference to fig. 3, the first preset voltage Vth is a comparison voltage set by the user and is used for comparing with a sampling voltage of the line voltage, where the first preset voltage Vth corresponds to a certain line voltage value, so that when the set value of the first preset voltage Vth is lower, the efficiency of the power supply is higher, the current when the control module 300 enters the working mode is larger, and the current when the control module enters the sleep mode is smaller. The smaller the first preset voltage Vth is set, the lower the line voltage of the control module 300 is in a period of time when the line voltage is lower in the high-current working mode, and as known from p=ui, the lower the voltage is, the lower the power consumed by the power supply is under the same current condition; the control module 300 is in a low-current operation mode in a period of high on-line voltage, and at this time, although the line voltage is higher, the current is low, and compared with a period of high on-line voltage for the operation of a high-current mode, the power consumed in a sleep mode with low current is much smaller, so that the power consumption of the power supply is reduced, and the power supply efficiency is improved.
In the embodiment, referring to fig. 4, the controlled device 10 is preferably an intelligent LED lamp, that is, corresponds to the controlled module 110 in fig. 4, where the controlled module 110 includes an LED lamp string, a driving chip U2, and a sixth resistor Rcs, one end of the sixth resistor Rcs is connected to the driving chip U2, the other end of the sixth resistor Rcs is grounded, the driving chip U2 is connected to the control module 300 and the LED lamp string, the LED lamp string is further connected to the rectifying module 100, the driving chip U2 is used for driving the LED lamp string to update to an operating state corresponding to the control signal according to a control signal output by the control module 300, the sixth resistor Rcs is used for adjusting a current flowing through the LED lamp string, preferably, the control signal is a PWM signal, the brightness of the LED lamp string is in a proportional relationship with a duty ratio, preferably, the driving chip U2 is 3113S, and the driving chip U2 is not limited to have the same function in this embodiment.
In a first preferred embodiment of the present invention, the control module 300 includes a control unit 310 and an ambient light detection unit 320, the control unit 310 connects the low voltage dc power supply module 400, the line voltage sampling module 200, the ambient light detection unit 320 and the driving chip U2, when the first sampling voltage is changed from less than a first preset voltage Vth to greater than the first preset voltage Vth, the control unit 310 enters a working mode from a sleep mode and outputs a first level signal to the ambient light detection unit 320 to control the ambient light detection unit 320 to be turned on, preferably, the first level signal is a high level signal; the ambient light detecting unit 320 samples the ambient light signal within a first preset time Ts and outputs a second sampling voltage to the control unit 310, the ambient light detecting unit 320 starts to work to sample the ambient light signal after receiving the high-level signal, and the sampling result, that is, the second sampling voltage is output to the control unit 310 after waiting for the first preset time Ts; in this embodiment, the second sampled voltage is characterized as the instruction information, the control unit 310 outputs a control signal to the controlled module 110 according to the second sampled voltage, and outputs a second level signal to the ambient light detection unit 320 to control the controlled module to be turned off, and then the controlled module enters a sleep mode again, preferably, the second level signal is a low level signal, that is, when the control unit 310 outputs the control signal, the control unit 310 outputs the low level signal to the ambient light detection unit 320, and then controls the ambient light detection unit 320 to be turned off, and the controlled module also enters the sleep mode to achieve the effect of saving power consumption until the next time the first sampled voltage is changed from less than the first preset voltage Vth to greater than the first preset voltage Vth, so as to achieve the purpose of improving the power efficiency.
Further, when the second sampling voltage is greater than a second preset voltage Vs, the control unit 310 outputs a first control signal to the controlled module 110; when the second sampling voltage is smaller than a second preset voltage Vs, the control unit 310 outputs a second control signal to the controlled module 110, in this embodiment, preferably, the first control signal is a low level signal, the second control signal is a high level signal, the magnitude of the second preset voltage Vs determines when the LED lamp is turned on, and when the second sampling voltage is greater than the second preset voltage Vs, it indicates that the current ambient light is strong enough, the control unit 310 outputs a low level signal to the controlled module 110, so as to control the LED lamp to be turned off; when the second sampling voltage is smaller than the second preset voltage Vs, that is, the current ambient light is weak enough, the control unit 310 outputs a high-level signal to the controlled module 110, so that the controlled module 110, that is, the LED lamp is turned on, and flexible control of the LED lamp is further realized, and the LED is turned on to waste electric energy when the ambient light is strong.
Further, the control unit 310 includes a control chip U1, the PA0 signal end of the control chip U1 is connected to the line voltage sampling module 200, the PA1 signal end of the control chip U1 and the PA2 signal end of the control chip U1 are both connected to the ambient light detection unit 320, the PA7 signal end of the control chip U1 is connected to the PWM signal end of the driving chip U2, the VDD signal end of the control chip U1 is connected to the low voltage dc power supply module 400, the PA0 signal end of the control chip U1 receives the second sampling voltage outputted by the line voltage sampling module 200, the first sampling voltage is compared with the first preset voltage Vth, when the first sampling voltage is changed from being smaller than the first preset voltage Vth to being larger than the first preset voltage Vth, a high level signal is outputted to the ambient light detection unit 320 through the PA2 signal end of the control chip U1, after waiting for the first preset time, the PA0 signal end of the control chip U1 receives the second sampling voltage outputted by the control chip U1, the second sampling voltage is equal to the second sampling voltage Vth, and the second sampling voltage is not equal to the first preset voltage Vth, the LED is preferably outputted from the control chip U1 to the second sampling unit 73, and the LED is preferably controlled by the LED chip 1, and the LED is controlled to have the same brightness as the first signal.
Further, the ambient light detecting unit 320 includes a first resistor R1 and a photo resistor CDS, one end of the first resistor R1 is connected to one end of the photo resistor CDS and a PA1 signal end of the control chip U1, the other end of the first resistor R1 is grounded, the other end of the photo resistor CDS is connected to a PA2 signal end of the control chip U1, and after the ambient light detecting unit 320 starts to work, the photo resistor CDS detects the ambient light intensity, and converts an optical signal into an electrical signal to output a second sampling voltage to the control chip U1, so as to realize effective detection of the ambient light intensity.
Further, the line voltage sampling module 200 includes a second resistor R2, a third resistor R3, and a first capacitor C1; the rectifier module 100 is connected to one end of second resistance R2, the other end of second resistance R2, third resistance R3's one end and first electric capacity C1's one end all are connected control chip U1's PA0 signal end, first electric capacity C1's the other end with the other end of third resistance R3 all ground connection, by second resistance R2 with third resistance R3 carries out the partial pressure sampling to the line voltage and then exports first sample voltage, later by first electric capacity C1 carries out the filter processing to obtain stable first sample voltage and exports to control chip U1, so that control chip U1 judges the size of current line voltage.
Further, the low-voltage dc power supply module 400 includes a fourth resistor R4, a fifth resistor R5, a second capacitor C2, a third capacitor C3, a MOS transistor Q1, a zener diode ZD1, and a regulator LDO, wherein one end of the fourth resistor R4 and a drain of the MOS transistor Q1 are both connected to the rectifying module 100, the other end of the fourth resistor R4 and a gate of the MOS transistor Q1 are both connected to a cathode of the zener diode ZD1, an anode of the zener diode ZD1, one end of the second capacitor C2, one end of the third capacitor C3, and a3 rd pin of the regulator LDO are all grounded, the other end of the second capacitor C2 is connected to a1 st pin of the regulator LDO and one end of the fifth resistor R5, the other end of the third capacitor C3 is connected to a2 nd pin of the regulator and a signal end of the control chip U1, the other end of the fifth resistor R5 is connected to a gate of the MOS transistor Q1, and when the low-voltage dc power supply module 400 is required to output a low-voltage load current, and the low-voltage dc power supply module can be regulated to achieve a high-voltage load, and a low-load current is required to be output when the low-voltage load current is required to be output; preferably, the type of the regulator LDO in this embodiment is SGM2203-3.3, the input voltage of the regulator LDO can reach 36V, and the output voltage can reach 3.3V.
In order to better understand the control procedure of the control circuit of the device power supply provided in this example, the following description will be given by referring to fig. 4 and 5, by way of example, of the working procedure of the control circuit of the device power supply provided in this example:
the line voltage sampling module 200 performs voltage division sampling on the line voltage output by the rectifying module 100 and then outputs a first sampling voltage to a PA0 signal end of the control module 300, so that the control chip U1 determines whether the first sampling voltage is changed from less than a first preset voltage Vth to greater than a second preset voltage Vs, if yes, the control chip U1 wakes up to change from a sleep state to a working state, outputs a high-level signal from a PA2 signal end to the ambient light detection unit 320, so that the ambient light detection unit 320 detects and samples ambient light and outputs a second sampling voltage to a PA1 signal end of the control chip U1, the control chip U1 waits for a first preset time Ts, the first preset time Ts is a response time of the photoresistor CDS, compares the second sampling voltage with the second preset voltage Vs, determines whether the second sampling is greater than the second preset voltage Vs, and if yes, outputs a low-level signal from a7 signal end to the PA1 signal end to the control chip U2 to turn off the LED string; if not, outputting a high-level signal from the PA7 signal to the driving chip U2 so as to light the LED lamp string; then, the control chip U1 outputs a low-level signal from the PA2 signal end to the ambient light detection unit 320 to turn off the ambient light detection unit 320, and then the control chip U1 enters a sleep state, and waits for the next time when the first sampling voltage changes from less than the first preset voltage Vth to greater than the first preset voltage Vth, thereby saving power consumption.
In a second preferred embodiment of the present invention, referring to fig. 6, the control module 300 includes a control unit 310 and a wireless unit 330, wherein the control unit 310 is connected to the wireless unit 330, the driving chip U2, the low-voltage dc power supply module 400 and the line voltage sampling module 200; when the first sampling voltage is changed from less than the first preset voltage Vth to greater than the first preset voltage Vth, the control unit 310 enters a working mode from a sleep mode, starts a timer to count time, and outputs a wake-up instruction to the wireless unit 330 to control the wireless unit to enter a wireless receiving mode; when the timing time of the timer is within the second preset time Tcnt and the wireless unit 330 outputs an interrupt request instruction to the control unit 310, the control unit 310 reads wireless data from the wireless unit 330, where the wireless data is characterized as the instruction information in this embodiment, the control unit 310 outputs a control signal to the controlled module 110 according to the wireless data and outputs a sleep instruction to the wireless unit 330 to control the wireless unit 330 to enter a sleep mode, and then enters the sleep mode again until the next time when the first sampling voltage is changed from less than the first preset voltage Vth to greater than the first preset voltage Vth, so as to achieve the purpose of improving the power efficiency.
Further, the control unit 310 includes a control chip U1, the wireless unit 330 includes a 2.4G radio frequency chip U3, a PA0 signal end of the control chip U1 is connected to the other end of the second resistor R2, one end of the third resistor R3 and one end of the first capacitor C1, a VDD signal end of the control chip U1 is connected to the 2 nd pin of the regulator LDO, a PA7 signal end of the control chip U1 is connected to a PWM signal end of the driving chip U2, a PA6 signal end, a PA5 signal end, a PA4 signal end, a PA3 signal end, a PA2 signal end and a PA1 signal end of the control chip U1 are respectively connected to a CE signal end, a CSN signal end, a SCK signal end, a MOSI signal end, a MOSO signal end and an IPQ signal end of the 2.4G radio frequency chip U3, preferably, the model of the control chip U1 is 7322P, and the model number of the 2.4G radio frequency chip U3 is m75-D; the 2.4G radio frequency chip U3 receives a control instruction of the control chip U1 through a serial bus to change the working state of the control chip U1, and the working current of the 2.4G radio frequency chip U3 when working in a wireless receiving mode is 16mA and the working current of the 2.4G radio frequency chip U3 when working in a wireless transmitting mode is 18mA; when the 2.4G radio frequency chip U3 enters a sleep state, the working current is 300uA; when the 2.4G radio frequency chip U3 receives effective wireless data, an interrupt request instruction is output to a PA1 signal end of the control chip U1 through an IRQ signal end so as to facilitate further work of the control chip U1; of course, the wireless unit 330 of the 2.4G radio frequency chip U3 in the present embodiment may be replaced by a 433MHz wireless module, a BLE module, or a WIFI module, which is not limited in this example.
In order to better understand the control procedure of the control circuit of the device power supply provided in this example, the following description will be given by referring to fig. 6 and fig. 7, by using an embodiment of the present invention to describe the working procedure of the control circuit of the device power supply provided in this example:
after the control chip U1 receives the first sampling voltage, determining whether the first sampling voltage is changed from less than a first preset voltage Vth to greater than the first preset voltage Vth, if so, waking up the control chip U1 from a sleep state to a working state, starting an internal timer to count time after the control chip U1 enters the working state, and outputting a wake-up instruction to the wireless unit 330 through a serial bus, so that the wireless unit 330 enters a wireless receiving mode from the sleep state; then, the control chip U1 determines whether the timing time of the timer is greater than a second preset time Tcnt, where the second preset time Tcnt is the maximum time set by the user from waking up to sleeping of the control chip U1, if yes, a sleep instruction is sent to the wireless unit 330, so that the wireless unit 330 enters a sleep mode from a wireless receiving mode, and the control itself also enters the sleep mode, until the next time when the first sampling voltage changes from less than the first preset voltage Vth to greater than the first preset voltage Vth, and then wakes up again.
When judging that the timing time of the timer is not greater than the second preset time Tcnt, the control chip U1 detects whether the wireless unit 330 outputs an interrupt request instruction from a PA1 signal port, and if not, returns to comparing the timing time of the step timer with the second preset time Tcnt; if yes, the control chip U1 receives an interrupt request instruction, reads wireless data from the 2.4G radio frequency chip U3 through a serial bus, converts the wireless data into a control signal and outputs the control signal to the driving chip U2, preferably, the control chip U1 is a PWM signal, and after the driving chip U2 receives the PWM signal, the control chip U1 updates its state to a state corresponding to the PWM signal; after outputting the control signal, the control chip U1 sends a sleep instruction to the wireless unit 330 through the serial bus, so that the wireless unit 330 enters a sleep mode from a wireless receiving mode, and also enters the sleep mode again, and waits for the next time to wake up when the first sampling voltage is determined to be changed from less than the first preset voltage Vth to greater than the first preset voltage Vth; the data transmission rate of the 2.4G rf chip U3 of the wireless unit 330 is fast, and the working current is large, so that only microsecond time is needed for receiving a complete control instruction, the wireless unit enters a wireless receiving mode when the online voltage is low under the condition of not affecting the user experience, and after the receiving is completed, the power consumption is reduced by placing the control chip U1 and the wireless unit 330 in a sleep mode for a period of time, thereby improving the power efficiency; of course, the control chip U1 may be in the operation mode and the wireless unit 330 may be in the sleep mode for a period of time to reduce power consumption.
In this embodiment, the line voltage is set to be in an extremely low voltage state during the period from wake-up to sleep mode, and the operating current of the wireless unit 330 is 16mA, for example, but the line voltage is low, the overall power is still kept in a relatively low state, so as to achieve the purposes of improving the power efficiency and reducing the power consumption of the control module 300.
Preferably, the wake-up of the control chip U1 in the present invention may be performed each time the first sampling voltage is changed from less than the first preset voltage Vth to greater than the first preset voltage Vth, or may be performed after counting a plurality of times the first sampling voltage is changed from less than the first preset voltage Vth to greater than the first preset voltage Vth, so as to achieve the requirement of lower power consumption.
It should be noted that, if the length of the period from waking up to sleeping is equal to the period of one period of the line voltage or is longer than the period of one period of the line voltage, the control chip U1 is not suitable for the present invention, for example, in the alternating current application of 220V/50Hz, the line voltage corresponding to the first preset voltage Vth is set to 20V, that is, the line voltage of the control chip U1 when waking up is 20V, after a period of time, the control chip U1 is controlled to enter the sleeping state when the line voltage is 40V, the line voltage is 20V to 40V during the period from waking up to sleeping, and compared with the period of time when the line voltage is 200V to 220V, the power of the former is only about 10% of the latter through the power calculation formula p=ui.
Correspondingly, the invention also provides a control method of the control circuit of the equipment power supply, as shown in fig. 8, comprising the following steps:
s100, inputting alternating current, rectifying the alternating current by the rectifying module, and outputting line voltage to the line voltage sampling module;
s200, outputting a first sampling voltage to the control module by the line voltage sampling module according to the line voltage;
s300, converting the line voltage into low-voltage direct current by the low-voltage direct current power supply module and outputting the low-voltage direct current to the control module;
s400, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to the controlled equipment according to instruction information, and then enters the sleep mode again;
s500, the controlled equipment updates the working state corresponding to the control signal according to the control signal.
As shown in fig. 9, in a first preferred embodiment, the step S400 includes:
s410, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode and outputs a first level signal to the ambient light detection unit to control the ambient light detection unit to be started;
s420, sampling an ambient light signal in a first preset time by the ambient light detection unit and then outputting a second sampling voltage to the control unit;
s430, the control unit outputs a control signal to the controlled device according to the second sampling voltage, and outputs a second level signal to the ambient light detection unit to control the ambient light detection unit to be closed, and then the controlled device enters a sleep mode again.
As shown in fig. 10, in the second preferred embodiment, the step S400 includes:
s410, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, starts a timer to count time, and outputs a wake-up instruction to the wireless unit to control the wireless unit to enter a wireless receiving mode;
s420, when the timing time of the timer is within a second preset time and the wireless unit outputs an interrupt request instruction to the control unit, the control unit reads wireless data from the wireless unit, and the control unit outputs a control signal to the controlled device according to the wireless data and outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode again.
In summary, the invention provides a control circuit and a control method for a device power supply, wherein the control circuit is connected with a controlled device and comprises a rectifying module, a line voltage sampling module and a control module low-voltage direct current power supply module; the input alternating current is rectified by a rectifying module and then output to a line voltage sampling module and a low-voltage direct current power supply module; the line voltage sampling module is used for outputting a first sampling voltage to the control module according to the line voltage, and the low-voltage direct current power supply module is used for converting the line voltage into low-voltage direct current and outputting the low-voltage direct current to the control module; when the first sampling voltage is changed from being smaller than the first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to controlled equipment according to instruction information, and then enters the sleep mode again; the controlled device is used for updating the working state corresponding to the control signal according to the control signal. The invention can reduce the power consumption of the equipment and improve the power efficiency.
It will be understood that equivalents and modifications will occur to those skilled in the art in light of the present invention and their spirit, and all such modifications and substitutions are intended to be included within the scope of the present invention as defined in the following claims.
Claims (6)
1. The control circuit of the equipment power supply is connected with the controlled equipment and is characterized by comprising a rectifying module, a line voltage sampling module, a control module and a low-voltage direct current power supply module; the input alternating current is rectified by the rectifying module and then output to the line voltage sampling module and the low-voltage direct current power supply module; the line voltage sampling module is used for outputting a first sampling voltage to the control module according to the line voltage, and the low-voltage direct current power supply module is used for converting the line voltage into low-voltage direct current and outputting the low-voltage direct current to the control module; when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to the controlled equipment according to instruction information, and then enters the sleep mode again; the controlled equipment is used for updating the working state according to the control signal;
the control module comprises a control unit and an ambient light detection unit, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode and outputs a first level signal to the ambient light detection unit to control the ambient light detection unit to be started; the ambient light detection unit samples the ambient light signal in a first preset time and then outputs a second sampling voltage to the control unit; the control unit outputs a control signal to the controlled device according to the second sampling voltage, and outputs a second level signal to the ambient light detection unit to control the ambient light detection unit to be closed, and then the controlled device enters a sleep mode again;
or, the control module comprises a control unit and a wireless unit, when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, starts a timer to count time, and outputs a wake-up instruction to the wireless unit to control the wireless unit to enter a wireless receiving mode; when the timing time of the timer is within a second preset time and the wireless unit outputs an interrupt request instruction to the control unit, the control unit reads wireless data from the wireless unit, and the control unit outputs a control signal to the controlled device according to the wireless data and outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode again;
the control unit comprises a control chip, a PA0 signal end of the control chip is connected with the line voltage sampling module, a PA1 signal end of the control chip and a PA2 signal end of the control chip are both connected with the ambient light detection unit, a PA7 signal end of the control chip is connected with the controlled equipment, and a VDD signal end of the control chip is connected with the low-voltage direct current power supply module;
the ambient light detection unit comprises a first resistor and a photoresistor, one end of the first resistor is connected with one end of the photoresistor and the PA1 signal end of the control chip, the other end of the first resistor is grounded, and the other end of the photoresistor is connected with the PA2 signal end of the control chip.
2. The control circuit of a device power supply according to claim 1, wherein the control unit outputs a first control signal to the controlled device when the second sampling voltage is greater than a second preset voltage; and when the second sampling voltage is smaller than a second preset voltage, the control unit outputs a second control signal to the controlled device.
3. The control circuit of the device power supply of claim 1, wherein the line voltage sampling module comprises a second resistor, a third resistor, and a first capacitor; one end of the second resistor is connected with the rectifying module, the other end of the second resistor, one end of the third resistor and one end of the first capacitor are all connected with the PA0 signal end of the control chip, and the other end of the first capacitor and the other end of the third resistor are all grounded.
4. A control method of a control circuit based on a power supply of a device as claimed in any one of claims 1-3, characterized by comprising the steps of:
the input alternating current is rectified by the rectifying module and then output to the line voltage sampling module;
outputting a first sampling voltage to the control module by the line voltage sampling module according to the line voltage;
converting the line voltage into low-voltage direct current by the low-voltage direct current power supply module and outputting the low-voltage direct current to the control module;
when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control module enters a working mode from a sleep mode, outputs a control signal to the controlled equipment according to instruction information, and then enters the sleep mode again;
and updating the working state by the controlled equipment according to the control signal.
5. The method for controlling a control circuit of a device power supply according to claim 4, wherein the step of entering the sleep mode from the sleep mode when the first sampling voltage is changed from less than a first preset voltage to greater than the first preset voltage, and outputting a control signal to the controlled device according to instruction information comprises the steps of:
when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, and outputs a first level signal to the ambient light detection unit to control the ambient light detection unit to be started;
the ambient light detection unit samples the ambient light signal in a first preset time and then outputs a second sampling voltage to the control unit;
the control unit outputs a control signal to the controlled device according to the second sampling voltage, and outputs a second level signal to the ambient light detection unit to control the ambient light detection unit to be closed, and then the controlled device enters a sleep mode again.
6. The method for controlling a control circuit of a device power supply according to claim 4, wherein the step of entering the sleep mode from the sleep mode when the first sampling voltage is changed from less than a first preset voltage to greater than the first preset voltage, and outputting a control signal to the controlled device according to instruction information comprises the steps of:
when the first sampling voltage is changed from being smaller than a first preset voltage to being larger than the first preset voltage, the control unit enters a working mode from a sleep mode, starts a timer to count time, and outputs a wake-up instruction to the wireless unit to control the wireless unit to enter a wireless receiving mode;
when the timing time of the timer is within a second preset time and the wireless unit outputs an interrupt request instruction to the control unit, the control unit reads wireless data from the wireless unit, and the control unit outputs a control signal to the controlled device according to the wireless data and outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910773098.7A CN110545598B (en) | 2019-08-21 | 2019-08-21 | Control circuit and control method for equipment power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910773098.7A CN110545598B (en) | 2019-08-21 | 2019-08-21 | Control circuit and control method for equipment power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110545598A CN110545598A (en) | 2019-12-06 |
CN110545598B true CN110545598B (en) | 2024-04-02 |
Family
ID=68712072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910773098.7A Active CN110545598B (en) | 2019-08-21 | 2019-08-21 | Control circuit and control method for equipment power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110545598B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115189981B (en) * | 2022-06-30 | 2023-12-01 | 东风汽车集团股份有限公司 | Lin bus interface based on master-slave reusability |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395228A (en) * | 2017-06-15 | 2017-11-24 | 深圳市晟碟半导体有限公司 | A kind of method and system for controlling power switch to carry out data interaction |
CN109195273A (en) * | 2018-10-26 | 2019-01-11 | 深圳市晟碟半导体有限公司 | A kind of constant power control device and constant-power control method of LED lamp |
CN210781451U (en) * | 2019-08-21 | 2020-06-16 | 深圳市晟碟半导体有限公司 | Control circuit of equipment power supply |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102010031244B4 (en) * | 2010-03-19 | 2023-01-12 | Tridonic Ag | Modular LED lighting system |
-
2019
- 2019-08-21 CN CN201910773098.7A patent/CN110545598B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395228A (en) * | 2017-06-15 | 2017-11-24 | 深圳市晟碟半导体有限公司 | A kind of method and system for controlling power switch to carry out data interaction |
CN109195273A (en) * | 2018-10-26 | 2019-01-11 | 深圳市晟碟半导体有限公司 | A kind of constant power control device and constant-power control method of LED lamp |
CN210781451U (en) * | 2019-08-21 | 2020-06-16 | 深圳市晟碟半导体有限公司 | Control circuit of equipment power supply |
Also Published As
Publication number | Publication date |
---|---|
CN110545598A (en) | 2019-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014187005A1 (en) | Backlight driving circuit, liquid crystal display apparatus, and backlight driving method | |
WO2017020670A1 (en) | Constant current driving method and circuit enabling dimming of led lamp | |
CN109673086B (en) | LED drive control circuit compatible with wireless dimming and color mixing and wall switch color mixing | |
EP2166822A2 (en) | Ultra-low-power display control circuit and associated method | |
CN105187749B (en) | A kind of television backlight Drive And Its Driving Method | |
TWI477192B (en) | Dc dimming led driving circuit | |
CN203912278U (en) | LED desk lamp intelligent controller | |
CN103796374A (en) | LED illumination control system | |
CN204836696U (en) | Constant -current drive circuit that LED lamp can be adjusted luminance | |
CN202889703U (en) | DC light-modulation type LED drive circuit | |
CN110545598B (en) | Control circuit and control method for equipment power supply | |
CN210781451U (en) | Control circuit of equipment power supply | |
CN219577312U (en) | Intensive dimming LED driving power supply | |
CN105307305A (en) | LED power supply control device and TV set | |
CN209824090U (en) | LED drive control circuit compatible with wireless dimming and color modulation and wall switch color modulation | |
CN105578654A (en) | Indicator lamp control device capable of reducing stand-by power consumption of liquid crystal display television | |
CN212413482U (en) | LED drive circuit and device | |
CN114466487B (en) | LED intelligent dimming power supply with NFC function and LED lamp system | |
KR200214795Y1 (en) | Power saving device for display device | |
CN207219090U (en) | A kind of wide electronic light modulator of compatible voltage range | |
CN201893106U (en) | Driving control circuit of light emitting diode (LED) back light source | |
CN115002963A (en) | Low standby power consumption control circuit | |
CN211378322U (en) | Express delivery cabinet intelligence lamps and lanterns | |
CN211698017U (en) | Silicon controlled rectifier dimmer detection device and circuit | |
CN204425713U (en) | Brightness is regulated and the control circuit exported with USB in energy-saving LED lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |