LED lamp driving control method based on broadband power line carrier communication and controller

Through the OFDM technology and intelligent control strategy of broadband power carrier communication, the anti-interference, dimming accuracy and fault response problems in power line carrier communication are solved, and the reliability and energy efficiency of the LED group control system are improved, and it is suitable for smart homes and industrial lighting.

CN120434871AActive Publication Date: 2025-08-05ZHONGSHAN XINCHUANGMING ELECTRONIC TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510693414.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-08-05
Estimated Expiration
2045-05-27

AI Technical Summary

Technical Problem

In the prior art, power line carrier communication has poor anti-interference capability, insufficient dimming accuracy and energy efficiency, poor channel adaptability and lagging fault response, which cannot meet the high-reliability and low-latency dimming requirements of intelligent lighting systems.

Method used

Broadband power carrier communication is adopted, and anti-interference subcarriers are dynamically selected through OFDM technology, combined with adaptive modulation and MMSE equalization algorithm to realize channel-aware communication; LSTM network and sparrow optimization algorithm are used to dynamically allocate PWM and analog dimming weights, combined with PID closed-loop control and multi-parameter diagnosis to achieve fault prediction and remote repair.

Benefits of technology

It improves the reliability and energy efficiency of the LED group control system, realizes high-precision dimming and fast fault response, and is suitable for smart home and industrial lighting scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434871A_ABST
    Figure CN120434871A_ABST
Patent Text Reader

Abstract

The invention discloses an LED lamp driving control method based on broadband power line carrier communication and a controller, and relates to the technical field of intelligent lighting control. By dynamically selecting the anti-interference subcarriers and combining adaptive modulation, CRC (cyclic redundancy check) and MMSE (minimum mean square error) equalization algorithms, channel sensing communication is realized, and the bit error rate is reduced; pWM and analog dimming weights are dynamically distributed by using an LSTM network and a sparrow optimization algorithm, so that the dimming efficiency and accuracy are improved; driving signals are calibrated in real time through PID closed-loop control, multi-parameter fusion diagnosis and OTA remote repair are combined, and the fault prediction accuracy is improved; the method supports multi-node high-concurrency control, improves the signal injection efficiency, reduces the comprehensive energy efficiency, is suitable for scenes of smart home, industrial lighting and the like, and remarkably improves the system reliability and the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent lighting control, and in particular, relates to a method and a controller for driving an LED lamp based on broadband power carrier communication. Background Art

[0002] As intelligent lighting systems develop towards high-precision dimming and multi-node collaborative control, power line carrier communication (PLC) has become the mainstream solution for LED group control because it does not require additional wiring. However, as a non-ideal transmission medium, power lines have problems such as strong noise, impedance mismatch, and multipath fading, making it difficult for traditional PLC technology to meet the requirements of high-reliability and low-latency dimming command transmission. At the same time, LED dimming needs to take into account both visual comfort and energy efficiency. The single or static hybrid mode of analog dimming (linear current regulation) and PWM dimming (switching frequency control) in existing technologies cannot achieve flicker suppression and optimal efficiency in the full brightness range. In addition, the channel quality changes dynamically in complex power grid environments, and a solution for collaborative optimization of adaptive modulation, intelligent balancing, and hybrid dimming is still needed.

[0003] The existing technology has problems such as poor anti-interference ability, insufficient dimming accuracy and energy efficiency, poor channel adaptability and delayed fault response. Summary of the Invention

[0004] (1) Technical problems solved

[0005] In response to the problems in the related art, the present invention provides an LED lamp driving control method based on broadband power carrier communication to overcome the above technical problems existing in the existing related art.

[0006] (2) Technical solution

[0007] To solve the above technical problems, the present invention is achieved through the following technical solutions:

[0008] S1. Generate digital control instructions according to user needs and process them to obtain coded control instructions; convert the coded control instructions into a time domain signal set and then perform digital-to-analog conversion to obtain an analog OFDM signal set;

[0009] Injecting an analog OFDM signal set into the power line to obtain a mixed signal in the power line;

[0010] S2, separating and restoring the mixed signal in the power line to obtain a restored OFDM signal set; performing ADC conversion, FFT transformation, equalization and distortion compensation, and demodulation and reorganization operations on the restored OFDM signal set to obtain a restored coding control instruction;

[0011] Verify the restoration encoding control instruction. If the verification is successful, execute S3; otherwise, return to S1 and request data retransmission;

[0012] S3. Calculate the parameters of the restored coded control instruction using a hybrid dimming algorithm to obtain a final hybrid dimming current;

[0013] The PID controller controls the final mixed dimming current and the measured current to obtain the PID control quantity; the PID control quantity is converted into a drive signal control;

[0014] S4. Use the drive signal to control the constant current driving of the LED; collect LED status data in real time; generate a fault alarm when there is an abnormality in the LED status data;

[0015] Through communication protocol optimization, hybrid dimming algorithm innovation and intelligent control strategy, this invention solves the problems of poor anti-interference ability, insufficient dimming accuracy and energy efficiency, poor channel adaptability and delayed fault response in the existing technology. It significantly improves the reliability, energy efficiency and user experience of the LED group control system, and is suitable for complex power grid scenarios such as smart homes and industrial lighting.

[0016] Preferably, the S1 comprises the following steps:

[0017] S11, generating a digital control instruction according to user needs; the digital control instruction format includes the target LED address, dimming parameters and color temperature value;

[0018] Encapsulating the digital control instruction through a protocol and adding a check code to obtain a coded control instruction; the check code is used to ensure transmission reliability;

[0019] S12, performing OFDM, symbol modulation, inverse fast Fourier transform, and digital-to-analog conversion operations on the coded control instruction to obtain an analog OFDM signal set;

[0020] S13. Using impedance matching technology, inject the analog OFDM signal set into the power line through the coupling circuit, and transmit it superimposed with the industrial frequency AC power to obtain a mixed signal in the power line; the impedance matching technology is used to ensure signal transmission efficiency and reduce reflection loss;

[0021] The present invention generates digital control instructions containing addresses, dimming parameters and color temperature values through user instructions, and forms coded instructions after protocol encapsulation and CRC verification; adopts OFDM technology to perform subcarrier modulation, IFFT transformation and digital-to-analog conversion on the coded instructions to generate analog signals, and finally injects the signals into the power lines through impedance matching coupling circuit, thereby reducing reflection loss and improving transmission efficiency.

[0022] Preferably, the S12 includes the following steps:

[0023] S121, using OFDM technology, avoiding the frequency band where power line noise is concentrated, dynamically selecting available subcarriers within the 2-30 MHz frequency band to obtain a subcarrier set;

[0024] S122, adaptively adjusting the modulation mode and the number of available subcarriers in the subcarrier set according to the channel quality, modulating the coding control instruction to obtain a modulation symbol set;

[0025] S123, using the subcarrier set and the modulation symbol set, and performing subcarrier mapping and IFFT transformation by inverse fast Fourier transform to generate a time domain signal set;

[0026] S124, inserting a cyclic prefix into each symbol in the time domain signal set to eliminate multipath interference, and generating an analog OFDM signal set through digital-to-analog conversion;

[0027] The present invention uses OFDM technology to dynamically select low-noise subcarriers within 2-30MHz, adaptively adjusts the QPSK / 16-QAM modulation mode, generates a time domain signal through IFFT, inserts a cyclic prefix to eliminate multipath interference, and then converts it into an analog OFDM signal to ensure anti-interference and transmission reliability.

[0028] Preferably, said S2 comprises the following steps:

[0029] S21, the LED controller separates the high-frequency OFDM signal from the mixed signal in the power line through a coupling circuit to obtain a separated high-frequency OFDM signal;

[0030] A bandpass filter is used to filter out the power frequency component and out-of-band noise in the separated high-frequency OFDM signal, and a low-noise amplifier is used to pre-amplify the weak signal in the separated high-frequency OFDM signal to obtain a restored OFDM signal set;

[0031] S22, performing analog-to-digital conversion on the restored high-frequency OFDM signal set, and performing FFT transformation after removing the cyclic prefix to obtain a restored subcarrier set;

[0032] Collect the channel estimation results of the restored subcarrier set, and use an equalization algorithm to compensate for channel distortion based on the channel estimation results to obtain an equalized modulation symbol set;

[0033] S23, performing demodulation and reassembly operations on the equalized modulation symbol set to obtain a restored coding control instruction;

[0034] Verify the data integrity of the restored encoding control instruction through the check code. If the check fails, request retransmission; otherwise, execute S3;

[0035] The present invention extracts high-frequency OFDM signals from power lines through a coupling circuit, filters out power frequency noise through bandpass filtering (2-30MHz), and performs low-noise amplification. After ADC conversion, the cyclic prefix is removed and FFT is performed to restore the subcarrier. The MMSE equalization algorithm is used to compensate for channel distortion. After demodulation and reorganization of the data, the CRC integrity is checked, and retransmission is triggered if failure occurs.

[0036] Preferably, the step S3 includes the following steps:

[0037] S31, parsing and restoring the coded control instruction, extracting features, and obtaining a control instruction parameter set; the control instruction parameter set includes parameters such as target brightness and color temperature;

[0038] S32, performing calculations using the parameters in the control instruction parameter set of the hybrid dimming algorithm to obtain a final hybrid dimming current;

[0039] S33, real-time monitoring of LED load voltage and current to obtain the measured current; the PID controller dynamically adjusts the drive voltage / current according to the error between the final mixed dimming current and the measured current to obtain the PID control value;

[0040] Convert the calculated PID control quantity into the actual driving voltage or PWM duty cycle signal, control the output of the constant current driving circuit, and obtain the driving signal control;

[0041] The present invention analyzes the instruction parameters, uses LSTM and sparrow algorithm to dynamically allocate PWM and analog dimming weights, calculates the mixed current, and combines PID closed-loop control to calibrate the drive signal in real time, thereby improving dimming accuracy, suppressing flicker, and optimizing energy efficiency and stability.

[0042] Preferably, the S32 includes the following steps:

[0043] S321, calculating the PWM duty cycle and the duty ratio of the control instruction according to the parameters in the control instruction parameter set;

[0044] S322, generating an analog current reference value by combining the DAC with the parameters in the control instruction parameter set; the analog current reference value is used to adjust the LED constant current drive output;

[0045] S323, constructing an initial LSTM model, setting the prediction accuracy of the initial LSTM model to β1 and the prediction accuracy threshold to β2;

[0046] The initial LSTM model is trained using historical high brightness intervals and PWM weight data. During the training process, an optimization algorithm is used to find the network parameters of the initial LSTM model to obtain the optimal solution. The optimal solution is used as the network parameters of the initial LSTM model to obtain a dynamic PWM weight model.

[0047] S324. Obtaining a real-time high brightness interval based on the parameters in the control instruction parameter set; obtaining an optimal dynamic PWM weight based on the real-time high brightness interval and in combination with a dynamic PWM weight model; the dynamic PWM weight is used to allocate a PWM to analog dimming ratio to optimize energy efficiency and reduce flicker;

[0048] According to the PWM duty cycle and the maximum adjustable current value, the PWM average current is obtained;

[0049] The final hybrid dimming current is calculated based on the dynamic PWM weight, PWM average current and analog current reference value;

[0050] The present invention calculates the PWM duty cycle and analog current reference value, combines historical data to train the LSTM model, and uses an optimization algorithm to optimize network parameters to generate dynamic PWM weights. The present invention dynamically allocates dimming modes according to real-time brightness ranges (primarily high-brightness analog dimming and low-brightness PWM), calculates the mixed current through a formula, optimizes energy efficiency, suppresses flicker, and achieves smooth dimming across the entire range.

[0051] Preferably, in the training process in S323, finding the network parameters of the initial LSTM model in combination with an optimization algorithm to obtain the optimal solution includes the following steps:

[0052] S3231. Construct a sparrow population, set the size of the sparrow population, and set the maximum number of optimization iterations;

[0053] S3522. Randomly set the initial positions of the sparrow population according to the network parameters of the initial LSTM model to obtain an initial position set of the sparrow population;

[0054] S3523, defining a fitness function of the position of sparrows in the sparrow population according to the prediction accuracy β1 and the prediction accuracy threshold β2;

[0055] S3524, performing an iterative operation on the initial position set of the sparrow population, wherein the higher the fitness value, the better the position; in each round of iteration, calculating the fitness value of each position in the initial position set of the sparrow population according to the fitness function, and updating the position of each sparrow in the initial position set of the sparrow population in descending order of fitness value, and obtaining the best individual sparrow position in the sparrow population and the global best sparrow position in each round of iteration;

[0056] S3525, repeat S3524, when the maximum number of optimization iterations is reached, stop the iteration, and take the global best sparrow position as the optimal solution;

[0057] The present invention adopts the sparrow algorithm to optimize the LSTM network parameters; constructs a sparrow population and randomly initializes its positions, defines a fitness function based on prediction accuracy, updates the individual and global optimal positions through multiple rounds of iterations until the maximum number of iterations is reached, and outputs the global optimal solution, thereby improving the accuracy of the dynamic PWM weight model.

[0058] Preferably, said S4 comprises the following steps:

[0059] S41, using the driving signal to control the constant current driving of the LED; collecting LED status data in real time to obtain LED status parameter set; the LED status parameters include lamp bead temperature, driving current, voltage and other parameters;

[0060] S42. According to the LED state parameter set, a threshold value of each state parameter in the LED state parameter set is set to obtain an LED state parameter threshold value set;

[0061] Detecting whether there is a parameter in the LED state parameter set that exceeds a corresponding threshold in the LED state parameter threshold set;

[0062] If there is a fault, a fault alarm message will be generated and the system will be switched to safe mode immediately. The fault code will be fed back through LED flashing or BPLC.

[0063] Automatically dispatch maintenance work orders or update controller firmware via OTA to resolve faults;

[0064] The present invention controls the constant current output of the LED through a drive signal and collects parameters such as temperature, current, and voltage in real time. It sets thresholds and detects anomalies. If the threshold is exceeded, a safety mode (power reduction or shutdown) is triggered. Fault codes are fed back through LED flashing or power lines, and a work order is automatically dispatched or OTA remote repair is performed, achieving rapid fault isolation and maintenance.

[0065] An LED lamp drive control system based on broadband power carrier communication, used to implement the above-mentioned LED lamp drive control method based on broadband power carrier communication, including a control instruction generation and signal injection module, a signal reception and decoding verification module, a hybrid dimming optimization and control module, an LED drive and status monitoring module, and a fault diagnosis and intelligent maintenance module;

[0066] The control instruction generation and signal injection module is used to generate digital control instructions according to user needs, generate coded instructions through protocol encapsulation and CRC check, use OFDM technology to dynamically select anti-interference subcarriers within 2-30MHz, combine adaptive modulation, IFFT transformation and cyclic prefix insertion to generate time domain signals, and inject them into the power line through impedance matching coupling circuit after digital-to-analog conversion. The signals are superimposed with the power frequency power for transmission, ensuring efficient signal injection and suppressing reflection loss.

[0067] The signal receiving and decoding verification module is used to separate the high-frequency OFDM signal from the power line mixed signal, filter out the power frequency noise through bandpass filtering, amplify the weak signal through LNA, and then restore the subcarrier set through ADC conversion and FFT transformation; use the MMSE equalization algorithm based on the pilot subcarrier signal-to-noise ratio to compensate for channel distortion, and verify the CRC check code after demodulation and reassembly. If it fails, the retransmission mechanism is triggered to ensure data integrity and transmission reliability;

[0068] The hybrid dimming optimization and control module is used to optimize dynamic PWM weights using an LSTM network combined with a sparrow algorithm after parsing the instruction parameters, dynamically allocate analog dimming in high-brightness areas and high-frequency PWM in low-brightness areas, and calculate the final hybrid current; the drive signal is calibrated in real time through PID closed-loop control, the parameters in the PID formula dynamically balance stability and response speed, and error integration ensures control accuracy;

[0069] The LED drive and status monitoring module is used to convert the PID control quantity into a PWM duty cycle or drive voltage to control the constant current circuit output; collect LED temperature, current and voltage parameters in real time, generate a status data set, trigger anomaly detection through threshold comparison, and support real-time load monitoring and dynamic power adjustment;

[0070] The fault diagnosis and intelligent maintenance module integrates multi-parameter fusion diagnosis, immediately switches to safe mode when an abnormality occurs, and feedbacks the fault code through LED flashing or power line; automatically generates maintenance work orders or remotely updates firmware via OTA, improving fault prediction accuracy and repair efficiency, and reducing manual intervention costs.

[0071] (3) Beneficial effects

[0072] The present invention has the following beneficial effects:

[0073] Through communication protocol optimization, hybrid dimming algorithm innovation and intelligent control strategy, this invention solves the problems of poor anti-interference ability, insufficient dimming accuracy and energy efficiency, poor channel adaptability and delayed fault response in the existing technology. It significantly improves the reliability, energy efficiency and user experience of the LED group control system, and is suitable for complex power grid scenarios such as smart homes and industrial lighting.

[0074] The present invention realizes anti-interference and highly reliable communication; it dynamically selects low-noise subcarriers by adopting OFDM technology, eliminates multipath interference in combination with cyclic prefix, and improves anti-interference capability through CRC check and adaptive retransmission mechanism; dynamically adjusts the modulation mode and the number of subcarriers based on the channel estimation result to maximize the spectrum efficiency of channel quality adaptation; suppresses the power frequency component and out-of-band noise through impedance matching coupling circuit and bandpass filtering technology, thereby ensuring signal transmission efficiency; realizes power frequency / high-frequency signal isolation through bandpass filter and directional coupler, thereby improving signal injection efficiency; adopts MMSE equalization algorithm to compensate for subcarrier channel response, and maximizes the signal-to-noise ratio by combining the channel response conjugate in the formula, thereby reducing the bit error rate.

[0075] The present invention achieves a high-precision hybrid dimming optimization effect. Through a dynamic PWM weight model, the LSTM network is used to learn the relationship between PWM and analog dimming weights in historical high-brightness intervals, and combined with the sparrow optimization algorithm, it quickly converges to the optimal solution, achieving flicker suppression and energy efficiency improvement in the full brightness range. The PWM average current and the analog reference current are integrated, and the dimming mode is distributed through dynamic PWM weights to solve the performance defects of a single dimming solution in high and low brightness ranges.

[0076] The present invention realizes intelligent control and fault response. Based on the error between the final mixed dimming current and the measured current, the drive signal is dynamically adjusted through PID control to improve control accuracy. The integrated real-time monitoring of temperature, voltage, and current, combined with threshold judgment and safety mode switching, shortens the fault response time and enables remote repair through OTA firmware updates.

[0077] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the technical solutions of the embodiments of the invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, they can also obtain drawings based on these drawings without paying any creative work.

[0079] Figure 1 This is a flow chart of a method for driving and controlling an LED lamp based on broadband power carrier communication according to the present invention;

[0080] Figure 2 This is a schematic diagram of a flow chart of obtaining a mixed signal in a power line in a method for driving and controlling an LED lamp based on broadband power carrier communication according to the present invention;

[0081] Figure 3This is a flow chart of obtaining restored coded control instructions in a method for driving and controlling an LED lamp based on broadband power carrier communication according to the present invention;

[0082] Figure 4 This is a flow chart of obtaining a dynamic PWM weight model in a method for driving and controlling an LED lamp based on broadband power carrier communication according to the present invention;

[0083] Figure 5 This is a module schematic diagram of an LED lamp drive control system based on broadband power carrier communication in the present invention. DETAILED DESCRIPTION

[0084] The following will clearly and completely describe the technical solutions in the embodiments of the invention in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0085] In the description of the present invention, it should be understood that the terms "opening", "upper", "lower", "top", "middle", "inside" and the like indicating orientation or positional relationship are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the invention.

[0086] Example 1:

[0087] See also Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 The present invention discloses a method for driving and controlling an LED lamp based on broadband power carrier communication, comprising the following steps:

[0088] S1. Generate digital control instructions according to user needs and process them to obtain coded control instructions; convert the coded control instructions into a time domain signal set and then perform digital-to-analog conversion to obtain an analog OFDM signal set;

[0089] Injecting an analog OFDM signal set into the power line to obtain a mixed signal in the power line;

[0090] Said S1 comprises the following steps:

[0091] S11. Generate a digital control instruction based on user requirements (such as brightness, color temperature, and switching instructions); the digital control instruction format includes the target LED address, dimming parameters (PWM duty cycle, analog current value), and color temperature value (such as RGB ratio or CCT value);

[0092] According to the digital control instruction, a protocol is encapsulated (such as a custom frame structure or compatible with the IEEE 1901.1 standard) and a check code (such as CRC) is added to obtain a coded control instruction; the check code is used to ensure transmission reliability;

[0093] S12, performing OFDM, symbol modulation, inverse fast Fourier transform, and digital-to-analog conversion operations on the coded control instruction to obtain an analog OFDM signal set;

[0094] The S12 includes the following steps:

[0095] S121, using OFDM technology, avoiding the power line noise concentrated frequency band (such as specific harmonic interference area) and dynamically selecting available subcarriers in the 2-30MHz frequency band to obtain the subcarrier set a={a1,a2,...,a i ,...,a b}, where a i represents the i-th available subcarrier, and b represents the total number of available subcarriers;

[0096] S122, adaptively adjust the modulation mode (such as QPSK, 16-QAM) and the number of available subcarriers in the subcarrier set according to the channel quality, modulate the coding control instruction, and obtain a modulation symbol set c = {c1, c2, ..., c i ,...,c b}, where c i represents the i-th modulation symbol;

[0097] S123, using the subcarrier set and the modulation symbol set, and performing subcarrier mapping and IFFT transformation by inverse fast Fourier transform, to generate a time domain signal set h={h1,h2,...,h i ,...,h b}, where h i represents the i-th time domain signal; the inverse fast Fourier transform is as follows,

[0098]

[0099] Among them, h(i) represents the sampling point of the time domain signal, c i represents the modulation symbol on the i-th subcarrier, Represents the basis function of IFFT;

[0100] S124, inserting a cyclic prefix (CP) into each symbol in the time domain signal set to eliminate multipath interference, and generating an analog OFDM signal set through digital-to-analog conversion (DAC);

[0101] S13. Using impedance matching technology, inject the analog OFDM signal set into the power line through a coupling circuit (such as a high-pass filter or a directional coupler), and transmit it superimposed with the industrial frequency AC power (50 / 60 Hz) to obtain a mixed signal in the power line;

[0102] The impedance matching technology is used to ensure signal transmission efficiency and reduce reflection loss.

[0103] S2, separating and restoring the mixed signal in the power line to obtain a restored OFDM signal set; performing ADC conversion, FFT transformation, equalization and distortion compensation, and demodulation and reorganization operations on the restored OFDM signal set to obtain a restored coding control instruction;

[0104] Verify the restoration encoding control instruction. If the verification is successful, execute S3; otherwise, return to S1 and request data retransmission;

[0105] The S2 comprises the following steps:

[0106] S21, the LED controller separates the high-frequency OFDM signal from the mixed signal in the power line through a coupling circuit to obtain a separated high-frequency OFDM signal;

[0107] A bandpass filter (2-30MHz) is used to filter out the power frequency component and out-of-band noise in the separated high-frequency OFDM signal, and a low-noise amplifier (LNA) is used to pre-amplify the weak signal in the separated high-frequency OFDM signal to obtain a restored OFDM signal set;

[0108] S22, performing analog-to-digital conversion (ADC) on the restored high-frequency OFDM signal set, and performing FFT transformation after removing the cyclic prefix to obtain a restored subcarrier set;

[0109] The channel estimation results of the restored subcarrier set (such as the signal-to-noise ratio of the pilot subcarrier) are collected, and according to the channel estimation results, an equalization algorithm (such as MMSE equalization) is used to compensate for the channel distortion to obtain an equalized modulation symbol set; the equalization algorithm formula is as follows:

[0110]

[0111] Among them, c'(i) represents the modulation symbol after equalization, H i represents the channel response on the i-th subcarrier in the restored subcarrier set, H i * indicates H i The complex conjugate of a i ' represents the i-th subcarrier in the restored subcarrier set;

[0112] S23, performing demodulation and reassembly operations on the equalized modulation symbol set to obtain a restored coding control instruction;

[0113] Verify the data integrity of the restored encoding control instruction through the check code. If the check fails, request retransmission; otherwise, execute S3;

[0114] S3. Calculate the parameters of the restored coded control instruction using a hybrid dimming algorithm to obtain a final hybrid dimming current;

[0115] The PID controller controls the final mixed dimming current and the measured current to obtain the PID control quantity; the PID control quantity is converted into a drive signal control;

[0116] The S3 includes the following steps:

[0117] S31, parsing and restoring the coded control instruction, extracting features, and obtaining a control instruction parameter set; the control instruction parameter set includes parameters such as target brightness and color temperature;

[0118] S32, performing calculations using the parameters in the control instruction parameter set of the hybrid dimming algorithm to obtain a final hybrid dimming current;

[0119] The S32 includes the following steps:

[0120] S321. Calculate the PWM duty cycle (e.g., above 1kHz) and duty cycle (0-100%) of the control instruction according to the parameters in the control instruction parameter set. The formula for calculating the PWM duty cycle is as follows:

[0121] d PWM =D t ×T p ;

[0122] Among them, d PWM Indicates the PWM duty cycle of the control instruction, D t Indicates the parameters in the control instruction parameter set, T p Indicates the period of the PWM signal;

[0123] S322. Generate an analog current reference value (e.g., 0-20 mA) by combining the DAC with the parameters in the control instruction parameter set. The analog current reference value is used to adjust the LED constant current drive output. The analog current reference value calculation formula is as follows:

[0124] I ref =I m ×D t ;

[0125] Among them, I ref Indicates the analog current reference value, I m Indicates the maximum adjustable analog current value, D t Represents the parameters in the control instruction parameter set;

[0126] S323, constructing an initial LSTM model, setting the prediction accuracy of the initial LSTM model to β1 and the prediction accuracy threshold to β2;

[0127] The initial LSTM model is trained using historical high brightness intervals and PWM weight data. During the training process, an optimization algorithm is used to find the network parameters of the initial LSTM model to obtain the optimal solution. The optimal solution is used as the network parameters of the initial LSTM model to obtain a dynamic PWM weight model.

[0128] The S323 includes the following steps:

[0129] In the training process of S323, the optimization algorithm is combined to find the network parameters of the initial LSTM model to obtain the optimal solution, which includes the following steps:

[0130] S3231, construct a sparrow population, set the size of the sparrow population to q, then the sparrow population is expressed as q = {q1, q2, ..., q i ,...,q p}, where q i Represents the i-th sparrow in the sparrow population; sets the maximum number of optimization iterations;

[0131] S3522: Randomly set the initial position of the sparrow population according to the network parameters of the initial LSTM model, and obtain the initial position set of the sparrow population as u={u1,u2,...,u i ,...,u v}, where u i represents the position of the i-th sparrow in the sparrow population;

[0132] S3523. Define the fitness function of the sparrow position in the sparrow population based on the prediction accuracy β1 and the prediction accuracy threshold β2. The fitness function formula is as follows:

[0133] o=|ε2-ε1| -1 +z;

[0134] o represents the fitness function, z represents the bias;

[0135] S3524, performing an iterative operation on the initial position set of the sparrow population, wherein the higher the fitness value, the better the position; in each round of iteration, calculating the fitness value of each position in the initial position set of the sparrow population according to the fitness function, and updating the position of each sparrow in the initial position set of the sparrow population in descending order of fitness value, and obtaining the best individual sparrow position in the sparrow population and the global best sparrow position in each round of iteration;

[0136] S3525, repeat S3524, when the maximum number of optimization iterations is reached, stop the iteration, and take the global best sparrow position as the optimal solution;

[0137] S324. Obtain a real-time high-brightness interval based on the parameters in the control instruction parameter set; obtain an optimal dynamic PWM weight based on the real-time high-brightness interval and in combination with a dynamic PWM weight model; the dynamic PWM weight is used to allocate a PWM to analog dimming ratio (e.g., analog dimming is primarily used in the high-brightness interval, and PWM is primarily used in the low-brightness interval), thereby optimizing energy efficiency and reducing flicker;

[0138] According to the PWM duty cycle and the maximum adjustable current value, the PWM average current is obtained;

[0139] The final mixed dimming current is calculated based on the dynamic PWM weight, the PWM average current and the analog current reference value. The calculation formula of the final mixed dimming current is as follows:

[0140] I out =α·I PWM +(1-α)·I ref ;

[0141] Among them, I out represents the final mixed dimming current, α represents the dynamic PWM weight, I out and I out Represents the PWM average current and analog current reference value respectively;

[0142] S33, real-time monitoring of LED load voltage and current to obtain the measured current; the PID controller dynamically adjusts the driving voltage / current according to the error between the final mixed dimming current and the measured current to obtain the PID control quantity; the PID control quantity generation formula is as follows,

[0143]

[0144] Among them, u(t) and e(t) represent the PID control value at time t and the error between the final mixed dimming current and the measured current, respectively. K p , K i and K d They represent the pre-calibrated proportional coefficient, integral coefficient, and differential coefficient (used to balance response speed and stability), dt represents the acquisition period, and d represents the differential; represents the error integral (i.e., the cumulative sum of the error from the initial time to the current time t);

[0145] Convert the calculated PID control quantity into the actual driving voltage or PWM duty cycle signal, control the output of the constant current driving circuit, and obtain the driving signal control;

[0146] S4. Use the drive signal to control the constant current driving of the LED; collect LED status data in real time; generate a fault alarm when there is an abnormality in the LED status data;

[0147] The S4 comprises the following steps:

[0148] S41, using the drive signal to control the constant current driving of the LED; collecting LED status data in real time to obtain LED status parameter set; the LED status parameters include lamp bead temperature (through NTC thermistor), drive current, voltage and other parameters;

[0149] S42. According to the LED state parameter set, a threshold value of each state parameter in the LED state parameter set is set to obtain an LED state parameter threshold value set;

[0150] Detect whether there are parameters in the LED status parameter set that exceed the corresponding thresholds in the LED status parameter threshold set (such as temperature exceeding the limit, current fluctuation exceeding the threshold);

[0151] If it exists, a fault alarm message will be generated; the system will immediately switch to a safe mode (such as reducing power or shutting down output), and the fault code will be fed back through LED flashing or BPLC.

[0152] Automatically dispatch maintenance work orders or update controller firmware via OTA to resolve faults.

[0153] Example 2:

[0154] See also Figure 2 , an LED lamp drive control system based on broadband power carrier communication, used to implement the above-mentioned LED lamp drive control method based on broadband power carrier communication, including a control instruction generation and signal injection module, a signal reception and decoding verification module, a hybrid dimming optimization and control module, an LED drive and status monitoring module, and a fault diagnosis and intelligent maintenance module;

[0155] The control instruction generation and signal injection module is used to generate digital control instructions according to user needs, generate coded instructions through protocol encapsulation and CRC check, use OFDM technology to dynamically select anti-interference subcarriers within 2-30MHz, combine adaptive modulation, IFFT transformation and cyclic prefix insertion to generate time domain signals, and inject them into the power line through impedance matching coupling circuit after digital-to-analog conversion. The signals are superimposed with the power frequency power for transmission, ensuring efficient signal injection and suppressing reflection loss.

[0156] The signal receiving and decoding verification module is used to separate the high-frequency OFDM signal from the power line mixed signal, filter out the power frequency noise through bandpass filtering, amplify the weak signal through LNA, and then restore the subcarrier set through ADC conversion and FFT transformation; use the MMSE equalization algorithm based on the pilot subcarrier signal-to-noise ratio to compensate for channel distortion, and verify the CRC check code after demodulation and reassembly. If it fails, the retransmission mechanism is triggered to ensure data integrity and transmission reliability;

[0157] The hybrid dimming optimization and control module is used to optimize dynamic PWM weights using an LSTM network combined with a sparrow algorithm after parsing the instruction parameters, dynamically allocate analog dimming in high-brightness areas and high-frequency PWM in low-brightness areas, and calculate the final hybrid current; the drive signal is calibrated in real time through PID closed-loop control, the parameters in the PID formula dynamically balance stability and response speed, and error integration ensures control accuracy;

[0158] The LED drive and status monitoring module is used to convert the PID control quantity into a PWM duty cycle or drive voltage to control the constant current circuit output; collect LED temperature, current and voltage parameters in real time, generate a status data set, trigger anomaly detection through threshold comparison, and support real-time load monitoring and dynamic power adjustment;

[0159] The fault diagnosis and intelligent maintenance module integrates multi-parameter fusion diagnosis, immediately switches to safe mode when an abnormality occurs, and feedbacks the fault code through LED flashing or power line; automatically generates maintenance work orders or remotely updates firmware via OTA, improving fault prediction accuracy and repair efficiency, and reducing manual intervention costs.

[0160] Throughout this specification, references to terms such as "one embodiment," "example," or "specific example" indicate that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the invention. In this specification, schematic representations of these terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0161] The preferred embodiments of the invention disclosed above are intended only to help illustrate the invention. These preferred embodiments do not exhaust all details, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and variations are possible based on the content of this specification. These embodiments are selected and described in detail in this specification to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention.

Claims

1. A method for driving and controlling an LED lamp based on broadband power carrier communication, characterized in that: The following steps are involved: S1. Generate digital control instructions according to user needs and process them to obtain coded control instructions; convert the coded control instructions into a time domain signal set and then perform digital-to-analog conversion to obtain an analog OFDM signal set; Injecting an analog OFDM signal set into the power line to obtain a mixed signal in the power line; S2, separating and restoring the mixed signal in the power line to obtain a restored OFDM signal set; Perform ADC conversion, FFT transformation, equalization and distortion compensation, and demodulation and reorganization operations on the restored OFDM signal set to obtain the restored coding control instructions; Verify the restoration coding control instruction. If the verification is successful, execute S3; Otherwise, return to S1 and request data retransmission; S3. Calculate the parameters of the restored coded control instruction using a hybrid dimming algorithm to obtain a final hybrid dimming current; The PID controller controls the final mixed dimming current and the measured current to obtain the PID control quantity; the PID control quantity is converted into a drive signal control; S4, using the driving signal to control the constant current driving of the LED; Collect LED status data in real time; generate fault alarms when LED status data is abnormal.

2. The LED lamp driving control method based on broadband power carrier communication according to claim 1 is characterized in that: Said S1 comprises the following steps: S11, generating a digital control instruction according to user needs; the digital control instruction format includes the target LED address, dimming parameters and color temperature value; Encapsulating the digital control instruction through a protocol and adding a check code to obtain a coded control instruction; S12, performing OFDM, symbol modulation, inverse fast Fourier transform, and digital-to-analog conversion operations on the coded control instruction to obtain an analog OFDM signal set; S13. Using impedance matching technology, the analog OFDM signal set is injected into the power line through the coupling circuit, and is superimposed and transmitted with the industrial frequency alternating current to obtain a mixed signal in the power line.

3. The LED lamp driving control method based on broadband power carrier communication according to claim 1 is characterized in that: The S12 includes the following steps: The S12 includes the following steps: S121, using OFDM technology, avoiding the frequency band where power line noise is concentrated, dynamically selecting available subcarriers within the 2-30 MHz frequency band to obtain a subcarrier set; S122, adaptively adjusting the modulation mode and the number of available subcarriers in the subcarrier set according to the channel quality, modulating the coding control instruction to obtain a modulation symbol set; S123, using the subcarrier set and the modulation symbol set, and performing subcarrier mapping and IFFT transformation through inverse fast Fourier transform to generate a time domain signal set; S124. Insert a cyclic prefix into each symbol in the time domain signal set to eliminate multipath interference, and generate an analog OFDM signal set through digital-to-analog conversion.

4. The LED lamp driving control method based on broadband power carrier communication according to claim 1 is characterized in that: The S2 comprises the following steps: S21, the LED controller separates the high-frequency OFDM signal from the mixed signal in the power line through a coupling circuit to obtain a separated high-frequency OFDM signal; A bandpass filter is used to filter out the power frequency component and out-of-band noise in the separated high-frequency OFDM signal, and a low-noise amplifier is used to pre-amplify the weak signal in the separated high-frequency OFDM signal to obtain a restored OFDM signal set; S22, performing analog-to-digital conversion on the restored high-frequency OFDM signal set, and performing FFT transformation after removing the cyclic prefix to obtain a restored subcarrier set; Collect the channel estimation results of the restored subcarrier set, and use an equalization algorithm to compensate for channel distortion based on the channel estimation results to obtain an equalized modulation symbol set; S23, performing demodulation and reassembly operations on the equalized modulation symbol set to obtain a restored coding control instruction; S24. Verify the data integrity of the restored coded control instruction through the check code. If the verification is successful, execute S3; otherwise, return to S1 and request data retransmission.

5. The LED lamp driving control method based on broadband power carrier communication according to claim 1 is characterized in that: The S4 comprises the following steps: S31, parsing and restoring the coded control instruction, extracting features, and obtaining a control instruction parameter set; the control instruction parameter set includes parameters such as target brightness and color temperature; S32, performing calculations using the parameters in the control instruction parameter set of the hybrid dimming algorithm to obtain a final hybrid dimming current; S33, real-time monitoring of LED load voltage and current to obtain the measured current; the PID controller dynamically adjusts the drive voltage / current according to the error between the final mixed dimming current and the measured current to obtain the PID control value; The calculated PID control quantity is converted into the actual driving voltage or PWM duty cycle signal to control the output of the constant current driving circuit and obtain the driving signal control.

6. The LED lamp driving control method based on broadband power carrier communication according to claim 5 is characterized in that: The S32 includes the following steps: S321, calculating the PWM duty cycle and the duty ratio of the control instruction according to the parameters in the control instruction parameter set; S322, generating an analog current reference value by combining the DAC with the parameters in the control instruction parameter set; S323, constructing an initial LSTM model, setting the prediction accuracy of the initial LSTM model to β1 and the prediction accuracy threshold to β2; The initial LSTM model is trained using historical high brightness intervals and PWM weight data. During the training process, an optimization algorithm is used to find the network parameters of the initial LSTM model to obtain the optimal solution. The optimal solution is used as the network parameters of the initial LSTM model to obtain a dynamic PWM weight model. S324, obtaining a real-time high brightness interval according to the parameters in the control instruction parameter set; obtaining an optimal dynamic PWM weight according to the real-time high brightness interval and in combination with a dynamic PWM weight model; According to the PWM duty cycle and the maximum adjustable current value, the PWM average current is obtained; The final hybrid dimming current is calculated based on the dynamic PWM weight, PWM average current and analog current reference value.

7. The LED lamp driving control method based on broadband power carrier communication according to claim 6 is characterized in that: In the training process of S323, the optimization algorithm is combined to find the network parameters of the initial LSTM model to obtain the optimal solution, which includes the following steps: S3231. Construct a sparrow population, set the size of the sparrow population, and set the maximum number of optimization iterations; S3522. Randomly set the initial positions of the sparrow population according to the network parameters of the initial LSTM model to obtain an initial position set of the sparrow population; S3523, defining a fitness function of the position of sparrows in the sparrow population according to the prediction accuracy β1 and the prediction accuracy threshold β2; S3524, performing an iterative operation on the initial position set of the sparrow population; in each round of iteration, calculating the fitness value of each position in the initial position set of the sparrow population according to the fitness function, updating the position of each sparrow in the initial position set of the sparrow population in descending order of fitness value, and obtaining the best individual sparrow position in the sparrow population and the global best sparrow position in each round of iteration; S3525. Repeat S3524. When the maximum number of optimization iterations is reached, stop the iteration and take the global best sparrow position as the optimal solution.

8. The LED lamp driving control method based on broadband power carrier communication according to claim 1 is characterized in that: S41, using a driving signal to control a constant current driving of the LED; Collect LED status data in real time and obtain LED status parameter set; S42. According to the LED state parameter set, a threshold value of each state parameter in the LED state parameter set is set to obtain an LED state parameter threshold value set; Detecting whether there is a parameter in the LED state parameter set that exceeds a corresponding threshold in the LED state parameter threshold set; If there is a fault, a fault alarm message will be generated and the system will be switched to safe mode immediately. The fault code will be fed back through LED flashing or BPLC. Automatically dispatch maintenance work orders or update controller firmware via OTA to resolve faults.

9. An LED lamp drive control system based on broadband power carrier communication, characterized in that: A method for driving and controlling an LED lamp based on broadband power carrier communication as described in any one of claims 1 to 8 is implemented, wherein the system includes a control instruction generation and signal injection module, a signal reception and decoding verification module, a hybrid dimming optimization and control module, an LED driving and status monitoring module, and a fault diagnosis and intelligent maintenance module.

10. A controller, characterized in that: A program is stored thereon, and when the program is executed by a processor, an LED lamp driving control method based on broadband power carrier communication as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Devices and methods for transmitting and receiving end of wireless communication system and soft information estimator

    CN107302416A

  • DC-preferential hybrid dimming method for LED driving

    CN117316099A

  • Fuzzy PID magnetorheological brake control method based on improved sparrow algorithm

    CN118117923A

  • Whitening illumination self-adaptive adjustment control method based on user skin state

    CN119012449A

  • Illuminating lamp data transmission system

    CN119483643A