Disclosure of Invention
The invention aims to provide a power supply driving system which can realize multi-mode induction at low cost.
The present invention provides a power driving system, which includes a power driver and a power driving circuit. The power driver includes a mode selector, a state controller, a drive controller, and a power switch. The mode selector is configured to generate one of a plurality of mode selection signals. The state controller has a first input terminal for receiving a sensing signal and a second input terminal for receiving the one of the mode selection signals, and is configured to generate a state control signal according to the sensing signal and the one of the mode selection signals. The driving controller is connected with the state controller and is configured to generate an output control signal according to the state control signal. The control end of the power switch is connected with the driving controller and is used for generating an output driving signal according to the output control signal. The power driving circuit is connected with the power switch and is configured to drive a load by using the output driving signal.
In an embodiment of the invention, the power driving system further includes a rectifying circuit adapted to be connected to an ac power source, and the power driver and the power driving circuit are connected to the rectifying circuit.
In an embodiment of the present invention, the mode selection signal is a logic level signal.
In an embodiment of the invention, the mode selector comprises a state machine, each state of the state machine corresponding to each mode selection signal of the plurality of mode selection signals.
In an embodiment of the present invention, the plurality of mode selection signals include: a first mode selection signal, when one of the mode selection signals is the first mode selection signal, the logic of the state control signal changes with the sensing signal; and/or a second mode selection signal, when the one of the mode selection signals is the second mode selection signal, the logic of the state control signal is kept constant regardless of the change of the sense signal.
In an embodiment of the invention, the power driving system further includes an input detection unit adapted to be connected to the input unit and detect an input of the input unit to generate an input signal, wherein the mode selector is configured to output the one of the mode selection signals according to the input signal.
In an embodiment of the present invention, the input part is provided on the rectification circuit.
In an embodiment of the invention, the input means comprises a switch and the input detection means comprises a switch sampling network.
The invention also provides a power supply driving method, which comprises the following steps: generating one of a plurality of mode selection signals; receiving a sensing signal and generating a state control signal according to the sensing signal and the one mode selection signal; generating an output control signal according to the state control signal; and generating an output drive signal for driving a load according to the output control signal.
In an embodiment of the present invention, the mode selection signal is a logic level signal.
In an embodiment of the present invention, the plurality of mode selection signals include: a first mode selection signal, when one of the mode selection signals is the first mode selection signal, the logic of the state control signal changes with the sensing signal; and/or a second mode selection signal, when the one of the mode selection signals is the second mode selection signal, the logic of the state control signal is kept constant regardless of the change of the sense signal.
In an embodiment of the invention, the power driving method further includes: detecting an input of an input part to generate an input signal; wherein one of the plurality of mode selection signals is output according to the input signal.
The invention also provides a power supply driver, which comprises a mode selector, a state controller, a driving controller and a power switch. The mode selector is configured to generate one of a plurality of mode selection signals. The state controller has a first input terminal for receiving a sensing signal and a second input terminal for receiving the one of the mode selection signals, and is configured to generate a state control signal according to the sensing signal and the one of the mode selection signals. The driving controller is connected with the state controller and generates an output control signal according to the state control signal. The control end of the power switch is connected with the driving controller and generates an output driving signal according to the output control signal.
The invention also provides a power supply driver, which comprises a mode selection and state controller, a driving controller and a power switch. A mode selection and state controller configured to generate one of a plurality of mode selection signals; and receiving a sensing signal, and generating a state control signal according to the sensing signal and the one mode selection signal. The drive controller is configured to generate an output control signal in accordance with the state control signal. The control end of the power switch is connected with the driving controller and is used for generating an output driving signal according to the output control signal.
Due to the adoption of the technical scheme, compared with the prior art, the load can be controlled by a user to be switched between different modes according to the requirement. The output control signal of the inductor can correspond to various driving signal states, namely different light states. The novel control system and the control mode have the advantages that the functions are further expanded on the basis of the traditional induction driving, so that the application range of the novel control system is wider, and the novel control system and the novel control mode are more flexible to use.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described herein, and thus the present invention is not limited to the specific embodiments disclosed below.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
It will be understood that when an element is referred to as being "on," "connected to," "coupled to" or "contacting" another element, it can be directly on, connected or coupled to, or contacting the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to," "directly coupled to" or "directly contacting" another element, there are no intervening elements present. Similarly, when a first component is said to be "in electrical contact with" or "electrically coupled to" a second component, there is an electrical path between the first component and the second component that allows current to flow. The electrical path may include capacitors, coupled inductors, and/or other components that allow current to flow even without direct contact between the conductive components.
Embodiments of the present invention describe a power driving system and a driving method. The power supply driving system may be a system capable of driving a load with electric power. Here, the power may be alternating current or direct current. Here, the load may be various electric devices including, but not limited to, a light source, a speaker, a camera, and the like.
Fig. 2 is a schematic diagram of a power driving system according to an embodiment of the invention. Referring to fig. 2, the power driving system 200 of the present embodiment may include a rectifying circuit 210, an input detection part 220, a power driver 230, and a power driving circuit 240. The rectifier circuit 210 is used to rectify alternating current AC into direct current. In this example, the rectifier circuit 210 may include a rectifier bridge of 4 diodes D1-D4. The rectifier bridge can be composed of discrete diodes or rectifier bridge chips. The rectifying circuit 210 may be provided with a switch SW as an input means. The input detecting section 220 is connected to the switch SW and can detect the operation of the switch SW, thereby generating the input signal WT.
The power supply driver 230 may include a mode selector 231, a state controller 232, a driving controller 233, and a power switch NM 0. The mode selector 231 is configured to generate a mode selection signal MT, for example, one of a plurality of mode selection signals MTn, n ═ 1,2,3, …. In one embodiment, the mode selector 231 generates the mode selection signal MT according to the input signal WT, but not limited thereto. The state controller 231 has a first input terminal connected to the sensor 201 for receiving the sensing signal IR and a second input terminal for receiving one of the mode selection signals MTn. The state controller 232 is configured to generate a state control signal ST according to the sense signal IR and one of the mode selection signals. For example, the state controller 232 can perform a logic operation using the sensing signal IR and the mode selection signal MT to generate the state control signal ST. The state controller 232 may be a combination of logic gates. The logic gates included in the state controller 232 can be easily designed according to the requirements of the actual sensing signal IR and the mode selection signal MT and the state control signal ST.
The driving controller 233 is connected to the state controller 232 and configured to generate the output control signal DS according to the state control signal ST. The control terminal of the power switch NM0 is connected to the drive controller 233 and is configured to generate an output drive signal Drain according to the output control signal DS. In the example of fig. 2, the power switch NM0 is a transistor, a control terminal of which is a gate, and an output terminal of which is a drain. The drive controller 233 may also have a current sampling terminal CS connected to a current sampling resistor Rs. In addition, the source of the power switch NM0 is also connected to a current sampling resistor Rs. In an embodiment of the present invention, the power switch NM0 and/or the current sampling resistor Rs may be integrated inside the driver 230. In an embodiment of the present invention, the current sampling resistor Rs may be a resistor in the form of a MOS transistor.
In some embodiments, the power driver 230 may be an integrated circuit chip, and the mode selector 231, the state controller 232, the driving controller 233, and the power switch NM0 are integrated in the chip. In some embodiments, a part of circuits or devices in the power driver 230, for example, the power switch NM0, may be a stand-alone device.
The power driving circuit 240 connects the power switch NM0 and the rectifying circuit 210, and is configured to drive a load using the output driving signal Drain. In an example of the invention, the load is an LED lamp.
In the embodiment of the present invention, the sensor 201 may be an infrared sensor, a doppler radar, a sound sensor, a visible light sensor, or the like. In the embodiment of the present invention, the number of the inductors 201 may be one or more. In one example, the sensor 201 is an infrared sensor that can sense a human body or other biological object.
An advantage of the above-described embodiment of the present invention is that the mode selector 231 can change the control mode of the state controller 232 and the driving controller 233 by the sensor through a plurality of mode selection signals, and the conventional single-mode sensing control is changed into the multi-mode sensing control. In addition, the implementation structure is simple, and only the mode selector 231 needs to be additionally arranged.
Details of some aspects of the invention are described below. It is to be understood that those skilled in the art can practice the invention in other ways than those specifically set forth in the following examples without departing from the spirit of the invention, and that such other ways are within the scope of the practice of the invention.
As shown in fig. 2, the power driver 230 may have two input control signals. One is an input signal WT generated by the switch SW switching to indicate the switch state, and the other is a sensing signal IR generated by the sensor 201. When the switch SW is switched, the generated input signal WT is sampled by the input detecting section 220. As shown in fig. 2, the input detection unit 220 may sample from before the rectifier circuit 210, or may alternatively sample from after the rectifier circuit 210. The sampled signal is input to a mode selector 231 in the power driver 230, and the mode selector 231 processes the signal and generates a mode selection signal MT accordingly. The mode selection signal MT may be a 1-bit or multi-bit logic signal. Mode selector 231 may be in the form of a state machine. Mode selector 231 presets n combinations of logic states for signal MT. If the switch SW is switched continuously, the mode selection signal MT is cyclically varied in n preset combinations of logic states. MT is input to the state controller 232 as an input signal to the state controller 232 in the power driver 230. M kinds of driving state control codes are preset in the state controller 232. These driving state control codes are represented by a state control signal ST output from the state controller 232. For example, ST may be a 1-bit or multi-bit logic signal, and a total of m logic combinations correspond to m driving state control codes. Each logic state of one of the input signals of the state controller, i.e. the mode selection signal MT, corresponds to a set of driving state codes, so that a total of n driving state code combinations, each set of driving state codes may include one or more state codes, and the corresponding relationship between the mode selection signal MT and the driving states is preset by the mode selection driving chip according to requirements. Table 1 illustrates a correspondence relationship between the mode selection signal MT and the status control code ST. Table 1 is only an example, and the actual correspondence relationship may be set arbitrarily according to actual requirements.
Table 1: mode selection state table
Another input signal of the state controller 232 is the sensing signal IR output by the sensor 201. The sensing signal IR can be a 1-bit or multi-bit logic signal, and its logic state is determined by the signal sensed by the sensor 201 and the internal logic of the sensor. As shown in Table 1, a selected pattern corresponds to a particular set of status codes in the status controller 232. The state control signal ST output by the state controller 232 is selected by the sensing signal IR in the set of state codes. In a specific mode, the logic state of each state control signal ST may correspond to the logic state of one or more sensing signals.
In some cases, the mode selection signal may include a first mode selection signal and a second mode selection signal. When the mode selection signal is the first mode selection signal (e.g., MT1), the state control signal varies with the sense signal IR and has different states ST1 and ST 2. When the mode selection signal is the second mode selection signal (e.g., STm), the state control signal remains constant (at STm) regardless of changes in the sense signal IR. As shown in table 1, there may be other first mode selection signals in addition to the MT 1.
As shown in fig. 2, the load current signal sampled by the current sampling resistor Rs is input to the drive controller 233, and the state control signal output by the state controller 232 is also input to the drive controller 233. The drive controller processes these two signals to form the drive signal DS. The drive controller 232 is preset with various driving modes. The driving method is a control method for a driving signal set in the driving controller 232, and the control method controls characteristics of the driving signal, such as frequency, duty ratio, voltage amplitude, on state, off state, and the like, to control the state of the load. The mode control signal MT and the sense signal IR are used to select the state control signals of the state controller 232, each corresponding to a driving mode.
Fig. 3 illustrates waveforms for operation of such a power drive system. For convenience of illustration, the IR signal is exemplified by a 1-bit logic signal. As shown in fig. 3, when the system is activated (PG is logic "1"), the output signal MT of the mode selector 231 is set to the initial state MT1, and as the switch SW is continuously switched ON/OFF, MT is cyclically changed in the order of MT2, MT3, …, MTn, MT1 …. The MT state illustrated in fig. 3 is switched on the rising edge of the SW signal, but may be switched on the falling edge. In a certain mode, the state control signal ST is controlled by the sensing signal IR, and corresponds to a logic state of the state control signal ST when the sensing signal IR is logic high (IRH); when the sensing signal IR is logic low (IRL), it corresponds to the logic state of another state control signal.
As described above, the power driving system of the embodiment of the invention can be well used for a lighting driving system. In the field of lighting, compared with traditional general lighting, intelligent induction lighting has the advantage of no alternatives in some specific application scenes. For example, in the occasions such as garages, warehouses, corridors and washrooms where long-time continuous illumination is not needed, intelligent induction illumination is more convenient to use and can achieve a more remarkable energy-saving effect.
Fig. 4 is a circuit diagram of a power driving system according to an embodiment of the invention. The power driving system may be a lighting driving system. The power driving system 200a may be a buck (buck) dual mode lighting driver, which is connected to the inductor 201. Although the buck driving system is taken as an example, the invention can be applied to different topologies. The power driving system 200a may include: wall switch SW, rectifier circuit 210, switch sampling network 220, input filter capacitor Cin, power driver 230a, current sampling resistor RSA freewheeling diode DX and a power inductor L. The switch sampling network 220 may include a resistor R1. Freewheeling diodeDX and power inductance L constitute power drive circuit.
The power driver 230a may include a mode selector 231, a state controller 232, a PWM controller 233a, a peak current comparator (OCP)234, and a power switch NM 0.
The dual mode induction lighting drive system illustrated in fig. 4 has two modes of operation, one in induction mode and one in full bright mode. When the system is powered on for the first time, the mode selector 231 is set to the sensing mode, i.e., MT1, by the power-on reset signal PG. In this mode, the sense signal IR controls the state control signal output by the state controller 232. When the sensing control signal IR is logic high (IRH), the state control signal ST is also logic high, at the moment, the PWM signal is normally output, and the LED lamp is in a lighting state; when the sense control signal IR is logic "low" (IRL), the state control signal ST is also logic "low", and the PWM signal is blocked and the LED lamp is in "light-off state". Switching the wall switch SW again, the mode selector 231 senses the switching of the switch state through the switch sampling network 220, and switches to the "full bright mode", i.e., MT 2. In this mode, whether the sensing signal IR is logic "high" (IRH) or logic "low" (IRL), the driving state control signal ST corresponding to the sensing signal IR is logic "high", that is, the LED lamp is always in a normally on state. If the wall switch SW is switched again, the system switches to the sensing mode MT 1.
Fig. 5 illustrates a control waveform diagram of this embodiment. As can be seen from fig. 5, the system has a total of two operating modes, i.e. sensing mode MT1 and full bright mode MT2, which can be switched cyclically under the control of the wall switch SW. Meanwhile, the system also presets two driving states, namely a PWM driving state (light-on) and a non-PWM driving state (light-off). In the induction mode, the induction control signal directly controls the output of the PWM signal, namely the on and off of the LED lamp; under the full bright mode, no matter the response control signal is high or low, there is PWM output all the time, and the LED lamp remains the bright state all the time.
Fig. 6 is a circuit diagram of a power driving system according to another embodiment of the invention. FIG. 6 illustrates one embodiment of a dual mode adjustable brightness inductive drive system. The system 200b may be a buck (buck) dual mode lighting driver connected to the inductor 201. Although the buck driving system is taken as an example, the present invention can be implemented on different topologies. The power driving system 200b may include: wall switch SW, rectifier circuit 210, switch sampling network 220, input filter capacitor Cin, power driver 230b, current sampling resistor R SA freewheeling diode DX and a power inductor L. The switch sampling network 220 may include a resistor R1. The freewheeling diode DX and the power inductor L constitute a power driving circuit.
The power driver 230b may include a mode selector 231, a state controller 232b, a PWM controller 233b, a peak current comparator (OCP)234, and a power switch NM 0. The dual mode dimmable lighting driver system illustrated in fig. 6 has two modes of operation, a night light sensing mode and a full bright mode. As shown in FIG. 6, the state control signal output by the state controller 232b is a 2-bit logic signal ST1, ST 0. The state control signal sets three logic states: "11","01","10". Wherein "11" corresponds to the low frequency driving state of the PWM controller 233 b; "01" corresponds to the high-frequency driving state of the PWM controller 233 b; "10" corresponds to a no drive signal state. When the system is first powered up, the mode selector 231 is set to the night light sensing mode, i.e., MT1, by the power-on reset signal PG. In this mode, when the sensing signal IR is logic "high" (IRH), the state control signals ST1, ST0 are logic "11", and the PWM controller 233b outputs a low frequency pulse modulation (PWM) signal, so that the LED lamp is in "night light state"; when the sensing signal IR is logic "low" (IRL), the logic states of the state control signals ST1 and ST0 are "10", and the PWM controller 233b outputs no PWM signal, and the LED lamp is "off". Switching the wall switch SW again, the mode selector 231 senses the switching of the switch state through the switch sampling network 220, and switches to the "full bright mode", i.e., MT 2. In this mode, whether the sensing signal IR is logic "high" (IRH) or logic "low" (IRL), the driving state control signals ST1 and ST0 are all "01", and the PWM controller 233b outputs a high-frequency PWM signal, that is, the LED lamp is in "full-on state". If the wall switch SW is switched again, the system switches to the sensing mode MT 1.
Here, the state controller 232b may include an inverter and an or gate. One input terminal of the or gate inputs the signal IR, the other input terminal inputs the signal MT inverted by the inverter, and the output terminal of the or gate outputs the signal ST 0. In addition, the signal ST1 directly uses the signal MT.
Fig. 7 illustrates a control waveform diagram of this embodiment. As can be seen from FIG. 7, the system has two common operating modes, i.e., the sensing mode MT1 and the full bright mode MT 2. The two modes of operation may be switched cyclically under the control of a wall switch SW. Meanwhile, the system also presets three driving states, namely a full-bright state (outputting a high-frequency PWM signal, and the brightness of the LED lamp is the highest at the moment), a night lamp state (outputting a low-frequency PWM signal, and the brightness of the LED lamp is the lowest at the moment), and a lamp-out state (no PWM signal). In the sensing mode MT1, when the sensing control signal IR is logic high (IRH), the logic states of the state control signals ST1 and ST0 are set to "11", which controls the PWM controller to output the low frequency PWM signal, and the light state is a night light state (the brightness is much lower than the full-bright state); when the sensing control signal IR is logic low (IRL), the logic states of the state control signals ST1, ST0 are set to "10", which controls the PWM controller to output a low level, the light state is a light-off state. In the MT2 mode, the logic states of the state control signals ST1 and ST0 are set to "01" regardless of whether the sensed control signal is high or low, which controls the PWM controller to output a high frequency PWM signal, so that the LED lamp always keeps a full-on state.
Fig. 8 is a circuit diagram of a power driving system according to another embodiment of the present invention. The function of the exemplary system 200c shown in fig. 8 is substantially the same as that of the exemplary system shown in fig. 2, with the main differences: the mode selector 231 and the state controller 232 of fig. 8 can be implemented by a separate mode selection and state control chip 230c independent of the driver controller 233. Or the mode selector 231 and the state controller 232 may be implemented by a programmed MCU (single chip microcomputer) having the same function. In this embodiment, the mode selection and status control chip or MCU may be configured to: generating one of a plurality of mode selection signals; and receiving the sensing signal, and generating a state control signal according to the sensing signal and one of the mode selection signals. The details of this process can be found in the previous embodiments and will not be further described herein.
Viewed from another perspective, the present invention describes a power supply driving method comprising the steps of: generating one of a plurality of mode selection signals; receiving the sensing signal, and generating a state control signal according to the sensing signal and one of the mode selection signals; generating an output control signal according to the state control signal; and generating an output drive signal for driving the load according to the output control signal. This described method may be implemented by each respective component in the circuits shown in fig. 2, 4, 6 or 8.
In some embodiments, the mode select signal is a logic level signal. The logic level signal may comprise one or more bits. In some embodiments, the plurality of mode selection signals includes a first mode selection signal and a second mode selection signal. When one of the mode selection signals is the first mode selection signal, the logic state control signal changes along with the sensing signal. When one of the mode selection signals is the second mode selection signal, the logic state control signal remains constant regardless of the change in the sense signal.
In some embodiments, an input signal may be generated by detecting an input of an input unit, and one of a plurality of mode selection signals may be output according to the input signal.
As described above, with the above method and system, the user can control the load to switch between different modes according to the demand. In a conventional single control mode sensing driving system, a logic state of a sensor output control signal uniquely corresponds to a state of a load, that is, one logic state corresponds to a unique light state. In the multi-mode intelligent sensing driving system provided by the invention, the output control signal of the sensor can correspond to various driving signal states, namely different light states. The novel control system and the control mode have the advantages that the functions are further expanded on the basis of the traditional induction driving, so that the application range of the novel control system is wider, and the novel control system and the novel control mode are more flexible to use.
Although the present invention has been described with reference to the present specific embodiments, it will be appreciated by those skilled in the art that the above embodiments are merely illustrative of the present invention, and various equivalent changes and substitutions may be made without departing from the spirit of the invention, and therefore, it is intended that all changes and modifications to the above embodiments within the spirit and scope of the present invention be covered by the appended claims.