A driving control method and system of a universal single lamp controller
By using multi-protocol identification and mapping technology, the problem of poor driver compatibility for single lamp controllers is solved, enabling efficient adaptation and stable driving of different types of single lamp controllers, reducing replacement and upgrade costs, and improving system flexibility and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-05
- Publication Date
- 2026-07-03
AI Technical Summary
Existing single-lamp controller drivers have poor compatibility and cannot be adapted to various types, resulting in high replacement and upgrade costs, low system flexibility, and signal mismatch leading to lamp control failure and unstable operation.
The system employs a multi-protocol RF sniffer, PLC demodulator, and GPIO pulse capture device to acquire the raw bit stream. It establishes a protocol-independent intermediate instruction set through dual-channel identification of the physical layer and semantic layer. It uses FPPA to map any protocol frame to PII and generates quantum driving timing through blockchain light node anti-tampering. It synchronously outputs multiple isolated signals to enable hardware to select the corresponding channel after determining the type of lamp.
It achieves efficient adaptation to different types of single-lamp controllers, ensuring efficient collaboration between the driver board and the controller, reducing replacement and upgrade costs, and improving system flexibility and stability.
Smart Images

Figure CN122340685A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of lighting control, and in particular to a driving control method and system for a general-purpose single-lamp controller. Background Technology
[0002] In modern lighting systems, single-lamp controllers are the core components for realizing intelligent control of lamps. They come in various types, and different brands and models of single-lamp controllers have significant differences in output signal type (such as analog signal, digital signal), communication protocol (such as ZigBee, LoRa, Bluetooth, etc.) and control parameter range.
[0003] Traditional single-lamp controller drivers are typically designed specifically for a particular model of single-lamp controller, and can only be compatible with one or a few types of single-lamp controllers. When a lighting system needs to replace or upgrade a single-lamp controller, the corresponding driver often needs to be replaced as well. This not only increases equipment procurement costs but also brings cumbersome installation and commissioning work, reducing the flexibility and maintainability of the lighting system.
[0004] Furthermore, the output signal characteristics of different single-lamp controllers vary significantly. Traditional drives lack effective signal adaptation mechanisms, which can easily lead to problems such as lamp control malfunction and instability due to signal mismatch, affecting the normal operation of the lighting system. Therefore, it is of great significance to develop a universal drive control method and system that is compatible with multiple single-lamp controllers. Summary of the Invention
[0005] To address the problems of poor driver compatibility of existing single-lamp controllers, which prevent them from adapting to various types of single-lamp controllers, resulting in high replacement and upgrade costs and low system flexibility, this application provides a universal single-lamp controller drive control method and system.
[0006] The driving control method and system for a general-purpose single-lamp controller provided in this application adopt the following technical solution:
[0007] In a first aspect, this application provides a drive control method for a general-purpose single-lamp controller, comprising the following steps:
[0008] After the driver module is powered on, the interface module wakes up the multi-protocol RF sniffer, power line carrier demodulator and GPIO pulse capturer to obtain the raw bit stream and perform physical layer-semantic layer dual-channel identification on the captured raw bit stream.
[0009] A protocol-independent intermediate instruction set (PII) is established, and a field-programmable parsing array (FPPA) is used to map any protocol frame to the PII. The mapping process is guaranteed to be trustworthy by a cloud-signed lookup table, and the table updates are distributed through blockchain light nodes to prevent tampering.
[0010] Based on the PII, a quantum drive timing sequence is generated, and multiple isolated signals are output synchronously: relay switch, MOSFET current regulation, 0-10V analog, PWM differential, constant current source and constant voltage source automatic switching. After the hardware determines the type of lamp, the corresponding channel is selected.
[0011] Furthermore, the step of performing physical-semantic dual-channel recognition on the captured raw bitstream specifically includes: the physical layer extracts the radio frequency envelope entropy, PLC pulse width sequence, and GPIO edge density through 1D-CNN to generate a 64-dimensional feature vector; the semantic layer inputs the feature vector into a lightweight Transformer protocol classifier and outputs a protocol probability vector. If the maximum probability is ≥95%, the corresponding dynamic protocol stack is immediately loaded; otherwise, a micro-injection-echo mechanism is activated to inject 0.2mA / 1kHz pseudo-random code into the control board and uses impedance echo spectrum to identify the private protocol for secondary recognition.
[0012] Secondly, this application provides a drive control system for a general-purpose single-lamp controller, comprising:
[0013] The driver module integrates a multi-protocol RF SoC, a PLC dual-mode demodulator, an FPPA array, a micro AI chip, a TPM2.0, an infrared thermal imaging chip, and a 1023-bit Gold code generator.
[0014] The power module is used to convert the external input power into multiple DC operating voltages required by each module;
[0015] An interface module, connected to the single-lamp controller control board, is used to receive control signals from the single-lamp controller control board, the control signals including switching signals and dimming signals;
[0016] A data processing module, connected to the interface module, is used to identify and parse the received control signals;
[0017] The drive execution module is connected to the data processing module and is used to drive the lamp to work according to the parsed control instructions.
[0018] The data acquisition module is used to collect the electrical and environmental parameters of the lighting fixtures in real time and feed the collected data back to the data processing module;
[0019] The interface module is configured to be a physical and logical interface compatible with a variety of electrical standards and communication protocols, enabling the drive module to be adapted to different types of single-lamp controller boards.
[0020] Furthermore, the interface module includes: an analog signal interface for receiving 0-10V dimming signals or SCR dimming signals; a digital signal interface, including at least one of UART, SPI, and I2C interfaces, for digital communication; and a general-purpose input / output interface for receiving switching signals or PWM dimming signals.
[0021] Furthermore, the data processing module includes a signal intelligent analysis unit, which is used to automatically identify the signal type and communication protocol received by the interface module, convert control signals of different formats into internally unified drive instructions, and dynamically adjust the control parameters output to the drive execution module according to the parameters fed back by the data acquisition module.
[0022] Furthermore, the drive execution module includes a switching unit for turning on or off the power supply circuit of the lamp according to a switching command; and a dimming unit for adjusting the brightness and / or color temperature of the lamp by adjusting at least one of the output voltage, current or PWM duty cycle according to a dimming command.
[0023] Furthermore, the data acquisition module includes a voltage transformer and a current transformer for acquiring voltage and current signals from the power input side; a temperature sensor for acquiring the ambient temperature of the lamp or driver board; and a power metering chip connected to the voltage transformer and current transformer for calculating the real-time power and energy consumption data of the lamp based on the acquired voltage and current signals. When the temperature value acquired by the temperature sensor exceeds a preset safety threshold, the data processing module automatically adjusts the output power of the drive execution module for overheat protection.
[0024] Furthermore, it also includes: a personnel sensing module, which is connected to the data processing module and is used to sense the presence, identity, or location information of personnel; the personnel sensing module includes at least one of a microwave radar sensor, a Bluetooth beacon, a UWB positioning module, and a GPS / BeiDou positioning module, and is used to realize the lighting turning on when a person arrives, personnel positioning, and personalized lighting control based on identity.
[0025] Thirdly, this application provides a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described above for the drive control method of a general-purpose single-lamp controller.
[0026] Fourthly, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed by the aforementioned drive control method for a general-purpose single-lamp controller.
[0027] In summary, compared with the prior art, the beneficial effects of the above technical solution are:
[0028] This application describes a universal single-lamp controller drive control method and system. By incorporating an interface module compatible with multiple signal types, an intelligent signal parsing module, and an adaptive drive module, it can adapt to single-lamp controllers of different specifications and communication methods, achieving precise drive control for various types of lamps. Its control method ensures efficient collaboration between the drive board and the single-lamp controller through signal recognition, protocol conversion, and dynamic drive parameter adjustment. This invention solves the problems of poor compatibility and high adaptation costs associated with traditional drive boards, possessing wide applicability and high practical value. Attached Figure Description
[0029] Figure 1 This is a flowchart illustrating a drive control method for a general-purpose single-lamp controller according to an embodiment of this application. Detailed Implementation
[0030] The present application will be further described in detail below with reference to all the accompanying drawings.
[0031] This application discloses a drive control method and system for a general-purpose single-lamp controller, referring to... Figure 1 A drive control method for a general-purpose single-lamp controller includes:
[0032] S101, Signal reception and identification.
[0033] Specifically, after the driver module is powered on, the power management unit (PMU) immediately starts, converting the input power (AC85-265V or DC12-24V) into three stable outputs: DC3.3V (for the control unit, RF sniffer, PLC demodulator, and GPIO capture core circuit), DC12V (for the RF module power amplifier and PLC coupling circuit), and DC24V (for the driver-level preprocessing circuit). The PMU is pre-configured with a wake-up sequence to ensure that the three voltages reach a stable threshold (ripple ≤50mV) within 5ms, laying the foundation for rapid module startup.
[0034] The interface module simultaneously wakes up the multi-protocol RF sniffer, PLC demodulator, and GPIO pulse capture unit via a hardware trigger signal (GPIO port pre-configured high level). The multi-protocol RF sniffer is configured for parallel monitoring in dual-band mode: 2.4GHz (covering BLE, ZigBee, and WiFi) and Sub-GHz (315 / 433 / 868MHz, covering traditional RF remote controls). The RF chip (such as CC2652P) is in continuous reception mode, without protocol filtering, directly buffering the raw I / Q signals of the physical layer, and transmitting them in real-time to the shared FIFO (1024-byte depth, 100MHz read / write clock) via the SPI interface.
[0035] The PLC demodulator is connected to the power line via a high-pass coupling circuit (center frequency 1MHz, bandwidth 200kHz-5MHz). The demodulation chip (such as HL6300) enables FSK / BPSK dual-mode demodulation, extracts the carrier signal from the power line, converts it into a raw bit stream, and writes it to a shared FIFO via a UART interface. The coupling circuit has built-in surge protection (±2kV) to prevent power line interference from damaging the chip. The GPIO pulse capture device is configured with four general-purpose GPIO ports in edge-triggered mode (rising edge + falling edge dual trigger), corresponding to 0-10V analog signal pulses, PWM trigger signals, DALI bus signals, and DMX512 differential signals, respectively. A timer (TIM2, clock frequency 72MHz) records the pulse timestamps and level changes, splices them into a raw bit stream, and writes it to the shared FIFO, achieving a capture resolution of 13.89ns.
[0036] The three modules work simultaneously: the RF sniffer covers airborne wireless signals, the PLC demodulator covers online power line signals, and the GPIO capture device covers ground-based wired pulse signals. The shared FIFO caches data according to the first-in-first-out and cyclical overlay rules. The control unit reads the FIFO data through the DMA channel to avoid delays caused by CPU occupation and ensure that the module wake-up and initial signal capture are completed within 10ms.
[0037] The captured raw bitstream undergoes dual-channel identification at both the physical and semantic layers. Specifically, the physical layer identification involves the control unit performing parallel parsing of the raw bitstream in the shared FIFO, employing a sliding window algorithm (16-bit window length) to statistically analyze bit cycle fluctuations and adaptively identify any baud rate within the range of 1200bps-1Mbps, with an identification error ≤ ±1%. By detecting the level transition patterns of the bitstream, it distinguishes between Manchester encoding (DALI, some PLC protocols), NRZ encoding (RF433, DMX512), and FSK modulation (BLE, ZigBee), outputting the modulation type identifier. It then traverses characteristic fields in the bitstream (such as the 16-bit frame start bit 0x00 for DALI, the Break+MarkAfterBreak signal for DMX512, and the preamble 0x5555 for PLC) to locate frame boundaries, separate independent protocol frames, and discard invalid fragment data (bitstreams with a length < 8 bits).
[0038] Semantic layer recognition specifically involves splitting protocol frames based on the physical layer, matching them against a pre-stored protocol feature library (containing 20+ common lighting protocol frame structures), checking frame length (e.g., DALI frame 16-bit, DMX512 frame 512 bytes, PLC frame 64-1500 bytes), checksum type (CRC8 / CRC16, parity check), and address segment format to confirm protocol attribution. The frame header, address segment, and checksum are stripped to extract core control data (e.g., brightness value, color temperature value, on / off commands), and data type is marked (digital / analog, single-value / multi-channel) to provide standardized data input for subsequent command mapping. The "protocol type + extracted data + timestamp" is packaged into a recognition data packet and stored in a dedicated buffer (512 bytes). An overflow interrupt is set for the buffer to prevent data loss, and a "data ready" signal is sent to the command parsing module simultaneously.
[0039] S102, Instruction parsing and conversion.
[0040] Specifically, a "Protocol-Independent Instruction" (PII) is established, containing 16 atomic operations, covering switching, 0–100% dimming, 2700–6500K color temperature adjustment, 0–10V analog, PWM, DALI, and DMX512 full compatibility; a Field-Programmable Parser Array (FPPA) is used to map any protocol frame to the PII within 8μs. The mapping process is guaranteed by a cloud-signed lookup table, and table updates are distributed through blockchain light nodes to prevent tampering; the 16 atomic operations are standardized as PII instructions using a fixed 3-byte format (1 byte opcode + 1 byte parameter + 1 byte CRC8 checksum). The PII instruction set is embedded in the local Flash of the control unit and supports updates via blockchain light nodes (only allowing the addition of compatible instructions, without modifying the original instruction format), ensuring backward compatibility.
[0041] The FPPA consists of 8 independent parser cells, 1 dispatch cell, and 1 lookup table buffer cell. It adopts a hardware parallel architecture with a clock frequency of 125MHz and a single parsing latency of ≤2μs. Each parser cell is pre-configured with parsing logic for 2-3 protocols (e.g., parser cell 1 handles DALI / DMX512, parser cell 2 handles BLE / ZigBee, parser cell 3 handles PLC / RF433, etc.). The parsing logic is dynamically loaded through configuration registers.
[0042] The system employs a four-tuple structure: Protocol ID + Frame Feature Code + PII Mapping Relationship + Cloud Signature. The Protocol ID (1 byte) identifies the protocol type, the Frame Feature Code (2 bytes) is the protocol frame header feature, the PII Mapping Relationship (3 bytes) is the corresponding PII instruction, and the Cloud Signature (4 bytes) is the SHA-256 truncated value. The control unit integrates an Ethereum light node (using an ESP32-C3 chip, power consumption ≤50mA), accessing the blockchain network via WiFi / Ethernet and automatically synchronizing the cloud lookup table every 24 hours. During updates, the block signature is verified first; only when the signature matches the pre-stored cloud public key is the local table overwritten. The update process does not affect the current parsing operation.
[0043] The distribution unit receives the "protocol type + extracted data" data packet from the signal identification module and distributes it to the corresponding parsing unit according to the protocol ID (parallel lookup, delay ≤1μs). The parsing unit reads the frame feature code of the protocol from the lookup table, verifies the consistency of the data packet frame structure, and if a match is found, converts the extracted data into a PII instruction according to the mapping relationship (e.g., DMX512 channel 1 value 0x80 → PII brightness dimming instruction 0x02+0x80+CRC8). If the protocol is unknown, the parsing unit matches the closest PII instruction based on the data type (e.g., switch signals are binary values, dimming signals are continuous values) to achieve adaptive mapping. The generated PII instruction is checked by CRC8 and written to the instruction FIFO (depth 256 bytes), while simultaneously sending an "instruction ready" signal to the driver execution module. The entire process takes ≤8μs.
[0044] The cloud signature of the lookup table is generated by the platform's private key. The control unit pre-stores the platform's public key and verifies the signature of the table entry before each mapping. If the signature does not match, the entry is discarded, and a valid historical entry is used to prevent command errors caused by malicious tampering. The blockchain light node only synchronizes table update data (incremental updates, with a single data size ≤ 1KB) to avoid consuming excessive bandwidth and storage resources.
[0045] S103, Execution driver.
[0046] Specifically, based on the PII-generated "quantized driving timing", the 20kHz carrier cycle is divided into 256 time quanta. Each quantum duty cycle is assembled in real time with 8-bit precision to achieve stepless dimming with no flicker throughout (IEEE1789-2015 low-risk zone); synchronously output multiple isolated signals: relay switch, MOSFET current regulation, 0-10V analog, PWM differential, constant current source and constant voltage source automatic switching. After the hardware determines the type of lamp, the corresponding channel is selected, and the switching time is <50µs.
[0047] The control unit timer (TIM1, clock frequency 160MHz) generates a 20kHz carrier wave (period 50μs), which is divided into 256 time quantum units. The duration of each quantum unit is approximately 0.195μs (50μs / 256), with a quantum duration error of ≤±0.01μs. Based on the parameters in the PII instruction (e.g., brightness 0x80=50%), the required number of high-level quantum units (50%×256=128) is calculated. The hardware timing generator assembles the level state (high / low) of each quantum unit. The timing generator employs a double-buffering mechanism, executing the timing of the previous instruction in the current cycle while simultaneously generating the timing of the next instruction. This avoids switching jitter, ensuring continuous brightness changes during stepless dimming and meeting the low-risk zone requirements of IEEE 1789-2015 (flicker frequency >20kHz, fluctuation depth <10%). Every 100 carrier cycles (5ms), the timer count is calibrated using a high-precision crystal oscillator (error ±5ppm) to compensate for timing deviations caused by temperature drift, ensuring long-term operational stability.
[0048] The output interface integrates an impedance detection circuit (10Ω sampling resistor, ±1% accuracy), a voltage sampling circuit (100kΩ / 10kΩ voltage divider resistors, LM324 operational amplifier buffer), and a control terminal identification circuit (10kΩ pull-down resistor). All detection signals are optically isolated (TLP521) and then input to the control unit's ADC interface (12-bit accuracy, 1kSps sampling rate). After the driver module powers on, the control unit outputs a small test signal (DC3V voltage, lasting 1ms). The input current is measured through the sampling resistor to calculate the lamp's input impedance. Combining the impedance range and the control terminal response (e.g., a pull-down resistor exists at the 0-10V lamp control terminal, and a 16V bias exists on the DALI lamp bus), it matches the local lamp type library (pre-stored constant current / constant voltage / 0-10V / PWM / DALI / DMX / ordinary switch lamp features, 7 types), completing the determination within 10ms and outputting a type identifier (1 byte). If a match cannot be found, it defaults to PWM mode (compatible with most general-purpose lamps).
[0049] The relay switching channel uses a solid-state relay (SSR-25DA, 250V withstand voltage, 25A current), with an RC snubber circuit, optocoupler isolation drive, and on / off time ≤1ms. The MOSFET current regulation channel uses an N-channel MOSFET (IRF3205, 55V withstand voltage, 110A current), paired with a driver chip IR2104, supporting PWM current regulation and current sampling feedback (accuracy ±5%). The 0-10V analog output channel uses a DAC chip MCP4725 (12-bit precision, output range 0-5V), amplified to 0-10V by an operational amplifier OPA2340, with an output impedance ≤100Ω and short-circuit protection. The PWM differential output channel uses a timer to generate a PWM signal (frequency 20kHz), which is converted into a differential signal by a differential driver SN75176, improving anti-interference capability and transmission distance ≤100m. The constant current / constant voltage source channel uses the Buck-Boost topology power chip MP2489, and the output mode is configured through the feedback resistor. The constant current range is 100mA-2A, the constant voltage range is 5V-24V, and the ripple is ≤100mV.
[0050] The control unit selects the corresponding output channel based on the lamp type identifier using a hardware analog switch (CD4051, switching time ≤10μs), and simultaneously configures the channel parameters (such as constant current source current value and PWM frequency). The switching process employs a "disconnect-then-connect" logic: the current channel output is turned off (with a 1μs dead time delay to prevent short circuits between channels), and then the target channel is turned on. The entire switching time is <50μs, with no noticeable flickering or current surge. The control signals for all output channels are triggered by the same synchronous clock (timer update event), ensuring synchronized changes in parameters such as brightness, color temperature, and voltage, with a deviation ≤1μs, avoiding timing misalignment during multi-parameter adjustments.
[0051] Integrated overcurrent (sampling resistor + comparator LM311, threshold 2.5A), overvoltage (voltage divider + comparator, threshold 28V), and overheat (temperature sensor LM35, threshold 85℃) detection circuits. A fault signal triggers an interrupt, and the control unit immediately executes protective actions (shutting down the output channel and de-energizing the relay). After executing the PII command, the control unit samples the output parameters (brightness / color temperature / voltage / current) via ADC, packages them into a feedback data packet, and can upload it to the cloud via RF / PLC / blockchain light nodes. Simultaneously, it locally caches the 10 most recent execution records, supporting fault tracing.
[0052] Furthermore, the step of performing physical-semantic dual-channel recognition on the captured raw bitstream specifically includes: the physical layer extracts the radio frequency envelope entropy, PLC pulse width sequence, and GPIO edge density using 1D-CNN to generate a 64-dimensional feature vector; the semantic layer inputs the feature vector into a lightweight Transformer protocol classifier and outputs a protocol probability vector. If the maximum probability is ≥95%, the corresponding dynamic protocol stack is immediately loaded; otherwise, a micro-injection-echo mechanism is activated to inject 0.2mA / 1kHz pseudo-random code into the control board and uses impedance echo spectrum to identify the private protocol for secondary recognition, with an accuracy of ≥98%.
[0053] Based on the above method, this application also discloses a drive control system for a general-purpose single-lamp controller. A drive control system for a general-purpose single-lamp controller includes:
[0054] The driver module integrates a multi-protocol RF SoC, a PLC dual-mode demodulator, an FPPA array, a micro AI chip, a TPM2.0, an infrared thermal imaging chip, and a 1023-bit Gold code generator.
[0055] The power module is used to convert the external input power into multiple DC operating voltages required by each module;
[0056] An interface module, connected to the single-lamp controller control board, is used to receive control signals from the single-lamp controller control board, the control signals including switching signals and dimming signals;
[0057] A data processing module, connected to the interface module, is used to identify and parse the received control signals;
[0058] The drive execution module is connected to the data processing module and is used to drive the lamp to work according to the parsed control instructions.
[0059] The data acquisition module is used to collect the electrical and environmental parameters of the lighting fixtures in real time and feed the collected data back to the data processing module;
[0060] The interface module is configured to be a physical and logical interface compatible with a variety of electrical standards and communication protocols, enabling the drive module to be adapted to different types of single-lamp controller boards.
[0061] Furthermore, the interface module includes: an analog signal interface for receiving 0-10V dimming signals or SCR dimming signals; a digital signal interface, including at least one of UART, SPI, and I2C interfaces, for digital communication; and a general-purpose input / output interface for receiving switching signals or PWM dimming signals.
[0062] Furthermore, the data processing module includes a signal intelligent analysis unit, which is used to automatically identify the signal type and communication protocol received by the interface module, convert control signals of different formats into internally unified drive instructions, and dynamically adjust the control parameters output to the drive execution module according to the parameters fed back by the data acquisition module.
[0063] Furthermore, the drive execution module includes a switching unit for turning on or off the power supply circuit of the lamp according to a switching command; and a dimming unit for adjusting the brightness and / or color temperature of the lamp by adjusting at least one of the output voltage, current or PWM duty cycle according to a dimming command.
[0064] Furthermore, the data acquisition module includes a voltage transformer and a current transformer for acquiring voltage and current signals from the power input side; a temperature sensor for acquiring the ambient temperature of the lamp or driver board; and a power metering chip connected to the voltage transformer and current transformer for calculating the real-time power and energy consumption data of the lamp based on the acquired voltage and current signals. When the temperature value acquired by the temperature sensor exceeds a preset safety threshold, the data processing module automatically adjusts the output power of the drive execution module for overheat protection.
[0065] Furthermore, it also includes: a personnel sensing module, which is connected to the data processing module and is used to sense the presence, identity, or location information of personnel; the personnel sensing module includes at least one of a microwave radar sensor, a Bluetooth beacon, a UWB positioning module, and a GPS / BeiDou positioning module, and is used to realize the lighting turning on when a person arrives, personnel positioning, and personalized lighting control based on identity.
[0066] This application also discloses a smart terminal, which includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described above for a general-purpose single-lamp controller drive control method.
[0067] This application also discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program that can be loaded by a processor and executed as described above for a drive control method of a general-purpose single-lamp controller. The computer-readable storage medium includes, for example, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0068] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit the scope of protection of the invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on these embodiments, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art can still combine, add, delete, or otherwise adjust the features of the various embodiments of the present invention according to the circumstances without conflict or creative effort, thereby obtaining different technical solutions that do not fundamentally depart from the concept of the present invention. These technical solutions also fall within the scope of protection of the present invention.
Claims
1. A drive control method for a general-purpose single-lamp controller, characterized in that, include: After the driver module is powered on, the interface module wakes up the multi-protocol RF sniffer, power line carrier demodulator and GPIO pulse capturer to obtain the raw bit stream and perform physical layer-semantic layer dual-channel identification on the captured raw bit stream. A protocol-independent intermediate instruction set (PII) is established, and a field-programmable parsing array (FPPA) is used to map any protocol frame to the PII. The mapping process is guaranteed to be trustworthy by a cloud-signed lookup table, and the table updates are distributed through blockchain light nodes to prevent tampering. Based on the PII, a quantum drive timing sequence is generated, and multiple isolated signals are output synchronously: relay switch, MOSFET current regulation, 0-10V analog, PWM differential, constant current source and constant voltage source automatic switching. After the hardware determines the type of lamp, the corresponding channel is selected.
2. The driving control method for a general-purpose single-lamp controller according to claim 1, characterized in that, The steps of performing physical-semantic dual-channel recognition on the captured raw bitstream specifically include: the physical layer extracts the radio frequency envelope entropy, PLC pulse width sequence, and GPIO edge density using 1D-CNN to generate a 64-dimensional feature vector; the semantic layer inputs the feature vector into a lightweight Transformer protocol classifier and outputs a protocol probability vector. If the maximum probability is ≥95%, the corresponding dynamic protocol stack is immediately loaded; otherwise, a micro-injection-echo mechanism is activated to inject 0.2mA / 1kHz pseudo-random code into the control board and uses impedance echo spectrum to identify the private protocol for secondary recognition.
3. A drive control system for a general-purpose single-lamp controller, characterized in that, include: The driver module integrates a multi-protocol RF SoC, a PLC dual-mode demodulator, an FPPA array, a micro AI chip, a TPM2.0, an infrared thermal imaging chip, and a 1023-bit Gold code generator. The power module is used to convert the external input power into multiple DC operating voltages required by each module; An interface module, connected to the single-lamp controller control board, is used to receive control signals from the single-lamp controller control board, the control signals including switching signals and dimming signals; A data processing module, connected to the interface module, is used to identify and parse the received control signals; The drive execution module is connected to the data processing module and is used to drive the lamp to work according to the parsed control instructions. The data acquisition module is used to collect the electrical and environmental parameters of the lighting fixtures in real time and feed the collected data back to the data processing module; The interface module is configured to be a physical and logical interface compatible with a variety of electrical standards and communication protocols, enabling the drive module to be adapted to different types of single-lamp controller boards.
4. The drive control system for a general-purpose single-lamp controller according to claim 3, characterized in that, The interface module includes: an analog signal interface for receiving 0-10V dimming signals or SCR dimming signals; a digital signal interface, including at least one of UART, SPI and I2C interfaces, for digital communication; and a general-purpose input / output interface for receiving switching signals or PWM dimming signals.
5. The drive control system for a general-purpose single-lamp controller according to claim 3, characterized in that, The data processing module includes a signal intelligent analysis unit, which is used to automatically identify the signal type and communication protocol received by the interface module, convert control signals of different formats into internally unified drive instructions, and dynamically adjust the control parameters output to the drive execution module according to the parameters fed back by the data acquisition module.
6. The drive control system for a general-purpose single-lamp controller according to claim 3, characterized in that, The drive execution module includes a switching unit for turning on or off the power supply circuit of the lamp according to a switching command; and a dimming unit for adjusting the brightness and / or color temperature of the lamp by adjusting at least one of the output voltage, current or PWM duty cycle according to a dimming command.
7. The drive control system for a general-purpose single-lamp controller according to claim 3, characterized in that, The data acquisition module includes a voltage transformer and a current transformer for acquiring voltage and current signals from the power input side; a temperature sensor for acquiring the ambient temperature of the lamp or driver board; and a power metering chip connected to the voltage transformer and current transformer for calculating the real-time power and energy consumption data of the lamp based on the acquired voltage and current signals. When the temperature value acquired by the temperature sensor exceeds a preset safety threshold, the data processing module automatically adjusts the output power of the drive execution module for overheat protection.
8. The drive control system for a general-purpose single-lamp controller according to claim 3, characterized in that, It also includes: a personnel sensing module, which is connected to the data processing module and is used to sense the presence, identity, or location information of personnel; the personnel sensing module includes at least one of a microwave radar sensor, a Bluetooth beacon, a UWB positioning module, and a GPS / BeiDou positioning module, and is used to realize the lighting turning on when a person arrives, personnel positioning, and personalized lighting control based on identity.