技术领域Technical Field
本发明涉及LED驱动电源热管理技术领域,更具体地说,本发明涉及具有过温保护功能的LED电源安全控制系统及方法。The present invention relates to the technical field of thermal management of LED drive power supplies, and more particularly to a safety control system and method for an LED power supply with an over-temperature protection function.
背景技术Background Art
LED照明装置因其高效节能特性得到广泛应用。LED驱动电源作为其核心部件,在高温环境下工作时,内部电子元件的可靠性面临严峻挑战。为了防止因温度过高导致元器件永久性损坏甚至引发安全事故,现代LED驱动电源普遍集成了过温保护(Over-Temperature Protection, OTP)功能。一种常见的保护策略是在检测到电源关键部位温度超过预设安全阈值时,主动降低其输出功率(即实施“降额”操作),通过减少自身功耗来抑制温升,力图将温度稳定在安全范围内,从而在维持照明不中断的前提下实现硬件保护。这种基于功率降额的OTP方式已成为业内重要且广泛采用的安全控制手段。LED lighting devices are widely used due to their high efficiency and energy-saving features. However, as a core component, LED driver power supplies face significant challenges in terms of the reliability of their internal electronic components when operating in high-temperature environments. To prevent permanent damage to components or even safety incidents caused by excessive temperatures, modern LED driver power supplies generally integrate over-temperature protection (OTP). A common protection strategy is to proactively reduce the output power (i.e., implement "derating") when the temperature of a key part of the power supply exceeds a preset safety threshold. This strategy suppresses temperature rise by reducing power consumption, striving to stabilize the temperature within a safe range, thereby achieving hardware protection while maintaining uninterrupted lighting. This OTP method, based on power derating, has become an important and widely adopted safety control measure in the industry.
然而,现有基于主动降额模式的过温保护方案在实施过程中面临:功率降幅调节的时间特性(即降额过程的速度与规律)若与其所驱动的LED光源的光电响应特性(如光通量变化的延迟与惯性)不相适配,会诱发光源输出产生特定的波动模式。这种波动如果落入人眼视觉系统感知敏感的低频范畴,即使电源本身已有效避免了过热风险并持续提供照明,却会在应用场景中(尤其是对照明质量要求严格的场合)造成令人不适或干扰视觉任务的闪烁现象。However, existing over-temperature protection solutions based on active derating face the following challenges: if the timing characteristics of the power reduction adjustment (i.e., the speed and regularity of the derating process) do not match the photoelectric response characteristics of the LED light source it drives (such as the delay and inertia of luminous flux changes), this can induce a specific fluctuation pattern in the light source output. If this fluctuation falls into the low-frequency range that the human visual system is sensitive to, even if the power supply itself effectively avoids overheating risks and continues to provide lighting, it can cause flickering in applications (especially those with strict lighting quality requirements) that can be uncomfortable or interfere with visual tasks.
发明内容Summary of the Invention
为了克服现有技术的上述缺陷,本发明的实施例提供具有过温保护功能的LED电源安全控制系统及方法以解决上述背景技术中提出的问题。In order to overcome the above-mentioned defects of the prior art, embodiments of the present invention provide an LED power supply safety control system and method with an over-temperature protection function to solve the problems raised in the above-mentioned background technology.
为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
具有过温保护功能的LED电源安全控制方法,包括如下步骤:A method for safely controlling an LED power supply with an over-temperature protection function includes the following steps:
S1、实时监测LED电源关键部位的温度值,当温度值超过设定保护阈值时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值;S1. Real-time monitoring of the temperature of key parts of the LED power supply. When the temperature exceeds the set protection threshold, the pre-stored luminous flux response delay time constant and the lower limit of the human visual sensitivity frequency are obtained;
S2、根据光通量响应延迟时间常数计算当前初始降额速率对应的光波动频率分量;S2. Calculate the light fluctuation frequency component corresponding to the current initial derating rate based on the luminous flux response delay time constant;
S3、检测环境光源强度变化趋势,基于环境光源强度变化趋势分析动态视觉适应特性;S3, detecting the changing trend of the ambient light intensity, and analyzing the dynamic visual adaptation characteristics based on the changing trend of the ambient light intensity;
S4、根据动态视觉适应特性对光波动频率分量进行感知敏感度修正,生成感知敏感度等效频率;S4, performing perceptual sensitivity correction on the light fluctuation frequency component according to the dynamic visual adaptation characteristics to generate a perceptual sensitivity equivalent frequency;
S5、当感知敏感度等效频率低于人眼视觉敏感频率下限值时,提高初始降额速率直至新产生的感知敏感度等效频率不低于人眼视觉敏感频率下限值,得到优化降额速率;S5. When the perceptual sensitivity equivalent frequency is lower than the lower limit of the human eye's visual sensitivity frequency, the initial derating rate is increased until the newly generated perceptual sensitivity equivalent frequency is not lower than the lower limit of the human eye's visual sensitivity frequency, thereby obtaining an optimized derating rate;
S6、按照优化降额速率执行输出功率降额操作。S6. Perform output power derating operation according to the optimized derating rate.
在一个优选的实施方式中,实时监测LED电源关键部位的温度值,当温度值超过设定保护阈值时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值,包括:In a preferred embodiment, the temperature of key parts of the LED power supply is monitored in real time. When the temperature exceeds a set protection threshold, the pre-stored luminous flux response delay time constant and the lower limit of the human eye visual sensitivity frequency are obtained, including:
对LED电源的功率开关管结温和磁性元件表面温度进行同步采样;Synchronously sample the junction temperature of the power switch tube of the LED power supply and the surface temperature of the magnetic components;
当任一采样温度值连续三次超过设定保护阈值时,判定满足过温保护触发条件;When any sampled temperature value exceeds the set protection threshold for three consecutive times, it is determined that the over-temperature protection trigger condition is met;
在触发过温保护条件的同时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值。When the over-temperature protection condition is triggered, the pre-stored luminous flux response delay time constant and the lower limit value of the human eye visual sensitivity frequency are obtained.
在一个优选的实施方式中,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值具体为:In a preferred embodiment, obtaining the pre-stored luminous flux response delay time constant and the lower limit of the human eye visual sensitivity frequency is specifically as follows:
获取当前驱动回路的LED光源封装型号编码,根据LED光源封装型号编码查询预存储在非易失性存储器中的光源特性映射表,从光源特性映射表中提取对应的光通量响应延迟时间常数;Obtaining the LED light source package model code of the current drive circuit, querying the light source characteristic mapping table pre-stored in the non-volatile memory according to the LED light source package model code, and extracting the corresponding luminous flux response delay time constant from the light source characteristic mapping table;
通过场景识别接口读取当前照明场景分类标识,根据照明场景分类标识从视觉感知参数数据库中调取与对应场景关联的人眼视觉敏感频率下限值。The current lighting scene classification identifier is read through the scene recognition interface, and the lower limit value of the human eye visual sensitivity frequency associated with the corresponding scene is retrieved from the visual perception parameter database based on the lighting scene classification identifier.
在一个优选的实施方式中,根据光通量响应延迟时间常数计算当前初始降额速率对应的光波动频率分量,包括:In a preferred embodiment, calculating the light fluctuation frequency component corresponding to the current initial derating rate according to the luminous flux response delay time constant includes:
读取存储在当前驱动回路微控制器内的初始降额速率;Read the initial derating rate stored in the current drive circuit microcontroller;
获取光通量响应延迟时间常数的当前有效数值;Get the current effective value of the luminous flux response delay time constant;
基于光通量响应延迟时间常数与光波动频率分量的反比关系建立转换模型;A conversion model is established based on the inverse relationship between the light flux response delay time constant and the light fluctuation frequency component;
将初始降额速率输入至转换模型中运算;Input the initial derating rate into the conversion model for calculation;
输出对应于当前初始降额速率的光波动频率分量数值。Outputs the value of the optical fluctuation frequency component corresponding to the current initial derating rate.
在一个优选的实施方式中,检测环境光源强度变化趋势,基于环境光源强度变化趋势分析动态视觉适应特性,包括:In a preferred embodiment, detecting the changing trend of the ambient light intensity and analyzing the dynamic visual adaptation characteristics based on the changing trend of the ambient light intensity include:
检测当前环境照明光源在连续三个采样时点的照度测量值序列;Detect the illuminance measurement value sequence of the current ambient lighting source at three consecutive sampling points;
识别照度序列中最大测量值与最小测量值出现的位置顺序;Identify the order in which the maximum and minimum measured values appear in the illumination sequence;
根据位置顺序判定照度变化方向为递增趋势或递减趋势;Determine whether the direction of illumination change is increasing or decreasing based on the position sequence;
当变化方向为递增趋势时,从预置生理参数库选择明视觉主导的基准适应时间;When the change direction is an increasing trend, the benchmark adaptation time dominated by photopic vision is selected from the preset physiological parameter library;
当变化方向为递减趋势时,从预置生理参数库选择暗视觉主导的基准适应时间;When the change direction is a decreasing trend, a benchmark adaptation time dominated by dark vision is selected from the preset physiological parameter library;
基于照度变化率绝对值和变化方向组合修正基准适应时间:递增趋势下按变化率比例缩短明适应时间常数,递减趋势下按变化率比例延长暗适应时间常数;The baseline adaptation time is corrected based on the absolute value of the illuminance change rate and the direction of change: the light adaptation time constant is shortened in proportion to the change rate under an increasing trend, and the dark adaptation time constant is extended in proportion to the change rate under a decreasing trend;
输出携带方向性特征的双通道动态视觉适应特性集。Output is a two-channel dynamic visual adaptation feature set carrying directional features.
在一个优选的实施方式中,根据动态视觉适应特性对光波动频率分量进行感知敏感度修正,生成感知敏感度等效频率,包括:In a preferred embodiment, performing perceptual sensitivity correction on the light fluctuation frequency component according to the dynamic visual adaptation characteristic to generate a perceptual sensitivity equivalent frequency includes:
提取动态视觉适应特性参数集中的明适应时间常数和暗适应时间常数;Extracting the light adaptation time constant and the dark adaptation time constant from the dynamic visual adaptation characteristic parameter set;
将明适应时间常数输入至生理响应转换函数计算明视觉感知增益因子;The photopic adaptation time constant is input into the physiological response transfer function to calculate the photopic perception gain factor;
将暗适应时间常数输入至时间积分运算器计算暗视觉累积效应因子;The dark adaptation time constant is input into the time integration operator to calculate the dark vision cumulative effect factor;
对光波动频率分量执行双向频域调制;performing bidirectional frequency domain modulation on the light fluctuation frequency components;
组合调制结果生成相位连续的感知敏感度等效频率输出值。The modulation results are combined to generate a phase-continuous perceptual sensitivity equivalent frequency output value.
在一个优选的实施方式中,双向频域调制包括:明视觉感知增益因子作用为提升频率分量的高频响应;暗视觉累积效应因子作用为抑制频率分量的低频波动。In a preferred embodiment, the bidirectional frequency domain modulation includes: a photopic perception gain factor for enhancing the high-frequency response of the frequency component; and a scotopic cumulative effect factor for suppressing the low-frequency fluctuation of the frequency component.
在一个优选的实施方式中,当感知敏感度等效频率低于人眼视觉敏感频率下限值时,提高初始降额速率直至新产生的感知敏感度等效频率不低于人眼视觉敏感频率下限值,得到优化降额速率,包括:In a preferred embodiment, when the perceptual sensitivity equivalent frequency is lower than the lower limit of the human eye visual sensitivity frequency, the initial derating rate is increased until the newly generated perceptual sensitivity equivalent frequency is not lower than the lower limit of the human eye visual sensitivity frequency, thereby obtaining an optimized derating rate, including:
建立当前感知敏感度等效频率与人眼视觉敏感频率下限值的比较关系;Establish a comparative relationship between the current perceptual sensitivity equivalent frequency and the lower limit of the human eye's visual sensitivity frequency;
当比较结果显示低于时,设置初始降额速率变化步进值;When the comparison result shows lower than, set the initial derating rate change step value;
根据初始降额速率变化步进值增加当前降额速率数值;Increase the current derating rate value according to the initial derating rate change step value;
基于增加后的降额速率数值重新生成光波动频率分量;regenerate the light fluctuation frequency component based on the increased derating rate value;
对重新生成的光波动频率分量执行感知敏感度修正操作生成新的感知敏感度等效频率;performing a perceptual sensitivity correction operation on the regenerated light fluctuation frequency component to generate a new perceptual sensitivity equivalent frequency;
将新生成的感知敏感度等效频率再次与人眼视觉敏感频率下限值比较;Compare the newly generated perceptual sensitivity equivalent frequency with the lower limit of the human eye's visual sensitivity frequency again;
重复增加降额速率和重新生成比较的操作循环;Repeating the cycle of increasing the derating rate and regenerating the comparison;
当新生成的感知敏感度等效频率达到不低于人眼视觉敏感频率下限值时,终止操作循环;When the newly generated perceptual sensitivity equivalent frequency reaches or exceeds the lower limit of the human eye's visual sensitivity frequency, the operation cycle is terminated;
记录此时有效的降额速率数值作为优化降额速率输出。The effective derating rate value at this time is recorded as the optimized derating rate output.
在一个优选的实施方式中,按照优化降额速率执行输出功率降额操作,包括:In a preferred embodiment, performing the output power derating operation according to the optimized derating rate includes:
加载存储在优化降额速率专用存储区的数值并转换为功率控制信号波形参数;Loading the values stored in the dedicated storage area for optimizing the derating rate and converting them into power control signal waveform parameters;
配置功率开关管的驱动时序序列,根据驱动时序序列生成脉宽调制波形;Configure the driving timing sequence of the power switch tube and generate a pulse width modulation waveform according to the driving timing sequence;
通过隔离驱动电路传输脉宽调制波形至功率开关管栅极;Transmitting the pulse width modulation waveform to the gate of the power switch tube through the isolation drive circuit;
实时监测输出功率变化梯度,调整脉宽调制波形的占空比变化速率;Monitor the output power change gradient in real time and adjust the duty cycle change rate of the pulse width modulation waveform;
当输出功率变化梯度与优化降额速率的偏差超出允许范围时,启动占空比微调补偿机制;When the deviation between the output power change gradient and the optimized derating rate exceeds the allowable range, the duty cycle fine-tuning compensation mechanism is activated;
确认输出功率稳定在目标降额值后,锁定当前驱动参数维持功率输出。After confirming that the output power is stable at the target derating value, lock the current drive parameters to maintain power output.
另一方面,本发明提供具有过温保护功能的LED电源安全控制系统,包括以下模块:In another aspect, the present invention provides an LED power supply safety control system with an over-temperature protection function, comprising the following modules:
参数获取模块,用于实时监测LED电源关键部位的温度值,当温度值超过设定保护阈值时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值;The parameter acquisition module is used to monitor the temperature of key parts of the LED power supply in real time. When the temperature exceeds the set protection threshold, it obtains the pre-stored luminous flux response delay time constant and the lower limit of the human eye's visual sensitivity frequency;
分量计算模块,用于根据光通量响应延迟时间常数计算当前初始降额速率对应的光波动频率分量;A component calculation module, configured to calculate the light fluctuation frequency component corresponding to the current initial derating rate according to a light flux response delay time constant;
适应分析模块,用于检测环境光源强度变化趋势,基于环境光源强度变化趋势分析动态视觉适应特性;Adaptation analysis module, used to detect the changing trend of ambient light intensity and analyze dynamic visual adaptation characteristics based on the changing trend of ambient light intensity;
感知修正模块,用于根据动态视觉适应特性对光波动频率分量进行感知敏感度修正,生成感知敏感度等效频率;A perception correction module, configured to correct the perception sensitivity of the light fluctuation frequency component according to the dynamic visual adaptation characteristics and generate a perception sensitivity equivalent frequency;
速率优化模块,用于当感知敏感度等效频率低于人眼视觉敏感频率下限值时,提高初始降额速率直至新产生的感知敏感度等效频率不低于人眼视觉敏感频率下限值,得到优化降额速率;A rate optimization module is used to increase the initial derating rate when the perceptual sensitivity equivalent frequency is lower than the lower limit of the human eye's visual sensitivity frequency until the newly generated perceptual sensitivity equivalent frequency is not lower than the lower limit of the human eye's visual sensitivity frequency, thereby obtaining an optimized derating rate;
降额执行模块,用于按照优化降额速率执行输出功率降额操作。The derating execution module is used to execute the output power derating operation according to the optimized derating rate.
与现有技术相比,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
1、通过建立光源光电响应特性与人眼视觉感知模型的深度耦合机制,解决了传统LED电源过温保护中的频闪问题。通过将光通量响应延迟参数动态映射为频率分量,结合环境光照驱动的视觉适应特性进行感知修正,构建了人眼视觉敏感的等效频率评估模型,实现了功率降幅过程与光源频闪特性的精确匹配,确保降额操作产生的光波动始终高于人眼敏感阈值。在维持热安全保护能力的前提下,显著减轻了光源输出波动对视觉作业的干扰,尤其适用于手术照明、精密实验室等对视觉质量敏感的场所,提升了照明的舒适性和可用性。1. By establishing a deep coupling mechanism between the photoelectric response characteristics of the light source and the human visual perception model, the flicker problem in traditional LED power supply over-temperature protection is resolved. By dynamically mapping the luminous flux response delay parameters to frequency components and combining them with the visual adaptation characteristics driven by ambient light for perceptual correction, an equivalent frequency assessment model of human visual sensitivity is constructed. This achieves a precise match between the power reduction process and the light source's flicker characteristics, ensuring that the light fluctuations generated by the derating operation remain above the human eye's sensitivity threshold. While maintaining thermal safety protection capabilities, this significantly reduces the interference of light source output fluctuations on visual tasks. This is particularly suitable for visually sensitive environments such as surgical lighting and precision laboratories, improving lighting comfort and usability.
2、采用闭环优化架构动态调整降额轨迹:通过等效频率与人眼敏感阈值的实时比对,自适应优化功率调整速率,在电源热时间常数与视觉感知边界之间取得最佳平衡,既能快速抑制温度上升,又能避免过度降速造成的保护延迟。既保障了电子元器件的热安全裕量,又确保光环境稳定性,实现了硬件可靠性与视觉舒适性的协同优化。2. A closed-loop optimization architecture dynamically adjusts the derating trajectory: By comparing the equivalent frequency with the human eye's sensitivity threshold in real time, the system adaptively optimizes the power adjustment rate, achieving an optimal balance between the power supply's thermal time constant and the visual perception boundary. This rapidly suppresses temperature rise while avoiding protection delays caused by excessive derating. This ensures both the thermal safety margin of electronic components and the stability of the light environment, achieving a coordinated optimization of hardware reliability and visual comfort.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明具有过温保护功能的LED电源安全控制方法的流程图;FIG1 is a flow chart of a method for safely controlling an LED power supply with an over-temperature protection function according to the present invention;
图2为本发明具有过温保护功能的LED电源安全控制系统的结构示意图。FIG2 is a schematic structural diagram of an LED power supply safety control system with an over-temperature protection function according to the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
实施例1:图1给出了本发明具有过温保护功能的LED电源安全控制方法,其包括如下步骤:Example 1: FIG1 shows a method for safely controlling an LED power supply with an over-temperature protection function according to the present invention, which comprises the following steps:
S1、实时监测LED电源关键部位的温度值,当温度值超过设定保护阈值时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值;S1. Real-time monitoring of the temperature of key parts of the LED power supply. When the temperature exceeds the set protection threshold, the pre-stored luminous flux response delay time constant and the lower limit of the human visual sensitivity frequency are obtained;
S2、根据光通量响应延迟时间常数计算当前初始降额速率对应的光波动频率分量;S2. Calculate the light fluctuation frequency component corresponding to the current initial derating rate based on the luminous flux response delay time constant;
S3、检测环境光源强度变化趋势,基于环境光源强度变化趋势分析动态视觉适应特性;S3, detecting the changing trend of the ambient light intensity, and analyzing the dynamic visual adaptation characteristics based on the changing trend of the ambient light intensity;
S4、根据动态视觉适应特性对光波动频率分量进行感知敏感度修正,生成感知敏感度等效频率;S4, performing perceptual sensitivity correction on the light fluctuation frequency component according to the dynamic visual adaptation characteristics to generate a perceptual sensitivity equivalent frequency;
S5、当感知敏感度等效频率低于人眼视觉敏感频率下限值时,提高初始降额速率直至新产生的感知敏感度等效频率不低于人眼视觉敏感频率下限值,得到优化降额速率;S5. When the perceptual sensitivity equivalent frequency is lower than the lower limit of the human eye's visual sensitivity frequency, the initial derating rate is increased until the newly generated perceptual sensitivity equivalent frequency is not lower than the lower limit of the human eye's visual sensitivity frequency, thereby obtaining an optimized derating rate;
S6、按照优化降额速率执行输出功率降额操作。S6. Perform output power derating operation according to the optimized derating rate.
S1、实时监测LED电源关键部位的温度值,当温度值超过设定保护阈值时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值,具体实施为:S1. Real-time monitoring of the temperature of key parts of the LED power supply. When the temperature exceeds the set protection threshold, the pre-stored luminous flux response delay time constant and the lower limit of the human eye's visual sensitivity frequency are obtained. The specific implementation is as follows:
实时监测LED电源关键部位的温度值具体通过以下方式实现:金属氧化物半导体场效应晶体管芯片内部集成的热敏二极管用于监测半导体结温,该二极管正向压降与温度的反比关系经过专用集成电路转换为0至5伏的模拟电压信号。该信号接入微控制器内置的12位模数转换器通道,以每10毫秒一次的速率进行采样,采样值通过线性插值公式换算为摄氏温度值,温度换算系数为每毫伏对应0.5摄氏度。变压器磁芯表面温度监测采用环氧树脂封装的负温度系数热敏电阻器件,其25摄氏度标称阻值为10千欧姆,热敏常数-3950/℃。热敏电阻连接成惠斯通电桥电路的一个桥臂,电桥输出差分电压经仪表放大器放大20倍后送入模数转换器。两个温度采集通道的采样时序由微控制器通用定时器模块控制,定时器配置为向上计数模式,当计数值达到1000时触发模数转换开始信号,确保采样间隔误差小于1%。Real-time temperature monitoring of key LED power supply components is achieved through the following method: A thermistor integrated within the metal-oxide-semiconductor field-effect transistor chip monitors the semiconductor junction temperature. The diode's forward voltage drop, which is inversely proportional to temperature, is converted into a 0 to 5 volt analog voltage signal via a dedicated integrated circuit. This signal is fed into a microcontroller's built-in 12-bit analog-to-digital converter (ADC) channel, where it is sampled every 10 milliseconds. The sampled values are converted to Celsius values using a linear interpolation formula, with a temperature conversion factor of 0.5 degrees Celsius per millivolt. The transformer core surface temperature is monitored using an epoxy-encapsulated negative temperature coefficient (NTC) thermistor. Its nominal resistance at 25 degrees Celsius is 10 kiloohms, and its thermal constant is -3950°C. The thermistor forms one leg of a Wheatstone bridge circuit. The bridge's output differential voltage is amplified 20 times by an instrumentation amplifier before being fed into the ADC. The sampling timing of the two temperature acquisition channels is controlled by the microcontroller's general timer module. The timer is configured in up-counting mode. When the count value reaches 1000, the analog-to-digital conversion start signal is triggered to ensure that the sampling interval error is less than 1%.
当功率开关管结温采样值或磁性元件表面温度采样值连续3次超过预设的135摄氏度阈值时,判定满足过温保护触发条件。此判定通过两个独立的8位移位寄存器执行:功率开关管温度采样值存入第一个移位寄存器,磁性元件温度存入第二个移位寄存器。每次采样后将数值与阈值比较,高于阈值时向对应移位寄存器最低位移入数字1,否则移入数字0。当任一寄存器最低3位均为数字1时,立即置位过温保护状态寄存器相应标志位,该标志位采用置位优先型触发器实现,状态变更响应延迟小于100纳秒。When the sampled power switch junction temperature or the magnetic component surface temperature exceeds the preset threshold of 135 degrees Celsius three times in a row, the over-temperature protection trigger condition is determined to have been met. This determination is performed using two independent 8-bit shift registers: the power switch temperature sample is stored in the first shift register, and the magnetic component temperature is stored in the second shift register. After each sample, the value is compared with the threshold. If it exceeds the threshold, a digital 1 is shifted into the lowest bit of the corresponding shift register; otherwise, a digital 0 is shifted in. If the lowest three bits of either register are all 1, the corresponding flag in the over-temperature protection status register is immediately set. This flag is implemented using a set-first flip-flop, and the state change response delay is less than 100 nanoseconds.
在过温保护状态标志位置位的同时,启动参数获取操作。通过串行外设接口总线读取发光二极管光源基板上1024比特电可擦可编程只读存储器中存储的6字符封装型号编码,编码格式符合国际电子技术委员会62203标准定义的字母数字规范。该编码作为查询键值访问存储在串行闪存存储器0区块的光源特性映射表,映射表数据结构为定长记录式,每条记录包含16字节编码字符串和4字节浮点型时间常数值。光通量响应延迟时间常数获取方式为:在发光二极管生产测试阶段,使用可编程电流源施加从标称电流10%跃变至90%的阶跃激励,同时以1,000,000次/秒的采样率采集高速光电二极管输出电压波形,计算输出电压从稳态值10%上升至稳态值90%的时间间隔,将该时间值乘以0.85的热电转换系数后作为映射表存储值。该系数通过对比25℃和85℃环境温度下的响应时间差值标定获得。When the overtemperature protection status flag is set, the parameter acquisition operation is initiated. The 6-character package model code stored in the 1024-bit electrically erasable programmable read-only memory (EEPM) on the LED light source substrate is read via the serial peripheral interface bus. The encoding format complies with the alphanumeric format defined by the International Electrotechnical Commission (IEC) 62203 standard. This code is used as a query key to access the light source characteristic mapping table stored in block 0 of the serial flash memory. The mapping table data structure is fixed-length record format, with each record consisting of a 16-byte encoded string and a 4-byte floating-point time constant value. The luminous flux response delay time constant is obtained by applying a step stimulus from 10% to 90% of the nominal current using a programmable current source during LED production testing. Simultaneously, the high-speed photodiode output voltage waveform is sampled at a sampling rate of 1,000,000 times/second. The time interval for the output voltage to rise from 10% to 90% of the steady-state value is calculated and multiplied by a thermoelectric conversion coefficient of 0.85 to store the value in the mapping table. This coefficient is calibrated by comparing the response time difference at ambient temperatures of 25°C and 85°C.
场景分类标识获取采取双路径机制:物理路径检测4路拨码开关的状态组合,每路开关通断状态对应1位二进制数值,开关接地时读数为0,连接3.3伏电源时读数为1,4位数组合形成0至15的整数标识码;电气路径解析控制器局域网络总线数据帧的标准标识符字段,取扩展标识符第18至21位数据组成场景标识码。标识码作为索引键查询电可擦可编程只读存储器存储的视觉感知参数数据库,数据库采用平衡二叉树结构组织数据记录,每条记录包含4字节场景标识码和4字节单精度浮点型频率参数。人眼视觉敏感频率下限值设定方法为:首先引用国际照明委员会公布的标准视亮度函数曲线,获取曲线中光照适应状态下临界闪烁频率的基准值;然后在基准值基础上增加动态裕度,手术室场景增加2.0赫兹,道路照明场景增加1.0赫兹,影院场景增加3.0赫兹。动态裕度设置原理基于不同场景的视觉任务精度需求,手术室场景要求高视觉辨识精度,故设置较大裕度。A dual-path mechanism is used to obtain scene classification identifiers. The physical path detects the state combination of four DIP switches. Each switch's on/off state corresponds to a single-bit binary value. A grounded switch reads 0, and a 3.3V power supply reads 1. This four-bit combination forms an integer identifier ranging from 0 to 15. The electrical path parses the standard identifier field of the controller area network bus data frame, extracting bits 18 to 21 of the extended identifier to form the scene identifier. The identifier is used as an index key to query a visual perception parameter database stored in an electrically erasable programmable read-only memory (EEPROM). The database uses a balanced binary tree structure to organize data records. Each record contains a 4-byte scene identifier and a 4-byte single-precision floating-point frequency parameter. The lower limit of the human visual sensitivity frequency is set by first referencing the standard brightness function curve published by the International Commission on Illumination (CIIE) to obtain a baseline value for the critical flicker frequency under light adaptation conditions. A dynamic margin is then added to this baseline value: 2.0 Hz for operating room scenarios, 1.0 Hz for road lighting scenarios, and 3.0 Hz for cinema scenarios. The principle of dynamic margin setting is based on the visual task accuracy requirements of different scenarios. The operating room scene requires high visual recognition accuracy, so a larger margin is set.
异常处理机制包含以下分层设计:当检测到未注册的封装型号编码时,自动调用预设的全局默认值1.5毫秒作为光通量响应延迟时间常数,该值统计50种常用发光二极管型号参数中位数确定;场景标识码校验错误时,强制采用道路照明场景对应的8.0赫兹为默认频率值;非易失性存储器读操作返回校验错误时,自动重试3次后切换至备份存储区相同逻辑地址读取数据;硬件看门狗定时器设置为500毫秒超时周期,定时器溢出时触发系统复位信号。存储器访问校验采用循环冗余校验算法,生成多项式为十六进制11021(十进制69665),校验位宽16比特。The exception handling mechanism includes the following layered design: When an unregistered package model code is detected, the preset global default value of 1.5 milliseconds is automatically used as the luminous flux response delay time constant. This value is determined by statistically analyzing the median parameters of 50 common LED models. If a scene identification code verification error occurs, the default frequency value of 8.0 Hz, corresponding to the road lighting scene, is forced to be used. If a non-volatile memory read operation returns a verification error, the system automatically retries three times before switching to the same logical address in the backup storage area to read the data. The hardware watchdog timer is set to a 500 millisecond timeout period, and a system reset signal is triggered when the timer overflows. Memory access verification uses a cyclic redundancy check algorithm with a generator polynomial of hexadecimal 11021 (decimal 69665) and a check bit width of 16 bits.
关键技术参数的硬件实施验证方法:温度监测精度在恒温槽中使用一级标准铂电阻温度计校准,工作温度范围-40℃至125℃内最大误差±2.5℃;光通量延迟时间测量通过可编程电流源产生2.5微秒上升沿的驱动电流,使用带宽200兆赫兹光电探头配合高速示波器验证,实测数据与存储值偏差小于3%;场景参数调取延迟使用逻辑分析仪测量控制器局域网络总线数据帧收发时戳,最大响应延迟110微秒;存储器可靠性测试在85℃环境温度下连续读写10,000次,误码率低于1×10-9。系统复位功能通过人工注入寄存器锁死故障验证,故障注入后499毫秒内系统自动恢复运行。Hardware implementation verification methods for key technical parameters: Temperature monitoring accuracy was calibrated in a constant temperature bath using a Class 1 standard platinum resistance thermometer, with a maximum error of ±2.5°C within the operating temperature range of -40°C to 125°C. Luminous flux delay time was measured using a programmable current source to generate a driving current with a 2.5-microsecond rising edge. This was verified using a 200-MHz bandwidth photoelectric probe and a high-speed oscilloscope, with the measured data deviating less than 3% from the stored value. Scene parameter retrieval latency was measured using a logic analyzer to measure the controller area network bus data frame transmit and receive timestamps, with a maximum response delay of 110 microseconds. Memory reliability was tested by performing 10,000 continuous read and write cycles at an ambient temperature of 85°C, achieving a bit error rate of less than 1×10⁻⁹ . System reset functionality was verified by manually injecting a register lockup fault. The system automatically recovered within 499 milliseconds after the fault was injected.
S2、根据光通量响应延迟时间常数计算当前初始降额速率对应的光波动频率分量,具体实施为:S2. Calculate the light fluctuation frequency component corresponding to the current initial derating rate based on the luminous flux response delay time constant. The specific implementation is as follows:
初始降额速率的获取机制通过微控制器的内存直接访问通道执行。该参数存储在内存映射区域中十六进制地址为0x7E08的专用寄存器内,寄存器采用三十二位定点数格式:高十六位存储整数部分,低十六位存储小数部分。当系统检测到过温保护触发条件成立时,固件启动直接内存访问传输,配置为单次传输模式并将数据宽度设置为四字节。读取的原始值需乘以系数0.001转换为实际降额速率值,该系数的设置依据电源额定功率范围确定:100瓦级别电源使用0.001,200瓦级别使用0.0005。转换操作在算术逻辑单元中完成,耗时不超过500纳秒。The initial derating rate is acquired via the microcontroller's direct memory access channel. This parameter is stored in a dedicated register at hexadecimal address 0x7E08 in the memory-mapped area. The register uses a 32-bit fixed-point format: the upper 16 bits store the integer portion, and the lower 16 bits store the fractional portion. When the system detects that the overtemperature protection trigger condition has been met, the firmware initiates a direct memory access transfer, configured for single-shot transfer mode and with a data width of four bytes. The raw value read is converted to the actual derating rate by multiplying it by a factor of 0.001. This factor is set based on the power supply's rated power range: 0.001 for a 100-watt power supply and 0.0005 for a 200-watt power supply. This conversion is performed in the arithmetic logic unit and takes no more than 500 nanoseconds.
光通量响应延迟时间常数的提取流程基于前序步骤获得的封装型号编码。系统通过四线串行外设接口发送查询指令至串行闪存存储器,时钟频率配置为15兆赫兹。指令帧包含六字节编码字符串和两字节校验码,校验算法采用多项式为0x11021的循环冗余校验。闪存存储器在0x1000地址开始的光源特性映射表中执行顺序查找操作,每条记录占用二十字节存储空间。匹配成功后,从记录偏移地址十二字节处提取四字节单精度浮点数作为有效常数。该值在加载到处理器前需通过数值范围校验,确保处于0.1至10.0毫秒区间。The process for extracting the luminous flux response delay time constant is based on the package model code obtained in the previous step. The system sends a query command to the serial flash memory via a four-wire serial peripheral interface, configured for a 15 MHz clock frequency. The command frame consists of a six-byte encoding string and a two-byte checksum, using a cyclic redundancy check (CRC) algorithm with a polynomial of 0x11021. The flash memory performs a sequential search in the light source characteristic mapping table starting at address 0x1000, with each record occupying 20 bytes of storage space. After a successful match, a four-byte single-precision floating-point number is extracted from the twelve-byte offset address of the record as the valid constant. This value undergoes a range check before being loaded into the processor to ensure it is within the range of 0.1 to 10.0 milliseconds.
转换模型的构建方法依据光源动态响应原理。基准转换系数(k)的确定通过实验室实测实现:选取十种典型LED封装型号,使用可编程电流源施加10%至90%额定电流的阶跃变化,同时以500纳秒采样间隔记录光通量上升曲线。计算从稳态值10%升至90%的时间作为延迟常数(τ),同时使用频谱分析仪捕捉输出光波动的基频分量(f)。统计多组数据的τ·f乘积值,取所有乘积值排序后的第五位至第十五位数据的中位数,再将该中位数乘以3.1416的常数因子作为最终基准转换系数。系统初始化时将基准转换系数写入只读配置区,地址范围为0x2000至0x2003。The conversion model is constructed based on the dynamic response of light sources. The benchmark conversion coefficient (k) was determined through laboratory measurements: Ten typical LED package types were selected. A programmable current source was used to apply a step change from 10% to 90% of the rated current, while the luminous flux rise curve was recorded at a 500 nanosecond sampling interval. The time it took to rise from 10% to 90% of the steady-state value was calculated as the delay constant (τ). A spectrum analyzer was used to capture the fundamental frequency component (f) of the output light fluctuations. The τ·f product of multiple data sets was calculated, and the median of the fifth to fifteenth digits of the sorted product values was taken. This median was then multiplied by a constant factor of 3.1416 to obtain the final benchmark conversion coefficient. During system initialization, the benchmark conversion coefficient is written to the read-only configuration area, located in the address range 0x2000 to 0x2003.
计算操作在浮点处理单元中按严格序列执行:第一步将光通量响应延迟时间常数加载至浮点寄存器FP0;第二步将基准转换系数加载至寄存器FP1;第三步执行除法操作FP1/FP0,结果存入中间寄存器TMP;第四步将初始降额速率加载至寄存器FP2;第五步执行除法操作TMP/FP2,结果存入目标寄存器DST。每步运算均采用IEEE 754单精度浮点标准,舍入模式设置为最近偶数舍入法。计算过程启用硬件溢出监测,当检测到指数部分超过一百二十六时触发浮点异常中断。Calculation operations are performed in a strict sequence within the floating-point processing unit: The first step loads the luminous flux response delay time constant into floating-point register FP0; the second step loads the reference conversion coefficient into register FP1; the third step performs the division operation FP1/FP0, storing the result in the intermediate register TMP; the fourth step loads the initial derating rate into register FP2; and the fifth step performs the division operation TMP/FP2, storing the result in the destination register DST. Each operation utilizes the IEEE 754 single-precision floating-point standard, with rounding set to nearest-even. Hardware overflow detection is enabled during the calculation process, triggering a floating-point exception interrupt when the exponent exceeds 126.
计算结果输出前执行三重有效性验证:第一级检查数值是否在0.1至1000.0赫兹范围内;第二级确认数值符号为正;第三级验证数值精度达到二进制的二十三位有效数字。通过验证的数据写入内存缓冲区0x3000至0x3FFF区域,数据格式采用四字节对齐存储。同时更新状态寄存器中地址0x5002的第三比特标志位。若验证失败,系统启用备用方案:调用存储在地址0x4004的默认频率值5.0赫兹作为输出,并在错误日志中记录事件代码0xE1。Before outputting the calculation result, a triple validation check is performed: the first level checks whether the value is within the range of 0.1 to 1000.0 Hz; the second level confirms that the value's sign is positive; and the third level verifies that the value has 23 significant digits of binary precision. Passing validation writes the data to the memory buffer area 0x3000 to 0x3FFF, using four-byte alignment. The third bit of the status register at address 0x5002 is also updated. If validation fails, the system uses a fallback: the default frequency value of 5.0 Hz stored at address 0x4004 is used as the output, and event code 0xE1 is logged in the error log.
异常处理系统包含分层容错机制。参数无效时的应对策略:当光通量响应延迟时间常数小于0.1毫秒时,自动切换为1.2毫秒;大于10.0毫秒时切换为8.0毫秒;初始降额速率为0.0每秒时使用0.5每秒替代。故障计数器在地址0x6000记录操作异常次数,达到三次阈值后激活安全模式。安全模式下系统绕过计算流程直接输出固定值10.0赫兹。所有异常事件实时记录至非易失存储器日志区,每条日志占用十六字节:四字节时间戳(毫秒级),四字节错误代码,八字节附加信息。The exception handling system includes a hierarchical fault-tolerance mechanism. Parameter invalidation strategies include: When the luminous flux response delay constant is less than 0.1 milliseconds, it automatically switches to 1.2 milliseconds; when it is greater than 10.0 milliseconds, it switches to 8.0 milliseconds; and when the initial derating rate is 0.0 per second, it is replaced with 0.5 per second. A fault counter at address 0x6000 records the number of operational anomalies. A safety mode is activated after reaching the threshold of three. In safety mode, the system bypasses the calculation process and directly outputs a fixed value of 10.0 Hz. All abnormal events are recorded in real time in a non-volatile memory log area. Each log entry occupies 16 bytes: a four-byte timestamp (in milliseconds), a four-byte error code, and eight bytes of additional information.
硬件资源配置要求明确:计算流程需在配备硬件浮点单元的微控制器运行,最低主频要求30兆赫兹。内存分配需求为:输入参数区八字节,中间计算区八字节,输出区四字节。实时性指标通过硬件计时器监控,计算总时限200微秒,其中:参数加载阶段50微秒,除法运算阶段100微秒,验证输出阶段50微秒。温度适应性措施包含:在-40℃环境温度下将计算时限放宽至240微秒,在85℃高温环境下内存访问频率降低20%。The hardware resource configuration requirements are clear: the calculation process must run on a microcontroller equipped with a hardware floating-point unit, with a minimum clock speed of 30 MHz. Memory allocation requirements are: eight bytes for the input parameter area, eight bytes for the intermediate calculation area, and four bytes for the output area. Real-time performance is monitored via a hardware timer, with a total calculation time limit of 200 microseconds, comprising 50 microseconds for the parameter loading phase, 100 microseconds for the division phase, and 50 microseconds for the output verification phase. Temperature adaptability measures include extending the calculation time limit to 240 microseconds at -40°C and reducing memory access frequency by 20% at 85°C.
验证测试方案建立完整的基准框架:测试平台包含可编程参数注入模块,支持输入光通量响应延迟时间常数(0.5-5.0毫秒)与初始降额速率(2-10每秒)的组合测试向量。使用500MHz带宽示波器监测计算流程关键节点:地址总线信号监测输入参数加载状态;数据总线分析中间结果;浮点异常引脚侦测错误状态。精度验证方法为对比理论计算值与系统输出值,容许偏差设置为±5%。长期可靠性测试在温度循环箱内执行:-40℃至85℃温变循环2000次,每次温度变化率5℃/分钟,测试全程持续500小时。测试结果要求误差率小于0.01%。The verification test plan establishes a complete benchmark framework: the test platform includes a programmable parameter injection module that supports test vectors combining input luminous flux response delay time constants (0.5-5.0 milliseconds) and initial derating rates (2-10 per second). A 500MHz bandwidth oscilloscope monitors key nodes in the calculation process: address bus signals monitor input parameter loading status; data bus signals analyze intermediate results; and floating-point exception pins detect error states. Accuracy is verified by comparing theoretical calculated values with system output values, with an allowable deviation set to ±5%. Long-term reliability testing is performed in a temperature cycling chamber: 2000 cycles of temperature change from -40°C to 85°C, each with a temperature ramp rate of 5°C/minute, for a total duration of 500 hours. The test results are required to have an error rate of less than 0.01%.
所有单位采用国际规范表示:时间用ms(毫秒),频率用Hz(赫兹),速率用%/s(百分比每秒)。数值表示规则:整数部分超过三位的数值每三位加逗号分隔(如1,000),浮点数保留三位有效数字。计算流程使用的物理常数精确到小数点后四位,其中圆周率取3.1416,自然对数底取2.7183。核心操作的时间性能指标为:参数加载最长时间42微秒,除法运算平均时间92微秒,结果输出最小时间38微秒。系统恢复时间指标:软错误恢复小于10微秒,硬复位恢复小于1毫秒。All units are expressed using international standards: time is expressed in ms (milliseconds), frequency in Hz (hertz), and rate in %/s (percent per second). Numerical notation: Integers with more than three digits are separated by commas (e.g., 1,000), and floating-point numbers are rounded to three significant digits. Physical constants used in the calculation process are accurate to four decimal places, including pi (3.1416) and the natural logarithm base (2.7183). Core operation timing performance indicators are: maximum parameter loading time of 42 microseconds, average division time of 92 microseconds, and minimum result output time of 38 microseconds. System recovery time indicators: soft error recovery is less than 10 microseconds, and hard reset recovery is less than 1 millisecond.
基准转换系数的动态更新机制:通过系统维护接口可重新执行系数标定流程。新系数计算完成后写入备份存储区0x8000地址段,写入前需通过两次独立计算校验。验证一致后进行存储区切换操作:更新存储器地址映射表,将0x2000至0x2003地址重定向到新数据区。更新过程需在下一次过温保护触发前完成,系统记录更新日志并保存前版系数作为回滚副本。操作人员可设置三个月至一年的自动更新周期,确保系数与光源老化特性匹配。Dynamic update mechanism for reference conversion coefficients: The coefficient calibration process can be re-executed through the system maintenance interface. After calculation, the new coefficients are written to the backup storage area at address 0x8000. Before writing, they are verified by two independent calculations. Once the verification is consistent, the storage area is switched: the memory address mapping table is updated, redirecting addresses 0x2000 to 0x2003 to the new data area. The update process must be completed before the next overtemperature protection trigger. The system records the update log and saves the previous version of the coefficients as a rollback copy. The operator can set an automatic update cycle of three months to one year to ensure that the coefficients match the aging characteristics of the light source.
S3、检测环境光源强度变化趋势,基于环境光源强度变化趋势分析动态视觉适应特性,具体实施为:S3. Detect the changing trend of the ambient light intensity and analyze the dynamic visual adaptation characteristics based on the changing trend of the ambient light intensity. The specific implementation is as follows:
环境照明光源的照度测量通过布置在设备监测面的三组光电传感单元执行,每组单元包含光敏二极管和电流-电压转换电路。三个单元按120度夹角环形排列,每10毫秒同步触发一次采样,采样时机由微控制器定时器3的通道1上升沿控制。每个传感单元输出的模拟电压经12位模数转换器量化为0-4095的整数值,该数值通过线性映射转换为0-100,000勒克斯范围的实际照度值。连续三个采样时点的数据构成时序序列存储于缓冲区,缓冲区管理采用先进先出策略:新数据覆盖最旧数据,始终保持最近三次采样数据集。Illuminance measurement of the ambient lighting source is performed using three photoelectric sensor units arranged on the monitoring surface of the device. Each unit contains a photodiode and a current-to-voltage conversion circuit. The three units are arranged in a circular pattern at a 120-degree angle and synchronously trigger a sampling cycle every 10 milliseconds. The sampling timing is controlled by the rising edge of channel 1 of microcontroller timer 3. The analog voltage output by each sensor unit is quantized to an integer value ranging from 0 to 4095 by a 12-bit analog-to-digital converter. This value is then converted to an actual illuminance value in the range of 0 to 100,000 lux using a linear mapping. Data from three consecutive sampling points is stored in a time-series buffer. The buffer is managed using a first-in-first-out (FIFO) strategy: newer data overwrites the oldest data, always retaining the most recent three sampling data sets.
照度序列中极值位置识别流程为:将缓冲区三个时点的测量值加载至比较器阵列。第一比较器对比时间戳t0与t1的数值大小,输出较大值索引标记;第二比较器对比t1与t2数值;第三比较器最终确定全局最大值和最小值的位置索引。位置索引定义为时点序号(0表示t0,1表示t1,2表示t2),索引值存储于处理器的状态寄存器位[7:6]。该操作耗时不超过200纳秒,确保实时性能。The process for identifying extreme values in an illumination sequence is as follows: The measured values at three time points in the buffer are loaded into a comparator array. The first comparator compares the values at timestamps t0 and t1 and outputs an index of the larger value. The second comparator compares the values at t1 and t2. The third comparator ultimately determines the position index of the global maximum and minimum values. The position index is defined as the time point number (0 for t0, 1 for t1, and 2 for t2), and the index value is stored in bits [7:6] of the processor's status register. This operation takes less than 200 nanoseconds, ensuring real-time performance.
变化方向判定基于最大值与最小值的位置逻辑关系:当最大值索引等于2且最小值索引等于0时标记递增趋势;当最大值索引等于0且最小值索引等于2时标记递减趋势。判定结果存储在状态寄存器位[5],该比特位状态变化实时触发后续参数选择操作。在光照剧烈波动场景(如闪电),系统启用噪声抑制机制:当相邻时点差值变化超过50%时暂缓判断,等待下一采样周期重新分析。The direction of change is determined based on the logical relationship between the maximum and minimum values: when the maximum index is equal to 2 and the minimum index is equal to 0, an increasing trend is marked; when the maximum index is equal to 0 and the minimum index is equal to 2, a decreasing trend is marked. The result of the determination is stored in the status register bit [5]. The change of the bit state triggers the subsequent parameter selection operation in real time. In scenes with severe light fluctuations (such as lightning), the system activates the noise suppression mechanism: when the difference between adjacent time points changes by more than 50%, the determination is suspended and re-analysis is waited for the next sampling cycle.
当检测到递增趋势时,访问预置在串行闪存芯片特定地址范围的明视觉参数区。该区域存储生理学验证的明视觉基准适应时间常数,其来源依据国际照明委员会CIEPubl.200:2011标准中视锥细胞响应数据。基准常数值初始设置为140毫秒(25℃标准值),存储格式为单精度浮点数。选择操作通过串行外设接口总线发送读命令至芯片0x5000物理地址完成,数据传输率20Mbps。When an increasing trend is detected, the photopic parameter area, pre-set to a specific address range on the serial flash memory chip, is accessed. This area stores physiologically validated photopic benchmark adaptation time constants, derived from cone cell response data in the Commission International de Illumination (CIEPubl.200:2011). The benchmark constant value is initially set to 140 milliseconds (standard at 25°C) and is stored as a single-precision floating-point number. This selection is accomplished by sending a read command to physical address 0x5000 on the chip via the serial peripheral interface bus, with a data transfer rate of 20 Mbps.
当检测到递减趋势时,访问相同存储芯片0x6000地址起始的暗视觉参数区。暗视觉基准常数取自CIE标准中视杆细胞恢复特性研究,基准值设置为1800毫秒。读取命令格式包含8位操作码和24位地址字段,芯片返回的32位数据直接加载至处理器的浮点寄存器。在高温环境中(>70℃),系统自动激活温度补偿功能:读取值乘以温度衰减因子,衰减系数每升高1℃减少0.1%。When a decreasing trend is detected, the scotopic vision parameter area starting at address 0x6000 on the same memory chip is accessed. The scotopic vision reference constant is derived from the CIE standard for rod cell recovery characteristics, with the reference value set to 1800 milliseconds. The read command format consists of an 8-bit opcode and a 24-bit address field. The 32-bit data returned by the chip is directly loaded into the processor's floating-point registers. In high-temperature environments (>70°C), the system automatically activates temperature compensation: the read value is multiplied by the temperature attenuation factor, which decreases by 0.1% for every 1°C increase.
照度变化率计算与基准时间修正执行步骤为:首先计算三个时点内最大照度变化绝对值(即最大值减最小值的差)。将变化绝对值除以采样时间窗口20毫秒(三个间隔10毫秒采样点的总跨度)得到变化率绝对值(单位:千勒克斯/秒)。修正规则实施如下:对于递增趋势,明适应时间常数计算式为“基准值减去(变化率乘以比例因子)”,比例因子固定取值0.04毫秒·秒/千勒克斯;对于递减趋势,暗适应时间常数计算式为“基准值加上(变化率乘以比例因子)”,比例因子取值0.06毫秒·秒/千勒克斯。比例因子的理论基础是Alpern视色素漂白恢复曲线模型,实施中结合临床视觉感知实验数据进行校准。The steps for calculating the illuminance change rate and correcting the baseline time are as follows: First, calculate the absolute value of the maximum illuminance change (i.e., the difference between the maximum and minimum values) over three time points. Divide this absolute value by the 20-millisecond sampling window (the total span of three 10-millisecond sampling points) to obtain the absolute value of the rate of change (in kilolux/second). The correction rule is implemented as follows: For an increasing trend, the light adaptation time constant is calculated as "baseline value minus (rate of change multiplied by a scaling factor)," with a fixed value of 0.04 milliseconds/kilolux. For a decreasing trend, the dark adaptation time constant is calculated as "baseline value plus (rate of change multiplied by a scaling factor)," with a fixed value of 0.06 milliseconds/kilolux. The scaling factor is based on the Alpern visual pigment bleaching recovery curve model and is calibrated using clinical visual perception data.
双通道特性集输出阶段创建包含两个字段的数据结构:字段1存储修正后的明适应时间常数(单位毫秒),字段2存储修正后的暗适应时间常数(单位毫秒)。数据结构写入共享内存区域0x2000-0x2007地址段,采用小端格式存储。写入操作触发硬件中断,中断服务程序读取并验证数据有效性。在极端光环境(>100,000勒克斯)下,系统强制启用参数限幅保护:明适应时间不低于50毫秒,暗适应时间不超过3000毫秒。The dual-channel feature set output stage creates a data structure containing two fields: Field 1 stores the corrected light adaptation time constant (in milliseconds), and Field 2 stores the corrected dark adaptation time constant (in milliseconds). The data structure is written to the shared memory area at addresses 0x2000-0x2007, using little-endian format. The write operation triggers a hardware interrupt, which the interrupt service routine reads and verifies. In extreme light environments (>100,000 lux), the system enforces parameter limit protection: the light adaptation time must be no less than 50 milliseconds, and the dark adaptation time must be no more than 3000 milliseconds.
动态适应特性异常处理架构包含三层容错:第一层当检测到照度传感器信号异常(连续3次采样值相同)时,采用前次有效参数集;第二层访问非易失存储器失败时,加载固件备份参数(明适应120毫秒,暗适应2000毫秒);第三层比例计算溢出时,强制按边界值输出。所有异常事件记录错误日志,日志条目包含精确到微秒的时间戳和错误类型编码。The dynamic adaptive feature's exception handling architecture includes three layers of fault tolerance. The first layer uses the previously valid parameter set when an abnormal illuminance sensor signal is detected (three consecutive identical sampling values). The second layer loads firmware backup parameters (120 milliseconds for light adaptation and 2000 milliseconds for dark adaptation) when access to non-volatile memory fails. The third layer forces output to the boundary value when a proportional calculation overflows. All abnormal events are recorded in an error log, with log entries containing microsecond-accurate timestamps and error type codes.
生理参数验证方案基于医疗光学检测平台构建:使用标准光源发生器模拟照度从10至10,000勒克斯的变化过程,同步高速眼动仪记录志愿者视网膜电生理响应。测试50名健康受试者获得视神经传导延迟数据,其中明视觉适应时间范围120-160毫秒,暗视觉范围1500-2200毫秒。本系统输出参数与临床测试结果的偏差要求控制在15%内,通过200组对比试验进行验证。The physiological parameter verification solution was built on a medical optical testing platform. A standard light source generator was used to simulate illuminance variations from 10 to 10,000 lux, while a high-speed eye tracker was used to record the retinal electrophysiological responses of volunteers. Optic nerve conduction delay data were obtained from 50 healthy subjects, with photopic adaptation times ranging from 120-160 milliseconds and scotopic adaptation times from 1500 to 2200 milliseconds. The system's output parameters were required to be within 15% of clinical test results, and were validated through 200 sets of comparative tests.
核心参数设定原理说明:明视觉基准140毫秒的选择基于视锥细胞光化学激活中位时间;暗视觉基准1800毫秒依据视紫红质再生动力学常数。比例因子的确定方法为:在光照梯度测试平台上测量不同变化率下的临界闪烁频率,结合瞳孔直径变化模型反推出最优比例系数0.04和0.06。温度补偿系数的制定依据半导体载流子迁移率与温度的关系模型。Core parameter setting principles: The photopic benchmark of 140 milliseconds was chosen based on the median photochemical activation time of cones; the scotopic benchmark of 1800 milliseconds was based on the rhodopsin regeneration kinetic constant. The scaling factor was determined by measuring the critical flicker frequency at different rates of change on a light gradient test platform and inferring the optimal scaling factors of 0.04 and 0.06 based on a pupil diameter variation model. The temperature compensation coefficient was determined based on a model that models the relationship between semiconductor carrier mobility and temperature.
硬件平台配置需求为:需要带浮点单元的处理器(主频≥50MHz),内存分配12KB用于数据处理。时序指标通过逻辑分析仪实测:采样到趋势判定全流程≤250μs,温度补偿计算≤50μs。环境适应性要求:在-40℃环境温度下需启用基准值+20%余量调整;85℃高温下使用90%衰减系数。The hardware platform configuration requirements include a processor with a floating-point unit (clocked at ≥50 MHz) and 12 KB of memory allocated for data processing. Timing metrics, measured using a logic analyzer, show a total sampling to trend determination time of ≤250 μs, and temperature compensation calculation time of ≤50 μs. Environmental adaptability requirements include a baseline value + 20% margin adjustment at -40°C; a 90% attenuation factor at 85°C.
所有数值单位严格采用国际符号:时间用ms,照度用klx,变化率用klx/s。参数记录规则:浮点数保留三位有效数字,结构体字段顺序固定为明适应在前、暗适应在后。校准周期设置为每30天执行全自动校准:通过标准光源输入500klx/s梯度信号,校验系统输出时间常数的偏差度,偏差超5%时自动更新比例因子并保存校准记录。All numerical units strictly adhere to international notation: milliseconds for time, klx for illuminance, and klx/s for rate of change. Parameter recording rules: Floating-point numbers are retained to three significant digits, and the structure fields are ordered with light adaptation first and dark adaptation last. Fully automatic calibration is performed every 30 days: a 500 klx/s gradient signal is input using a standard light source to verify the deviation of the system's output time constant. If the deviation exceeds 5%, the scale factor is automatically updated and the calibration record is saved.
S4、根据动态视觉适应特性对光波动频率分量进行感知敏感度修正,生成感知敏感度等效频率,具体实施为:S4. Performing perceptual sensitivity correction on the light fluctuation frequency component according to the dynamic visual adaptation characteristics to generate a perceptual sensitivity equivalent frequency. The specific implementation is as follows:
提取动态视觉适应特性参数集中的明适应时间常数和暗适应时间常数的操作过程如下:微控制器直接访问内存地址0x2000起始的8字节存储区域。该区域的前4字节存储明适应时间常数,数据格式为IEEE754单精度浮点数,单位ms;后4字节存储暗适应时间常数,格式和单位相同。数据读取后执行完整性校验:验证数值范围是否符合50ms至500ms(明适应)及500ms至3000ms(暗适应)的有效区间。校验算法采用循环冗余校验计算,生成多项式采用十六进制表示法0x11021。当数据超出有效范围时,自动替换为存储于地址0xFF00的默认值(明适应100ms,暗适应2000ms),同时在非易失存储器记录异常代码0x01。The process for extracting the light adaptation and dark adaptation time constants from the dynamic visual adaptation parameter set is as follows: The microcontroller directly accesses the 8-byte storage area starting at memory address 0x2000. The first 4 bytes of this area store the light adaptation time constant in IEEE 754 single-precision floating-point format, in milliseconds; the last 4 bytes store the dark adaptation time constant, in the same format and units. After data is read, an integrity check is performed to verify that the value falls within the valid range of 50ms to 500ms (light adaptation) and 500ms to 3000ms (dark adaptation). The check algorithm uses a cyclic redundancy check (CRC) calculation, with the generating polynomial in hexadecimal notation 0x11021. If data exceeds the valid range, it is automatically replaced with the default value stored at address 0xFF00 (100ms for light adaptation and 2000ms for dark adaptation), and an exception code 0x01 is recorded in non-volatile memory.
明适应时间常数转换为明视觉感知增益因子的计算流程在专用电路执行:首先将输入值加载至浮点运算单元寄存器。转换函数定义为“2.0除以1与自然常数e的负0.00001乘以明适应时间常数次幂值的和”。自然常数e取固定值2.71828。计算结果暂存至缓存寄存器。环境温度校正实时读取温度传感器数据,在25℃基准温度下应用校正系数1.0,每升高1℃增加0.005的校正量。最终增益因子限定在0.8至1.8之间,超出范围时启用边界值钳位机制。The calculation process for converting the light adaptation time constant into a gain factor for photopic vision perception is performed in a dedicated circuit. First, the input value is loaded into the floating-point unit register. The conversion function is defined as the sum of 2.0 divided by 1 and the natural constant e raised to the power of the light adaptation time constant, minus 0.00001. The natural constant e is fixed at 2.71828. The calculation result is temporarily stored in a buffer register. Ambient temperature correction reads the temperature sensor data in real time, applying a correction factor of 1.0 at a base temperature of 25°C, with an increase of 0.005 for every 1°C increase. The final gain factor is limited to a range of 0.8 to 1.8, with a limit clamping mechanism activated if the value exceeds the range.
暗适应时间常数输入时间积分运算器的处理步骤如下:时间积分运算器配置离散积分步长为50ms。计算过程为:将总时间按步长等分为若干段,每段执行积分运算“e的负t除以暗适应时间常数次幂乘以步长参数”,其中t表示该时间段起点时间。各段积分结果累加得到暗视觉累积效应因子。当暗适应时间常数超过2000ms时自动启用硬件加速器(基于CORDIC算法实现),确保计算周期不超过500ms。计算结果存储至内存地址0x3000,格式为单精度浮点数。The dark adaptation time constant is input into the time integrator as follows: The time integrator is configured with a discrete integration step size of 50 ms. The calculation process is as follows: the total time is divided into several equal segments according to the step size. For each segment, the integral operation "e minus t divided by the dark adaptation time constant raised to the power of the step size parameter" is performed, where t represents the starting time of the segment. The integration results of each segment are summed to obtain the cumulative effect factor of dark vision. When the dark adaptation time constant exceeds 2000 ms, the hardware accelerator (implemented based on the CORDIC algorithm) is automatically enabled to ensure that the calculation cycle does not exceed 500 ms. The calculation result is stored in memory address 0x3000 as a single-precision floating-point number.
双向频域调制操作按以下规程实现:光波动频率分量分别输入两个独立处理通道。高频提升通道应用二阶巴特沃斯滤波器,该滤波器的增益参数设定为当前明视觉感知增益因子值,截止频率固定为15Hz。低频抑制通道应用无限脉冲响应滤波器,滤波系数设置为暗视觉累积效应因子乘以0.01,阻带频率设为3Hz。两个通道输出信号输入复信号合成器:高频通道信号连接实部输入端,低频通道信号连接虚部输入端。复信号合成器输出复数形式信号至缓冲区地址0x4000。Bidirectional frequency-domain modulation is implemented according to the following protocol: the frequency components of the light fluctuations are fed into two independent processing channels. The high-frequency boost channel applies a second-order Butterworth filter with the gain parameter set to the current photopic perception gain factor and a fixed cutoff frequency of 15 Hz. The low-frequency rejection channel applies an infinite impulse response filter with the filter coefficient set to the scotopic cumulative effect factor multiplied by 0.01 and a stopband frequency set to 3 Hz. The output signals of both channels are fed into a complex signal synthesizer: the high-frequency channel signal is connected to the real input, and the low-frequency channel signal is connected to the imaginary input. The complex output of the complex signal synthesizer is stored in buffer address 0x4000.
生成感知敏感度等效频率的最终阶段执行:从缓冲区读取复数信号,计算该复数的模值(实部平方与虚部平方之和的平方根)。模值计算过程采用牛顿迭代法,迭代三次达到精度要求。相位连续性检测器对比当前输出与上一次输出的角度变化量,当角度差超过0.5弧度时启用五点线性插值平滑处理:在连续五个采样点窗口内执行线性插值,插值步长设定为0.1弧度。最终结果量化为三位有效数字,存储至内存地址0x5000。相位连续性监控数据记录在地址0x5010的监控寄存器,第3比特位表示相位异常状态。The final stage of generating the perceptual sensitivity equivalent frequency (PEF) reads the complex signal from the buffer and calculates its modulus (the square root of the sum of the squares of the real and imaginary parts). This modulus calculation uses the Newton iteration method, with three iterations required to achieve the required accuracy. The phase continuity detector compares the angular change between the current output and the previous output. If the angular difference exceeds 0.5 radians, a five-point linear interpolation smoothing process is initiated: linear interpolation is performed within a window of five consecutive sampling points, with an interpolation step size of 0.1 radians. The final result is quantized to three significant digits and stored in memory address 0x5000. Phase continuity monitoring data is recorded in the monitoring register at address 0x5010, with bit 3 indicating a phase abnormality.
技术验证方案按以下标准实施:使用可编程信号发生器输入10Hz标准光波动频率。测试三种场景组合:场景组合1(明适应130ms/暗适应1500ms)的预期输出为13.5Hz±0.5Hz;场景组合2(明适应500ms/暗适应2300ms)预期7.2Hz±0.3Hz;场景组合3(明适应100ms/暗适应1800ms)预期11.8Hz±0.4Hz。验证设备采用200MHz带宽示波器,探头连接复信号合成器输出端。测试要求相位跳变连续三次测量均小于0.1弧度。The technical verification plan was implemented according to the following standards: a programmable signal generator was used to input a standard 10Hz light fluctuation frequency. Three scenario combinations were tested: Scenario 1 (light adaptation 130ms/dark adaptation 1500ms) had an expected output of 13.5Hz±0.5Hz; Scenario 2 (light adaptation 500ms/dark adaptation 2300ms) had an expected output of 7.2Hz±0.3Hz; and Scenario 3 (light adaptation 100ms/dark adaptation 1800ms) had an expected output of 11.8Hz±0.4Hz. The verification equipment used a 200MHz bandwidth oscilloscope, with the probe connected to the output of the complex signal synthesizer. The test required that the phase jump be less than 0.1 radian for three consecutive measurements.
核心参数设定依据说明:巴特沃斯滤波器15Hz截止频率依据国际标准化组织ISO13489标准设定。自然常数e取值2.71828采用标准数学常数库定义。五点线性插值步长0.1弧度依据香农采样定理的最小相位分辨率要求确定。温度校正系数每℃0.005调整量来源自光电转换器件温度漂移实验数据。Core parameter setting explanation: The Butterworth filter's 15Hz cutoff frequency is set according to the International Organization for Standardization (ISO) 13489 standard. The natural constant e, 2.71828, is defined using a standard mathematical constant library. The five-point linear interpolation step size of 0.1 radians is determined based on the minimum phase resolution requirement of the Shannon sampling theorem. The temperature correction coefficient, adjusted by 0.005°C per °C, is derived from experimental data on temperature drift of photoelectric converter devices.
异常处理执行三阶策略:第一阶输入参数超限时,强制替换为地址0xFF00存储的默认值组合。第二阶处理超时监控:明适应转换超过100μs或暗适应积分超过500ms时触发硬件看门狗复位。第三阶相位异常累计三次后,自动切换历史平均值输出模式(取前十次有效输出平均值)。所有异常事件记录日志条目:每条日志占16字节(4字节时间戳+4字节错误代码+8字节附加信息)。Exception handling utilizes a three-stage strategy: First-stage input parameter excursions are forcibly replaced with the default value combination stored at address 0xFF00. Second-stage processing timeout monitoring triggers a hardware watchdog reset if the light adaptation transition exceeds 100μs or the dark adaptation integration exceeds 500ms. Third-stage phase anomalies, after three cumulative phase anomalies, automatically switch to historical average output mode (taking the average of the last ten valid outputs). All abnormal events are logged: each log entry occupies 16 bytes (4-byte timestamp + 4-byte error code + 8-byte additional information).
验证平台配置要求:主控芯片需带浮点单元(如ARMCortex-M4F架构),主频不低于50MHz。内存最小分配30字节:输入参数8字节,中间变量12字节,输出数据10字节。执行时限约束:全流程300μs内完成,其中增益计算限80μs,积分运算限120μs,频域调制限50μs,输出生成限50μs。Verification platform configuration requirements: The main control chip must have a floating-point unit (such as an ARM Cortex-M4F architecture) and a main frequency of no less than 50 MHz. The minimum memory allocation is 30 bytes: 8 bytes for input parameters, 12 bytes for intermediate variables, and 10 bytes for output data. Execution time constraints: The entire process must be completed within 300 μs, including 80 μs for gain calculation, 120 μs for integral calculation, 50 μs for frequency domain modulation, and 50 μs for output generation.
校准维护规程:每90天执行在线校准。通过维护接口输入标准10Hz测试信号,用存储示波器捕获输出波形。根据相位连续性指标(小于0.1弧度跳变)自动调节五点插值参数。新参数写入前执行双区校验:备份区与主区数据一致后方可生效。校准记录包含旧参数、新参数、校验值和时间戳。Calibration and Maintenance Procedures: Perform online calibration every 90 days. Input a standard 10Hz test signal through the maintenance interface, and capture the output waveform using a storage oscilloscope. Automatically adjust the five-point interpolation parameters based on phase continuity (less than 0.1 radian jumps). Perform a dual-zone check before writing new parameters: data in the backup zone must be consistent with the primary zone before they take effect. Calibration records contain the old and new parameters, the checksum, and a timestamp.
生产测试标准:在85℃高温环境下,连续48小时运行测试序列。每2小时记录一组输出数据,要求频率波动范围小于0.2Hz。相位连续性指标通过率要求99%以上。最终测试报告包含温度曲线、频率输出曲线、相位跳变直方图数据。Production test standards: Run the test sequence continuously for 48 hours at 85°C. Record output data every two hours, with a frequency fluctuation range of less than 0.2 Hz. A phase continuity pass rate of at least 99% is required. The final test report includes temperature curves, frequency output curves, and phase transition histogram data.
S5、当感知敏感度等效频率低于人眼视觉敏感频率下限值时,提高初始降额速率直至新产生的感知敏感度等效频率不低于人眼视觉敏感频率下限值,得到优化降额速率,具体实施为:S5. When the perceptual sensitivity equivalent frequency is lower than the lower limit of the human eye's visual sensitivity frequency, the initial derating rate is increased until the newly generated perceptual sensitivity equivalent frequency is not lower than the lower limit of the human eye's visual sensitivity frequency, thereby obtaining an optimized derating rate. The specific implementation is as follows:
建立当前感知敏感度等效频率与人眼视觉敏感频率下限值的比较关系的实现过程为:微控制器直接从内存地址0x5000位置读取感知敏感度等效频率值,该值采用浮点数格式存储,单位Hz。同时从地址0xA000加载人眼视觉敏感频率下限值。两个数值被传输至硬件比较器单元进行差分模式运算:具体计算感知敏感度等效频率减去人眼视觉敏感频率下限值的差值。当差值小于-0.01Hz时,比较器输出低电平信号;否则输出高电平。该电平状态被映射到系统状态寄存器的第7比特位:比特值为0表示低于阈值,比特值为1表示符合要求。状态变化通过中断控制器触发3级优先级中断请求,并在5μs内得到中断服务程序响应。The comparison between the current perceptual sensitivity equivalent frequency and the lower limit of human visual sensitivity frequency is established as follows: the microcontroller directly reads the perceptual sensitivity equivalent frequency value from memory address 0x5000, stored in floating-point format in Hz. Simultaneously, the lower limit of human visual sensitivity frequency is loaded from address 0xA000. These two values are then transmitted to the hardware comparator unit for a differential operation: the difference between the perceptual sensitivity equivalent frequency and the lower limit of human visual sensitivity frequency is calculated. If the difference is less than -0.01Hz, the comparator outputs a low signal; otherwise, it outputs a high signal. This state is mapped to bit 7 of the system status register: a bit value of 0 indicates the value is below the threshold, while a bit value of 1 indicates the value is met. This state change triggers a level 3 priority interrupt request through the interrupt controller, which is responded to by the interrupt service routine within 5μs.
设置初始降额速率变化步进值的操作流程为:在状态寄存器第7比特位为0的条件下,处理器访问位于闪存0x8000地址起始的步进配置表。该配置表每行记录包含5个字段:电源功率等级范围为0-200W、基准速率单位为%/s、最小步进值、最大步进值、自适应系数范围为0.01-0.1。根据功率检测电路获取的实际输出功率值匹配最接近的功率等级行记录。计算过程使用公式:最终步进值=最小步进值+自适应系数×(基准速率-当前速率)。计算结果以16位定点数格式写入0x7000地址的专用寄存器,精度为0.001%/s。The process for setting the initial derating rate step value is as follows: With bit 7 of the status register set to 0, the processor accesses the step configuration table located at address 0x8000 in flash memory. Each row in this table contains five fields: power level range (0-200W), reference rate in %/s, minimum step value, maximum step value, and adaptive coefficient range (0.01-0.1). The actual output power value obtained by the power detection circuit is matched to the closest power level row. The calculation uses the formula: final step value = minimum step value + adaptive coefficient × (reference rate - current rate). The result is written to the dedicated register at address 0x7000 in 16-bit fixed-point format with an accuracy of 0.001%/s.
增加降额速率数值的执行步骤为:首先从0x6000地址读取当前降额速率值,格式为单精度浮点数。然后从0x7000地址获取步进值。在浮点运算单元执行加法操作:新速率值=当前速率+步进值。计算结果暂存至地址0x7100的缓冲区域。接着执行边界有效性校验:当新速率值>30%/s时强制设为30%;<1%/s时设为1%。通过校验的数据将更新至0x6000地址的降额速率存储位置。整个过程由硬件计时器监控,若耗时>50μs则触发超时警报。The steps for increasing the derating rate value are as follows: First, the current derating rate value is read from address 0x6000 in single-precision floating-point format. Then, the step value is retrieved from address 0x7000. An addition operation is performed in the floating-point unit: new rate value = current rate + step value. The result is temporarily stored in the buffer at address 0x7100. Next, a boundary validity check is performed: if the new rate value is greater than 30%/s, it is forced to 30%; if it is less than 1%/s, it is set to 1%. Data that passes the check is updated to the derating rate storage location at address 0x6000. The entire process is monitored by a hardware timer; if it takes longer than 50μs, a timeout alarm is triggered.
重新生成光波动频率分量的操作严格按照步骤2执行:输入参数从地址0x2004获取光通量响应延迟时间常数单位ms,从地址0x6000获取新降额速率值单位%/s。完整执行原始方法步骤2定义的计算过程:访问预置转换模型→基于反比关系计算→输出光波动频率分量至地址0x3000存储位置。该过程启用200μs超时保护机制,使用专用硬件协处理器确保实时性要求。新生成的分量值直接覆盖前次结果,历史数据不作保留。Regenerating the light fluctuation frequency component strictly follows Step 2: Input parameters are obtained from address 0x2004 for the luminous flux response delay time constant in milliseconds, and from address 0x6000 for the new derating rate in %/s. The calculation process defined in Step 2 of the original method is fully executed: accessing the preset conversion model → calculating based on the inverse relationship → outputting the light fluctuation frequency component to storage location 0x3000. This process uses a 200μs timeout protection mechanism and a dedicated hardware coprocessor to ensure real-time performance. The newly generated component value directly overwrites the previous result; historical data is not retained.
生成新的感知敏感度等效频率的操作完整复用步骤4:输入参数包括地址0x3000的光波动频率分量、地址0x2008的明适应时间常数、地址0x200C的暗适应时间常数。严格按方法步骤4定义的流程执行:提取参数→计算增益因子和积分效应因子→执行双向频域调制→生成相位连续输出。结果数据写入新分配的地址0x5100缓冲区。继承原始方法步骤4的全部异常处理机制,所有错误事件记录在独立日志分区地址0xF000段。单次操作时限约束300μs。The operation for generating the new perceptual sensitivity equivalent frequency fully reuses step 4: Input parameters include the light fluctuation frequency component at address 0x3000, the light adaptation time constant at address 0x2008, and the dark adaptation time constant at address 0x200C. The process defined in step 4 of the method is strictly followed: parameter extraction → calculation of gain factor and integral effect factor → bidirectional frequency-domain modulation → generation of phase-continuous output. The resulting data is written to a newly allocated buffer at address 0x5100. All exception handling mechanisms in step 4 of the original method are inherited, and all error events are recorded in a separate log partition at address 0xF000. A single operation is subject to a time constraint of 300 μs.
再次比较的闭环控制过程为:从地址0x5100读取新的感知敏感度等效频率值,与地址0xA000的下限值一同输入比较器单元。采用与初始比较相同的差分算法:新值-下限值<-0.01Hz判定为仍需优化。系统加入防抖机制设计:要求连续3次比较结果均为低电平才确认状态。结果实时更新状态寄存器第7比特位状态,状态变化沿重新触发中断请求循环。同时地址0x7200的循环计数器值自动加1。The closed-loop control process for the second comparison is as follows: the new equivalent frequency value of the sensor sensitivity is read from address 0x5100 and input into the comparator unit along with the lower limit value at address 0xA000. The same differential algorithm as the initial comparison is used: if the new value minus the lower limit value is less than -0.01Hz, the system is considered to require further optimization. The system incorporates an anti-shake mechanism: it requires three consecutive low comparison results before confirming the status. The result is updated in real time to the status register bit 7, and the state change edge re-triggers the interrupt request loop. Simultaneously, the loop counter at address 0x7200 automatically increments by 1.
操作循环的执行规程配置为:系统设置5.0次循环次数上限。每次循环包含顺序操作:判断状态寄存器位→计算步进值→增加速率→重新生成分量→生成新等效频率→再次比较。单次循环整体耗时控制在1000μs内,由看门狗定时器全程监控。当循环计数达到5.0次时强制终止所有操作,不考虑当前状态结果。在-40℃低温环境下,单次循环时限放宽至1200μs。The execution procedure for the operation loop is configured as follows: the system sets a maximum number of loops of 5.0. Each loop consists of the following sequence: check the status register bit → calculate the step value → increase the rate → regenerate the components → generate a new equivalent frequency → compare again. The total duration of a single loop is controlled within 1000μs and is monitored by a watchdog timer. When the loop count reaches 5.0, all operations are terminated, regardless of the current status. In low-temperature environments of -40°C, the single loop duration is relaxed to 1200μs.
终止操作循环的控制策略为:当状态寄存器第7比特位变为1时,循环控制单元执行终止序列:首先冻结地址0x7200的循环计数器;随后禁用状态寄存器更新电路功能;最后清除所有相关中断标志。同时向功率管理单元发送准备就绪信号。在85℃高温环境下,操作延迟增加50ns补偿量。系统记录有效循环次数至地址0x8100的日志存储区。The control strategy for terminating an operation loop is as follows: When bit 7 of the status register changes to 1, the loop control unit executes a termination sequence: first, freezing the loop counter at address 0x7200; then disabling the status register update circuit; and finally, clearing all relevant interrupt flags. Simultaneously, a ready signal is sent to the power management unit. In a high-temperature environment of 85°C, a 50ns compensation is added to the operation delay. The system records the number of valid loops in the log storage area at address 0x8100.
输出优化降额速率的最终操作为:从地址0x6000读取最终降额速率值,经格式转换后写入地址0x8000的优化速率存储区。数据存储为单精度浮点数格式,保留3位有效数字。更新全局状态寄存器第0比特位为高电平,表示优化过程已完成。输出前执行二次数据校验:确认数值在1%~30%有效区间内,否则启用最接近的边界值替代。最终结果通过控制总线传输至功率执行待用。The final operation for outputting the optimized derating rate is to read the final derating rate value from address 0x6000, convert it to a new format, and write it to the optimized rate storage area at address 0x8000. The data is stored in single-precision floating-point format, retaining three significant digits. Bit 0 of the global status register is set high, indicating the completion of the optimization process. Before output, a secondary data check is performed to confirm that the value is within the valid range of 1% to 30%. Otherwise, the nearest boundary value is used instead. The final result is transmitted to the power execution unit via the control bus for use.
异常处理框架包含3级防护:初级防护在循环计数达上限5.0次时,强制输出预设值10%/s;中级防护在单次循环超时1000μs时跳过当前迭代;高级防护在10分钟内连续触发5次异常时切换至黄金分割法优化。所有异常记录在地址0xF000分区,每条日志占16字节存储空间:4字节时间戳+4字节错误码+8字节关键参数快照。The exception handling framework includes three levels of protection: Primary protection forces the system to output a preset value of 10%/s when the loop count reaches the upper limit of 5.0; Intermediate protection skips the current iteration if a single loop times out by 1000μs; and Advanced protection switches to golden section optimization if five consecutive exceptions are triggered within 10 minutes. All exceptions are logged in the partition at address 0xF000, with each log occupying 16 bytes of storage space: a 4-byte timestamp, a 4-byte error code, and an 8-byte snapshot of key parameters.
技术验证方案具体为:构建测试平台设定初始等效频率8Hz、人眼敏感下限10Hz。使用200MHz逻辑分析仪全程监测:记录每次循环的速率值和等效频率值变化。验证核心指标:3~4次循环内达到10Hz以上目标;最终速率落在15%~25%/s区间。执行温度循环测试:-40℃→25℃→85℃连续循环10次,确认功能正常且最大循环次数≤6次。成功率指标要求99%以上测试通过。The technical verification plan specifically includes: building a test platform with an initial equivalent frequency of 8Hz and a lower limit of human eye sensitivity of 10Hz. A 200MHz logic analyzer is used for full monitoring, recording the rate value and equivalent frequency value changes for each cycle. Core verification metrics include: achieving a target of over 10Hz within 3-4 cycles; and a final rate falling within the 15%-25%/s range. A temperature cycling test is performed: 10 consecutive cycles from -40°C to 25°C to 85°C, confirming normal functionality and a maximum number of cycles of ≤6. The success rate indicator requires a 99% or higher test pass rate.
参数设定依据为:自适应系数0.05通过梯度下降法标定:在100W功率点实验测得最优值。5.0次循环上限基于最坏情况测试结果:3Hz差距需5次迭代完成。1%速率下限确保电源永不进入休眠状态。防抖机制中3次判定依据信号稳定时间测试数据确定。Parameter settings are based on an adaptive coefficient of 0.05 calibrated using a gradient descent method, achieving the optimal value experimentally at 100W power. The 5.0-cycle limit is based on worst-case test results: a 3Hz difference requires five iterations. A 1% rate limit ensures the power supply never enters sleep mode. The three-step determination in the anti-shake mechanism is based on signal stabilization time test data.
生产测试协议规定:在产品老化测试阶段执行全量程验证:设置等效频率初始值6Hz~9.9Hz范围,步进0.1Hz测试点。每个测试点执行100次循环:达标率要求>99%;平均迭代次数3.5次;最大降额速率≤27%/s。最终生成测试报告包含收敛曲线分布图和异常事件统计。The production test protocol stipulates that full-range verification should be performed during the product burn-in test phase. The initial equivalent frequency range is set between 6Hz and 9.9Hz, with test points incremented by 0.1Hz. Each test point is cycled 100 times, with a compliance rate of >99%; the average number of iterations is 3.5; and the maximum derating rate is ≤27%/s. The final test report includes a convergence curve distribution diagram and abnormal event statistics.
资源监控机制实现:循环过程中资源计数器全程工作:每轮迭代消耗时钟≤20000个周期;内存增量控制在16B内;处理器负载峰值70%。高温环境>85℃时,时限约束放宽20%。看门狗定时器设置为3ms复位周期,完整覆盖最坏情况5ms操作时长。Resource monitoring mechanism implementation: Resource counters are active throughout the loop, with each iteration consuming ≤ 20,000 clock cycles; memory increments are limited to 16 bytes; and processor load peaks at 70%. In high-temperature environments >85°C, time constraints are relaxed by 20%. The watchdog timer is set to a 3ms reset period, fully covering the worst-case 5ms operation duration.
S6、按照优化降额速率执行输出功率降额操作,具体实施为:S6. Execute output power derating operation according to the optimized derating rate, which is specifically implemented as follows:
加载存储在优化降额速率专用存储区的数值并转换为功率控制信号波形参数的操作流程如下:处理器访问地址0x8000位置的优化降额速率值,该值采用单精度浮点数格式存储,单位%/s。将读取的数值输入波形参数生成单元,该单元核心采用32位计算架构。转换算法定义为:占空比变化率=优化降额速率×功率转换系数。功率转换系数根据电源拓扑结构确定:降压型Buck电路取0.01,升压型Boost电路取0.008,升降压型Buck-Boost电路取0.009。计算结果转换为16位脉宽调制控制参数,其中高8位存储初始占空比值,低8位存储变化步进值。参数集写入寄存器地址0x9000,格式为两个字节的数据包。The process for loading the value stored in the dedicated storage area for the optimized derating rate and converting it into power control signal waveform parameters is as follows: The processor accesses the optimized derating rate value at address 0x8000, stored as a single-precision floating-point number in %/s. This value is then input into the waveform parameter generation unit, which utilizes a 32-bit computational architecture. The conversion algorithm is defined as: Duty cycle change rate = optimized derating rate × power conversion factor. The power conversion factor is determined by the power supply topology: 0.01 for a buck circuit, 0.008 for a boost circuit, and 0.009 for a buck-boost circuit. The calculated result is converted into a 16-bit pulse-width modulation control parameter, with the upper 8 bits storing the initial duty cycle value and the lower 8 bits storing the change step value. The parameter set is written to register address 0x9000 in a two-byte data packet.
配置功率开关管的驱动时序序列的具体过程为:从地址0x9000读取脉宽调制控制参数,分解为初始占空比和变化步进值两个独立变量。驱动时序序列设计为四阶段结构:阶段1设置死区时间50ns;阶段2配置最大导通时间2μs;阶段3定义最小关断时间300ns;阶段4编程设置变化步进周期10μs。时序参数存储至专用定时器配置寄存器地址0x9200-0x9203区域。配置生效后,硬件脉宽调制发生器自动按照时序序列生成波形,输出基础频率设置为100kHz±100Hz。The specific process for configuring the power switch drive timing sequence is as follows: The pulse-width modulation control parameters are read from address 0x9000 and decomposed into two independent variables: the initial duty cycle and the step value. The drive timing sequence is designed as a four-stage structure: Stage 1 sets the dead time to 50ns; Stage 2 configures the maximum on-time to 2μs; Stage 3 defines the minimum off-time to 300ns; and Stage 4 programs the step period to 10μs. The timing parameters are stored in the dedicated timer configuration registers at addresses 0x9200-0x9203. Once the configuration takes effect, the hardware pulse-width modulation generator automatically generates waveforms according to the timing sequence, with the output base frequency set to 100kHz±100Hz.
通过隔离驱动电路传输脉宽调制波形至功率开关管栅极的实施路径为:脉宽调制波形输出引脚连接高速光耦隔离器输入侧,选择工业标准型号高速光耦器件。隔离器输出侧驱动推挽放大电路,推挽金属氧化物半导体场效应晶体管采用双管互补结构。栅极驱动电阻配置为10Ω,上升时间控制目标80ns以内,下降时间控制目标60ns以内。驱动功率实时监测通过0.5Ω采样电阻实现,当驱动电流超过预设阈值时立即触发过流保护中断,中断优先级设置为2级。The implementation path for transmitting the pulse-width modulated waveform to the gate of the power switch via the isolated drive circuit is as follows: the pulse-width modulated waveform output pin is connected to the input of a high-speed optocoupler isolator (using an industry-standard high-speed optocoupler). The isolator output drives a push-pull amplifier circuit, which uses a dual-complementary structure for the push-pull metal-oxide semiconductor field-effect transistors. The gate drive resistor is configured with a 10Ω resistor, with a rise time control target of less than 80ns and a fall time control target of less than 60ns. Real-time drive power monitoring is achieved via a 0.5Ω sampling resistor. When the drive current exceeds the preset threshold, an overcurrent protection interrupt is immediately triggered, with an interrupt priority level of 2.
实时监测输出功率变化梯度的监测机制为:输出母线电压通过电阻分压电路采样,典型分压比例设置为51:1;输出电流通过磁平衡式霍尔效应传感器检测。采集数据以10kHz采样频率传输至处理器,实时功率计算采用瞬时电压值×瞬时电流值的基本公式。变化梯度计算采用三点差分法:用当前功率值 - 3ms前功率值之差 ÷ 3ms时间间隔。梯度计算结果存储至地址0x9300的专用存储位置,单位mW/ms。该数值每100μs更新一次。The real-time output power gradient monitoring mechanism involves sampling the output bus voltage using a resistor divider circuit, typically with a 51:1 ratio. Output current is detected using a magnetically balanced Hall-effect sensor. The collected data is transmitted to the processor at a 10kHz sampling frequency. Real-time power calculation uses the formula: instantaneous voltage multiplied by instantaneous current. The gradient is calculated using a three-point difference method: current power value minus the power value 3ms ago divided by the 3ms interval. The gradient calculation result is stored in a dedicated memory location at address 0x9300 in mW/ms. This value is updated every 100μs.
调整脉宽调制波形的占空比变化速率的控制逻辑为:读取当前输出功率变化梯度值,与经单位换算后的优化降额速率目标值(mW/ms)比较。当实际梯度值 < 目标值90%时,将占空比变化步进值增加10%;当实际梯度值 > 目标值110%时,将占空比变化步进值减少10%。调整信号通过写寄存器地址0x9210实现,该地址映射到脉宽调制发生器的动态步进寄存器。调整操作要求5μs内完成,由硬件自动保持波形相位连续性。The control logic for adjusting the duty cycle rate of the PWM waveform is as follows: the current output power gradient is read and compared with the optimized derating rate target (mW/ms) after unit conversion. If the actual gradient is less than 90% of the target, the duty cycle step value is increased by 10%. If the actual gradient is greater than 110%, the duty cycle step value is decreased by 10%. The adjustment signal is implemented by writing to register address 0x9210, which is mapped to the dynamic step register of the PWM generator. The adjustment operation must be completed within 5μs, and waveform phase continuity is automatically maintained by hardware.
当输出功率变化梯度与优化降额速率的偏差超出允许范围时的处理规则为:允许范围设定为优化降额速率目标值的±15%区间。超出此范围时激活三级微调补偿机制:第1级补偿调整占空比步进值20%;第2级补偿修改时序参数将周期延长10μs;第3级补偿降低脉宽调制频率至80kHz。补偿规则存储于查找表起始地址0x9400,偏差每增加5%启用更高一级补偿。补偿信号通过中断优先级4传输至控制核心。When the output power gradient deviates from the optimized derating rate beyond the allowable range, the following rules apply: the allowable range is set to ±15% of the optimized derating rate target. Exceeding this range activates a three-level fine-tuning compensation mechanism: Level 1 adjusts the duty cycle by 20%; Level 2 modifies the timing parameters to extend the cycle by 10μs; and Level 3 reduces the pulse-width modulation frequency to 80kHz. The compensation rules are stored in a lookup table starting at address 0x9400, with each 5% increase in deviation triggering a higher level of compensation. Compensation signals are transmitted to the control core via a priority level 4 interrupt.
启动占空比微调补偿机制的实现细节为:补偿单元读取当前偏差数值,计算补偿量 = 偏差值 × 0.8系数。补偿操作序列为:首先将占空比变化步进值 × 1.2系数;然后延时50μs监测系统响应;最后评估补偿后梯度值是否改善。评估结果存储至地址0x9500的监测区,用于决策是否启用更高级补偿。补偿机制限定最大为3级,超过3级自动触发系统告警状态。The implementation details for activating the duty cycle fine-tuning compensation mechanism are as follows: the compensation unit reads the current deviation value and calculates the compensation amount = deviation value × 0.8 coefficient. The compensation sequence is as follows: first, the duty cycle is changed by the step value × 1.2 coefficient; then, a 50μs delay is applied to monitor the system response; and finally, the gradient value is evaluated to see if it has improved after compensation. The evaluation result is stored in the monitoring area at address 0x9500 and is used to decide whether to enable a higher level of compensation. The compensation mechanism is limited to a maximum of 3 levels; exceeding 3 levels automatically triggers a system alarm.
确认输出功率稳定在目标降额值后的稳定判定条件为:连续50次功率采样值变化范围≤±2%;同时功率梯度值持续100ms < 优化降额速率的5%。稳定状态通过专用比较器监测,输出引脚连接系统状态寄存器第5比特位。该比特位由低电平跳变至高电平时表示系统进入稳定状态。After confirming that the output power is stable at the target derating value, the stability criteria are: the power sampling value variation range is ≤ ±2% for 50 consecutive times; and the power gradient value is < 5% of the optimized derating rate for 100ms. The stability state is monitored by a dedicated comparator, and the output pin is connected to bit 5 of the system status register. When this bit transitions from low to high, the system enters a stable state.
锁定当前驱动参数维持功率输出的最后操作为:锁定序列执行三项原子操作:冻结脉宽调制定时器配置寄存器;禁用动态步进调整功能;固定输出驱动参数至非易失存储区地址0x9800。锁定状态持续监测环境变化:当检测到环境温度变化超过±10℃或输入电压波动超过±15%时自动解除锁定重新调校。锁定期间功率波动控制指标要求最大值≤±1.5%。The final operation to lock the current drive parameters and maintain power output is as follows: The lock sequence performs three atomic operations: freezing the PWM timer configuration registers; disabling the dynamic step adjustment function; and fixing the output drive parameters to the nonvolatile memory address 0x9800. The locked state continuously monitors environmental changes: if the ambient temperature changes by more than ±10°C or the input voltage fluctuates by more than ±15%, the lock is automatically released and readjusted. During the lock period, the maximum power fluctuation must be ≤±1.5%.
微调补偿异常处理流程为:当单次补偿操作后梯度改善率<20%时,记录补偿失效事件代码0xB1;连续3次补偿未达预期效果时切换至备用补偿表地址0x9900;累计10次补偿失效后激活安全模式固定输出60%额定功率。所有异常事件写入环形日志缓存地址0x9A00-0x9AFF空间,每条日志记录16字节信息。The fine-tuning compensation exception handling process is as follows: if the gradient improvement rate after a single compensation operation is less than 20%, the compensation failure event code 0xB1 is logged. If three consecutive compensation attempts fail to achieve the expected results, the system switches to the backup compensation table at address 0x9900. After 10 cumulative compensation failures, the system activates safety mode, fixing the output to 60% of the rated power. All exception events are written to the ring log buffer at addresses 0x9A00-0x9AFF, with each log entry containing 16 bytes of information.
技术验证测试方案具体实施:在可编程电子负载测试台上设置初始功率100W,优化降额速率10%/s。使用四通道示波器监测关键节点:通道1追踪栅极驱动波形;通道2捕获输出功率梯度;通道3记录占空比变化曲线。核心测试指标要求:功率梯度跟踪误差≤±5%;补偿响应时间<80μs;稳定状态建立时间<500ms;稳态功率波动≤1.5%。高温85℃测试环境允许放宽指标至跟踪误差≤±8%。The technical verification test plan was implemented using a programmable electronic load test bench with an initial power setting of 100W and an optimized derating rate of 10%/s. A four-channel oscilloscope was used to monitor key nodes: Channel 1 tracked the gate drive waveform; Channel 2 captured the output power gradient; and Channel 3 recorded the duty cycle curve. Core test requirements included: power gradient tracking error ≤ ±5%; compensation response time < 80μs; steady-state settling time < 500ms; and steady-state power fluctuation ≤ 1.5%. High-temperature testing at 85°C allowed for a relaxed tracking error of ≤ ±8%.
补偿参数设定依据说明:第1级补偿系数0.8通过负载阶跃响应实验确定:在30%~70%负载突变测试中优化得出。三级补偿机制设计基于功率开关管热响应特性:第1级对应电气响应阶段,第2级对应热传递延迟阶段,第3级对应结构热容饱和阶段。偏差允许范围±15%依据开关电源动态响应国际标准制定。Compensation parameter setting explanation: The first-level compensation coefficient of 0.8 was determined through load step response experiments and optimized using 30% to 70% load sudden change tests. The three-level compensation mechanism is designed based on the thermal response characteristics of the power switch: the first level corresponds to the electrical response stage, the second level to the heat transfer delay stage, and the third level to the structural thermal capacity saturation stage. The tolerance range of ±15% is based on international standards for switching power supply dynamic response.
生产测试规范明确:每个成品执行3组降额测试序列:组1优化速率10%/s;组220%/s;组3 5%/s。每组测试测量5项关键参数:初始过冲量≤8%;稳定时间<600ms;梯度误差≤7%;补偿触发次数<4;稳态误差≤2%。测试不合格品激活维修代码0xC1,返回补偿参数校准流程重新调校。Production test specifications clearly state that each finished product undergoes three derating test sequences: Group 1, optimized rate 10%/s; Group 2, 20%/s; and Group 3, 5%/s. Each test sequence measures five key parameters: initial overshoot ≤ 8%; settling time < 600ms; gradient error ≤ 7%; compensation trigger count < 4; and steady-state error ≤ 2%. Failed products will trigger a maintenance code 0xC1, requiring the product to return to the compensation parameter calibration process for recalibration.
硬件资源监控要求:驱动参数锁定期间系统资源占用率30%,其中脉宽调制发生器占15%,监测电路占10%,补偿单元占5%。在输入电压180V~240V范围内,动态调整功能单次操作消耗能量2.5mJ。散热设计满足最严酷工况:90%负载持续降额操作时,金属氧化物半导体场效应晶体管结温<110℃。Hardware resource monitoring requirements: During drive parameter locking, system resource utilization must be 30%, including 15% for the pulse width modulation generator, 10% for the monitoring circuit, and 5% for the compensation unit. Within the input voltage range of 180V to 240V, the dynamic adjustment function consumes 2.5mJ of energy per operation. The thermal design meets the harshest operating conditions: Under continuous derating at 90% load, the MOSFET junction temperature must be <110°C.
本实施例将人眼视网膜的明暗适应特性动态建模为可编程时间参数,并设计双通道视觉感知路径分别处理增益与积分效应;在控制策略层面,将功率降额过程转化为等效频率优化问题,通过感知敏感度等效频率的闭环迭代机制实时约束功率调整轨迹,实现人眼无法感知的光输出过渡;在系统集成层面,设置动态视觉适应特性参数集作为跨域控制中枢,使光源响应特性与电源功率调整产生协同耦合效应。具体到执行环节,基于序列极值位置的状态判定方法克服了单纯幅度判据的滞后性;将生理敏感频率阈值转换为降额速率实时优化准则,突破传统过温保护对温度阈值的路径依赖;在功率执行阶段首创梯度追踪补偿架构,解决变速率降额过程的稳定性控制难题。这种融合视觉生理学模型、自适应频率优化与功率闭环控制的跨域协同机制,在确保热安全目标的同时消除频闪感知。This embodiment dynamically models the light-dark adaptation characteristics of the human retina as programmable time parameters and designs a dual-channel visual perception path to separately address gain and integral effects. At the control strategy level, the power derating process is transformed into an equivalent frequency optimization problem. A closed-loop iterative mechanism based on the perceived sensitivity equivalent frequency constrains the power adjustment trajectory in real time, achieving light output transitions that are imperceptible to the human eye. At the system integration level, a dynamic visual adaptation characteristic parameter set serves as the cross-domain control hub, enabling a synergistic coupling effect between the light source response characteristics and the power supply adjustment. Specifically, in the execution phase, a state determination method based on sequence extreme value positions overcomes the lag inherent in the amplitude criterion alone. The physiological sensitivity frequency threshold is converted into a real-time optimization criterion for the derating rate, breaking through the path dependency of traditional over-temperature protection on the temperature threshold. In the power execution phase, a gradient tracking compensation architecture is pioneered to address the stability control challenges of the variable-rate derating process. This cross-domain collaborative mechanism, integrating visual physiological models, adaptive frequency optimization, and closed-loop power control, eliminates flicker perception while ensuring thermal safety.
实施例2:图2给出了本发明具有过温保护功能的LED电源安全控制系统的结构示意图,具有过温保护功能的LED电源安全控制系统,包括以下模块:Embodiment 2: FIG2 shows a schematic diagram of the structure of an LED power supply safety control system with an over-temperature protection function according to the present invention. The LED power supply safety control system with an over-temperature protection function includes the following modules:
参数获取模块,用于实时监测LED电源关键部位的温度值,当温度值超过设定保护阈值时,获取预存的光通量响应延迟时间常数和人眼视觉敏感频率下限值;The parameter acquisition module is used to monitor the temperature of key parts of the LED power supply in real time. When the temperature exceeds the set protection threshold, it obtains the pre-stored luminous flux response delay time constant and the lower limit of the human eye's visual sensitivity frequency;
分量计算模块,用于根据光通量响应延迟时间常数计算当前初始降额速率对应的光波动频率分量;A component calculation module, configured to calculate the light fluctuation frequency component corresponding to the current initial derating rate according to a light flux response delay time constant;
适应分析模块,用于检测环境光源强度变化趋势,基于环境光源强度变化趋势分析动态视觉适应特性;Adaptation analysis module, used to detect the changing trend of ambient light intensity and analyze dynamic visual adaptation characteristics based on the changing trend of ambient light intensity;
感知修正模块,用于根据动态视觉适应特性对光波动频率分量进行感知敏感度修正,生成感知敏感度等效频率;A perception correction module, configured to correct the perception sensitivity of the light fluctuation frequency component according to the dynamic visual adaptation characteristics and generate a perception sensitivity equivalent frequency;
速率优化模块,用于当感知敏感度等效频率低于人眼视觉敏感频率下限值时,提高初始降额速率直至新产生的感知敏感度等效频率不低于人眼视觉敏感频率下限值,得到优化降额速率;A rate optimization module is used to increase the initial derating rate when the perceptual sensitivity equivalent frequency is lower than the lower limit of the human eye's visual sensitivity frequency until the newly generated perceptual sensitivity equivalent frequency is not lower than the lower limit of the human eye's visual sensitivity frequency, thereby obtaining an optimized derating rate;
降额执行模块,用于按照优化降额速率执行输出功率降额操作。The derating execution module is used to execute the output power derating operation according to the optimized derating rate.
实施例中涉及的计算均是去量纲取其数值计算,计算中的预设参数以及阈值选取由本领域的技术人员根据实际情况进行设置。The calculations involved in the embodiments are all dimensionless numerical calculations, and the preset parameters and thresholds in the calculations are set by those skilled in the art according to actual conditions.
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。The above embodiments may be implemented in whole or in part through software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,能够以电子硬件,或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和发明约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application of the technical solution and the invention constraints. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
最后:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510803827.4ACN120343775B (en) | 2025-06-17 | 2025-06-17 | LED power supply safety control system and method with over-temperature protection function |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510803827.4ACN120343775B (en) | 2025-06-17 | 2025-06-17 | LED power supply safety control system and method with over-temperature protection function |
| Publication Number | Publication Date |
|---|---|
| CN120343775A CN120343775A (en) | 2025-07-18 |
| CN120343775Btrue CN120343775B (en) | 2025-08-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202510803827.4AActiveCN120343775B (en) | 2025-06-17 | 2025-06-17 | LED power supply safety control system and method with over-temperature protection function |
| Country | Link |
|---|---|
| CN (1) | CN120343775B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117641657A (en)* | 2023-11-29 | 2024-03-01 | 梁剑华 | Universal high-power-factor multifunctional dimming driving power supply method and device |
| CN120111739A (en)* | 2025-05-07 | 2025-06-06 | 深圳市朗胜光科技有限公司 | Intelligent lighting street lamp system and control method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101128979B (en)* | 2004-10-12 | 2011-10-19 | 皇家飞利浦电子股份有限公司 | High precision control apparatus and method for use with modulated light sources |
| EP2750477B1 (en)* | 2012-02-28 | 2015-06-17 | Dialog Semiconductor GmbH | Method and system for avoiding flicker for SSL devices |
| US9060408B2 (en)* | 2012-07-10 | 2015-06-16 | Dialog Semiconductor Inc. | Thermal de-rating power supply for LED loads |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117641657A (en)* | 2023-11-29 | 2024-03-01 | 梁剑华 | Universal high-power-factor multifunctional dimming driving power supply method and device |
| CN120111739A (en)* | 2025-05-07 | 2025-06-06 | 深圳市朗胜光科技有限公司 | Intelligent lighting street lamp system and control method thereof |
| Publication number | Publication date |
|---|---|
| CN120343775A (en) | 2025-07-18 |
| Publication | Publication Date | Title |
|---|---|---|
| CN111103851B (en) | System and method for anomaly characterization based on joint history and time series analysis | |
| US20030158697A1 (en) | Method and system for monitoring and profiling an integrated circuit die temperature | |
| CN109425801B (en) | Managing determination of transfer function of measurement sensor | |
| CN105849517B (en) | Digital temperature sensor with integrated timer and burst mode | |
| US10914769B2 (en) | Semiconductor device and power monitoring method therefor | |
| CN109425846B (en) | Device, method and system for managing the determination of the transfer function of a measurement sensor | |
| KR970707485A (en) | DIGITAL TRIMMING OF ON-CHIP ANALOG COMPONENTS | |
| DE112005003294T5 (en) | Apparatus and method for on-the-temperature measurement | |
| CN108463175A (en) | Dementia symptom detecting system and program | |
| EP3450997B1 (en) | Managing the determination of a transfer function of a measurement sensor | |
| WO2014012367A1 (en) | Online monitoring method and system for power source life and power source | |
| CN120343775B (en) | LED power supply safety control system and method with over-temperature protection function | |
| US7076159B2 (en) | Method and apparatus for generating accurate fan tachometer readings | |
| CN118765004A (en) | A maximum power control method for LED lamps | |
| CN109613426A (en) | A method for diagnosing aging of plum-blossom contacts of high-voltage circuit breakers | |
| US20200056946A1 (en) | Thermal detection system and method | |
| CN206533028U (en) | A kind of laser firm power numerical control system | |
| CA3094573A1 (en) | Systems and methods for removing low frequency offset components from a digital data stream | |
| US20080224714A1 (en) | System and Method of Integrated Circuit Control for in Situ Impedance Measurement | |
| CN111044100A (en) | Sensor device for electric power metering and control method | |
| TW202044032A (en) | Electronic device, signal verification device, and method for verifying signals | |
| KR102694392B1 (en) | Protection relay device | |
| WO2017172181A1 (en) | Automatic power reduction in photoplethysmography and pulse oximetry systems | |
| TWI703965B (en) | Unilateral chewing monitoring apparatus and method thereof | |
| CN107049326B (en) | Unilateral chewing monitoring device and its method |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |