A led lamp driving control method and controller based on wideband power carrier communication

By using OFDM signal processing and hybrid dimming algorithms in broadband power line carrier communication, combined with PID control and LSTM network optimization, the problems of anti-interference, dimming accuracy and fault response in power line carrier communication are solved, realizing efficient and reliable LED dimming control, which is suitable for smart home and industrial lighting.

CN120434871BActive Publication Date: 2025-12-16ZHONGSHAN XINCHUANGMING ELECTRONIC TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies for power line carrier communication suffer from poor anti-interference capabilities, insufficient dimming accuracy and energy efficiency, poor channel adaptability, and delayed fault response, making it difficult to meet the high reliability and low latency dimming requirements of intelligent lighting systems.

Method used

By employing a broadband power line carrier communication method, and through OFDM signal processing, hybrid dimming algorithm and PID controller, efficient signal transmission and precise dimming are achieved. Combined with LSTM network to optimize dynamic PWM weights, the LED status is monitored in real time and fault diagnosis and maintenance are performed.

Benefits of technology

It improves the reliability and energy efficiency of LED group control systems, achieves flicker suppression and fault response speed across the entire brightness range, and is suitable for complex power grid scenarios such as smart homes and industrial lighting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434871B_ABST
    Figure CN120434871B_ABST
Patent Text Reader

Abstract

The application discloses an LED lamp driving control method and controller based on wideband power carrier communication and relates to the technical field of intelligent lighting control; the application realizes channel sensing communication by dynamically selecting an anti-interference sub-carrier, combining adaptive modulation, CRC check and MMSE equalization algorithm, and reduces the error code rate; the application improves the light adjustment efficiency and accuracy by dynamically distributing PWM and analog light adjustment weight by using an LSTM network and a sparrow optimization algorithm; the application improves the fault prediction accuracy by combining multi-parameter fusion diagnosis and OTA remote repair and by real-time calibration of a driving signal through PID closed-loop control; the application supports multi-node high-concurrency control, improves signal injection efficiency, reduces comprehensive energy efficiency, is suitable for scenes such as smart home and industrial lighting, and significantly improves system reliability and user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of intelligent lighting control, in particular, relates to an LED lamp driving control method and controller based on wideband power line carrier communication. BACKGROUND

[0002] With the development of intelligent lighting systems towards high-precision dimming and multi-node collaborative control, power line carrier communication (PLC) has become the mainstream solution for LED group control as 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, which make it difficult for traditional PLC technology to meet the high-reliability and low-delay dimming command transmission requirements. At the same time, LED dimming needs to consider both visual comfort and energy efficiency. The single or static mixed mode of analog dimming (linear current regulation) and PWM dimming (switching frequency control) in existing technologies cannot achieve flicker suppression and efficiency optimization in the full brightness range. In addition, under complex power grid conditions, the channel quality changes dynamically, and a solution is still needed for adaptive modulation, intelligent equalization, and collaborative optimization of hybrid dimming.

[0003] The prior art has problems such as poor anti-interference ability, insufficient dimming precision and energy efficiency, poor channel adaptability, and lagging fault response. SUMMARY

[0004] (I) Technical problems solved

[0005] To solve the problems in the related art, the present application provides an LED lamp driving control method based on wideband power line carrier communication to overcome the above technical problems existing in the prior art.

[0006] (II) Technical solutions

[0007] To solve the above technical problems, the present application is realized by the following technical solutions:

[0008] S1, generate digital control instructions according to user requirements and process to obtain encoded control instructions; convert the encoded control instructions into a time domain signal set and then perform digital-to-analog conversion to obtain an analog OFDM signal set;

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

[0010] S2, separate and restore the mixed signal in the power line to obtain a restored OFDM signal set; perform ADC conversion, FFT transformation, equalization compensation distortion, and demodulation recombination operations on the restored OFDM signal set to obtain restored encoded control instructions;

[0011] Verify the restored encoded control instructions. If the verification is successful, perform S3; otherwise, return to S1 and request data retransmission;

[0012] S3, parameters of the reduction coding control instruction are calculated by using a hybrid dimming algorithm to obtain a final hybrid dimming current;

[0013] The PID controller controls according to the final hybrid dimming current and the measured current to obtain a PID control amount; and the PID control amount is converted into a driving signal for control;

[0014] S4, the LED is driven by using the driving signal control; LED state data is collected in real time; and a fault alarm is generated when the LED state data is abnormal;

[0015] The present application solves the problems of poor anti-interference ability, insufficient dimming precision and energy efficiency, poor channel adaptability and fault response lag in the prior art by communication protocol optimization, hybrid dimming algorithm innovation and intelligent control strategy, significantly improves the reliability, energy efficiency and user experience of the LED group control system, and is suitable for complex power grid scenes such as smart home and industrial lighting.

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

[0017] S11, a digital control instruction is generated according to user demand; the instruction format of the digital control instruction contains a target LED address, a dimming parameter and a color temperature value;

[0018] The digital control instruction is packaged by a protocol and a check code is added to obtain a coded control instruction; the check code is used to ensure transmission reliability;

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

[0020] S13, an impedance matching technology is used to inject the analog OFDM signal set into the power line through a coupling circuit, superimpose transmission with the power frequency alternating current to obtain a hybrid signal in the power line; the impedance matching technology is used to ensure signal transmission efficiency and reduce reflection loss;

[0021] The present application generates a digital control instruction containing an address, a dimming parameter and a color temperature value according to user instruction, forms a coded instruction after protocol packaging and CRC check; OFDM technology is used to modulate subcarriers, perform IFFT transformation and digital-to-analog conversion on the coded instruction to generate an analog signal, and finally the signal is injected into the power line through an impedance matching coupling circuit to reduce reflection loss and improve transmission efficiency.

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

[0023] S121, using OFDM technology, avoiding power line noise concentrated frequency band in 2-30MHz frequency band dynamically selects available subcarriers, obtains subcarrier set;

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

[0025] S123, using subcarrier set and modulation symbol set, and through inverse fast Fourier transform, subcarrier mapping and IFFT transformation are carried out, and time domain signal set is generated;

[0026] S124, the cyclic prefix is inserted on each symbol in the time domain signal set to eliminate multipath interference, and the analog OFDM signal set is generated through digital-to-analog conversion;

[0027] The application dynamically selects low noise subcarriers in 2-30MHz through OFDM technology, adaptively adjusts QPSK / 16-QAM modulation mode, generates time domain signal through IFFT, inserts cyclic prefix to eliminate multipath interference, and converts into analog OFDM signal, so that interference resistance and transmission reliability are ensured.

[0028] Preferably, the 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 the coupling circuit, and obtains the separated high-frequency OFDM signal;

[0030] The power frequency component and the out-of-band noise in the separated high-frequency OFDM signal are filtered out through the band-pass filter, and the weak signal in the separated high-frequency OFDM signal is preamplified through the low-noise amplifier, and the restored OFDM signal set is obtained;

[0031] S22, the restored high-frequency OFDM signal set is converted into analog signal, and after the cyclic prefix is removed, FFT transformation is performed, and the restored subcarrier set is obtained;

[0032] The channel estimation result of the restored subcarrier set is collected, according to the channel estimation result, an equalization algorithm is used to compensate channel distortion, and the equalized modulation symbol set is obtained;

[0033] S23, the equalized modulation symbol set is demodulated and recombined to obtain the restored coding control instruction;

[0034] The data integrity of the restored coding control instruction is verified through the check code, if the verification fails, retransmission is requested, otherwise, S3 is executed;

[0035] The application extracts high-frequency OFDM signals in the power line through a coupling circuit, filters out power frequency noise through band-pass filtering (2-30 MHz), and amplifies with low noise, removes the cyclic prefix after ADC conversion, restores the sub-carrier by executing FFT, compensates for channel distortion using the MMSE equalization algorithm, checks the CRC integrity after demodulating and recombining the data, and triggers retransmission if it fails.

[0036] Preferably, the S3 comprises the following steps:

[0037] S31, parse the reduction coding control instruction, extract the features, and obtain a control instruction parameter set; the control instruction parameter set comprises target brightness, color temperature and other parameters;

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

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

[0040] Convert the calculated PID control amount into an actual driving voltage or PWM duty cycle signal to control the output of the constant current driving circuit to obtain a driving signal control;

[0041] The application parses the instruction parameters, dynamically allocates PWM and analog dimming weights using LSTM and Sparrow algorithm, calculates the hybrid current, and combines PID closed-loop control to real-time calibrate the driving signal, which improves the dimming accuracy and suppresses the flicker, and optimizes the energy efficiency and stability.

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

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

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

[0045] S323, construct an initial LSTM model, and set the prediction accuracy of the initial LSTM model as β1 and the prediction accuracy threshold as β2;

[0046] Use historical high brightness interval and PWM weight data to train the initial LSTM model, find the network parameters of the initial LSTM model in the training process combined with the optimization algorithm, and obtain the optimal solution; use the optimal solution as the network parameters of the initial LSTM model to obtain a dynamic PWM weight model;

[0047] S324, obtain a real-time high-brightness interval according to parameters in the control instruction parameter set; obtain an optimal dynamic PWM weight according to the real-time high-brightness interval and in combination with a dynamic PWM weight model; the dynamic PWM weight is used for distributing PWM and analog dimming proportion, optimizing energy efficiency and reducing flicker;

[0048] obtain a PWM average current according to a PWM duty ratio and a maximum adjustable current value;

[0049] obtain a final hybrid dimming current through calculation according to the dynamic PWM weight, the PWM average current and an analog current reference value;

[0050] The application generates a dynamic PWM weight by calculating a PWM duty ratio and an analog current reference value, training an LSTM model in combination with historical data and optimizing network parameters by using an optimization algorithm; dynamically distributes a dimming mode (mainly high-brightness analog dimming and mainly low-brightness PWM) according to a real-time brightness interval, calculates a hybrid current through a formula, optimizes energy efficiency and suppresses flicker, and realizes full-interval smooth dimming.

[0051] Preferably, the network parameters of the initial LSTM model are obtained by finding the initial LSTM model in the training process in combination with an optimization algorithm in S323, and 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, set the initial position of the sparrow population randomly according to the network parameters of the initial LSTM model to obtain an initial position set of the sparrow population;

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

[0055] S3524, perform an iteration operation on the initial position set of the sparrow population, the higher the fitness value, the better the position; in each iteration process, the fitness value of each position in the initial position set of the sparrow population is calculated according to the fitness function, the position of each sparrow in the initial position set of the sparrow population is updated from high to low according to the fitness value, and the best sparrow individual position in the sparrow population and the global best sparrow position are obtained in each iteration process;

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

[0057] The sparrow algorithm is adopted to optimize the LSTM network parameters; a sparrow population is constructed and the position is randomly initialized, a fitness function based on prediction accuracy is defined, the individual and the global optimal position are updated through multiple iterations, and the global optimal solution is output after the maximum iteration number is reached, and the dynamic PWM weight model precision is improved.

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

[0059] S41, using a driving signal to control constant current driving of the LED; real-time acquisition of LED state data to obtain an LED state parameter set; the LED state parameters include lamp bead temperature, driving current, voltage and the like;

[0060] S42, according to the LED state parameter set, setting a threshold value of each state parameter in the LED state parameter 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 the corresponding threshold value in the LED state parameter threshold value set;

[0062] If there is, generating a fault alarm information and immediately switching to a safety mode, feeding back a fault code through LED flickering or BPLC;

[0063] Automatically dispatching a maintenance work order or updating a controller firmware through OTA to handle the fault;

[0064] The application controls the constant current output of the LED through a driving signal, real-time acquisition of temperature, current, voltage and the like; setting a threshold value and detecting an abnormality, if the threshold value is exceeded, triggering a safety mode (power reduction or shutdown), feeding back a fault code through LED flickering or power line, and automatically dispatching a work order or OTA remote repair, realizing rapid fault isolation and maintenance.

[0065] An LED lamp driving control system based on wideband power line carrier communication is used to realize the LED lamp driving control method based on wideband power line carrier communication, comprising a control instruction generation and signal injection module, a signal receiving and decoding verification module, a hybrid dimming optimization and control module, an LED driving and state 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 requirements, generate encoded instructions through protocol packaging and CRC check, dynamically select anti-interference subcarriers within 2-30MHz by using OFDM technology, generate time domain signals by combining adaptive modulation, IFFT transformation and cyclic prefix insertion, inject power lines by using impedance matching coupling circuits after digital-to-analog conversion, and superimpose transmission with power frequency, to ensure efficient signal injection and suppress reflection loss;

[0067] The signal receiving and decoding verification module is used for separating a high-frequency OFDM signal from a power line mixed signal, filtering out power frequency noise through band-pass filtering, amplifying a weak signal through an LNA, and then converting through an ADC, FFT transforming to restore a carrier set; based on the signal-to-noise ratio of a pilot subcarrier, an MMSE equalization algorithm is used to compensate for channel distortion, and after demodulation and recombination, a CRC check code is verified, if failed, a retransmission mechanism is triggered to ensure data integrity and transmission reliability.

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

[0069] The LED driving and state monitoring module is used for converting a PID control quantity into a PWM duty ratio or a driving voltage to control a constant current circuit output; real-time acquisition of LED temperature, current and voltage parameters generates a state data set, and through threshold comparison, triggers abnormal detection, supports real-time load monitoring and dynamic power adjustment.

[0070] The fault diagnosis and intelligent maintenance module integrates multi-parameter fusion diagnosis, immediately switches to a safe mode when abnormal, and feeds back fault codes through LED flickering or power line; automatically generates a maintenance work order or updates firmware remotely through OTA, improves fault prediction accuracy and repair efficiency, and reduces manual intervention cost.

[0071] (Three) beneficial effects

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

[0073] The present application solves the problems of poor anti-interference ability, insufficient dimming accuracy and energy efficiency, poor channel adaptability and fault response lag in the prior art through communication protocol optimization, hybrid dimming algorithm innovation and intelligent control strategy, significantly improves the reliability, energy efficiency and user experience of the LED group control system, and is suitable for complex power grid scenes such as smart home and industrial lighting.

[0074] The application realizes anti-interference and high reliable communication;Through the dynamic selection of low noise subcarrier by adopting OFDM technology, the combination of cyclic prefix to eliminate multipath interference, and the CRC check and adaptive retransmission mechanism to improve the anti-interference ability;Based on the channel estimation result, the modulation mode and the number of subcarriers are dynamically adjusted to realize the maximum frequency spectrum efficiency of channel quality adaptation;Through the impedance matching coupling circuit and the band pass filtering technology, the power frequency component and the out-of-band noise are suppressed to ensure the signal transmission efficiency;The band pass filter and the directional coupler realize the isolation of power frequency / high frequency signal, and improve the signal injection efficiency;The MMSE equalization algorithm is adopted to compensate the subcarrier channel response, the signal-to-noise ratio is maximized in the formula by combining the channel response, and the bit error rate is reduced.

[0075] The application achieves high-precision hybrid dimming optimization effect;Through the dynamic PWM weight model, the PWM and analog dimming weight relationship of the historical high brightness interval is learned by using the LSTM network, the sparrow optimization algorithm is quickly converged to the optimal solution, the full brightness interval stroboscopic suppression and energy efficiency improvement are realized;The PWM average current and analog reference current are fused, and the dimming mode is adjusted by dynamic PWM weight distribution, so that the performance defects of single dimming scheme in high and low brightness interval are solved.

[0076] The application realizes intelligent control and fault response;Based on the error of the final hybrid dimming current and the measured current, the driving signal is dynamically adjusted by PID control to improve the control accuracy;Integrating temperature, voltage and current real-time monitoring, combining threshold judgment and safety mode switching, the fault response time is shortened, and remote repair is realized through OTA firmware update.

[0077] Of course, any product implementing the present application does not necessarily need to achieve all the advantages described above. BRIEF DESCRIPTION OF DRAWINGS

[0078] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description, and obviously, the drawings in the following description are only some embodiments of the application, and those skilled in the art can obtain the drawings according to these drawings without creating labor.

[0079] Figure 1 The flowchart of the LED lamp driving control method based on wideband power line carrier communication of the application;

[0080] Figure 2 The flowchart of obtaining the mixed signal in the power line in the LED lamp driving control method based on wideband power line carrier communication of the application;

[0081] Figure 3A flowchart for obtaining a reduced code control instruction in the LED lamp driving control method based on wideband power carrier communication of the present application is shown in the figure.

[0082] Figure 4 A flowchart for obtaining a dynamic PWM weight model in the LED lamp driving control method based on wideband power carrier communication of the present application is shown in the figure.

[0083] Figure 5 A module schematic diagram of the LED lamp driving control system based on wideband power carrier communication of the present application is shown in the figure. DETAILED DESCRIPTION

[0084] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0085] In the description of the present application, it should be understood that the terms "opening", "upper", "lower", "top", "middle", "inner" and the like indicate the orientation or positional relationship, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the indicated components or elements must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation of the present application.

[0086] Embodiment one:

[0087] Please refer to Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 The present application discloses an LED lamp driving control method based on wideband power carrier communication, comprising the following steps:

[0088] S1, generating digital control instructions according to user requirements and processing to obtain code control instructions; after converting the code control instructions into a time domain signal set, digital-to-analog conversion is performed to obtain an analog OFDM signal set;

[0089] The analog OFDM signal set is injected into the power line to obtain a mixed signal in the power line;

[0090] The S1 comprises the following steps:

[0091] S11, generating digital control instructions according to user requirements (such as brightness, color temperature, and switching instructions); the digital control instruction instruction format contains 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 package (such as a custom frame structure or a compatible IEEE 1901.1 standard) is encapsulated, and a check code (such as a CRC) is added to obtain an encoded control instruction; the check code is used to ensure transmission reliability;

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

[0094] The S12 includes the following steps:

[0095] S121, using OFDM technology, avoiding power line noise concentrated frequency bands (such as specific harmonic interference areas) to dynamically select available subcarriers in the 2-30MHz frequency band to obtain a 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, according to the channel quality, adaptively adjusting the modulation mode (such as QPSK, 16-QAM) and the number of available subcarriers in the subcarrier set to modulate the encoded control instruction to 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 through inverse fast Fourier transform, subcarrier mapping and IFFT transformation are performed 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] where h(i) represents a sampling point of the time domain signal, c i represents the modulation symbol on the i-th subcarrier, represents the base function of IFFT;

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

[0101] S13, using impedance matching technology, the analog OFDM signal set is injected into the power line through the coupling circuit (such as high-pass filter or directional coupler), superimposed with the power frequency alternating current (50 / 60Hz) transmission, and the mixed signal in the power line is obtained;

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

[0103] S2, the mixed signal in the power line is separated and restored to obtain a restored OFDM signal set; the restored OFDM signal set is subjected to ADC conversion, FFT transformation, distortion compensation and demodulation recombination operation to obtain a restored encoding control instruction;

[0104] The restored encoding control instruction is verified, if the verification is successful, S3 is executed; otherwise, S1 is returned to request data retransmission;

[0105] The S2 includes the following steps:

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

[0107] The band-pass 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 the low noise amplifier (LNA) is used to preamplify the weak signal in the separated high-frequency OFDM signal to obtain a restored OFDM signal set;

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

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

[0110]

[0111] Wherein, c'(i) represents the equalized modulation symbol, H i represents the channel response of the i-th subcarrier in the restored subcarrier set, H i * represents the conjugate complex of H i , a i ' represents the i-th subcarrier in the restored subcarrier set;

[0112] S23, the equalized modulation symbol set is subjected to demodulation and recombination operation to obtain a restored encoding control instruction;

[0113] The data integrity of the restored coded control instruction is verified by the check code, and if the verification fails, retransmission is requested; otherwise, S3 is executed;

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

[0115] The PID controller controls according to the final hybrid dimming current and the measured current to obtain a PID control amount; and the PID control amount is converted into a driving signal for control;

[0116] The S3 includes the following steps:

[0117] S31, analyzing the restored coded control instruction to extract features to obtain a control instruction parameter set; the control instruction parameter set includes parameters such as target brightness and color temperature;

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

[0119] The S32 includes the following steps:

[0120] S321, calculating the PWM duty cycle (such as above 1 kHz) and the 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] Wherein, d PWM represents the PWM duty cycle of the control instruction, D t represents the parameter in the control instruction parameter set, and T p represents the period of the PWM signal;

[0123] S322, generating an analog current reference value (such as 0-20 mA) by combining the parameters in the control instruction parameter set through DAC; the analog current reference value is used to adjust the LED constant current drive output; the formula for calculating the analog current reference value is as follows,

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

[0125] Wherein, I ref represents the analog current reference value, I m represents the maximum adjustable analog current value, and D t represents the parameter in the control instruction parameter set;

[0126] S323, construct an initial LSTM model, set the prediction accuracy of the initial LSTM model as β1, and set the prediction accuracy threshold as β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 an 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] The S323 includes the following steps:

[0130] S3231, construct a sparrow population, set the size of the sparrow population as q, and the sparrow population is represented as q = {q1, q2,..., q i ,...,q p}, where q i represents the i-th sparrow in the sparrow population. Set the maximum number of optimization iterations.

[0131] S3522, according to the network parameters of the initial LSTM model, randomly set the initial position of the sparrow population, 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, according to the prediction accuracy β1 and the prediction accuracy threshold β2, define the fitness function of the sparrow position in the sparrow population, and the fitness function formula is as follows,

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

[0134] o represents the fitness function, and z represents the bias.

[0135] S3524, perform iteration operation on the initial position set of the sparrow population. The higher the fitness value, the better the position. During each iteration process, the fitness value of each position in the initial position set of the sparrow population is calculated according to the fitness function. The positions of the sparrows in the initial position set of the sparrow population are updated from high to low according to the fitness value. In each iteration process, the best sparrow individual position and the global best sparrow position in the sparrow population are obtained.

[0136] S3525, repeating S3524, when the maximum number of optimization iterations is reached, stopping iteration, and taking the global optimal sparrow position as the optimal solution;

[0137] S324, obtaining a real-time high-brightness interval according to 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; the dynamic PWM weight is used to distribute PWM and analog dimming proportion (for example, high-brightness interval mainly uses analog dimming, and low-brightness interval mainly uses PWM), to optimize energy efficiency and reduce flicker;

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

[0139] According to the dynamic PWM weight, the PWM average current and the analog current reference value, a final hybrid dimming current is calculated; the calculation formula of the final hybrid dimming current is as follows,

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

[0141] Among them, I out represents the final hybrid dimming current, a represents the dynamic PWM weight, I out and I out respectively represent the PWM average current and the analog current reference value;

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

[0143]

[0144] Among them, u(t), e(t) respectively represent the PID control amount at time t and the error amount between the final hybrid dimming current and the measured current at time t, K p , K i and K d respectively represent the pre-set proportional coefficient, integral coefficient and differential coefficient (used to balance the response speed and stability), dt represents the collection 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] The calculated PID control amount is converted into an actual driving voltage or PWM duty ratio signal to control the output of the constant current driving circuit to obtain a driving signal control;

[0146] S4, controlling constant current driving of the LED using the driving signal; collecting LED state data in real time; generating a fault alarm when the LED state data is abnormal;

[0147] The S4 includes the following steps:

[0148] S41, controlling constant current driving of the LED using the driving signal; collecting LED state data in real time to obtain a set of LED state parameters; the LED state parameters include parameters such as lamp bead temperature (through an NTC thermistor), driving current, voltage, etc.

[0149] S42, setting a threshold value of each state parameter in the set of LED state parameters according to the set of LED state parameters to obtain a set of LED state parameter threshold values;

[0150] detecting whether there is a parameter (such as temperature overrun or current fluctuation exceeding the threshold value) in the set of LED state parameters that exceeds the corresponding threshold value in the set of LED state parameter threshold values;

[0151] if there is, generating a fault alarm information; immediately switching to a safe mode (such as running at a reduced power or shutting down the output), and feeding back a fault code through LED flashing or BPLC;

[0152] automatically assigning a maintenance work order or updating the controller firmware through OTA to handle the fault.

[0153] Embodiment two:

[0154] Please refer to Figure 2 An LED lamp driving control system based on wideband power line carrier communication is used to implement the LED lamp driving control method based on wideband power line carrier communication, and includes a control instruction generation and signal injection module, a signal receiving and decoding verification module, a hybrid dimming optimization and control module, an LED driving and state 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 requirements, generate encoded instructions through protocol encapsulation and CRC verification, dynamically select anti-interference subcarriers within 2-30 MHz using OFDM technology, combine adaptive modulation, IFFT transformation and cyclic prefix insertion to generate time domain signals, and after digital-to-analog conversion, the signals are injected into the power line through impedance matching coupling circuit, superimposed with power frequency electricity for transmission, to ensure efficient signal injection and suppress reflection loss.

[0156] The signal receiving and decoding verification module is used for separating the high-frequency OFDM signal from the power line mixed signal, filtering out the power frequency noise through band-pass filtering, amplifying the weak signal through LNA, and then converting through ADC and FFT to restore the carrier set; based on the pilot sub-carrier signal-to-noise ratio, the MMSE equalization algorithm is used to compensate the channel distortion, the CRC check code is verified after demodulation and recombination, if failed, the retransmission mechanism is triggered to ensure the data integrity and transmission reliability;

[0157] The hybrid dimming optimization and control module is used for optimizing the dynamic PWM weight by using the LSTM network combined with the sparrow algorithm after analyzing the instruction parameters, dynamically allocating the high-brightness area analog dimming and the low-brightness area high-frequency PWM, and calculating the final hybrid current; the driving signal is calibrated in real time through PID closed-loop control, the parameters in the PID formula dynamically balance the stability and response speed, and the error integral ensures the control accuracy;

[0158] The LED driving and state monitoring module is used for converting the PID control quantity into PWM duty ratio or driving voltage to control the constant current circuit output; real-time acquisition of LED temperature, current and voltage parameters generates a state data set, and abnormal detection is triggered through threshold comparison, supporting real-time load monitoring and dynamic power adjustment;

[0159] The fault diagnosis and intelligent maintenance module integrates multi-parameter fusion diagnosis, immediately switches to the safety mode when abnormal, and feeds back the fault code through LED flicker or power line; automatically generates a maintenance work order or updates the firmware remotely through OTA, improves the fault prediction accuracy and repair efficiency, and reduces the cost of manual intervention.

[0160] In the description of the present specification, the description of the terms "one embodiment", "example", "specific example" and the like means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the invention. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0161] The preferred embodiments of the above disclosed invention are only used to help explain the invention. The preferred embodiments do not describe all the details and limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made according to the content of the present specification. The present specification selects and describes these embodiments in order to better explain the principles and practical applications of the invention, so that those skilled in the art can well understand and utilize the invention.

Claims

1. A method for driving and controlling LED lights based on broadband power line carrier communication, characterized in that, Includes the following steps: S1. Generate and process digital control instructions according to user requirements 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 yields a mixed signal in the power line; S2. Separate and restore the mixed signals in the power line to obtain the restored OFDM signal set; The restored OFDM signal set is subjected to ADC conversion, FFT transformation, equalization to compensate for distortion, and demodulation and reconstruction operations to obtain the restored coded control command. Verify the restoration encoding control command. If the verification is successful, execute S3. Otherwise, return to S1 and request data retransmission; S3. The parameters of the restoration code control command are calculated using a hybrid dimming algorithm to obtain the final hybrid dimming current; The PID controller controls the final mixed dimming current and the measured current to obtain the PID control quantity; Convert PID control inputs into drive signal control; The process of calculating the parameters of the restoration code control command using a hybrid dimming algorithm to obtain the final hybrid dimming current includes the following steps: S321. Calculate the PWM frequency and duty cycle of the control command based on the parameters in the control command parameter set. S322. Generate an analog current reference value by combining the parameters in the control command parameter set with the DAC; S323. Construct the initial LSTM model, and set the prediction accuracy of the initial LSTM model to be... β 1. Prediction accuracy threshold is β 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 then used as the network parameters of the initial LSTM model to obtain the dynamic PWM weight model. S324. Obtain the real-time high brightness range based on the parameters in the control command parameter set; obtain the optimal dynamic PWM weight based on the real-time high brightness range and the dynamic PWM weight model. The average PWM current is obtained based on the PWM duty cycle and the maximum adjustable current value. The final hybrid dimming current is calculated based on the dynamic PWM weight, the average PWM current, and the analog current reference value. S4. Use drive signals to control the constant current drive of the LED; collect LED status data in real time; generate a fault alarm when there is an abnormality in the LED status data.

2. The LED light driving control method based on broadband power line carrier communication according to claim 1, characterized in that, S1 includes the following steps: S11. Generate digital control instructions according to user requirements; the digital control instructions include the target LED address, dimming parameters, and color temperature value. The digital control instructions are encapsulated using a protocol and a checksum is added to obtain coded control instructions. S12. Perform OFDM, symbol modulation, inverse fast Fourier transform, and digital-to-analog conversion operations on the encoded control instructions to obtain an analog OFDM signal set; S13. Using impedance matching technology, the analog OFDM signal set is injected into the power line through a coupling circuit and superimposed with the power frequency AC for transmission, resulting in a mixed signal in the power line.

3. The LED light driving control method based on broadband power line carrier communication according to claim 2, characterized in that, S12 includes the following steps: S12 includes the following steps: S121. Using OFDM technology, the available subcarriers are dynamically selected in the 2-30 MHz frequency band to avoid the concentrated frequency band of power line noise, thus obtaining a subcarrier set; S122. Modulate the coding control command by adaptively adjusting the modulation scheme and the number of available subcarriers in the subcarrier set according to the channel quality, and obtain the modulation symbol set; S123. Using the subcarrier set and modulation symbol set, and performing subcarrier mapping and IFFT transformation through inverse fast Fourier transform, a time-domain signal set is generated. S124. Insert a cyclic prefix on 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 light driving control method based on broadband power line carrier communication according to claim 1, characterized in that, S2 includes 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 the 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 the restored OFDM signal set. S22. Perform analog-to-digital conversion on the restored high-frequency OFDM signal set, remove the cyclic prefix, and then perform FFT transformation to obtain the restored subcarrier set; Collect the channel estimation results of the restored subcarrier set, and use the equalization algorithm to compensate for channel distortion based on the channel estimation results to obtain the equalized modulation symbol set; S23. Demodulate and recombine the equalized modulation symbol set to obtain the restored encoding control command; S24. Verify the data integrity of the restored encoding control command using the check code. If the verification is successful, execute S3; otherwise, return to S1 and request data retransmission.

5. The LED light driving control method based on broadband power line carrier communication according to claim 1, characterized in that, S3 further includes the following steps: The coded control instructions are parsed and restored, and features are extracted to obtain a set of control instruction parameters; the set of control instruction parameters includes parameters such as target brightness and color temperature; The LED load voltage and current are monitored in real time to obtain the measured current; the PID controller dynamically adjusts the drive voltage / current based on the error between the final mixed dimming current and the measured current to obtain the PID control quantity; The calculated PID control quantity is converted into an actual drive voltage or PWM duty cycle signal to control the output of the constant current drive circuit, thus obtaining drive signal control.

6. The LED light driving control method based on broadband power line carrier communication according to claim 1, characterized in that, The steps involved in S323, where optimization algorithms are used to find the network parameters of the initial LSTM model and obtain the optimal solution during training, are as follows: S3231. Construct a sparrow population, set the size of the sparrow population, and set the maximum number of optimization iterations; S3522. Based on the network parameters of the initial LSTM model, randomly set the initial position of the sparrow population to obtain the initial position set of the sparrow population. S3523, Based on the prediction accuracy β 1. Prediction accuracy threshold β 2. Define the fitness function for the location of sparrows in a sparrow population; S3524. Perform iterative operations on the initial position set of the sparrow population; in each iteration, calculate the fitness value of each position in the initial position set of the sparrow population according to the fitness function, update the position of each sparrow in the initial position set of the sparrow population according to the fitness value from high to low, and obtain the best individual sparrow position and the global best sparrow position in the sparrow population in each iteration. S3525, repeat S3524. When the maximum number of optimization iterations is reached, stop the iteration and take the globally best sparrow position as the optimal solution.

7. The LED light driving control method based on broadband power line carrier communication according to claim 1, characterized in that, S41. Use a drive signal to control the constant current drive of the LED; Real-time acquisition of LED status data yields a set of LED status parameters; S42. Based on the LED state parameter set, set the threshold value for each state parameter in the LED state parameter set to obtain the LED state parameter threshold set; Detect whether there are any parameters in the LED status parameter set that exceed the corresponding threshold in the LED status parameter threshold set; If present, generate a fault alarm message and immediately switch to safe mode, feeding back the fault code via LED flashing or BPLC. The system can automatically dispatch maintenance work orders or update the controller firmware via OTA to handle faults.

8. An LED lamp driving control system based on broadband power line carrier communication, characterized in that, The system implements an LED light driving control method based on broadband power line carrier communication as described in any one of claims 1-7, comprising a control command generation and signal injection module, a signal receiving 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.

9. A controller, characterized in that, It stores a program that, when executed by a processor, implements an LED light driving control method based on broadband power line carrier communication as described in any one of claims 1-7.

Citation Information

Patent Citations

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

    CN107302416A

  • Illuminating lamp data transmission system

    CN119483643A

  • Joint detection method of satellite-ground downlink NOMA system

    CN119835122A

  • Intelligent dimming control method and system based on LED driver

    CN119922785A