CN110873316A - Lamp, moon phase change control method and device - Google Patents

Lamp, moon phase change control method and device Download PDF

Info

Publication number
CN110873316A
CN110873316A CN201811010648.1A CN201811010648A CN110873316A CN 110873316 A CN110873316 A CN 110873316A CN 201811010648 A CN201811010648 A CN 201811010648A CN 110873316 A CN110873316 A CN 110873316A
Authority
CN
China
Prior art keywords
circular
lamp body
driving device
lunar phase
circular baffle
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.)
Pending
Application number
CN201811010648.1A
Other languages
Chinese (zh)
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.)
Guangzhou Into A Home Science And Technology Co Ltd
Original Assignee
Guangzhou Into A Home Science And Technology 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 Guangzhou Into A Home Science And Technology Co Ltd filed Critical Guangzhou Into A Home Science And Technology Co Ltd
Priority to CN201811010648.1A priority Critical patent/CN110873316A/en
Publication of CN110873316A publication Critical patent/CN110873316A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V1/00Shades for light sources, i.e. lampshades for table, floor, wall or ceiling lamps
    • F21V1/10Rotating shades
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V23/00Arrangement of electric circuit elements in or on lighting devices
    • F21V23/003Arrangement of electric circuit elements in or on lighting devices the elements being electronics drivers or controllers for operating the light source, e.g. for a LED array
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V33/00Structural combinations of lighting devices with other articles, not otherwise provided for
    • F21V33/0004Personal or domestic articles
    • F21V33/0052Audio or video equipment, e.g. televisions, telephones, cameras or computers; Remote control devices therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Non-Portable Lighting Devices Or Systems Thereof (AREA)

Abstract

The application relates to the technical field of illumination, in particular to a method and a device for controlling changes of a lamp and a moon phase. The lamp comprises a circular baffle, a circular lamp body, a driving device and a controller, the area of the circular baffle is not smaller than that of the circular lamp body, the controller is electrically connected with the driving device, the controller controls the working state of the driving device, the relative position of the circular baffle and the circular lamp body is changed when the driving device works, the projection area of the circular baffle on the circular lamp body can be adjusted by the driving device in the working process, the area of the light transmission part of the circular lamp body is changed, and the effect of lunar phase change is simulated. The lamp provided by the embodiment of the invention adopts the structures of the circular baffle and the circular lamp body, so that a user can observe the lunar phase change effect under a wide viewing angle.

Description

Lamp, moon phase change control method and device
Technical Field
The invention relates to the technical field of illumination, in particular to a lamp and moon phase change control method and device.
Background
With the continuous improvement of living standard of people, people have higher and higher requirements on the viewing effect of lamps and lanterns, at present, some manufacturers provide a spherical moon phase lamp capable of realizing moon phase change, the work of a stepping motor is controlled by a main controller, the stepping motor drives a spherical light shield connected with the stepping motor to rotate around a light emitting source during the work, the size change of a light transmission part under a certain angle is realized by controlling the rotation of the light shield, and the effect of moon phase change can be viewed under a specific angle.
In the implementation process, the inventor finds that the traditional technology has at least the following disadvantages: in life, a user cannot well appreciate the effect of the change of the lunar phase when observing from other visual angles, and the functionality of the lamp is poor.
Disclosure of Invention
In view of the above, it is necessary to provide a lamp, a method and an apparatus for controlling a change in lunar phase, in order to solve the problem of poor lamp functionality of the change in lunar phase provided in the conventional art.
In one aspect, an embodiment of the present invention provides a lamp, including a circular baffle, a circular lamp body, a driving device, and a controller, where an area of the circular baffle is not smaller than an area of the circular lamp body, and the controller is electrically connected to the driving device and is configured to control a working state of the driving device, so that the driving device adjusts a projection area of the circular baffle on the circular lamp body.
In one embodiment, the drive device comprises a drive mechanism and a linkage;
the driving mechanism is mechanically connected with the circular baffle through a connecting piece;
the controller is electrically connected with the driving mechanism and is used for controlling the motion state of the driving mechanism so that the driving mechanism can adjust the projection area of the circular baffle plate on the circular lamp body through the connecting piece.
In one embodiment, the driving mechanism comprises a driver and a stepping motor, the controller is electrically connected with an input end of the driver, an output end of the driver is electrically connected with an input end of the stepping motor, and an output shaft of the stepping motor is mechanically connected with the connecting piece.
Another aspect of the embodiments of the present invention further provides a method for controlling a lunar phase change based on the above lamp, including:
acquiring lunar phase trigger information;
and controlling the working state of the driving device according to the lunar phase trigger information, and adjusting the projection area of the circular baffle plate on the circular lamp body.
In one embodiment, the lunar phase trigger information includes a date parameter, and the step of controlling the operating state of the driving device according to the lunar phase trigger information includes:
generating mobile information according to the date parameter;
and controlling the working state of the driving device according to the movement information.
In one embodiment, the movement information includes a first movement amount and a second movement amount, and the step of controlling the operating state of the driving device based on the movement information includes:
controlling the relative displacement of the circular baffle and the circular lamp body in the first direction according to the first displacement;
and controlling the relative displacement of the circular baffle and the circular lamp body in the second direction according to the second displacement.
In one embodiment, the method for controlling lunar phase change further comprises:
acquiring relative position information between the current circular baffle and the circular lamp body;
the step of generating movement information based on the date parameter includes:
obtaining a target projection area corresponding to the date parameter according to the date parameter;
and generating movement information according to the target projection area and the current relative position information between the circular baffle and the circular lamp body.
An embodiment of the present invention further provides a device for controlling lunar phase change, including:
the trigger information acquisition module is used for acquiring lunar phase trigger information;
and the lunar phase control module is used for controlling the working state of the driving device according to the lunar phase trigger information and adjusting the projection area of the circular baffle plate on the circular lamp body.
A computer device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the lunar phase change control method.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described method for controlling a change of lunar phase.
One or more embodiments provided by the invention have at least the following beneficial effects: the lamp provided by the embodiment of the invention comprises a circular baffle, a circular lamp body, a driving device and a controller, wherein the area of the circular baffle is not smaller than that of the circular lamp body, the controller is electrically connected with the driving device, the controller controls the working state of the driving device, the relative position of the circular baffle and the circular lamp body is changed when the driving device works, the projection area of the circular baffle on the circular lamp body can be adjusted by the driving device in the working process, the area of the light transmission part of the circular lamp body is changed, and the effect of lunar phase change is simulated. The lamp provided by the embodiment of the invention adopts the structures of the circular baffle and the circular lamp body, so that a user can observe the lunar phase change effect under a wide viewing angle.
According to the method for controlling the lunar phase change of the lamp, the lunar phase effect of the lamp required by a user is known by acquiring the lunar phase trigger information, then the working state of the driving device is controlled according to the lunar phase trigger information, the relative position of the circular baffle and the circular lamp body is changed during the working process of the driving device, so that the projection area of the circular baffle on the circular lamp body is adjusted, the area of the light transmission part of the circular lamp body is changed, the lunar phase change effect is achieved, and the user can observe the lunar phase change effect under a wide viewing angle.
Drawings
FIG. 1 is a schematic view of the mechanism of a lamp in one embodiment;
FIG. 2 is a schematic view of the mechanism of a lamp in another embodiment;
FIG. 3 is a schematic diagram of the electrical connections between the controller and the driving device in the lamp according to one embodiment;
FIG. 4 is a diagram illustrating the connection between electrical components of the lamp in one embodiment;
FIG. 5 is a control flow chart of a method of controlling a change in lunar phase of a lamp in one embodiment;
FIG. 6 is a flowchart illustrating steps for controlling the operation of the driving device according to the lunar phase trigger information according to an embodiment;
FIG. 7 is a flowchart illustrating steps for controlling the operation of the driving device according to the movement information according to an embodiment;
FIG. 8 is a schematic flow chart illustrating a method for controlling lunar phase changes in another embodiment;
FIG. 9 is a flowchart illustrating the step of obtaining a target projected area corresponding to a date parameter according to the date parameter in one embodiment;
FIG. 10 is a block diagram showing the construction of a moon phase change control apparatus according to an embodiment;
FIG. 11 is a block diagram of a lunar phase control module in one embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element and be integral therewith, or intervening elements may also be present. The terms "mounted," "one end," "the other end," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The embodiment of the invention provides a lamp, as shown in fig. 1, which includes a circular baffle 10, a circular lamp body 20, a driving device 30 and a controller 40, wherein the area of the circular baffle 10 is not smaller than the area of the circular lamp body 20, and the controller 40 is electrically connected to the driving device 30 and is used for controlling the working state of the driving device 30, so that the driving device 30 adjusts the projection area of the circular baffle 10 on the circular lamp body 20.
The circular baffle 10 is a device for blocking light emitted from the circular lamp body 20, and may be a light-tight baffle or a slightly light-permeable baffle. The circular lamp body 20 refers to a lamp body having a circular shape that can emit a light source. The controller 40 is a device capable of controlling the operating state of the driving device 30, and may be, for example, a PLC, a control board, or the like. The driving device 30 is a device that can drive the circular baffle 10 and/or the circular lamp body 20 to move during operation, and may be a device composed of a motor, for example. The projected area of the circular baffle 10 on the circular lamp body 20 is the area of the projection of the circular baffle 10 in the normal direction of the plane where the circle of the circular lamp body 20 is located.
Specifically, the controller 40 controls the driving device 30 to operate, and when the driving device 30 operates, the circular baffle 10 and/or the circular lamp body 20 are/is driven to move, the relative position relationship between the circular baffle 10 and the circular lamp body 20 is adjusted, the projection area of the circular baffle 10 on the circular lamp body 20 is changed, the lunar phase change control is realized, and the lamp has a lunar phase effect. According to the lamp provided by the embodiment of the invention, the circular baffle 10 and the circular lamp body 20 are adopted, the controller 40 and the driving device 30 are relied on, when the lamp works, the relative position relation between the circular baffle 10 and the circular lamp body 20 can be changed, namely, the area of the circular baffle 10 for shielding the circular lamp body 20 is changed, the shape of light projected by the circular lamp body 20 presents a lunar phase effect, the circular baffle 10 and the circular lamp body 20 are adopted, the lunar phase effect can be observed in a large visual angle range, and the lamp is good in functionality. Alternatively, the circular lamp body 20 is provided with a cavity, and the controller 40 is disposed in the cavity.
Optionally, the plane of the circle of the circular baffle 10 and the plane of the circle of the circular lamp body 20 may be substantially parallel to each other, so as to ensure that a better lunar phase effect can be presented when the circular baffle 10 and/or the circular lamp body 20 are driven to move. It should be noted that, there are various ways for the driving device 30 to adjust the projection area of the circular baffle 10 on the circular lamp body 20, for example, the driving device 30 can drive the circular baffle 10 to move, and keep the circular lamp body 20 still, so as to change the projection area of the circular baffle 10 on the circular lamp body 20; the driving device 30 may also drive the circular lamp body 20 to move, and keep the circular baffle 10 stationary, so as to change the projection area of the circular baffle 10 on the circular lamp body 20, and achieve the lunar phase change effect; the driving device 30 can also control the circular lamp body 20 and the circular baffle 10 to move together, and adjust the relative position relationship between the circular baffle 10 and the circular lamp body 20, so as to present the lunar phase change effect.
In one embodiment, as shown in fig. 2, the driving device 30 includes a driving mechanism 31 and a connecting member 32; the driving mechanism 31 is mechanically connected with the circular baffle 10 through a connecting piece 32; the controller 40 is electrically connected to the driving mechanism 31 and is used for controlling the motion state of the driving mechanism 31, so that the driving mechanism 31 adjusts the projection area of the circular baffle 10 on the circular lamp body 20 through the connecting member 32.
The driving mechanism 31 is a device that can drive the connecting member 32 to move, and may be a motor or the like, for example. The link 32 is a mechanical member for connecting the drive mechanism 31 and the circular barrier 10. Specifically, the controller 40 controls the operating state of the driving mechanism 31 as required, when the driving mechanism 31 operates, the connecting member 32 connected to the driving mechanism 31 is driven to move, the connecting member 32 drives the circular baffle 10 to move together, and when the controller 40 controls the driving mechanism 31 to stop operating, the driving mechanism 31 drives the circular baffle 10 to move to a certain position, at this time, the projection area of the circular baffle 10 on the circular lamp body 20 changes, that is, the light-transmitting portion of the circular lamp body 20 shows a lunar phase effect. The controller 40 can change the lunar phase effect by controlling the motion state of the driving mechanism 31, for example, in fifteen, the controller 40 controls the driving mechanism 31 to work, the driving mechanism 31 drives the circular baffle 10 to move to the position with the projection area of 0 on the circular lamp body 20 through the connecting member 32, at this time, the circular baffle 10 does not shield the light source of the circular lamp body 20, and the circular lamp body 20 emits circular light, which is consistent with the fifteen full moon effect. The driving mechanism 31 may also be a device such as a coil that can generate a magnetic field effect, the controller 40 may adjust the magnitude and direction of the generated magnetic force by controlling the power-on condition of the driving mechanism 31, and the driving mechanism 31 guides the connecting member 32 to move by means of the magnetic force, and the circular baffle 10 connected to the connecting member 32 moves together with the connecting member to realize a lunar phase change effect.
In one embodiment, as shown in fig. 3, the driving mechanism 31 includes a driver 311 and a stepping motor 312, the controller 40 is electrically connected to an input terminal of the driver 311, an output terminal of the driver 311 is electrically connected to an input terminal of the stepping motor 312, and an output shaft of the stepping motor 312 is mechanically connected to the connecting member 32. The controller 40 outputs pulses to the driver 311 according to the needs of a user, the driver 311 converts the pulses sent by the controller 40 into angular displacement and sends the angular displacement to the stepping motor 312, the stepping motor 312 works according to the received angular displacement to drive the connecting piece 32 connected with the output shaft of the stepping motor to move, the circular baffle 10 connected with the connecting piece 32 also moves along with the angular displacement, when the controller 40 stops outputting the pulses, the circular baffle 10 stops moving, in the process, the relative position between the circular baffle 10 and the circular lamp body 20 changes, the projection area of the circular baffle 10 on the circular lamp body 20 changes, and the moon phase of the lamp formed by the circular lamp body 20 and the circular baffle 10 also changes when the lamp emits light. When the circular baffle 10 is moved, the moving direction can be selected in many ways, for example, when the circular baffle 10 and the circular lamp body 20 are arranged in parallel, the driving mechanism 31 can drive the circular baffle 10 to move in any direction of the plane where the circular baffle 10 is located, for example, the vertical and horizontal directions, etc. The circular baffle 10 and the circular lamp body 20 may be disposed at a small included angle, for example, may be disposed at 0 to 15 degrees. The driving mechanism 31 can also drive the circular baffle 10 to move in any direction on a plane with a small included angle with the circular baffle 10, so as to realize the lunar phase change effect. It should be noted that any arrangement that can change the light transmission part of the circular lamp body 20 when the circular baffle 10 moves so that the light transmission part exhibits the lunar phase effect is within the protection scope of the present invention.
In one embodiment, as shown in fig. 4, the lamp further comprises a wireless communication module 50, the controller 40 being connected to the wireless communication module 50, the wireless communication module 50 being used for communication with the terminal.
The terminal refers to terminal equipment such as a mobile phone, a tablet, a computer and the like. The lamp provided by the embodiment of the invention further comprises a wireless communication module 50, wherein the wireless communication module 50 is used for receiving information sent by a terminal and forwarding the information capable of reflecting the user requirements to the controller 40, and the controller 40 controls the working state of the driving device 30 according to the information, so that the driving device 30 adjusts the projection area of the circular baffle plate 10 on the circular lamp body 20, the integral lunar phase effect of the lamp is changed, and the lunar phase effect required by the user is obtained. Alternatively, the circular lamp body 20 is provided with a cavity, and the wireless communication module 50 may be provided in the cavity. Alternatively, the wireless communication module 50 may be disposed in the cavity.
In one embodiment, as shown in FIG. 4, the light further includes a camera 60, and the controller 40 is coupled to the camera 60. The lamp provided by the embodiment of the invention also has a camera shooting function, and when the camera shooting is needed, the controller 40 controls the camera 60 to start to collect image information. The image information that camera 60 gathered can be fed back to controller 40, controller 40 can be with image information storage, controller 40 can also send the information that camera 60 gathered for the terminal through above-mentioned wireless communication module 50, the user can obtain and browse the image information that camera 60 gathered on the terminal in real time, also convenience of customers according to lamp environment and self demand, send information for controller 40 to adjust the moon phase effect of lamp. Alternatively, the camera 60 may be disposed in the cavity.
In one embodiment, as shown in FIG. 4, the lamp further includes a projector 70, and the controller 40 is electrically connected to the projector 70. The lamp provided by the embodiment of the invention further comprises a projector 70, the controller 40 is connected with the projector 70, for example, when a user wants to play a video at a dining room, the controller 40 can control the projector 70 to work, and a picture can be projected on a wall or a table. Alternatively, the projector 70 may be disposed in the cavity.
In one embodiment, as shown in FIG. 4, the lamp further includes an audio box 80, and the controller 40 is coupled to the audio box 80. When it is necessary to play sound, the controller 40 controls the sound box 80 to operate, and plays music or audio matched with the video played by the projector 70. Alternatively, the enclosure 80 may be disposed in the cavity.
Another aspect of the embodiments of the present invention further provides a method for controlling a lunar phase change based on the above lamp, as shown in fig. 5, including:
s20: acquiring lunar phase trigger information;
s40: the operating state of the driving device 30 is controlled according to the lunar phase trigger information, and the projection area of the circular baffle 10 on the circular lamp body 20 is adjusted.
Here, the lunar phase trigger information is information for instructing the controller 40 to control the driving device 30 to operate so as to adjust the shadow area of the circular blocking plate 10 on the circular lamp body 20. For example, the lunar phase trigger information may include a date parameter, etc., and may also include a command sent by the user and reflecting the lunar phase required by the user, etc. The definitions of the driving device 30 and the circular baffle 10 are the same as those of the lamp embodiments, and are not described herein.
Specifically, lunar phase trigger information is obtained first, lunar phase states which need to be presented by the lamp can be known according to the lunar phase trigger information, and the working state of the driving device 30 is controlled according to the lunar phase trigger information, so that the driving device 30 drives the circular baffle 10 and/or the circular lamp body 20 to move when working, the relative position relationship between the circular baffle 10 and the circular lamp body 20 is adjusted, the projection area of the circular baffle 10 on the circular lamp body 20 is changed, and a desired lunar phase effect is obtained. For example, if the lunar phase trigger information reflects that the lamp is required to exhibit a lunar phase effect of fifteen pleths, the driving device 30 may be controlled to operate according to the lunar phase trigger information, the driving device 30 drives the circular baffle 10 and/or the circular lamp body 20 to move until the projection area of the circular baffle 10 on the circular lamp body 20 becomes 0, and at this time, the driving device 30 may be controlled to stop operating, so that the lamp exhibits the desired lunar phase effect. The method for controlling the lunar phase change of the lamp provided by the embodiment of the invention can control the working state of the driving device 30 according to the requirement of a user, so that the driving device 30 can adjust the lunar phase effect of the part of the circular lamp body 20 which is not shielded by the circular baffle 10.
In one embodiment, as shown in fig. 6, the lunar phase trigger information includes a date parameter, and the step of controlling the operating state of the driving device 30 according to the lunar phase trigger information includes:
s41: generating mobile information according to the date parameter;
s42: the operating state of the driving device 30 is controlled based on the movement information.
The date parameter may be updated in real time through networking, may be output from an internal clock circuit of the controller 40, or may be transmitted by wireless communication after being input by a user at a terminal such as a mobile phone. The movement information is information for instructing how the driving device 30 moves, and is information for instructing the driving device 30 to drive the circular blocking plate 10 and/or the circular lamp body 20 to move relatively, so that the moon phase displayed by the entire lamp coincides with the moon phase of the moon corresponding to the date. Specifically, movement information corresponding to the date is generated according to the date parameter, then the working state of the driving device 30 is controlled according to the obtained movement information, the relative position relationship of the circular baffle 10 and/or the circular lamp body 20 driven by the driving device 30 is changed, the lunar phase effect corresponding to the date is obtained, the lunar phase presented by the lamp is controlled to be consistent with the current date by obtaining the current date, lunar phase synchronization is realized, and the lunar phase of the lamp can be automatically updated. For example, when the current date is the first date, the movement information is generated according to the acquired date parameters, and the driving device 30 is instructed to drive the circular baffle 10 and/or the circular lamp body 20, so that the circular baffle 10 can completely shield the circular lamp body 20 in the working process of the driving device 30, and when the circular surface of the circular lamp body 20 is looked forward, the bright light cannot be seen, and the whole lamp presents a lunar phase. For another example, when the current date is fifteen, movement information is generated according to the acquired date parameter, and the driving device 30 is instructed to drive the circular baffle 10 and/or the circular lamp body 20, so that the driving device 30 makes the projection area of the circular baffle 10 on the circular lamp body 20 be 0 in the working process, when the circular surface of the circular lamp body 20 is viewed, the circular light emitted by the circular surface of the complete circular lamp body 20 can be seen, and the whole lamp presents a full-moon phase. The lunar phase change control method provided by the embodiment of the invention can realize that the lunar phase effect corresponding to the date can be automatically presented along with the date change of the lamp, and the function is good.
In one embodiment, as shown in fig. 7, the movement information includes a first movement amount and a second movement amount, and the step of controlling the operating state of the driving device 30 based on the movement information includes:
s421: controlling the relative displacement of the circular baffle 10 and the circular lamp body 20 in the first direction according to the first displacement;
s422: the relative displacement amount of the circular blocking plate 10 and the circular lamp body 20 in the second direction is controlled according to the second displacement amount.
The first and second movement amounts are parameters indicating the movement amounts of the driving device 30 in the first and second directions. For example, the first direction may be a horizontal direction, the second direction may be a vertical direction, and the first movement amount is a component of a relative total displacement amount in the horizontal direction, which is required for the circular baffle 10 and the circular lamp body 20 to move relatively, and similarly, the second movement amount is a component of the relative total displacement amount in the vertical direction.
Specifically, the movement information includes a first movement amount and a second movement amount, and after the movement information is obtained, the relative displacement amount of the circular baffle 10 and the circular lamp body 20 in the first direction is controlled according to the first movement amount in the movement information, and meanwhile, the relative displacement amount of the circular baffle 10 and the circular lamp body 20 in the second direction is controlled according to the second movement amount, so that the circular baffle 10 and the circular lamp body 20 are in a relative position state corresponding to a desired moon.
In one embodiment, as shown in fig. 8, the method for controlling lunar phase change further includes:
s10: acquiring the relative position information between the current circular baffle 10 and the circular lamp body 20;
the step of generating movement information based on the date parameter includes:
s411: obtaining a target projection area corresponding to the date parameter according to the date parameter;
s412: and generating movement information according to the target projection area and the current relative position information between the circular baffle 10 and the circular lamp body 20.
Here, the current relative position information between the circular baffle 10 and the circular lamp body 20 refers to information reflecting the relative position relationship between the circular baffle 10 and the circular lamp body 20 in the last month phase state. For example, yesterday is the lunar calendar fourteen, the relative position between the circular baffle 10 and the circular lamp body 20 makes the whole lamp exhibit the lunar phase effect corresponding to the fourteen-month phase, at this time, the circular baffle 10 and the circular lamp body 20 have a relative position relationship, and the information capable of reflecting the relative position relationship is the relative position information. The information may be the displacement between the center of the circular baffle 10 and the center of the circular lamp body 20. The target projection area is the projection area of the circular baffle 10 on the circular lamp body 20 when the lamp presents the required moon phase.
Specifically, the relative position information between the current circular baffle 10 and the circular lamp body 20 is obtained, then the target projection area corresponding to the date is obtained according to the date parameter, which may be in a table look-up manner, and the target projection area is found in a pre-stored relationship table between the date parameter and the target projection area, and then the total shift amount required by the driving device 30 to drive the circular baffle 10 and/or the circular lamp body 20 to move relative to each other is obtained according to the relative position information between the current circular baffle 10 and the circular lamp body 20 and the target projection area, so as to generate the movement information.
In one embodiment, as shown in fig. 9, the step of obtaining the target projection area corresponding to the date parameter according to the date parameter includes:
s4111: a relation table of date parameters and target projection areas is established in advance;
s4112: and according to the date parameter, looking up a table to obtain the target projection area corresponding to the date parameter.
It should be understood that although the various steps in the flow charts of fig. 5-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 5-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
An embodiment of the present invention further provides a lunar phase change control apparatus, as shown in fig. 10, including:
the trigger information acquisition module 1 is used for acquiring lunar phase trigger information;
and the lunar phase control module 2 is used for controlling the working state of the driving device 30 according to the lunar phase trigger information and adjusting the projection area of the circular baffle 10 on the circular lamp body 20.
The definitions of the lunar phase trigger information and the like are the same as those in the above embodiments, and are not described herein. The trigger information obtaining module 1 obtains lunar phase trigger information and then sends the lunar phase trigger information to the lunar phase control module 2, and the lunar phase control module 2 controls the working state of the driving device 30 according to the lunar phase trigger information to adjust the projection area of the circular baffle 10 on the circular lamp body 20.
In one embodiment, as shown in fig. 11, the lunar phase control module includes:
a movement information generating unit 21 for generating movement information based on the date parameter;
the control unit 22 of the driving device 30 is used for controlling the working state of the driving device 30 according to the movement information.
The definitions of the terms such as date parameter are the same as those in the above embodiments, and are not described herein. The movement information generating unit 21 generates movement information based on the date parameter and transmits the movement information to the control unit 22 of the driving device 30, and the control unit 22 of the driving device 30 controls the operating state of the driving device 30 based on the movement information.
For specific limitations of the lunar phase change control device, reference may be made to the above limitations of the lunar phase change control method, which is not described herein again. All or part of the modules in the lunar phase change control device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing data such as a pre-established relation table of date parameters and target projection areas, image information collected by the camera and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling a change of phase of the moon.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps shown in fig. 1 when executing the computer program:
s20: acquiring lunar phase trigger information;
s40: the operating state of the driving device 30 is controlled according to the lunar phase trigger information, and the projection area of the circular baffle 10 on the circular lamp body 20 is adjusted.
In the computer device provided by the embodiment of the invention, the processor on the computer device can control the lamp to present the required lunar phase effect when executing the computer program stored on the memory.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of:
s20: acquiring lunar phase trigger information;
s40: the operating state of the driving device 30 is controlled according to the lunar phase trigger information, and the projection area of the circular baffle 10 on the circular lamp body 20 is adjusted.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. The lamp is characterized by comprising a circular baffle, a circular lamp body, a driving device and a controller, wherein the area of the circular baffle is not smaller than that of the circular lamp body, and the controller is electrically connected with the driving device and is used for controlling the working state of the driving device so that the driving device can adjust the projection area of the circular baffle on the circular lamp body.
2. The lamp of claim 1, wherein the driving means comprises a driving mechanism and a connector;
the driving mechanism is mechanically connected with the circular baffle through the connecting piece;
the controller is electrically connected with the driving mechanism and is used for controlling the motion state of the driving mechanism so that the driving mechanism can adjust the projection area of the circular baffle plate on the circular lamp body through the connecting piece.
3. The lamp of claim 2, wherein the driving mechanism comprises a driver and a stepper motor, the controller is electrically connected to an input of the driver, an output of the driver is electrically connected to an input of the stepper motor, and an output shaft of the stepper motor is mechanically connected to the connector.
4. A method for controlling a change in the lunar phase based on a lamp according to any one of claims 1 to 3, comprising:
acquiring lunar phase trigger information;
and controlling the working state of the driving device according to the lunar phase trigger information, and adjusting the projection area of the circular baffle plate on the circular lamp body.
5. The method for controlling a change of lunar phase according to claim 4, wherein the lunar phase trigger information includes a date parameter, and the step of controlling the operation state of the driving apparatus according to the lunar phase trigger information includes:
generating mobile information according to the date parameter;
and controlling the working state of the driving device according to the movement information.
6. The method for controlling a change of lunar phase according to claim 5, wherein the movement information includes a first movement amount and a second movement amount, and the step of controlling the operation state of the driving device based on the movement information includes:
controlling the relative displacement of the circular baffle and the circular lamp body in a first direction according to the first displacement;
and controlling the relative displacement of the circular baffle and the circular lamp body in the second direction according to the second displacement.
7. The lunar phase change control method according to claim 5 or 6, further comprising:
acquiring the relative position information between the current circular baffle and the circular lamp body;
the step of generating movement information according to the date parameter comprises:
according to the date parameter, obtaining a target projection area corresponding to the date parameter;
and generating movement information according to the target projection area and the current relative position information between the circular baffle and the circular lamp body.
8. A lunar phase change control apparatus, comprising:
the trigger information acquisition module is used for acquiring lunar phase trigger information;
and the lunar phase control module is used for controlling the working state of the driving device according to the lunar phase trigger information and adjusting the projection area of the circular baffle plate on the circular lamp body.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method for moon phase change control according to any one of claims 4-7 are implemented by the processor when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method for lunar phase change control according to any one of claims 4-7.
CN201811010648.1A 2018-08-31 2018-08-31 Lamp, moon phase change control method and device Pending CN110873316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811010648.1A CN110873316A (en) 2018-08-31 2018-08-31 Lamp, moon phase change control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811010648.1A CN110873316A (en) 2018-08-31 2018-08-31 Lamp, moon phase change control method and device

Publications (1)

Publication Number Publication Date
CN110873316A true CN110873316A (en) 2020-03-10

Family

ID=69715293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811010648.1A Pending CN110873316A (en) 2018-08-31 2018-08-31 Lamp, moon phase change control method and device

Country Status (1)

Country Link
CN (1) CN110873316A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2862233Y (en) * 2006-01-06 2007-01-24 刘娟 Artificial lunar phase instrument
CN201288972Y (en) * 2008-09-25 2009-08-12 浙江大学 Table lamp with rotary lamp shade
CN301592028S (en) * 2011-01-06 2011-06-22 美的集团有限公司 Ceiling Light (Crescent)
US20120148995A1 (en) * 2006-10-24 2012-06-14 Uncle Milton Industries Apparatus and related methods for the controlled illumination of a convex surface
CN105590543A (en) * 2016-03-16 2016-05-18 陈伟杰 Moon phase instrument
CN205991434U (en) * 2016-07-14 2017-03-01 杭州速太三维科技有限公司 A kind of suspension type 3D printing light fixture of simulation moon phase variety
CN206496308U (en) * 2017-02-25 2017-09-15 佛山市三达高智能科技有限公司 The Moon lamp of moon phase variety can be followed
CN206958837U (en) * 2017-08-03 2018-02-02 张旭芬 A kind of clock Moonlight lamp

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2862233Y (en) * 2006-01-06 2007-01-24 刘娟 Artificial lunar phase instrument
US20120148995A1 (en) * 2006-10-24 2012-06-14 Uncle Milton Industries Apparatus and related methods for the controlled illumination of a convex surface
CN201288972Y (en) * 2008-09-25 2009-08-12 浙江大学 Table lamp with rotary lamp shade
CN301592028S (en) * 2011-01-06 2011-06-22 美的集团有限公司 Ceiling Light (Crescent)
CN105590543A (en) * 2016-03-16 2016-05-18 陈伟杰 Moon phase instrument
CN205991434U (en) * 2016-07-14 2017-03-01 杭州速太三维科技有限公司 A kind of suspension type 3D printing light fixture of simulation moon phase variety
CN206496308U (en) * 2017-02-25 2017-09-15 佛山市三达高智能科技有限公司 The Moon lamp of moon phase variety can be followed
CN206958837U (en) * 2017-08-03 2018-02-02 张旭芬 A kind of clock Moonlight lamp

Similar Documents

Publication Publication Date Title
US10997846B2 (en) Lighting apparatus
CN107526237B (en) Projection device, projection system and projection method
JP6682941B2 (en) projector
CN107439007B (en) Projection-type image display device
US20210366324A1 (en) Content generation method, content projection method, program, and content generation system
JP2014081474A (en) Illuminator for photographing and imaging apparatus
CN104980657A (en) Method and photographing device performing photographing by using flash lamp
US7967450B2 (en) Light amount control device and projector
CN110873316A (en) Lamp, moon phase change control method and device
JP2005257766A (en) Projection device, projection method and program
CN117119294A (en) Shooting method, device, equipment, medium and program of virtual scene
CN110925645A (en) Intelligent lamp system and intelligent lamp control system, method and device
JP2017169086A (en) Display device, control method for display device, and program
KR20210060792A (en) System and method for generating 3D rotating video using turntable and cradle for terminal
CN110876218A (en) Intelligent lamp and control method and device thereof
JP2005236650A (en) Projector
JP2007072859A (en) Apparatus and program for generating cg image
JP2018164168A (en) Display device, display method, and program
JP7217613B2 (en) flash generator
US20230247184A1 (en) Installation information acquisition method, correction method, program, and installation information acquisition system
CN112752078A (en) Operation device, image projection system, operation method, and recording medium
WO2023223758A1 (en) Switcher device, control method, and imaging system
CN211905973U (en) Panoramic projection device and panoramic projection system
JP2019080176A (en) Display device and system and control method
JP7398648B2 (en) Projector and projector control method

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20220128