CN107911923B - Dimming output method of dimming controller and dimming controller - Google Patents

Dimming output method of dimming controller and dimming controller Download PDF

Info

Publication number
CN107911923B
CN107911923B CN201711139760.0A CN201711139760A CN107911923B CN 107911923 B CN107911923 B CN 107911923B CN 201711139760 A CN201711139760 A CN 201711139760A CN 107911923 B CN107911923 B CN 107911923B
Authority
CN
China
Prior art keywords
control loop
virtual
relay
configuration scheme
dimming
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
Application number
CN201711139760.0A
Other languages
Chinese (zh)
Other versions
CN107911923A (en
Inventor
李敬召
姚道敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Opple Lighting Co Ltd
Original Assignee
Opple Lighting Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Opple Lighting Co Ltd filed Critical Opple Lighting Co Ltd
Priority to CN201711139760.0A priority Critical patent/CN107911923B/en
Publication of CN107911923A publication Critical patent/CN107911923A/en
Application granted granted Critical
Publication of CN107911923B publication Critical patent/CN107911923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention provides a dimming output method of a dimming controller and the dimming controller, wherein the method comprises the following steps: setting a virtual control loop module for the dimming controller, wherein the virtual control loop module comprises a relay switch virtual unit corresponding to a relay and/or a dimming output control unit corresponding to a light adjusting device; determining at least one configuration scheme of the dimming controller regarding a matching relationship between the relay and the light adjusting device according to the lighting requirement; the corresponding virtual control loop module is started for each configuration scheme respectively in the following manner: the virtual unit of the relay switch in the virtual control loop module of the configuration scheme corresponds to an actual relay, and control operation is implemented. And, the dimming output control unit in the virtual control loop module of the present configuration corresponds to the actual light adjusting device, and performs control operation. The invention can greatly improve the utilization rate of the dimming controller.

Description

Dimming output method of dimming controller and dimming controller
Technical Field
The present invention relates to the field of lighting control, and in particular, to a dimming output method of a dimming controller and a dimming controller.
Background
In the field of lighting control, a dimming controller is an electric device that changes the luminous flux of a light source in a lighting device and adjusts the illuminance level. The basic principle of the dimming controller is to change the effective current value of the input power supply to achieve the purpose of dimming, and the dimming controller is generally provided with a multi-path relay (Onoff) and a multi-path voltage/current regulation output control device (light regulation device Level). The dimming controller realizes the switching of the lighting device by controlling the switching of the relay, and adjusts the intensity of the light source by controlling the light adjusting device.
Currently, the dimming controller is a hardware device for directly controlling the relay and the light adjusting device, the quantity of control capability of the dimming controller is limited, and the quantity of the relay and the light adjusting device which can be controlled is also limited, so that the capacity expansion capability of the dimming controller is limited, and if the lighting device needs more dimming schemes, a new dimming controller must be added, thereby causing resource waste.
Disclosure of Invention
The present invention has been made in view of the above problems, and an object of the present invention is to provide a dimming output method of a dimming controller and a dimming controller that overcome or at least partially solve the above problems.
According to an aspect of an embodiment of the present invention, there is provided a dimming output method of a dimming controller including at least one relay OnOff controlling a light source switch and at least one light adjusting device Level controlling a dimming output, the dimming controller controlling the switching of the light source through the relay included therein and adjusting the intensity of the light source through the light adjusting device included therein, the method comprising:
setting a virtual control loop module for the dimming controller, wherein the virtual control loop module comprises a relay switch virtual unit corresponding to a relay and/or a dimming output control unit corresponding to a light adjusting device;
determining at least one configuration scheme in the dimming controller regarding a matching relationship between the relay and the light-adjusting device according to a lighting requirement;
the corresponding virtual control loop module is started for each configuration scheme respectively in the following manner: the virtual control loop module of the configuration scheme selects a relay corresponding to the virtual unit of the relay switch, controls the selected relay through the virtual unit of the relay switch, selects a light adjusting device corresponding to the light adjusting output control unit in the virtual control loop module of the configuration scheme, and controls the selected light adjusting device through the light adjusting output control unit so as to control the output of the light source.
Optionally, starting the corresponding virtual control loop module for each configuration scheme respectively in the following manner includes:
when the configuration scheme is that the relay is singly used, starting a virtual control loop module only comprising a relay switch virtual unit for the configuration scheme;
when the configuration scheme is that the light adjusting device is singly used, starting a virtual control loop module only comprising a dimming output control unit for the configuration scheme;
when the configuration scheme is that the relay and the light regulating device are used in combination, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a dimming output control unit is started for the configuration scheme.
Optionally, when the configuration scheme is that the relay and the light regulating device are used in combination, a binding action relationship exists between the relay switch virtual unit and the light regulating output control unit.
Optionally, the binding action relationship between the relay switch virtual unit and the dimming output control unit includes:
when the relay switch virtual unit controls the relay to be turned on or off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to a preset intensity; or alternatively
And when the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity, the relay switch virtual unit controls the relay to be automatically opened or closed.
Optionally, when the dimming controller includes a plurality of relays and/or a plurality of light adjusting devices, if a configuration scheme of a plurality of devices used singly or in combination and a configuration scheme of the two devices used in combination are determined according to the lighting requirement, the method further includes:
configuring an independent virtual control loop module for each individual device; and
configuring combinable virtual control loop modules for other combinable devices;
the virtual control loop modules are mutually independent.
Optionally, when any virtual control loop module finishes the current use, the relay switch virtual unit and the dimming output control unit are disconnected with the corresponding hardware respectively, so as to be used for the next configuration.
Optionally, when the lighting requirement is adjusted, the method further comprises:
determining a new configuration scheme according to the adjusted lighting requirements;
further, the established virtual control loop module is adjusted according to the new configuration scheme.
Optionally, the adjusting the established virtual control loop module according to the new configuration scheme includes:
if the new configuration scheme is reduced relative to the original configuration scheme, directly releasing the virtual control loop module corresponding to the reduced part;
if the new configuration scheme is increased relative to the original configuration scheme, a new virtual control loop module is added for the newly added part;
if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relation between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
According to another aspect of the present invention, an embodiment of the present invention further provides a dimming controller including at least one relay OnOff for controlling a light source switch and at least one light adjustment device Level for controlling a dimming output, the dimming controller controlling a light source switch through the relay included therein and adjusting an intensity of the light source through the light adjustment device included therein, wherein the dimming controller further includes:
the virtual control loop module is arranged on the dimming controller, wherein the virtual control loop module comprises a relay switch virtual unit corresponding to the relay and/or a dimming output control unit corresponding to the light adjusting device;
A determining module adapted to determine at least one configuration scheme in the dimmer controller regarding a matching relationship between the relay and the light-adjusting device according to a lighting requirement;
the virtual control loop module is further adapted to start the corresponding virtual control loop module for each configuration scheme, respectively, as follows: the virtual control loop module in the configuration scheme selects a relay corresponding to the virtual unit of the relay switch, controls the selected relay through the virtual unit of the relay switch, selects a light adjusting device corresponding to the light adjusting output control unit in the virtual control loop module in the configuration scheme, and controls the selected light adjusting device through the light adjusting output control unit so as to control the output of the light source.
Optionally, the virtual control loop module is further adapted to:
when the configuration scheme is that the relay is singly used, starting a virtual control loop module only comprising a relay switch virtual unit for the configuration scheme;
when the configuration scheme is that the light adjusting device is singly used, starting a virtual control loop module only comprising a dimming output control unit for the configuration scheme;
When the configuration scheme is that the relay and the light regulating device are used in combination, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a dimming output control unit is started for the configuration scheme.
Optionally, when the configuration scheme is that the relay and the light regulating device are used in combination, a binding action relationship exists between the relay switch virtual unit and the light regulating output control unit.
Optionally, the binding action relationship between the relay switch virtual unit and the dimming output control unit includes:
when the relay switch virtual unit controls the relay to be turned on or off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to a preset intensity; or alternatively
And when the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity, the relay switch virtual unit controls the relay to be automatically opened or closed.
Optionally, when the dimming controller includes a plurality of relays and/or a plurality of light adjusting devices, if a plurality of configurations using any device alone and a plurality of configurations using both in combination are determined according to the lighting requirement,
The dimming controller further includes: configuring an independent virtual control loop module for each individual device; and configuring combinable virtual control loop modules for other combinable devices; the virtual control loop modules are mutually independent.
Optionally, when any virtual control loop module finishes the current use, the relay switch virtual unit and the dimming output control unit are disconnected from the corresponding hardware respectively, so as to be used for the next configuration.
Optionally, when the lighting demand is adjusted, the dimming controller further comprises:
and determining a new configuration scheme according to the adjusted lighting requirement, and further adjusting the established virtual control loop module according to the new configuration scheme.
Optionally, the dimming controller further includes:
if the new configuration scheme is reduced relative to the original configuration scheme, directly releasing the virtual control loop module corresponding to the reduced part;
if the new configuration scheme is increased relative to the original configuration scheme, a new virtual control loop module is added for the newly added part;
if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relation between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
Based on another aspect of the present invention, an embodiment of the present invention further provides a dimming output electronic device of a dimming controller, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the dimming output method of a dimming controller as claimed in any one of the preceding claims.
Based on another aspect of the present invention, an embodiment of the present invention further provides a dimming output computer-readable storage medium of a dimming controller, wherein the computer-readable storage medium stores one or more programs, which when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the dimming output method of the dimming controller described in any one of the above.
In the embodiment of the invention, a virtual control loop module can be arranged for the dimming controller, a relay and a light adjusting device of hardware are software and objectified, a relay switch virtual unit in the virtual control loop module is used for controlling relay hardware, and a dimming control unit in the virtual control loop module is used for controlling a light adjusting part. Therefore, the matching relation between the relay and the light adjusting device in the dimming controller can be flexibly adjusted according to actual lighting requirements, the communication interaction problem caused by the fact that the relay and the light adjusting device are used as independent modules is solved, and the problems of low utilization rate and weak capacity expansion caused by the fact that the relay and the light adjusting device are firmly bonded together are solved. In addition, due to the arrangement of the virtual control loop module, the relay and the light adjusting device matched with the virtual control loop module are configurable and selectable, the selection performance is greatly increased, the configuration is easier to realize, and the configuration complexity and the use and understanding difficulty in actual use can be obviously reduced.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
The above, as well as additional objectives, advantages, and features of the present invention will become apparent to those skilled in the art from the following detailed description of a specific embodiment of the present invention when read in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 illustrates a schematic diagram of a virtual control loop module according to one embodiment of the invention;
FIG. 2 illustrates a design concept architecture diagram of a virtual control loop module, according to one embodiment of the invention;
FIG. 3 illustrates a code implementation relationship class diagram of a virtual control loop module, according to one embodiment of the invention;
Fig. 4 is a process flow diagram of a dimming output method of a dimming controller according to a preferred embodiment of the present invention;
FIG. 5 illustrates meaning division representation intent of a sub-attribute module configuration representation in a virtual control loop module according to one embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a virtual control loop logic configuration according to a first embodiment of the present invention;
FIG. 7 is a schematic diagram of another virtual control loop logic configuration according to a first embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating a virtual control loop logic configuration according to a second embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a virtual control loop logic configuration according to a third embodiment of the present invention;
fig. 10 illustrates a schematic structure of a dimming controller according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the technical problems, the invention refers to different design ideas:
1. by means of object-oriented analysis (OOA, object Oriented Analysis)
2. Object-oriented design (OOD, object Oriented Design)
3. Object-oriented programming (OOP, object Oriented Programming)
Wherein, the liquid crystal display device comprises a liquid crystal display device,
1. object-oriented analysis decomposes systems based on abstract critical problem domains.
2. Object-oriented design is an object-oriented implementation that provides a symbology design system that constructs the system as a "real world" object in a way that closely approximates the terminology of the actual field.
3. Object-oriented programming can be viewed as an idea of including various independent and inter-calling objects in a program, as opposed to conventional ideas: conventional programming claims to treat a program as a collection of functions or directly as a series of instructions issued to a computer. Each object in object-oriented programming should be able to accept data, process data, and communicate data to other objects, so they can all be considered a small "machine," i.e., an object.
The embodiment of the invention provides a software design and implementation scheme of a general virtual control loop by taking an object-oriented OO idea as a starting point. The technical scheme can solve the practical problems of complex single logic control and complex multi-logic control. The invention is characterized in that a model for controlling a logic control unit with the functions of a relay switch control module and a voltage/current output control module is virtually developed, and the model is used for solving the actual problems of multiple complexity, low efficiency utilization rate and weak capacity expansion of a control loop in the current illumination control in a generalized and intelligent manner.
Based on the technical conception of object-oriented programming, the preferred embodiment of the invention provides a dimming output method of a dimming controller. In the embodiment of the invention, each object (a relay, a light adjusting device and the like) in the dimming controller is regarded as an independent main body, and a virtual control loop is set for the main body applied to the function according to different functions. Fig. 1 shows a schematic structure of a virtual control loop module according to an embodiment of the present invention. Referring to fig. 1, a relay switch virtual unit 110 corresponding to hardware (also referred to as an OnOff module) of a relay and/or a dimming output control unit 120 corresponding to hardware (also referred to as a Level module) of a light adjusting device are included in a virtual control loop module 100. In fig. 1, a relay switch dummy unit 110 is connected to a relay 130, and a dimming output control unit 120 is connected to a light adjusting device 140.
Fig. 2 shows a design concept architecture diagram of a virtual control loop module corresponding to fig. 1, in which the OnOff module corresponds to the relay switch virtual unit of fig. 1, and is connected with an actual OnOff relay. The Level module corresponds to the dimming output control unit in fig. 1 and is connected with the actual Level light adjusting device. The design concept of the virtual control circuit can be more clearly and clearly expressed in fig. 2 relative to the structural schematic diagram of fig. 1. FIG. 3 illustrates a virtual code implementation class diagram of a virtual control loop module corresponding to FIG. 1.
Fig. 4 shows a process flow diagram of a dimming output method of a dimming controller according to a preferred embodiment of the present invention, which is implemented based on the structure of the virtual control loop module provided in fig. 1-3.
The dimming controller comprises at least one relay OnOff for controlling the light source switch and at least one light adjusting device Level for controlling dimming output, and the dimming controller controls the switch of the light source through the relay contained in the dimming controller and adjusts the intensity of the light source through the light adjusting device contained in the dimming controller. Referring to fig. 4, the method at least includes steps S402 to S406:
step S402, a virtual control loop module is set for the dimming controller, wherein the virtual control loop module comprises a relay switch virtual unit corresponding to a relay and/or a dimming output control unit corresponding to a light adjusting device.
Step S404, determining at least one configuration scheme of the dimming controller regarding matching between the relay and the light adjusting device according to the lighting requirement.
Step S406, respectively starting a corresponding virtual control loop module for each configuration scheme in the following manner: specifically, in the virtual control loop module of the configuration scheme, a relay corresponding to the virtual unit of the relay switch is selected, the selected relay is controlled and operated through the virtual unit of the relay switch, and in the virtual control loop module of the configuration scheme, a light adjusting device corresponding to the light adjusting output control unit is selected, and the selected light adjusting device is controlled and operated through the light adjusting output control unit, so that the output of the light source is controlled.
In the embodiment of the invention, the virtual control loop module can be arranged for the dimming controller, the hardware relay and the light regulating device are software, the actual relay is controlled by the relay switch virtual unit in the virtual control loop module, and the actual light regulating device is controlled by the dimming output control unit in the virtual control loop module, so that the matching relation between the relay and the light regulating device in the dimming controller can be flexibly regulated according to the actual lighting requirement, the communication interaction problem caused by using the relay and the light regulating device as independent modules is solved, the problems of low utilization rate and low capacity expansion caused by hard growth binding of the relay and the light regulating device are solved, and the configuration complexity, the use and the understanding difficulty in actual use can be remarkably reduced.
In practical applications, the virtual control loop module may be implemented by a control logic unit component, which itself self-activates command signals according to logic configuration. Specifically, the control logic unit component integrated into the virtual control loop module can passively excite logic signals according to timing logic, scene instructions, sequence instructions and the like. Of course, the virtual control loop module may also receive a control panel call in the network to passively output the control signal. If the control panel is adopted to passively output the control signal, the passive calling mode can be a mechanical switch or a network control mode such as Bluetooth, wifi and the like which can give a command.
In order to implement the dimming output method of the dimming controller provided by the embodiment of the present invention, an independent control main body may be provided, and the related processor mentioned later is the phasing of the control main body, and the specific application is limited by practical situations and will not be described herein.
It should be noted that, the virtual control loop module set in step S402 can control the hardware device in the dimming controller to perform dimming output, and because there is a virtual control loop module, a combination mode of multiple relays and light adjusting devices can be converted according to actual lighting requirements, so that the dimming output efficiency is greatly improved.
Step S404 in fig. 4 indicates that an embodiment of the present invention may determine at least one configuration scheme of the dimming controller with respect to a matching relationship between the relay and the light modulation device according to the lighting requirement. Specifically, the configuration scheme includes at least three kinds:
when the first configuration scheme is that the relay is used alone, starting a virtual control loop module only comprising a relay switch virtual unit for the configuration scheme;
when the second configuration scheme is that the light adjusting device is singly used, a virtual control loop module only comprising a dimming output control unit is started for the configuration scheme;
When the third configuration scheme is that the relay and the light regulating device are used in combination, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a dimming output control unit is started for the configuration scheme.
FIG. 5 illustrates meaning division representation intent of a sub-attribute module configuration representation in a virtual control loop in accordance with one embodiment of the present invention. Referring to fig. 5, configuration 1 corresponds to the first configuration scheme, and has only the switching function of the relay on off, configuration 2 corresponds to the second configuration scheme, and has only the level dimming function, configuration 3 corresponds to the third configuration scheme, and has both the on off switch and the level dimming function, while configuration 4 is another configuration scheme, i.e., an invalid virtual control loop, and does not have any function.
When the dimming controller contains a plurality of relays and/or a plurality of light adjusting devices, a plurality of virtual control loops can be determined by setting a virtual control loop module according to actual lighting requirements, if a plurality of relays are required to work independently, the virtual control loops can be configured to be only relay switch virtual units, if a plurality of relays and the light adjusting devices are required to work in a combined mode, the virtual control loops can be configured to be corresponding to the plurality of relay switch virtual units one by one to the dimming output control units, the actual relays and the light adjusting devices are controlled, and the virtual control loop modules corresponding to the virtual control loops exist independently and do not affect each other.
In order to ensure the reliability of the light source, when the configuration scheme is that the relay and the light adjusting device work in combination, in this embodiment, a binding relationship may be set between the relay switch virtual unit and the dimming output control unit. Preferably, the binding relationship may be as follows:
when the relay switch virtual unit controls the relay to be turned on and off, the corresponding dimming output control unit controls the light regulating device to regulate the power supply intensity to a preset intensity; or alternatively
When the dimming output control unit controls the light adjusting device to adjust the light source to a preset intensity, the corresponding relay switch virtual unit controls the relay to be automatically turned on or turned off.
The binding relation between the relay switch virtual unit and the dimming output control unit can enable the relay and the dimming output control unit connected with the same virtual control loop module to be regarded as the same operation unit, so that the problem that when the lamp is actually used, the frequency flashing phenomenon possibly occurs when the brightness of some lamps is lower than a certain specific value is solved, meanwhile, the risk and complexity of communication interaction between the relay switch virtual unit and the dimming output control unit serving as independent modules are reduced, and the OO development design conception is met.
In addition, as the relay switch virtual unit and the dimming output control unit can be combined for use, the problems of low combination complexity, few combinations and the like caused by one-to-one correspondence of the relay and the light adjusting unit in the prior art are further solved.
When the lighting requirements are adjusted, a new virtual control loop module may be established according to the lighting requirements adjustment. Specifically, the new configuration scheme is reduced compared with the original configuration scheme, so that the virtual control loop module corresponding to the reduced part can be directly released; if the new configuration scheme is increased relative to the original configuration scheme, a new virtual control loop module is added for the newly added part; if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relation between the existing virtual control loop module and the hardware is changed according to the adjustment scheme.
In addition, when any virtual control loop module finishes the use, the relay switch virtual unit and the dimming output control unit in the virtual control loop module can be disconnected with corresponding hardware respectively for the next configuration.
Example 1
In order to more clearly describe the dimming output method of the dimming controller provided in the above preferred embodiments, the dimming output method of the dimming controller provided in the present invention will be described in one embodiment. In this embodiment, a dimming controller supporting 6 relays and 6 light adjusting devices is selected to be introduced as a dimming output method of the dimming controller. The flow chart of the method is shown in fig. 4, and the virtual control loop module is configured according to the actual lighting requirement, specifically:
Circuits 1-6 are provided with OnOff modules only
Loops 7-12 are configured with only Level modules.
The logic configuration diagram of the virtual control loop module corresponding to the configuration scheme provided by the embodiment of the invention is shown in fig. 6. As clearly shown in FIG. 6, the loops 1-6 only configure the OnOff module to correspond to the actual relay control operation, and do not invoke the Level module, and similarly, the loops 7-12 only configure the Level module to correspond to the actual light adjusting device to control the dimming output, and do not invoke the OnOff module. Therefore, the use of the virtual control loop module can expand the original 6-way configuration scheme to 12 ways, and greatly expands the number of logic loops.
Specifically, the invention solves the defect of hard-living binding of the Onoff module and the Level module, and can obviously reduce the configuration complexity and the use and understanding difficulty in actual use. Such as: dimming controller supporting 6-way OnOff and 6-way Level, if
OnOff_1 module and level_1 module
OnOff_2 module and level_2 module
OnOff_3 module and level_3 module
OnOff_4 module and level_4 module
OnOff_5 module and level_5 module
OnOff_6 module and level_6 module
Binding together greatly limits and wastes the control capabilities of the dimmer controller.
If 3 OnOff modules and 3 Level modules are required for practical use and separate control is required, a typical configuration scheme is:
OnOff_1 module enabled and level_1 module empty
OnOff_2 module enabled and level_2 module empty
OnOff_3 module enabled and level_3 module empty
OnOff_4 module is empty and level_4 module is enabled
OnOff_5 module is empty and level_5 module is enabled
OnOff_6 module is empty and level_6 module is enabled
The logic configuration of the virtual control loop module corresponding to the above configuration scheme is shown in fig. 7, where L represents the on off relay switch module and CH represents the Level dimming output module. Fig. 7 clearly shows a typical design concept, with the OnOff relay switches and Level dimming outputs tied one to one and cured together in one-to-one correspondence. In practical application, when the situation that only 3 Onoff modules and 3 Level modules are needed can be met, other modules are idle, and 50% of waste exists from the design point of view.
By adopting the scheme of the virtual control loop of the invention, only 6 virtual control loops are needed to be virtualized,
wherein the method comprises the steps of
Circuits 1-3 are provided with only OnOff modules
Loops 4-6 are only configured with Level modules
The rest 3 OnOff modules and 3 Level modules can be used independently or cooperatively
Such as
Loop 7 is configured for use by the OnOff_4 module and the level_4 module simultaneously
Loop 8 is configured as an OnOff_5 module
Loop 9 is configured as an OnOff_6 module and a level_5 module
Loop 10 is configured as a level_6 module
......
The use efficiency and the flexibility of configuration of the system are greatly improved.
The OnOff module and the Level module are simultaneously used as sub-modules of the virtual control loop module and are encapsulated in the module by the built-in logic of the virtual control loop module, so that the barriers and risks when the virtual control loop module and the Level module are independently used as 2 independent modules for communication interaction are reduced, and meanwhile, the virtual control loop module and the Level module can be comprehensively managed by a unified internal management scheduling module, so that ideal cooperative linkage work is achieved. When the virtual control loop module is independently configured as an OnOff module or a Level module, the virtual control loop module can be adaptively converted into the independent OnOff module or the Level module to be independently communicated with the outside, so that the flexibility and the self-adaptability are greatly improved. The design thought of the object-oriented thought is utilized, and the design thought can be integrated and expanded by other modules with the same functions without repeated development and design.
Specifically, starting a corresponding virtual control loop module for each configuration scheme respectively, including: when the configuration scheme is that the relay is used alone, starting a virtual control loop module only comprising a relay switch virtual unit for the configuration scheme;
When the configuration scheme is that the light adjusting device is singly used, starting a virtual control loop module only comprising a dimming output control unit for the configuration scheme;
when the configuration scheme is that the relay and the light regulating device are used in combination, starting a virtual control loop module which simultaneously comprises a relay switch virtual unit and a dimming output control unit for the configuration scheme;
when the dimming controller needs to use the relay in combination with the light-adjusting device, there is a binding relationship between the corresponding relay switch virtual unit and the dimming output control unit in the virtual control loop module, and this embodiment is about the case of separate configuration, and this case about the configuration in the binding relationship will be described in detail in embodiment two.
Further, when the dimming controller includes a plurality of relays and/or a plurality of light adjusting devices, a plurality of configurations may be determined according to the lighting requirements, including a plurality of configurations using any one device alone and a plurality of configurations using both in combination.
Specifically, an independent virtual control loop can be configured for a device used alone, and a virtual control loop which can be used in combination can be configured for other devices used in combination, wherein each virtual control loop is realized by a virtual control loop module, and the virtual control loop modules are mutually independent.
In the example of step S402, when the dimming controller needs to work in combination with 3 light adjusting devices, the 3 relays and the 3 light adjusting devices work independently, then a virtual control loop can be set for a group that works in combination, and a virtual control loop is set for a group that works independently, so that virtual control loop modules of the two virtual control loops are independent from each other in the dimming controller and do not affect each other. The solution of providing a plurality of virtual control loops is more suitable for a dimming controller comprising a plurality of relays and light adjusting devices, and only the configuration of the virtual control loops in one case is given in this embodiment, however, in other cases, the solution of this embodiment is also suitable.
The established virtual control loop module may then be adjusted according to the specific lighting requirements.
Specifically, if the new configuration scheme is reduced relative to the original configuration scheme, the virtual control loop module corresponding to the reduced part is directly released, if the new configuration scheme is increased relative to the original configuration scheme, the new virtual control loop module is added for the newly added part, and if the new configuration scheme is subjected to scheme adjustment relative to the original configuration scheme, the connection relation between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
If the modified lighting scheme only needs to work with 5 relays and 5 light adjusting devices, the additional OnOff_6 modules and level_6 modules can be disconnected from the corresponding actual hardware, so as to achieve the dimming output effect of the modified lighting scheme.
If the changed lighting scheme is provided with a plurality of relays and light adjusting devices which work in a combined way, a group of OnOff_7 modules and level_7 modules respectively correspond to the actual relays and the actual light adjusting devices in the existing virtual control loop, so that the dimming output effect of the changed lighting scheme is achieved.
In addition, when any virtual control loop module finishes the use, the relay switch virtual unit and the dimming output control unit in the virtual control loop module can be disconnected with corresponding hardware respectively for the next configuration.
Example two
In order to more clearly understand the dimming output method of the dimming controller provided in the above preferred embodiment, the dimming output method of the dimming controller provided in the present invention will be described in another embodiment. In this embodiment, a dimming controller supporting 6 relays and 6 light adjusting devices is also selected to be introduced as a dimming output method of the dimming controller. The flow chart of the method is shown in fig. 4, and the virtual control loop module is configured according to the actual lighting requirement, specifically:
Loop 1 configuration OnOff_1 Module
Loop 2 configures OnOff_2 module and level_2 module
Loop 3 configuration level_3 module
Loop 4 configures OnOff_4 module and level_4 module
Loop 5 configures OnOff_5 module and level_5 module
Loop 6 configures OnOff_6 module and level_6 module
Loop 7 configuration level_1 module
Loop 8 configuration OnOff_3 Module
The logic configuration diagram of the virtual control loop module corresponding to the configuration scheme provided by the embodiment of the invention is shown in fig. 8. Fig. 8 clearly shows that loop 1 configures the onoff_1 module, loop 2 configures the onoff_2 module and the level_2 module, loop 3 configures the level_3 module, loop 4 configures the onoff_4 module and the level_4 module, loop 5 configures the onoff_5 module and the level_5 module, loop 6 configures the onoff_6 module and the level_6 module, loop 7 configures the level_1 module, loop 8 configures the onoff_3 module, the configured OnOff module and the Level module respectively correspond to actual hardware, a relay switch and a dimming output are controlled, and a configuration scheme is freely arranged according to actual conditions, so that the problems of weak capacity expansion capability and low efficiency utilization rate of an original dimming controller are solved.
In step S406, a corresponding virtual control loop module is started for each configuration scheme, and specifically, when the configuration scheme is that the relay and the light adjusting device are used in combination, a binding action relationship exists between the relay switch virtual unit and the dimming output control unit.
Following the example of step S406, for loop 2 in which the onoff_2 module and the level_2 module are simultaneously configured, when the onoff_2 module controls the relay to be turned on or off, the corresponding level_2 module controls its corresponding light adjustment device to adjust the light source intensity to a predetermined intensity. Similarly, when the level_2 module controls its corresponding light-adjusting device to adjust the light source to a predetermined intensity, the OnOff_2 module controls the relay to be automatically turned on or off. The binding relation greatly improves the safety in actual operation, and is very convenient because of automatic control.
Further, when the dimming controller includes a plurality of relays and/or a plurality of light adjusting devices, the virtual control loop module may be configured for an actual virtual control loop according to actual lighting requirements. In particular, an independent virtual control loop may be provided for a group of relays or light-modulating devices used alone, and a corresponding virtual control loop may be provided for a group of other relay and light-modulating devices used in combination, each virtual control loop module being independent of the other.
In the example of step S902, a virtual control loop may be designed for the loops 2, 4, 5, and 6 that work in combination, and a virtual control loop may be designed for the loops 1, 3, 7, and 8 that work independently, where the virtual control loop modules corresponding to the two virtual control loops are independent of each other and do not affect each other.
The established virtual control loop module may then be adjusted according to the actual lighting requirements.
Specifically, if the new configuration scheme is reduced relative to the original configuration scheme, the virtual control loop module corresponding to the reduced part is directly released, if the new configuration scheme is increased relative to the original configuration scheme, the new virtual control loop module is added for the newly added part, and if the new configuration scheme is subjected to scheme adjustment relative to the original configuration scheme, the connection relation between the existing virtual control loop module and hardware is changed according to the adjustment scheme.
If the control action of the actual relay corresponding to the on off_3 module configured by the loop 8 is not needed in the modified lighting scheme, the on off_3 module may be disconnected from the corresponding actual relay, so as to achieve the dimming output effect of the modified lighting scheme.
If the changed lighting scheme is provided with a plurality of relays and light adjusting devices which work in a combined way, a group of OnOff_7 modules and level_7 modules can be added in the existing virtual control loop modules to correspond to the actual relays and light adjusting devices.
If the changed lighting scheme needs to be used by combining one relay with the other light regulating device, the original corresponding OnOff_2 module and the level_2 module can be disconnected in the existing virtual control loop module, the OnOff_2 module and the level_3 module are combined into one path, actual hardware is controlled, and the dimming output effect of the changed lighting scheme is achieved.
When any virtual control loop module finishes the use, the relay switch virtual unit and the dimming output control unit in the virtual control loop module can be disconnected with corresponding hardware respectively for the next configuration.
Example III
The embodiment provides a more free configuration mode, and the embodiment also selects the dimming controller supporting the 6-path relay and the 6-path light adjusting device as the dimming output method of the dimming controller for introduction. The flow chart of the method is shown in fig. 4, and the virtual control loop module is configured according to the actual lighting requirement, specifically:
loop 1 configures OnOff_1 module and level_6 module
Loop 2 configures OnOff_2 module and level_5 module
Loop 3 configuration OnOff_3 Module
Loop 4 configuration OnOff_4 Module
Loop 5 configures OnOff_5 module and level_1 module
Loop 6 configuration level_2 module
Loop 7 configuration level_3 module
Loop 8 configuration level_4 module
The logic configuration diagram of the virtual control loop module corresponding to the configuration scheme provided by the embodiment of the invention is shown in fig. 9. Fig. 9 explicitly shows: loop 1 configures the OnOff_1 and level_6 modules, loop 2 configures the OnOff_2 and level_5 modules, loop 3 configures the OnOff_3 module, loop 4 configures the OnOff_4 module, loop 5 configures the Off_5 and level_1 modules, loop 6 configures the level_2 module, loop 7 configures the level_3 module, and loop 8 configures the level_4 module. The configured OnOff module and the Level module respectively correspond to actual hardware and control a relay switch and dimming output. For this more flexible configuration, this embodiment is merely an example, and accordingly, many configurations will not be described in detail herein.
Following the example of step S406, for Loop 1, where the OnOff_1 and level_6 modules are configured simultaneously, when the OnOff_1 module controls the relay to open or close, the corresponding level_6 module controls its corresponding light adjustment device to adjust the light source intensity to a predetermined intensity. Similarly, when the level_6 module controls its corresponding light adjusting device to adjust the intensity of the light source to a predetermined intensity, the onoff_1 module controls the relay to be automatically turned on or off. The binding relation greatly improves the safety in actual operation, and is very convenient because of automatic control.
Further, when a plurality of relays and/or a plurality of light adjusting devices are included in the dimming controller, a virtual control loop module may be provided for an actual virtual control loop according to lighting requirements.
In particular, an independent virtual control loop can be provided for a group of the relays or the light-adjusting devices used alone, and a corresponding virtual control loop can be provided for a group of the relays and the light-adjusting devices used in other combinations, and the virtual control loop modules are independent from each other.
In the example of step S402, a virtual control loop may be designed for the combined circuits 1, 2, 5, and a virtual control loop may be designed for the independent circuits 3, 4, 6, 7, 8, where the two virtual control loop modules are independent of each other and do not affect each other.
The established virtual control loop module may then be adjusted according to the actual lighting requirements.
Specifically, if the new configuration scheme is reduced relative to the original configuration scheme, the virtual control loop module corresponding to the reduced part is directly released, if the new configuration scheme is increased relative to the original configuration scheme, the new virtual control loop module is added for the newly added part, and if the new configuration scheme is subjected to scheme adjustment relative to the original configuration scheme, the connection relation between the existing virtual control loop module and hardware is changed according to the adjustment scheme.
If the modified lighting scheme does not need the level_4 module configured by the loop 8 to work, the level_4 module may be disconnected from the actual light-adjusting device, so as to achieve the dimming output effect of the modified lighting scheme.
If the changed lighting scheme is provided with a plurality of relays and light adjusting devices which work in a combined way, a loop 9 can be added in the existing virtual control loop module, wherein the OnOff_7 module and the level_7 module respectively correspond to the actual relays and the light adjusting devices, and the dimming output effect of the changed lighting scheme is achieved.
If the changed lighting scheme needs to recombine one relay with the other light regulating device, the original corresponding OnOff_2 module and the level_5 module can be disconnected in the existing virtual control loop module, the OnOff_2 module and the level_4 module are combined into one path, actual hardware is controlled, and the dimming output effect of the changed lighting scheme is achieved.
When any virtual control loop is used, the virtual control loop can be disconnected with corresponding actual hardware for the next use.
The design also indicates that different multipath controllers such as an 8-path controller, a 12-path controller, a 16-path controller, a 32-path controller and the like are designed in the follow-up development, so that the design realizes three-way, three-way and one-way communication, and has great reference significance. Plays a positive role in industrial energy saving and intelligent control, and plays a guiding role in modularized development design during subsequent design and development.
Based on the same inventive concept, the embodiment of the present invention further provides a dimming controller 1000 including at least one relay OnOff controlling a light source switch and at least one light adjusting device Level controlling a dimming output, wherein the dimming controller 1000 controls the switching of the light source through the relay included therein, adjusts the intensity of the light source through the light adjusting device included therein, and the dimming controller has a structure as shown in fig. 10, and includes the virtual control loop module 100 shown in fig. 1, the relay 130 connected to the virtual control loop module 100, the light adjusting device 140, and the determining module 1100.
The virtual control loop module 100 is disposed in the dimming controller 1000, wherein the virtual control loop module 100 includes a relay switch virtual unit 110 corresponding to the relay 130 and/or a dimming output control unit 120 corresponding to the light adjusting device 140.
The determining module 1100 is adapted to determine at least one configuration of the dimmer controller 1000 regarding a matching relationship between the relay and the light-adjusting device according to the lighting requirements.
Wherein the virtual control loop module 100 is further adapted to activate a corresponding virtual control loop module for each configuration separately as follows: the virtual control loop module in the configuration scheme selects a relay corresponding to the virtual unit of the relay switch, controls the selected relay through the virtual unit of the relay switch, selects a light adjusting device corresponding to the virtual control loop module of the configuration scheme for the light adjusting output control unit, and controls the selected light adjusting device through the light adjusting output control unit so as to control the output of the light source.
Preferably, the above-described virtual control loop module 100 is further adapted to activate the virtual control loop module 100 including only the relay switch virtual unit 110 for a configuration scheme when the configuration scheme is to use the relay 130 alone.
When the configuration scheme is to use the light adjusting device 140 alone, the virtual control loop module 100 including only the dimming output control unit 120 is activated for the configuration scheme.
When the configuration scheme is used in combination of the relay 130 and the light adjustment device 140, the virtual control loop module 100 including both the relay switch virtual unit 110 and the dimming output control unit 120 is started for the configuration scheme.
Preferably, the binding action relationship between the relay switch virtual unit 110 and the dimming output control unit 120 further includes: when the relay switch virtual unit 110 controls the relay 130 to be turned on or off, the dimming output control unit 120 controls the corresponding light adjusting device 140 to adjust the light source intensity to a predetermined intensity; or alternatively
When the dimming output control unit 120 controls the corresponding light adjusting device 140 to adjust the intensity of the light source to a predetermined intensity, the relay switch virtual unit 110 controls the relay 130 to be automatically turned on or off.
Preferably, when the dimming controller 1000 includes a plurality of relays and/or a plurality of light adjusting devices, if a configuration scheme of a plurality of devices used singly or in combination is determined according to the lighting requirement, the dimming controller 1000 further includes: configuring a separate virtual control loop module 100 for each individual device; and configuring a combinable virtual control loop module 100 for other combinable devices; the virtual control loop modules 100 are independent of each other.
Preferably, when the lighting demand is adjusted, the dimming controller 1000 further includes: a new configuration scheme is determined according to the adjusted lighting requirements, and further, the established virtual control loop module 100 is adjusted according to the new configuration scheme.
Preferably, the above-mentioned dimming controller further comprises: if the new configuration scheme is reduced relative to the original configuration scheme, directly releasing the virtual control loop module 100 corresponding to the reduced part; if the new configuration scheme is added relative to the original configuration scheme, adding a new virtual control loop module 100 to the newly added part; if the new configuration scheme is a scheme adjustment with respect to the original configuration scheme, the connection relationship between the existing virtual control loop module 100 and the hardware device is changed according to the adjustment scheme.
In summary, the dimming output method of the dimming controller and the dimming controller provided by the embodiment of the invention can achieve the following beneficial effects:
in the embodiment of the invention, a virtual control loop module can be arranged for the dimming controller, a relay and a light regulating device of hardware are software and objectified, a relay switch virtual unit in the virtual control loop module is used for controlling relay hardware, and a dimming output control unit in the virtual control loop module is used for controlling a light regulating part. Therefore, the matching relation between the relay and the light adjusting device in the dimming controller can be flexibly determined according to actual lighting requirements, the risk and complexity of communication interaction between the relay and the light adjusting device as independent modules are solved, the problems of low utilization rate and weak capacity expansion caused by hard growth binding of the relay and the light adjusting device are solved, and the configuration complexity, the use difficulty and the understanding difficulty in actual use can be remarkably reduced.
In practical applications, the virtual control loop module may be implemented by a control logic unit component, which itself self-activates command signals according to logic configuration. Specifically, the control logic unit component integrated into the virtual control loop module can passively excite logic signals according to timing logic, scene instructions, sequence instructions and the like. Of course, the virtual control loop module may also receive a control panel call in the network to passively output the control signal. If the control panel is adopted to passively output the control signal, the passive calling mode can be a mechanical switch or a network control mode such as Bluetooth, wifi and the like which can give a command.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in a question-and-answer page related question recommending apparatus according to an embodiment of the invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
By now it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been shown and described herein in detail, many other variations or modifications of the invention consistent with the principles of the invention may be directly ascertained or inferred from the present disclosure without departing from the spirit and scope of the invention. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

Claims (16)

1. A dimming output method of a dimming controller comprising at least one relay OnOff controlling a switching of a light source and at least one light adjusting device Level controlling a dimming output, the dimming controller controlling the switching of the light source through the relay comprised therein, the intensity of the light source being adjusted through the light adjusting device comprised therein, the method comprising:
setting a virtual control loop module for the dimming controller, wherein the virtual control loop module comprises a relay switch virtual unit corresponding to a relay and/or a dimming output control unit corresponding to a light adjusting device;
determining at least one configuration scheme in the dimming controller regarding a matching relationship between the relay and the light-adjusting device according to a lighting requirement;
The corresponding virtual control loop module is started for each configuration scheme respectively in the following manner: selecting a relay corresponding to the relay switch virtual unit in the virtual control loop module of the configuration scheme, controlling the selected relay through the relay switch virtual unit, selecting a light adjusting device corresponding to the light adjusting output control unit in the virtual control loop module of the configuration scheme, and controlling the selected light adjusting device through the light adjusting output control unit so as to control the output of the light source; wherein the method comprises the steps of
The corresponding virtual control loop module is started for each configuration scheme in the following manner, and the virtual control loop module comprises:
when the configuration scheme is that the relay is singly used, starting a virtual control loop module only comprising a relay switch virtual unit for the configuration scheme;
when the configuration scheme is that the light adjusting device is singly used, starting a virtual control loop module only comprising a dimming output control unit for the configuration scheme;
when the configuration scheme is that the relay and the light regulating device are used in combination, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a dimming output control unit is started for the configuration scheme.
2. The method of claim 1, wherein the configuration scheme is that when the relay and the light adjusting device are used in combination, a binding action relationship exists between the relay switch virtual unit and the dimming output control unit.
3. The method of claim 2, wherein the binding action relationship between the relay switch virtual unit and the dimming output control unit comprises:
when the relay switch virtual unit controls the relay to be turned on or off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to a preset intensity; or alternatively
And when the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity, the relay switch virtual unit controls the relay to be automatically opened or closed.
4. The method of claim 1, wherein when the dimming controller includes a plurality of relays and/or a plurality of light adjusting devices, if a plurality of configurations using either device alone and a plurality of configurations using both in combination are determined according to the lighting requirement, the method further comprises:
configuring an independent virtual control loop module for each individual device; and
Configuring combinable virtual control loop modules for other combinable devices;
the virtual control loop modules are mutually independent.
5. The method according to any one of claims 1-4, wherein when any one of the virtual control loop modules is used this time, the relay switch virtual unit and the dimming output control unit are disconnected from their corresponding hardware respectively for use in the next configuration.
6. The method of any one of claims 1-4, wherein when the lighting demand is adjusted, the method further comprises:
determining a new configuration scheme according to the adjusted lighting requirements;
further, the established virtual control loop module is adjusted according to the new configuration scheme.
7. The method of claim 6, wherein said adjusting the established virtual control loop module according to the new configuration scheme comprises:
if the new configuration scheme is reduced relative to the original configuration scheme, directly releasing the virtual control loop module corresponding to the reduced part;
if the new configuration scheme is increased relative to the original configuration scheme, a new virtual control loop module is added for the newly added part;
If the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relation between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
8. A dimming controller comprising at least one relay OnOff controlling the switching of a light source and at least one light adjusting device Level controlling the dimming output, said dimming controller controlling the switching of the light source through its contained relay, the intensity of the light source being adjusted through its contained light adjusting device, characterized in that said dimming controller further comprises:
the virtual control loop module is arranged on the dimming controller, wherein the virtual control loop module comprises a relay switch virtual unit corresponding to the relay and/or a dimming output control unit corresponding to the light adjusting device;
a determining module adapted to determine at least one configuration scheme in the dimmer controller regarding a matching relationship between the relay and the light-adjusting device according to a lighting requirement;
the virtual control loop module is further adapted to start the corresponding virtual control loop module for each configuration scheme, respectively, as follows: selecting a relay corresponding to the relay switch virtual unit in the virtual control loop module of the configuration scheme, controlling the selected relay through the relay switch virtual unit, selecting a light adjusting device corresponding to the light adjusting output control unit in the virtual control loop module of the configuration scheme, and controlling the selected light adjusting device through the light adjusting output control unit so as to control the output of the light source; wherein the method comprises the steps of
The virtual control loop module is further adapted to:
when the configuration scheme is that the relay is singly used, starting a virtual control loop module only comprising a relay switch virtual unit for the configuration scheme;
when the configuration scheme is that the light adjusting device is singly used, starting a virtual control loop module only comprising a dimming output control unit for the configuration scheme;
when the configuration scheme is that the relay and the light regulating device are used in combination, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a dimming output control unit is started for the configuration scheme.
9. A dimming controller as claimed in claim 8, wherein the configuration scheme is such that there is a binding action relationship between the relay switch virtual unit and the dimming output control unit when the relay and the light adjusting device are used in combination.
10. The dimmer controller as claimed in claim 8, wherein the binding action relationship between the relay switch virtual unit and the dimmer output control unit comprises:
when the relay switch virtual unit controls the relay to be turned on or off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to a preset intensity; or alternatively
And when the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity, the relay switch virtual unit controls the relay to be automatically opened or closed.
11. The dimming controller as recited in claim 8, wherein when the dimming controller comprises a plurality of relays and/or a plurality of light adjusting devices, if a plurality of configurations using either device alone or a plurality of configurations using both in combination are determined according to the lighting requirement,
the dimming controller further includes: configuring an independent virtual control loop module for each individual device; and configuring combinable virtual control loop modules for other combinable devices; the virtual control loop modules are mutually independent.
12. The dimming controller of any one of claims 8-11, wherein when any one of the virtual control loop modules is finished, the relay switch virtual unit and the dimming output control unit are disconnected from their corresponding hardware respectively for use in the next configuration.
13. A dimming controller as recited in any one of claims 8-11, wherein when the lighting demand is adjusted, the dimming controller further comprises:
And determining a new configuration scheme according to the adjusted lighting requirement, and further adjusting the established virtual control loop module according to the new configuration scheme.
14. The dimmer controller as claimed in claim 13, further comprising:
if the new configuration scheme is reduced relative to the original configuration scheme, directly releasing the virtual control loop module corresponding to the reduced part;
if the new configuration scheme is increased relative to the original configuration scheme, a new virtual control loop module is added for the newly added part;
if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relation between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
15. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that when executed cause the processor to perform a dimming output method of a dimming controller according to any of claims 1-7.
16. A computer readable storage medium storing one or more programs, which when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the dimming output method of a dimming controller according to any of claims 1-7.
CN201711139760.0A 2017-11-16 2017-11-16 Dimming output method of dimming controller and dimming controller Active CN107911923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711139760.0A CN107911923B (en) 2017-11-16 2017-11-16 Dimming output method of dimming controller and dimming controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711139760.0A CN107911923B (en) 2017-11-16 2017-11-16 Dimming output method of dimming controller and dimming controller

Publications (2)

Publication Number Publication Date
CN107911923A CN107911923A (en) 2018-04-13
CN107911923B true CN107911923B (en) 2023-04-21

Family

ID=61845794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711139760.0A Active CN107911923B (en) 2017-11-16 2017-11-16 Dimming output method of dimming controller and dimming controller

Country Status (1)

Country Link
CN (1) CN107911923B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3151102A1 (en) * 2015-09-30 2017-04-05 Niko NV System and method for controlling a function of an apparatus

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8362713B2 (en) * 2006-03-28 2013-01-29 Wireless Environment, Llc Wireless lighting devices and grid-shifting applications
TW201201626A (en) * 2010-06-25 2012-01-01 Hon Hai Prec Ind Co Ltd Light emitting diode controlling system and method
CN201893969U (en) * 2010-11-15 2011-07-06 深圳茂硕电源科技股份有限公司 Virtual load circuit of silicon controlled dimming circuit used for LED indoor illumination
US8760217B2 (en) * 2011-02-25 2014-06-24 Qualcomm Incorporated Semiconductor device having on-chip voltage regulator
US20140062340A1 (en) * 2012-08-31 2014-03-06 Ahmed Elgayyar Electrical Switch Device with Automatic Control
CN103889097B (en) * 2012-12-21 2017-07-04 施耐德电气(澳大利亚)有限公司 A kind of dimming controlling method, device and light adjusting system
CN103312424B (en) * 2013-07-02 2014-12-10 山东科技大学 Control method and system for multiple switches in automatic testing system
CN103529710B (en) * 2013-10-15 2016-08-10 广东电网公司电力调度控制中心 Power system prepared auto restart model implementation method and system thereof
KR102239083B1 (en) * 2014-09-15 2021-04-09 매그나칩 반도체 유한회사 Circuit and method of driving light apparatus
CN105654821A (en) * 2014-11-24 2016-06-08 北京北研兴电力仪表有限责任公司 Fault simulation apparatus for electrical control system of transformer equipment
AU2014268272A1 (en) * 2014-11-28 2016-06-16 LSC Lighting Systems (Aust) Pty. Ltd. Circuitry for LED light dimmer
CN204392647U (en) * 2015-01-27 2015-06-10 陈奎发 The LED intelligent lamp that a kind of gesture controls
CN104735875A (en) * 2015-03-24 2015-06-24 上海大学 LED illumination real-time simulation control system and simulation control method thereof
CN104883797B (en) * 2015-06-11 2018-04-27 中国地质大学(武汉) A kind of extensive LED array dimming controlling method and dimming control system
CN107277988A (en) * 2017-05-25 2017-10-20 程家宝 Control system and method that switch degree is adjusted are carried out by Voice command illuminating lamp

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3151102A1 (en) * 2015-09-30 2017-04-05 Niko NV System and method for controlling a function of an apparatus

Also Published As

Publication number Publication date
CN107911923A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN105632414B (en) Method for controlling backlight thereof, device and equipment in a kind of terminal device start process
US7781919B2 (en) Method of controlling a load control module as part of a startup sequence
CN103825655A (en) Positioning system and method of lighting device
CN105430816A (en) Light-emitting control device, light-emitting system using light-emitting control device, and control method of light-emitting system
CN204513163U (en) A kind of LED intelligence lamp affixed to the ceiling using wireless (bluetooth) control technology
CN107911923B (en) Dimming output method of dimming controller and dimming controller
CN202014402U (en) Light-emitting diode light adjusting device, lamp and light adjusting system
CN204707315U (en) Brightness controlled parlor lamp
CN101466181A (en) Method and control system for altering lamp luminous color
CN103745693A (en) Driving circuit of LED backlight and driving method thereof
CN107889320B (en) Lighting system, single-live-wire power taking device and control method thereof
CN108200681A (en) Intelligent lighting controls method, equipment and system
US7081835B2 (en) Control device for the actuation of lamps
CN105356762A (en) Bilateral switch switch-over single-phase and three-phase power supply and communication device and control method thereof
CN202435678U (en) Adjusting circuit for LED light source
CN202931640U (en) Drive circuit and drive system for keyboard lamp of mobile terminal
CN103002622B (en) Method, device and system for controlling light source
CN202261954U (en) Multi-protocol power switch control system
CN205029949U (en) Switch switches formula alternating current circuit adjusts luminance system for LED power
CN206323630U (en) A kind of light-control knob switch
CN109640485A (en) Intelligent illuminating system and control method
CN206596262U (en) A kind of Zooming light modulation circuit
CN101751862A (en) Device for controlling luminance of backlight source and control method thereof
CN204442790U (en) A kind of lighting device and driver module thereof
CN109392222A (en) Lighting device

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