Nfc programmer circuit applied to lighting industry

By introducing an NFC programmer circuit into the lighting industry, combined with an MCU, Nor flash chip, and NFC host chip, firmware upgrades using multiple communication methods are achieved, solving the problem of the traditional programmer's single function and enhancing product competitiveness.

CN119277623APending Publication Date: 2025-01-07ZHONGSHAN DONE LIGHTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411773423.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Traditional offline programmers in the lighting industry have limited functionality and cannot support different forms of software upgrades, resulting in low product competitiveness.

Method used

Design an NFC programmer circuit that includes an MCU, a Nor flash chip, an NFC host chip, and an NFC antenna. It supports three-in-one dimming, RS485 bus communication, and NFC wireless communication. It connects to peripherals via a TYPE-C interface to achieve multiple communication methods for firmware upgrades.

Benefits of technology

It implements multiple communication modes, including Manchester transmission and reception, RS485 bus communication, and NFC wireless communication, and supports parameter settings and firmware upgrades for LED drivers, improving the diversity and flexibility of users' firmware upgrade methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277623A_ABST
    Figure CN119277623A_ABST
Patent Text Reader

Abstract

The invention discloses an nfc programmer circuit applied to the lighting industry. The nfc programmer circuit comprises an MCU; the MCU is connected with a Nor flash chip and an NFC host chip, and the NFC host chip is connected with an NFC antenna and used for being in wireless communication with a lamp; the MCU is further connected with a Manchester transmitting and receiving circuit used for three-in-one dimming and an RS485 bus communication circuit, and further comprises an alternative control circuit connected with the Manchester transmitting and receiving circuit and the RS485 bus communication circuit and used for selecting a corresponding communication path according to configuration of a lamp. The either-or control circuit is connected with a communication interface used for being connected with a lamp. And the MCU is also connected with a TYPE-C interface which is used for being connected with peripheral equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of LED power supply firmware upgrade, and in particular to an NFC programmer circuit applied in the lighting industry. Background Art

[0002] In the lighting industry, traditional offline programmers use wired methods to set parameters and have relatively simple functions. They cannot support different forms of software upgrades, resulting in low product competitiveness. Summary of the invention

[0003] In order to solve the above problems, the present technical solution provides an NFC programmer circuit applied in the lighting industry.

[0004] To achieve the above purpose, the technical solution is as follows: An NFC programmer circuit used in the lighting industry includes an MCU; The MCU is connected to a Nor flash chip and an NFC host chip, and the NFC host chip is connected to an NFC antenna for wireless communication with the lamp; The MCU is also connected to a Manchester sending and receiving circuit and an RS485 bus communication circuit for three-in-one dimming, and also includes a two-choice control circuit with the Manchester sending and receiving circuit and the RS485 bus communication circuit, which is used to select a corresponding communication path according to the configuration of the lamp, and the two-choice control circuit is connected to a communication interface for connecting to the lamp; The MCU is also connected to a TYPE-C interface for connecting to peripherals.

[0005] In some embodiments, based on the circuit, the following steps are also included: The MCU obtains data from the peripheral device through the TYPE-C interface, and transmits the data to the lamp through the NFC antenna or the Manchester sending and receiving circuit or the RS485 bus communication circuit for programming.

[0006] In some embodiments, based on the circuit, the following steps are also included: The MCU is directly connected to the peripheral device via a TYPE-C interface, so that the programmer acts as an intermediary to transmit data of the peripheral device to the lamp for programming.

[0007] In some embodiments, the MCU is connected to the one-of-two control circuit via a control line.

[0008] In some embodiments, the MCU is connected to the RS485 bus communication circuit via a UART line.

[0009] In some embodiments, the MCU is connected to the Nor flash chip and the NFC host chip via an SPI bus.

[0010] The beneficial effects of this application are: This application has three communication modes. One is that the MCU communicates with the lamp via the Manchester sending and receiving circuit using the three-in-one dimming line to achieve firmware upgrade. The other is that the RS485 bus communication circuit uses the RS485 dimming line to communicate with the lamp to achieve firmware upgrade. Finally, if the lamp has NFC wireless function, this application can also achieve firmware upgrade through the NFC antenna and the lamp wireless connection. It integrates multiple functions into one to provide users with multiple ways of firmware upgrade. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below.

[0012] Figure 1 is a schematic diagram of the structure of a programmer according to an embodiment of the present invention; Figure 2 is a schematic diagram of a programmer circuit according to an embodiment of the present invention; Figure 3 is a schematic diagram of an offline communication process according to an embodiment of the present invention; Figure 4 is a schematic diagram of an online communication process according to an embodiment of the present invention; Figure 5 It is a storage structure diagram of the NOR flash and the internal microcontroller of the embodiment of the present invention. DETAILED DESCRIPTION

[0013] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0014] Please refer to Figure 1-5 As shown, an NFC programmer circuit applied in the lighting industry is characterized by comprising an MCU; The MCU is connected to a Nor flash chip and an NFC host chip, and the NFC host chip is connected to an NFC antenna for wireless communication with the lamp; The MCU is also connected to a Manchester sending and receiving circuit and an RS485 bus communication circuit for three-in-one dimming, and also includes a two-choice control circuit with the Manchester sending and receiving circuit and the RS485 bus communication circuit, which is used to select a corresponding communication path according to the configuration of the lamp, and the two-choice control circuit is connected to a communication interface for connecting to the lamp; The MCU is also connected to a TYPE-C interface for connecting to peripherals.

[0015] This application has the following effects: 1. Set the parameters of the LED driver through the three-in-one dimming line.

[0016] 2. Set parameters for the LED driver via RS485 bus.

[0017] 3. Wirelessly set parameters for the working LED driver via NFC and the data will take effect immediately.

[0018] 4. Wirelessly set parameters for LED drivers that are not powered on via NFC.

[0019] 5.Support control of DMX512 devices.

[0020] 6. Support firmware upgrade of LED driver through three-in-one dimming line, RS485 and NFC wireless methods.

[0021] 7. The three-in-one dimming line uses Manchester encoding for communication. The dimming line can not only transmit data, but also provide power to the driver circuit. When the configuration file and firmware are issued, the LED driver does not need to be connected to 220V AC, but can be directly powered by the dimming line.

[0022] Therefore, in addition to supporting the three-in-one dimming line, the RS485 line can also set parameters wirelessly through NFC. At the same time, the present invention also supports updating the firmware of the LED driver wirelessly through NFC.

[0023] Figure 1 As can be seen, there are 5 buttons and three dual-color LED indicators on the front, each with red and green. There is an NFC sensing area and battery compartment on the back. There is a typec socket, RS485, and a three-in-one dimming light interface at the bottom, sharing one interface, and a switching circuit inside.

[0024] Figure 2This is a schematic diagram of the internal circuit structure. Typec is used as a charging and communication interface. The 5V of USB is stepped down to 3.3V by ldo to power the microcontroller and peripheral ICs. The power of the nor flash chip, nfc host chip, and RS485 bus communication circuit is controllable. The power is turned off when in standby mode. When powered by a battery, the measured standby current is less than 10uA. A passive buzzer and three two-color LED indicators are used as operation indicators. There are four buttons, up, down, left, and right. The middle button is the reset and function button. Pressing it for 10 seconds will generate a hardware reset. The Manchester code transceiver circuit is used to communicate with the LED driver through the three-in-one dimming line. Since RS485 and three-in-one dimming line communications share the same interface, a selection circuit is provided. The nor flash chip and the nfc host chip communicate with the microcontroller through the spi bus. There are three communication channels between the Nfc programmer and the LED driver, namely the three-in-one dimming line, the RS485 line, and the NFC wireless.

[0025] Please refer to Figure 3 , based on the circuit, also includes the following steps; The MCU obtains data from the peripheral device through the TYPE-C interface, and transmits the data to the lamp through the NFC antenna or the Manchester sending and receiving circuit or the RS485 bus communication circuit for programming.

[0026] This method is an offline communication method. The configuration file or firmware is first downloaded from the computer to the NFC programmer through typec, and then the configuration file or firmware is sent to the LED driver in an offline manner. The driver firmware is sent to the NOR flash chip of the NFC programmer through USB using the computer. At this time, the NFC programmer can be separated from the computer and send the driver firmware to the LED driver through NFC, RS485, three-in-one dimming light, etc., so that the LED driver can upgrade its own firmware.

[0027] Please refer to Figure 4 , based on the circuit, also includes the following steps; The MCU is directly connected to the peripheral device via a TYPE-C interface, so that the programmer acts as an intermediary to transmit data of the peripheral device to the lamp for programming.

[0028] This method is an online communication method. The configuration file or firmware is sent directly to the LED driver through the NFC programmer as an intermediary. The NFC programmer does not save any data during the whole process. The NFC programmer only acts as a communication intermediary and does not store any data. The computer sends the driver firmware directly to the LED driver through NFC, RS485, three-in-one dimming light, etc., so that the LED driver can upgrade its own firmware.

[0029] Specifically, the MCU is connected to the one-of-two control circuit via a control line.

[0030] Specifically, the MCU is connected to the RS485 bus communication circuit via a UART line.

[0031] Specifically, the MCU is connected to the Nor flash chip and the NFC host chip via an SPI bus.

[0032] Switching of communication mode: Three-in-one optical communication mode: The default mode when the power is turned on is three-in-one optical communication mode, and the right red light is always on.

[0033] RS485 communication mode: Short press the left button to switch to RS485 communication mode, and the right green light will stay on. Short press the left button to switch back to the three-in-one dimming light communication mode.

[0034] NFC communication mode: Short press the upper button to switch to NFC communication mode, and the left green light will stay on. Short press the upper button to switch back to the three-in-one dimming light communication mode.

[0035] DMX512 device control: In the default state, short press the right button, and the right green light flashes. The NFC programmer sends a dimming command to the DMX512 device through the RS485 bus. After receiving the command, the DMX512 device will produce dynamic effects in the set way.

[0036] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of implementation of the present application. Other principles and basic structures that are the same or similar to those of the present application are within the protection scope of the present application.

Claims

1. An NFC programmer circuit used in the lighting industry, characterized in that: Including MCU; The MCU is connected to a Nor flash chip and an NFC host chip, and the NFC host chip is connected to an NFC antenna for wireless communication with the lamp; The MCU is also connected to a Manchester sending and receiving circuit and an RS485 bus communication circuit for three-in-one dimming, and also includes a two-choice control circuit with the Manchester sending and receiving circuit and the RS485 bus communication circuit, which is used to select a corresponding communication path according to the configuration of the lamp, and the two-choice control circuit is connected to a communication interface for connecting to the lamp; The MCU is also connected to a TYPE-C interface for connecting to peripherals.

2. The NFC programmer circuit used in the lighting industry according to claim 1, characterized in that: Based on the circuit, the following steps are also included: The MCU obtains data from the peripheral device through the TYPE-C interface, and transmits the data to the lamp through the NFC antenna or the Manchester sending and receiving circuit or the RS485 bus communication circuit for programming.

3. The NFC programmer circuit used in the lighting industry according to claim 1, characterized in that: Based on the circuit, the following steps are also included: The MCU is directly connected to the peripheral device via a TYPE-C interface, so that the programmer acts as an intermediary to transmit data of the peripheral device to the lamp for programming.

4. The NFC programmer circuit used in the lighting industry according to claim 1, characterized in that: The MCU is connected to the one-of-two control circuit via a control line.

5. The NFC programmer circuit used in the lighting industry according to claim 1, characterized in that: The MCU is connected to the RS485 bus communication circuit via a UART line.

6. The NFC programmer circuit used in the lighting industry according to claim 1, characterized in that: The MCU is connected to the Nor flash chip and the NFC host chip via the SPI bus.