CN107911923A - The light modulation output method and light adjusting controller of light adjusting controller - Google Patents

The light modulation output method and light adjusting controller of light adjusting controller Download PDF

Info

Publication number
CN107911923A
CN107911923A CN201711139760.0A CN201711139760A CN107911923A CN 107911923 A CN107911923 A CN 107911923A CN 201711139760 A CN201711139760 A CN 201711139760A CN 107911923 A CN107911923 A CN 107911923A
Authority
CN
China
Prior art keywords
relay
virtual
control loop
module
light adjusting
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.)
Granted
Application number
CN201711139760.0A
Other languages
Chinese (zh)
Other versions
CN107911923B (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

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

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention provides the light modulation output method and light adjusting controller of a kind of light adjusting controller, this method includes:For the light adjusting controller, virtual controlling return circuit module is set, wherein, the virtual controlling return circuit module includes relay switch dummy unit corresponding with relay, and/or, light modulation output control unit corresponding with light regulator part;At least one allocation plan in light adjusting controller on the matching relationship between relay and light regulator part is determined according to lighting demand;Corresponding virtual controlling return circuit module is respectively started for each allocation plan as follows:Relay switch dummy unit in the virtual controlling return circuit module of this allocation plan is corresponding with actual relay, implements control operation.And the light modulation output control unit in the virtual controlling return circuit module of this allocation plan is corresponding with actual light regulator part, implements control operation.The utilization rate of light adjusting controller is greatly improved using the present invention.

Description

Dimming output method of dimming controller and dimming controller
Technical Field
The invention relates to the field of lighting control, in particular to a dimming output method of a dimming controller and the dimming controller.
Background
In the field of lighting control, a dimming controller is an electrical device that changes the luminous flux of a light source in a lighting device and adjusts the level of illuminance. The basic principle of the dimming controller is to change the effective value of the current of an 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 on-off of the lighting device by controlling the on-off of the relay, and adjusts the intensity of the light source by controlling the light adjusting device.
At present, a dimming controller is a hardware device for directly controlling a relay and a light adjusting device, the number of the control capability of the dimming controller is limited, and the number of the controllable relays and the controllable light adjusting devices is also limited, so that the capacity expansion capability of the dimming controller is limited, and if a lighting device needs more dimming schemes, a new dimming controller needs to be added, and the waste of resources is caused.
Disclosure of Invention
In view of the above problems, the present invention has been made 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 the embodiments of the present invention, there is provided a method for dimming output of a dimming controller, the dimming controller including at least one relay on off for controlling switching of a light source and at least one light adjusting device Level for controlling dimming output, the dimming controller controlling switching of the light source through the relay included therein and intensity adjustment 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 lighting requirements;
respectively starting the corresponding virtual control loop module for each configuration scheme as follows: the virtual control circuit module of this configuration scheme is the relay switch virtual unit in for the relay switch selection rather than corresponding relay to control the operation through the relay switch virtual unit to the relay of selection, and, select rather than corresponding light adjusting device for adjusting luminance output control unit in the virtual control circuit module of this configuration scheme, and pass through adjust luminance output control unit and carry out control operation to the light adjusting device of selection, in order to control the output of light source.
Optionally, the respectively starting a corresponding virtual control loop module for each configuration scheme according to the following manner includes:
when the configuration scheme is that the relay is used independently, a virtual control loop module only comprising a relay switch virtual unit is started for the configuration scheme;
when the configuration scheme is that the light adjusting device is used independently, a virtual control loop module only comprising a light adjusting output control unit is started for the configuration scheme;
when the configuration scheme is used by combining the relay and the light adjusting device, the virtual control loop module which simultaneously comprises the relay switch virtual unit and the light adjusting output control unit is started for the configuration scheme.
Optionally, 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 light adjusting 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 turned off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity; or
When the light adjusting device corresponding to the light adjusting output control unit is controlled 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 configuration schemes for using any one device individually and a plurality of configuration schemes for using both devices in combination are determined according to lighting requirements, the method further includes:
configuring an independent virtual control loop module for each separately used device; and
configuring a virtual control loop module which can be used in combination for other devices used in combination;
the virtual control loop modules are independent of each other.
Optionally, when the current use of any virtual control loop module is finished, the relay switch virtual unit and the dimming output control unit are respectively disconnected from the corresponding hardware, so as to be configured and used next time.
Optionally, when the lighting requirements are 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 compared with 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 relationship 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 controller, including at least one relay on off for controlling a switch of a light source and at least one light adjusting device Level for controlling a dimming output, where the dimming controller controls the switch of the light source through the relay included therein, and adjusts the intensity of the light source through the light adjusting device included therein, and the dimming controller further includes:
the virtual control loop module is arranged on the dimming controller and comprises a relay switch virtual unit corresponding to the relay and/or a dimming output control unit corresponding to the light adjusting device;
a determination module adapted to determine at least one configuration scheme in the dimming controller regarding a matching relationship between the relay and the light adjusting device according to lighting requirements;
the virtual control loop module is further adapted to respectively start the corresponding virtual control loop module for each configuration scheme as follows: the virtual control circuit module in the configuration scheme selects a relay corresponding to the virtual control circuit module for the relay switch, and performs control operation on the selected relay through the virtual control circuit module for the relay switch, and selects a light adjusting device corresponding to the light adjusting device for the dimming output control unit in the virtual control circuit module in the configuration scheme, and passes through the dimming output control unit performs control operation on the selected light adjusting device 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 used independently, a virtual control loop module only comprising a relay switch virtual unit is started for the configuration scheme;
when the configuration scheme is that the light adjusting device is used independently, a virtual control loop module only comprising a light adjusting output control unit is started for the configuration scheme;
when the configuration scheme is used by combining the relay and the light adjusting device, the virtual control loop module which simultaneously comprises the relay switch virtual unit and the light adjusting output control unit is started for the configuration scheme.
Optionally, 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 light adjusting 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 turned off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity; or
When the light adjusting device corresponding to the light adjusting output control unit is controlled 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 comprises a plurality of relays and/or a plurality of light adjusting devices, if a plurality of configurations for using any one device individually and a plurality of configurations for using both devices in combination are determined according to the lighting requirement,
the dimming controller further comprises: configuring an independent virtual control loop module for each separately used device; configuring a virtual control loop module which can be used in combination for other devices used in combination; the virtual control loop modules are independent of each other.
Optionally, when the current use of any virtual control loop module is finished, the relay switch virtual unit and the dimming output control unit are respectively disconnected from the corresponding hardware, so as to be configured and used next time.
Optionally, when the lighting requirement 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 comprises:
if the new configuration scheme is reduced compared with 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 relationship 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 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 of any one of the above.
According to another aspect of the present invention, the present invention also 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 execute any one of the dimming output methods of the dimming controller described above.
In the embodiment of the present invention, a virtual control loop module can be provided for the dimming controller, the relay and the light adjusting device of the hardware are software-based and object-based, the relay switch virtual unit in the virtual control loop module is used for controlling the relay hardware, and the dimming control unit in the virtual control loop module is used for controlling the light adjusting part. Therefore, the matching relation between the relay and the light adjusting device in the light adjusting controller can be flexibly adjusted according to actual lighting requirements, the problem of communication interaction caused by the fact that the relay and the light adjusting device work as independent modules is solved, and the problems of low utilization rate and poor capacity expansion capability caused by the fact that the relay and the light adjusting device are firmly and naturally bound together are also solved. And because of the setting of the virtual control loop module, the relay and the light adjusting device matched with the virtual control loop module can be selected in a configurable way, 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 technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken 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 refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a schematic diagram of a virtual control loop module according to one embodiment of the present invention;
FIG. 2 illustrates a design concept architecture diagram of a virtual control loop module, according to one embodiment of the present invention;
FIG. 3 illustrates a code implementation relationship class diagram for a virtual control loop module, according to one embodiment of the invention;
fig. 4 is a process flow diagram illustrating a dimming output method of the dimming controller in accordance with a preferred embodiment of the present invention;
FIG. 5 illustrates a meaning-partitioning representation of a sub-attribute module configuration in a virtual control loop module, according to one embodiment of the invention;
FIG. 6 is a schematic diagram illustrating a logic configuration of a virtual control loop according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating another exemplary virtual control loop logic configuration according to one embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating a second embodiment of a virtual control loop logic configuration;
FIG. 9 is a schematic diagram of a third embodiment of a virtual control loop logic configuration;
fig. 10 shows a schematic diagram 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. taking an Object Oriented Analysis (OOA)
2. Object Oriented Design (OOD, Object Oriented Design)
3. Object Oriented Programming (OOP)
Wherein,
1. object-oriented analysis decomposes the system according to problem domains that are abstract-critical.
2. Object-oriented design is an object-oriented implementation that provides a symbolic design system that constructs the system as a "real-world" object in a way that closely approximates real-world terminology.
3. Object-oriented programming can be viewed as the idea of including various objects in a program that are independent and call each other, just as opposed to the traditional idea: traditional programming advocates that a program is considered as a collection of functions, or directly as a series of instructions to a computer. Each object in object-oriented programming should be able to accept, process, and communicate data to other objects, and thus, they can be viewed as a small "machine," i.e., an object.
The embodiment of the invention provides a software design and implementation scheme of a universal virtual control loop by taking an object-oriented OO thought as a starting point. The technical scheme can solve the practical problems of tedious single logic control and complex multi-logic control. The invention is characterized in that a control model of a logic control unit which can simultaneously have the functions of a relay switch control module and a voltage/current output control module is virtualized, and the model is used for solving the practical problems of multiple complexity, low efficiency utilization rate and low capacity expansion of a control loop in the current lighting control in a universalization and intelligentization manner.
Based on the technical concept of object-oriented programming, a preferred embodiment of the present invention provides a dimming output method of a dimming controller. In the embodiment of the present invention, each object (relay, light adjusting device, etc.) in the dimming controller is regarded as an independent body, and a virtual control loop is set for the body applied to the function according to different functions. FIG. 1 shows a schematic diagram of a virtual control loop module according to an embodiment of the invention. Referring to fig. 1, the virtual control loop module 100 includes 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. In fig. 1, the relay switch dummy unit 110 is connected to the relay 130, and the dimming output control unit 120 is connected to the light adjusting device 140.
Fig. 2 shows a design concept architecture diagram of a virtual control loop module corresponding to fig. 1, wherein an OnOff module corresponds to the relay switch virtual unit in 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. Fig. 2 is a schematic structural diagram of fig. 1, which can clearly express the design concept of the virtual control loop. Fig. 3 shows a virtual code implementation class diagram of a virtual control loop module corresponding to fig. 1.
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, 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 light source switch through the relay contained in the dimming controller and adjusts the light source intensity through the light adjusting device contained in the dimming controller. Referring to fig. 4, the method at least includes steps S402 to S406:
and S402, setting a virtual control loop module for 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.
Step S404, determining at least one configuration scheme of the dimming controller with respect to matching between the relay and the light adjusting device according to the lighting requirements.
Step S406, respectively starting a corresponding virtual control loop module for each configuration scheme as follows: specifically, a relay corresponding to the virtual relay switch unit is selected in the virtual control loop module of the present configuration scheme, and the selected relay is controlled and operated by the virtual relay switch unit, and a light adjusting device corresponding to the dimming output control unit is selected in the virtual control loop module of the present configuration scheme, and the selected light adjusting device is controlled and operated by the dimming output control unit, so as to control the output of the light source.
In the embodiment of the invention, a virtual control loop module can be arranged for the dimming controller, a relay and an optical adjusting device of hardware are realized in a software mode, an actual relay is controlled by a relay switch virtual unit in the virtual control loop module, and the actual optical adjusting device is controlled by a dimming output control unit in the virtual control loop module, so that the matching relation between the relay and the optical adjusting device in the dimming controller can be flexibly adjusted according to the actual lighting requirement, the communication interaction problem caused by the fact that the relay and the optical adjusting device work as independent modules is solved, the problems of low utilization rate and poor capacity expansion capability caused by the fact that the relay and the optical adjusting device are bound together in a hard mode are solved, and the configuration complexity, the use difficulty and the understanding difficulty in actual use can be obviously reduced.
In practical applications, the virtual control loop module may be implemented by a control logic unit component, which itself activates the command signal according to the logic configuration. Specifically, the control logic unit components 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 a control signal. If a control panel is adopted to passively output a control signal, the passive calling mode can be a mechanical switch, and can also be a network control mode which can issue commands, such as Bluetooth, wifi and the like.
In order to implement the dimming output method of the dimming controller provided in the embodiments of the present invention, an independent control body may be provided, and the related processor mentioned later is a specialization of the control body, and the specific application is limited by the actual situation, which is not described herein again.
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, because there is the virtual control loop module, a variety of combinations of relays and light adjusting devices can be changed according to the actual lighting requirements, so that the efficiency of dimming output is greatly improved.
Step S404 in fig. 4 indicates that at least one configuration of the relay and the light adjusting device in the dimming controller according to the lighting requirement may be determined by the embodiment of the present invention. Specifically, the configuration scheme includes at least three types:
when the relay is used independently, a virtual control loop module only comprising a relay switch virtual unit is started for the configuration scheme;
the second configuration scheme is that when the light adjusting device is used independently, a virtual control loop module only comprising a light adjusting output control unit is started for the configuration scheme;
when the third configuration scheme is combined and used by the relay and the light adjusting device, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a light adjusting output control unit is started for the configuration scheme.
FIG. 5 illustrates a meaning-partitioning representation intent of a sub-attribute module configuration representation in a virtual control loop, according to one embodiment of the invention. Referring to fig. 5, configuration 1 corresponds to the first configuration, and has only the on off switching function of the relay, configuration 2 corresponds to the second configuration, and has only the level dimming function, configuration 3 corresponds to the third configuration, and has both the on off switching function and the level dimming function, and configuration 4 is another configuration, i.e., an invalid virtual control loop, and has no function.
When containing a plurality of relays and/or a plurality of light adjusting device in the dimming controller, can determine many virtual control circuit through setting up virtual control circuit module according to actual lighting needs, if there are a plurality of relays to work alone, then can configure virtual control circuit into only relay switch virtual unit, if there are a plurality of relays and light adjusting device to need the combined work, then can configure virtual control circuit into a plurality of relay switch virtual units and dimming output control unit one-to-one, control actual relay and light adjusting device, exist alone between the virtual control circuit that each virtual control circuit corresponds, each other does not influence.
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 light adjusting 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 adjusting device to adjust the power supply intensity to a preset intensity; or
When the dimming output control unit controls the light adjusting device to adjust the light source to the preset intensity, the corresponding relay switch virtual unit controls the automatic opening or closing of the relay.
The binding relation between the relay switch virtual unit and the dimming output control unit can enable the relay and the light adjusting unit connected with the same virtual control loop module to be regarded as the same operation unit, the problem of the flash frequency phenomenon possibly occurring when the brightness of certain lamps is lower than a certain specific value in actual use is solved, meanwhile, the risk and the complexity of communication interaction of the relay switch virtual unit and the dimming output control unit as independent modules are reduced, and the OO development design concept is met.
In addition, the relay switch virtual unit and the dimming output control unit can be used in a combined mode, and the problems that in the prior art, due to the fact that the relay and the light adjusting unit are in one-to-one correspondence, the complexity of combined use is low, combination is few and the like are further solved.
When the lighting requirement is adjusted, the established new virtual control loop module can be adjusted according to the lighting requirement. Specifically, if the new configuration scheme is reduced compared with the original configuration scheme, 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 relationship 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 can be respectively disconnected with the corresponding hardware for the next configuration and use.
Example one
For better understanding of the above description of the dimming output method of the dimming controller provided in the preferred embodiments, the dimming output method of the dimming controller provided in the present invention will be described in an embodiment. It should be noted that, in this embodiment, a dimming controller supporting 6 relays and 6 optical adjusting devices is selected as a dimming output method of the dimming controller. As shown in fig. 4, the flow chart of the method configures a virtual control loop module according to actual lighting requirements, specifically:
loop 1-6 is only provided with OnOff modules
The loop 7-12 is only provided with Level modules.
Fig. 6 is a schematic diagram of a logic configuration of a virtual control loop module corresponding to the configuration scheme according to an embodiment of the present invention. Fig. 6 clearly shows that the loops 1-6 are only configured with the OnOff module corresponding to the actual relay control operation, and do not call the Level module, and similarly, the loops 7-12 are only configured with the Level module corresponding to the actual light adjusting device to control the dimming output, and do not call the OnOff module. Therefore, the use of the virtual control loop module can expand the original 6-path configuration scheme to 12-path, thereby greatly expanding the number of logic loops.
Specifically, the invention simultaneously solves the defect of binding the OnOff module and the Level module together in a life-long mode, and can obviously reduce the configuration complexity and the difficulty in use and understanding during actual use. Such as: the dimming controller supporting 6-way OnOff and 6-way Level if the dimming controller is to be used
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 capability of the dimmer control.
If 3 OnOff modules and 3 Level modules are needed and separate control is needed in actual use, a typical configuration scheme is:
OnOff _1 module starting and Level _1 module idling
OnOff _2 module enabled, Level _2 module idle
OnOff _3 module enabled, Level _3 module idle
OnOff _4 module null, Level _4 module enable
OnOff _5 module null, Level _5 module enable
OnOff _6 module null, Level _6 module enable
A schematic logical configuration diagram of the virtual control loop module corresponding to the above configuration scheme is shown in fig. 7, where L denotes an OnOff _ relay switch module, and CH denotes a Level _ dimming output module. FIG. 7 clearly shows a typical design concept, in which OnOff relay switches and Level dimming outputs are bound one-to-one and solidified together in a one-to-one correspondence. In practical applications, when only 3 OnOff modules and 3 Level modules are needed to satisfy the situation, other modules are idle, and there is a waste of 50% from the design point of view.
The scheme of adopting the virtual control circuit of the invention only needs to virtualize 6 virtual control circuits,
wherein
Loop 1-3 is only provided with OnOff modules
The loop 4-6 is only provided with Level modules
And the rest 3-way OnOff module and 3-way Level module can still be used independently or cooperatively
Such as
Loop 7 is configured for OnOff _4 and Level _4 modules to be used simultaneously
Loop 8 is configured as an OnOff _5 module
The loop 9 is configured as an OnOff _6 module and a Level _5 module
Loop 10 is configured as Level _6 module
......
The use efficiency of the system and the flexibility of configuration are greatly improved.
And the OnOff module and the Level module are simultaneously used as sub-modules of the virtual control loop module and are encapsulated inside the module by the built-in logic of the virtual control loop module, so that the obstacles and risks during communication interaction independently used as 2 independent modules are reduced, and meanwhile, the OnOff module and the Level module can be coordinated 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 transformed into an independent OnOff module or a Level module to be independently communicated with the outside, so that the flexibility and the self-adaptability are greatly improved. The design idea of the object-oriented idea is utilized, and the module can be integrated and expanded by other modules with the same function without repeated development and design.
Specifically, respectively starting a corresponding virtual control loop module for each configuration scheme includes: when the configuration scheme is that the relay is used independently, 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 used independently, a virtual control loop module only comprising a light adjusting output control unit is started for the configuration scheme;
when the configuration scheme is combined and used by the relay and the light adjusting device, a virtual control loop module which simultaneously comprises a relay switch virtual unit and a light adjusting output control unit is started for the configuration scheme;
when the dimming controller needs the relay to be used 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 the single configuration, and the case of the configuration in the binding relationship will be described in detail in the second embodiment.
Further, when the dimming controller includes a plurality of relays and/or a plurality of light adjusting devices, a plurality of configurations can be determined according to lighting requirements, including a plurality of configurations using either device alone and a plurality of configurations using both devices in combination.
Specifically, independent virtual control loops may be configured for the devices used alone, and virtual control loops may be configured for the devices used in combination for other devices, where each virtual control loop is implemented by a virtual control loop module, and each virtual control loop module is independent of each other.
Following the example of step S402, when the dimming controller needs 3 relays and 3 optical modulators to work in combination, and the 3 relays and the 3 optical modulators work separately, a virtual control loop may be set for one group of combined work, and a virtual control loop may be set for one group of independent work, so that the virtual control loop modules of the two virtual control loops are independent of each other in the dimming controller and do not affect each other. The scheme of setting a plurality of virtual control loops is more suitable for a dimming controller including a plurality of relays and a light adjusting device, and in this embodiment, only the configuration scheme of the virtual control loop is given in one case, but of course, in other cases, the scheme of this embodiment is also applicable.
The established virtual control loop module may then be adjusted according to the specific lighting needs.
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, a new virtual control loop module is added for the newly added part, and if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relationship between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
Following the example of step S406, if the modified lighting scheme only requires the 5-way relay and the 5-way light-adjusting device to work independently, the extra OnOff _6 module and Level _6 module 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 has more than one path of relay and light adjusting device which work in a combined mode, a group of OnOff _7 modules and Level _7 modules which correspond to the actual relay and light adjusting device respectively can be added in the existing virtual control loop, and 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 can be respectively disconnected with the corresponding hardware for the next configuration and use.
Example two
For a clearer understanding of 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. It should be noted that, in this embodiment, a dimming controller supporting a 6-way relay and a 6-way light adjusting device is also selected as the dimming output method of the dimming controller for description. As shown in fig. 4, the flow chart of the method configures a virtual control loop module according to actual lighting requirements, specifically:
loop 1 configuration OnOff _1 Module
Loop 2 is configured with OnOff _2 module and Level _2 module
Loop 3 configuration Level _3 module
The loop 4 is provided with an OnOff _4 module and a Level _4 module
The loop 5 is provided with an OnOff _5 module and a Level _5 module
The loop 6 is provided with an OnOff _6 module and a Level _6 module
Loop 7 configuration Level _1 module
Loop 8 configures OnOff _3 module
Fig. 8 is a schematic diagram of a logic configuration of a virtual control loop module corresponding to the configuration scheme according to an embodiment of the present invention. Fig. 8 clearly shows that the loop 1 is configured with an OnOff _1 module, the loop 2 is configured with an OnOff _2 module and a Level _2 module, the loop 3 is configured with a Level _3 module, the loop 4 is configured with an OnOff _4 module and a Level _4 module, the loop 5 is configured with an OnOff _5 module and a Level _5 module, the loop 6 is configured with an OnOff _6 module and a Level _6 module, the loop 7 is configured with a Level _1 module, and the loop 8 is configured with an OnOff _3 module, the configured OnOff module and the Level module respectively correspond to actual hardware, control a relay switch and a dimming output, and freely arrange a configuration scheme according to an actual situation, thereby solving the problems of weak capacity expansion capability and low efficiency of the original dimming controller.
In step S406, the corresponding virtual control loop module is respectively started for each configuration scheme, specifically, when the configuration scheme is a combined use of the relay and the light adjusting device, 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 configured simultaneously, when the OnOff _2 module controls the relay to be turned on or off, the corresponding Level _2 module controls the corresponding light adjusting device to adjust the light source intensity to a predetermined intensity. Similarly, when the Level _2 module controls the corresponding light adjusting device to adjust the light source to the preset intensity, the OnOff _2 module controls the relay to be automatically switched on or switched off. The binding relationship greatly improves the safety in the 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. Specifically, an independent virtual control loop may be provided for a group in which a relay or a light adjustment device is used alone, and a corresponding virtual control loop may be provided for another group in which a relay and a light adjustment device are used in combination, and the virtual control loop modules are independent of each other.
Following the example of step S902, a virtual control loop may be actually designed for the loops 2, 4, 5, and 6 working in combination, and a virtual control loop may be designed for the loops 1, 3, 7, and 8 working separately, and the virtual control loop modules corresponding to the two virtual control loops are independent from each other and do not affect each other.
The established virtual control loop module may then be adjusted according to the actual lighting needs.
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, a new virtual control loop module is added for the newly added part, and if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relationship between the existing virtual control loop module and the hardware is changed according to the adjustment scheme.
Following the example of step S406, if the modified lighting scheme no longer requires the control function of the actual relay corresponding to the OnOff _3 module configured in the loop 8, the OnOff _3 module and the corresponding actual relay may be disconnected, so as to achieve the dimming output effect of the modified lighting scheme.
If one more relay and light adjusting device is provided in the changed lighting scheme, a group of OnOff _7 module and Level _7 module can be added in the existing virtual control loop module to correspond to the actual relay and light adjusting device.
If the changed lighting scheme needs to recombine one path of relay and another path of light adjusting device for use, the OnOff _2 module and the Level _2 module which originally correspond to each other 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 effect of dimming output 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 can be respectively disconnected with the corresponding hardware for the next configuration and use.
EXAMPLE III
In this embodiment, a more free configuration is provided, and the dimming controller supporting the 6-way relay and the 6-way light adjusting device is also selected as the dimming output method of the dimming controller in this embodiment. As shown in fig. 4, the flow chart of the method configures a virtual control loop module according to actual lighting requirements, specifically:
the loop 1 is provided with an OnOff _1 module and a Level _6 module
Loop 2 is provided with an OnOff _2 module and a Level _5 module
Loop 3 configuration OnOff _3 Module
Loop 4 configuration OnOff _4 module
The loop 5 is provided with an OnOff _5 module and a Level _1 module
Loop 6 configuration Level _2 module
Loop 7 configuration Level _3 module
Loop 8 configuration Level _4 module
Fig. 9 is a schematic diagram of a logic configuration of a virtual control loop module corresponding to an allocation scheme according to an embodiment of the present invention. Fig. 9 explicitly shows: the loop 1 is provided with an OnOff _1 module and a Level _6 module, the loop 2 is provided with an OnOff _2 module and a Level _5 module, the loop 3 is provided with an OnOff _3 module, the loop 4 is provided with an OnOff _4 module, the loop 5 is provided with an OnOff _5 module and a Level _1 module, the loop 6 is provided with a Level _2 module, the loop 7 is provided with a Level _3 module, and the loop 8 is provided with a Level _4 module. The configured OnOff module and the configured Level module respectively correspond to actual hardware and control a relay switch and dimming output. For this more flexible configuration, this embodiment is only an example, and there are many configurations, which will not be described in detail herein.
Following the example of step S406, for loop 1 in which the OnOff _1 module and the Level _6 module are configured simultaneously, when the OnOff _1 module controls the relay to be turned on or off, the corresponding Level _6 module controls the corresponding light adjusting device to adjust the light source intensity to a predetermined intensity. Similarly, when the Level _6 module controls the corresponding light adjusting device to adjust the light source intensity to a preset intensity, the OnOff _1 module controls the relay to be automatically switched on or switched off. The binding relationship greatly improves the safety in the 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 lighting requirements.
Specifically, an independent virtual control loop may be provided for a group in which a relay or a light adjustment device is used alone, and a corresponding virtual control loop may be provided for another group in which a relay and a light adjustment device are used in combination, and the virtual control loop modules are independent of each other.
Following the example of step S402, a virtual control loop may be actually designed for the loops 1, 2, and 5 working in combination, and a virtual control loop may be designed for the loops 3, 4, 6, 7, and 8 working separately, where the two virtual control loop modules are independent and do not affect each other.
The established virtual control loop module may then be adjusted according to the actual lighting needs.
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, a new virtual control loop module is added for the newly added part, and if the new configuration scheme is scheme-adjusted relative to the original configuration scheme, the connection relationship between the existing virtual control loop module and the hardware is changed according to the adjustment scheme.
Following the example of step S406, if the changed lighting scheme does not need the Level _4 module configured in 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 changed lighting scheme.
If one more relay and light adjusting device is provided for the changed lighting scheme, one more loop 9 can be added to the existing virtual control loop module, wherein the OnOff _7 module and the Level _7 module respectively correspond to the actual relay and light adjusting device, so that the light adjusting output effect of the changed lighting scheme is achieved.
If the changed lighting scheme needs to recombine one path of relay with another path of light adjusting device, the OnOff _2 module and the Level _5 module which originally correspond to each other 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 effect of dimming output of the changed lighting scheme is achieved.
When the use of any virtual control loop is finished, the virtual control loop can be disconnected with the corresponding actual hardware for the next use.
The design also indicates that different multi-path controllers such as an 8-path controller, a 12-path controller, a 16-path controller, a 32-path controller and the like are developed and designed subsequently to achieve the purpose of one-to-three and one-to-all communication in design and implementation, and has great reference significance. The method plays a positive role in industrial energy conservation and intelligent control, and also plays an instructive role in subsequent design and modular development design during development.
Based on the same inventive concept, an embodiment of the present invention further provides a dimming controller 1000, which includes at least one relay on off for controlling a light source switch and at least one light adjusting device Level for controlling a dimming output, the dimming controller 1000 controls the light source switch through the relay included therein, and adjusts the intensity of the light source through the light adjusting device included therein, and the structure of the dimming controller is shown in fig. 10, and includes a virtual control loop module 100 shown in fig. 1, a relay 130 connected to the virtual control loop module 100, a light adjusting device 140, and a determination 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 scheme of the dimming 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 start the corresponding virtual control loop module for each configuration scenario respectively as follows: the virtual control loop module in the configuration scheme selects a relay corresponding to the virtual relay switch unit and controls the selected relay through the virtual relay switch unit, and the virtual control loop module in the configuration scheme selects a light adjusting device corresponding to the dimming output control unit and controls the selected light adjusting device through the dimming output control unit so as to control the output of the light source.
Preferably, the 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 the configuration scheme when the configuration scheme is to use the relay 130 alone.
When the configuration 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.
When the configuration scheme is used with the relay 130 and the light adjusting device 140 in combination, the virtual control loop module 100 including both the relay switch virtual unit 110 and the dimming output control unit 120 is activated 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
When the dimming output control unit 120 controls the corresponding light adjusting device 140 to adjust the light source intensity to a predetermined intensity, the relay switch dummy 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 plurality of configurations for using any one device individually and a plurality of configurations for using both devices in combination are determined according to lighting requirements, the dimming controller 1000 further includes: configuring a separate virtual control loop module 100 for each separately used device; and, for other devices used in combination, configuring the virtual control loop module 100 that can be used in combination; the virtual control loop modules 100 are independent of each other.
Preferably, when the lighting requirement is adjusted, the dimming controller 1000 further comprises: a new configuration is determined based on the adjusted lighting requirements, and the established virtual control loop module 100 is further adjusted based on the new configuration.
Preferably, the dimming controller further comprises: if the new configuration scheme is reduced compared with the original configuration scheme, directly releasing the virtual control loop module 100 corresponding to the reduced part; if the new configuration scheme is increased relative to the original configuration scheme, a new virtual control loop module 100 is added 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 present invention, a virtual control loop module can be provided for the dimming controller, the relay and the light adjusting device of the hardware are software-based and object-based, the relay switch virtual unit in the virtual control loop module is used for controlling the relay hardware, and the dimming output control unit in the virtual control loop module is used for controlling the light adjusting part. Therefore, the matching relation between the relay and the light adjusting device in the light adjusting controller can be flexibly determined according to actual lighting requirements, the risk and the complexity of communication interaction of the relay and the light adjusting device as independent modules are solved, the problems of low utilization rate and poor capacity expansion capability caused by the fact that the relay and the light adjusting device are bound together in a hard and life mode are solved, and the configuration complexity and the use and 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 activates the command signal according to the logic configuration. Specifically, the control logic unit components 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 a control signal. If a control panel is adopted to passively output a control signal, the passive calling mode can be a mechanical switch, and can also be a network control mode which can issue commands, such as Bluetooth, wifi and the like.
In the description provided herein, numerous specific details are set forth. It is understood, however, 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 interpreted as reflecting an intention that: that the invention as claimed 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.
The 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. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the question and answer page related question recommendation apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or 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 usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (18)

1. A dimming output method of a dimming controller, the dimming controller comprising at least one relay on off for controlling the switching of a light source and at least one light adjusting device Level for controlling the dimming output, the dimming controller controlling the switching of the light source through the relay it contains and intensity-adjusting the light source through the light adjusting device it contains, 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 lighting requirements;
respectively starting the corresponding virtual control loop module for each configuration scheme as follows: the virtual control circuit module of this configuration scheme is the relay switch virtual unit in for the relay switch selection rather than corresponding relay to control the operation through the relay switch virtual unit to the relay of selection, and, select rather than corresponding light adjusting device for adjusting luminance output control unit in the virtual control circuit module of this configuration scheme, and pass through adjust luminance output control unit and carry out control operation to the light adjusting device of selection, in order to control the output of light source.
2. The method of claim 1, wherein separately activating a corresponding virtual control loop module for each configuration scheme comprises:
when the configuration scheme is that the relay is used independently, a virtual control loop module only comprising a relay switch virtual unit is started for the configuration scheme;
when the configuration scheme is that the light adjusting device is used independently, a virtual control loop module only comprising a light adjusting output control unit is started for the configuration scheme;
when the configuration scheme is used by combining the relay and the light adjusting device, the virtual control loop module which simultaneously comprises the relay switch virtual unit and the light adjusting output control unit is started for the configuration scheme.
3. The method of claim 2, wherein the relay switch virtual unit and the dimming output control unit are bound when the relay and the light adjusting device are combined.
4. The method of claim 3, wherein the binding action relationship between the relay switch dummy unit and the dimming output control unit comprises:
when the relay switch virtual unit controls the relay to be turned on or turned off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity; or
When the light adjusting device corresponding to the light adjusting output control unit is controlled to adjust the light source intensity to the preset intensity, the relay switch virtual unit controls the relay to be automatically opened or closed.
5. The method of claim 2, wherein when the dimming controller comprises a plurality of relays and/or a plurality of light adjusting devices, if a plurality of configurations for using either device individually or a plurality of configurations for using both in combination are determined according to lighting requirements, the method further comprises:
configuring an independent virtual control loop module for each separately used device; and
configuring a virtual control loop module which can be used in combination for other devices used in combination;
the virtual control loop modules are independent of each other.
6. The method according to any one of claims 1 to 5, wherein when the current use of any one of the virtual control loop modules is finished, the relay switch virtual unit and the dimming output control unit are respectively disconnected from the corresponding hardware for the next configuration use.
7. The method of any of claims 1-5, wherein when the lighting requirements are 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.
8. The method of claim 7, wherein said adjusting the established virtual control loop module according to the new configuration scheme comprises:
if the new configuration scheme is reduced compared with 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 relationship between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
9. A dimming controller comprises at least one relay OnOff for controlling the light source switch and at least one light adjusting device Level for controlling the dimming output, the dimming controller controls the light source switch through the relay contained in the dimming controller, and adjusts the light source intensity through the light adjusting device contained in the dimming controller, and is characterized in that the dimming controller further comprises:
the virtual control loop module is arranged on the dimming controller and comprises a relay switch virtual unit corresponding to the relay and/or a dimming output control unit corresponding to the light adjusting device;
a determination module adapted to determine at least one configuration scheme in the dimming controller regarding a matching relationship between the relay and the light adjusting device according to lighting requirements;
the virtual control loop module is further adapted to respectively start the corresponding virtual control loop module for each configuration scheme as follows: the virtual control circuit module in the configuration scheme selects a relay corresponding to the virtual control circuit module for the relay switch, and performs control operation on the selected relay through the virtual control circuit module for the relay switch, and selects a light adjusting device corresponding to the light adjusting device for the dimming output control unit in the virtual control circuit module in the configuration scheme, and passes through the dimming output control unit performs control operation on the selected light adjusting device to control the output of the light source.
10. The dimming controller of claim 9, wherein the virtual control loop module is further adapted to:
when the configuration scheme is that the relay is used independently, a virtual control loop module only comprising a relay switch virtual unit is started for the configuration scheme;
when the configuration scheme is that the light adjusting device is used independently, a virtual control loop module only comprising a light adjusting output control unit is started for the configuration scheme;
when the configuration scheme is used by combining the relay and the light adjusting device, the virtual control loop module which simultaneously comprises the relay switch virtual unit and the light adjusting output control unit is started for the configuration scheme.
11. The dimming controller according to claim 10, wherein the relay switch virtual unit and the dimming output control unit are bound to each other when the relay and the light adjusting device are combined.
12. The dimming controller of claim 11, 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 turned off, the dimming output control unit controls the corresponding light adjusting device to adjust the light source intensity to the preset intensity; or
When the light adjusting device corresponding to the light adjusting output control unit is controlled to adjust the light source intensity to the preset intensity, the relay switch virtual unit controls the relay to be automatically opened or closed.
13. The dimming controller according to claim 10, wherein when the dimming controller comprises a plurality of relays and/or a plurality of light adjusting devices, if a plurality of configurations for using any one of the devices individually and a plurality of configurations for using both of them in combination are determined according to lighting requirements,
the dimming controller further comprises: configuring an independent virtual control loop module for each separately used device; configuring a virtual control loop module which can be used in combination for other devices used in combination; the virtual control loop modules are independent of each other.
14. The dimming controller according to any one of claims 9 to 13, wherein when the current use of any one of the virtual control loop modules is finished, the relay switch virtual unit and the dimming output control unit are respectively disconnected from the corresponding hardware for the next configuration use.
15. The dimming controller according to any one of claims 9-13, 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.
16. The dimming controller of claim 15, further comprising:
if the new configuration scheme is reduced compared with 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 relationship between the existing virtual control loop module and the hardware device is changed according to the adjustment scheme.
17. 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 one of claims 1-8.
18. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the dimming output method of a dimming controller according to any one of claims 1-8.
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 true CN107911923A (en) 2018-04-13
CN107911923B 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 (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201893969U (en) * 2010-11-15 2011-07-06 深圳茂硕电源科技股份有限公司 Virtual load circuit of silicon controlled dimming circuit used for LED indoor illumination
TW201201626A (en) * 2010-06-25 2012-01-01 Hon Hai Prec Ind Co Ltd Light emitting diode controlling system and method
US20120218005A1 (en) * 2011-02-25 2012-08-30 Qualcomm Incorporated Semiconductor Device Having On-Chip Voltage Regulator
CN103119819A (en) * 2010-05-03 2013-05-22 无线环境有限责任公司 Wireless lighting devices and grid-shifting applications
CN103312424A (en) * 2013-07-02 2013-09-18 山东科技大学 Control method and system for multiple switches in automatic testing system
CN103529710A (en) * 2013-10-15 2014-01-22 广东电网公司电力调度控制中心 Method and system for realizing backup power automatic switching model of power system
US20140062340A1 (en) * 2012-08-31 2014-03-06 Ahmed Elgayyar Electrical Switch Device with Automatic Control
CN103889097A (en) * 2012-12-21 2014-06-25 施耐德电气(澳大利亚)有限公司 Dimming control method and device and dimming system
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
CN104883797A (en) * 2015-06-11 2015-09-02 中国地质大学(武汉) Large-scale LED array light modulation control method and light modulation control system
US20160081158A1 (en) * 2014-09-15 2016-03-17 Magnachip Semiconductor, Ltd. Circuit for driving lighting apparatus and method thereof
US20160157313A1 (en) * 2014-11-28 2016-06-02 LSC Lighting Systems (Aust) Pty. Ltd. Circuitry for led light dimmer
CN105654821A (en) * 2014-11-24 2016-06-08 北京北研兴电力仪表有限责任公司 Fault simulation apparatus for electrical control system of transformer equipment
EP3151102A1 (en) * 2015-09-30 2017-04-05 Niko NV System and method for controlling a function of an apparatus
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 (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119819A (en) * 2010-05-03 2013-05-22 无线环境有限责任公司 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
US20120218005A1 (en) * 2011-02-25 2012-08-30 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
CN103889097A (en) * 2012-12-21 2014-06-25 施耐德电气(澳大利亚)有限公司 Dimming control method and device and dimming system
CN103312424A (en) * 2013-07-02 2013-09-18 山东科技大学 Control method and system for multiple switches in automatic testing system
CN103529710A (en) * 2013-10-15 2014-01-22 广东电网公司电力调度控制中心 Method and system for realizing backup power automatic switching model of power system
US20160081158A1 (en) * 2014-09-15 2016-03-17 Magnachip Semiconductor, Ltd. Circuit for driving lighting apparatus and method thereof
CN105654821A (en) * 2014-11-24 2016-06-08 北京北研兴电力仪表有限责任公司 Fault simulation apparatus for electrical control system of transformer equipment
US20160157313A1 (en) * 2014-11-28 2016-06-02 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
CN104883797A (en) * 2015-06-11 2015-09-02 中国地质大学(武汉) Large-scale LED array light modulation control method and light modulation control system
EP3151102A1 (en) * 2015-09-30 2017-04-05 Niko NV System and method for controlling a function of an apparatus
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

Also Published As

Publication number Publication date
CN107911923B (en) 2023-04-21

Similar Documents

Publication Publication Date Title
CN105632414B (en) Method for controlling backlight thereof, device and equipment in a kind of terminal device start process
CN103607800B (en) Intelligent dimming module and intelligent dimming LED and control method thereof
CN103595842B (en) A kind of flash lamp is as brightness of illumination control method during pocket lamp and mobile terminal
CN103167698B (en) Intelligent scene control switch
CN204513163U (en) A kind of LED intelligence lamp affixed to the ceiling using wireless (bluetooth) control technology
CN105376905A (en) Smart lighting equipment control method and device
CN106332351A (en) Wireless LED illumination control system, control panel, and wireless pairing method
CN202014402U (en) Light-emitting diode light adjusting device, lamp and light adjusting system
CN106658848B (en) A kind of color music Landscape Lamps of LED seven
CN203279279U (en) Microwave sensing dimming device for common LED driver upgrading
CN101466181A (en) Method and control system for altering lamp luminous color
CN107911923A (en) The light modulation output method and light adjusting controller of light adjusting controller
CN204707315U (en) Brightness controlled parlor lamp
CN107889320B (en) Lighting system, single-live-wire power taking device and control method thereof
CN109407534A (en) Equipment control method and device, configuration equipment and control device
CN108200681A (en) Intelligent lighting controls method, equipment and system
US20200037423A1 (en) Dimming control for lighting systems and methods thereof
CN202435678U (en) Adjusting circuit for LED light source
EP2701463B1 (en) Load system having a control element powered by a control signal
CN106793292B (en) Can darkening toning intelligent LED lamp
CN206323630U (en) A kind of light-control knob switch
CN206100572U (en) Solar lamp controller, control system
CN104918381A (en) LED power supply segmented switching control module and control method thereof
CN107994925B (en) Method for communication through power line
CN105246233A (en) Intelligent home light control system

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