control circuit and control method of equipment power supply

文档序号:1785072 发布日期:2019-12-06 浏览:12次 中文

阅读说明:本技术 一种设备电源的控制电路及控制方法 (control circuit and control method of equipment power supply ) 是由 邓迅升 于 2019-08-21 设计创作,主要内容包括:本发明公开了一种设备电源的控制电路及控制方法,所述控制电路与被控设备连接,包括整流模块、线电压采样模块、控制模块低压直流供电模块;输入交流电经过整流模块进行整流处理后输出线电压至线电压采样模块和低压直流供电模块;所述线电压采样模块用于根据线电压输出第一采样电压至控制模块,所述低压直流供电模块用于将线电压转换成低压直流电输出至控制模块;当第一采样电压由小于第一预设电压变化为大于第一预设电压时,所述控制模块由睡眠模式进入工作模式,并根据指令信息输出控制信号至被控设备后再次进入睡眠模式;所述被控设备用于根据控制信号更新工作状态。本发明能够实现降低设备的电源功耗,提高电源效率。(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 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 outputs line voltage 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 the instruction information and then enters the sleep mode again; and the controlled equipment is used for updating the working state according to the control signal. The invention can reduce the power consumption of the power supply of the equipment and improve the power supply efficiency.)

1. A control circuit of a device power supply is connected with a controlled device 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 outputs line voltage 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; and the controlled equipment is used for updating the working state according to the control signal.

2. The control circuit of the device power supply according to claim 1, wherein the control module comprises a control unit and an ambient light detection unit, when the first sampling voltage changes 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 turned on; the ambient light detection unit samples ambient light signals within a first preset time and outputs a second sampling voltage to the control unit; and 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 close, and then enters the sleep mode again.

3. The control circuit of the device power supply according to claim 1, wherein the control module comprises a control unit and a wireless unit, when the first sampling voltage changes 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 for timing, and outputs a wake-up command 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, outputs a control signal to the controlled device according to the wireless data, outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode, and then enters the sleep mode again.

4. The control circuit of the device power supply of claim 2, wherein when the second sampling voltage is greater than a second preset voltage, the control unit outputs a first control signal to the controlled device; when the second sampling voltage is smaller than a second preset voltage, the control unit outputs a second control signal to the controlled device.

5. the control circuit of the device power supply of claim 2, wherein the control unit comprises a control chip, a PA0 signal terminal of the control chip is connected to the line voltage sampling module, a PA1 signal terminal of the control chip and a PA2 signal terminal of the control chip are both connected to the ambient light detection unit, a PA7 signal terminal of the control chip is connected to the device to be controlled, and a VDD signal terminal of the control chip is connected to the low-voltage dc power supply module.

6. The control circuit of the device power supply of claim 5, wherein the ambient light detecting unit comprises a first resistor and a light sensitive resistor, one end of the first resistor is connected to one end of the light sensitive resistor and the PA1 signal end of the control chip, the other end of the first resistor is grounded, and the other end of the light sensitive resistor is connected to the PA2 signal end of the control chip.

7. the control circuit of the equipment power supply of claim 5, 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.

8. A control method of a control circuit of a power supply of a device according to any one of claims 1 to 7, comprising the steps of:

The input alternating current is rectified by the rectifying module and then outputs line voltage 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.

9. the method according to claim 8, wherein the step of entering the sleep mode again after the control module enters the operating mode from the sleep mode and outputs the control signal to the controlled device according to the instruction information when the first sampling voltage changes from being smaller than a first preset voltage to being larger than the first preset voltage comprises:

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, outputs a first level signal to the ambient light detection unit and controls the ambient light detection unit to be started;

the ambient light detection unit samples the ambient light signal within a first preset time and then outputs a second sampling voltage to the control unit;

and 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 close, and then enters the sleep mode again.

10. The method according to claim 8, wherein the step of entering the sleep mode again after the control module enters the operating mode from the sleep mode and outputs the control signal to the controlled device according to the instruction information when the first sampling voltage changes from being smaller than a first preset voltage to being larger than the first preset voltage comprises:

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 for timing, and simultaneously 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, outputs a control signal to the controlled device according to the wireless data, outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode, and then enters the sleep mode again.

Technical Field

the invention relates to the technical field of power supplies, in particular to a control circuit and a control method of a device power supply.

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, in some applications, the control part adopts low-voltage direct current power supply, the controlled part adopts high-voltage power supply, for example, in the application of a wireless intelligent LED lamp, the wireless control part adopts 3.3V low-voltage direct current power supply, and the LED lamp driving part adopts 200-volt high-voltage linear power supply to supply power. 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 two traditional power supply schemes for supplying power to the control part, one scheme adopts a switching power supply for supplying power, and the switching power supply has the advantages of high power supply efficiency; the disadvantages are the problem of radiation transmission, large volume and high cost. The other is a structure adopting a resistor, a capacitor, a voltage regulator tube and an LDO (low drop out regulator), namely a low dropout linear regulator, as shown in figure 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 linear regulator has the advantages of small power supply volume, low cost and no conduction radiation problem; the disadvantage is that the current with fixed magnitude is always pulled up from the line voltage, and the output current can not be automatically adjusted along with the magnitude of the load current, so that the power supply efficiency is low.

thus, the prior art has yet to be improved and enhanced.

Disclosure of Invention

in view of the defects of the prior art, the invention aims to provide a control circuit and a control method of a device power supply, which can effectively reduce the power consumption of the power supply and improve the power supply efficiency of the power supply.

in order to achieve the purpose, the invention adopts the following technical scheme:

A control circuit of a device power supply 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 the rectifying module and then outputs line voltage 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; and the controlled equipment 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, outputs a first level signal to the ambient light detection unit and controls the ambient light detection unit to be started; the ambient light detection unit samples ambient light signals within a first preset time and outputs a second sampling voltage to the control unit; and 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 close, and then enters the 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 for timing, and simultaneously 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, outputs a control signal to the controlled device according to the wireless data, outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode, and then enters the sleep mode again.

In the control circuit of the equipment 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 equipment; 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 device 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 device, 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 device power supply, the ambient light detection unit comprises a first resistor and a light sensitive resistor, one end of the first resistor is connected with one end of the light sensitive resistor and the PA1 signal end of the control chip, the other end of the first resistor is grounded, and the other end of the light sensitive resistor 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.

A control method based on the control circuit of the equipment power supply comprises the following steps:

The input alternating current is rectified by the rectifying module and then outputs line voltage 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 a control circuit of a device power supply, when the first sampling voltage changes 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, and the control module enters the sleep mode again after outputting a control signal to the controlled device according to instruction information, the method 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, outputs a first level signal to the ambient light detection unit and controls the ambient light detection unit to be started;

The ambient light detection unit samples the ambient light signal within a first preset time and then outputs a second sampling voltage to the control unit;

And 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 close, and then enters the sleep mode again.

In the method for controlling a control circuit of a device power supply, when the first sampling voltage changes 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, and the control module enters the sleep mode again after outputting a control signal to the controlled device according to instruction information, the method 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 for timing, and simultaneously 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, outputs a control signal to the controlled device according to the wireless data, outputs a sleep instruction to the wireless unit to control the wireless unit to enter a sleep mode, and then enters the sleep mode again.

Compared with the prior art, the control circuit and the control method of 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 the rectifying module and then outputs line voltage 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 the instruction information and then enters the sleep mode again; and the controlled equipment 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 power supply of the equipment and improve the power supply efficiency.

Drawings

FIG. 1 is a schematic circuit diagram of a control circuit of a prior art smart device;

FIG. 2 is a block diagram of a control circuit of the power supply of the apparatus according to the present invention;

FIG. 3 is a waveform diagram of signals in a control circuit of the power supply of the apparatus provided by the present invention;

FIG. 4 is a schematic circuit diagram of a first preferred embodiment of a control circuit for a power supply of a device according to the present invention;

FIG. 5 is a flowchart of the operation of the control module of the first preferred embodiment in the control circuit of the power supply of the device provided by the present invention;

FIG. 6 is a schematic circuit diagram of a second preferred embodiment of a control circuit for a power supply of a device according to the present invention;

FIG. 7 is a flowchart of the operation of a control module of a second preferred embodiment of the control circuit of the power supply of the device according to the present invention;

FIG. 8 is a flow chart of a method of controlling a power supply of a device according to the present invention;

FIG. 9 is a flowchart of step S400 of the control method for power supply of equipment according to the first preferred embodiment of the present invention;

Fig. 10 is a flowchart of step S400 in the method for controlling the power supply of the device according to the second preferred embodiment of the present invention.

Detailed Description

the invention aims to provide a control circuit and a control method of a device power supply, which can effectively reduce the power consumption of the power supply and improve the power supply efficiency of the power supply.

in order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit 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.

after the input alternating current is rectified by the rectifying module 100, the output line voltage is transmitted 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 and outputs the low-voltage dc power to the control module 300, so as to provide electric energy for the operation of the control module 300, and ensure stable operation of the control module 300, and the low-voltage dc power supply module 400 can dynamically adjust an output current according to a magnitude of a load current, where the output current is large when a load needs a large current and the output current is small when the load needs a small current, so as to achieve a purpose of reducing average power consumption of the load.

the control module 300 has two working modes, i.e., a sleep mode and a working mode, which can be switched according to actual requirements, and specifically, the first sampling voltage output by the line voltage sampling module 200 varies periodically with the operating frequency of the ac power source, the control module 300 receives a first sampled voltage from the line voltage sampling module 200 output, and the line voltage and the first preset voltage Vth are judged, the working state of the line voltage and the first preset voltage Vth is adjusted according to the judgment result, when the first sampling voltage changes from being less than a first preset voltage Vth to being greater than the first preset voltage Vth, the control module 300 enters the working mode from the sleep mode, starts to process the instruction information, outputting a control signal to the controlled module 110 according to the instruction information, and then entering the sleep mode again until the first sampling voltage changes from being less than the first preset voltage Vth to being greater than the first preset voltage Vth next time; the controlled module 110 is configured to update the working state corresponding to the control signal according to the control signal.

referring to fig. 3, the first preset voltage Vth is a comparison voltage set by a user and used for comparing with a sampling voltage of a line voltage, and the first preset voltage Vth corresponds to a line voltage value, so that when the set value of the first preset voltage Vth is lower in the line voltage, the efficiency of the power supply is higher, the current ratio of the control module 300 entering the working mode is higher, and the current in the sleep mode is lower. Setting the first preset voltage Vth to be smaller, so that the control module 300 is in a time period when the line voltage is lower in the high-current operating mode, and according to the condition that P is UI, the lower the voltage, the lower the power consumed by the power supply is, the lower the power consumption is, under the condition of the same current; the control module 300 is in a low-current operating mode in a time period when the line voltage is high, at this time, although the line voltage is higher, the current is low, and compared with a time period when the line voltage is high when the high-current operating mode is operated, the power consumed in the low-current sleep mode is much lower, so that the power consumption of the power supply is reduced, and the power supply efficiency is improved.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于分布式无线路由器的智能照明系统及控制方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!