WO2019024371A1 - 照明电路的控制方法及控制器 - Google Patents

照明电路的控制方法及控制器 Download PDF

Info

Publication number
WO2019024371A1
WO2019024371A1 PCT/CN2017/114892 CN2017114892W WO2019024371A1 WO 2019024371 A1 WO2019024371 A1 WO 2019024371A1 CN 2017114892 W CN2017114892 W CN 2017114892W WO 2019024371 A1 WO2019024371 A1 WO 2019024371A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
user
lighting circuit
preset
time
Prior art date
Application number
PCT/CN2017/114892
Other languages
English (en)
French (fr)
Inventor
郑世卿
邓文坚
黄桂平
黄新明
肖登兴
Original Assignee
广汽本田汽车有限公司
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 广汽本田汽车有限公司 filed Critical 广汽本田汽车有限公司
Priority to JP2018517333A priority Critical patent/JP6709848B2/ja
Publication of WO2019024371A1 publication Critical patent/WO2019024371A1/zh

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
    • H05B47/17Operational modes, e.g. switching from manual to automatic mode or prohibiting specific operations
    • 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
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • H05B47/12Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
    • 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
    • H05B47/16Controlling the light source by timing means
    • 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

Definitions

  • the present invention relates to the field of lighting equipment, and in particular to a control method and controller for a lighting circuit.
  • the control system of the lighting device commonly used in the market uses sound as the sensing signal.
  • the lighting circuit is turned on, thereby automatically controlling the on and off of the lighting circuit according to the working state of the production line.
  • this kind of control system has the following disadvantages: when the production line is stopped, the lighting equipment also stops working, and at this time, it is impossible to perform work that requires the use of the lighting equipment to provide assistance, such as quality inspection of the production line, modification and overhaul, etc., that is, a single The control method cannot meet the actual use requirements.
  • the invention provides a control method and a controller for a lighting circuit, which can solve the problem that the controller of the existing lighting circuit cannot meet the actual use requirement due to a single control method.
  • An aspect of the present invention provides a method for controlling a lighting circuit, which is executed by a controller, and the method includes:
  • timing mode controlling the illumination circuit to maintain a path for a first preset time, and switching from the timing mode to the normal mode after the first preset time ends;
  • the lighting circuit is controlled to maintain a path.
  • detecting the volume of the environment and controlling the on and off of the lighting circuit according to the volume of the environment includes:
  • the lighting circuit is controlled to remain open after a second preset time.
  • the method further includes:
  • the time parameter is used as the first preset time
  • the preset default time parameter is used as the first preset time.
  • determining whether the user has the operation authority includes:
  • the method further comprises: directly entering the general mode operation after the controller is powered on.
  • Another aspect of the present invention also provides a controller for a lighting circuit, the controller comprising:
  • a general mode switching module configured to switch from a current working mode to a normal mode when detecting a general mode switching signal of the user
  • a general mode control module configured to detect an ambient volume in the general mode and control on and off of the lighting circuit according to the ambient volume
  • a timing mode switching module configured to switch from a current working mode to a timing mode when a timing mode switching signal of the user is detected
  • timing mode control module configured to: in the timing mode, control the lighting circuit to maintain a path for a first preset time, and switch from a timing mode to the normal mode after the first preset time ends;
  • the exclusion mode judging module is configured to determine whether the user has the operation authority when detecting the exclusion mode switching signal of the user;
  • An exception mode control module is configured to control the lighting circuit to maintain a path in the exclusion mode.
  • the general mode control module includes:
  • a volume detecting unit configured to periodically detect a current ambient volume after the beginning of the general mode
  • a voice control path module configured to control the lighting circuit to maintain a path when detecting that the current ambient volume rises from below a preset volume threshold to be higher than the volume threshold;
  • the voice-control disconnecting module is configured to control the lighting circuit to remain open after a second preset time after detecting that the current ambient volume drops from above the volume threshold to below the volume threshold.
  • the controller further includes:
  • a time input module configured to: after switching to the timing mode, determine whether the user inputs a time parameter within a preset range within a preset third preset time;
  • a time setting module configured to use the time parameter as the first preset time when a time parameter that is within a preset range is input by the user in the third preset time;
  • a default setting module configured to use a pre-configured default time parameter as the first preset time when the user does not input the time parameter within the preset range within the third preset time.
  • the exclusion mode determination module includes:
  • the password input unit is configured to determine, when the user's exclusion mode switching signal is detected, whether the user inputs the correct password within the preset fourth preset time;
  • a first authority determining unit configured to determine that the user has an operation right when the user inputs the correct password in the fourth preset time
  • the second authority determining unit is configured to determine that the user does not have the operation right when the user does not input the correct password within the fourth preset time.
  • the controller further includes: a default working module, configured to directly enter the normal mode operation after the controller is powered on.
  • the present invention provides a control method and controller for a lighting circuit, wherein the method includes switching from a current working mode when a general mode switching signal of a user is detected To the general mode; in the general mode, detecting the volume of the environment and controlling the on/off of the illumination circuit according to the volume of the environment; when detecting the timing mode switching signal of the user, switching from the current working mode to the timing mode; In the timing mode, the lighting circuit is controlled to maintain a path for a first preset time, and switch from the timing mode to the normal mode after the first preset time ends; when the user's exclusion mode switching signal is detected Determining whether the user has the operation authority; when it is determined that the user has the operation authority, switching from the current working mode to the exclusion mode; in the exclusion mode, controlling the lighting circuit to maintain the path.
  • the illumination circuit can be controlled in the normal mode, the timing mode and the exclusion mode, respectively, and can be switched according to the needs of the user.
  • the on/off of the lighting circuit is controlled according to the ambient volume to prevent waste of energy
  • the timing mode the lighting circuit is controlled to maintain a path for a first preset time, so that the user can perform the required control lighting.
  • Time operation for example, if a situation such as equipment maintenance requires short-time illumination, the operator can accurately time the lighting circuit by predicting the operation time to prevent energy waste; controlling the lighting circuit to remain in the exclusion mode
  • the passage is convenient for the user to perform operations requiring long-time illumination.
  • the current working mode is switched to the exclusion mode, that is, the person having the authority can switch the current working mode to the exclusion mode, thereby preventing energy waste caused by misoperation and the like.
  • the control method of the illumination circuit provided by the embodiment takes into consideration the actual use requirement of the illumination circuit, and is applied to a work environment having various illumination time requirements, such as a production line, which not only prevents energy waste, but also solves the problem that the production line cannot be stopped when the production line is stopped.
  • the problem that the lighting equipment is required to provide auxiliary work has the characteristics of strong human-computer interaction function, high intelligence degree and good flexibility.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for controlling a lighting circuit provided by the present invention
  • FIG. 2 is a schematic structural view of a first embodiment of a controller of a lighting circuit provided by the present invention.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling a lighting circuit provided by the present invention, where the control method includes:
  • timing mode controlling the illumination circuit to maintain a path for a first preset time, and switching from a timing mode to the normal mode after the first preset time ends;
  • the lighting circuit is controlled to maintain a path.
  • controlling the switching of the lighting circuit is accomplished by a solid state relay.
  • the lighting circuit is connected to the illumination power source through the solid state relay, and the on/off of the lighting circuit can be controlled by sending an on/off control signal to the solid state relay. It should be noted that controlling the switching of the lighting circuit by the solid state relay is only one embodiment of the present invention, and the present invention is not limited to the embodiment.
  • the controller employs a single chip; the general mode switching signal is input through a first button connected to an interrupt port of the controller; and the timing mode switching signal is interrupted by the controller a second button input connected to the port; the exception mode switching signal is input through a third button connected to the interrupt port of the controller.
  • the controller adopts a single chip microcomputer, which is only one embodiment of the present invention, and the present invention is not limited to the embodiment.
  • the current working mode refers to one of a general mode, a timing mode, and an exception mode, and is only used to express a mode in which the controller is currently working, instead of being different from the above three working modes.
  • Other modes of operation which should be understood by those skilled in the art. For example, if the controller is currently working in the general mode, the current working mode is the general mode; when switching to the timing mode, the current working mode is the timing mode; when switching to the exclusion mode, the current The working mode is the exclusion mode.
  • the current working mode does not perform the switching, that is, the original working mode is maintained to continue working.
  • the first preset time is preset by the user or preset by the factory.
  • the determining whether the user has the operation authority determines whether the user inputs the correct password. In other embodiments, when determining whether the user has the operation authority, determining the face recognition, scanning the barcode, or scanning the two-dimensional code and the like Whether the recognition result of the mode is successful recognition.
  • a control method of the lighting circuit is provided, and the lighting circuit can be controlled in the normal mode, the timing mode, and the exclusion mode, respectively, and can be switched according to the needs of the user.
  • the on/off of the lighting circuit is controlled according to the ambient volume to prevent waste of energy; in the timing mode, the lighting circuit is controlled to maintain a path for a first preset time, so that the user can perform the required control lighting.
  • Time operation for example, if a situation such as equipment maintenance requires short-time illumination, the operator can accurately time the lighting circuit by predicting the operation time to prevent energy waste; controlling the lighting circuit to remain in the exclusion mode
  • the passage is convenient for the user to perform operations requiring long-time illumination.
  • the current working mode is switched to the exclusion mode, that is, the person having the authority must switch the current working mode to the exclusion mode, thereby preventing energy waste caused by misoperation and the like.
  • the control method of the illumination circuit provided by the embodiment takes into consideration the actual use requirement of the illumination circuit, and is applied to a work environment having various illumination time requirements, such as a production line, which not only prevents energy waste, but also solves the problem that the production line cannot be stopped when the production line is stopped.
  • the problem that the lighting equipment is required to provide auxiliary work has the characteristics of strong human-computer interaction function, high intelligence degree and good flexibility.
  • the method further comprises:
  • controlling the first signal light to be in a lighting state otherwise controlling the first signal light to be in a light-off state
  • the current working mode is a timing mode
  • controlling the second signal light to be on a state otherwise controlling the second signal light to be in a light-off state
  • the current working mode is an exclusion mode
  • controlling the third signal light to be in a lighting state otherwise, controlling the third signal light to be in a light-off state.
  • the current working mode is indicated by the light-off state of different signal lights, so that the user can quickly and conveniently distinguish the current working mode.
  • detecting the volume of the environment and controlling the on and off of the lighting circuit according to the volume of the environment includes:
  • the lighting circuit is controlled to remain open after a second preset time.
  • the second preset time is preset by the user or preset by the factory, for example, the factory preset is 1 minute. That is, the illumination time of the second preset time is reserved before the control of the illumination circuit is kept open, so that the user can perform the lowering of the current ambient volume from the volume threshold to the lower time in the second preset time. The finishing work that should be performed after the volume threshold.
  • the switching of the illumination circuit reduces control relative to other embodiments, for example, relative to a manner in which the control of the lighting circuit is detected when the current ambient volume is above or below the volume threshold.
  • the method further comprises:
  • the remaining time of the lighting circuit is obtained, and the remaining time of the connection is displayed through the display screen.
  • the remaining time of the turn-on refers to the remaining time of the lighting circuit in the first preset time or the remaining time of the lighting circuit in the second preset time. That is, the remaining time of the connection is displayed through the display, so that the user can quickly grasp the illumination time and perform other operations, such as adjusting the illumination time.
  • the present invention further provides a second embodiment of a method for controlling a lighting circuit, the control method comprising the steps S101 to S107 in the first embodiment of the method for controlling the lighting circuit, further defining that the method further comprises :
  • the time parameter is used as the first preset time
  • the preset default time parameter is used as the first preset time.
  • the time parameter is input through a 4*4 matrix keyboard connected to the 8-bit I/O port of the controller, and the value of the different key input can be recognized by cyclic scanning. It should be noted that the foregoing input manner of the time parameter is only one of the embodiments of the present invention, and the present invention is not limited to the embodiment.
  • the third preset time is preset by the user or preset by the factory, for example, the factory preset is 30 seconds.
  • the preset range is preset by the user or preset by the factory.
  • the time parameter is specifically a time length or a time.
  • the time parameter is a time length, and the preset time is 20 minutes, the time parameter does not exceed 20 minutes; for example, if the time parameter is a time, the pre- If the range is 20 minutes, the time parameter is separated from the time when the controller acquires the time parameter by no more than 20 minutes.
  • the pre-configured default time parameter is preset by the user or preset by the factory.
  • the default time parameter is specifically a time length or a time, for example, preset to 5 minutes, and, for example, preset to be in the controller. The time after 5 minutes has elapsed since the time when switching to the timing mode.
  • the pre-configured default time parameter saves the operation of the user to input the time parameter after switching to the timing mode, thereby improving the convenience. It can be applied to situations where lighting needs are urgent, such as lighting in emergency situations.
  • the present invention also provides a third embodiment of a method for controlling a lighting circuit, the control method comprising the steps S101 to S107 in the first embodiment of the method for controlling the lighting circuit, further defining that when the When the user's exception mode is switched, it is determined whether the user has the operation authority, including:
  • the fourth preset time is preset by the user or preset by the factory, for example, the factory preset is 30 seconds.
  • the password is input through a 4*4 matrix keyboard connected to the 8-bit I/O port of the controller, and the value of the different key inputs can be recognized by cyclic scanning. It should be noted that the foregoing input manner of the password is only one embodiment of the present invention, and the present invention is not limited to the embodiment.
  • the present invention further provides a fourth embodiment of a method for controlling a lighting circuit, the control method comprising the steps S101 to S107 in the first embodiment of the method for controlling the lighting circuit, and further defining that the method further Including: after the controller is powered on, directly enters the general mode of operation.
  • the general mode is specified as the default mode for the current working mode, which is convenient for the scenario in which the general mode is the common mode, thereby improving the convenience of the user operation.
  • FIG. 1 is only for expressing the flow steps of an embodiment of the present invention, but the flow steps of the present invention are not limited to being strictly performed in the order of S101 to S107.
  • S101, S103, and S105 can be performed in parallel.
  • the present invention also provides a first embodiment of a controller for a lighting circuit.
  • 2 is a schematic structural diagram of a first embodiment of a controller for a lighting circuit provided by the present invention, where the controller includes:
  • the general mode switching module 201 is configured to switch from the current working mode to the normal mode when detecting the general mode switching signal of the user;
  • the general mode control module 202 is configured to detect an environment volume and control the on/off of the lighting circuit according to the ambient volume in the general mode;
  • the timing mode switching module 203 is configured to switch from the current working mode to the timing mode when the timing mode switching signal of the user is detected;
  • the timing mode control module 204 is configured to control the lighting circuit to maintain a path during the first preset time in the timing mode, and switch from the timing mode to the normal mode after the first preset time ends ;
  • the exclusion mode determining module 205 is configured to determine whether the user has the operation authority when detecting the exclusion mode switching signal of the user;
  • the exception mode switching module 206 is configured to switch from the current working mode to the exclusion mode when determining that the user has the operation authority;
  • the exception mode control module 207 is configured to control the illumination circuit to maintain the path in the exclusion mode.
  • controlling the switching of the lighting circuit is accomplished by a solid state relay.
  • the lighting circuit is connected to the illumination power source through the solid state relay, and the on/off of the lighting circuit can be controlled by sending an on/off control signal to the solid state relay. It should be noted that controlling the switching of the lighting circuit by the solid state relay is only one embodiment of the present invention, and the present invention is not limited to the embodiment.
  • the controller employs a single chip; the general mode switching signal is input through a first button connected to an interrupt port of the controller; and the timing mode switching signal is interrupted by the controller a second button input connected to the port; the exception mode switching signal is input through a third button connected to the interrupt port of the controller.
  • the controller adopts a single chip microcomputer, which is only one embodiment of the present invention, and the present invention is not limited to the embodiment.
  • the current working mode refers to one of a general mode, a timing mode, and an exception mode, and is only used to express a mode in which the controller is currently working, instead of being different from the above three working modes.
  • Other modes of operation which should be understood by those skilled in the art. For example, if the controller is currently working in the general mode, the current working mode is the general mode; when switching to the timing mode, the current working mode is the timing mode; when switching to the exclusion mode, the current The working mode is the exclusion mode.
  • the current working mode does not perform the switching, that is, the original working mode is maintained to continue working.
  • the first preset time is preset by the user or preset by the factory.
  • the determining whether the user has the operation authority determines whether the user inputs the correct password. In other embodiments, when determining whether the user has the operation authority, determining the face recognition, scanning the barcode, or scanning the two-dimensional code and the like Whether the recognition result of the mode is successful recognition.
  • a controller for the lighting circuit is provided, and the lighting circuit can be controlled in the normal mode, the timing mode, and the exclusion mode, respectively, and can be switched according to the needs of the user.
  • the on/off of the lighting circuit is controlled according to the ambient volume to prevent waste of energy; in the timing mode, the lighting circuit is controlled to maintain a path for a first preset time, so that the user can perform the required control lighting.
  • Time operation for example, if a situation such as equipment maintenance requires short-time illumination, the operator can accurately time the lighting circuit by predicting the operation time to prevent energy waste; controlling the lighting circuit to remain in the exclusion mode
  • the passage is convenient for the user to perform operations requiring long-time illumination.
  • the current working mode is switched to the exclusion mode, that is, the person having the authority must switch the current working mode to the exclusion mode, thereby preventing energy waste caused by misoperation and the like.
  • the control method of the illumination circuit provided by the embodiment takes into consideration the actual use requirement of the illumination circuit, and is applied to a work environment having various illumination time requirements, such as a production line, which not only prevents energy waste, but also solves the problem that the production line cannot be stopped when the production line is stopped.
  • the problem that the lighting equipment is required to provide auxiliary work has the characteristics of strong human-computer interaction function, high intelligence degree and good flexibility.
  • controller further includes:
  • a signal indicating module configured to: when the current working mode is a normal mode, control the first signal light to be in a lighting state; otherwise, control the first signal light to be in a light-off state; when the current working mode is a timed mode, control The second signal light is in a lighting state, otherwise the second signal light is in a light-off state; when the current working mode is an exclusion mode, the third signal light is controlled to be in a light state, otherwise the third signal light is turned off. status.
  • the current working mode is indicated by the light-off state of different signal lights, so that the user can quickly and conveniently distinguish the current working mode.
  • the general mode control module includes:
  • a volume detecting unit configured to periodically detect a current ambient volume after the beginning of the general mode
  • a voice control path module configured to control the lighting circuit to maintain a path when detecting that the current ambient volume rises from below a preset volume threshold to be higher than the volume threshold;
  • the voice-control disconnecting module is configured to control the lighting circuit to remain open after a second preset time after detecting that the current ambient volume drops from above the volume threshold to below the volume threshold.
  • the second preset time is preset by the user or preset by the factory, for example, the factory preset is 1 minute. That is, the illumination time of the second preset time is reserved before the control of the illumination circuit is kept open, so that the user can perform the lowering of the current ambient volume from the volume threshold to the lower time in the second preset time. The finishing work that should be performed after the volume threshold.
  • the switching of the illumination circuit reduces control relative to other embodiments, for example, relative to a manner in which the control of the lighting circuit is detected when the current ambient volume is above or below the volume threshold.
  • controller further includes:
  • a display module configured to acquire a remaining time of the lighting circuit, and display the remaining time of the connection through a display screen.
  • the remaining time of the turn-on refers to the remaining time of the lighting circuit in the first preset time or the remaining time of the lighting circuit in the second preset time. That is, the remaining time of the connection is displayed through the display, so that the user can quickly grasp the illumination time and perform other operations, such as adjusting the illumination time.
  • the present invention also provides a second embodiment of a controller for a lighting circuit, comprising a general mode switching module 201, a general mode control module 202, a timing mode switching module 203 of the first embodiment of the controller of the lighting circuit.
  • the timing mode control module 204, the exclusion mode determination module 205, the exclusion mode switching module 206, and the exclusion mode control module 207 further define that the controller further includes:
  • a time input module configured to: after switching to the timing mode, determine whether the user inputs a time parameter within a preset range within a preset third preset time;
  • a time setting module configured to use the time parameter as the first preset time when a time parameter that is within a preset range is input by the user in the third preset time;
  • a default setting module configured to use a pre-configured default time parameter as the first preset time when the user does not input the time parameter within the preset range within the third preset time.
  • the time parameter is input through a 4*4 matrix keyboard connected to the 8-bit I/O port of the controller, and the value of the different key input can be recognized by cyclic scanning. It should be noted that the foregoing input manner of the time parameter is only one of the embodiments of the present invention, and the present invention is not limited to the embodiment.
  • the third preset time is preset by the user or preset by the factory, for example, the factory preset is 30 seconds.
  • the preset range is preset by the user or preset by the factory.
  • the time parameter is specifically a time length or a time.
  • the time parameter is a time length, and the preset time is 20 minutes, the time parameter does not exceed 20 minutes; for example, if the time parameter is a time, the pre- If the range is 20 minutes, the time parameter is separated from the time when the controller acquires the time parameter by no more than 20 minutes.
  • the pre-configured default time parameter is preset by the user or preset by the factory.
  • the default time parameter is specifically a time length or a time, for example, preset to 5 minutes, and, for example, preset to be in the controller. The time after 5 minutes has elapsed since the time when switching to the timing mode.
  • the pre-configured default time parameter saves the operation of the user to input the time parameter after switching to the timing mode, thereby improving the convenience. It can be applied to situations where lighting needs are urgent, such as lighting in emergency situations.
  • the present invention also provides a third embodiment of a controller for a lighting circuit, comprising a general mode switching module 201, a general mode control module 202, a timing mode switching module 203 of the first embodiment of the controller of the lighting circuit.
  • the timing mode control module 204, the exclusion mode determination module 205, the exclusion mode switching module 206, and the exclusion mode control module 207 further define that the exclusion mode determination module includes:
  • the password input unit is configured to determine, when the user's exclusion mode switching signal is detected, whether the user inputs the correct password within the preset fourth preset time;
  • a first authority determining unit configured to determine that the user has an operation right when the user inputs the correct password in the fourth preset time
  • the second authority determining unit is configured to determine that the user does not have the operation right when the user does not input the correct password within the fourth preset time.
  • the fourth preset time is preset by the user or preset by the factory, for example, the factory preset is 30 seconds.
  • the password is input through a 4*4 matrix keyboard connected to the 8-bit I/O port of the controller, and the value of the different key inputs can be recognized by cyclic scanning. It should be noted that the foregoing input manner of the password is only one embodiment of the present invention, and the present invention is not limited to the embodiment.
  • the present invention further provides a fourth embodiment of a controller for a lighting circuit, comprising a general mode switching module 201, a general mode control module 202, a timing mode switching module 203 of the first embodiment of the controller of the lighting circuit.
  • the timing mode control module 204, the exclusion mode determination module 205, the exclusion mode switching module 206, and the exclusion mode control module 207 further define that the controller further includes: a default working module, after the controller is powered on. , directly into the general mode of work.
  • the general mode is specified as the default mode for the current working mode, which is convenient for the scenario in which the general mode is the common mode, thereby improving the convenience of the user operation.
  • the control method and controller of the illumination circuit provided by the invention can control the operation of the illumination circuit in the general mode, the timing mode and the exclusion mode, respectively, and can be switched according to the needs of the user.
  • the on/off of the lighting circuit is controlled according to the ambient volume to prevent waste of energy
  • the timing mode the lighting circuit is controlled to maintain a path for a first preset time, so that the user can perform the required control lighting.
  • Time operation for example, if a situation such as equipment maintenance requires short-time illumination, the operator can accurately time the lighting circuit by predicting the operation time to prevent energy waste; controlling the lighting circuit to remain in the exclusion mode
  • the passage is convenient for the user to perform operations requiring long-time illumination.
  • the current working mode is switched to the exclusion mode, that is, the person having the authority must switch the current working mode to the exclusion mode, thereby preventing energy waste caused by misoperation and the like.
  • the control method and controller of the lighting circuit provided by the embodiment take into consideration the actual use requirements of the lighting circuit, and are applied to a working environment having various lighting time requirements, such as a production line, which not only prevents energy waste, but also solves the problem that the production line stops working. It is impossible to carry out the problem that the lighting equipment is required to provide auxiliary work, and has the characteristics of strong human-computer interaction function, high intelligence, and good flexibility.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

一种照明电路的控制方法,所述方法包括:当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式(S101);在一般模式下,检测环境音量并根据环境音量控制照明电路的通断(S102);当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式(S103);在定时模式下,控制照明电路在第一预设时间内保持通路,并在第一预设时间结束后从定时模式切换至一般模式(S104);当检测到用户的除外模式切换信号时,判断用户是否具有操作权限(S105);当判定用户具有操作权限时,从当前工作模式切换至除外模式(S106);在除外模式下,照明电路保持通路(S107)。照明电路的控制方法防止了能源浪费,满足了多种照明时间需求,同时还提供了一种照明电路的控制器。

Description

照明电路的控制方法及控制器 技术领域
本发明涉及照明设备领域,特别涉及照明电路的控制方法及控制器。
背景技术
生产线上需要使用大量照明设备来辅助生产,而在实际生产中,生产线往往会因为一些原因(设备故障、零部件不足、品质不达标等)而停止,在这期间,如果照明设备继续工作,则必然会造成能源的浪费,但由于生产线停止的经常性和不确定性,靠人工来控制照明电路的通断是不现实的。
市场上常见的照明设备的控制系统采用声音作为传感信号,当检测到环境音量满足一定条件时,接通照明电路,从而实现根据生产线工作状态对照明电路的通断进行自动控制。
但是,该种控制系统存在如下缺点:当生产线停止时,照明设备也停止工作,则此时无法进行需要使用照明设备提供辅助的工作,例如生产线的品质检证、改造检修等工作,即单一的控制方法无法满足实际使用需求。
发明内容
本发明提出照明电路的控制方法及控制器,能够解决现有照明电路的控制器因控制方法单一而无法满足实际使用需求的问题。
本发明一方面提供一种照明电路的控制方法,由控制器执行,所述方法包括:
当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;
在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;
当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;
在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在 所述第一预设时间结束后从定时模式切换至所述一般模式;
当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;
当判定用户具有操作权限时,从当前工作模式切换至除外模式;
在所述除外模式下,控制所述照明电路保持通路。
作为更优选地,所述在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断,包括:
在所述一般模式下,定时检测当前环境音量;
当检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值时,控制所述照明电路保持通路;
当检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值时,经过第二预设时间后控制所述照明电路保持断路。
在所述控制方法的一个实施方式中,所述方法还包括:
在切换至所述定时模式后,判断用户是否在预设的第三预设时间内输入了处于预设范围内的时间参数;
当用户在所述第三预设时间内输入了处于预设范围内的时间参数时,将所述时间参数作为所述第一预设时间;
当用户没有在所述第三预设时间内输入了处于预设范围内的时间参数时,将预先配置的默认时间参数作为所述第一预设时间。
在所述控制方法的一个实施方式中,所述当检测到用户的除外模式切换信号时,判断用户是否具有操作权限,包括:
当检测到用户的除外模式切换信号时,判断用户是否在预设的第四预设时间内输入了正确的密码;
当用户在所述第四预设时间内输入了正确的密码时,判定用户具有操作权限;
当用户没有在所述第四预设时间内输入了正确的密码时,判定用户不具有操作权限。
在所述控制方法的一个实施方式中,所述方法还包括:在所述控制器接通 电源后,直接进入一般模式工作。
本发明另一方面还提供了一种照明电路的控制器,所述控制器包括:
一般模式切换模块,用于当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;
一般模式控制模块,用于在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;
定时模式切换模块,用于当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;
定时模式控制模块,用于在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在所述第一预设时间结束后从定时模式切换至所述一般模式;
除外模式判断模块,用于当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;
除外模式切换模块,用于当判定用户具有操作权限时,从当前工作模式切换至除外模式;
除外模式控制模块,用于在所述除外模式下,控制所述照明电路保持通路。
作为更优选地,所述一般模式控制模块包括:
音量检测单元,用于在所述一般模式开始后,定时检测当前环境音量;
音控通路模块,用于当检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值时,控制所述照明电路保持通路;
音控断路模块,用于当检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值时,经过第二预设时间后控制所述照明电路保持断路。
在所述控制系统的一个实施方式中,所述控制器还包括:
时间输入模块,用于在切换至所述定时模式后,判断用户是否在预设的第三预设时间内输入了处于预设范围内的时间参数;
时间设定模块,用于当用户在所述第三预设时间内输入了处于预设范围内的时间参数时,将所述时间参数作为所述第一预设时间;
默认设定模块,用于当用户没有在所述第三预设时间内输入了处于预设范围内的时间参数时,将预先配置的默认时间参数作为所述第一预设时间。
在所述控制系统的一个实施方式中,所述除外模式判断模块包括:
密码输入单元,用于当检测到用户的除外模式切换信号时,判断用户是否在预设的第四预设时间内输入了正确的密码;
第一权限判定单元,用于当用户在所述第四预设时间内输入了正确的密码时,判定用户具有操作权限;
第二权限判定单元,用于当用户没有在所述第四预设时间内输入了正确的密码时,判定用户不具有操作权限。
在所述控制系统的一个实施方式中,所述控制器还包括:默认工作模块,用于在所述控制器接通电源后,直接进入一般模式工作。
相比于现有技术,本发明具有如下突出的有益效果:本发明提供了一种照明电路的控制方法及控制器,其中方法包括当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在所述第一预设时间结束后从定时模式切换至所述一般模式;当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;当判定用户具有操作权限时,从当前工作模式切换至除外模式;在所述除外模式下,控制所述照明电路保持通路。通过本发明提供的照明电路的控制方法及控制器,可以分别在一般模式、定时模式以及除外模式下控制照明电路工作,并且可以根据用户的需求进行切换。其中,在所述一般模式下根据环境音量控制照明电路的通断,防止了能源浪费;在所述定时模式下控制所述照明电路在第一预设时间内保持通路,便于用户进行需要管控照明时间的操作,例如,如果遇到设备检修等需要短时间照明的情况,操作者可以通过预判操作时间对照明电路进行精确定时,防止能源浪费;在所述除外模式下控制所述照明电路保持通路,便于用户进行需长时间照明的操作。在判定用户具有操作权限时,从 当前工作模式切换至除外模式,即须由具有权限的人才能将当前工作模式切换至除外模式,防止了由误操作等原因造成的能源浪费。本实施例提供的照明电路的控制方法考虑了照明电路的实际使用需求,应用于具有多种照明时间需求的工作环境中,例如生产线,既防止了能源浪费,又解决了生产线停止工作时无法进行需要照明设备提供辅助的工作的问题,具有人机交互功能强、智能化程度高、灵活性好的特点。
附图说明
图1是本发明提供的照明电路的控制方法的第一实施例的流程示意图;
图2是本发明提供的照明电路的控制器的第一实施例的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参见图1,是本发明提供的照明电路的控制方法的第一实施例的流程示意图,所述控制方法包括:
S101,当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;
S102,在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;
S103,当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;
S104,在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在所述第一预设时间结束后从定时模式切换至所述一般模式;
S105,当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;
S106,当判定用户具有操作权限时,从当前工作模式切换至除外模式;
S107,在所述除外模式下,控制所述照明电路保持通路。
在一种实施方式中,控制所述照明电路的通断通过固态继电器实现。照明电路通过所述固态继电器连接到照明电源,通过向所述固态继电器发送通断控制信号即可控制所述照明电路的通断。需要说明的是,通过固态继电器控制照明电路的通断只是本发明的其中一种实施方式,本发明不限于该种实施方式。
在一种实施方式中,所述控制器采用单片机;所述一般模式切换信号通过与所述控制器的中断口连接的第一按键输入;所述定时模式切换信号通过与所述控制器的中断口连接的第二按键输入;所述除外模式切换信号通过与所述控制器的中断口连接的第三按键输入。需要说明的是,所述控制器采用单片机只是本发明的其中一种实施方式,本发明不限于该种实施方式。
需要说明的是,所述当前工作模式是指一般模式、定时模式以及除外模式三者中的一种工作模式,只是用于表达控制器当前正在工作的模式,而不是区别于上述三种工作模式的其他工作模式,这对于本领域技术人员来说是应当能够理解的。例如,控制器当前正在工作在一般模式下,则所述当前工作模式即为一般模式;当切换至定时模式时,所述当前工作模式即为定时模式;当切换至除外模式时,所述当前工作模式即为除外模式。
此外,当判定用户不具有操作权限时,当前工作模式不进行切换,即维持原来的工作模式继续工作。
在本实施例中,所述第一预设时间由用户预先设定或出厂预先设定。所述判断用户是否具有操作权限时,判断用户是否输入了正确的密码,在其他实施方式中,所述判断用户是否具有操作权限时,判断人脸识别、扫描条形码或扫描二维码等身份识别方式的识别结果是否为识别成功。
即提供了照明电路的控制方法,可以分别在一般模式、定时模式以及除外模式下控制照明电路工作,并且可以根据用户的需求进行切换。其中,在所述一般模式下根据环境音量控制照明电路的通断,防止了能源浪费;在所述定时模式下控制所述照明电路在第一预设时间内保持通路,便于用户进行需要管控 照明时间的操作,例如,如果遇到设备检修等需要短时间照明的情况,操作者可以通过预判操作时间对照明电路进行精确定时,防止能源浪费;在所述除外模式下控制所述照明电路保持通路,便于用户进行需长时间照明的操作。在判定用户具有操作权限时,从当前工作模式切换至除外模式,即须由具有权限的人才能将当前工作模式切换至除外模式,防止了由误操作等原因造成的能源浪费。本实施例提供的照明电路的控制方法考虑了照明电路的实际使用需求,应用于具有多种照明时间需求的工作环境中,例如生产线,既防止了能源浪费,又解决了生产线停止工作时无法进行需要照明设备提供辅助的工作的问题,具有人机交互功能强、智能化程度高、灵活性好的特点。
作为更优选地,所述方法还包括:
当所述当前工作模式为一般模式时,控制第一信号灯处于亮灯状态,否则控制所述第一信号灯处于灭灯状态;当所述当前工作模式为定时模式时,控制第二信号灯处于亮灯状态,否则控制所述第二信号灯处于灭灯状态;当所述当前工作模式为除外模式时,控制第三信号灯处于亮灯状态,否则控制所述第三信号灯处于灭灯状态。
即通过不同信号灯的亮灭状态指示当前工作模式,使得用户能够快速、便捷地区分当前工作模式。
作为更优选地,所述在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断,包括:
在所述一般模式下,定时检测当前环境音量;
当检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值时,控制所述照明电路保持通路;
当检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值时,经过第二预设时间后控制所述照明电路保持断路。
在本实施例中,所述第二预设时间由用户预先设定或出厂预先设定,例如出厂预先设定为1分钟。即在控制所述照明电路保持断路之前预留了所述第二预设时间的照明时间,便于用户在所述第二预设时间内进行在当前环境音量从 高于所述音量阈值下降至低于音量阈值后应执行的收尾工作。
即通过检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值和检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值的条件控制所述照明电路的通断,相对于其他实施方式来说,例如相对于一检测到所述当前环境音量高于或低于所述音量阈值时控制所述照明电路的方式来说,减少了控制指令的开销。
作为更优选地,所述方法还包括:
获取所述照明电路的接通剩余时间,并通过显示屏显示所述接通剩余时间。
在本实施例中,接通剩余时间是指第一预设时间内所述照明电路的接通剩余时间或第二预设时间内所述照明电路的接通剩余时间。即通过显示器显示所述接通剩余时间,便于用户快速地掌握照明时间,以及进行其他操作,例如对照明时间进行调整。
本发明还提供了一种照明电路的控制方法的第二实施例,所述控制方法包括上述照明电路的控制方法的第一实施例中的步骤S101~S107,还进一步限定了所述方法还包括:
在切换至所述定时模式后,判断用户是否在预设的第三预设时间内输入了处于预设范围内的时间参数;
当用户在所述第三预设时间内输入了处于预设范围内的时间参数时,将所述时间参数作为所述第一预设时间;
当用户没有在所述第三预设时间内输入了处于预设范围内的时间参数时,将预先配置的默认时间参数作为所述第一预设时间。
在一种实施方式中,所述时间参数通过与所述控制器的8位I/O端口上连接的4*4矩阵键盘输入,通过循环扫描的方式可以识别不同按键输入的数值。需要说明的是,所述时间参数的上述输入方式只是本发明的其中一种实施方式,本发明不限于该种实施方式。
在本实施例中,所述第三预设时间由用户预先设定或出厂预先设定,例如出厂预先设定为30秒。所述预设范围由用户预先设定或出厂预先设定。所述时 间参数具体是时间长度或者时刻,例如,所述时间参数为时间长度,预设范围为20分钟,则所述时间参数不超过20分钟;又例如,若所述时间参数为时刻,预设范围为20分钟,则所述时间参数与所述控制器获取到所述时间参数时的时刻的间隔不超过20分钟。预先配置的默认时间参数由用户预先设定或出厂预先设定,所述默认时间参数具体是时间长度或者时刻,例如,预先设定为5分钟,又例如,预先设定为在所述控制器切换至定时模式时的时刻经过5分钟后的时刻。
即通过获取用户输入的处于预设范围内的时间参数,满足了不同的照明时长需求;通过预先配置的默认时间参数节省了在切换至定时模式后用户进行时间参数输入的操作,提高了方便度,可应用于照明需求迫切的情况,例如在紧急情况下的照明。
本发明还提供了一种照明电路的控制方法的第三实施例,所述控制方法包括上述照明电路的控制方法的第一实施例中的步骤S101~S107,还进一步限定了所述当检测到用户的除外模式切换信号时,判断用户是否具有操作权限,包括:
当检测到用户的除外模式切换信号时,判断用户是否在预设的第四预设时间内输入了正确的密码;
当用户在所述第四预设时间内输入了正确的密码时,判定用户具有操作权限;
当用户没有在所述第四预设时间内输入了正确的密码时,判定用户不具有操作权限。
在本实施例中,所述第四预设时间由用户预先设定或出厂预先设定,例如出厂预先设定为30秒。
在一种实施方式中,所述密码通过与所述控制器的8位I/O端口上连接的4*4矩阵键盘输入,通过循环扫描的方式可以识别不同按键输入的数值。需要说明的是,所述密码的上述输入方式只是本发明的其中一种实施方式,本发明不限于该种实施方式。
即通过判断用户是否在预设的第四预设时间内输入了正确的密码来判断用 户是否具有操作权限,相对于其他身份识别方式来说,节省了为控制器录入不同用户身份的繁琐操作,降低了控制器的实现难度和成本。
本发明还提供了一种照明电路的控制方法的第四实施例,所述控制方法包括上述照明电路的控制方法的第一实施例中的步骤S101~S107,还进一步限定了,所述方法还包括:在所述控制器接通电源后,直接进入一般模式工作。
即在所述控制器接通电源后为当前工作模式指定一般模式为默认模式,便于应用在以一般模式为常用模式的场景,提高了用户操作的方便度。
需要说明的是,图1所示的流程图只是为了表达本发明一实施例的流程步骤,但本发明的流程步骤不限于严格地按照S101~S107的顺序执行。例如,S101、S103和S105是可以并列执行的。
本发明还提供了一种照明电路的控制器的第一实施例。参见图2,是本发明提供的照明电路的控制器的第一实施例的结构示意图,所述控制器包括:
一般模式切换模块201,用于当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;
一般模式控制模块202,用于在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;
定时模式切换模块203,用于当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;
定时模式控制模块204,用于在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在所述第一预设时间结束后从定时模式切换至所述一般模式;
除外模式判断模块205,用于当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;
除外模式切换模块206,用于当判定用户具有操作权限时,从当前工作模式切换至除外模式;
除外模式控制模块207,用于在所述除外模式下,控制所述照明电路保持通路。
在一种实施方式中,控制所述照明电路的通断通过固态继电器实现。照明电路通过所述固态继电器连接到照明电源,通过向所述固态继电器发送通断控制信号即可控制所述照明电路的通断。需要说明的是,通过固态继电器控制照明电路的通断只是本发明的其中一种实施方式,本发明不限于该种实施方式。
在一种实施方式中,所述控制器采用单片机;所述一般模式切换信号通过与所述控制器的中断口连接的第一按键输入;所述定时模式切换信号通过与所述控制器的中断口连接的第二按键输入;所述除外模式切换信号通过与所述控制器的中断口连接的第三按键输入。需要说明的是,所述控制器采用单片机只是本发明的其中一种实施方式,本发明不限于该种实施方式。
需要说明的是,所述当前工作模式是指一般模式、定时模式以及除外模式三者中的一种工作模式,只是用于表达控制器当前正在工作的模式,而不是区别于上述三种工作模式的其他工作模式,这对于本领域技术人员来说是应当能够理解的。例如,控制器当前正在工作在一般模式下,则所述当前工作模式即为一般模式;当切换至定时模式时,所述当前工作模式即为定时模式;当切换至除外模式时,所述当前工作模式即为除外模式。
此外,当判定用户不具有操作权限时,当前工作模式不进行切换,即维持原来的工作模式继续工作。
在本实施例中,所述第一预设时间由用户预先设定或出厂预先设定。所述判断用户是否具有操作权限时,判断用户是否输入了正确的密码,在其他实施方式中,所述判断用户是否具有操作权限时,判断人脸识别、扫描条形码或扫描二维码等身份识别方式的识别结果是否为识别成功。
即提供了照明电路的控制器,可以分别在一般模式、定时模式以及除外模式下控制照明电路工作,并且可以根据用户的需求进行切换。其中,在所述一般模式下根据环境音量控制照明电路的通断,防止了能源浪费;在所述定时模式下控制所述照明电路在第一预设时间内保持通路,便于用户进行需要管控照明时间的操作,例如,如果遇到设备检修等需要短时间照明的情况,操作者可以通过预判操作时间对照明电路进行精确定时,防止能源浪费;在所述除外模 式下控制所述照明电路保持通路,便于用户进行需长时间照明的操作。在判定用户具有操作权限时,从当前工作模式切换至除外模式,即须由具有权限的人才能将当前工作模式切换至除外模式,防止了由误操作等原因造成的能源浪费。本实施例提供的照明电路的控制方法考虑了照明电路的实际使用需求,应用于具有多种照明时间需求的工作环境中,例如生产线,既防止了能源浪费,又解决了生产线停止工作时无法进行需要照明设备提供辅助的工作的问题,具有人机交互功能强、智能化程度高、灵活性好的特点。
作为更优选地,所述控制器还包括:
信号指示模块,用于当所述当前工作模式为一般模式时,控制第一信号灯处于亮灯状态,否则控制所述第一信号灯处于灭灯状态;当所述当前工作模式为定时模式时,控制第二信号灯处于亮灯状态,否则控制所述第二信号灯处于灭灯状态;当所述当前工作模式为除外模式时,控制第三信号灯处于亮灯状态,否则控制所述第三信号灯处于灭灯状态。
即通过不同信号灯的亮灭状态指示当前工作模式,使得用户能够快速、便捷地区分当前工作模式。
作为更优选地,所述一般模式控制模块包括:
音量检测单元,用于在所述一般模式开始后,定时检测当前环境音量;
音控通路模块,用于当检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值时,控制所述照明电路保持通路;
音控断路模块,用于当检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值时,经过第二预设时间后控制所述照明电路保持断路。
在本实施例中,所述第二预设时间由用户预先设定或出厂预先设定,例如出厂预先设定为1分钟。即在控制所述照明电路保持断路之前预留了所述第二预设时间的照明时间,便于用户在所述第二预设时间内进行在当前环境音量从高于所述音量阈值下降至低于音量阈值后应执行的收尾工作。
即通过检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值和检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈 值的条件控制所述照明电路的通断,相对于其他实施方式来说,例如相对于一检测到所述当前环境音量高于或低于所述音量阈值时控制所述照明电路的方式来说,减少了控制指令的开销。
作为更优选地,所述控制器还包括:
显示模块,用于获取所述照明电路的接通剩余时间,并通过显示屏显示所述接通剩余时间。
在本实施例中,接通剩余时间是指第一预设时间内所述照明电路的接通剩余时间或第二预设时间内所述照明电路的接通剩余时间。即通过显示器显示所述接通剩余时间,便于用户快速地掌握照明时间,以及进行其他操作,例如对照明时间进行调整。
本发明还提供了一种照明电路的控制器的第二实施例,其包括上述照明电路的控制器的第一实施例的一般模式切换模块201、一般模式控制模块202、定时模式切换模块203、定时模式控制模块204、除外模式判断模块205、除外模式切换模块206、除外模式控制模块207,还进一步限定了所述控制器还包括:
时间输入模块,用于在切换至所述定时模式后,判断用户是否在预设的第三预设时间内输入了处于预设范围内的时间参数;
时间设定模块,用于当用户在所述第三预设时间内输入了处于预设范围内的时间参数时,将所述时间参数作为所述第一预设时间;
默认设定模块,用于当用户没有在所述第三预设时间内输入了处于预设范围内的时间参数时,将预先配置的默认时间参数作为所述第一预设时间。
在一种实施方式中,所述时间参数通过与所述控制器的8位I/O端口上连接的4*4矩阵键盘输入,通过循环扫描的方式可以识别不同按键输入的数值。需要说明的是,所述时间参数的上述输入方式只是本发明的其中一种实施方式,本发明不限于该种实施方式。
在本实施例中,所述第三预设时间由用户预先设定或出厂预先设定,例如出厂预先设定为30秒。所述预设范围由用户预先设定或出厂预先设定。所述时间参数具体是时间长度或者时刻,例如,所述时间参数为时间长度,预设范围 为20分钟,则所述时间参数不超过20分钟;又例如,若所述时间参数为时刻,预设范围为20分钟,则所述时间参数与所述控制器获取到所述时间参数时的时刻的间隔不超过20分钟。预先配置的默认时间参数由用户预先设定或出厂预先设定,所述默认时间参数具体是时间长度或者时刻,例如,预先设定为5分钟,又例如,预先设定为在所述控制器切换至定时模式时的时刻经过5分钟后的时刻。
即通过获取用户输入的处于预设范围内的时间参数,满足了不同的照明时长需求;通过预先配置的默认时间参数节省了在切换至定时模式后用户进行时间参数输入的操作,提高了方便度,可应用于照明需求迫切的情况,例如在紧急情况下的照明。
本发明还提供了一种照明电路的控制器的第三实施例,其包括上述照明电路的控制器的第一实施例的一般模式切换模块201、一般模式控制模块202、定时模式切换模块203、定时模式控制模块204、除外模式判断模块205、除外模式切换模块206、除外模式控制模块207,还进一步限定了所述除外模式判断模块包括:
密码输入单元,用于当检测到用户的除外模式切换信号时,判断用户是否在预设的第四预设时间内输入了正确的密码;
第一权限判定单元,用于当用户在所述第四预设时间内输入了正确的密码时,判定用户具有操作权限;
第二权限判定单元,用于当用户没有在所述第四预设时间内输入了正确的密码时,判定用户不具有操作权限。
在本实施例中,所述第四预设时间由用户预先设定或出厂预先设定,例如出厂预先设定为30秒。
在一种实施方式中,所述密码通过与所述控制器的8位I/O端口上连接的4*4矩阵键盘输入,通过循环扫描的方式可以识别不同按键输入的数值。需要说明的是,所述密码的上述输入方式只是本发明的其中一种实施方式,本发明不限于该种实施方式。
即通过判断用户是否在预设的第四预设时间内输入了正确的密码来判断用户是否具有操作权限,相对于其他身份识别方式来说,节省了为控制器录入不同用户身份的繁琐操作,降低了控制器的实现难度和成本。
本发明还提供了一种照明电路的控制器的第四实施例,其包括上述照明电路的控制器的第一实施例的一般模式切换模块201、一般模式控制模块202、定时模式切换模块203、定时模式控制模块204、除外模式判断模块205、除外模式切换模块206、除外模式控制模块207,还进一步限定了所述控制器还包括:默认工作模块,用于在所述控制器接通电源后,直接进入一般模式工作。
即在所述控制器接通电源后为当前工作模式指定一般模式为默认模式,便于应用在以一般模式为常用模式的场景,提高了用户操作的方便度。
本发明提供的照明电路的控制方法及控制器,可以分别在一般模式、定时模式以及除外模式下控制照明电路工作,并且可以根据用户的需求进行切换。其中,在所述一般模式下根据环境音量控制照明电路的通断,防止了能源浪费;在所述定时模式下控制所述照明电路在第一预设时间内保持通路,便于用户进行需要管控照明时间的操作,例如,如果遇到设备检修等需要短时间照明的情况,操作者可以通过预判操作时间对照明电路进行精确定时,防止能源浪费;在所述除外模式下控制所述照明电路保持通路,便于用户进行需长时间照明的操作。在判定用户具有操作权限时,从当前工作模式切换至除外模式,即须由具有权限的人才能将当前工作模式切换至除外模式,防止了由误操作等原因造成的能源浪费。本实施例提供的照明电路的控制方法及控制器考虑了照明电路的实际使用需求,应用于具有多种照明时间需求的工作环境中,例如生产线,既防止了能源浪费,又解决了生产线停止工作时无法进行需要照明设备提供辅助的工作的问题,具有人机交互功能强、智能化程度高、灵活性好的特点。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。

Claims (10)

  1. 一种照明电路的控制方法,其特征在于,由控制器执行,所述方法包括:
    当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;
    在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;
    当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;
    在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在所述第一预设时间结束后从定时模式切换至所述一般模式;
    当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;
    当判定用户具有操作权限时,从当前工作模式切换至除外模式;
    在所述除外模式下,控制所述照明电路保持通路。
  2. 如权利要求1所述的照明电路的控制方法,其特征在于,所述在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断,包括:
    在所述一般模式下,定时检测当前环境音量;
    当检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值时,控制所述照明电路保持通路;
    当检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值时,经过第二预设时间后控制所述照明电路保持断路。
  3. 如权利要求1或2所述的照明电路的控制方法,其特征在于,所述方法还包括:
    在切换至所述定时模式后,判断用户是否在预设的第三预设时间内输入了处于预设范围内的时间参数;
    当用户在所述第三预设时间内输入了处于预设范围内的时间参数时,将所述时间参数作为所述第一预设时间;
    当用户没有在所述第三预设时间内输入了处于预设范围内的时间参数时, 将预先配置的默认时间参数作为所述第一预设时间。
  4. 如权利要求1或2所述的照明电路的控制方法,其特征在于,所述当检测到用户的除外模式切换信号时,判断用户是否具有操作权限,包括:
    当检测到用户的除外模式切换信号时,判断用户是否在预设的第四预设时间内输入了正确的密码;
    当用户在所述第四预设时间内输入了正确的密码时,判定用户具有操作权限;
    当用户没有在所述第四预设时间内输入了正确的密码时,判定用户不具有操作权限。
  5. 如权利要求1或2所述的照明电路的控制方法,其特征在于,所述方法还包括:在所述控制器接通电源后,直接进入一般模式工作。
  6. 一种照明电路的控制器,其特征在于,所述控制器包括:
    一般模式切换模块,用于当检测到用户的一般模式切换信号时,从当前工作模式切换至一般模式;
    一般模式控制模块,用于在所述一般模式下,检测环境音量并根据所述环境音量控制照明电路的通断;
    定时模式切换模块,用于当检测到用户的定时模式切换信号时,从当前工作模式切换至定时模式;
    定时模式控制模块,用于在所述定时模式下,控制所述照明电路在第一预设时间内保持通路,并在所述第一预设时间结束后从定时模式切换至所述一般模式;
    除外模式判断模块,用于当检测到用户的除外模式切换信号时,判断用户是否具有操作权限;
    除外模式切换模块,用于当判定用户具有操作权限时,从当前工作模式切 换至除外模式;
    除外模式控制模块,用于在所述除外模式下,控制所述照明电路保持通路。
  7. 如权利要求6所述的照明电路的控制器,其特征在于,所述一般模式控制模块包括:
    音量检测单元,用于在所述一般模式下,定时检测当前环境音量;
    音控通路模块,用于当检测到所述当前环境音量从低于预设的音量阈值上升至高于所述音量阈值时,控制所述照明电路保持通路;
    音控断路模块,用于当检测到所述当前环境音量从高于所述音量阈值下降至低于所述音量阈值时,经过第二预设时间后控制所述照明电路保持断路。
  8. 如权利要求6或7所述的照明电路的控制器,其特征在于,所述控制器还包括:
    时间输入模块,用于在切换至所述定时模式后,判断用户是否在预设的第三预设时间内输入了处于预设范围内的时间参数;
    时间设定模块,用于当用户在所述第三预设时间内输入了处于预设范围内的时间参数时,将所述时间参数作为所述第一预设时间;
    默认设定模块,用于当用户没有在所述第三预设时间内输入了处于预设范围内的时间参数时,将预先配置的默认时间参数作为所述第一预设时间。
  9. 如权利要求6或7所述的照明电路的控制器,其特征在于,所述除外模式判断模块包括:
    密码输入单元,用于当检测到用户的除外模式切换信号时,判断用户是否在预设的第四预设时间内输入了正确的密码;
    第一权限判定单元,用于当用户在所述第四预设时间内输入了正确的密码时,判定用户具有操作权限;
    第二权限判定单元,用于当用户没有在所述第四预设时间内输入了正确的 密码时,判定用户不具有操作权限。
  10. 如权利要求6或7所述的照明电路的控制器,其特征在于,所述控制器还包括:默认工作模块,用于在所述控制器接通电源后,直接进入一般模式工作。
PCT/CN2017/114892 2017-08-01 2017-12-07 照明电路的控制方法及控制器 WO2019024371A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018517333A JP6709848B2 (ja) 2017-08-01 2017-12-07 照明回路の制御方法及び制御器

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710649818.XA CN107302822B (zh) 2017-08-01 2017-08-01 照明电路的控制方法及控制器
CN201710649818.X 2017-08-01

Publications (1)

Publication Number Publication Date
WO2019024371A1 true WO2019024371A1 (zh) 2019-02-07

Family

ID=60134259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114892 WO2019024371A1 (zh) 2017-08-01 2017-12-07 照明电路的控制方法及控制器

Country Status (3)

Country Link
JP (1) JP6709848B2 (zh)
CN (1) CN107302822B (zh)
WO (1) WO2019024371A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302822B (zh) * 2017-08-01 2019-07-16 广汽本田汽车有限公司 照明电路的控制方法及控制器
CN109901428B (zh) * 2019-02-18 2020-07-07 佛山市顺德区美的洗涤电器制造有限公司 一种家电设备及其负载档位控制方法和装置
CN110311688B (zh) * 2019-06-13 2023-05-02 广汽零部件有限公司 一种双路采集校验物理按键

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102777817A (zh) * 2012-06-27 2012-11-14 苏州烁尔新材料有限公司 Eva胶膜生产线收卷单元的照明设备
US20150296594A1 (en) * 2014-04-14 2015-10-15 Abl Ip Holding Llc Learning capable lighting equipment
CN205105424U (zh) * 2015-09-23 2016-03-23 嘉通奥祺科技(天津)有限公司 一种基于dali的汽车生产线照明系统
CN205105425U (zh) * 2015-09-23 2016-03-23 嘉通奥祺科技(天津)有限公司 一种汽车生产线照明系统
CN106376144A (zh) * 2016-11-24 2017-02-01 南京科技职业学院 一种生产线自动照明灯具控制系统
CN107302822A (zh) * 2017-08-01 2017-10-27 广汽本田汽车有限公司 照明电路的控制方法及控制器

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003243183A (ja) * 2002-02-15 2003-08-29 Matsushita Electric Works Ltd 照明装置
CN201265851Y (zh) * 2008-09-03 2009-07-01 李光曦 声控发光帽
CN201396611Y (zh) * 2009-05-19 2010-02-03 赵党生 一种兼具照明和杀菌功能的led组合灯具
CN201811097U (zh) * 2010-09-25 2011-04-27 刘建勋 全自动感应水族箱照明系统
CN202261921U (zh) * 2011-08-24 2012-05-30 天长市旭光电子有限公司 一种多功能应急灯
JP6179713B2 (ja) * 2013-08-23 2017-08-16 パナソニックIpマネジメント株式会社 照明装置、および照明方法
CN105491764A (zh) * 2016-01-11 2016-04-13 浙江大学 一种走廊灯光的定时模式切换控制电路
CN105764188A (zh) * 2016-03-23 2016-07-13 北京百度网讯科技有限公司 照明控制器、照明控制系统和方法
CN106247211A (zh) * 2016-09-06 2016-12-21 安徽大学 智能调光台灯及其调光控制系统
CN206164951U (zh) * 2016-11-17 2017-05-10 常熟理工学院 一种定时和自动调节的智能路灯控制装置
CN106900108B (zh) * 2017-02-28 2018-10-26 横店集团得邦照明股份有限公司 一种自组织led场景灯

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102777817A (zh) * 2012-06-27 2012-11-14 苏州烁尔新材料有限公司 Eva胶膜生产线收卷单元的照明设备
US20150296594A1 (en) * 2014-04-14 2015-10-15 Abl Ip Holding Llc Learning capable lighting equipment
CN205105424U (zh) * 2015-09-23 2016-03-23 嘉通奥祺科技(天津)有限公司 一种基于dali的汽车生产线照明系统
CN205105425U (zh) * 2015-09-23 2016-03-23 嘉通奥祺科技(天津)有限公司 一种汽车生产线照明系统
CN106376144A (zh) * 2016-11-24 2017-02-01 南京科技职业学院 一种生产线自动照明灯具控制系统
CN107302822A (zh) * 2017-08-01 2017-10-27 广汽本田汽车有限公司 照明电路的控制方法及控制器

Also Published As

Publication number Publication date
JP6709848B2 (ja) 2020-06-17
CN107302822B (zh) 2019-07-16
JP2019530126A (ja) 2019-10-17
CN107302822A (zh) 2017-10-27

Similar Documents

Publication Publication Date Title
WO2019024371A1 (zh) 照明电路的控制方法及控制器
WO2018028132A1 (zh) Wifi异常自动重连装置、系统及方法
CN106484061A (zh) 终端复位控制方法、控制器及系统
US9691352B2 (en) Control method and device thereof
KR20100038956A (ko) 휴대용 단말기의 배터리 게이징 방법 및 장치
CN105972751B (zh) 空调器及其显示板亮度控制方法
WO2015131554A1 (zh) 一种屏幕亮度调节的方法、装置及电子设备
CN103081570A (zh) 设备控制系统
CN107295125B (zh) 一种手持终端开关电路及控制方法
US8154651B2 (en) Image recording apparatus and control method thereof
JP2008015463A (ja) Lcdバックライト用デジタルインバータのlcc
CN103914229B (zh) 智能终端的信息处理方法和移动终端
CN107145402A (zh) 一种检测软件宕机的方法和电子设备
CN105320587A (zh) 一种智能电子大屏处理器高温预警方法和装置
CN110701795A (zh) 燃气热水器控制方法及燃气热水器
CN204003557U (zh) 带语音播报的实验台风机控制系统
JP2000166088A (ja) 電源遮断装置
RU2014152793A (ru) Способы и система для перехода в резервный режим обратной связи вспомогательного контура
JP6748528B2 (ja) インバータ装置
KR100476095B1 (ko) 이온수 생성기의 제어구조
JPS63129236A (ja) 空気調和機の制御装置
JPH1139066A (ja) パーソナルコンピュータの自動電源制御装置
JPH01177285A (ja) Crt電源制御装置
KR20140141049A (ko) 인공지능 전기스위치 자동 제어 장치
JPH03156515A (ja) システムリセツト回路方式

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018517333

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919694

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17919694

Country of ref document: EP

Kind code of ref document: A1