CN118151714B - Charging and discharging digital-analog mixed voltage compensation method - Google Patents
Charging and discharging digital-analog mixed voltage compensation method Download PDFInfo
- Publication number
- CN118151714B CN118151714B CN202410207258.2A CN202410207258A CN118151714B CN 118151714 B CN118151714 B CN 118151714B CN 202410207258 A CN202410207258 A CN 202410207258A CN 118151714 B CN118151714 B CN 118151714B
- Authority
- CN
- China
- Prior art keywords
- voltage
- digital
- output
- circuit
- real
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000007599 discharging Methods 0.000 title claims abstract description 18
- 238000012544 monitoring process Methods 0.000 claims abstract description 15
- 230000008859 change Effects 0.000 claims abstract description 11
- 230000015654 memory Effects 0.000 claims description 24
- 230000009471 action Effects 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 10
- 238000013461 design Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 8
- 238000009825 accumulation Methods 0.000 claims description 7
- 230000003044 adaptive effect Effects 0.000 claims description 7
- 230000007423 decrease Effects 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 5
- 238000005259 measurement Methods 0.000 claims description 4
- HEZMWWAKWCSUCB-PHDIDXHHSA-N (3R,4R)-3,4-dihydroxycyclohexa-1,5-diene-1-carboxylic acid Chemical compound O[C@@H]1C=CC(C(O)=O)=C[C@H]1O HEZMWWAKWCSUCB-PHDIDXHHSA-N 0.000 claims description 3
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000003213 activating effect Effects 0.000 claims description 3
- 150000001875 compounds Chemical class 0.000 claims description 3
- 238000011217 control strategy Methods 0.000 claims description 3
- 230000003449 preventive effect Effects 0.000 claims description 3
- 230000008844 regulatory mechanism Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000033228 biological regulation Effects 0.000 abstract description 8
- 230000001186 cumulative effect Effects 0.000 abstract description 3
- 230000009467 reduction Effects 0.000 abstract description 3
- 230000007613 environmental effect Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 230000003321 amplification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000006386 memory function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05F—SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G05F1/00—Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
- G05F1/10—Regulating voltage or current
- G05F1/46—Regulating voltage or current wherein the variable actually regulated by the final control device is DC
- G05F1/56—Regulating voltage or current wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices
- G05F1/565—Regulating voltage or current wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices sensing a condition of the system or its load in addition to means responsive to deviations in the output of the system, e.g. current, voltage, power factor
- G05F1/567—Regulating voltage or current wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices sensing a condition of the system or its load in addition to means responsive to deviations in the output of the system, e.g. current, voltage, power factor for temperature compensation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Dc-Dc Converters (AREA)
- Control Of Voltage And Current In General (AREA)
Abstract
本发明提供一种充放电数模混合电压补偿方法,包括以下步骤:目标电压设置;实时电压监测;电压比较;开关控制;阈值区域分配;嵌套累加补偿;数字逻辑操作;电压调节执行。本发明通过在芯片内部存储目标输出电压,检测实时电压,设置多个单向开关,采用片上分梯度线性补偿或减少模式,自主调节电压输出电路的电压输出,保持输出电压的稳定和精确,实现电压输出电路的稳定;不受温度等环境参数影响,通过有限的逻辑直接控制多个开关充放电,能够控制电压稳定输出,即使在外部条件变化情况下,仍能够自适应地应用于对电压稳定性要求极高的各种电子系统和集成电路,提高了数模混合电压输出电路的效率和稳定性,实现更加高效快捷的电压输出调节。
The present invention provides a charge and discharge digital-analog hybrid voltage compensation method, comprising the following steps: target voltage setting; real-time voltage monitoring; voltage comparison; switch control; threshold region allocation; nested cumulative compensation; digital logic operation; voltage regulation execution. The present invention stores the target output voltage inside the chip, detects the real-time voltage, sets multiple unidirectional switches, and adopts an on-chip gradient linear compensation or reduction mode to autonomously adjust the voltage output of the voltage output circuit, maintain the stability and accuracy of the output voltage, and achieve the stability of the voltage output circuit; it is not affected by environmental parameters such as temperature, and directly controls the charging and discharging of multiple switches through limited logic, and can control the stable output of the voltage. Even when the external conditions change, it can still be adaptively applied to various electronic systems and integrated circuits with extremely high requirements for voltage stability, thereby improving the efficiency and stability of the digital-analog hybrid voltage output circuit and achieving more efficient and fast voltage output regulation.
Description
技术领域Technical Field
本发明涉及电压输出调节技术领域,具体而言,涉及一种充放电数模混合电压补偿方法。The present invention relates to the technical field of voltage output regulation, and in particular to a charging and discharging digital-analog hybrid voltage compensation method.
背景技术Background Art
在电压输出电路中通常使用温度补偿电阻,用以补偿周边温度值漂移大的敏感元件受温度而引起的误差,进而稳定电压输出端的电压,提高输出电压的精确度。在热电阻温度测量系统中,热电阻接入信号采集模块,由模拟数字转换器把微小信号转换成数字信号,并计算为温度值,最后将此温度值传送到控制器,进而调整温度补偿电阻以修正输出电压。Temperature compensation resistors are usually used in voltage output circuits to compensate for the temperature errors caused by sensitive components with large peripheral temperature drift, thereby stabilizing the voltage at the voltage output end and improving the accuracy of the output voltage. In the thermal resistor temperature measurement system, the thermal resistor is connected to the signal acquisition module, and the analog-to-digital converter converts the tiny signal into a digital signal and calculates it as a temperature value. Finally, this temperature value is transmitted to the controller, and the temperature compensation resistor is adjusted to correct the output voltage.
然而,现有技术的通过调控温度补偿电阻实现稳压的方式存在以下缺点问题:However, the existing method of achieving voltage stabilization by adjusting the temperature compensation resistor has the following disadvantages:
1、温度感应和补偿机制不能即时响应快速的温度变化,响应时间较长,会导致短时的输出不稳定。1. The temperature sensing and compensation mechanism cannot respond to rapid temperature changes immediately, and the response time is long, which will cause short-term output instability.
2、温度补偿电路设计时通常有一个预定的操作温度范围,超出这个范围,温度补偿性能无法得到保证,补偿范围很有限。2. When designing a temperature compensation circuit, there is usually a predetermined operating temperature range. Beyond this range, the temperature compensation performance cannot be guaranteed and the compensation range is very limited.
3、电子元件包括温度补偿电阻本身,随着使用时间的增加,会经历参数漂移或老化,降低了补偿的准确性。3. Electronic components, including temperature compensation resistors themselves, will experience parameter drift or aging as the use time increases, reducing the accuracy of compensation.
4、温度补偿电阻需要定期校准,以使温度补偿保持准确,电阻校准要求增加了维护的工作量和成本。4. Temperature compensation resistors need to be calibrated regularly to keep temperature compensation accurate. The resistor calibration requirement increases the maintenance workload and cost.
发明内容Summary of the invention
鉴于此,本发明的目的在于提出一种自适应的充放电数模混合电压补偿方法,通过在芯片内部存储目标输出电压以及检测实时电压的性能,并设置有多个单向开关,采用片上分梯度线性补偿或减少模式,自主调节电压输出电路的电压输出,保持输出电压的稳定和精确,实现电压输出电路的稳定,提高数模混合电压输出电路的效率和稳定性,将该方法应用于对电压稳定性要求极高的各种电子系统和集成电路,实现更加高效快捷的电压输出调节。In view of this, the purpose of the present invention is to propose an adaptive charging and discharging digital-analog hybrid voltage compensation method, which stores the target output voltage and detects the real-time voltage performance inside the chip, and is provided with multiple unidirectional switches, adopts on-chip gradient linear compensation or reduction mode, and autonomously adjusts the voltage output of the voltage output circuit to maintain the stability and accuracy of the output voltage, achieves the stability of the voltage output circuit, improves the efficiency and stability of the digital-analog hybrid voltage output circuit, and applies this method to various electronic systems and integrated circuits with extremely high requirements for voltage stability, so as to achieve more efficient and quick voltage output regulation.
本发明提供一种充放电数模混合电压补偿方法,适用于DCDC电源芯片,包括以下步骤:The present invention provides a charge-discharge digital-analog hybrid voltage compensation method, which is applicable to a DCDC power chip and includes the following steps:
S1、在芯片内设置存储单元,在所述存储单元中存储预设的目标电压的数字输出值,将所述目标电压的数字输出值作为电压输出电路维持的理想电压水平;S1. Setting a storage unit in the chip, storing a preset digital output value of a target voltage in the storage unit, and using the digital output value of the target voltage as an ideal voltage level maintained by a voltage output circuit;
S2、实时监测电压输出电路的输出端电压,并将所述输出端电压通过模拟-数字转换器ADC转换为数字信号,得到实时数字输出电压;S2, monitoring the output voltage of the voltage output circuit in real time, and converting the output voltage into a digital signal through an analog-to-digital converter ADC to obtain a real-time digital output voltage;
S3、将所述实时数字输出电压与所述目标电压的数字输出值进行比较;根据预设的阈值区域,判断实时数字输出电压(实际电压)是高于、低于还是处于目标电压的允许范围内;S3, comparing the real-time digital output voltage with the digital output value of the target voltage; judging whether the real-time digital output voltage (actual voltage) is higher than, lower than or within the allowable range of the target voltage according to a preset threshold region;
S4、根据S3步骤的电压比较结果,确定需采取的充放电策略,进行开关控制;所述充放电策略包括:如果实时数字输出电压(实际电压)低于目标电压,则启动一组或多组单向充电开关,将电压提升至目标电压;S4. Determine the charge and discharge strategy to be adopted and perform switch control according to the voltage comparison result of step S3; the charge and discharge strategy includes: if the real-time digital output voltage (actual voltage) is lower than the target voltage, start one or more groups of unidirectional charging switches to increase the voltage to the target voltage;
如果实时数字输出电压(实际电压)高于目标电压,则启动一组或多组单向放电开关,以将电压降低至目标电压;If the real-time digital output voltage (actual voltage) is higher than the target voltage, one or more sets of unidirectional discharge switches are activated to reduce the voltage to the target voltage;
S5、设定阈值区域,根据阈值区域将操作范围分配为不同的操作区域,确定实时数字输出电压(实际电压)所在的阈值区域,选择相应的充放电开关组进行操作;S5, setting the threshold region, allocating the operating range into different operating regions according to the threshold region, determining the threshold region where the real-time digital output voltage (actual voltage) is located, and selecting the corresponding charge and discharge switch group for operation;
S6、采用嵌套累加方式控制充放电开关组的多套单向充放电开关,在不同的级别和精度上进行电压调整,更细腻地控制电压的增减;S6, using nested accumulation to control multiple sets of unidirectional charge and discharge switches of the charge and discharge switch group, adjusting the voltage at different levels and precisions, and controlling the increase and decrease of the voltage more delicately;
S7、利用数字逻辑电路的匹配属性快速确定充放电开关组对应的充放电开关状态,包括以下步骤:S7, using the matching property of the digital logic circuit to quickly determine the charge and discharge switch state corresponding to the charge and discharge switch group, including the following steps:
S71、使用微控制器、逻辑门数字电路产生数字信号;这些信号通常是二进制的,可以处于高电平(逻辑“1”)或低电平(逻辑“0”);S71. Use microcontrollers and logic gate digital circuits to generate digital signals; these signals are usually binary and can be high (logic "1") or low (logic "0");
S72、设计数字逻辑电路执行特定的逻辑操作,所述逻辑操作包括:基本的AND、OR、NOT逻辑、更复杂的NAND、NOR、XOR逻辑以及复合逻辑;S72, designing a digital logic circuit to perform a specific logic operation, wherein the logic operation includes: basic AND, OR, NOT logic, more complex NAND, NOR, XOR logic, and compound logic;
S73、将数字逻辑电路与开关电路(如晶体管、继电器、固态继电器等)进行集成;由所述数字逻辑电路产生的信号控制所述开关电路的开关状态(开或关);S73, integrating a digital logic circuit with a switch circuit (such as a transistor, a relay, a solid-state relay, etc.); a signal generated by the digital logic circuit controls the switch state (on or off) of the switch circuit;
S74、对于需要电压控制的应用(如电池充放电或电源管理),设计相应的逻辑电路决定何时和如何切换电压线路或调节电压水平,并保证逻辑电路的逻辑状态与实际开关状态保持同步。例如,逻辑"1"表示开关闭合,而逻辑"0"表示开关断开。S74. For applications that require voltage control (such as battery charging and discharging or power management), design corresponding logic circuits to determine when and how to switch voltage lines or adjust voltage levels, and ensure that the logic state of the logic circuit is synchronized with the actual switch state. For example, logic "1" means the switch is closed, while logic "0" means the switch is open.
充放电开关组包括诸如译码器、多路选择器等组件,以简化开关控制逻辑。数字逻辑操作与开关电路相结合的方案通常涉及到使用数字信号来控制电源或其他电气系统中开关的状态。该方案可用于多种应用,从基本的开关控制到更复杂的电压调节和电源管理系统。The charge and discharge switch group includes components such as decoders and multiplexers to simplify the switch control logic. The scheme of combining digital logic operations with switching circuits usually involves using digital signals to control the state of switches in power supplies or other electrical systems. This scheme can be used in a variety of applications, from basic switch control to more complex voltage regulation and power management systems.
数字电路或数字集成电路是由许多的逻辑门组成的复杂电路。与模拟电路相比,它主要进行数字信号的处理(即信号以0与1两个状态表示),因此抗干扰能力较强。数字集成电路有各种门电路、触发器以及由它们构成的各种组合逻辑电路和时序逻辑电路。一个数字系统一般由控制部件和运算部件组成,在时脉的驱动下,控制部件控制运算部件完成所要执行的动作。通过模拟数字转换器、数字模拟转换器,数字电路可以和模拟电路互相连接。A digital circuit or digital integrated circuit is a complex circuit composed of many logic gates. Compared with analog circuits, it mainly processes digital signals (that is, the signal is represented by two states, 0 and 1), so it has a stronger anti-interference ability. Digital integrated circuits have various gate circuits, triggers, and various combinational logic circuits and sequential logic circuits composed of them. A digital system is generally composed of a control component and an operation component. Driven by a clock pulse, the control component controls the operation component to complete the action to be performed. Through analog-to-digital converters and digital-to-analog converters, digital circuits can be connected to analog circuits.
组合逻辑电路简称组合电路,它由最基本的逻辑门电路组合而成。特点是:输出值只与当时的输入值有关,即输出惟一地由当时的输入值决定。电路没有记忆功能,输出状态随着输入状态的变化而变化,类似于电阻性电路,如加法器、译码器、编码器、数据选择器等都属于此类。Combinational logic circuit is abbreviated as combinational circuit. It is composed of the most basic logic gate circuits. The characteristics are: the output value is only related to the input value at that time, that is, the output is determined solely by the input value at that time. The circuit has no memory function, and the output state changes with the input state, similar to the resistive circuit, such as adders, decoders, encoders, data selectors, etc.
时序逻辑电路简称时序电路,它是由最基本的逻辑门电路加上反馈逻辑回路(输出到输入)或器件组合而成的电路,与组合电路最本质的区别在于时序电路具有记忆功能。时序电路的特点是:输出不仅取决于当时的输入值,而且还与电路过去的状态有关。它类似于含储能元件的电感或电容的电路,如触发器、锁存器、计数器、移位寄存器、储存器等电路都是时序电路的典型器件。Sequential logic circuit is abbreviated as sequential circuit. It is a circuit composed of the most basic logic gate circuit plus feedback logic loop (output to input) or device combination. The most essential difference from the combinational circuit is that the sequential circuit has a memory function. The characteristics of the sequential circuit are: the output depends not only on the input value at that time, but also on the past state of the circuit. It is similar to the circuit of inductance or capacitance containing energy storage elements, such as triggers, latches, counters, shift registers, storage devices and other circuits are typical devices of sequential circuits.
数字电路按电路有无集成元器件来分,可分为分立元件数字电路和集成数字电路。按集成电路的集成度进行分类,可分为小规模集成数字电路(SSI)、中规模集成数字电路(MSI)、大规模集成数字电路(LSI)和超大规模集成数字电路(VLSI)。按构成电路的半导体器件来分类,可分为双极型数字电路和单极型数字电路。Digital circuits can be divided into discrete digital circuits and integrated digital circuits according to whether the circuits have integrated components. According to the integration level of integrated circuits, they can be divided into small-scale integrated digital circuits (SSI), medium-scale integrated digital circuits (MSI), large-scale integrated digital circuits (LSI) and very large-scale integrated digital circuits (VLSI). According to the semiconductor devices that make up the circuits, they can be divided into bipolar digital circuits and unipolar digital circuits.
S8、基于控制算法激活执行元件,执行充电或放电操作,根据需求动态调整电压;经过充电或放电调整后,继续监测输出电压,如果调整后的电压仍未达到目标电压或出现新的偏差,则重复S3-S8步骤的比较和调整过程,直到输出电压稳定在目标电压水平。S8. Based on the control algorithm, the actuator is activated to perform charging or discharging operations and the voltage is dynamically adjusted according to demand. After the charging or discharging adjustment, the output voltage continues to be monitored. If the adjusted voltage still does not reach the target voltage or a new deviation occurs, the comparison and adjustment process of steps S3-S8 is repeated until the output voltage stabilizes at the target voltage level.
进一步地,所述S1步骤的在所述存储单元中存储预设的目标电压的数字输出值的方法包括以下步骤:Further, the method of storing the digital output value of the preset target voltage in the storage unit in step S1 comprises the following steps:
S11、根据电路设计要求和应用场景,确定保证芯片和系统电路正常工作的理想的输出电压值;该输出电压值使得电路保持稳定。S11. According to the circuit design requirements and application scenarios, determine the ideal output voltage value to ensure the normal operation of the chip and system circuit; the output voltage value keeps the circuit stable.
S12、通过查找表、算法或预先设定的转换方式,将确定的所述输出电压值转换为数字表示的目标电压的数字值,以便与数字电路兼容;S12, converting the determined output voltage value into a digital value of a target voltage represented by a digital representation through a lookup table, an algorithm or a preset conversion method, so as to be compatible with a digital circuit;
S13、将所述目标电压的数字值存储在芯片内的非易失性存储单元中,如只读存储器(ROM)、可编程只读存储器(PROM)、闪存或其他类型的存储器,所述目标电压的数字值在上电或复位后被加载到一个可快速访问的寄存器或存储单元中以供实时比较。S13. The digital value of the target voltage is stored in a non-volatile storage unit within the chip, such as a read-only memory (ROM), a programmable read-only memory (PROM), a flash memory or other types of memory. The digital value of the target voltage is loaded into a quickly accessible register or storage unit after power-on or reset for real-time comparison.
进一步地,所述S2步骤的实时监测电压输出电路的输出端电压的方法包括以下步骤:Furthermore, the method for real-time monitoring of the output terminal voltage of the voltage output circuit in step S2 comprises the following steps:
S21、确定芯片和系统电路需监控的关键性能受电压变化影响较大的目标节点;例如,核心处理器的供电节点或是模拟接口电路。S21. Determine the target nodes of the chip and system circuits whose key performance needs to be monitored and are greatly affected by voltage changes; for example, the power supply nodes of the core processor or the analog interface circuits.
S22、配合使用模拟电压传感器与模拟-数字转换器ADC,检测所述目标节点的电压;这些传感器通常与模拟-数字转换器(ADC)配合使用,将模拟电压信号转换为数字信号,以便数字电路处理。S22. Use an analog voltage sensor in conjunction with an analog-to-digital converter (ADC) to detect the voltage of the target node; these sensors are usually used in conjunction with an analog-to-digital converter (ADC) to convert analog voltage signals into digital signals for processing by digital circuits.
模拟电路是用来对模拟信号进行传输、变换、处理、放大、测量和显示等工作的电路。模拟信号是指连续变化的电信号。模拟电路是电子电路的基础,它主要包括放大电路、信号运算和处理电路、振荡电路、调制和解调电路及电源等。Analog circuits are circuits used to transmit, transform, process, amplify, measure and display analog signals. Analog signals refer to continuously changing electrical signals. Analog circuits are the basis of electronic circuits, and they mainly include amplifier circuits, signal operation and processing circuits, oscillation circuits, modulation and demodulation circuits, and power supplies.
模拟电路的特点包括:函数的取值为无限多个。当图像信息改变时,信号的波形也改变,即模拟信号待传播的信息包含在它的波形之中(信息变化规律直接反映在模拟信号的幅度、频率和相位的变化上)。初级模拟电路主要解决两个大的方面:1、放大2、信号源。模拟信号具有连续性。The characteristics of analog circuits include: the function has an infinite number of values. When the image information changes, the waveform of the signal also changes, that is, the information to be transmitted by the analog signal is contained in its waveform (the law of information change is directly reflected in the change of the amplitude, frequency and phase of the analog signal). Primary analog circuits mainly solve two major aspects: 1. Amplification 2. Signal source. Analog signals have continuity.
模拟电路的功能包括:放大电路:用于信号的电压、电流或功率放大。滤波电路:用于信号的提取、变换或抗干扰。运算电路:完成信号的比例、加、减、乘、除、积分、微分、对数、指数等运算。信号转换电路:用于将电流信号转换成电压信号或将电压信号转换为电流信号、将直流信号转换为交流信号或将交流信号转换为直流信号、将直流电压转换成与之成正比的频率。信号发生电路:用于产生正弦波、矩形波、三角波、锯齿波。直流电源:将220V、50Hz交流电转换成不同输出电压和电流的直流电,作为各种电子线路的供电电源。The functions of analog circuits include: Amplifier circuit: used for signal voltage, current or power amplification. Filter circuit: used for signal extraction, transformation or anti-interference. Arithmetic circuit: completes signal proportion, addition, subtraction, multiplication, division, integration, differentiation, logarithm, exponent and other operations. Signal conversion circuit: used to convert current signal into voltage signal or voltage signal into current signal, DC signal into AC signal or AC signal into DC signal, and DC voltage into a frequency proportional to it. Signal generation circuit: used to generate sine wave, rectangular wave, triangle wave, sawtooth wave. DC power supply: converts 220V, 50Hz AC into DC with different output voltage and current as power supply for various electronic circuits.
S23、设定模拟-数字转换器ADC的对于测量电压的采样频率;采样频率应当足够高,以便捕获电压的快速变化,但也不能过高以避免造成不必要的功耗。ADC的分辨率决定了能检测到的最小电压变化量。分辨率越高,系统电路对电压的监控就越精细,但这也意味着更高的成本和功耗。S23. Set the sampling frequency of the analog-to-digital converter ADC for measuring voltage; the sampling frequency should be high enough to capture rapid changes in voltage, but not too high to avoid unnecessary power consumption. The resolution of the ADC determines the minimum voltage change that can be detected. The higher the resolution, the more precise the system circuit can monitor the voltage, but this also means higher cost and power consumption.
S24、在模拟-数字转换器ADC之前设置滤波器和放大器电路以调节电压信号,保证电压信号质量,如减少噪声和抑制干扰,保证监测数据的准确性。S24. A filter and an amplifier circuit are set before the analog-to-digital converter ADC to adjust the voltage signal and ensure the quality of the voltage signal, such as reducing noise and suppressing interference, to ensure the accuracy of the monitoring data.
实时监测是连续的,ADC持续不断地读取电压值;或者是基于特定触发条件的,例如在电压波动超过预定阈值时启动。Real-time monitoring can be continuous, with the ADC continuously reading voltage values; or it can be based on specific trigger conditions, such as starting when the voltage fluctuation exceeds a predetermined threshold.
进一步地,所述S3步骤的将所述实时数字输出电压与所述目标电压的数字输出值进行比较的方法包括以下步骤:Further, the method of comparing the real-time digital output voltage with the digital output value of the target voltage in step S3 comprises the following steps:
S31、在硬件层面,由比较器Commemorator或由模拟-数字转换器ADC结合软件算法实现电压比较;比较器可提供简单的高/低输出,而ADC则提供更丰富的电压差异信息;S31. At the hardware level, voltage comparison is achieved by a comparator or an analog-to-digital converter (ADC) combined with a software algorithm. The comparator can provide a simple high/low output, while the ADC provides richer voltage difference information.
S32、设定参考电压值,在使用比较器时将所述参考电压值直接作为其中一个输入;在使用ADC时将所述参考电压值用于后续的数字比较;这个参考电压值通常来源于目标电压设置。S32, setting a reference voltage value, using the reference voltage value directly as one of the inputs when using a comparator; using the reference voltage value for subsequent digital comparison when using an ADC; this reference voltage value is usually derived from a target voltage setting.
S33、通过ADC或直接测量得到系统电路当前的目标节点的实时电压值;S33, obtaining the real-time voltage value of the current target node of the system circuit through ADC or direct measurement;
S34、由比较器自动执行比较操作,如果实时电压高于参考电压,则比较器输出一个逻辑高信号;如果实时电压低于参考电压,则输出逻辑低信号;对于数字系统来说,比较操作可能是一个软件算法,将ADC读数与存储在寄存器中的目标电压值进行比较;S34, the comparator automatically performs a comparison operation, and if the real-time voltage is higher than the reference voltage, the comparator outputs a logic high signal; if the real-time voltage is lower than the reference voltage, the comparator outputs a logic low signal; for a digital system, the comparison operation may be a software algorithm that compares the ADC reading with the target voltage value stored in the register;
S35、设定实时数字输出电压与目标电压之间的偏差的阈值或容忍范围,对于电压因负载变化、温度波动引起的自然波动,确定电压偏差何时超出正常范围;S35, setting a threshold or tolerance range for the deviation between the real-time digital output voltage and the target voltage, and determining when the voltage deviation exceeds a normal range for natural fluctuations of the voltage due to load changes and temperature fluctuations;
S36、当监测到实时数字输出电压与目标电压之间的偏差超出阈值时,系统电路采取包括调整电源供应器的输出,或激活相关的保护机制的相应措施;S36, when it is monitored that the deviation between the real-time digital output voltage and the target voltage exceeds a threshold, the system circuit takes corresponding measures including adjusting the output of the power supply or activating a related protection mechanism;
S37、引入滞后机制,只有当电压持续超出阈值一段时间后,才触发调整,防止频繁地开关和调整造成的抖动现象;S37, introduce a hysteresis mechanism, which triggers adjustment only when the voltage exceeds the threshold for a period of time, to prevent jitter caused by frequent switching and adjustment;
S38、将电压比较的结果用作反馈信号的电压或数字信号,将所述反馈信号用于指导在闭环控制系统中的电压调整机制的行动。S38. Use the result of the voltage comparison as a voltage or digital signal of a feedback signal, and use the feedback signal to guide the action of a voltage regulation mechanism in a closed-loop control system.
进一步地,所述S4步骤的开关控制的方法包括以下步骤:Furthermore, the switch control method of step S4 comprises the following steps:
S41、确定开关控制的目标和要求,包括:开关速度、响应时间、效率和可靠性,根据这些目标和要求设计控制策略,保证在电压异常时能够迅速且准确地反应;S41. Determine the objectives and requirements of switch control, including switching speed, response time, efficiency and reliability, and design control strategies based on these objectives and requirements to ensure rapid and accurate response when voltage is abnormal;
S42、根据所需控制的电压和电流级别以及开关频率,选择适用的开关器件;常用的开关器件包括晶体管(如BJT、MOSFET、IGBT)、继电器、固态继电器(SSR)和晶闸管(SCR)。S42. Select the appropriate switching device according to the voltage and current levels to be controlled and the switching frequency; commonly used switching devices include transistors (such as BJT, MOSFET, IGBT), relays, solid-state relays (SSR) and thyristors (SCR).
S43、选择适配的驱动电路控制所述开关器件的开启和关闭;对于晶体管,需要提供适当的门极电压;对于继电器,需要足够的电流来激活线圈。S43, selecting an adaptive driving circuit to control the opening and closing of the switch device; for a transistor, an appropriate gate voltage needs to be provided; for a relay, sufficient current is required to activate the coil.
S44、采用脉冲宽度调制PWM的方法,通过调节开关器件的导通和关断时间比例,控制电压输出电路的输出电压;S44, using a pulse width modulation (PWM) method to control the output voltage of the voltage output circuit by adjusting the on-time and off-time ratio of the switching device;
在许多应用中,特别是电源转换器中,脉冲宽度调制(PWM)是控制输出电压的常见方法。In many applications, especially power converters, pulse width modulation (PWM) is a common method to control the output voltage.
S45、将实时监测的数字输出电压值通过反馈回路不断地与预设的目标电压的数字输出比较,实现闭环控制系统,并根据比较结果调整开关状态,维持所需电压水平。S45, the real-time monitored digital output voltage value is continuously compared with the preset digital output of the target voltage through a feedback loop to implement a closed-loop control system, and the switch state is adjusted according to the comparison result to maintain the required voltage level.
进一步地,所述S5步骤的设定阈值区域,根据阈值区域分配不同的操作区域的方法包括以下步骤:Furthermore, the method of setting the threshold area in step S5 and allocating different operation areas according to the threshold area includes the following steps:
S51、设定多个阈值来界定不同的操作区域;例如,对于电压,可以设置一个最小阈值和几个不同级别的最大阈值。S51. Set multiple thresholds to define different operating areas; for example, for voltage, a minimum threshold and several maximum thresholds of different levels may be set.
S52、根据所述多个阈值,将整个操作范围划分为多个操作区域;例如,可以有“正常操作区”,“警告区”,“危险区”等。S52. Divide the entire operating range into multiple operating areas according to the multiple thresholds; for example, there may be a "normal operating area", a "warning area", a "dangerous area", etc.
S53、为每个操作区域定义一套关联控制逻辑;在正常操作区内,系统电路按预期正常工作;在警告区内,系统电路发出警告信号并采取预防措施;在危险区内,系统电路强制执行保护动作。如断开电源或切换到备用系统。S53. Define a set of associated control logic for each operation area; in the normal operation area, the system circuit works normally as expected; in the warning area, the system circuit issues a warning signal and takes preventive measures; in the danger area, the system circuit enforces protection actions, such as disconnecting the power supply or switching to the backup system.
进一步地,所述S6步骤的采用嵌套累加方式控制充放电开关组的多套单向充放电开关的方法包括以下步骤:Furthermore, the method of controlling multiple sets of unidirectional charge and discharge switches of the charge and discharge switch group in a nested cumulative manner in step S6 includes the following steps:
S61、将电压输出电路的当前输出电压与预设的目标电压进行比较,识别存在的误差;S61, comparing the current output voltage of the voltage output circuit with a preset target voltage to identify any existing errors;
S62、将当前周期的误差累加到先前的累计误差上,作为积分过程,以助于消除稳态误差;S62, adding the error of the current cycle to the previous accumulated error as an integration process to help eliminate the steady-state error;
嵌套累加补偿通常涉及多个控制环。在主控制环之内,可能还有一个或多个次级控制环。每个控制环控制一个开关,同时每个次级控制环会根据它们的误差累加进行独立的调整。Nested summation compensation usually involves multiple control loops. Within the main control loop, there may be one or more secondary control loops. Each control loop controls a switch, and each secondary control loop is independently adjusted based on their error accumulation.
S63、动态补偿:根据累加的误差,动态调整控制信号以补偿这些误差。包括增加或减少电压、电流或其他必要的控制变量。S63, Dynamic Compensation: Dynamically adjust the control signal to compensate for the accumulated errors, including increasing or decreasing the voltage, current or other necessary control variables.
进一步地,所述S8步骤的根据需求动态调整电压的方法包括以下步骤:Furthermore, the method for dynamically adjusting voltage according to demand in step S8 comprises the following steps:
S81、采用比例-积分-微分PID控制算法之类的策略,确定输出电压的正确调节动作,使用所述正确调节动作改变输出电压,以纠正任何偏差;S81, using a strategy such as a proportional-integral-derivative PID control algorithm to determine a correct adjustment action for the output voltage, and using the correct adjustment action to change the output voltage to correct any deviation;
S82、根据控制算法的输出,激活执行元件,例如调节开关模式电源供应器(SMPS)、线性稳压器或功率晶体管等来调整输出电压;由所述执行元件根据需求增加或减少电压输出电路的能量输出,从而调整输出电压。例如,在SMPS中涉及更改开关频率或占空比。S82. According to the output of the control algorithm, an actuator is activated, such as a switch mode power supply (SMPS), a linear regulator or a power transistor, to adjust the output voltage; the actuator increases or decreases the energy output of the voltage output circuit according to the demand, thereby adjusting the output voltage. For example, in the SMPS, it involves changing the switching frequency or duty cycle.
通过S1-S8步骤的流程,芯片能够自主调节其电压输出,以保持稳定和精确,即使在外部条件变化的情况下。这种自适应的电压补偿方法可以用于各种电子系统和集成电路,特别是那些对电压稳定性要求极高的应用,比如温度补偿电路。Through the process of steps S1-S8, the chip can autonomously adjust its voltage output to remain stable and accurate even when external conditions change. This adaptive voltage compensation method can be used in various electronic systems and integrated circuits, especially those applications that require extremely high voltage stability, such as temperature compensation circuits.
温度补偿电路属于电子线路技术领域,包括电路中采用的稳压二极管,热敏电阻。温度补偿电路的连接关系中,在热敏电阻之后,通过一个可调电位器连接到运放电路,由该放大电路负端与电路输出端相连。该电路结构简单,准确可靠,可适用于对温度值漂移大的敏感元件进行温度补偿。The temperature compensation circuit belongs to the field of electronic circuit technology, including the voltage regulator diode and thermistor used in the circuit. In the connection relationship of the temperature compensation circuit, after the thermistor, it is connected to the operational amplifier circuit through an adjustable potentiometer, and the negative end of the amplifier circuit is connected to the output end of the circuit. The circuit has a simple structure, is accurate and reliable, and can be used for temperature compensation of sensitive components with large temperature value drift.
温度补偿就是让温度传感器的自由端的参考温度能做到更加的适当。大多数的温度传感器都需要温度补偿,常用的温度补偿方法有电桥补偿法。Temperature compensation is to make the reference temperature of the free end of the temperature sensor more appropriate. Most temperature sensors require temperature compensation, and the commonly used temperature compensation method is the bridge compensation method.
在一些电子产品中会用到一些正温度系数和负温度系数的电子元件,以电阻为例,正温度系数的电阻随温度升高,电阻值升高。负温度系数的电阻正好相反,随温度升高,电阻值降低。Some electronic products use some electronic components with positive temperature coefficients and negative temperature coefficients. For example, resistors with positive temperature coefficients increase with increasing temperature, while resistors with negative temperature coefficients have the opposite effect: their resistance decreases with increasing temperature.
应用中比如做一块传感器,如果单用一种温度系数的元件,误差相对会比较大,如果用正负温度系数的元件相结合,正好正负相平衡,误差相对会比较小。For example, in an application, if you make a sensor and only use a component with one temperature coefficient, the error will be relatively large. If you use a combination of components with positive and negative temperature coefficients, the positive and negative phases are balanced and the error will be relatively small.
本发明通过在片上设置存储单元,记录目标电压数字输出值;并设置电压测量单元,实时记录转化为实时数字输出电压;设置逻辑比较单元,对实时数字输出电压和目标电压数字输出值进行比对;设置多个阈值区域,设置多套单向充放电开关,充放电开关一侧接高电平,一侧接低电平,根据实时数字输出电压所处阈值区域进行分区域充放电补充所述多套单向充放电开关采取嵌套累加方式,采用多层嵌套方式与数字逻辑电路具备良好的匹配属性,即只需检测对应位高低即可得出。The present invention sets a storage unit on a chip to record the target voltage digital output value; sets a voltage measurement unit to record the conversion into the real-time digital output voltage in real time; sets a logic comparison unit to compare the real-time digital output voltage with the target voltage digital output value; sets multiple threshold regions, sets multiple sets of unidirectional charge and discharge switches, one side of the charge and discharge switch is connected to a high level, and the other side is connected to a low level, and the multiple sets of unidirectional charge and discharge switches are charged and discharged in different regions according to the threshold region where the real-time digital output voltage is located. The multiple sets of unidirectional charge and discharge switches are nested and accumulated, and the multi-layer nesting method is adopted to have good matching properties with the digital logic circuit, that is, the result can be obtained by simply detecting the high and low of the corresponding bits.
本发明还提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如上述所述的充放电数模混合电压补偿方法的步骤。The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the steps of the charge-discharge digital-analog hybrid voltage compensation method as described above are implemented.
本发明还提供一种计算机设备,所述计算机设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述所述的充放电数模混合电压补偿方法的步骤。The present invention also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the charging and discharging digital-analog hybrid voltage compensation method as described above are implemented.
与现有技术相比,本发明的有益效果在于:Compared with the prior art, the present invention has the following beneficial effects:
本发明提供的充放电电压补偿方法通过在芯片内部存储目标输出电压以及检测实时电压的性能,并设置有多个单向开关,采用片上分梯度线性补偿或减少模式,自主调节电压输出电路的电压输出,保持输出电压的稳定和精确,实现电压输出电路的稳定;相比传统的电压调节方案,本发明方案不受温度等环境参数影响,通过有限的逻辑直接控制多个开关充放电,能够控制电压稳定输出,即使在外部条件变化的情况下,该自适应的电压补偿方法仍能够应用于对电压稳定性要求极高的各种电子系统和集成电路,提高了数模混合电压输出电路的效率和稳定性,实现更加高效快捷的电压输出调节。The charge and discharge voltage compensation method provided by the present invention stores the target output voltage and detects the real-time voltage performance inside the chip, and is provided with multiple unidirectional switches, adopts on-chip gradient linear compensation or reduction mode, autonomously adjusts the voltage output of the voltage output circuit, maintains the stability and accuracy of the output voltage, and realizes the stability of the voltage output circuit; compared with the traditional voltage regulation scheme, the scheme of the present invention is not affected by environmental parameters such as temperature, directly controls the charging and discharging of multiple switches through limited logic, and can control the stable output of voltage; even when the external conditions change, the adaptive voltage compensation method can still be applied to various electronic systems and integrated circuits with extremely high requirements for voltage stability, improves the efficiency and stability of the digital-analog hybrid voltage output circuit, and realizes more efficient and fast voltage output regulation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the following detailed description of the preferred embodiment.The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting the invention.
在附图中:In the attached picture:
图1为本发明一种充放电数模混合电压补偿方法的流程图;FIG1 is a flow chart of a charge-discharge digital-analog hybrid voltage compensation method according to the present invention;
图2为本发明存储单元中存储预设的目标电压的数字输出值的方法流程图;FIG2 is a flow chart of a method for storing a digital output value of a preset target voltage in a storage unit of the present invention;
图3为本发明实时监测电压输出电路的输出端电压的方法流程图;3 is a flow chart of a method for real-time monitoring of the output voltage of a voltage output circuit according to the present invention;
图4为本发明将实时数字输出电压与所述目标电压的数字输出值进行比较的方法流程图;FIG4 is a flow chart of a method for comparing a real-time digital output voltage with a digital output value of a target voltage according to the present invention;
图5为本发明开关控制的方法流程图;FIG5 is a flow chart of a switch control method according to the present invention;
图6为本发明设定阈值区域,根据阈值区域分配不同的操作区域的方法流程图;FIG6 is a flow chart of a method for setting a threshold region and allocating different operation regions according to the threshold region according to the present invention;
图7为本发明采用嵌套累加方式控制充放电开关组的多套单向充放电开关的方法流程图;7 is a flow chart of a method for controlling multiple sets of unidirectional charge and discharge switches of a charge and discharge switch group by a nested accumulation method according to the present invention;
图8为本发明利用数字逻辑电路的匹配属性快速确定充放电开关组对应的充放电开关状态的方法流程图;8 is a flow chart of a method for quickly determining the charge and discharge switch states corresponding to a charge and discharge switch group by using the matching properties of a digital logic circuit according to the present invention;
图9为本发明根据需求动态调整电压的方法流程图;FIG9 is a flow chart of a method for dynamically adjusting voltage according to demand according to the present invention;
图10为本发明实施例的基本电路结构原理示意图;FIG10 is a schematic diagram of the basic circuit structure principle of an embodiment of the present invention;
图11为本发明实施例计算机设备的构成示意图。FIG. 11 is a schematic diagram showing the structure of a computer device according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和产品的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and products consistent with some aspects of the present disclosure as detailed in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms "a", "the" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and/or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
下面对本发明实施例作进一步详细说明。The embodiments of the present invention are described in further detail below.
本发明实施例提供一种充放电数模混合电压补偿方法,适用于DCDC电源芯片,参见图1所示,包括以下步骤:An embodiment of the present invention provides a charge-discharge digital-analog hybrid voltage compensation method, which is applicable to a DCDC power supply chip, as shown in FIG1 , and includes the following steps:
S1、在芯片内设置存储单元,在所述存储单元中存储预设的目标电压的数字输出值,将所述目标电压的数字输出值作为电压输出电路维持的理想电压水平;S1. Setting a storage unit in the chip, storing a preset digital output value of a target voltage in the storage unit, and using the digital output value of the target voltage as an ideal voltage level maintained by a voltage output circuit;
在所述存储单元中存储预设的目标电压的数字输出值的方法,参见图2所示,包括以下步骤:The method for storing the digital output value of the preset target voltage in the storage unit, as shown in FIG2, comprises the following steps:
S11、根据电路设计要求和应用场景,确定保证芯片和系统电路正常工作的理想的输出电压值;S11. Determine the ideal output voltage value to ensure normal operation of the chip and system circuit according to the circuit design requirements and application scenarios;
S12、通过查找表、算法或预先设定的转换方式,将确定的所述输出电压值转换为数字表示的目标电压的数字值,以便与数字电路兼容;S12, converting the determined output voltage value into a digital value of a target voltage represented by a digital representation through a lookup table, an algorithm or a preset conversion method, so as to be compatible with a digital circuit;
S13、将所述目标电压的数字值存储在芯片内的非易失性存储单元中,所述目标电压的数字值在上电或复位后被加载到一个可快速访问的寄存器或存储单元中以供实时比较。S13, storing the digital value of the target voltage in a non-volatile storage unit in the chip, and loading the digital value of the target voltage into a quickly accessible register or storage unit after power-on or reset for real-time comparison.
S2、实时监测电压输出电路的输出端电压,并将所述输出端电压通过模拟-数字转换器ADC转换为数字信号,得到实时数字输出电压;S2, monitoring the output voltage of the voltage output circuit in real time, and converting the output voltage into a digital signal through an analog-to-digital converter ADC to obtain a real-time digital output voltage;
所述实时监测电压输出电路的输出端电压的方法,参见图3所示,包括以下步骤:The method for real-time monitoring of the output terminal voltage of the voltage output circuit, as shown in FIG3 , comprises the following steps:
S21、确定芯片和系统电路需监控的关键性能受电压变化影响较大的目标节点;S21, determine the target nodes whose key performances of the chip and system circuits to be monitored are greatly affected by voltage changes;
S22、配合使用模拟电压传感器与模拟-数字转换器ADC,检测所述目标节点的电压;S22, using an analog voltage sensor in conjunction with an analog-to-digital converter ADC to detect the voltage of the target node;
S23、设定模拟-数字转换器ADC的对于测量电压的采样频率;S23, setting the sampling frequency of the analog-to-digital converter ADC for the measured voltage;
采样频率应当足够高,以便捕获电压的快速变化,但也不能过高以避免造成不必要的功耗。ADC的分辨率决定了能检测到的最小电压变化量。分辨率越高,系统电路对电压的监控就越精细,但这也意味着更高的成本和功耗。The sampling frequency should be high enough to capture fast changes in voltage, but not too high to avoid unnecessary power consumption. The resolution of the ADC determines the smallest voltage change that can be detected. The higher the resolution, the more precise the system circuit can monitor the voltage, but it also means higher cost and power consumption.
S24、在模拟-数字转换器ADC之前设置滤波器和放大器电路以调节电压信号,保证电压信号质量,保证监测数据的准确性。S24. A filter and an amplifier circuit are set before the analog-to-digital converter ADC to adjust the voltage signal, ensure the quality of the voltage signal, and ensure the accuracy of the monitoring data.
连续监测与触发监测:实时监测是连续的,ADC持续不断地读取电压值;或者是基于特定触发条件的,例如在电压波动超过预定阈值时启动。Continuous monitoring vs. triggered monitoring: Real-time monitoring is continuous, with the ADC continuously reading voltage values; or it can be based on specific trigger conditions, such as starting when the voltage fluctuation exceeds a predetermined threshold.
S3、将所述实时数字输出电压与所述目标电压的数字输出值进行比较;根据预设的阈值区域,判断实时数字输出电压(实际电压)是高于、低于还是处于目标电压的允许范围内;S3, comparing the real-time digital output voltage with the digital output value of the target voltage; judging whether the real-time digital output voltage (actual voltage) is higher than, lower than or within the allowable range of the target voltage according to a preset threshold region;
将所述实时数字输出电压与所述目标电压的数字输出值进行比较的方法,参见图4所示,包括以下步骤:The method for comparing the real-time digital output voltage with the digital output value of the target voltage, as shown in FIG4 , comprises the following steps:
S31、在硬件层面,由比较器Commemorator或由模拟-数字转换器ADC结合软件算法实现电压比较;S31, at the hardware level, the voltage comparison is implemented by a comparator or an analog-to-digital converter ADC combined with a software algorithm;
S32、设定参考电压值,在使用比较器时将所述参考电压值直接作为其中一个输入;在使用ADC时将所述参考电压值用于后续的数字比较;S32, setting a reference voltage value, and using the reference voltage value directly as one of the inputs when using a comparator; and using the reference voltage value for subsequent digital comparison when using an ADC;
本实施例中,所述参考电压值来源于目标电压设置。In this embodiment, the reference voltage value is derived from the target voltage setting.
S33、通过ADC或直接测量得到系统电路当前的目标节点的实时电压值;S33, obtaining the real-time voltage value of the current target node of the system circuit through ADC or direct measurement;
S34、由比较器自动执行比较操作,如果实时电压高于参考电压,则比较器输出一个逻辑高信号;如果实时电压低于参考电压,则输出逻辑低信号;S34, the comparator automatically performs a comparison operation, and if the real-time voltage is higher than the reference voltage, the comparator outputs a logic high signal; if the real-time voltage is lower than the reference voltage, the comparator outputs a logic low signal;
S35、设定实时数字输出电压与目标电压之间的偏差的阈值或容忍范围,对于电压因负载变化、温度波动引起的自然波动,确定电压偏差何时超出正常范围;S35, setting a threshold or tolerance range for the deviation between the real-time digital output voltage and the target voltage, and determining when the voltage deviation exceeds a normal range for natural fluctuations of the voltage due to load changes and temperature fluctuations;
S36、当监测到实时数字输出电压与目标电压之间的偏差超出阈值时,系统电路采取包括调整电源供应器的输出,或激活相关的保护机制的相应措施;S36, when it is monitored that the deviation between the real-time digital output voltage and the target voltage exceeds a threshold, the system circuit takes corresponding measures including adjusting the output of the power supply or activating a related protection mechanism;
S37、引入滞后机制,只有当电压持续超出阈值一段时间后,才触发调整,防止频繁地开关和调整造成的抖动现象;S37, introduce a hysteresis mechanism, which triggers adjustment only when the voltage exceeds the threshold for a period of time, to prevent jitter caused by frequent switching and adjustment;
S38、将电压比较的结果用作反馈信号的电压或数字信号,将所述反馈信号用于指导在闭环控制系统中的电压调整机制的行动。S38. Use the result of the voltage comparison as a voltage or digital signal of a feedback signal, and use the feedback signal to guide the action of a voltage regulation mechanism in a closed-loop control system.
S4、根据S3步骤的电压比较结果,确定需采取的充放电策略,进行开关控制;所述充放电策略包括:如果实时数字输出电压(实际电压)低于目标电压,则启动一组或多组单向充电开关,将电压提升至目标电压;S4. Determine the charge and discharge strategy to be adopted and perform switch control according to the voltage comparison result of step S3; the charge and discharge strategy includes: if the real-time digital output voltage (actual voltage) is lower than the target voltage, start one or more groups of unidirectional charging switches to increase the voltage to the target voltage;
如果实时数字输出电压(实际电压)高于目标电压,则启动一组或多组单向放电开关,以将电压降低至目标电压;If the real-time digital output voltage (actual voltage) is higher than the target voltage, one or more sets of unidirectional discharge switches are activated to reduce the voltage to the target voltage;
所述开关控制的方法,参见图5所示,包括以下步骤:The switch control method, as shown in FIG5 , comprises the following steps:
S41、确定开关控制的目标和要求,包括:开关速度、响应时间、效率和可靠性,根据这些目标和要求设计控制策略,保证在电压异常时能够迅速且准确地反应;S41. Determine the objectives and requirements of switch control, including switching speed, response time, efficiency and reliability, and design control strategies based on these objectives and requirements to ensure rapid and accurate response when voltage is abnormal;
S42、根据所需控制的电压和电流级别以及开关频率,选择适用的开关器件;S42, selecting an appropriate switching device according to the voltage and current levels and switching frequency to be controlled;
开关器件包括晶体管(如BJT、MOSFET、IGBT)、继电器、固态继电器(SSR)和晶闸管(SCR)。Switching devices include transistors (such as BJT, MOSFET, IGBT), relays, solid-state relays (SSR) and thyristors (SCR).
S43、选择适配的驱动电路控制所述开关器件的开启和关闭;S43, selecting an adaptive driving circuit to control the on and off of the switch device;
对于晶体管,需要提供适当的门极电压;对于继电器,需要足够的电流来激活线圈。For transistors, this requires providing the proper gate voltage; for relays, this requires sufficient current to activate the coil.
S44、采用脉冲宽度调制PWM的方法,通过调节开关器件的导通和关断时间比例,控制电压输出电路的输出电压;S44, using a pulse width modulation (PWM) method to control the output voltage of the voltage output circuit by adjusting the on-time and off-time ratio of the switching device;
S45、将实时监测的数字输出电压值通过反馈回路不断地与预设的目标电压的数字输出比较,实现闭环控制系统,并根据比较结果调整开关状态,维持所需电压水平。S45, the real-time monitored digital output voltage value is continuously compared with the preset digital output of the target voltage through a feedback loop to implement a closed-loop control system, and the switch state is adjusted according to the comparison result to maintain the required voltage level.
S5、设定阈值区域,根据阈值区域将操作范围分配为不同的操作区域,确定实时数字输出电压(实际电压)所在的阈值区域,选择相应的充放电开关组进行操作;S5, setting the threshold region, allocating the operating range into different operating regions according to the threshold region, determining the threshold region where the real-time digital output voltage (actual voltage) is located, and selecting the corresponding charge and discharge switch group for operation;
所述设定阈值区域,根据阈值区域分配不同的操作区域的方法,参见图6所示,包括以下步骤:The method of setting the threshold area and allocating different operation areas according to the threshold area, as shown in FIG6 , includes the following steps:
S51、设定多个阈值来界定不同的操作区域;S51, setting multiple thresholds to define different operation areas;
S52、根据所述多个阈值,将整个操作范围划分为多个操作区域;S52, dividing the entire operation range into multiple operation areas according to the multiple thresholds;
本实施例中操作区域包含“正常操作区”,“警告区”,“危险区”等。In this embodiment, the operating area includes a "normal operating area", a "warning area", a "danger area" and the like.
S53、为每个操作区域定义一套关联控制逻辑;在正常操作区内,系统电路按预期正常工作;在警告区内,系统电路发出警告信号并采取预防措施;在危险区内,系统电路强制执行保护动作。S53. Define a set of associated control logic for each operating area; in the normal operating area, the system circuit works normally as expected; in the warning area, the system circuit sends a warning signal and takes preventive measures; in the danger zone, the system circuit enforces protection actions.
S6、采用嵌套累加方式控制充放电开关组的多套单向充放电开关,在不同的级别和精度上进行电压调整,更细腻地控制电压的增减;S6, using nested accumulation to control multiple sets of unidirectional charge and discharge switches of the charge and discharge switch group, adjusting the voltage at different levels and precisions, and controlling the increase and decrease of the voltage more delicately;
所述采用嵌套累加方式控制充放电开关组的多套单向充放电开关的方法,参见图7所示,包括以下步骤:The method of controlling multiple sets of unidirectional charge and discharge switches of a charge and discharge switch group in a nested cumulative manner, as shown in FIG7 , comprises the following steps:
S61、将电压输出电路的当前输出电压与预设的目标电压进行比较,识别存在的误差;S61, comparing the current output voltage of the voltage output circuit with a preset target voltage to identify any existing errors;
S62、将当前周期的误差累加到先前的累计误差上,作为积分过程,以助于消除稳态误差;S62, adding the error of the current cycle to the previous accumulated error as an integration process to help eliminate the steady-state error;
嵌套累加补偿涉及多个控制环。在主控制环之内,可能还有一个或多个次级控制环。每个控制环控制一个开关,同时每个次级控制环会根据它们的误差累加进行独立的调整。Nested summation compensation involves multiple control loops. Within the main control loop, there may be one or more secondary control loops. Each control loop controls a switch, and each secondary control loop is independently adjusted based on their error accumulation.
S63、动态补偿:根据累加的误差,动态调整控制信号以补偿这些误差。S63, dynamic compensation: dynamically adjust the control signal based on the accumulated errors to compensate for these errors.
S7、利用数字逻辑电路的匹配属性快速确定充放电开关组对应的充放电开关状态,参见图8所示,包括以下步骤:S7, using the matching property of the digital logic circuit to quickly determine the charge and discharge switch state corresponding to the charge and discharge switch group, as shown in FIG8, including the following steps:
S71、使用微控制器、逻辑门数字电路产生数字信号;S71, Generate digital signals using microcontrollers and logic gate digital circuits;
S72、设计数字逻辑电路执行特定的逻辑操作,所述逻辑操作包括:基本的AND、OR、NOT逻辑、更复杂的NAND、NOR、XOR逻辑以及复合逻辑;S72, designing a digital logic circuit to perform a specific logic operation, wherein the logic operation includes: basic AND, OR, NOT logic, more complex NAND, NOR, XOR logic, and compound logic;
S73、将数字逻辑电路与开关电路进行集成;由所述数字逻辑电路产生的信号控制所述开关电路的开关状态;S73, integrating a digital logic circuit with a switch circuit; a signal generated by the digital logic circuit controls a switch state of the switch circuit;
S74、对于需要电压控制的应用,设计相应的逻辑电路决定何时和如何切换电压线路或调节电压水平,并保证逻辑电路的逻辑状态与实际开关状态保持同步。S74. For applications that require voltage control, design corresponding logic circuits to determine when and how to switch voltage lines or adjust voltage levels, and ensure that the logic state of the logic circuit is synchronized with the actual switching state.
本实施例中,逻辑"1"表示开关闭合,而逻辑"0"表示开关断开。In this embodiment, logic "1" indicates that the switch is closed, and logic "0" indicates that the switch is open.
充放电开关组包括诸如译码器、多路选择器等组件,以简化开关控制逻辑。数字逻辑操作与开关电路相结合的方案通常涉及到使用数字信号来控制电源或其他电气系统中开关的状态。该方案可用于多种应用,从基本的开关控制到更复杂的电压调节和电源管理系统。The charge and discharge switch group includes components such as decoders and multiplexers to simplify the switch control logic. The scheme of combining digital logic operations with switching circuits usually involves using digital signals to control the state of switches in power supplies or other electrical systems. This scheme can be used in a variety of applications, from basic switch control to more complex voltage regulation and power management systems.
S8、基于控制算法激活执行元件,执行充电或放电操作,根据需求动态调整电压;经过充电或放电调整后,继续监测输出电压,如果调整后的电压仍未达到目标电压或出现新的偏差,则重复S3-S8步骤的比较和调整过程,直到输出电压稳定在目标电压水平。S8. Based on the control algorithm, the actuator is activated to perform charging or discharging operations and the voltage is dynamically adjusted according to demand. After the charging or discharging adjustment, the output voltage continues to be monitored. If the adjusted voltage still does not reach the target voltage or a new deviation occurs, the comparison and adjustment process of steps S3-S8 is repeated until the output voltage stabilizes at the target voltage level.
所述根据需求动态调整电压的方法,参见图9所示,包括以下步骤:The method for dynamically adjusting voltage according to demand, as shown in FIG9 , includes the following steps:
S81、采用比例-积分-微分PID控制算法之类的策略,确定输出电压的正确调节动作,使用所述正确调节动作改变输出电压,以纠正任何偏差;S81, using a strategy such as a proportional-integral-derivative PID control algorithm to determine a correct adjustment action for the output voltage, and using the correct adjustment action to change the output voltage to correct any deviation;
S82、根据控制算法的输出,激活执行元件,由所述执行元件根据需求增加或减少电压输出电路的能量输出,从而调整输出电压。S82. According to the output of the control algorithm, the actuator is activated, and the actuator increases or decreases the energy output of the voltage output circuit according to demand, thereby adjusting the output voltage.
图10示出了本实施例的基本电路结构原理。FIG. 10 shows the basic circuit structure principle of this embodiment.
通过S1-S8步骤的流程,芯片能够自主调节其电压输出,以保持稳定和精确,即使在外部条件变化的情况下。这种自适应的电压补偿方法可以用于各种电子系统和集成电路,特别是那些对电压稳定性要求极高的应用。Through the process of steps S1-S8, the chip is able to autonomously adjust its voltage output to remain stable and accurate even when external conditions change. This adaptive voltage compensation method can be used in various electronic systems and integrated circuits, especially those applications that require extremely high voltage stability.
本发明实施例还提供一种计算机设备,图11是本发明实施例提供的一种计算机设备的结构示意图;参见附图图11所示,该计算机设备包括:输入装置23、输出装置24、存储器22和处理器21;所述存储器22,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器21执行,使得所述一个或多个处理器21实现如上述实施例提供的充放电数模混合电压补偿方法;其中输入装置23、输出装置24、存储器22和处理器21可以通过总线或者其他方式连接,图11中以通过总线连接为例。An embodiment of the present invention further provides a computer device, and FIG11 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention; as shown in FIG11 , the computer device includes: an input device 23, an output device 24, a memory 22 and a processor 21; the memory 22 is used to store one or more programs; when the one or more programs are executed by the one or more processors 21, the one or more processors 21 implement the charging and discharging digital-analog hybrid voltage compensation method provided in the above embodiment; wherein the input device 23, the output device 24, the memory 22 and the processor 21 can be connected via a bus or other methods, and FIG11 takes the connection via a bus as an example.
存储器22作为一种计算设备可读写存储介质,可用于存储软件程序、计算机可执行程序,如本发明实施例所述的充放电数模混合电压补偿方法对应的程序指令;存储器22可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等;此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件;在一些实例中,存储器22可进一步包括相对于处理器21远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 22 is a readable and writable storage medium of a computing device, which can be used to store software programs and computer executable programs, such as program instructions corresponding to the charge and discharge digital-analog hybrid voltage compensation method described in the embodiment of the present invention; the memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the device, etc.; in addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device; in some instances, the memory 22 can further include a memory remotely arranged relative to the processor 21, and these remote memories can be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置23可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入;输出装置24可包括显示屏等显示设备。The input device 23 may be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the device; the output device 24 may include a display device such as a display screen.
处理器21通过运行存储在存储器22中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的充放电数模混合电压补偿方法。The processor 21 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 22, that is, realizes the above-mentioned charge and discharge digital-analog hybrid voltage compensation method.
上述提供的计算机设备可用于执行上述实施例提供的充放电数模混合电压补偿方法,具备相应的功能和有益效果。The computer device provided above can be used to execute the charging and discharging digital-analog hybrid voltage compensation method provided in the above embodiment, and has corresponding functions and beneficial effects.
本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如上述实施例提供的基于Open Stack Ironic的动态电源管理方法,存储介质是任何的各种类型的存储器设备或存储设备,存储介质包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等;存储介质可以还包括其它类型的存储器或其组合;另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统;第二计算机系统可以提供程序指令给第一计算机用于执行。存储介质包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。The embodiment of the present invention also provides a storage medium containing computer executable instructions, which are used to execute the dynamic power management method based on Open Stack Ironic as provided in the above embodiment when executed by a computer processor. The storage medium is any of various types of memory devices or storage devices, and the storage medium includes: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc.; the storage medium may also include other types of memory or a combination thereof; in addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet); the second computer system may provide program instructions to the first computer for execution. The storage medium includes two or more storage media that can reside in different locations (for example, in different computer systems connected via a network). The storage medium can store program instructions (for example, specifically implemented as a computer program) that can be executed by one or more processors.
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上实施例所述的充放电数模混合电压补偿方法,还可以执行本发明任意实施例所提供的充放电数模混合电压补偿方法中的相关操作。Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the charging and discharging digital-analog mixed voltage compensation method described in the above embodiment, and can also execute related operations in the charging and discharging digital-analog mixed voltage compensation method provided in any embodiment of the present invention.
至此,已经结合附图所示的优选实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征做出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
以上所述仅为本发明的优选实施例,并不用于限制本发明;对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410207258.2A CN118151714B (en) | 2024-02-26 | 2024-02-26 | Charging and discharging digital-analog mixed voltage compensation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410207258.2A CN118151714B (en) | 2024-02-26 | 2024-02-26 | Charging and discharging digital-analog mixed voltage compensation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118151714A CN118151714A (en) | 2024-06-07 |
CN118151714B true CN118151714B (en) | 2024-09-10 |
Family
ID=91286130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410207258.2A Active CN118151714B (en) | 2024-02-26 | 2024-02-26 | Charging and discharging digital-analog mixed voltage compensation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118151714B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118760329A (en) * | 2024-07-05 | 2024-10-11 | 北京炎黄国芯科技有限公司 | A self-learning predictive voltage compensation method, system, terminal device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111149166A (en) * | 2017-07-30 | 2020-05-12 | 纽罗布拉德有限公司 | Memory-based distributed processor architecture |
CN113678008A (en) * | 2019-01-04 | 2021-11-19 | 株式会社Lg新能源 | Battery current measuring device and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3538439A (en) * | 1965-12-07 | 1970-11-03 | Texas Instruments Inc | Method for measuring the amplitude of any point on repetitive cycles of a high frequency waveform |
US6404364B1 (en) * | 2000-08-24 | 2002-06-11 | Agere Systems Guardian Corp. | Multistage converter employing digital dither |
TW201103240A (en) * | 2009-07-14 | 2011-01-16 | Novatek Microelectronics Corp | Charge pump circuit |
KR20120066708A (en) * | 2010-10-11 | 2012-06-25 | 삼성전기주식회사 | Hall ic with temperature compensation function |
CN114200850A (en) * | 2020-09-18 | 2022-03-18 | 张继 | Control circuit, control method, drive circuit and lighting device |
-
2024
- 2024-02-26 CN CN202410207258.2A patent/CN118151714B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111149166A (en) * | 2017-07-30 | 2020-05-12 | 纽罗布拉德有限公司 | Memory-based distributed processor architecture |
CN113678008A (en) * | 2019-01-04 | 2021-11-19 | 株式会社Lg新能源 | Battery current measuring device and method |
Also Published As
Publication number | Publication date |
---|---|
CN118151714A (en) | 2024-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7710092B2 (en) | Self tracking ADC for digital power supply control systems | |
US7023190B2 (en) | ADC transfer function providing improved dynamic regulation in a switched mode power supply | |
TWI441426B (en) | System, method and apparatus to transition between pulse-width modulation and pulse-frequency modulation in a switch mode power supply | |
US10622898B1 (en) | Voltage regulator control systems and methods | |
KR101131751B1 (en) | Switch mode power supply smps and methods thereof | |
KR20100123854A (en) | High-side sensing of zero inductor current for step down dc-dc converter | |
CN118151714B (en) | Charging and discharging digital-analog mixed voltage compensation method | |
US10020732B2 (en) | Power converter having low power operating mode | |
JP2011114977A (en) | Control circuit for switching power supply, electronic apparatus, and method for controlling switching power supply | |
WO2007025051A2 (en) | Feed-forward circuit for adjustable output voltage controller circuits | |
TWI460970B (en) | Adaptive slope-compensation module and method thereof | |
KR20140003520A (en) | Relative efficiency measurement in a pulse width modulation system | |
JP2017005774A (en) | Digital control power circuit, control circuit for the same, control method, and electronic apparatus using the same | |
Villalva | Input-controlled buck converter for photovoltaic applications: modeling and design | |
TW201234753A (en) | Frequency control circuit and method for a ripple regulator | |
TWI690142B (en) | Dc-dc converter and method for controlling a reference voltage | |
US20230336082A1 (en) | Integrated circuit control device for multi-phase switching converters and control method thereof | |
WO2024067343A1 (en) | Dc-dc converter | |
US8779741B2 (en) | DC/DC converter controlled by pulse width modulation with high efficiency for low output current | |
CN108599570B (en) | A circuit with dynamically adjustable current-limiting threshold | |
US11817773B2 (en) | Systems and methods of adjusting slope compensation | |
JP2019009947A (en) | Switching power supply device | |
CN109936294B (en) | Control circuit and flyback converter using same | |
US12081144B2 (en) | Method and apparatus for period detection-based control of regulation control parameter | |
CN107528446B (en) | Switch-mode energy converter with reduced static offset induced by stable ramps |
Legal Events
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 |