WO2021056378A1 - Wifi无线dmx灯具及包括它的灯光控制系统 - Google Patents

Wifi无线dmx灯具及包括它的灯光控制系统 Download PDF

Info

Publication number
WO2021056378A1
WO2021056378A1 PCT/CN2019/108368 CN2019108368W WO2021056378A1 WO 2021056378 A1 WO2021056378 A1 WO 2021056378A1 CN 2019108368 W CN2019108368 W CN 2019108368W WO 2021056378 A1 WO2021056378 A1 WO 2021056378A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi
dmx
resistor
chip
pin
Prior art date
Application number
PCT/CN2019/108368
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 PCT/CN2019/108368 priority Critical patent/WO2021056378A1/zh
Publication of WO2021056378A1 publication Critical patent/WO2021056378A1/zh

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21SNON-PORTABLE LIGHTING DEVICES; SYSTEMS THEREOF; VEHICLE LIGHTING DEVICES SPECIALLY ADAPTED FOR VEHICLE EXTERIORS
    • F21S10/00Lighting devices or systems producing a varying lighting effect
    • F21S10/02Lighting devices or systems producing a varying lighting effect changing colors
    • 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/175Controlling the light source by remote control
    • 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/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission

Definitions

  • the present invention relates to a signal transmission device (G08C 17/00) characterized by a radio circuit and a control circuit device (H05B 37/02) for general electric light sources.
  • the present invention particularly relates to a WIFI wireless DMX lamp and a light control system including it.
  • DMX512 The DMX512 protocol was first developed by the USITT (American Theater Technology Association) to control the dimmer from the console with a standard digital interface.
  • DMX512 lamps have very powerful dynamic light control functions, with simple structure, reliable functions and flexible applications. With the advancement of technology, such lamps have appeared in the market: instead of using professional DMX lighting consoles, they use general mobile phones or computers to control DMX lamps, so that DMX lamps have rapidly expanded from professional stage lights and landscape lights to More general lighting control effect occasions.
  • the patent document CN203340348U discloses the technical field of lighting lamps, especially a DMX wireless control moving head lamp. It includes a power supply unit, a main control unit, and a light-emitting assembly.
  • the power supply unit supplies power to the light-emitting assembly through the main control unit; the main control unit is connected to a DMX control unit, and the DMX control unit receives external control signals and passes through the main control unit. Control light-emitting components.
  • the utility model realizes the wireless adjustment and control of the moving head light switch, color conversion, brightness and many other functions through the DMX control unit receiving the external control signal, reduces the complicated wiring and wiring in the traditional moving head light control, enhances the convenience and improves Safety;
  • the moving head lamp can be connected to power supply through the power supply unit with energy storage battery, and it can be repeatedly charged and discharged through the energy storage battery without external power supply. Its structure is simple, the scope of application is wide, and it is limited. It is small in nature and has strong practicability and market promotion value.
  • patent document CN203340348U discloses a DMX wireless control moving head light, it does not disclose a specific wireless control technology embodiment. As can be seen from FIG. 1, there is no wireless control unit in the disclosed embodiment.
  • Patent document CN202282894U discloses a DMX-controlled full-color LED flood light, which includes a flood light body, a microprocessor for controlling decoding, a high-power red, green and blue LED integrated light source, and a DC boost Constant current power supply circuit, a wireless control signal receiving circuit and DMX signal transmitting and receiving circuit.
  • the DC boost constant current power supply circuit, the wireless control signal receiving circuit and the DMX signal transmitting and receiving circuit are connected to the microprocessor.
  • the microprocessor decodes the externally input DMX signal, and outputs three PWM signals to control the DC boost constant current power supply circuit, so as to realize the full-color control of the high-power red, green and blue LED integrated light source.
  • the operator of the lighting control of the utility model can use any DMX console conforming to the DMX512/1990 protocol to control the full-color LED flood light, and at the same time, the operator can use the remote controller to send out wireless control signals to remotely control the full-color LED flood light.
  • the patent document CN202282894U discloses the use of a remote controller to send a wireless control signal to remotely control a full-color LED floodlight. However, as described in paragraph 0021 of the patent document, it discloses an RF wireless control signal receiving circuit.
  • Patent document CN207283890U discloses a device with built-in battery and using WIFI and infrared remote control to control lights.
  • the device includes a housing (1), a control board (2), a battery pack (3), a 2.4G wireless module (4), an infrared receiving module (5), a power switch (8), and the control board (2) is provided with DMX512_XLR interface (13).
  • the device enables the control module to send instructions through WIFI or infrared remote control, which are converted into DMX512 signals by the control module, and through wireless transmission or wired communication connection, the color change and lamp body of peripheral devices with DMX512 input function can be realized.
  • the control of rotation, speed adjustment, brightness adjustment, color temperature adjustment, and flashing light effects is small and light, quick to move, and simple to operate.
  • Patent document CN204465950U discloses a WiFi-based LED lighting control system, including a smart terminal with a visual operation interface, a WiFi repeater and a number of LED controllers connected to the LED load; the WiFi repeater has a WiFi communication module, Used to realize the communication with the smart terminal, to obtain the action control instructions issued by the smart terminal, and/or to feed back the working status and parameters of the controlled LED lamps to the smart terminal; 2.4G communication module is used to realize the communication with each The communication of the LED controller, forwarding the action control instructions to the LED controller, and/or receiving the working status and parameters of the controlled LED lamps fed back by the LED controller; and the micro-control unit, respectively connected to the The WiFi communication module and 2.4G communication module are used to complete the packetization of the sent data frame and the analysis of the received data frame based on the WiFi communication protocol and the 2.4GHz communication protocol.
  • the utility model aims at realizing a arbitrarily customized and arbitrarily expanded WiFi LED lighting system, which is suitable for various application occasions.
  • the patent document CN204465950U discloses a WIFI relay controller, but does not specifically disclose an embodiment of a WIFI signal receiving circuit of a DMX lamp.
  • Patent document CN109803466A discloses a mobile phone APP wireless upgrade system for DMX lamps, which is characterized in that it includes the following steps: (1) editing and encrypting, that is, editing and encrypting the upgrade file of DMX lamps on a computer; (2) sending to Mobile phone, that is, the encrypted upgrade file is transferred to the phone through the computer; (3) Enter the APP, that is, enter the upgrade interface in the mobile phone APP; (4) Select and send, that is, click the corresponding DMX lamp to be upgraded on the APP upgrade interface After the upgrade file is selected, the data will be automatically processed, and then the mobile APP will send the processed upgrade file to the transponder; (5) Check and forward, that is, after the transponder verifies the upgrade file OK, the upgrade file is forwarded to DMX Lamps; (6) Identify and upgrade, that is, DMX lamps will automatically upgrade after identifying the upgrade data.
  • the patent document CN109803466A discloses a wireless W-DMX transponder, but it also does not disclose a specific embodiment of the W-DMX wireless receiving module of the DMX lamp.
  • Patent documents CN203340348U and CN202282894U disclose technical solutions for wireless control of DMX lamps, but they do not disclose specific embodiments of using WIFI to wirelessly control DMX lamps.
  • Patent documents CN204465950U and CN109803466A disclose technical solutions for indirect control of DMX lamps using mobile phone WIFI. They all require a repeater or transponder, but they do not disclose specific embodiments of using mobile phone WIFI to directly control DMX lamps.
  • one of the objectives of the present invention is to propose a WIFI wireless DMX lamp, in which the WIFI wireless module is directly arranged on the circuit board in the DMX lamp, thereby reducing the cost of the DMX lamp in the prior art.
  • Another purpose of the present invention is to propose a WIFI wireless DMX lamp, in which the WIFI wireless module is directly arranged on the circuit board in the DMX lamp, thereby directly increasing the WIFI wireless communication connection for the DMX lamp in the prior art at a reasonable cost.
  • Interface and can transmit professional DMX control data packets through WIFI wireless communication.
  • the second purpose of the present invention is to provide a lighting control system that can control the WIFI wireless DMX through the existing WIFI wireless communication function of a hand-held terminal device such as a smart phone with the help of a professional DMX lighting control data transmission protocol
  • the lamps perform dynamic and changeable light shows.
  • the WIFI wireless DMX lamp can communicate based on the DMX light control data transmission protocol, wherein the WIFI wireless DMX lamp includes a circuit board;
  • the circuit board includes an MCU main control module, and the circuit board is installed in the WIFI wireless DMX lamp;
  • the DMX lighting control data is transmitted from the handheld terminal device to the MCU main control module, and the MCU main control module controls the WIFI wireless DMX lamp to produce a set light change effect;
  • the WIFI wireless DMX lamp further includes an LED light board, and the LED light board includes LED lamp beads;
  • the circuit board also includes a WIFI wireless module and an LED-PWM dimming module, and the WIFI wireless module is located in the WIFI wireless DMX lamp;
  • the WIFI wireless module includes a WIFI processing circuit and a WIFI power switch circuit, the WIFI processing circuit can process input information according to program instructions, and the WIFI power switch circuit can turn on or off the power of the WIFI wireless module;
  • the WIFI processing circuit includes a WIFI chip U10, and the MCU main control module includes a main control chip U2; one end of the resistor RC12 is connected to the pin 22 of the WIFI chip U10, and the other end is connected to the tube of the main control chip U2. Pin 8 is electrically connected; one end of the resistor RC13 is connected to the pin 21 of the WIFI chip U10, and the other end is electrically connected to the pin 9 of the main control chip U2; and the WIFI chip U10 and the mobile smart WIFI terminal are based on UDP transport layer communication protocol for wireless communication;
  • the LED-PWM dimming module includes a power strip JP6, and the pin 24, pin 23, pin 22, and pin 21 of the main control chip U2 are respectively connected to the connection line PWM1 and the connection line PWM2 of the power strip JP6 , Connection line PWM3, connection line PWM4;
  • the WIFI wireless module transmits the received first light control information to the main control chip U2 of the MCU main control module through the pin 21 of the WIFI chip U10;
  • the main control chip U2 processes the first light control information, and generates second light control information
  • the main control chip U2 transmits the second light control information to the LED-PWM dimming module through its pin 24, pin 23, pin 22, and pin 21;
  • the LED-PWM dimming module controls the LED light board according to the second light control information to generate the set light change effect.
  • the lighting control system is characterized in that it includes a handheld terminal device and at least one of the WIFI wireless DMX lamps, and the handheld terminal device communicates with the WIFI wireless DMX lamps through a WIFI wireless communication connection, thereby passing through the handheld terminal
  • the device can control the WIFI wireless DMX lamp to produce the set light change effect.
  • the handheld terminal device sends a UDP data packet to the WIFI wireless DMX lamp communication via a WIFI wireless communication connection.
  • the UDP data packet complies with the Art-Net protocol specification, and the UDP data packet is called the Art-Net protocol data packet. .
  • Figure 1 Schematic diagram of the DMX wireless control moving head light disclosed in patent document CN203340348U;
  • Figure 2 Schematic diagram of the remote-controlled full-color LED flood light disclosed in patent document CN202282894U;
  • FIG. 3 A schematic diagram of the WIFI relay controller disclosed in the patent document CN204465950U;
  • Figure 4 A schematic diagram of the wireless W-DMX transponder disclosed in patent document CN109803466A;
  • Figure 5a A schematic diagram of the circuit board and the LED light board of the preferred embodiment of the WIFI wireless DMX lamp created by the present invention
  • Fig. 5b A schematic diagram of the circuit board and the LED light board of another embodiment of the WIFI wireless DMX lamp created by the present invention
  • Figure 6 A schematic diagram of the LED-PWM dimming module of the circuit board of the preferred embodiment of the stage lighting created by the present invention
  • Figure 7 A schematic diagram of the DMX control module of the circuit board of the preferred embodiment of the stage lighting created by the present invention
  • Figure 8 A schematic diagram of the WIFI wireless module of the circuit board of the preferred embodiment of the stage lighting created by the present invention
  • Figure 9 A schematic diagram of the MCU main control module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • Figure 10 A schematic diagram of the IR wireless module of the circuit board of the preferred embodiment of the stage lighting created by the present invention
  • Figure 11 A schematic diagram of the power module of the circuit board of the preferred embodiment of the stage lighting created by the present invention
  • Figure 12 A schematic diagram of the power management module of the circuit board of the preferred embodiment of the stage lighting created by the present invention
  • Figure 13 A schematic diagram of the component layout of the WIFI wireless module shown in Figure 8;
  • Fig. 14 A schematic diagram of the component layout of the MCU main control module shown in Fig. 9;
  • Figure 15 Schematic diagram of the component layout of the LED-PWM circuit module shown in Figure 6;
  • Figure 16 A schematic diagram of the component layout of the DMX circuit module shown in Figure 7;
  • Figure 17 A schematic diagram of the component layout of the IR circuit module shown in Figure 10;
  • Figure 18 A schematic diagram of the component layout of the power circuit module shown in Figure 11;
  • Figure 19 A schematic diagram of the component layout of the power management circuit module shown in Figure 12;
  • Figure 20 A schematic diagram of an embodiment of the lighting control system created by the present invention.
  • Figure 21 A schematic diagram of the first preferred embodiment of the lighting control system created by the present invention.
  • Figure 22 A schematic diagram of the second preferred embodiment of the lighting control system created by the present invention.
  • Figure 23 A schematic diagram of the working principle of the WIFI wireless module of the lighting control system created by the present invention, which also shows two working principles of the WIFI wireless module of the lighting control system in the prior art;
  • Figure 24 A schematic diagram of the data structure of the UDP data packet of the lighting control system created by the present invention.
  • Figure 25 A flow chart of decoding DMX control instruction data by the WIFI wireless module of the lighting control system created by the present invention
  • Figure 26 Another flow chart of decoding DMX control instruction data by the WIFI wireless module of the lighting control system created by the present invention.
  • Circuit board 101, MCU main control module; 1012, crystal oscillator circuit; 1013, reset circuit; 1014, MCU program burn-in circuit; 1015, voltage regulator circuit; 102, WIFI wireless module; 1021, WIFI processing circuit; 1022 WIFI power switch circuit; 1023, WIFI program burn-in circuit; 103, LED-PWM dimming module; 104, DMX control module; 105, DMX signal input port; 106, DMX signal output port; 107, power management module; 108, Power module; 109, IR wireless module; 200, LED light board;
  • top, bottom, left, and right orientations of the text is defined by the top, bottom, left, and right orientations in the visual sense of the paper page of the application document, and does not affect the actual layout direction of the circuit board in the DMX lamp.
  • the WIFI wireless DMX lamp can communicate based on the DMX light control data transmission protocol, wherein the WIFI wireless DMX lamp includes a circuit board 100, DMX signal input port 105 and DMX signal output port 106.
  • the DMX signal input port and the DMX signal output port can be two different physical ports. Such an arrangement enables the lighting console to still be used to control the series of lamps. .
  • the DMX signal input port and the DMX signal output port can be the same physical port. Such a setting enables the DMX lamps to form a lamp string, but its control can be sent through the wireless communication module of the first lamp in the string Lighting control commands.
  • the circuit board 100 includes an MCU main control module 101 and a DMX control module 104, and the circuit board 100 is installed in the WIFI wireless DMX lamp.
  • the circuit board of the DMX lamp in FIG. 1 includes a main control unit, a DMX control unit, a power supply unit, and the like.
  • the main control unit uses a powerful MCU chip, such as the M0518 main control chip, see the document https://wenku.baidu.com/view/51975a4108a1284ac85043c3.html .
  • the DMX signal input port 105 and the DMX signal output port 106 are electrically connected to the DMX control module 104, the DMX control module 104 is electrically connected to the MCU main control module 101, and DMX lighting controls Data is transmitted from the DMX signal input port 105 to the DMX control module 104 and the MCU main control module 101, and the MCU main control module 101 controls the WIFI wireless DMX lamp to produce a set light change effect;
  • the DMX signal output port 106 can be connected to the DMX signal input port 105 of another WIFI wireless DMX lamp or a wired DMX lamp, so as to form a lamp chain.
  • DMX lighting control data generally refers to data packets defined by the DMX512 communication protocol.
  • the DMX control module 104 and the MCU main control module 101 can decode the data packets to generate lights that can drive the LED light board 200 Control signal to produce light change effect.
  • the set light change effect may be a light color change, a light-dark change, or a combination of light color, brightness, and light-dark change.
  • the set light change effect is all light change scenes that can be achieved by a lighting console in the prior art.
  • the WIFI wireless DMX lamp further includes an LED light board 200, and the LED light board 200 includes LED lamp beads.
  • LED lights are widely used in the field of lighting technology because their luminous efficiency is much higher than other types of lights.
  • the technical solution of this patent can also be used to control incandescent tungsten bulbs and halogens. Bulbs, fluorescent tubes, etc., the type of these bulbs or lamp beads is only a replacement of conventional technical means.
  • the circuit board 100 further includes a WIFI wireless module 102 and an LED-PWM dimming module 103, and the WIFI wireless module 102 is located in the WIFI wireless DMX lamp.
  • the wireless modules in the prior art in Figure 2, Figure 3, and Figure 4 they are either the infrared remote control IR wireless module of patent document CN202282894U, or the external WIFI wireless module of patent document CN204465950U and CN109803466A , It is not installed in DMX lamps, but in a separate WIFI relay controller or transponder.
  • WIFI wireless modules dedicated to DMX lamps have been commercialized, for example,
  • WIFI module manufacturer Espressif Systems Shanghai Co., Ltd.;
  • WIFI module model ESP8266 SMD Wi-Fi module
  • ESP-WROOM-02 module is an IoT wireless module designed and developed based on the ESP8266EX chip. It integrates TCP/IP network protocol stack, 32-bit low-power MCU, 10-bit precision ADC, and has interfaces such as HSPI, UART, PWM, I2C and I2S;
  • ESP-WROOM-S2 module 2 MB SPI Flash connected to HSPI.
  • the transmission rate can reach 8Mbps.
  • the WIFI wireless module 102 includes a WIFI processing circuit 1021, and a WIFI power switch circuit 1022, the WIFI processing circuit 1021 can process the input information according to program instructions, the WIFI power switch circuit 1022 can be turned on or Turn off the power of the WIFI wireless module 102.
  • the WIFI processing circuit 1021 includes a programmable chip and a program burn-in or update circuit.
  • the functional program code can be stored in the programmable chip, so that the program code or Program instructions to efficiently process communication data packets.
  • the program instructions are, for example, UDP data packet decoding rules, data receiving program instructions, or data sending program instructions, etc.
  • the WIFI power switch circuit 1022 can turn off the power so that the WIFI wireless module does not consume power in the standby state , To achieve the technical effect of saving power.
  • the WIFI processing circuit 1021 includes a WIFI chip U10
  • the MCU main control module 101 includes a main control chip U2; one end of the resistor RC12 is connected to the pin 22 of the WIFI chip U10, The other end is electrically connected to the pin 8 of the main control chip U2; one end of the resistor RC13 is connected to the pin 21 of the WIFI chip U10, and the other end is electrically connected to the pin 9 of the main control chip U2; and,
  • the WIFI chip U10 and the mobile smart WIFI terminal perform wireless communication based on the UDP transport layer communication protocol.
  • the WIFI chip is the above-mentioned commercial ESP8266 patch Wi-Fi module.
  • the logic processing function and pin function provided by it can fully meet the requirements of data transmission and reception, processing, and MCU of DMX lamps.
  • the main control module 101 is required to communicate with a WIFI client such as a smart phone.
  • the pin 22 of the WIFI chip U10 is used to receive data transmitted from the pin 8 of the main control chip U2, and the pin 21 of the WIFI chip U10 is used to send data to the pin of the main control chip U2 9. So as to realize the two-way data communication between the main control chip U2 and the WIFI chip U10.
  • the wireless communication between the WIFI chip U10 and the smart phone is an existing technology at the UDP transmission protocol layer, that is, there is no need to change the hardware of the mobile smart WIFI terminal or the smart phone, such as the WIFI module of the mobile phone, and use the DMX written by the applicant
  • the lamp mobile phone control terminal APP, the DMX lamp mobile phone control terminal APP and the WIFI chip U10 communicate through a UDP data packet in a conventional format, without a new data transmission protocol.
  • the two-way data communication between the main control chip U2 and the WIFI chip U10 is programmed by the applicant for specific data processing. The details are not within the protection scope of the present invention and will not be described in detail here.
  • One of the main points of the present invention is to directly integrate the advanced WIFI chip into the DMX lamp, and realize the control of the DMX lamp with the conventional UDP transport layer communication protocol, which is not realized in the prior art.
  • the second point of the present invention is that the physical and electrical connection between the main control chip U2 and the WIFI chip U10 is different from the prior art, which realizes efficient decoding from UDP data packets to DMX data packets.
  • the LED-PWM dimming module 103 includes a power strip JP6, and the pin 24, pin 23, pin 22, and pin 21 of the main control chip U2 are respectively connected to the row socket JP6. Insert the connection line PWM1 of JP6, the connection line PWM2, the connection line PWM3, and the connection line PWM4. It is understandable that the power strip JP6 of the LED-PWM dimming module 103 electrically connects the main control chip U2 and the LED light board, and sends the decoded DMX control command to the LED light. Without changing the hardware of the existing DMX lamp, it directly uses the DMX512 communication protocol to specify the DMX control command to control the LED lamp beads to produce light changes.
  • the main control chip U2 is electrically connected to the LED light board based on the power strip JP6.
  • the conventional The WIFI communication realizes the control of professional DMX lamps.
  • the WIFI wireless DMX lamp can also produce the set light change effect as follows:
  • the WIFI wireless module 102 transmits the received first light control information to the main control chip U2 of the MCU main control module 101 through the pin 21 of the WIFI chip U10;
  • the main control chip U2 processes the first light control information, and generates second light control information
  • the main control chip U2 transmits the second light control information to the LED-PWM dimming module 103 through its pin 24, pin 23, pin 22, and pin 21;
  • the LED-PWM dimming module 103 controls the LED light board 200 according to the second light control information to generate the set light change effect.
  • the first light control information is a UDP data packet sent by the mobile smart WIFI terminal, where UDP is called the user data information transmission protocol, and the UDP transmission protocol is an unreliable, connectionless, Can realize many-to-one, one-to-many and one-to-one communication protocols.
  • UDP does not need to establish a channel before transmitting data, nor does it need to close the channel after data transmission is completed. As long as the client sends a request to the server, the server will send all the data at once. UDP does not verify the integrity of the data when transmitting data, and does not require retransmission when data is lost or data errors. Therefore, it also saves a lot of time for verifying data packets, so the connection established by UDP is delayed.
  • the first light control information can be a user-defined data format, or a data format defined by a standard protocol, such as the Art-Net communication protocol. For details, see www .Art-Net.org.uk .
  • the above-mentioned WIFI wireless DMX lamp basically achieves the technical effect of using the conventional WIFI wireless communication method to control the DMX lamp, and at the same time, there is no need to modify the hardware other than the circuit board of the DMX lamp.
  • the DMX signal input port and the DMX signal output port may not be included, and the circuit board may also omit the DMX control module 104, and directly control each lamp via WIFI wireless.
  • the WIFI wireless DMX lamp can communicate based on the DMX light control data transmission protocol, where the WIFI wireless DMX lamp includes a circuit board 100.
  • the circuit board 100 includes an MCU main control module 101, and the circuit board 100 is installed in the WIFI wireless DMX lamp.
  • the circuit board of the DMX lamp in FIG. 1 includes a main control unit, a DMX control unit, a power supply unit, and the like.
  • the main control unit uses a powerful MCU chip, such as the M0518 main control chip, see the document https://wenku.baidu.com/view/51975a4108a1284ac85043c3.html .
  • the DMX lighting control data is transmitted from a handheld terminal device such as a smart phone to the MCU main control module 101, and the MCU main control module 101 controls the WIFI wireless DMX lamp to produce a set lighting change effect.
  • the set light change effect may be a light color change, a light-dark change, or a combination of light color, brightness, and light-dark change.
  • the set light change effect is all light change scenes that can be achieved by a lighting console in the prior art.
  • the WIFI wireless DMX lamp further includes an LED light board 200, and the LED light board 200 includes LED lamp beads.
  • LED lights are widely used in the field of lighting technology because their luminous efficiency is much higher than other types of lights.
  • the technical solution of this patent can also be used to control incandescent tungsten bulbs and halogens. Bulbs, fluorescent tubes, etc., the type of these bulbs or lamp beads is only a replacement of conventional technical means.
  • the circuit board 100 further includes a WIFI wireless module 102 and an LED-PWM dimming module 103, and the WIFI wireless module 102 is located in the WIFI wireless DMX lamp.
  • the wireless modules in the prior art in Figure 2, Figure 3, and Figure 4 they are either the infrared remote control IR wireless module of patent document CN202282894U, or the external WIFI wireless module of patent document CN204465950U and CN109803466A , It is not installed in DMX lamps, but in a separate WIFI relay controller or transponder.
  • WIFI wireless modules dedicated to DMX lamps have been commercialized, for example, the ESP8266 patch Wi-Fi module produced by Espressif Systems Shanghai Co., Ltd.
  • the WIFI wireless module 102 includes a WIFI processing circuit 1021, and a WIFI power switch circuit 1022, the WIFI processing circuit 1021 can process the input information according to program instructions, the WIFI power switch circuit 1022 can be turned on or Turn off the power of the WIFI wireless module 102.
  • the WIFI processing circuit 1021 includes a programmable chip and a program burn-in or update circuit.
  • the functional program code can be stored in the programmable chip, so that the program code or Program instructions to efficiently process communication data packets.
  • the program instructions are, for example, UDP data packet decoding rules, data receiving program instructions, or data sending program instructions, etc.
  • the WIFI power switch circuit 1022 can turn off the power so that the WIFI wireless module does not consume power in the standby state , To achieve the technical effect of saving power.
  • the WIFI processing circuit 1021 includes a WIFI chip U10
  • the MCU main control module 101 includes a main control chip U2; one end of the resistor RC12 is connected to the pin 22 of the WIFI chip U10, The other end is electrically connected to the pin 8 of the main control chip U2; one end of the resistor RC13 is connected to the pin 21 of the WIFI chip U10, and the other end is electrically connected to the pin 9 of the main control chip U2; and,
  • the WIFI chip U10 and the mobile smart WIFI terminal perform wireless communication based on the UDP transport layer communication protocol.
  • the WIFI chip is the above-mentioned commercial ESP8266 patch Wi-Fi module.
  • the logic processing function and pin function provided by it can fully meet the requirements of data transmission and reception, processing, and MCU of DMX lamps.
  • the main control module 101 is required to communicate with a WIFI client such as a smart phone.
  • the pin 22 of the WIFI chip U10 is used to receive data transmitted from the pin 8 of the main control chip U2, and the pin 21 of the WIFI chip U10 is used to send data to the pin of the main control chip U2 9. So as to realize the two-way data communication between the main control chip U2 and the WIFI chip U10.
  • the wireless communication between the WIFI chip U10 and the smart phone is an existing technology at the UDP transmission protocol layer, that is, there is no need to change the hardware of the mobile smart WIFI terminal or the smart phone, such as the WIFI module of the mobile phone, and use the DMX written by the applicant
  • the lamp mobile phone control terminal APP, the DMX lamp mobile phone control terminal APP and the WIFI chip U10 communicate through a UDP data packet in a conventional format, without a new data transmission protocol.
  • the two-way data communication between the main control chip U2 and the WIFI chip U10 is programmed by the applicant for specific data processing. The details are not within the protection scope of the present invention and will not be described in detail here.
  • One of the main points of the present invention is to directly integrate the advanced WIFI chip into the DMX lamp, and realize the control of the DMX lamp with the conventional UDP transport layer communication protocol, which is not realized in the prior art.
  • the second point of the present invention is that the physical and electrical connection between the main control chip U2 and the WIFI chip U10 is different from the prior art, which realizes efficient decoding from UDP data packets to DMX data packets.
  • the LED-PWM dimming module 103 includes a power strip JP6, and the pin 24, pin 23, pin 22, and pin 21 of the main control chip U2 are respectively connected to the row socket JP6. Insert the connection line PWM1 of JP6, the connection line PWM2, the connection line PWM3, and the connection line PWM4. It is understandable that the power strip JP6 of the LED-PWM dimming module 103 electrically connects the main control chip U2 and the LED light board, and sends the decoded DMX control command to the LED light. Without changing the hardware of the existing DMX lamp, it directly uses the DMX512 communication protocol to specify the DMX control command to control the LED lamp beads to produce light changes.
  • the main control chip U2 is electrically connected to the LED light board based on the power strip JP6.
  • the conventional The WIFI communication realizes the control of professional DMX lamps.
  • the WIFI wireless DMX lamp can also produce the set light change effect as follows:
  • the WIFI wireless module 102 transmits the received first light control information to the main control chip U2 of the MCU main control module 101 through the pin 21 of the WIFI chip U10;
  • the main control chip U2 processes the first light control information, and generates second light control information
  • the main control chip U2 transmits the second light control information to the LED-PWM dimming module 103 through its pin 24, pin 23, pin 22, and pin 21;
  • the LED-PWM dimming module 103 controls the LED light board 200 according to the second light control information to produce the set light change effect.
  • the first light control information is a UDP data packet sent by the mobile smart WIFI terminal, where UDP is called the user data information transmission protocol, and the UDP transmission protocol is an unreliable, connectionless, Can realize many-to-one, one-to-many and one-to-one communication protocols.
  • UDP does not need to establish a channel before transmitting data, nor does it need to close the channel after data transmission is completed. As long as the client sends a request to the server, the server will send all the data at once.
  • UDP does not verify the integrity of the data when transmitting data, and does not require retransmission when data is lost or data errors.
  • the connection established by UDP is delayed. Will be lower than the delay of the connection established by TCP.
  • the first light control information can be a user-defined data format, or a data format defined by a standard protocol, such as the Art-Net communication protocol. For details, see www .Art-Net.org.uk .
  • the above-mentioned WIFI wireless DMX lamps basically achieve the technical effect of using conventional WIFI wireless communication methods to control DMX lamps.
  • the first lighting control information includes a UDP data packet
  • the UDP data includes an Art-Net data packet, which is used for wireless communication between the mobile smart WIFI terminal and the WIFI wireless module 102
  • the Art-Net data packet includes the Art-Net control data packet
  • the Art-Net control data packet includes a DMX data packet
  • the DMX data packet includes a DMX lighting control instruction.
  • the use of the existing Art-Net communication protocol can save a lot of time in developing user-defined format UDP data packets, and there are commercial off-the-shelf WIFI wireless modules such as ESP8266 patch Wi-Fi modules directly Programmatically decode Art-Net data packets without the need to redesign a dedicated decoding chip.
  • the Art-Net control data packet has an 8-byte Art-Net header, a 2-byte control instruction word, an Art-Net address, and a 512-byte control data packet.
  • the 512-byte control data packet The content of the data packet is the DMX512 control data packet to be transmitted.
  • the above-mentioned WIFI wireless DMX lamp implements WIFI wireless communication at the UDP transmission layer based on the existing Art-Net protocol, which greatly saves the communication control program development cost.
  • the WIFI wireless module 102 can directly decode the DMX512 control data packet in the Art-Net control data packet, and the WIFI chip U10 and all The main control chip U2 can directly transmit data based on the DMX512 protocol.
  • FIG. 23 also shows two technical solutions in the prior art, which either decode the information transmitted by the WIFI module A through a dedicated network chip and then transmit it to the main control chip, which is then decoded by the main control chip. Or it can be parsed as DMX512 control instruction. Either use WIFI communication information that does not include DMX512 control instructions to directly control the lights through the main control chip. In other words, the WIFI wireless communication data in the prior art does not include DMX512 control data packets.
  • the above-mentioned WIFI wireless DMX lamp is based on the powerful logic processing function of the WIFI wireless module, and directly decodes the DMX512 control data packet in the Art-Net control data packet, which reduces the logic processing work of the main control chip and saves the control chip The development cost of complex programming.
  • the first lighting control information includes a data packet complying with the DMX lighting control data transmission protocol; or, the second lighting control information is a lighting control command complying with the DMX lighting control data transmission protocol .
  • the second lighting control information is the lighting control information transmitted between the main control chip U2 and the LED-PWM dimming module.
  • the second lighting control information is DMX512 Light control instruction data
  • the WIFI communication data includes DMX512 light control instruction data
  • the WIFI wireless module 102 can directly decode the DMX512 light control instruction data in the WIFI communication data, directly through the DMX512 communication protocol
  • the main control chip U2 transmitted to the MCU main control module 101 uses the LED-PWM dimming module 103 to control light changes.
  • WIFI wireless DMX lamps and lanterns use DMX protocol data from beginning to end, which makes the control system relatively simple and the programming workload is relatively small.
  • the WIFI processing circuit 1021 of the WIFI wireless module 102 further includes a resistor R15, a resistor R14, a capacitor C18, a capacitor C17, a resistor R28, a switch button A, a light emitting diode LED3, a resistor R38, and a resistor R27. , Resistor R13, ground wire, 3.3V power supply;
  • One end of the resistor R15 is connected to pin 1 of the WIFI chip U10, and the other end is connected to node 21a; one end of the resistor R14 is connected to pin 3 of the WIFI chip U10, and the other end is connected to node 21a; the capacitor C18 It is connected in parallel with the capacitor C17 to form a first capacitor parallel body.
  • One end of the first capacitor parallel body is connected to the ground wire, and the other end is connected to the pin 8 of the WIFI chip U10 and the node 21a; the node 21a is connected to 3.3V power supply;
  • One end of the resistor R28 is connected to the pin 20 of the WIFI chip U10, the other end is connected to a 3.3V power supply, one end of the switch button A is connected to the ground wire, and the other end is connected to the pin 20 of the WIFI chip U10;
  • the light emitting diode LED3 and the resistor R38 form a first series body, one end of the first series body is connected to the pin 19 of the WIFI chip U10, and the other end is connected to a 3.3V power supply;
  • One end of the resistor R27 is connected to the pin 18 of the WIFI chip U10, and the other end is connected to a 3.3V power supply;
  • resistor R13 One end of the resistor R13 is connected to the pin 16 of the WIFI chip U10, and the other end is connected to the ground wire;
  • the pin 15 of the WIFI chip U10 is connected to the ground wire.
  • the WIFI power switch circuit includes a resistor R19, a MOS transistor Q4, a capacitor C9, a resistor R18, an NPN transistor Q3, a resistor R17, and a resistor R16;
  • the G pole of the MOS transistor Q4 is connected to the node 22b, the S pole is connected to the node 22c, and the D pole is connected to the node 22d;
  • resistor R19 One end of the resistor R19 is connected to the node 22c, and the other end is connected to the node 22b;
  • One end of the capacitor C9 is connected to the node 22d, and the other end is connected to the ground wire;
  • the node 22c is connected to a 3.3V power source; the node 22d is connected to a 3.3V power source;
  • One end of the resistor R18 is connected to the node 22b, and the other end is connected to the C pole of the NPN transistor Q3; the e pole of the NPN transistor Q3 is connected to the ground wire, and the b pole is connected to the node 22a;
  • One end of the resistor R19 is connected to the node 22a, and the other end is connected to a ground wire;
  • resistor R16 One end of the resistor R16 is connected to the node 22a, and the other end is connected to the pin 38 of the main control chip U2.
  • the MCU main control module 101 further includes a crystal oscillator circuit 1012, a voltage stabilizing circuit 1015, a reset circuit 1013, and an MCU program burn-in circuit 1014;
  • the crystal oscillator circuit 1012 includes a capacitor C3, a capacitor C4, a crystal oscillator Y1, a resistor R11, and a resistor R10; the resistor R10 of the crystal oscillator Y1 is connected in parallel to form a second parallel body, one end of the second parallel body Is node 12a, and the other end is node 12b; one end of the capacitor C3 is connected to the ground wire, and the other end is connected to the node 12a; one end of the resistor R11 is connected to the pin 44 of the main control chip U2, and the other end is connected The node 12a; the node 12b is connected to the pin 45 of the main control chip U2;
  • the voltage stabilizing circuit 1015 includes a capacitor C8 and a capacitor C7; one end of the capacitor C8 is connected to the ground wire, and the other end is connected to the pin 10 of the main control chip U2; one end of the capacitor C7 is connected to the ground wire and the other end Connect the pin 11 of the main control chip U2; the pin 12 of the main control chip U2 is directly connected to the ground wire;
  • the reset circuit 1013 includes a resistor R12 and a capacitor C6; one end of the resistor R12 is connected to the ground, and the other end is connected to the node 13a; one end of the capacitor C6 is connected to the ground, and the other end is connected to the node 13a, the node 13a Connect to the pin 46 of the main control chip U2;
  • the MCU program burn-in circuit 1014 includes a power strip JP1 and a capacitor C5.
  • the first connection wire of the power strip JP1 is connected to the ground wire
  • the second connection wire is connected to the pin 46 of the main control chip U2
  • the third connection wire Connected to pin 30 of the main control chip U2
  • the fourth connection line is connected to the pin 29 of the main control chip U2
  • the fifth connection line is connected to a 5V power supply
  • one end of the capacitor C5 is connected to the ground wire, and the other end is connected to the 3.3V power supply.
  • the WIFI wireless module 102 further includes a WIFI program burn-in circuit 1023, and the WIFI program burn-in circuit 1023 includes a power strip JSP2;
  • the power strip JSP2 is located below the WIFI chip U10. Between the power strip JSP2 and the WIFI chip U10, the resistor R13, the resistor R27, and the The resistor R28, the resistor RC12, the resistor RC13, the capacitor C17, and the capacitor C18;
  • the resistor R16, the resistor R17, the resistor R18, the resistor R19, the resistor R38, the resistor R14, and the resistor are arranged R15, the MOS transistor Q4, the NPN transistor Q3, the light emitting diode LED3, and the capacitor C9.
  • the specific embodiment of the WIFI wireless module of the above-mentioned WIFI wireless DMX lamp has the function of updating the chip program, which is beneficial to the function upgrade of the WIFI wireless module and prolongs the hardware life of the WIFI wireless module.
  • Functionally equivalent replacement of the electronic components of each circuit part is also within the protection scope of the present invention.
  • FIG. 6 is a schematic diagram of the LED-PWM dimming module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • Fig. 7 is a schematic diagram of the DMX control module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • Fig. 8 is a schematic diagram of the WIFI wireless module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • Fig. 9 is a schematic diagram of the MCU main control module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • Fig. 10 is a schematic diagram of the IR wireless module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • the IR wireless module is used to remotely control the DMX lighting.
  • FIG. 11 is a schematic diagram of the power module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • the power module provides accurate and stable power supply for the DMX lighting.
  • Fig. 12 is a schematic diagram of the power management module of the circuit board of the preferred embodiment of the stage lighting created by the present invention.
  • the power management module is used to display the power and remind to charge in time, so that the DMX lamp can use rechargeable batteries.
  • the capacitor C7 and the capacitor C8 are arranged on the upper left corner of the main control chip U2; on the right side of the main control chip U2 are arranged The capacitor C5, the capacitor C3, the capacitor C4, the resistor R10, the resistor R11, and the crystal oscillator Y1; the power strip JP1 and the capacitor C6 are arranged below the main control chip U2 .
  • the transistor Q3, the transistor Q4, and the light emitting diode LED3 are arranged below the WIFI chip U10 with a resistor R13, a resistor RC13, a resistor RC12, a resistor R27, a resistor R28, a capacitor C17, a capacitor C18, and a power strip ISP2.
  • Fig. 13 is a schematic diagram of the component layout of the WIFI wireless module shown in Fig. 8.
  • FIG. 14 is a schematic diagram of the component layout of the MCU main control module shown in FIG. 9.
  • FIG. 15 is a schematic diagram of the component layout of the LED-PWM circuit module shown in FIG. 6.
  • FIG. 16 is a schematic diagram of the component layout of the DMX circuit module shown in FIG. 7.
  • FIG. 17 is a schematic diagram of the component layout of the IR circuit module shown in FIG. 10.
  • FIG. 18 is a schematic diagram of the component layout of the power circuit module shown in FIG. 11.
  • FIG. 19 is a schematic diagram of the component layout of the power management circuit module shown in FIG. 12.
  • the circuit board of the WIFI wireless DMX lamp further includes a power supply module 108, a power management module 107, and an IR wireless module.
  • a power supply module 108 for supplying power to the WIFI wireless DMX lamp.
  • the light control system includes a handheld terminal device and at least one of the WIFI wireless DMX lamps, and the handheld terminal device communicates with the WIFI wireless DMX lamp communication, so that the WIFI wireless DMX lamp can be controlled through the handheld terminal device to produce the set light change effect.
  • the handheld terminal device sends a UDP data packet to the WIFI wireless DMX lamp communication via a WIFI wireless communication connection
  • the UDP data packet conforms to the Art-Net protocol specification
  • the UDP data packet is called It is the Art-Net protocol data packet. It is understandable that such a design scheme can be realized by writing a mobile phone APP, thereby replacing the professional and expensive DMX lighting console through the mobile phone APP.
  • the Art-Net protocol data packet includes an Art-Net control data packet
  • the Art-Net control data packet includes an Art-Net header field, a control command field, an Art-Net address field, and DMX control data.
  • Packet field, the DMX control data packet in the DMX control data packet field complies with the DMX lighting control data transmission protocol specification; the WIFI wireless module 102 of the WIFI wireless DMX lamp can transfer the received Art-Net control data
  • the packet is transmitted to the main control chip U2 of the MCU main control module 101, and the main control chip U2 parses out the DMX control data packet from the Art-Net control data packet, and uses the DMX control data packet to control the
  • the LED light board 200 produces the set light change effect.
  • the WIFI wireless module 102 may not decode the Art-Net control data packet, but the main control chip U2 can decode the Art-Net control data packet through programming.
  • the WIFI wireless module only decodes UDP data packets, so the WIFI wireless module with relatively simple function and lower price can be used.
  • the handheld terminal device is a smart phone.
  • the number of at least one of the WIFI wireless DMX lamps is 1, the WIFI wireless DMX lamps include a first DMX signal input port and a first DMX signal output port; and, the light control system It also includes a plurality of wired DMX lamps.
  • the wired DMX lamps include a second DMX signal input port and a second DMX signal output port; the plurality of wired DMX lamps pass the second DMX signal input port and the second DMX signal input port and the second DMX signal output port.
  • the signal output port is connected by wired communication to form a first wired lamp string; the WIFI wireless DMX lamp is connected to the first one of the first wired lamp string through the second DMX signal input port and the first DMX signal output port
  • the wired DMX lamp has a wired communication connection; the handheld terminal device is wirelessly connected with the WIFI wireless DMX lamp through a WIFI communication mode. It is understandable that such a design scheme uses only one WIFI wireless DMX lamp to achieve the technical effect of using a smart phone to replace the lighting console to control the DMX lamp chain.
  • the number of at least one of the WIFI wireless DMX lamps is greater than 1; the handheld terminal device can establish a separate wireless communication connection with each of the WIFI wireless DMX lamps through WIFI communication, and directly control the Any one or more of the WIFI wireless DMX lamps. It is understandable that such a design scheme can express more complex and rich dynamic lighting effects.
  • the number of at least one of the WIFI wireless DMX lamps is greater than one;
  • the lighting control system also includes a wireless router, and each of the WIFI wireless DMX lamps establishes a wireless communication connection with the wireless router through WIFI communication;
  • the handheld terminal device can establish a wireless communication connection with the wireless router through WIFI communication, and indirectly control any one or more of the WIFI wireless DMX lamps.
  • the handheld terminal device divides a plurality of the WIFI wireless DMX lamps into a light group as required, and then the handheld terminal device sends a control instruction to the light group, and the WIFI in the light group
  • the wireless DMX lamps can perform corresponding light shows uniformly in accordance with the control instructions. It is understandable that such a grouping control design is conducive to the formation of a large light display array.
  • the lighting control system further includes multiple wired DMX lamps;
  • the WIFI wireless DMX lamp establishes a wired communication connection with zero, one or more of the wired DMX lamps. It is understandable that such a design scheme can form a large-scale series and parallel combined light array.
  • the lighting control system further includes multiple wired DMX lamps;
  • the WIFI wireless DMX lamp establishes a wired communication connection with zero, one or more of the wired DMX lamps. It is understandable that such a design scheme can form a large-scale series and parallel combined light array.
  • the DMX lighting control data transmission protocol is, for example, the DMX512-A lighting control data transmission protocol stipulated by the cultural industry standard WH/T 32-2008 of the People's Republic of China, or the industry standard DMX512 formulated by the USITT American Theater Technology Association.
  • connection between lamps and lamps is as follows:
  • the mobile phone is connected to a lamp equipped with a WIFI module, and the lamp equipped with a WIFI module is connected to other lamps through a wired DMX.
  • the method of wirelessly controlling multiple lamps with a mobile phone 1 host has a WIFI module, and other lamps are connected by DMX wired connection; any single control can be realized, up to 512, each lamp uses a different address code; it can also be realized Collective control, unlimited number, just set the lamp to the same address code.
  • the specific data structure of the UDP data packet includes ART-NET address + IP address + DMX data, among which, because there is only one WIFI hotspot, the IP address of the WIFI hotspot is fixed, and the IP address of the mobile phone is assigned by the WIFI hotspot.
  • Figure 25 is a flow chart of decoding DMX control instruction data by the WIFI wireless module of the lighting control system created by the present invention, which uses the first lamp connection method.
  • Step S101 Open the mobile phone app software and connect to the hotspot of the wifi module
  • Step S102 The Artnet protocol of the wifi module searches for lamps;
  • Step S103 Establish the corresponding relationship between the ip address of the lamp and the artnet address, each artnet address represents a dmx bus;
  • Step S104 Establish a lamp mapping table, and the corresponding relationship between the dmx address and the lamp;
  • Step S105 Select a programming file, select the artnet address, and select the lamp to be controlled;
  • Step S106 Trigger playback
  • Step S107 Generate dmx data, for example, generate dmx data once every 30 millisecond interval;
  • Step S108 Fill the dmx data, ip address, artnet protocol address, and port number into the network data packet and send it out;
  • Step S109 the Wifi module receives the network data packet
  • Step S1010 The Wifi module interprets the dmx data and sends it out according to the dmx sequence;
  • Step S1011 Continue to broadcast data? If yes, go back to step S107, if no, end broadcasting the data packet.
  • Each lamp is equipped with a WIFI module control method, and the mobile phone can directly establish a connection with any lamp. It is divided into two sub-connection modes:
  • the mobile phone connects to a specific single lamp as needed, establishes a WIFI connection, and then performs any point-to-point single control.
  • the number is unlimited, each lamp is equivalent to 1 WIFI hotspot, just use the mobile phone to connect to the required WIFI hotspot.
  • the data structure of the DUP data packet It includes ART-NET address + IP address + DMX data. Because there is only one WIFI hotspot, the IP address of the WIFI hotspot is fixed, and the IP address of the mobile phone is assigned by the WIFI hotspot.
  • Fig. 26 is another flowchart of decoding DMX control instruction data by the WIFI wireless module of the lighting control system created by the present invention, which corresponds to the second sub-connection mode of the second lamp connection mode.
  • Step S201 Open the mobile phone app software and connect to the public router;
  • Step S202 the wifi modules of all lamps are connected to the public router
  • Step S203 Artnet protocol searches for the wifi module of the lamp
  • Step S204 Establish a corresponding relationship between the ip address of the lamp and the artnet address, and each artnet address represents a dmx bus;
  • Step S205 Establish a lamp mapping table, and the corresponding relationship between the dmx address and the lamp;
  • Step S206 Select a programming file, select the artnet address, and select the lamp to be controlled;
  • Step S207 Trigger playback
  • Step S208 Generate dmx data, for example, generate dmx data once every 30 millisecond interval;
  • Step S209 Fill the dmx data, ip address, artnet protocol address, and artnet protocol port number into the network data packet;
  • Step S2010 different data packets are sent to different ip addresses
  • Step S2011 the Wifi module receives the network data packet
  • Step S2012 The Wifi module interprets the dmx data and sends it out according to the dmx sequence
  • Step S2013 Continue to broadcast data? If yes, go back to step S107, if no, end broadcasting the data packet.
  • the control method is as follows:
  • each lamp contains a WIFI module, so each lamp is assigned an IP address from the router.
  • the information of all lamps can be found, which one needs to be controlled, select the corresponding lamp, first make the lamp highlight for confirmation, and then control it.
  • the data structure of the DUP data packet includes ART-NET address + IP address + DMX data, among which the specific lamp IP address is allocated by the router.
  • each lamp is assigned an IP address from the router, and then the multiple lamps are divided according to needs. Go to a group, and then send control instructions to this group, and the lamps in the group will perform corresponding performances in accordance with the instructions.
  • the data structure of the DUP data packet it sends multiple data packets at the same time, each data packet controls 1 lamp, each data packet includes ART-NET address + IP address + DMX data, among which, the specific lamp IP address is determined by the router Assigned; DMX data includes DMX channel value, DMX channel value corresponds to the address code of the lamp.
  • the channel value in the DXM data packet is the same.
  • the data structure of the DUP data packet it sends multiple data packets at the same time, each data packet controls 1 lamp, and each data packet includes ART-NET address + IP address + DMX data.
  • each data packet includes ART-NET address + IP address + DMX data.
  • the specific lamp IP address is determined by the router Assigned;
  • DMX data includes DMX channel value, DMX channel value corresponds to the address code of the lamp.
  • the channel values in the DXM data packet are different.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本发明公开WIFI无线DMX灯具,其能够基于DMX灯光控制数据传输协议进行通讯,其中,所述WIFI无线DMX灯具包括电路板(100);所述电路板(100)包括MCU主控模块(101),并且,所述电路板(100)被安装在所述WIFI无线DMX灯具内;所述电路板(100)还包括WIFI无线模块(102)、和LED-PWM调光模块(103),所述WIFI无线模块(102)位于所述WIFI无线DMX灯具内;所述WIFI无线模块(102)包括WIFI处理电路(1021)、和WIFI电源开关电路(1022)。本发明还公开灯光控制系统,其包括手持终端设备和至少一台所述WIFI无线DMX灯具。本发明达到了使用WIFI无线通讯方式控制DMX灯具的技术效果。

Description

WIFI无线DMX灯具及包括它的灯光控制系统 技术领域
本发明涉及用无线电线路表征的信号传送装置(G08C 17/00)和用于一般电光源的控制电路装置(H05B 37/02),本发明尤其涉及WIFI无线DMX灯具及包括它的灯光控制系统。
背景技术
DMX512协议最先是由USITT(美国剧院技术协会)发展成为从控制台用标准数字接口控制调光器的方式。DMX512灯具具有非常强大的动态灯光控制功能,其结构简单,功能可靠,应用灵活。随着技术的进步,市场出现了这样的灯具:不使用专业的DMX灯光控台,而是使用普遍的手机或电脑,控制DMX灯具,从而使DMX灯具从专业的舞台灯和景观灯迅速扩展为更普遍的灯光控制效果场合。
专利文献CN203340348U公开涉及照明灯具技术领域,尤其是一种DMX无线控制式摇头灯。它包括供电单元、主控单元和发光组件,所述供电单元通过主控单元为发光组件供电;所述主控单元连接有一DMX控制单元,所述DMX控制单元接收外部控制信号并通过主控单元控制发光组件。本实用新型通过DMX控制单元接收外部控制信号实现对摇头灯开关、色彩变换、亮度等诸多功能的无线调节与控制,减少了传统摇头灯控制中繁杂的线路及布线,增强了便利性、提高了安全性;同时,通过具有储能电池的供电单元可以对摇头灯进行线路连接供电,在没有外部电源的情况下可以使可通过储能电池的反复充放电,其结构简单、适用范围广、局限性小,具有很强的实用性和市场推广价值。
参照图1,专利文献CN203340348U虽然公开了DMX无线控制式摇头灯,但是,并没有公开具体的无线控制技术实施例,从图1中可以看出, 其公开的实施例中并没有无线控制单元。
专利文献CN202282894U公开一种DMX控制的全彩LED投光灯,包括了投光灯体,用于控制解码的微处理器,还包括一种大功率红绿蓝LED集成光源,一种直流升压恒流电源电路,一种无线控制信号接收电路以及DMX信号发送接收电路。所述的直流升压恒流电源电路,无线控制信号接收电路以及DMX信号发送接收电路与所述的微处理器相连。微处理器对外部输入的DMX信号进行解码,输出三路PWM信号控制直流升压恒流电源电路,从而实现对大功率红绿蓝LED集成光源的全彩控制。本实用新型灯光控制操作者可以利用任何符合DMX512/1990协议的DMX控制台控制全彩LED投光灯,同时操作者还可以使用遥控器发出无线控制信号,遥控全彩LED投光灯。
参照图2,专利文献CN202282894U公开使用遥控器发出无线控制信号遥控全彩LED投光灯,但是,从该专利文件第0021标记段记载,其公开的是RF无线控制信号接收电路。
专利文献CN207283890U公开一种内置电池并用WIFI、红外遥控器控制灯光的设备。所述设备包括外壳(1)、控制板(2)、电池组(3)、2.4G无线模块(4)、红外接收模块(5)、电源开关(8),控制板(2)上设置有DMX512_XLR接口(13)。该设备使得能够通过WIFI或红外遥控器给控制模块发送指令,由控制模块转换为DMX512信号,通过无线发射或有线通讯连接的方式,进而实现对外围具有DMX512输入功能的设备进行颜色变化、灯体转动、速度调节、亮度调节、色温调节、以及闪烁灯光多种效果的控制,具有小巧轻便、移动快捷、操作简单的特点。
专利文献CN204465950U公开一种基于WiFi的LED灯光控制系统,包括具有可视操作界面的智能终端,WiFi中继器及若干与LED负载相连的LED控制器;所述WiFi中继器具有WiFi通讯模块,用于实现与所述智能终端的通信,获取由智能终端发出的动作控制指令,和\或向所述智能终端反馈受控LED灯具的工作状态和参数;2.4G通讯模块,用于实现与各LED控制器的通信,向所述这LED控制器转发所述的动作控制指令, 和\或接收由LED控制器反馈的受控LED灯具的工作状态和参数;以及微控制单元,分别连接所述WiFi通讯模块和2.4G通讯模块,用于完成基于WiFi通讯协议和2.4GHz通讯协议的发送数据帧的组包与接收数据帧的解析。本实用新型旨于实现一种任意定制、任意扩充的WiFi LED照明系统,适合多种应用场合需求。
参照图3,专利文献CN204465950U公开WIFI中继控制器,但是没有具体公开DMX灯具的WIFI信号接收电路的实施例。
专利文献CN109803466A公开一种手机APP无线升级DMX灯具的系统,其特征在于,包括以下步骤:(1)编辑、加密,即在电脑上编辑好DMX灯具的升级文件,并加密;(2)传送给手机,即通过电脑将加密后的升级文件传送给手机;(3)进入APP,即进入手机APP里的升级界面;(4)选择、发送,即在APP升级界面上点击需要升级的DMX灯具对应的升级文件,触发数据自动处理,然后手机APP再将处理后的升级文件发送给转发器;(5)校验、转发,即转发器对升级文件进行校验OK后,将升级文件转发给DMX灯具;(6)识别、升级,即DMX灯具识别升级数据后开始自动升级。
参照图4,专利文献CN109803466A公开无线W-DMX转发器,但是也没有公开DMX灯具的W-DMX无线接收模块的具体实施例。
专利文献CN203340348U、CN202282894U公开了无线控制DMX灯具的技术方案,但是没有公开使用WIFI无线控制DMX灯具的具体实施例。
专利文献CN204465950U、CN109803466A公开了使用手机WIFI间接控制DMX灯具的技术方案,它们都是需要一个中继器或转发器,但是没有公开使用手机WIFI直接控制DMX灯具的具体实施例。
为此,使用手机WIFI直接控制具有WIFI通讯功能的DMX灯具,进行动态灯光控制,依然是本领域技术人员的研发方向。
发明内容
为了克服现有技术的不足,本发明创造的目的之一在于提出WIFI无线DMX灯具,其中,WIFI无线模块直接设置在所述DMX灯具内的电路板 上,从而为现有技术中的DMX灯具成本合理地直接增加WIFI无线通讯连接接口。
本发明创造的另一目的在于提出WIFI无线DMX灯具,其中,WIFI无线模块直接设置在所述DMX灯具内的电路板上,从而为现有技术中的DMX灯具成本合理地直接增加WIFI无线通讯连接接口,并能够通过WIFI无线通讯方式传输专业的DMX控制数据包。
本发明创造的目的之二在于提供灯光控制系统,所述灯光控制系统能够通过手持终端设备例如智能手机的现有WIFI无线通讯功能,借助于专业的DMX灯光控制数据传输协议控制所述WIFI无线DMX灯具进行动态多变的灯光表演。
本发明创造的目的之一采用如下技术方案实现:
WIFI无线DMX灯具,其能够基于DMX灯光控制数据传输协议进行通讯,其中,所述WIFI无线DMX灯具包括电路板;
所述电路板包括MCU主控模块,并且,所述电路板被安装在所述WIFI无线DMX灯具内;
DMX灯光控制数据由手持终端设备传输至所述MCU主控模块,所述MCU主控模块控制所述WIFI无线DMX灯具产生设定的灯光变化效果;
其特征在于:
所述WIFI无线DMX灯具还包括LED灯板,所述LED灯板包括LED灯珠;
所述电路板还包括WIFI无线模块、和LED-PWM调光模块,所述WIFI无线模块位于所述WIFI无线DMX灯具内;
所述WIFI无线模块包括WIFI处理电路、和WIFI电源开关电路,所述WIFI处理电路能够对输入的信息按程序指令进行处理,所述WIFI电源开关电路能够开启或关闭所述WIFI无线模块的电源;
所述WIFI处理电路包括WIFI芯片U10,所述MCU主控模块包括主控芯片U2;电阻器RC12的一端与所述WIFI芯片U10的管脚22连接,另一端与所述主控芯片U2的管脚8电连接;电阻器RC13一端与所述 WIFI芯片U10的管脚21连接,另一端与所述主控芯片U2的管脚9电连接;并且,所述WIFI芯片U10与移动智能WIFI终端基于UDP传输层通讯协议进行无线通讯;
所述LED-PWM调光模块包括排插JP6,所述主控芯片U2的管脚24、管脚23、管脚22、管脚21分别与所述排插JP6的连接线PWM1、连接线PWM2、连接线PWM3、连接线PWM4连接;
所述WIFI无线DMX灯具还能够按如下方式产生设定的灯光变化效果:
所述WIFI无线模块将接收到的第一灯光控制信息通过所述WIFI芯片U10的管脚21传输给所述MCU主控模块的主控芯片U2;
所述主控芯片U2处理所述第一灯光控制信息,并生成第二灯光控制信息;
所述主控芯片U2将所述第二灯光控制信息通过其管脚24、管脚23、管脚22、管脚21传输至所述LED-PWM调光模块;
所述LED-PWM调光模块按所述第二灯光控制信息控制所述LED灯板,产生所述设定的灯光变化效果。
本发明创造的目的之二采用如下技术方案实现:
灯光控制系统,其特征在于,其包括手持终端设备和至少一台所述WIFI无线DMX灯具,所述手持终端设备通过WIFI无线通讯连接方式与所述WIFI无线DMX灯具通讯,从而通过所述手持终端设备能够控制所述WIFI无线DMX灯具,产生所述设定的灯光变化效果。
所述手持终端设备通过WIFI无线通讯连接方式向所述WIFI无线DMX灯具通讯发送UDP数据包,所述UDP数据包符合Art-Net协议规范,所述UDP数据包称之为Art-Net协议数据包。
根据本发明创造的其它技术方案,其还可以包括本文所述的一个或多个技术特征。只要这样的技术特征的组合是可实施的,由此组成的新的技术方案都属于本发明创造的一部分。
相比现有技术,本发明创造的有益效果在于:
将WIFI无线通讯功能集成在现有技术中的有线DMX灯具中,成本合理,功能增强,利于DMX灯具的推广应用;
在UDP协议层使用Art-Net协议数据包和DMX控制数据包,避免开发新的自定义的专用UDP数据包,缩短了产品开发周期,节省产品开发成本;
借助于普遍使用的成本合理的智能手机,控制专业的DMX灯具,从而省略了专业的、成本高的DMX灯光控台,降低了控制系统的复杂性,降低了系统成本。
附图说明
参照附图,本发明创造的特征、优点和特性通过下文的具体实施方式的描述得以更好的理解,附图中:
图1:专利文献CN203340348U公开的DMX无线控制式摇头灯的示意图;
图2:专利文献CN202282894U公开的遥控全彩LED投光灯的示意图;
图3:专利文献CN204465950U公开的WIFI中继控制器的示意图;
图4:专利文献CN109803466A公开的无线W-DMX转发器的示意图;
图5a:本发明创造的WIFI无线DMX灯具的优选实施方式的电路板及LED灯板的示意图;
图5b:本发明创造的WIFI无线DMX灯具的另一实施方式的电路板及LED灯板的示意图;
图6:本发明创造的舞台灯具的优选实施方式的电路板的LED-PWM调光模块的示意图;
图7:本发明创造的舞台灯具的优选实施方式的电路板的DMX控制模块的示意图;
图8:本发明创造的舞台灯具的优选实施方式的电路板的WIFI无线模块的示意图;
图9:本发明创造的舞台灯具的优选实施方式的电路板的MCU主控模块的示意图;
图10:本发明创造的舞台灯具的优选实施方式的电路板的IR无线模块的示意图;
图11:本发明创造的舞台灯具的优选实施方式的电路板的电源模块的示意图;
图12:本发明创造的舞台灯具的优选实施方式的电路板的电量管理模块的示意图;
图13:图8所示的WIFI无线模块的元件布局示意图;
图14:图9所示的MCU主控模块的元件布局示意图;
图15:图6所示的LED-PWM电路模块的元件布局示意图;
图16:图7所示的DMX电路模块的元件布局示意图;
图17:图10所示的IR电路模块的元件布局示意图;
图18:图11所示的电源电路模块的元件布局示意图;
图19:图12所示的电源管理电路模块的元件布局示意图;
图20:本发明创造的灯光控制系统的一实施例的示意图;
图21:本发明创造的灯光控制系统的第一优选实施例的示意图;
图22:本发明创造的灯光控制系统的第二优选实施例的示意图;
图23:本发明创造的灯光控制系统的WIFI无线模块工作原理示意图,其中也示出现有技术中的灯光控制系统的WIFI无线模块的两种工作原理;
图24:本发明创造的灯光控制系统的UDP数据包的数据结构示意图;
图25:本发明创造的灯光控制系统的WIFI无线模块解码DMX控制指令数据的流程图;
图26:本发明创造的灯光控制系统的WIFI无线模块解码DMX控制指令数据的另一流程图。
在图中,同一的或类似的元件使用同一数字标记,不同的元件使用不同的数字标记,其中:
100、电路板;101、MCU主控模块;1012、晶振电路;1013、复位电路;1014、MCU程序烧入电路;1015、稳压电路;102、WIFI无线模块; 1021、WIFI处理电路;1022、WIFI电源开关电路;1023、WIFI程序烧入电路;103、LED-PWM调光模块;104、DMX控制模块;105、DMX信号输入端口;106、DMX信号输出端口;107、电量管理模块;108、电源模块;109、IR无线模块;200、LED灯板;
文本上、下、左、右方位的定义是按申请文件纸页面的视觉意义上的上、下、左、右方位来规定,并不影响实际的电路板在所述DMX灯具中的布置方向。
具体实施方式
在下文中,结合附图以及具体实施方式,对本发明创造做进一步描述。
参照图5a至图20,根据本发明的WIFI无线DMX灯具的一实施方式,所述WIFI无线DMX灯具能够基于DMX灯光控制数据传输协议进行通讯,其中,所述WIFI无线DMX灯具包括电路板100、DMX信号输入端口105、和DMX信号输出端口106。可以理解的是,参照图1和图2,在现有技术中,DMX信号输入端口和DMX信号输出端口可以是两个不同的物理端口,这样的设置使得灯光控台仍然可用于控制灯具串列。或者,DMX信号输入端口和DMX信号输出端口可以是同一物理端口,这样的设置使得所述DMX灯具能够形成灯具串列,但其控制可通过串列中的第一个灯具的无线通讯模块来发送灯光控制命令。
参照图5a、图7、图9、图21,所述电路板100包括MCU主控模块101、和DMX控制模块104,并且,所述电路板100被安装在所述WIFI无线DMX灯具内。可以理解的是,参照图1至4中的现有技术的电路板,例如,图1中的DMX灯具的电路板包括主控单元、DMX控制单元、供电单元等。随着技术的进步,主控单元选用功能强大的MCU芯片,例如M0518主控芯片,参见文献 https://wenku.baidu.com/view/51975a4108a1284ac85043c3.html
参照图5a、图21,所述DMX信号输入端口105和DMX信号输出端口106与所述DMX控制模块104电连接,所述DMX控制模块104与所述MCU 主控模块101电连接,DMX灯光控制数据由所述DMX信号输入端口105传输至所述DMX控制模块104和所述MCU主控模块101,并由所述MCU主控模块101控制所述WIFI无线DMX灯具产生设定的灯光变化效果;所述DMX信号输出端口106能够连接另一个WIFI无线DMX灯具或者有线DMX灯具的DMX信号输入端口105,从而能够形成灯具串链。可以理解的是,DMX灯光控制数据一般是指DMX512通讯协议定义的数据包,所述DMX控制模块104和所述MCU主控模块101能够解码所述数据包,生成能够驱动LED灯板200的灯光控制信号,产生灯光变化效果。所述设定的灯光变化效果可以是灯光颜色变化、明暗变化、或者灯光颜色、亮度、明暗变化的组合等。可选地,所述设定的灯光变化效果是现有技术中的灯光控台能实现的所有灯光变化场景。
参照图5a、图21,所述WIFI无线DMX灯具还包括LED灯板200,所述LED灯板200包括LED灯珠。可以理解的是,随着技术的进步,LED灯光以其发光效率远高于其它类型的灯光而被灯光技术领域广泛采用,当然,本专利的技术方案也可以用于控制白炽钨丝灯泡、卤素灯泡、荧光灯管等,这些灯泡或灯珠的类型的变化仅是常规技术手段的替换。
参照图5a,所述电路板100还包括WIFI无线模块102、和LED-PWM调光模块103,所述WIFI无线模块102位于所述WIFI无线DMX灯具内。可以理解的是,参照图2、图3、图4中的现有技术中的无线模块,它们要么是专利文献CN202282894U的红外遥控IR无线模块,要么是专利文献CN204465950U、CN109803466A外置的WIFI无线模块,其没有安装在DMX灯具中,而是安装在单独的WIFI中继控制器或转发器中。随着技术的进步,DMX灯具专用的WIFI无线模块已商业化,例如,
WIFI模块制造商:乐鑫信息科技上海股份有限公司;
WIFI模块型号:ESP8266贴片式Wi-Fi模组;
WFI模块参数:ESP-WROOM-02模组是基于ESP8266EX芯片设计开发的物联网无线模组。它集成了TCP/IP网络协议栈,32位低功耗MCU,10比特精度ADC,并带有HSPI、UART、PWM、I2C和I2S等接口;
ESP-WROOM-S2模组2 MB SPI Flash,接在HSPI上。作为SDIO中的SPI从机模式工作时,传输速率可达8Mbps。
参照图8,所述WIFI无线模块102包括WIFI处理电路1021、和WIFI电源开关电路1022,所述WIFI处理电路1021能够对输入的信息按程序指令进行处理,所述WIFI电源开关电路1022能够开启或关闭所述WIFI无线模块102的电源。可以理解的是,随着技术的进步,所述WIFI处理电路1021包括可编程的芯片和程序烧入或更新电路,可以将功能程序代码存储到可编程的芯片,从而能够按所述程序代码或者程序指令高效处理通讯数据包。所述程序指令例如是UDP数据包的解码规则、数据接收程序指令、或者数据发送程序指令等,所述WIFI电源开关电路1022通过关断电源,可以在待机状态下所述WIFI无线模块不耗电,达到节省电能的技术效果。
如图8、图9所示,所述WIFI处理电路1021包括WIFI芯片U10,所述MCU主控模块101包括主控芯片U2;电阻器RC12的一端与所述WIFI芯片U10的管脚22连接,另一端与所述主控芯片U2的管脚8电连接;电阻器RC13一端与所述WIFI芯片U10的管脚21连接,另一端与所述主控芯片U2的管脚9电连接;并且,所述WIFI芯片U10与移动智能WIFI终端基于UDP传输层通讯协议进行无线通讯。可以理解的是,作为实例,所述WIFI芯片是上述商用的ESP8266贴片式Wi-Fi模组,其提供的逻辑处理功能和管脚功能完全能够满足数据的收发、处理、与DMX灯具的MCU主控模块101通讯、与WIFI客户端例如智能手机通讯的要求。所述WIFI芯片U10的管脚22用于接收来自所述主控芯片U2的管脚8传输的数据,所述WIFI芯片U10的管脚21用于发送数据至所述主控芯片U2的管脚9,从而实现所述主控芯片U2与所述WIFI芯片U10的双向数据通讯。所述WIFI芯片U10与智能手机之间的无线通讯在UDP传输协议层是现有技术,也就是,无需更改移动智能WIFI终端或者智能手机的硬件例如手机的WIFI模块,使用本申请人编写的DMX灯具手机控制终端APP,所述DMX灯具手机控制终端APP与所述WIFI芯片U10通过常规格式的 UDP数据包进行通讯,无需新的数据传输协议。当然,所述主控芯片U2与所述WIFI芯片U10的双向数据通讯是由本申请人编写程序代码进行特定数据处理,其详细细节不是本发明的保护范围,不在这里详细描述。本发明的要点之一在于将先进的WIFI芯片直接集成到DMX灯具中,实现了用常规的UDP传输层通讯协议来控制DMX灯具,这是现有技术没有实现的。本发明的要点之二在于所述主控芯片U2与所述WIFI芯片U10之间的物理电连接方式不同于现有技术,实现了UDP数据包到DMX数据包的高效解码。
如图6、图9所示,所述LED-PWM调光模块103包括排插JP6,所述主控芯片U2的管脚24、管脚23、管脚22、管脚21分别与所述排插JP6的连接线PWM1、连接线PWM2、连接线PWM3、连接线PWM4连接。可以理解的是,所述LED-PWM调光模块103的所述排插JP6将所述主控芯片U2与所述LED灯板电连接在一起,将解码的DMX控制指令发送至所述LED灯板,在不用更改现有的DMX灯具的硬件的情形下,直接使用DMX512通讯协议规定DMX控制指令控制所述LED灯珠产生灯光变化。当然,所述主控芯片U2解码后的DMX数据格式和数据信息是现有技术,这里不再详细描述。因此,本发明的要点之三在于,基于所述排插JP6将所述主控芯片U2与所述LED灯板电连接,在DMX灯具的硬件除电路板外没有其它改动的情况下,通过常规的WIFI通讯实现对专业的DMX灯具的控制。
如图6、图8、图9所示,所述WIFI无线DMX灯具还能够按如下方式产生所述设定的灯光变化效果:
所述WIFI无线模块102将接收到的第一灯光控制信息通过所述WIFI芯片U10的管脚21传输给所述MCU主控模块101的主控芯片U2;
所述主控芯片U2处理所述第一灯光控制信息,并生成第二灯光控制信息;
所述主控芯片U2将所述第二灯光控制信息通过其管脚24、管脚23、管脚22、管脚21传输至所述LED-PWM调光模块103;
所述LED-PWM调光模块103按所述第二灯光控制信息控制所述LED 灯板200,产生所述设定的灯光变化效果。
可以理解的是,所述第一灯光控制信息是所述移动智能WIFI终端发送的UDP数据包,其中,UDP全称为用户数据信息传输协议,UDP传输协议是一种不可靠的、面向无连接、可以实现多对一、一对多和一对一连接的通信协议。UDP在传输数据前既不需要建立通道,在数据传输完毕后也不需要将通道关闭。只要客户端给服务端发送一个请求,服务端就会一次性地把所有数据发送完毕。UDP在传输数据时不会对数据的完整性进行验证,在数据丢失或数据出错时也不会要求重新传输,因此也节省了很多用于验证数据包的时间,所以以UDP建立的连接的延迟会比以TCP建立的连接的延迟更低。由于UDP数据格式可以根据使用需要进行自定义,因此,所述第一灯光控制信息可以是用户定义的数据格式,也可以使用标准协议定义的数据格式,例如Art-Net通讯协议,详细信息参见 www.Art-Net.org.uk
上述WIFI无线DMX灯具基本达到了使用常规的WIFI无线通讯方式控制DMX灯具的技术效果,同时又无需对DMX灯具的电路板之外的硬件进行改动。
作为变型,为简化WIFI无线DMX灯具,可以不包括DMX信号输入端口和DMX信号输出端口,电路板也可以省略DMX控制模块104,直接通过WIFI无线控制每个灯具。
为此,参照图5b、图20,WIFI无线DMX灯具能够基于DMX灯光控制数据传输协议进行通讯,其中,所述WIFI无线DMX灯具包括电路板100。
参照图5b,所述电路板100包括MCU主控模块101,并且,所述电路板100被安装在所述WIFI无线DMX灯具内。可以理解的是,参照图1至4中的现有技术的电路板,例如,图1中的DMX灯具的电路板包括主控单元、DMX控制单元、供电单元等。随着技术的进步,主控单元选用功能强大的MCU芯片,例如M0518主控芯片,参见文献 https://wenku.baidu.com/view/51975a4108a1284ac85043c3.html
参照图5b、图20,DMX灯光控制数据由手持终端设备例如智能手机 传输至所述MCU主控模块101,所述MCU主控模块101控制所述WIFI无线DMX灯具产生设定的灯光变化效果。所述设定的灯光变化效果可以是灯光颜色变化、明暗变化、或者灯光颜色、亮度、明暗变化的组合等。可选地,所述设定的灯光变化效果是现有技术中的灯光控台能实现的所有灯光变化场景。
参照图5b、图20,所述WIFI无线DMX灯具还包括LED灯板200,所述LED灯板200包括LED灯珠。可以理解的是,随着技术的进步,LED灯光以其发光效率远高于其它类型的灯光而被灯光技术领域广泛采用,当然,本专利的技术方案也可以用于控制白炽钨丝灯泡、卤素灯泡、荧光灯管等,这些灯泡或灯珠的类型的变化仅是常规技术手段的替换。
参照图5b,所述电路板100还包括WIFI无线模块102、和LED-PWM调光模块103,所述WIFI无线模块102位于所述WIFI无线DMX灯具内。可以理解的是,参照图2、图3、图4中的现有技术中的无线模块,它们要么是专利文献CN202282894U的红外遥控IR无线模块,要么是专利文献CN204465950U、CN109803466A外置的WIFI无线模块,其没有安装在DMX灯具中,而是安装在单独的WIFI中继控制器或转发器中。随着技术的进步,DMX灯具专用的WIFI无线模块已商业化,例如,乐鑫信息科技上海股份有限公司生产的ESP8266贴片式Wi-Fi模组。
参照图8,所述WIFI无线模块102包括WIFI处理电路1021、和WIFI电源开关电路1022,所述WIFI处理电路1021能够对输入的信息按程序指令进行处理,所述WIFI电源开关电路1022能够开启或关闭所述WIFI无线模块102的电源。可以理解的是,随着技术的进步,所述WIFI处理电路1021包括可编程的芯片和程序烧入或更新电路,可以将功能程序代码存储到可编程的芯片,从而能够按所述程序代码或者程序指令高效处理通讯数据包。所述程序指令例如是UDP数据包的解码规则、数据接收程序指令、或者数据发送程序指令等,所述WIFI电源开关电路1022通过关断电源,可以在待机状态下所述WIFI无线模块不耗电,达到节省电能的技术效果。
如图8、图9所示,所述WIFI处理电路1021包括WIFI芯片U10,所述MCU主控模块101包括主控芯片U2;电阻器RC12的一端与所述WIFI芯片U10的管脚22连接,另一端与所述主控芯片U2的管脚8电连接;电阻器RC13一端与所述WIFI芯片U10的管脚21连接,另一端与所述主控芯片U2的管脚9电连接;并且,所述WIFI芯片U10与移动智能WIFI终端基于UDP传输层通讯协议进行无线通讯。可以理解的是,作为实例,所述WIFI芯片是上述商用的ESP8266贴片式Wi-Fi模组,其提供的逻辑处理功能和管脚功能完全能够满足数据的收发、处理、与DMX灯具的MCU主控模块101通讯、与WIFI客户端例如智能手机通讯的要求。所述WIFI芯片U10的管脚22用于接收来自所述主控芯片U2的管脚8传输的数据,所述WIFI芯片U10的管脚21用于发送数据至所述主控芯片U2的管脚9,从而实现所述主控芯片U2与所述WIFI芯片U10的双向数据通讯。所述WIFI芯片U10与智能手机之间的无线通讯在UDP传输协议层是现有技术,也就是,无需更改移动智能WIFI终端或者智能手机的硬件例如手机的WIFI模块,使用本申请人编写的DMX灯具手机控制终端APP,所述DMX灯具手机控制终端APP与所述WIFI芯片U10通过常规格式的UDP数据包进行通讯,无需新的数据传输协议。当然,所述主控芯片U2与所述WIFI芯片U10的双向数据通讯是由本申请人编写程序代码进行特定数据处理,其详细细节不是本发明的保护范围,不在这里详细描述。本发明的要点之一在于将先进的WIFI芯片直接集成到DMX灯具中,实现了用常规的UDP传输层通讯协议来控制DMX灯具,这是现有技术没有实现的。本发明的要点之二在于所述主控芯片U2与所述WIFI芯片U10之间的物理电连接方式不同于现有技术,实现了UDP数据包到DMX数据包的高效解码。
如图6、图9所示,所述LED-PWM调光模块103包括排插JP6,所述主控芯片U2的管脚24、管脚23、管脚22、管脚21分别与所述排插JP6的连接线PWM1、连接线PWM2、连接线PWM3、连接线PWM4连接。可以理解的是,所述LED-PWM调光模块103的所述排插JP6将所述主控芯片U2 与所述LED灯板电连接在一起,将解码的DMX控制指令发送至所述LED灯板,在不用更改现有的DMX灯具的硬件的情形下,直接使用DMX512通讯协议规定DMX控制指令控制所述LED灯珠产生灯光变化。当然,所述主控芯片U2解码后的DMX数据格式和数据信息是现有技术,这里不再详细描述。因此,本发明的要点之三在于,基于所述排插JP6将所述主控芯片U2与所述LED灯板电连接,在DMX灯具的硬件除电路板外没有其它改动的情况下,通过常规的WIFI通讯实现对专业的DMX灯具的控制。
如图6、图8、图9所示,所述WIFI无线DMX灯具还能够按如下方式产生设定的灯光变化效果:
所述WIFI无线模块102将接收到的第一灯光控制信息通过所述WIFI芯片U10的管脚21传输给所述MCU主控模块101的主控芯片U2;
所述主控芯片U2处理所述第一灯光控制信息,并生成第二灯光控制信息;
所述主控芯片U2将所述第二灯光控制信息通过其管脚24、管脚23、管脚22、管脚21传输至所述LED-PWM调光模块103;
所述LED-PWM调光模块103按所述第二灯光控制信息控制所述LED灯板200,产生所述设定的灯光变化效果。可以理解的是,所述第一灯光控制信息是所述移动智能WIFI终端发送的UDP数据包,其中,UDP全称为用户数据信息传输协议,UDP传输协议是一种不可靠的、面向无连接、可以实现多对一、一对多和一对一连接的通信协议。UDP在传输数据前既不需要建立通道,在数据传输完毕后也不需要将通道关闭。只要客户端给服务端发送一个请求,服务端就会一次性地把所有数据发送完毕。UDP在传输数据时不会对数据的完整性进行验证,在数据丢失或数据出错时也不会要求重新传输,因此也节省了很多用于验证数据包的时间,所以以UDP建立的连接的延迟会比以TCP建立的连接的延迟更低。由于UDP数据格式可以根据使用需要进行自定义,因此,所述第一灯光控制信息可以是用户定义的数据格式,也可以使用标准协议定义的数据格式,例如Art-Net通讯协议,详细信息参见 www.Art-Net.org.uk
上述WIFI无线DMX灯具基本达到了使用常规的WIFI无线通讯方式控制DMX灯具的技术效果。
优选地,参照图25,所述第一灯光控制信息包括UDP数据包,所述UDP数据包括Art-Net数据包,用于移动智能WIFI终端与所述WIFI无线模块102之间的无线通讯,并且,所述Art-Net数据包包括所述Art-Net控制数据包,所述Art-Net控制数据包包括DMX数据包,所述DMX数据包包括DMX灯光控制指令。可以理解的是,使用现有的Art-Net通讯协议,可以大量节省开发用户自定义格式的UDP数据包的时间,而且有商用的现成的WIFI无线模块例如ESP8266贴片式Wi-Fi模组直接编程解码Art-Net数据包,而不需要重新设计专用的解码芯片。如图25所示,Art-Net控制数据包8字节的Art-Net头、2字节的控制指令字、Art-Net地址、和512字节的控制数据包,其中这512字节的控制数据包的内容就是要传输的DMX512控制数据包。
上述WIFI无线DMX灯具基于现有的Art-Net协议实现UDP传输层的WIFI无线通信,极大地节省了通信控制程序开发成本。
优选地,参照图23,在本专利的技术方案中,所述WIFI无线模块102能够直接将所述Art-Net控制数据包中的DMX512控制数据包解码出来,并且,所述WIFI芯片U10与所述主控芯片U2能够直接基于DMX512协议进行数据传输。可以理解的是,图23也示出现有技术中的两个技术方案,其要么通过专用的网络芯片,将WIFI模块A传输的信息解码后传输至所述主控芯片,再由主控芯片解码或者解析为DMX512控制指令。要么使用没有包括DMX512控制指令的WIFI通讯信息直接通过主控芯片控制灯光。也就是说,现有技术中的WIFI无线通讯数据中不包括DMX512控制数据包。
上述WIFI无线DMX灯具基于WIFI无线模块的强大逻辑处理功能,直接将所述Art-Net控制数据包中的DMX512控制数据包解码,减轻了主控芯片的逻辑处理工作,并节省了对主控芯片进行复杂编程的开发成本。
优选地,参照图23至图26,所述第一灯光控制信息包括符合DMX灯 光控制数据传输协议的数据包;或者,所述第二灯光控制信息是符合DMX灯光控制数据传输协议的灯光控制指令。
可以理解的是,所述第二灯光控制信息也就是在所述主控芯片U2与所述LED-PWM调光模块之间传输的灯光控制信息,作为实例,所述第二灯光控制信息是DMX512灯光控制指令数据,这样的选择使得不用更改现有DMX灯具的除电路板之外的硬件,极大地节省了产品成本,保护了技术的可靠兼容性。因此,本发明的要点之四在于:所述WIFI通讯数据包括DMX512灯光控制指令数据,并且所述WIFI无线模块102能够直接将WIFI通讯数据中的DMX512灯光控制指令数据解码出来,直接通过DMX512通讯协议传输给所述MCU主控模块101的主控芯片U2,借助于LED-PWM调光模块103控制灯光变化。
上述WIFI无线DMX灯具自始至终都是使用DMX协议数据,使得控制系统相对简单,编程工作量相对较少。
优选地,如图8所示,所述WIFI无线模块102的WIFI处理电路1021还包括电阻R15、电阻R14、电容C18、电容C17、电阻R28、开关按键A、发光二极管LED3、电阻R38、电阻R27、电阻R13、地线、3.3V电源;
所述电阻R15的一端连接所述WIFI芯片U10的管脚1,另一端连接节点21a;所述电阻R14的一端连接所述WIFI芯片U10的管脚3,另一端连接节点21a;所述电容C18和所述电容C17并联,形成第一电容并联体,所述第一电容并联体的一端连接地线,另一端连接所述WIFI芯片U10的管脚8和节点21a;所述节点21a连接3.3V电源;
所述电阻R28的一端连接所述WIFI芯片U10的管脚20,另一端连接3.3V电源,所述开关按键A的一端连接地线,另一端连接所述WIFI芯片U10的管脚20;
所述发光二极管LED3和所述电阻R38形成第一串联体,所述第一串联体的一端连接所述WIFI芯片U10的管脚19,另一端连接3.3V电源;
所述电阻R27的一端连接所述WIFI芯片U10的管脚18,另一端连接3.3V电源;
所述电阻R13的一端连接所述WIFI芯片U10的管脚16,另一端连接地线;
所述WIFI芯片U10的管脚15连接地线。
可以理解的是,上述WIFI无线DMX灯具的WIFI无线模块的具体实施例使得工作稳定、安全可靠。对各电路部分的电子元器件进行功能等同的替换也在本发明的保护范围之内。
优选地,如图8所示,所述WIFI电源开关电路包括电阻R19、MOS管Q4、电容C9、电阻R18、NPN型三极管Q3、电阻R17、和电阻R16;
所述MOS管Q4的G极连接节点22b,S极连接节点22c,D极连接节点22d;
所述电阻R19的一端连接所述节点22c,另一端连接所述节点22b;
所述电容C9的一端连接所述节点22d,另一端连接地线;
所述节点22c连接3.3V电源;所述节点22d连接3.3V电源;
所述电阻R18的一端连接所述节点22b,另一端连接所述NPN型三极管Q3的C极;所述NPN型三极管Q3的e极连接地线,b极连接节点22a;
所述电阻R19的一端连接所述节点22a,另一端连接地线;
所述电阻R16的一端连接所述节点22a,另一端连接所述主控芯片U2的管脚38。
可以理解的是,上述WIFI无线DMX灯具的WIFI无线模块的具体实施例达到节省电能的技术效果。对各电路部分的电子元器件进行功能等同的替换也在本发明的保护范围之内。
优选地,如图9所示,所述MCU主控模块101还包括晶振电路1012、稳压电路1015、复位电路1013、和MCU程序烧入电路1014;
所述晶振电路1012包括电容C3、电容C4、晶振Y1、电阻器R11、和电阻器R10;所述晶振Y1的所述电阻器R10并联,形成第二并联体,所述第二并联体的一端为节点12a,另一端为节点12b;所述电容C3的一端连接地线,另一端连接所述节点12a;所述电阻器R11的一端连接所 述主控芯片U2的管脚44,另一端连接所述节点12a;所述节点12b连接所述主控芯片U2的管脚45;
所述稳压电路1015包括电容C8、和电容C7;所述电容C8的一端连接地线,另一端连接所述主控芯片U2的管脚10;所述电容C7的一端连接地线,另一端连接所述主控芯片U2的管脚11;所述主控芯片U2的管脚12直接连接地线;
所述复位电路1013包括电阻R12和电容C6;所述电阻R12的一端连接地线,另一端连接节点13a;所述电容C6的一端连接地线,另一端连接所述节点13a,所述节点13a连接所述主控芯片U2的管脚46;
所述MCU程序烧入电路1014包括排插JP1和电容C5,所述排插JP1的第1连接线连接地线,第2连接线连接所述主控芯片U2的管脚46,第3连接线连接所述主控芯片U2的管脚30,第4连接线所述主控芯片U2的管脚29,第5连接线连接5V电源;所述电容C5的一端连接地线,另一端连接所述3.3V电源。
可以理解的是,上述WIFI无线DMX灯具的MCU主控模块的具体实施例使得工作稳定、安全可靠,对现有DMX灯具的电路板改动较小。对各电路部分的电子元器件进行功能等同的替换也在本发明的保护范围之内。
优选地,如图8所示,所述WIFI无线模块102还包括WIFI程序烧入电路1023,所述WIFI程序烧入电路1023包括排插JSP2;
在所述电路板上,所述排插JSP2位于所述WIFI芯片U10的下方,在所述排插JSP2和所述WIFI芯片U10之间,布置有所述电阻R13、所述电阻R27、所述电阻R28、所述电阻器RC12、所述电阻器RC13、所述电容C17、和所述电容C18;
在所述电路板上,在所述WIFI芯片U10上方,布置有所述电阻R16、所述电阻R17、所述电阻R18、所述电阻R19、所述电阻R38、所述电阻R14、所述电阻R15、所述MOS管Q4、所述NPN型三极管Q3、发光二极管LED3、和所述电容C9。
可以理解的是,上述WIFI无线DMX灯具的WIFI无线模块的具体实 施例具有更新芯片程序的功能,有利于WIFI无线模块的功能升级,延长WIFI无线模块的硬件使用期限。对各电路部分的电子元器件进行功能等同的替换也在本发明的保护范围之内。
图6为本发明创造的舞台灯具的优选实施方式的电路板的LED-PWM调光模块的示意图。
图7为本发明创造的舞台灯具的优选实施方式的电路板的DMX控制模块的示意图。
图8为本发明创造的舞台灯具的优选实施方式的电路板的WIFI无线模块的示意图。
图9为本发明创造的舞台灯具的优选实施方式的电路板的MCU主控模块的示意图。
图10为本发明创造的舞台灯具的优选实施方式的电路板的IR无线模块的示意图,IR无线模块用于遥控所述DMX灯具。
图11为本发明创造的舞台灯具的优选实施方式的电路板的电源模块的示意图,电源模块为DMX灯具提供电压准确、稳定的电源。
图12为本发明创造的舞台灯具的优选实施方式的电路板的电量管理模块的示意图,电量管理模块用于显示电量,提醒及时充电,所述DMX灯具因而可以使用充电电池。
为了优化电路板上各功能电路模块的电子元器件的布局,尽量减小电子元器件之间的串扰或电磁相互干扰,对所述DMX灯具的电路进行布局设计是可行的。
优选地,如图14所示,在所述电路板上,在所述主控芯片U2的左上角布置有所述电容C7和所述电容C8;在所述主控芯片U2的右侧布置有所述电容C5、所述电容C3、所述电容C4、所述电阻R10、所述电阻R11、和晶振Y1;所述主控芯片U2的下方布置有所述排插JP1、和所述电容C6。
优选地,如图13所示,在所述电路板上,在所述WIFI芯片U10的上方布置有电阻R14、电阻R15、电阻R16、电阻R17、电阻R18、电阻 R19、电阻R38、电容C9、三极管Q3、三极管Q4、发光二极管LED3,在所述WIFI芯片U10的下方布置有电阻R13、电阻RC13、电阻RC12、电阻R27、电阻R28、电容C17、电容C18、和排插ISP2。
图13为图8所示的WIFI无线模块的元件布局示意图。
图14为图9所示的MCU主控模块的元件布局示意图。
图15为图6所示的LED-PWM电路模块的元件布局示意图。
图16为图7所示的DMX电路模块的元件布局示意图。
图17为图10所示的IR电路模块的元件布局示意图。
图18为图11所示的电源电路模块的元件布局示意图。
图19为图12所示的电源管理电路模块的元件布局示意图。
在图中已清楚、明确地示出各电路模块的电子元器件布置的一实例,其中,部分电子元器件布局的非显著变化也在本发明的保护范围之内。
优选地,如图10、图11、图12所示,作为完整的实例,所述WIFI无线DMX灯具的电路板还包括电源模块108、电量管理模块107、和IR无线模块。这样的设计使得WIFI无线DMX灯具具有商用价值的全部基本功能。
参照图20,根据本发明的灯光控制系统的一实施方式,所述灯光控制系统包括手持终端设备和至少一台所述WIFI无线DMX灯具,所述手持终端设备通过WIFI无线通讯连接方式与所述WIFI无线DMX灯具通讯,从而通过所述手持终端设备能够控制所述WIFI无线DMX灯具,产生所述设定的灯光变化效果。可以理解的是,随着技术的进步,DMX灯具的应用场景增加,甚至走进千家万户,因此,使用非常普及的具有WIFI功能的智能手机控制DMX灯具成为非常有吸引力的商业技术方案。
优选地,如上文所述,所述手持终端设备通过WIFI无线通讯连接方式向所述WIFI无线DMX灯具通讯发送UDP数据包,所述UDP数据包符合Art-Net协议规范,所述UDP数据包称之为Art-Net协议数据包。可以理解的是,这样的设计方案可通过编写手机APP来实现,从而通过手机APP完善替代了专业的、昂贵的DMX灯光控台。
优选地,作为变型,所述Art-Net协议数据包包括Art-Net控制数据包,所述Art-Net控制数据包包括Art-Net头字段、控制指令字段、Art-Net地址字段、DMX控制数据包字段,所述DMX控制数据包字段中的DMX控制数据包符合所述DMX灯光控制数据传输协议规范;所述WIFI无线DMX灯具的WIFI无线模块102能够将接收到的所述Art-Net控制数据包传输给所述MCU主控模块101的主控芯片U2,所述主控芯片U2从Art-Net控制数据包中所述解析出所述DMX控制数据包,并用所述DMX控制数据包控制所述LED灯板200,产生所述设定的灯光变化效果。可以理解的是,WIFI无线模块102也可以不解码Art-Net控制数据包,而通过编程实现由主控芯片U2来解码Art-Net控制数据包。WIFI无线模块仅解码UDP数据包,因而可以使用功能相对简单、价格较低的WIFI无线模块。
优选地,所述手持终端设备是智能手机。
优选地,参照图21,至少一台所述WIFI无线DMX灯具的数量是1,所述WIFI无线DMX灯具包括第一DMX信号输入端口和第一DMX信号输出端口;;并且,所述灯光控制系统还包括多台有线DMX灯具,所述有线DMX灯具包括第二DMX信号输入端口和第二DMX信号输出端口;所述多台有线DMX灯具通过所述第二DMX信号输入端口和所述第二DMX信号输出端口有线通讯连接,形成第一有线灯具串;所述WIFI无线DMX灯具通过所述第二DMX信号输入端口和所述第一DMX信号输出端口与所述第一有线灯具串的第一台有线DMX灯具有线通讯连接;所述手持终端设备通过WIFI通讯方式与所述WIFI无线DMX灯具无线通讯连接。可以理解的是,这样的设计方案仅用一台WIFI无线DMX灯具就达到使用智能手机替代灯光控台控制DMX灯具串链的技术效果。
优选地,至少一台所述WIFI无线DMX灯具的数量大于1;所述手持终端设备能够通过WIFI通讯方式与所述WIFI无线DMX灯具中的每一台建立单独的无线通讯连接,并直接控制所述WIFI无线DMX灯具中的任何一台或多台。可以理解的是,这样的设计方案可以表现更复杂、丰富的动态灯光效果。
优选地,参照图22,至少一台所述WIFI无线DMX灯具的数量大于1;
所述灯光控制系统还包括无线路由器,每台所述WIFI无线DMX灯具都通过WIFI通讯方式与所述无线路由器建立无线通讯连接;
所述手持终端设备能够通过WIFI通讯方式与所述无线路由器建立无线通讯连接,并间接控制所述WIFI无线DMX灯具中的任何一台或多台。
可以理解的是,这样的设计方案借助于WIFI无线路由器实现更加复杂、更加快捷的动态灯光控制效果。
优选地,所述手持终端设备根据需要将多台所述WIFI无线DMX灯具分到一个灯组内,然后所述手持终端设备发送控制指令给所述灯组,所述灯组内的所述WIFI无线DMX灯具就能够统一按照所述控制指令进行相应的灯光表演。可以理解的是,这样的分组控制设计有利于大型的灯光展示阵列的形成。
优选地,所述灯光控制系统还包括多台有线DMX灯具;
所述WIFI无线DMX灯具与0台、1台或者多台所述有线DMX灯具建立有线通讯连接。可以理解的是,这样的设计方案能够形成大型的串联、并联的组合灯光阵列。
优选地,所述灯光控制系统还包括多台有线DMX灯具;
所述WIFI无线DMX灯具与0台、1台或者多台所述有线DMX灯具建立有线通讯连接。可以理解的是,这样的设计方案能够形成大型的串联、并联的组合灯光阵列。
优选地,DMX灯光控制数据传输协议例如是中华人民共和国文化行业标准WH/T 32-2008规定的DMX512-A灯光控制数据传输协议,或者是由USITT美国剧院技术协会制订的行业标准DMX512。
作为实例,灯具与灯具之间连接方式如下:
1-手机与1台装有WIFI模块的灯具连接,装有WIFI模块的灯具与其他多台灯具之间通过有线DMX连接。
手机无线控制多台灯具的方法:1台主机有WIFI模块即可,其他灯具之间使用DMX有线连接;可以实现任意单台控制,最多512台,每台灯具使用不同的地址码;也可以实现集体控制,数量无限,灯设置成相同的地址码即可。
具体的UDP数据包的数据结构:其包括ART-NET地址+IP地址+DMX数据,其中,因为WIFI热点就一个,所以WIFI热点的IP地址是固定的,手机的IP地址是WIFI热点分配的。
图25为本发明创造的灯光控制系统的WIFI无线模块解码DMX控制指令数据的流程图,其使用第1种灯具连接方式。
具体步骤如下:
步骤S101:打开手机app软件,并连接到wifi模块的热点;
步骤S102:wifi模块的Artnet协议搜索灯具;
步骤S103:建立灯具ip地址和artnet地址的对应关系,每个artnet地址代表一路dmx总线;
步骤S104:建立灯具映射表,dmx地址和灯具的对应关系;
步骤S105:选择一个编程文件,选择artnet地址,并选择需要控制的灯具;
步骤S106:触发播放;
步骤S107:产生dmx数据,例如每30毫秒间隔产生一次dmx数据;
步骤S108:把dmx数据,ip地址,artnet协议地址,端口号,填充到网络数据包,并发送出去;
步骤S109:Wifi模块接收到网络数据包;
步骤S1010:Wifi模块解释dmx数据,并把它按照dmx时序发送出去;
步骤S1011:继续播发数据?如果是,回到步骤S107,如果否,结束播发数据包。
2-每台灯具均装有WIFI模块的控制方式,手机可与任意灯具直接建立连接。其又分为两种子连接方式:
2A-没有路由器的情况:手机根据需要连接特定的单台灯具,建立WIFI连接,然后进行点对点的单台的任何控制。其数量为无限,每一台灯具相当于1个WIFI热点,使用手机连接上所需要的WIFI热点即可。
DUP数据包的数据结构:其包括ART-NET地址+IP地址+DMX数据,因为WIFI热点就一个,所以WIFI热点的IP地址是固定的,手机的IP地址是WIFI热点分配的。
其工作流程图参见图25。
2B-有路由器的情况:
步骤301-手机连上灯具的WIFI模块,然后用手机打开浏览器,在地址栏输入192.168.4.1,进入后切换到wifi参数设置界面,输入最终需要连接的路由器的名称和密码,然后保存。
步骤302-将多台灯具重复步骤301。
步骤303-完成步骤301和步骤302后,手机、多台灯具、路由器就形成了一个局域网。
图26为本发明创造的灯光控制系统的WIFI无线模块解码DMX控制指令数据的另一流程图,其对应所述第2种灯具连接方式的第2b子连接方式。
具体步骤如下:
步骤S201:打开手机app软件,并连接到公共路由器;
步骤S202:所有的灯具的wifi模块连接到公共路由器;
步骤S203:Artnet协议搜索灯具的wifi模块;
步骤S204:建立灯具ip地址和artnet地址的对应关系,每个artnet地址代表一路dmx总线;
步骤S205:建立灯具映射表,dmx地址和灯具的对应关系;
步骤S206:选择一个编程文件,选择artnet地址,并选择需要控制的灯具;
步骤S207:触发播放;
步骤S208:产生dmx数据,例如每30毫秒间隔产生一次dmx数据;
步骤S209:把dmx数据,ip地址,artnet协议地址,artnet协议端口号,填充到网络数据包;
步骤S2010:不同的数据包,分别发往不同的ip地址;
步骤S2011:Wifi模块接收到网络数据包;
步骤S2012:Wifi模块解释dmx数据,并把它按照dmx时序发送出去;
步骤S2013:继续播发数据?如果是,回到步骤S107,如果否,结束播发数据包。
控制方式如下:
①特定单台控制:
在APP里进行搜索,因为手机、多台灯具、路由器已经形成了一个局域网,每台灯具都含有WIFI模块,因此每台灯具都从路由器分配1个的IP地址。在手机里,所有灯具的信息都可以查找出来,需要控制哪一台,选择对应的灯具,先让灯具高亮进行确认后再进行控制即可。
DUP数据包的数据结构:其包括ART-NET地址+IP地址+DMX数据,其中,特定的灯具IP地址,由路由器分配而来。
②多台统一动作控制:
在APP里进行搜索,因为手机、多台灯具、路由器已经形成了一个局域网,每台灯具都含有WIFI模块,因此每台灯具都从路由器分配1个的IP地址,然后根据需要将多台灯具分到一个组内,然后发送控制指令给这个组,组内的灯具就会统一按照指令进行对应的表演。
DUP数据包的数据结构:其同时发送多个数据包,每个数据包控制1台灯具,每个数据包包括ART-NET地址+IP地址+DMX数据,其中,特定的灯具IP地址,由路由器分配而来;DMX数据包括DMX通道值,DMX通道值对应灯具的地址码。
此时,因为是统一动作控制,DXM数据包内的通道值是一样的。
③多台不同的动作控制:
DUP数据包的数据结构:其同时发送多个数据包,每个数据包控制1 台灯具,每个数据包包括ART-NET地址+IP地址+DMX数据,其中,特定的灯具IP地址,由路由器分配而来;DMX数据包括DMX通道值,DMX通道值对应灯具的地址码。
此时,因为是不同的灯具进行不同的动作控制,DXM数据包内的通道值是不一样的。
以上详细描述了本发明创造的优选的或具体的实施例。应当理解,本领域的技术人员无需创造性劳动就可以根据本发明创造的设计构思做出诸多修改和变化。因此,凡本技术领域中技术人员依本发明创造的设计构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在本发明创造的范围之内和/或由权利要求书所确定的保护范围内。

Claims (15)

  1. WIFI无线DMX灯具,其能够基于DMX灯光控制数据传输协议进行通讯,其中,所述WIFI无线DMX灯具包括电路板(100);
    所述电路板(100)包括MCU主控模块(101),并且,所述电路板(100)被安装在所述WIFI无线DMX灯具内;
    DMX灯光控制数据由手持终端设备传输至所述MCU主控模块(101),所述MCU主控模块(101)控制所述WIFI无线DMX灯具产生设定的灯光变化效果;
    其特征在于:
    所述WIFI无线DMX灯具还包括LED灯板(200),所述LED灯板(200)包括LED灯珠;
    所述电路板(100)还包括WIFI无线模块(102)、和LED-PWM调光模块(103),所述WIFI无线模块(102)位于所述WIFI无线DMX灯具内;
    所述WIFI无线模块(102)包括WIFI处理电路(1021)、和WIFI电源开关电路(1022),所述WIFI处理电路(1021)能够对输入的信息按程序指令进行处理,所述WIFI电源开关电路(1022)能够开启或关闭所述WIFI无线模块(102)的电源;
    所述WIFI处理电路(1021)包括WIFI芯片U10,所述MCU主控模块(101)包括主控芯片U2;电阻器RC12的一端与所述WIFI芯片U10的管脚22连接,另一端与所述主控芯片U2的管脚8电连接;电阻器RC13一端与所述WIFI芯片U10的管脚21连接,另一端与所述主控芯片U2的管脚9电连接;并且,所述WIFI芯片U10与移动智能WIFI终端基于UDP传输层通讯协议进行无线通讯;
    所述LED-PWM调光模块(103)包括排插JP6,所述主控芯片U2的管脚24、管脚23、管脚22、管脚21分别与所述排插JP6的连接线PWM1、连接线PWM2、连接线PWM3、连接线PWM4连接;
    所述WIFI无线DMX灯具还能够按如下方式产生设定的灯光变化效 果:
    所述WIFI无线模块(102)将接收到的第一灯光控制信息通过所述WIFI芯片U10的管脚21传输给所述MCU主控模块(101)的主控芯片U2;
    所述主控芯片U2处理所述第一灯光控制信息,并生成第二灯光控制信息;
    所述主控芯片U2将所述第二灯光控制信息通过其管脚24、管脚23、管脚22、管脚21传输至所述LED-PWM调光模块(103);
    所述LED-PWM调光模块(103)按所述第二灯光控制信息控制所述LED灯板(200),产生所述设定的灯光变化效果。
  2. 根据权利要求1所述的WIFI无线DMX灯具,其特征在于:所述第一灯光控制信息包括符合DMX灯光控制数据传输协议的数据包;和/或者,所述第二灯光控制信息是符合DMX灯光控制数据传输协议的灯光控制指令。
  3. 根据权利要求2所述的WIFI无线DMX灯具,其特征在于:所述第一灯光控制信息包括UDP数据包,所述UDP数据包括Art-Net数据包,用于手持终端设备与所述WIFI无线模块(102)之间的无线通讯,并且,所述Art-Net数据包包括所述Art-Net控制数据包,所述Art-Net控制数据包包括DMX数据包,所述DMX数据包包括DMX灯光控制指令。
  4. 根据权利要求3所述的WIFI无线DMX灯具,其特征在于:所述WIFI无线模块(102)能够直接将所述Art-Net控制数据包中的DMX512控制数据包解码出来,并且,所述WIFI芯片U10与所述主控芯片U2能够直接基于DMX512协议进行数据传输。
  5. 根据权利要求1至4中任一项所述的装置,其特征在于:所述WIFI无线模块(102)的WIFI处理电路(1021)还包括电阻R15、电阻R14、电容C18、电容C17、电阻R28、开关按键A、发光二极管LED3、电阻R38、电阻R27、电阻R13、地线、3.3V电源;
    所述电阻R15的一端连接所述WIFI芯片U10的管脚1,另一端连接节点21a;所述电阻R14的一端连接所述WIFI芯片U10的管脚3,另一 端连接节点21a;所述电容C18和所述电容C17并联,形成第一电容并联体,所述第一电容并联体的一端连接地线,另一端连接所述WIFI芯片U10的管脚8和节点21a;所述节点21a连接3.3V电源;
    所述电阻R28的一端连接所述WIFI芯片U10的管脚20,另一端连接3.3V电源,所述开关按键A的一端连接地线,另一端连接所述WIFI芯片U10的管脚20;
    所述发光二极管LED3和所述电阻R38形成第一串联体,所述第一串联体的一端连接所述WIFI芯片U10的管脚19,另一端连接3.3V电源;
    所述电阻R27的一端连接所述WIFI芯片U10的管脚18,另一端连接3.3V电源;
    所述电阻R13的一端连接所述WIFI芯片U10的管脚16,另一端连接地线;
    所述WIFI芯片U10的管脚15连接地线。
  6. 根据权利要求1所述的WIFI无线DMX灯具,其特征在于:所述WIFI电源开关电路(1022)包括电阻R19、MOS管Q4、电容C9、电阻R18、NPN型三极管Q3、电阻R17、和电阻R16;
    所述MOS管Q4的G极连接节点22b,S极连接节点22c,D极连接节点22d;
    所述电阻R19的一端连接所述节点22c,另一端连接所述节点22b;
    所述电容C9的一端连接所述节点22d,另一端连接地线;
    所述节点22c连接3.3V电源;所述节点22d连接3.3V电源;
    所述电阻R18的一端连接所述节点22b,另一端连接所述NPN型三极管Q3的C极;所述NPN型三极管Q3的e极连接地线,b极连接节点22a;
    所述电阻R19的一端连接所述节点22a,另一端连接地线;
    所述电阻R16的一端连接所述节点22a,另一端连接所述主控芯片U2的管脚38。
  7. 根据权利要求6所述的WIFI无线DMX灯具,其特征在于:所述 MCU主控模块(101)还包括晶振电路(1012)、稳压电路(1015)、复位电路(1013)、和MCU程序烧入电路(1014);
    所述晶振电路(1012)包括电容C3、电容C4、晶振Y1、电阻器R11、和电阻器R10;所述晶振Y1的所述电阻器R10并联,形成第二并联体,所述第二并联体的一端为节点12a,另一端为节点12b;所述电容C3的一端连接地线,另一端连接所述节点12a;所述电阻器R11的一端连接所述主控芯片U2的管脚44,另一端连接所述节点12a;所述节点12b连接所述主控芯片U2的管脚45;
    所述稳压电路(1015)包括电容C8、和电容C7;所述电容C8的一端连接地线,另一端连接所述主控芯片U2的管脚10;所述电容C7的一端连接地线,另一端连接所述主控芯片U2的管脚11;所述主控芯片U2的管脚12直接连接地线;
    所述复位电路(1013)包括电阻R12和电容C6;所述电阻R12的一端连接地线,另一端连接节点13a;所述电容C6的一端连接地线,另一端连接所述节点13a,所述节点13a连接所述主控芯片U2的管脚46;
    所述MCU程序烧入电路(1014)包括排插JP1和电容C5,所述排插JP1的第1连接线连接地线,第2连接线连接所述主控芯片U2的管脚46,第3连接线连接所述主控芯片U2的管脚30,第4连接线所述主控芯片U2的管脚29,第5连接线连接5V电源;所述电容C5的一端连接地线,另一端连接所述3.3V电源。
  8. 根据权利要求7所述的WIFI无线DMX灯具,其特征在于:所述WIFI无线模块(102)还包括WIFI程序烧入电路(1023),所述WIFI程序烧入电路(1023)包括排插JSP2;
    在所述电路板上,所述排插JSP2位于所述WIFI芯片U10的下方,在所述排插JSP2和所述WIFI芯片U10之间,布置有所述电阻R13、所述电阻R27、所述电阻R28、所述电阻器RC12、所述电阻器RC13、所述电容C17、和所述电容C18;
    在所述电路板上,在所述WIFI芯片U10上方,布置有所述电阻R16、 所述电阻R17、所述电阻R18、所述电阻R19、所述电阻R38、所述电阻R14、所述电阻R15、所述MOS管Q4、所述NPN型三极管Q3、发光二极管LED3、和所述电容C9。
  9. 根据权利要求8所述的WIFI无线DMX灯具,其特征在于:在所述电路板上,在所述主控芯片U2的左上角布置有所述电容C7和所述电容C8;在所述主控芯片U2的右侧布置有所述电容C5、所述电容C3、所述电容C4、所述电阻R10、所述电阻R11、和晶振Y1;所述主控芯片U2的下方布置有所述排插JP1、和所述电容C6。
  10. 根据权利要求9所述的WIFI无线DMX灯具,其特征在于:所述WIFI无线DMX灯具还包括电源模块(108)、电量管理模块(107)、和IR无线模块。
  11. 灯光控制系统,其特征在于,其包括手持终端设备和至少一台按上述权利要求3至10中任一项所述WIFI无线DMX灯具,所述手持终端设备通过WIFI无线通讯连接方式与所述WIFI无线DMX灯具通讯,从而通过所述手持终端设备能够控制所述WIFI无线DMX灯具,产生所述设定的灯光变化效果。
  12. 按权利要求11所述的灯光控制系统,其特征在于,至少一台所述WIFI无线DMX灯具的数量是1,所述WIFI无线DMX灯具包括第一DMX信号输入端口和第一DMX信号输出端口;;并且,所述灯光控制系统还包括多台有线DMX灯具,所述有线DMX灯具包括第二DMX信号输入端口和第二DMX信号输出端口;所述多台有线DMX灯具通过所述第二DMX信号输入端口和所述第二DMX信号输出端口有线通讯连接,形成第一有线灯具串;所述WIFI无线DMX灯具通过所述第二DMX信号输入端口和所述第一DMX信号输出端口与所述第一有线灯具串的第一台有线DMX灯具有线通讯连接;所述手持终端设备通过WIFI通讯方式与所述WIFI无线DMX灯具无线通讯连接。
  13. 按权利要求11所述的灯光控制系统,其特征在于,至少一台所述WIFI无线DMX灯具的数量大于1;所述手持终端设备能够通过WIFI 通讯方式与所述WIFI无线DMX灯具中的每一台建立单独的无线通讯连接,并直接控制所述WIFI无线DMX灯具中的任何一台或多台。
  14. 按权利要求11所述的灯光控制系统,其特征在于,至少一台所述WIFI无线DMX灯具的数量大于1;
    所述灯光控制系统还包括无线路由器,每台所述WIFI无线DMX灯具都通过WIFI通讯方式与所述无线路由器建立无线通讯连接;
    所述手持终端设备能够通过WIFI通讯方式与所述无线路由器建立无线通讯连接,并间接控制所述WIFI无线DMX灯具中的任何一台或多台。
  15. 按权利要求13所述的灯光控制系统,其特征在于,所述手持终端设备根据需要将多台所述WIFI无线DMX灯具分到一个灯组内,然后所述手持终端设备发送控制指令给所述灯组,所述灯组内的所述WIFI无线DMX灯具就能够统一按照所述控制指令进行相应的灯光表演。
PCT/CN2019/108368 2019-09-27 2019-09-27 Wifi无线dmx灯具及包括它的灯光控制系统 WO2021056378A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/108368 WO2021056378A1 (zh) 2019-09-27 2019-09-27 Wifi无线dmx灯具及包括它的灯光控制系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/108368 WO2021056378A1 (zh) 2019-09-27 2019-09-27 Wifi无线dmx灯具及包括它的灯光控制系统

Publications (1)

Publication Number Publication Date
WO2021056378A1 true WO2021056378A1 (zh) 2021-04-01

Family

ID=75164774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/108368 WO2021056378A1 (zh) 2019-09-27 2019-09-27 Wifi无线dmx灯具及包括它的灯光控制系统

Country Status (1)

Country Link
WO (1) WO2021056378A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202282894U (zh) * 2011-10-25 2012-06-20 深圳市立洋光电子有限公司 一种dmx控制的全彩led投光灯
CN203340348U (zh) * 2013-05-28 2013-12-11 叶秋艳 一种dmx无线控制式摇头灯
CN204707304U (zh) * 2015-01-29 2015-10-14 广州景晴光电科技有限公司 可任意定制灯光模式的多像素rgb控制器
CN107995760A (zh) * 2017-12-20 2018-05-04 广州达森灯光股份有限公司 可控硅调光控制系统
CN109661090A (zh) * 2019-02-15 2019-04-19 广州达森灯光股份有限公司 一种dmx灯具无线控制系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202282894U (zh) * 2011-10-25 2012-06-20 深圳市立洋光电子有限公司 一种dmx控制的全彩led投光灯
CN203340348U (zh) * 2013-05-28 2013-12-11 叶秋艳 一种dmx无线控制式摇头灯
CN204707304U (zh) * 2015-01-29 2015-10-14 广州景晴光电科技有限公司 可任意定制灯光模式的多像素rgb控制器
CN107995760A (zh) * 2017-12-20 2018-05-04 广州达森灯光股份有限公司 可控硅调光控制系统
CN109661090A (zh) * 2019-02-15 2019-04-19 广州达森灯光股份有限公司 一种dmx灯具无线控制系统

Similar Documents

Publication Publication Date Title
CN103604097B (zh) 用于led灯具的插拔式控制组件
CN102647821B (zh) 灯具
US8531135B2 (en) Lighting system and method for controlling the same
US9171455B1 (en) Multi-modal wireless controller for controlling an LED lighting system
US20130065642A1 (en) Luminaire control system and method for wirelessly controlling the same
WO2020077651A1 (zh) 一种基于蓝牙自组网控制的智能无线控制灯具
WO2022104713A1 (zh) 智能设备、智能设备的控制方法及控制系统
CN102573232A (zh) 通过互联网控制的led照明系统
WO2017206738A1 (zh) 一种蓝牙控制器
WO2018049981A1 (zh) 具有辅电力单元及无线接收功能的开关装置及其灯具系统
WO2018154433A1 (en) A node for a multi-hop communication network, related lighting system, method of updating the software of lighting modules and computer-program product
CN104470068A (zh) 一种具有调节led灯亮度功能的远程控制系统
CN204437893U (zh) 一种具有摄像功能的led工矿灯
JP2014078483A (ja) 照明器具を制御するための電力供給機器
WO2021056378A1 (zh) Wifi无线dmx灯具及包括它的灯光控制系统
CN202282894U (zh) 一种dmx控制的全彩led投光灯
CN204335013U (zh) 一种带有无线控制功能的rgb智能调色led灯系统
CN204362347U (zh) 一种led灯远程控制系统
CN103476179A (zh) 具有遥控调光、调色温的一体化多功能led电源
AU2019100624A4 (en) Light-Emitting Diode (LED) Voice Controller and LED Lamp
CN111654943B (zh) 一种具有无源动能开关控制的智能led灯及其实现方法
WO2017206640A1 (zh) 一种蓝牙天花灯
CN111043546A (zh) 一种基于蓝牙通讯的可现场安装的组网灯具系统
CN105065949A (zh) 一种led灯具
CN205026411U (zh) 一种led灯具

Legal Events

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

Ref document number: 19946376

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: 19946376

Country of ref document: EP

Kind code of ref document: A1