FPGA-based flyback chip monitoring and evaluation method, system and device
Through the FPGA-based method, real-time monitoring and adaptive adjustment of the loss and threshold of the flyback converter solves the adaptability problem of the flyback converter under load and temperature changes, reduces energy consumption and improves performance, achieving a better Efficient power management.
Patent Information
- Application Number
- CN202410924479.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing flyback converter technology lacks real-time monitoring capabilities, fixed thresholds cannot adapt to load and temperature changes, there is a large difference between simulation and actual status, and parameter adjustment is inflexible, resulting in high energy consumption.
Using an FPGA-based method, the switching loss and conduction loss values are collected in real time. By monitoring the Vds signal and Rdson value, the high and low voltage thresholds are adaptively adjusted, the performance under different VFB/VCS ratios is simulated and evaluated, and the VFB/VCS ratio is adjusted to reduce switching frequency and energy consumption.
It achieves real-time monitoring and optimization of flyback chips, improves the adaptability and performance of power converters, reduces energy consumption, extends equipment life, and improves system flexibility and response speed.
Smart Images

Figure CN118473191B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic engineering, and in particular to a method, system and device for monitoring and evaluating a flyback chip based on FPGA. Background Art
[0002] In modern electronic devices, power converters play a vital role, as they are responsible for converting the power supply voltage to a voltage level suitable for electronic devices. Flyback converters are widely used in the field of power management due to their compact structure and high cost-effectiveness. However, as the requirements for power efficiency and stability of electronic devices increase, existing flyback converter technology faces some challenges, especially in terms of loss control and performance optimization.
[0003] The working principle of the flyback converter is based on the process of storing and releasing energy. During the on-time of the switch, energy is stored in the primary coil of the transformer; when the switch is off, the stored energy is released through the secondary coil, thereby generating the desired output voltage. Switching loss and conduction loss are the two main factors affecting the efficiency of the flyback converter. Switching loss mainly occurs during the turn-on and turn-off process of the switching device, while conduction loss is caused by the on-resistance Rdson of the device in the on state.
[0004] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems in the prior art:
[0005] 1. Insufficient real-time monitoring: Existing technologies generally lack the ability to monitor the real-time values of switching loss and conduction loss, which limits the real-time evaluation and optimization of power converter performance.
[0006] 2. Fixed threshold problem: Voltage monitoring circuits usually use fixed high and low voltage thresholds, which may not be able to accurately judge the high or low voltage state when facing changes in system load and ambient temperature.
[0007] 3. Difference between simulation and actual working state: Although simulation technology is used to evaluate the performance of power converters, existing simulation methods may not be able to accurately simulate the actual working state of the chip under different VFB / VCS ratios.
[0008] 4. Parameter adjustment is not flexible enough: In the prior art, the adjustment of power converter parameters is usually manual and lacks the ability to adaptively adjust according to real-time data.
[0009] 5. Energy consumption problem: Due to the lack of effective loss control strategies, existing power converters may have high energy consumption problems when operating at high loads or high frequencies.
[0010] The embodiments of the present invention are improvements made to solve the above problems. Summary of the invention
[0011] The purpose of the embodiments of the present invention is to provide a method, system, medium and computing device for monitoring and evaluating a flyback chip based on FPGA. The implementation of the embodiments of the present invention can provide an efficient, stable and energy-saving power management solution.
[0012] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a method, system, medium and computing device for monitoring and evaluating a flyback chip based on FPGA, and the technical solution adopted is:
[0013] Collect real-time values of switching loss and conduction loss;
[0014] By monitoring the Vds signal on the chip to determine whether the input voltage is high or low, the switching loss information can be obtained;
[0015] Measure the Rdson value inside the chip to obtain conduction loss information;
[0016] Adaptively adjust high and low voltage thresholds according to pre-defined voltage ranges or system dynamic requirements;
[0017] Evaluate the performance under different VFB / VCS ratios based on the internal working conditions of the simulated chip;
[0018] In the simulation, high and low voltage thresholds are used to set the judgment conditions for inputting high and low voltages, triggering corresponding operations and adjustments;
[0019] Simulate the internal circuit structure and working conditions of the chip to obtain parameters;
[0020] The VFB / VCS ratio is adjusted by changing the ratio of the internal feedback voltage and the comparison voltage of the chip;
[0021] Adjust the VFB / VCS ratio to affect the peak current inside the chip, reducing the switching frequency and switching losses.
[0022] In some embodiments, collecting real-time values of switching loss and conduction loss includes:
[0023] Initialize the sensor and set the voltage change threshold for monitoring the Vds signal;
[0024] Start the periodic sampling program to record the voltage peak of the Vds signal during the switching process;
[0025] Through the Rdson measurement circuit, the on-resistance value inside the chip is read and recorded in real time.
[0026] In some embodiments, adaptively adjusting the high and low voltage thresholds according to a predefined voltage range or system dynamic requirements includes:
[0027] Receive system dynamic demand signals, including load change and ambient temperature change information;
[0028] According to the dynamic demand signal, the threshold setting of the voltage monitoring circuit is adjusted to ensure that the high voltage or low voltage state can be accurately judged under different conditions.
[0029] In some embodiments, based on the internal working conditions of the simulated chip, evaluating the performance under different VFB / VCS ratios includes:
[0030] Set simulation parameters, including the initial range and step value of the VFB / VCS ratio;
[0031] Simulate the chip working status under different VFB / VCS ratios;
[0032] Record and analyze the simulation results to determine the optimal VFB / VCS ratio.
[0033] In some embodiments, high and low voltage thresholds are used in simulation to set the judgment conditions for inputting high and low voltages, and triggering corresponding operations and adjustments includes:
[0034] Determine the current working voltage state according to the Vds signal monitored in real time;
[0035] Compare the high and low voltage thresholds with the monitored voltage status to trigger the corresponding simulation conditions;
[0036] Adjust the voltage inputs in the simulation model to simulate the chip's response to high or low voltage conditions.
[0037] In some embodiments, simulating the internal circuit structure and working conditions of the chip to obtain parameters includes:
[0038] Build a chip circuit model that includes all key components;
[0039] Set the working condition parameters in the model, such as temperature, power supply voltage, etc.;
[0040] Run the model and collect circuit parameters under different operating conditions.
[0041] In some embodiments, adjusting the VFB / VCS ratio by changing the ratio of the chip internal feedback voltage to the comparison voltage includes:
[0042] According to the simulation and test results, determine the VFB / VCS ratio range that needs to be adjusted;
[0043] By adjusting the feedback network in the circuit, the ratio of the feedback voltage to the comparison voltage is changed;
[0044] Monitor the adjusted peak current and switching frequency to verify the loss reduction effect.
[0045] In some embodiments, adjusting the VFB / VCS ratio to affect the peak current inside the chip and reduce the switching frequency and switching loss includes:
[0046] Apply the adjusted VFB / VCS ratio on the FPGA;
[0047] Run a performance test program to collect chip performance data under the adjusted ratio;
[0048] Use power consumption measurement tools to measure and record the energy consumption of the chip under different working states.
[0049] In a second aspect of an embodiment of the present invention, an electronic device is provided, comprising: at least one processor, a memory and an input-output unit; wherein the memory is used to store a computer program, and the processor is used to call the computer program stored in the memory to execute any one of the methods described in the first aspect.
[0050] In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which includes instructions, and when the instructions are executed on a computer, the computer executes the method described in any one of the first aspects.
[0051] It should be understood that the electronic device provided in the second aspect of the present application and the computer-readable storage medium provided in the third aspect are consistent with the technical solution of the first aspect of the present application, and their specific contents and beneficial effects can refer to the FPGA-based flyback chip monitoring and evaluation method provided in the first aspect above, which will not be described in detail here;
[0052] In addition, the invention summary does not list all the features required for the embodiments of the present invention, and other combinations of these feature groups can also become embodiments of the present invention.
[0053] The above-mentioned embodiments of the present invention have at least the following beneficial effects: by collecting the values of switching loss and conduction loss in real time, the working state of the flyback chip can be monitored more accurately, providing detailed data support for further analysis and optimization. The function of adaptively adjusting the high and low voltage thresholds enables the system to automatically adjust according to load changes and ambient temperature changes, thereby improving the adaptability and stability of the power converter under different working conditions;
[0054] By simulating the performance under different VFB / VCS ratios, the operating parameters of the power converter can be more comprehensively evaluated and optimized, thereby improving the overall performance. By adjusting the VFB / VCS ratio to affect the peak current inside the chip, the switching frequency and switching loss are reduced, which effectively reduces energy consumption and improves energy efficiency. By using the programmable characteristics of FPGA, dynamic adjustment of power converter parameters is achieved, improving the flexibility and response speed of the control system;
[0055] Real-time monitoring and adaptive adjustment mechanisms help to detect and respond to voltage fluctuations or load changes in a timely manner, thereby reducing the risk of system failure and improving reliability. Reducing losses and improving system stability can help reduce wear and tear on power converters and extend their service life. Reducing energy consumption not only reduces operating costs, but also meets current requirements for environmental protection and sustainable development. Integrating monitoring and evaluation methods into electronic devices simplifies the system integration process and allows new technologies to be quickly applied to existing or new electronic devices. Executable instructions stored on computer-readable storage media allow users to customize monitoring and evaluation methods according to specific needs, increasing the versatility and applicability of the methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background technology, the drawings required for use in the embodiments of the present invention or the background technology will be described below.
[0057] Figure 1 is a flow chart of a flyback chip monitoring and evaluation method based on FPGA in one embodiment of the present invention;
[0058] Figure 2 It is a structural schematic diagram of a flyback chip monitoring and evaluation system based on FPGA in one embodiment of the present invention;
[0059] Figure 3 The structure diagram of an electronic device in one embodiment of the present invention is schematically shown; DETAILED DESCRIPTION
[0060] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0061] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0062] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0063] Reference below Figure 1 , Figure 1 A schematic flow chart of a method for monitoring and evaluating a flyback chip based on FPGA provided in one embodiment of the present invention. Figure 1 The process of the flyback chip monitoring and evaluation method based on FPGA provided by an embodiment of the present invention is shown, and the method S100 includes:
[0064] Step S101, collecting real-time values of switching loss and conduction loss;
[0065] First, the sensors need to be initialized to ensure that they can accurately monitor the required voltage and current signals. This includes setting the voltage change threshold for monitoring the Vds signal and configuring any necessary filters or amplifiers to improve signal quality.
[0066] Use high-precision voltage sensors to monitor the Vds (drain-source voltage) signal on the chip. These sensors can capture the voltage peak during the switching process, which is a key parameter for evaluating switching losses. Ensure that all monitoring devices are time synchronized to accurately record the occurrence time of switching events.
[0067] Specifically, a dedicated measurement circuit is used to read and record the on-resistance value Rdson inside the chip in real time. This usually involves measuring the voltage drop across the device when the chip is in the on state, and then calculating Rdson based on Ohm's law. Using a current sensor to monitor the current through the chip helps calculate the conduction loss, which can be calculated using formula (1);
[0068]
[0069] in, is the on-state current, is the on-resistance.
[0070] Furthermore, by starting a periodic sampling program, Vds signals and Rdson values are recorded at fixed time intervals or based on event triggering. The collected data is stored in an appropriate data storage system for subsequent analysis and processing. Necessary signal processing, such as filtering and denoising, is performed on the collected signals to improve the accuracy of the data. Based on the collected Vds signals and Rdson values, the switching loss and conduction loss are calculated in real time.
[0071] Evaluate real-time loss data and compare it with preset performance indicators. Based on the loss evaluation results, adaptively adjust the operating parameters of the power converter through FPGA or other control units to optimize performance.
[0072] Furthermore, real-time loss data and system status can be displayed through the user interface, allowing the operator to monitor system performance. The operator is allowed to send control commands through the user interface to manually adjust system parameters or respond to specific monitoring events.
[0073] Step S102, determining whether the input voltage is high or low by monitoring the Vds signal on the chip to obtain switching loss information;
[0074] Specifically, select a voltage sensor suitable for monitoring the Vds signal, which should have sufficient bandwidth and accuracy to ensure that voltage changes can be accurately captured. Install the voltage sensor between the drain and source of the chip, and ensure that the sensor is electrically connected to the monitored Vds signal.
[0075] In some embodiments, a high-speed data acquisition system (DAQ) can be used to acquire the Vds signal in real time to ensure that the rapid voltage changes during the switching process can be captured. Ensure that the data acquisition is synchronized with the time of the switching action to accurately record the switching event.
[0076] According to the working parameters of the power converter and the expected voltage range, the high voltage and low voltage judgment thresholds are set. By real-time monitoring of the Vds signal, when the Vds value exceeds the high voltage threshold, the system identifies it as a high voltage state; when the Vds value is lower than the low voltage threshold, the system identifies it as a low voltage state.
[0077] After the high voltage or low voltage state is identified, the switching loss is calculated according to the change of the Vds signal. The switching loss can be calculated by the energy formula, as shown in formula (2);
[0078]
[0079] in, is the switched capacitor, and The Vds voltage when the switch is turned off and on is recorded for each switching event to provide a basis for subsequent analysis and optimization.
[0080] According to the system's working status and environmental conditions, the high and low voltage judgment thresholds are dynamically adjusted to adapt to different working scenarios. Adaptive control logic is implemented using FPGA or other control units to automatically adjust the thresholds based on real-time monitoring data.
[0081] In some embodiments, the collected switching loss data is analyzed to identify situations where the loss is too high or too low. Based on the loss data analysis results, the operating parameters of the power converter, such as duty cycle, switching frequency, etc., can be adjusted to optimize the switching loss.
[0082] Step S103, measuring the Rdson value inside the chip to obtain conduction loss information;
[0083] Specifically, determine the operating conditions of the chip when measuring Rdson, such as temperature, frequency, and load conditions, to ensure the accuracy and representativeness of the measurement results. Design a stable current source to provide a constant current when the chip is in the on state.
[0084] Furthermore, use a high-precision voltage measurement device, such as a digital multimeter or data acquisition system, to measure the voltage drop across the chip. Apply a known current to the chip through a current source. When the chip is turned on, record the voltage drop across the chip. Use Ohm's law to calculate Rdson, as shown in equation (3);
[0085]
[0086] in, is the voltage drop across the chip, The current passing through the chip. Using automated test equipment, periodically collect Rdson data to monitor its changes over time and operating conditions. Record the measurement results in a database or data logging system for further analysis.
[0087] According to the on-resistance and operating current, the conduction loss is calculated as shown in formula (4);
[0088]
[0089] Since temperature affects Rdson, the measurement results need to be temperature compensated to ensure data accuracy. Consider the change of Rdson under different load conditions to evaluate its impact on conduction loss. Feedback the measurement results to the control system so that the operating parameters of the power converter can be adjusted according to the change of Rdson. Implement adaptive control logic to automatically adjust the operating state of the power converter according to the real-time data of Rdson to optimize the conduction loss.
[0090] Step S104, adaptively adjusting the high and low voltage thresholds according to a predefined voltage range or system dynamic requirements;
[0091] Specifically, the voltage range thresholds of high voltage and low voltage are predefined according to the design specifications and working conditions of the power converter. The system is designed to receive signals that reflect the dynamic needs of the system, such as load changes, ambient temperature changes, etc. The received signals are processed as necessary, such as filtering, amplification, etc., to ensure the accuracy and reliability of the signals.
[0092] Preferably, an adaptive adjustment algorithm is developed to adjust the high and low voltage thresholds in real time according to the system dynamic demand signal. Adjustable parameters are set in the algorithm, such as adjustment rate, threshold change range, etc., to adapt to different application scenarios.
[0093] Furthermore, the Vds signal and other related parameters such as current, temperature, etc. are monitored in real time. Based on the real-time monitoring data and the adaptive algorithm, the high and low voltage thresholds are dynamically adjusted. The adaptive adjustment logic is implemented on the FPGA or other control unit to process the monitoring data and output the adjusted thresholds. The parallel processing capability of the FPGA is used to achieve fast response threshold adjustment. The adjusted thresholds are applied to the power converter and its performance changes are monitored. Based on the performance feedback, the adaptive adjustment algorithm is continuously optimized to achieve the best performance.
[0094] Step S105, evaluating the performance under different VFB / VCS ratios according to the internal working conditions of the simulated chip;
[0095] Specifically, choose software suitable for power converter simulation, such as SPICE, PSIM or MATLAB / Simulink. Build a circuit model of the chip in the simulation software, including all key components and parameters.
[0096] Preferably, the range of the ratio of VFB (feedback voltage) to VCS (comparison voltage) to be evaluated can be determined by setting the step value of the VFB / VCS ratio to facilitate detailed performance evaluation. The initial values of VFB and VCS are set in the simulation model and adjusted according to the step value to cover all ratios to be evaluated.
[0097] Furthermore, configure the working conditions in the simulation model, such as input voltage, load current, temperature, etc. Run the simulation software to simulate the working state of the chip under different VFB / VCS ratios. Collect key data during the simulation process, such as efficiency, loss, stability, etc.
[0098] In some embodiments, the simulation data is analyzed to evaluate the impact of different VFB / VCS ratios on chip performance, and the optimal VFB / VCS ratio is determined based on the performance evaluation results to achieve the best performance. Based on the simulation results, the logic and strategy for adjusting the VFB / VCS ratio are developed to implement real-time adjustment functions on FPGA or other control units.
[0099] Furthermore, a feedback mechanism is designed to feed back the simulation evaluation results to the control system. According to the feedback results, the VFB / VCS ratio is adaptively adjusted to optimize the power converter performance.
[0100] Step S106, using high and low pressure thresholds to set the judgment conditions of inputting high and low pressures in the simulation, triggering corresponding operations and adjustments;
[0101] Specifically, according to the working requirements and performance indicators of the power converter, the voltage thresholds of high voltage and low voltage are pre-set. Select software suitable for power converter simulation and configure the simulation environment. Build a circuit model of the power converter in the simulation software, including key components and control logic. Write logic judgment code in the simulation model to judge the high voltage or low voltage state according to the voltage value monitored in real time.
[0102] Preferably, the high voltage condition is triggered when the voltage value exceeds the high voltage threshold, and the low voltage condition is triggered when the voltage value is lower than the low voltage threshold. The initial conditions are set for the simulation, including input voltage, load current, etc., and the simulation parameters are adjusted as needed to simulate different working conditions and scenarios.
[0103] Furthermore, the simulation model is run and the changes in voltage and other key parameters are monitored. During the simulation, it is determined in real time whether the voltage state meets the high voltage or low voltage condition. The operations to be performed when the high voltage or low voltage state is detected are defined, such as adjusting the switching frequency, changing the duty cycle, etc. An automatic adjustment mechanism is implemented in the simulation model to automatically perform predefined operations when a specific voltage state is detected. Key data during the simulation process is recorded, including voltage state, operation execution, and system response. The data is analyzed to evaluate the performance and stability of the system under different voltage states.
[0104] Furthermore, a feedback loop is established to use the simulation results to adjust and optimize the threshold settings and operation strategies. Based on the simulation results and performance analysis, the high and low voltage thresholds and corresponding operation adjustments are continuously optimized.
[0105] Step S107, simulating the internal circuit structure and working conditions of the chip to obtain parameters;
[0106] Specifically, use electronic design automation (EDA) tools to create a circuit model of the chip to ensure that the model can accurately reflect the electrical characteristics of the actual circuit. Set the environmental working conditions in the model, such as temperature, humidity and other environmental factors. Define power supply conditions such as power supply voltage and frequency to simulate the working conditions of the chip under different power supply states.
[0107] Select appropriate simulation settings based on the type of analysis you need to perform (e.g. DC analysis, AC analysis, transient analysis, etc.). Set the simulation time step to ensure that rapid changes in the circuit can be captured. Run circuit simulation in the EDA tool to simulate the behavior of the chip under set operating conditions.
[0108] Preferably, collect key parameters during the simulation, such as node voltage, current, power consumption, etc. Analyze the collected parameters to evaluate the performance of the chip under different operating conditions. Identify key parameters that affect chip performance, such as switching speed, on-resistance, parasitic capacitance, etc. Based on the analysis results, adjust the parameters in the circuit model, such as component values, layout, process parameters, etc. Perform multiple rounds of simulation and optimization iterations to obtain the best circuit performance.
[0109] In some embodiments, the above process can also evaluate the thermal stability and heat dissipation requirements of the chip under long-term operation through thermal simulation. According to the results of thermal simulation, the heat dissipation design is optimized, such as adjusting the size and layout of the heat sink. The performance of the chip in an electromagnetic interference environment is evaluated to ensure that the design meets the electromagnetic compatibility requirements. According to the results of EMC analysis, the circuit design is optimized, such as adding filters, shielding and other measures.
[0110] Step S108, adjusting the VFB / VCS ratio by changing the ratio of the chip internal feedback voltage to the comparison voltage;
[0111] Specifically, based on the performance requirements of the power converter, determine the adjustment target of the VFB / VCS ratio to optimize switching loss, conduction loss or overall efficiency, and clarify the role and relationship of VFB and VCS in the circuit. Determine adjustable components, such as resistors, capacitors, or variable voltage sources, to change the ratio of VFB and VCS. Set the initial VFB and VCS values in the circuit simulation software and simulate the impact of different ratios on circuit performance. In actual hardware, adjust the ratio of VFB and VCS by changing the resistor value in the feedback network or using a variable voltage source.
[0112] Preferably, a real-time monitoring system is established to monitor the actual values of VFB and VCS after adjustment and their impact on circuit performance. Control logic is integrated in the FPGA or other control unit to automatically adjust the VFB / VCS ratio based on the monitoring results.
[0113] Further, develop a detailed test plan, including tests under various loads and operating conditions. Collect circuit performance data after adjusting the VFB / VCS ratio, such as efficiency, loss, stability, etc. Analyze the data to evaluate the specific impact of the adjustment on circuit performance. Feed the test results back to the design stage to further fine-tune the VFB / VCS ratio based on the performance test results.
[0114] Step S109, adjusting the VFB / VCS ratio to affect the peak current inside the chip and reduce the switching frequency and switching loss.
[0115] Specifically, the influence of the ratio of VFB (feedback voltage) to VCS (comparison voltage) on peak current, switching frequency and switching loss is studied. Based on the efficiency and thermal design requirements of the power converter, the ideal VFB / VCS ratio adjustment target is determined. Different VFB / VCS ratios are set in the circuit simulation software to simulate their influence on peak current and switching frequency.
[0116] Preferably, an adjustable resistor, a voltage divider or a digital programmable voltage source is selected to adjust the values of VFB and VCS. The size of VFB is changed by changing the resistance value in the feedback network or adjusting the variable voltage source. The size of VCS is changed by changing the voltage divider ratio in the comparator circuit or adjusting the reference voltage source.
[0117] In some embodiments, a real-time monitoring system can be established to monitor the adjusted VFB, VCS, peak current and switching frequency. Implement control logic in the FPGA or other control unit to automatically adjust the VFB / VCS ratio based on the monitoring results. Develop a test plan, including tests under different loads and operating conditions. Use appropriate instruments to measure switching losses to verify the effect of the VFB / VCS ratio adjustment. Record circuit performance data after adjusting the VFB / VCS ratio, including peak current, switching frequency and losses. Feed the test results back to the design stage to further fine-tune the VFB / VCS ratio based on the performance test results.
[0118] In some embodiments, collecting real-time values of switching loss and conduction loss includes: initializing the sensor and setting the voltage change threshold for monitoring the Vds signal; starting a periodic sampling program and recording the voltage peak of the Vds signal during the switching process; and reading and recording the on-resistance value inside the chip in real time through the Rdson measurement circuit.
[0119] Preferably, the sensor is initialized and a voltage change threshold for monitoring the Vds signal is set. In this step, a high-precision voltage sensor, such as a sensor with a resolution of 0.01V, is first selected to monitor the Vds signal on the flyback chip. Then, a voltage change threshold, such as 0.1V, is set as a basis for judging the change of the switch state. When the voltage change of the Vds signal exceeds this threshold, the sensor will be triggered and start recording data.
[0120] Furthermore, a periodic sampling program is started to record the voltage peak of the Vds signal during the switching process. In this step, a sampling frequency, such as 100kHz, can be set to ensure that the key voltage points in each switching cycle can be captured. The sampling program will periodically read the Vds signal and record the maximum voltage value during each switching process. These data will be used for subsequent switching loss analysis.
[0121] Going further, the on-resistance value inside the chip is read and recorded in real time through the Rdson measurement circuit. In this step, a known current source, such as 1A, can be used to pass through the chip and measure its voltage drop to calculate the Rdson value. The measurement circuit can include a high-precision current source and voltage measurement device to ensure the accuracy of the measurement results. For example, if the measured voltage drop is 0.5V, then the on-resistance Rdson is 0.5Ω.
[0122] In some embodiments, adaptively adjusting high and low voltage thresholds according to a predefined voltage range or system dynamic requirements includes: receiving system dynamic demand signals, including load change and ambient temperature change information; and adjusting the threshold setting of the voltage monitoring circuit according to the dynamic demand signal to ensure that the high or low voltage state can be accurately judged under different conditions.
[0123] Specifically, determine the basic parameters of the voltage threshold, which define the high and low voltage limits under standard operating conditions. Identify and receive signals that reflect the dynamic needs of the system, such as load changes, ambient temperature, etc. Design interface circuits or software modules to receive these signals from sensors or system interfaces. Perform necessary filtering on the received signals to remove noise and extract useful information. Analyze signal changes to determine whether the voltage threshold needs to be adjusted.
[0124] Furthermore, a voltage monitoring circuit is designed to monitor the voltage status in real time according to the adjusted threshold. A memory is integrated in the monitoring circuit or related control system to store the adjusted threshold. The threshold setting in the voltage monitoring circuit is updated in real time according to the output of the adaptive algorithm. A feedback control system is designed to ensure that the threshold adjustment can respond to changes in system requirements in a timely manner.
[0125] In some embodiments, based on the internal working conditions of the simulated chip, evaluating the performance under different VFB / VCS ratios includes: setting simulation parameters, including the initial range and step value of the VFB / VCS ratio; running simulation software to simulate the chip working state under different VFB / VCS ratios; recording and analyzing the simulation results to determine the optimal VFB / VCS ratio.
[0126] Specifically, select software suitable for power management chip simulation, such as SPICE, Saber, MATLAB / Simulink, etc. Build a detailed circuit model of the power management chip in the simulation software, including all major components and parameters. Determine the initial test range of the VFB / VCS ratio, for example, from 0.5 to 1.5.
[0127] Further, set the step value, such as 0.05, to systematically cover the entire ratio range. Configure the working conditions in the simulation, including input voltage, load current, switching frequency, etc. Set the simulation environment parameters, such as temperature, etc., to simulate the actual working conditions. Run the simulation software under the set parameters and conditions.
[0128] Simulate each VFB / VCS ratio to ensure that all preset ratios are covered. Record key parameters such as efficiency, losses, stability, etc. during the simulation. Store the simulation results in an appropriate storage medium for subsequent analysis.
[0129] Analyze the simulation results at each VFB / VCS ratio to evaluate the chip's performance. Use charts and graphs to show the performance differences at different ratios for easy comparison and identification of trends. Compare the performance at different ratios to identify the ratio with the highest efficiency and lowest loss. Determine the optimal VFB / VCS ratio based on the performance evaluation results. Compare the experimental results with the simulation results to ensure the validity of the simulation model.
[0130] In some embodiments, high and low voltage thresholds are used in the simulation to set the judgment conditions for inputting high and low voltages, and triggering corresponding operations and adjustments includes: determining the current operating voltage state based on the real-time monitored Vds signal; comparing the high and low voltage thresholds with the monitored voltage state to trigger corresponding simulation conditions; adjusting the voltage input in the simulation model to simulate the chip response under high or low voltage conditions.
[0131] In some embodiments, the sensor connected to the FPGA is first initialized, and the voltage change threshold for monitoring the Vds signal is set, for example, the threshold is set to 0.1V to ensure that small changes in voltage can be accurately captured. Next, a periodic sampling program is started, which records the voltage peak of the Vds signal during the switching process at a fixed time interval, such as 10 microseconds. By monitoring these voltage peaks in real time, it can be determined whether the current operating voltage state is high voltage or low voltage. For example, if Vds exceeds a preset high voltage threshold (such as 100V), the input is considered to be in a high voltage state; if Vds is lower than a low voltage threshold (such as 50V), the input is considered to be in a low voltage state.
[0132] Furthermore, after the Vds signal is detected, the voltage state detected in real time is compared with the preset high and low voltage thresholds. This comparison process is implemented through the internal logic of the FPGA, which can quickly and accurately determine the current working state. For example, the high voltage threshold is set to 90V and the low voltage threshold is set to 60V. When the monitored Vds value drops from the high voltage state and crosses the low voltage threshold, the FPGA will trigger the corresponding simulation conditions and adjust the voltage input in the simulation model to simulate the chip response under high or low voltage conditions. This real-time feedback of state changes allows the system to adjust operating parameters in a timely manner and optimize chip performance.
[0133] Based on the comparison results, the FPGA will adjust the voltage input parameters in the simulation model to reflect the actual monitored voltage state. For example, if the current state is judged to be a high voltage state, the simulation model will increase the input voltage to the corresponding high voltage level and simulate the chip's current, power consumption, temperature and other responses in this state. By adjusting the simulation model, the operating performance of the chip under different voltage states can be predicted and an adjustment strategy can be provided for the system. For example, if the simulation results show that the chip temperature is too high under high voltage, the system may automatically adjust the operation of the cooling system to keep the chip within a safe operating temperature range.
[0134] In some embodiments, simulating the internal circuit structure and working conditions of a chip to obtain parameters includes: building a chip circuit model containing all key components; setting the working condition parameters in the model, such as temperature, power supply voltage, etc.; running the model to collect circuit parameters under different working conditions.
[0135] Specifically, first identify all key components in the power management chip that affect performance, such as switching devices, capacitors, inductors, diodes, etc., and use electronic design automation (EDA) tools to create a circuit model of the chip to ensure that the model can accurately reflect the electrical characteristics of the actual circuit.
[0136] Preferably, working environment parameters such as temperature and humidity are set in the model to simulate actual use conditions. Parameters such as power supply voltage and frequency are set to simulate different power supply conditions. According to the circuit characteristics to be analyzed, select the appropriate simulation type, such as DC analysis, AC analysis, transient analysis, etc.
[0137] Furthermore, the total running time of the simulation is set according to the response time of the circuit. The time step of the simulation is set to ensure that the rapid changes of the circuit can be captured. The simulation of the circuit model is performed in the EDA tool. The electrical parameters such as voltage and current of key nodes are monitored during the simulation process.
[0138] Going a step further, collect key data from the simulation process, including node voltage, current, power consumption, etc. Use automated tools to record data for later analysis. Analyze the collected data to identify how the circuit performs under different operating conditions. Evaluate the circuit's stability, efficiency, and other performance indicators. Based on the analysis results, adjust component parameters or operating conditions in the model. Perform multiple rounds of simulation and optimization iterations to obtain the best circuit performance.
[0139] In some embodiments, adjusting the VFB / VCS ratio by changing the ratio of the feedback voltage and the comparison voltage inside the chip includes: determining the VFB / VCS ratio range that needs to be adjusted based on simulation and test results; changing the ratio of the feedback voltage and the comparison voltage by adjusting the feedback network in the circuit; monitoring the adjusted peak current and switching frequency to verify the loss reduction effect.
[0140] Specifically, we first collect data on the impact of the VFB / VCS ratio on performance in simulation and actual tests, evaluate the performance of the chip under different VFB / VCS ratios, including efficiency, loss and other indicators, and determine the optimal range of the VFB / VCS ratio that needs to be adjusted based on the performance evaluation results.
[0141] Analyze the existing feedback network and identify the adjustable components, such as resistors, capacitors, etc. Design an adjustment scheme, including the required component value changes and adjustment steps. Replace or adjust the components in the feedback network in the actual circuit to change the ratio of VFB and VCS. Consider using adjustable resistors or digital programmable voltage sources to dynamically adjust the ratio.
[0142] Preferably, the adjustment scheme is implemented on the chip or circuit board to change the ratio of the feedback voltage to the comparison voltage. The adjusted peak current and switching frequency are monitored in real time using tools such as an oscilloscope and a data acquisition system. The adjusted switching loss is calculated based on the monitored peak current and switching frequency.
[0143] Furthermore, the loss after adjustment is compared with the loss before adjustment to verify the loss reduction effect. The loss reduction effect is fed back to the design stage for further adjustment and optimization. Based on the feedback results, the VFB / VCS ratio is fine-tuned to achieve the best performance.
[0144] In some embodiments, adjusting the VFB / VCS ratio to affect the peak current inside the chip and reduce the switching frequency and switching loss includes: applying the adjusted VFB / VCS ratio on the FPGA; running a performance test program to collect chip performance data under the adjusted ratio; using a power consumption measurement tool to measure and record the energy consumption of the chip under different working conditions.
[0145] Specifically, based on the efficiency and thermal design requirements of the power converter, an ideal VFB / VCS ratio adjustment target is determined. A control logic is developed on the FPGA to adjust the VFB / VCS ratio in real time, and at the same time, the adjusted VFB / VCS ratio parameters are configured in the FPGA. The adjusted VFB / VCS ratio parameters are loaded into the FPGA to control the corresponding parameters of the power converter.
[0146] Furthermore, first, prepare a performance test program to ensure that the performance of the power converter after adjustment can be fully evaluated. Run the test program to collect key performance parameters such as peak current and switching frequency. Select a suitable power consumption measurement tool, such as an oscilloscope, power analyzer, etc. Use the measurement tool to measure the energy consumption of the chip under different working conditions.
[0147] Preferably, record the adjusted VFB / VCS ratio, peak current, switching frequency, and energy consumption data. Analyze the data to evaluate the effect of the adjustment on reducing switching losses and optimizing performance. Feedback the test results to the FPGA control logic to make necessary adjustments. Based on the performance analysis results, further optimize the VFB / VCS ratio.
[0148] The above-mentioned embodiments of the present invention have at least the following beneficial effects: The above-mentioned embodiments realize real-time monitoring and evaluation of chip performance by real-time acquisition of switching loss and conduction loss values. The method can adaptively adjust the high and low voltage thresholds to adapt to different input voltage conditions and system requirements by monitoring the Vds signal and measuring the Rdson value. In addition, by simulating the performance under different VFB / VCS ratios, the optimal operating parameters can be evaluated and determined, thereby optimizing the performance of the chip. The system can dynamically adjust the threshold setting of the voltage monitoring circuit according to the real-time monitored Vds signal and dynamic demand signal to ensure that the high voltage or low voltage state can be accurately judged under different conditions.
[0149] At the same time, by simulating the internal circuit structure and working conditions of the chip, this method can deeply understand the working mechanism of the chip and obtain key circuit parameters. Adjusting the VFB / VCS ratio can affect the peak current inside the chip, reduce the switching frequency and switching loss, and improve energy efficiency. By changing the ratio of the feedback voltage and the comparison voltage inside the chip, the VFB / VCS ratio can be accurately controlled to further optimize the chip performance. By applying the adjusted VFB / VCS ratio on the FPGA and running the performance test program, the chip performance data under the adjusted ratio can be fully collected. Using the power consumption measurement tool, the energy consumption of the chip under different working conditions can be measured and recorded to provide data support for energy efficiency evaluation and improvement. The integration of this method into the FPGA-based monitoring and evaluation system will greatly improve the intelligence and automation level of the system and realize comprehensive monitoring and evaluation of the flyback chip.
[0150] Further references Figure 2 As an implementation of the methods shown in the above figures, the present invention provides some embodiments of a flyback chip monitoring and evaluation system based on FPGA. These system embodiments are similar to Figure 1 Corresponding to the method implementation shown, the FPGA-based flyback chip monitoring and evaluation system can be specifically applied to various electronic devices.
[0151] like Figure 2 As shown, a flyback chip monitoring and evaluation system 200 based on FPGA, the system 200 includes:
[0152] The acquisition module is used to collect the real-time values of switching loss and conduction loss;
[0153] An acquisition module is used to determine input high voltage or low voltage by monitoring the Vds signal on the chip to obtain switching loss information;
[0154] The measurement module is used to measure the Rdson value inside the chip to obtain the conduction loss information;
[0155] An adjustment module, used to adaptively adjust high and low voltage thresholds according to a predefined voltage range or system dynamic requirements;
[0156] Evaluation module, used to evaluate the performance under different VFB / VCS ratios based on the internal working conditions of the simulated chip;
[0157] A judgment module is used to set the judgment conditions of inputting high and low voltage using high and low voltage thresholds in simulation, and trigger corresponding operations and adjustments;
[0158] The simulation module is used to simulate the internal circuit structure and working conditions of the chip to obtain parameters;
[0159] The ratio module is used to adjust the VFB / VCS ratio by changing the ratio of the feedback voltage and the comparison voltage inside the chip;
[0160] The current module is used to adjust the VFB / VCS ratio to affect the peak current inside the chip and reduce the switching frequency and switching loss.
[0161] It can be understood that the modules recorded in the FPGA-based flyback chip monitoring and evaluation 200 are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the FPGA-based flyback chip monitoring and evaluation method are also applicable to the FPGA-based flyback chip monitoring and evaluation system 200 and the modules contained therein, and will not be repeated here.
[0162] Reference below Figure 3, which shows a schematic diagram of a structure 300 of an electronic device suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0163] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 to a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0164] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0165] Furthermore, the storage medium of the embodiment of the present application has program instructions that can implement all the above methods, wherein the program instructions can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.
[0166] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.
Claims
1. A flyback chip monitoring and evaluation method based on FPGA, characterized in that: The following steps are involved: Collect real-time values of switching loss and conduction loss; By monitoring the drain-source voltage Vds signal on the chip, the input high voltage or low voltage is judged to obtain switching loss information; Measure the on-resistance Rdson value inside the chip to obtain conduction loss information; Adaptively adjust high and low voltage thresholds according to pre-defined voltage ranges or system dynamic requirements; According to the internal working conditions of the simulated chip, the performance under different feedback voltage VFB / comparison voltage VCS ratios is evaluated; In the simulation, high and low voltage thresholds are used to set the judgment conditions for inputting high and low voltages, triggering corresponding operations and adjustments; Simulate the internal circuit structure and working conditions of the chip to obtain parameters; The VFB / VCS ratio is adjusted by changing the ratio of the internal feedback voltage and the comparison voltage of the chip; The feedback voltage VFB / comparison voltage VCS ratio is adjusted to affect the peak current inside the chip, reducing the switching frequency and switching loss; wherein, In the simulation, high and low voltage thresholds are used to set the judgment conditions for inputting high and low voltages, and the corresponding operations and adjustments are triggered, including: Determine the current working voltage state according to the real-time monitored drain-source voltage Vds signal; Compare the high and low voltage thresholds with the monitored voltage status to trigger the corresponding simulation conditions; Adjust the voltage inputs in the simulation model to simulate the chip's response to high or low voltage conditions.
2. The method according to claim 1, characterized in that: Collect real-time values of switching loss and conduction loss including: Initialize the sensor and set the voltage change threshold for monitoring the Vds signal; Start the periodic sampling program to record the voltage peak of the Vds signal during the switching process; Through the Rdson measurement circuit, the on-resistance value inside the chip is read and recorded in real time.
3. The method according to claim 1, characterized in that: Adaptive adjustment of high and low voltage thresholds based on pre-defined voltage ranges or system dynamic requirements includes: Receive system dynamic demand signals, including load change and ambient temperature change information; According to the dynamic demand signal, the threshold setting of the voltage monitoring circuit is adjusted to ensure that the high voltage or low voltage state can be accurately judged under different conditions.
4. The method according to claim 1, characterized in that: Based on the internal working conditions of the simulated chip, the performance under different VFB / VCS ratios is evaluated, including: Set simulation parameters, including the initial range and step value of the VFB / VCS ratio; Simulate the chip working status under different VFB / VCS ratios; Record and analyze the simulation results to determine the optimal VFB / VCS ratio.
5. The method according to claim 1, characterized in that Simulate the internal circuit structure and working conditions of the chip to obtain parameters including: Build a chip circuit model that includes all key components; Set the operating condition parameters in the model, including temperature and supply voltage; Run the model and collect circuit parameters under different operating conditions.
6. The method according to claim 1, characterized in that Adjusting the VFB / VCS ratio by changing the ratio of the chip's internal feedback voltage and comparison voltage includes: According to the simulation and test results, determine the VFB / VCS ratio range that needs to be adjusted; By adjusting the feedback network in the circuit, the ratio of the feedback voltage to the comparison voltage is changed; Monitor the adjusted peak current and switching frequency to verify the loss reduction effect.
7. The method according to claim 1, characterized in that Adjusting the VFB / VCS ratio to affect the peak current inside the chip, reducing the switching frequency and switching losses include: Apply the adjusted VFB / VCS ratio on the FPGA; Run a performance test program to collect chip performance data under the adjusted ratio; Use power consumption measurement tools to measure and record the energy consumption of the chip under different working states.
8. A flyback chip monitoring and evaluation system based on FPGA, characterized in that: The following steps are involved: The acquisition module is used to collect the real-time values of switching loss and conduction loss; An acquisition module is used to determine input high voltage or low voltage by monitoring the drain-source voltage Vds signal on the chip to obtain switching loss information; The measurement module is used to measure the on-resistance Rdson value inside the chip to obtain the conduction loss information; An adjustment module, used to adaptively adjust high and low voltage thresholds according to a predefined voltage range or system dynamic requirements; An evaluation module is used to evaluate the performance under different feedback voltage VFB / comparison voltage VCS ratios based on the internal working conditions of the simulated chip; A judgment module is used to set the judgment conditions of inputting high and low voltage using high and low voltage thresholds in simulation, and trigger corresponding operations and adjustments; The simulation module is used to simulate the internal circuit structure and working conditions of the chip to obtain parameters; The ratio module is used to adjust the VFB / VCS ratio by changing the ratio of the feedback voltage and the comparison voltage inside the chip; The current module is used to adjust the feedback voltage VFB / comparison voltage VCS ratio to affect the peak current inside the chip, reduce the switching frequency and switching loss; among them, In the simulation, high and low voltage thresholds are used to set the judgment conditions for inputting high and low voltages, and the corresponding operations and adjustments are triggered, including: Determine the current working voltage state according to the real-time monitored drain-source voltage Vds signal; Compare the high and low voltage thresholds with the monitored voltage status to trigger the corresponding simulation conditions; Adjust the voltage inputs in the simulation model to simulate the chip's response to high or low voltage conditions.
9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Power conversion circuit and feedback control circuit
CN102751872A
Multi-mode operation and control of a resonant converter
CN103296892A
