CN113741235A - Output power derating control circuit and method of equipment and storage medium - Google Patents

Output power derating control circuit and method of equipment and storage medium Download PDF

Info

Publication number
CN113741235A
CN113741235A CN202110829692.0A CN202110829692A CN113741235A CN 113741235 A CN113741235 A CN 113741235A CN 202110829692 A CN202110829692 A CN 202110829692A CN 113741235 A CN113741235 A CN 113741235A
Authority
CN
China
Prior art keywords
current
difference value
power supply
pwm signal
temperature
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.)
Pending
Application number
CN202110829692.0A
Other languages
Chinese (zh)
Inventor
杨宗禄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Luhua Technology Co ltd
Original Assignee
Shenzhen Luhua Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Luhua Technology Co ltd filed Critical Shenzhen Luhua Technology Co ltd
Priority to CN202110829692.0A priority Critical patent/CN113741235A/en
Publication of CN113741235A publication Critical patent/CN113741235A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Dc-Dc Converters (AREA)

Abstract

The invention discloses an output power derating control circuit of equipment, which comprises an MCU module, a voltage acquisition circuit, a driving module, a current acquisition module and a temperature acquisition module; the MCU module realizes the adjustment of the generated PWM signal by acquiring the power supply voltage of the power supply of the load equipment, the temperature of the driving module and the current in real time, so that the driving module is controlled to output corresponding power to the load equipment through the adjusted PWM signal, the adjustment of the input power of the load equipment is realized, and the problems that in the prior art, the chip is burnt or the service life is shortened due to the fact that the input power of a power device cannot be adjusted, and the function of a product is finally failed are solved. The invention also provides an output power de-rating control method of the equipment and a storage medium.

Description

Output power derating control circuit and method of equipment and storage medium
Technical Field
The present invention relates to power regulation of devices, and more particularly, to a circuit, method and storage medium for controlling output power de-rating of a device.
Background
At present, in the control of automobiles and parts thereof, in order to ensure the normal operation of each part and the use safety of users, when the parts are abnormal, corresponding functions are directly closed, namely, the automobiles enter a fault state, so that the operation safety of equipment is ensured. However, in the long-term use of the device, the input power of the device may not be consistent with the input power required for the actual operation of the device due to the difference and aging of each device, and the device is in a high-power state for a long time, which affects the operating efficiency of the device.
Disclosure of Invention
In order to overcome the defects of the prior art, an object of the present invention is to provide an output power derating control circuit of a device, which can solve the problems that the input power of a power device cannot be adjusted in the prior art.
The second objective of the present invention is to provide a method for controlling derating of output power of a device, which can solve the problem that the input power of a power device in the prior art cannot be adjusted.
The invention also aims to provide a storage medium which can solve the problems that the input power of a power device cannot be adjusted and the like in the prior art.
One of the purposes of the invention is realized by adopting the following technical scheme:
an output power derating control circuit of equipment comprises an MCU module, a voltage acquisition circuit, a driving module, a current acquisition module and a temperature acquisition module;
the MCU module is connected with the driving module through the PWM port and used for generating a PWM signal according to an external control instruction and sending the PWM signal to the driving module, so that the driving module provides output power for load equipment according to the PWM signal;
one end of the voltage acquisition circuit is connected with a power supply of the load equipment, and the other end of the voltage acquisition circuit is connected with the MCU module, and is used for acquiring the power supply voltage of the load equipment in real time and transmitting the power supply voltage to the MCU module; one end of the current acquisition module is electrically connected with the power module of the load equipment, and the other end of the current acquisition module is electrically connected with the MCU module, and is used for acquiring the current of the load equipment in real time and sending the current to the MCU module; the temperature acquisition module is connected with the power module of the load equipment and is used for acquiring the temperature of the load equipment in real time; the temperature acquisition module is electrically connected with the MCU module and is used for sending the temperature to the MCU module;
the MCU module is used for obtaining a first PWM signal according to an external instruction, calculating the first PWM signal and a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value, obtaining a voltage difference value according to a power voltage acquired in real time and a reference voltage preset by a system, obtaining a temperature difference value according to a temperature acquired in real time and a temperature threshold preset by the system, obtaining a current difference value according to a current acquired in real time and a current threshold preset by the system, adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the voltage difference value, the temperature difference value and the current difference value, generating a new real-time PWM signal according to the adjusted duty ratio of the PWM signal and transmitting the new real-time PWM signal to the driving module, and further providing corresponding output power to load equipment through the driving module.
Further, a communication module is included; the MCU module is in communication connection with the background monitoring system through the communication module and is used for receiving an external instruction sent by the background monitoring system and feeding back detection data and output power to the background monitoring system.
Further, the MCU module is configured to correct the power voltage difference according to a first scaling factor to obtain a corrected power voltage difference, correct the temperature difference according to a second scaling factor to obtain a corrected temperature difference, correct the current difference according to a third scaling factor to obtain a corrected current difference, correct the power voltage difference, the corrected temperature difference, and the corrected current difference to obtain a duty ratio of a new PWM signal according to the duty ratio difference, the corrected power voltage difference, the corrected temperature difference, and the corrected current difference, and obtain a new PWM signal according to the duty ratio of the new PWM signal;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the new PWM duty ratio is the duty ratio difference value + the corrected power supply voltage difference value + the corrected temperature difference value + the corrected current difference value.
Further, the first proportional coefficient, the second proportional coefficient and the third proportional coefficient are obtained by presetting or calculation through a parameter self-tuning method; the parameter self-tuning method specifically comprises the following steps: firstly, setting initial values for a first proportionality coefficient, a second proportionality coefficient and a third proportionality coefficient, and then gradually increasing the rest proportionality coefficient under the condition that any two proportionality coefficients are determined; and when the system generates periodic oscillation, gradually reducing the rest of the proportionality coefficients until the system stably and reliably works, and recording the value of the rest of the proportionality coefficients when the system stably works, namely the determined value of the rest of the proportionality coefficients.
Further, the MCU module is also used for storing the duty ratio of the real-time PWM signal obtained each time, the power supply voltage, the temperature and the current and the duty ratio of a new real-time PWM signal obtained by calculation into the system according to the acquisition time, analyzing the corresponding relation between the duty ratio of the real-time PWM signal of the load equipment and the power supply voltage, the temperature and the current according to historical data stored in the system and establishing a relation model;
the MCU module is also used for receiving the duty ratio, the power supply voltage, the temperature and the current of the real-time PWM signal and then carrying out matching calculation on the duty ratio, the power supply voltage, the temperature and the current with the relation model;
when the matching is successful, the MCU module is used for generating a new real-time PWM signal according to the matching result and sending the new real-time PWM signal to the driving module;
and when the matching is unsuccessful, the MCU module is used for respectively calculating corresponding difference values according to the real-time PWM signals, the power supply voltage, the temperature and the current, adjusting the duty ratio of the generated real-time PWM signals according to the corresponding difference values, generating new real-time PWM signals according to the adjusted duty ratio of the PWM signals and sending the new real-time PWM signals to the driving module.
The second purpose of the invention is realized by adopting the following technical scheme:
an output power de-rating control method of a device, the output power de-rating control method comprising:
an instruction acquisition step: acquiring an external instruction and according to the external instruction;
a signal acquisition step: acquiring a real-time PWM signal generated by the MCU module;
a data acquisition step: acquiring the power supply voltage of a power supply of load equipment, the current of the load equipment and the temperature of the load equipment in real time;
duty ratio calculation: obtaining a first PWM signal according to an external instruction, and comparing the first PWM signal with a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value;
voltage calculation: obtaining a voltage difference value according to the power supply voltage of the power supply acquired in real time and a reference voltage preset by the system;
current calculation step: obtaining a temperature difference value according to the temperature acquired in real time and a temperature threshold value preset by the system;
and a temperature calculation step: obtaining a current difference value according to the current acquired in real time and a current threshold preset by the system;
a signal adjusting step: and adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the voltage difference value, the temperature difference value and the current difference value.
Further, the acquired power supply voltage of the power supply of the load equipment is acquired through the acquisition AD acquisition module; the current of the load equipment is obtained by connecting a current detection resistor to a power module of the load equipment and calculating after collecting voltages at two ends of the current detection resistor; the temperature of the load equipment is obtained by connecting the thermistor to a power module of the load equipment and acquiring the resistance change of the thermistor.
Further, the signal adjusting step includes: firstly, correcting a power supply voltage difference value according to a first proportionality coefficient to obtain a corrected power supply voltage difference value, correcting a temperature difference value according to a second proportionality coefficient to obtain a corrected temperature difference value, correcting a current difference value according to a third proportionality coefficient to obtain a corrected temperature difference value, and then obtaining a new duty ratio of a PWM signal according to a duty ratio difference value, the corrected power supply voltage difference value, the corrected temperature difference value and the corrected current difference value;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the duty ratio of the new PWM signal is the duty ratio difference value + the corrected power supply voltage electrical difference value + the corrected temperature difference value + the corrected current difference value.
Further, the first proportional coefficient, the second proportional coefficient and the third proportional coefficient are obtained by presetting or calculation through a parameter self-tuning method; the parameter self-tuning method specifically comprises the following steps: firstly, setting initial values for a first proportionality coefficient, a second proportionality coefficient and a third proportionality coefficient, and then gradually increasing the rest proportionality coefficient under the condition that any two proportionality coefficients are determined; and when the system generates periodic oscillation, gradually reducing the rest of the proportionality coefficients until the system works stably, and recording the value of the rest of the proportionality coefficients when the system works stably, namely the determined value of the rest of the proportionality coefficients.
The third purpose of the invention is realized by adopting the following technical scheme:
a storage medium which is a computer-readable storage medium having stored thereon a computer program which is an output power derating control program that, when executed by a processor, implements the steps of an output power derating control method of an apparatus as employed in a second aspect of the present invention.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, the power supply voltage, the current, the temperature and the like of the power supply of the load equipment are detected in real time, and the PWM signal generated by the MCU module is adjusted according to the data result of the real-time detection, so that the output power of the driving module is adjusted, the input power of the load equipment is consistent with the power required by the actual load equipment, and the working efficiency of the equipment is improved.
Drawings
FIG. 1 is a block diagram of an output power de-rating control circuit of an apparatus according to the present invention;
FIG. 2 is a schematic diagram illustrating the flow of electrical signals of the MCU module shown in FIG. 1;
FIG. 3 is a flow chart of an output power de-rating control method for an apparatus according to the present invention;
fig. 4 is a detailed flowchart of step S4 in fig. 3.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Example one
As shown in fig. 1, the present invention provides an output power derating control circuit of a device, which includes an MCU (Micro controller Unit) module, a driving module, a voltage collecting module, and a communication module.
The MCU module is electrically connected with the load equipment through the driving module and used for driving the load equipment to work through the driving module. Preferably, the MCU module is electrically connected to the driving module through a PWM (Pulse Width Modulation) port, and is configured to generate a PWM signal and send the PWM signal to the driving module, so that the driving module provides output power to the load device to drive the load device to work. Specifically, the driving module is electrically connected to the load device through the power module, and is configured to output power to the load device through the power module according to the generated PWM signal, so as to drive the load device to operate.
Preferably, the MCU module is in communication connection with the background monitoring system through the communication module, and is configured to receive a control instruction sent by the background monitoring system, and further control the driving module to provide output power to the load device. Meanwhile, the MCU module also feeds back the output power provided by the driving module to the load equipment to the background monitoring system so as to detect the working condition of the load equipment. Preferably, the communication between the MCU module and the background monitoring center CAN be realized by a CAN (Controller Area Network) bus, a LIN (Local Interconnect Network) bus, a PWM port, and the like.
More preferably, one end of the voltage acquisition module is electrically connected to the power supply of the load device, and the other end of the voltage acquisition module is electrically connected to the MCU module, and is configured to acquire the power supply voltage of the power supply of the load device in real time and send the power supply voltage to the MCU module.
One end of the current acquisition module is electrically connected with the load equipment, and the other end of the current acquisition module is electrically connected with the MCU module, and is used for acquiring the current of the load equipment in real time and sending the current to the MCU module. The temperature acquisition module is connected with the load equipment and is used for acquiring the temperature of the load equipment in real time. The temperature acquisition module is also electrically connected with the MCU module and is used for sending the temperature of the load equipment acquired in real time to the MCU module. More preferably, the load device comprises a power module and a load device controller, wherein the power module is electrically connected with the driving module. The MCU module sends a signal of corresponding power to the power module of the load equipment through the driving module, and then drives the controller of the load equipment to work.
Specifically, the temperature acquisition module and the current acquisition module are respectively connected with the power module of the load device and are used for acquiring the temperature and the current of the power module of the load device.
In the process of long-term operation of the load equipment, the required input power of the load equipment can be changed due to aging of the device or other reasons, so that the input power of the load equipment can be adjusted according to the MCU module.
The MCU module generates a PWM signal by controlling the PWM generator and then sends the PWM signal to the driving module, so that the driving module provides corresponding output power to the load device.
In the working process of the load equipment, the MCU module acquires the power supply voltage of the power supply of the load equipment, the current of the driving module and the temperature of the driving module in real time through the voltage acquisition module, the current acquisition module and the temperature acquisition module, and adjusts the PWM signal generated by the MCU module according to the acquired power supply voltage of the power supply of the load equipment, the acquired current of the driving module and the acquired temperature of the driving module, so that the output power provided by the driving module to the load equipment can be adjusted.
The invention realizes the adjustment of the PWM signal by combining the power supply voltage of the power supply of the load equipment, the temperature of the driving module and the current of the driving module, realizes the adjustment of the output power, namely realizes the adjustment of the output power by multiple factors, and can improve the accuracy of the output power.
Preferably, the duty ratio of the generated PWM signal is adjusted by the MCU module, thereby realizing adjustment of the PWM signal.
In the actual adjustment process, a combination of one or more of the above factors may be selected according to the actual requirements. That is, the present invention controls the duty ratio of the PWM signal to the driving module by integrating external conditions, such as power supply voltage fluctuation, driving module temperature fluctuation, driving module current fluctuation, etc., and controls the driving module to give a certain driving capability when power supply abnormality, device aging, or load device characteristic change, etc., instead of the risk of device damage or even fire caused by complete shutdown, which may cause function loss or even product abnormality, or full load operation.
In particular, the present invention provides a specific embodiment to illustrate how to adjust the duty ratio of the PWM signal of the driving module.
After receiving an external instruction of the background monitoring system, the MCU module firstly generates a first PWM signal according to the external instruction. The first PWM signal is a PWM signal corresponding to an external instruction sent by the background monitoring system, and the signal may be considered as a theoretical value or an initial value.
The MCU module also acquires a real-time PWM signal generated by the PWM generator in real time. The real-time PWM signal may be the same as the first PWM signal or may be different. For example, when the system is initially started, the two signals are the same, and after the system works for a period of time, the real-time PWM signal is adjusted according to the actual situation, which is different from the first PWM signal. The invention aims at the adjustment of real-time PWM signals.
And after the first PWM signal and the real-time PWM signal are obtained, calculating a duty ratio difference D1 according to the duty ratio of the first PWM signal and the duty ratio of the real-time PWM signal.
The MCU module compares the power supply voltage of the power supply of the load equipment acquired in real time with a reference voltage preset by a system to obtain a power supply voltage difference D2.
Similarly, the MCU module compares the temperature of the driving module collected in real time with a preset temperature threshold of the system to obtain a temperature difference D3.
The MCU module compares the current of the driving module collected in real time with a current threshold preset by the system to obtain a current difference D4.
And the MCU module adjusts the duty ratio of the PWM signal generated by the MCU module according to the duty ratio difference D1, the power supply voltage difference D2, the temperature difference D3 and the current difference D4, generates a new PWM signal according to the adjusted duty ratio of the PWM signal and sends the new PWM signal to the driving module, so that the driving module provides corresponding output power for the load equipment, and the adjustment of the input power of the load equipment is realized.
Similarly, the MCU module may adjust the input power of the load device according to the data result acquired each time according to the above method until the obtained input power of the load device tends to be stable. That is, the present invention can match the real-time output power to the load device with the actual power voltage, temperature, current, etc. by the above adjusting method, thereby facilitating the work of the load device.
Preferably, in order to ensure the accuracy of the calculation process, the MCU module keeps consistent with the acquisition cycle of the real-time PWM signal, the power supply voltage of the power supply of the load device, the temperature of the driving module, and the current of the driving module. Such as timing the acquisition of corresponding data to each module.
Preferably, the MCU module further corrects the power voltage difference D2, the temperature difference D3, and the temperature difference D4. Wherein, the corrected power supply voltage difference is the power supply voltage difference D2/the first scale factor a + the power supply voltage difference D2; the corrected temperature difference is equal to the temperature difference D3/the second proportionality coefficient B + the temperature difference D3; the corrected current difference is the current difference D4/the third scaling factor C + the current difference D4.
The duty ratio of the adjusted PWM signal is the duty ratio difference D1+ the corrected power supply voltage difference + the corrected temperature difference + the corrected current difference.
The scaling factor A, B, C may be set in advance, or may be determined by a parameter self-tuning method. Preferably, the present invention provides a specific example to illustrate the determination concept of the above three scaling factors: firstly, according to experience, B, C is set to be infinite, A is set to be a small value, A is gradually increased until the system generates periodic oscillation, and A is gradually decreased until the system is sufficiently stable, wherein the value of A is a determined value.
Similarly, the values of B and C are determined, and the determined values of scaling factor A, B, C are stored in the system.
Preferably, the value of the proportionality coefficient A, B, C is set at the initial time of the system, or at regular time, for example, after the system is operated for a period of time, the value of the proportionality coefficient A, B, C is determined again according to the method described above.
Preferably, the voltage acquisition module in the present invention may adopt an AD acquisition module to acquire the power supply voltage of the power supply of the load device. The acquisition range of the AD acquisition module is wider. The current acquisition module can be realized by a current detection resistor. The temperature acquisition module can be realized by a thermistor and also can be realized by a device for acquiring the voltage drop at two ends of a power device in the driving module.
Preferably, as shown in fig. 2, the present invention further provides an electrical signal transmission schematic diagram of the MCU module, the MUC module receives an external control instruction D, and adjusts the duty ratio Dt of the PWM signal generated by the PWM generator by receiving the power voltage Ut collected by the voltage collection module, the current feedback value It of the driving module, the temperature feedback value Tt of the driving module, and the reference voltage U, the temperature limit value T, and the current limit value I preset by the system. Where t refers to the time each time data is acquired.
Preferably, when the duty ratio of the PWM signal is adjusted each time, the acquired duty ratio of the real-time PWM signal, the power supply voltage, the temperature, the current of the power supply, and the adjusted duty ratio of the PWM signal are stored in the system, and the data are stored by the MCU module, so that the historical data stored in the system is analyzed to obtain the corresponding relationship between the duty ratio of the real-time PWM signal and the power supply voltage, the temperature, and the current of the power supply, and a relationship model is established. Therefore, when the MCU module collects the duty ratio of the real-time PWM signal, the power supply voltage, the temperature and the current of the power supply, the MCU module can be matched with a relation model in a system. If the matching is successful, the MCU module can directly generate a new real-time PWM signal according to the duty ratio of the real-time PWM signal in the matching result; and if the matching is unsuccessful, the MCU module calculates the duty ratio of a new real-time PWM signal according to the calculation method and generates the new real-time PWM signal. That is, according to the invention, the corresponding relation model is established in the system according to the historical data, so that the duty ratio of the real-time PWM signal can be adjusted through matching the relation model, that is, the duty ratio of the corresponding real-time PWM signal is obtained through matching the historical data, and the adjustment of the PWM signal can be rapidly realized.
Example two
Based on the first embodiment, the present invention provides a method for controlling derating of output power of a device, as shown in fig. 3, including the following steps:
and step S1, obtaining an external instruction through the MCU module.
And step S2, acquiring the real-time PWM signal generated by the MCU module through the MCU module.
And step S3, acquiring the power supply voltage of the power supply of the load equipment, the current of the load equipment and the temperature of the load equipment in real time through the MCU module.
And step S4, adjusting the real-time PWM signal generated by the MCU module according to an external instruction and by combining the power supply voltage, the current of the load equipment and the temperature of the load equipment which are acquired in real time through the MCU module, and controlling the driving module to output corresponding power to the load equipment according to the adjusted PWM signal.
Further, the driving module outputs corresponding power to the load device through the power module.
Further, as shown in fig. 4, the step S4 further includes:
step S41, obtaining a first PWM signal according to an external instruction, and comparing the first PWM signal with a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value;
step S42, obtaining a power supply voltage difference value according to the power supply voltage of the power supply collected in real time and a reference voltage preset by the system;
step S43, obtaining a temperature difference value according to the temperature collected in real time and a temperature threshold value preset by the system;
step S44, obtaining a current difference value according to the current collected in real time and a current threshold preset by the system;
and step S45, adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the power supply voltage difference value, the temperature difference value and the current difference value.
Preferably, step S45 further includes: firstly, correcting a power supply voltage difference value according to a first proportionality coefficient to obtain a corrected power supply voltage difference value, correcting a temperature difference value according to a second proportionality coefficient to obtain a corrected temperature difference value, correcting a current difference value according to a third proportionality coefficient to obtain a corrected temperature difference value, and then obtaining a new duty ratio of a PWM signal according to a duty ratio difference value, the corrected power supply voltage difference value, the corrected temperature difference value and the corrected current difference value;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the duty ratio of the new PWM signal is the duty ratio difference value + the corrected power supply voltage electrical difference value + the corrected temperature difference value + the corrected current difference value.
In addition, the first proportional coefficient, the second proportional coefficient and the third proportional coefficient are preset or calculated by a parameter self-tuning method.
EXAMPLE III
An output power de-rating control apparatus of a device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being an output power de-rating control program, the processor implementing the following steps when executing the output power de-rating control program:
an instruction acquisition step: acquiring an external instruction and according to the external instruction;
a signal acquisition step: acquiring a real-time PWM signal generated by the MCU module;
a data acquisition step: acquiring the power supply voltage of a power supply of load equipment, the current of the load equipment and the temperature of the load equipment in real time;
duty ratio calculation: obtaining a first PWM signal according to an external instruction, and comparing the first PWM signal with a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value;
voltage calculation: obtaining a voltage difference value according to the power supply voltage of the power supply acquired in real time and a reference voltage preset by the system;
current calculation step: obtaining a temperature difference value according to the temperature acquired in real time and a temperature threshold value preset by the system;
and a temperature calculation step: obtaining a current difference value according to the current acquired in real time and a current threshold preset by the system;
a signal adjusting step: and adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the voltage difference value, the temperature difference value and the current difference value.
Further, the acquired power supply voltage of the power supply of the load equipment is acquired through the acquisition AD acquisition module; the current of the load equipment is obtained by connecting a current detection resistor to a power module of the load equipment and calculating after collecting voltages at two ends of the current detection resistor; the temperature of the load equipment is obtained by connecting the thermistor to a power module of the load equipment and acquiring the resistance change of the thermistor.
Further, the signal adjusting step includes: firstly, correcting a power supply voltage difference value according to a first proportionality coefficient to obtain a corrected power supply voltage difference value, correcting a temperature difference value according to a second proportionality coefficient to obtain a corrected temperature difference value, correcting a current difference value according to a third proportionality coefficient to obtain a corrected temperature difference value, and then obtaining a new duty ratio of a PWM signal according to a duty ratio difference value, the corrected power supply voltage difference value, the corrected temperature difference value and the corrected current difference value;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the duty ratio of the new PWM signal is the duty ratio difference value + the corrected power supply voltage electrical difference value + the corrected temperature difference value + the corrected current difference value.
Further, the first proportional coefficient, the second proportional coefficient and the third proportional coefficient are obtained by presetting or calculation through a parameter self-tuning method; the parameter self-tuning method specifically comprises the following steps: firstly, setting initial values for a first proportionality coefficient, a second proportionality coefficient and a third proportionality coefficient, and then gradually increasing the rest proportionality coefficient under the condition that any two proportionality coefficients are determined; and when the system generates periodic oscillation, gradually reducing the rest of the proportionality coefficients until the system works stably, and recording the value of the rest of the proportionality coefficients when the system works stably, namely the determined value of the rest of the proportionality coefficients.
Example four
The present invention also provides a storage medium, which is a computer-readable storage medium having a computer program stored thereon, the computer program being an output power de-rating control program; the output power derating control program, when executed by the processor, performs the steps of:
an instruction acquisition step: acquiring an external instruction and according to the external instruction;
a signal acquisition step: acquiring a real-time PWM signal generated by the MCU module;
a data acquisition step: acquiring the power supply voltage of a power supply of load equipment, the current of the load equipment and the temperature of the load equipment in real time;
duty ratio calculation: obtaining a first PWM signal according to an external instruction, and comparing the first PWM signal with a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value;
voltage calculation: obtaining a voltage difference value according to the power supply voltage of the power supply acquired in real time and a reference voltage preset by the system;
current calculation step: obtaining a temperature difference value according to the temperature acquired in real time and a temperature threshold value preset by the system;
and a temperature calculation step: obtaining a current difference value according to the current acquired in real time and a current threshold preset by the system;
a signal adjusting step: and adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the voltage difference value, the temperature difference value and the current difference value.
Further, the acquired power supply voltage of the power supply of the load equipment is acquired through the acquisition AD acquisition module; the current of the load equipment is obtained by connecting a current detection resistor to a power module of the load equipment and calculating after collecting voltages at two ends of the current detection resistor; the temperature of the load equipment is obtained by connecting the thermistor to a power module of the load equipment and acquiring the resistance change of the thermistor.
Further, the signal adjusting step includes: firstly, correcting a power supply voltage difference value according to a first proportionality coefficient to obtain a corrected power supply voltage difference value, correcting a temperature difference value according to a second proportionality coefficient to obtain a corrected temperature difference value, correcting a current difference value according to a third proportionality coefficient to obtain a corrected temperature difference value, and then obtaining a new duty ratio of a PWM signal according to a duty ratio difference value, the corrected power supply voltage difference value, the corrected temperature difference value and the corrected current difference value;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the duty ratio of the new PWM signal is the duty ratio difference value + the corrected power supply voltage electrical difference value + the corrected temperature difference value + the corrected current difference value.
Further, the first proportional coefficient, the second proportional coefficient and the third proportional coefficient are obtained by presetting or calculation through a parameter self-tuning method; the parameter self-tuning method specifically comprises the following steps: firstly, setting initial values for a first proportionality coefficient, a second proportionality coefficient and a third proportionality coefficient, and then gradually increasing the rest proportionality coefficient under the condition that any two proportionality coefficients are determined; and when the system generates periodic oscillation, gradually reducing the rest of the proportionality coefficients until the system works stably, and recording the value of the rest of the proportionality coefficients when the system works stably, namely the determined value of the rest of the proportionality coefficients.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (10)

1. The output power derating control circuit of the equipment is characterized by comprising an MCU module, a voltage acquisition circuit, a driving module, a current acquisition module and a temperature acquisition module;
the MCU module is connected with the driving module through the PWM port and used for generating a PWM signal according to an external control instruction and sending the PWM signal to the driving module, so that the driving module provides output power for load equipment according to the PWM signal;
one end of the voltage acquisition circuit is connected with a power supply of the load equipment, and the other end of the voltage acquisition circuit is connected with the MCU module, and is used for acquiring the power supply voltage of the load equipment in real time and transmitting the power supply voltage to the MCU module; one end of the current acquisition module is electrically connected with the power module of the load equipment, and the other end of the current acquisition module is electrically connected with the MCU module, and is used for acquiring the current of the load equipment in real time and sending the current to the MCU module; the temperature acquisition module is connected with the power module of the load equipment and is used for acquiring the temperature of the load equipment in real time; the temperature acquisition module is electrically connected with the MCU module and is used for sending the temperature to the MCU module;
the MCU module is used for obtaining a first PWM signal according to an external instruction, calculating the first PWM signal and a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value, obtaining a voltage difference value according to a power voltage acquired in real time and a reference voltage preset by a system, obtaining a temperature difference value according to a temperature acquired in real time and a temperature threshold preset by the system, obtaining a current difference value according to a current acquired in real time and a current threshold preset by the system, adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the voltage difference value, the temperature difference value and the current difference value, generating a new real-time PWM signal according to the adjusted duty ratio of the PWM signal and transmitting the new real-time PWM signal to the driving module, and further providing corresponding output power to load equipment through the driving module.
2. The output power de-rating control circuit of a device of claim 1, comprising a communication module; the MCU module is in communication connection with the background monitoring system through the communication module and is used for receiving an external instruction sent by the background monitoring system and feeding back detection data and output power to the background monitoring system.
3. The output power derating control circuit of an apparatus according to claim 1, wherein the MCU module is configured to correct the power voltage difference according to a first scaling factor to obtain a corrected power voltage difference, correct the temperature difference according to a second scaling factor to obtain a corrected temperature difference, correct the current difference according to a third scaling factor to obtain a corrected current difference, and obtain a new duty ratio of the PWM signal according to the duty ratio difference, the corrected power voltage difference, the corrected temperature difference, and the corrected current difference, and obtain a new PWM signal according to the duty ratio of the new PWM signal;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the new PWM duty ratio is the duty ratio difference value + the corrected power supply voltage difference value + the corrected temperature difference value + the corrected current difference value.
4. The output power derating control circuit of a device according to claim 3, wherein the first scaling factor, the second scaling factor, and the third scaling factor are preset or calculated by a parameter self-tuning method; the parameter self-tuning method specifically comprises the following steps: firstly, setting initial values for a first proportionality coefficient, a second proportionality coefficient and a third proportionality coefficient, and then gradually increasing the rest proportionality coefficient under the condition that any two proportionality coefficients are determined; and when the system generates periodic oscillation, gradually reducing the rest of the proportionality coefficients until the system stably and reliably works, and recording the value of the rest of the proportionality coefficients when the system stably works, namely the determined value of the rest of the proportionality coefficients.
5. The output power derating control circuit of equipment according to claim 1, wherein the MCU module is further configured to store the duty cycle of the real-time PWM signal obtained each time, the power voltage, the temperature, the current, and the duty cycle of the new real-time PWM signal calculated in accordance with the acquisition time in the system, analyze the correspondence between the duty cycle of the real-time PWM signal of the load equipment and the power voltage, the temperature, and the current according to the historical data stored in the system, and build a relationship model;
the MCU module is also used for receiving the duty ratio, the power supply voltage, the temperature and the current of the real-time PWM signal and then carrying out matching calculation on the duty ratio, the power supply voltage, the temperature and the current with the relation model;
when the matching is successful, the MCU module is used for generating a new real-time PWM signal according to the matching result and sending the new real-time PWM signal to the driving module;
and when the matching is unsuccessful, the MCU module is used for respectively calculating corresponding difference values according to the real-time PWM signals, the power supply voltage, the temperature and the current, adjusting the duty ratio of the generated real-time PWM signals according to the corresponding difference values, generating new real-time PWM signals according to the adjusted duty ratio of the PWM signals and sending the new real-time PWM signals to the driving module.
6. An output power de-rating control method of a device, the output power de-rating control method comprising:
an instruction acquisition step: acquiring an external instruction and according to the external instruction;
a signal acquisition step: acquiring a real-time PWM signal generated by the MCU module;
a data acquisition step: acquiring the power supply voltage of a power supply of load equipment, the current of the load equipment and the temperature of the load equipment in real time;
duty ratio calculation: obtaining a first PWM signal according to an external instruction, and comparing the first PWM signal with a real-time PWM signal generated by the MCU module to obtain a duty ratio difference value;
voltage calculation: obtaining a voltage difference value according to the power supply voltage of the power supply acquired in real time and a reference voltage preset by the system;
current calculation step: obtaining a temperature difference value according to the temperature acquired in real time and a temperature threshold value preset by the system;
and a temperature calculation step: obtaining a current difference value according to the current acquired in real time and a current threshold preset by the system;
a signal adjusting step: and adjusting the duty ratio of the real-time PWM signal generated by the MCU module according to the duty ratio difference value, the voltage difference value, the temperature difference value and the current difference value.
7. The output power derating control method of a device according to claim 6, wherein the power supply voltage of the power supply of the load device is acquired by an acquisition AD acquisition module; the current of the load equipment is obtained by connecting a current detection resistor to a power module of the load equipment and calculating after collecting voltages at two ends of the current detection resistor; the temperature of the load equipment is obtained by connecting the thermistor to a power module of the load equipment and acquiring the resistance change of the thermistor.
8. The method of claim 6, wherein the signal conditioning step comprises: firstly, correcting a power supply voltage difference value according to a first proportionality coefficient to obtain a corrected power supply voltage difference value, correcting a temperature difference value according to a second proportionality coefficient to obtain a corrected temperature difference value, correcting a current difference value according to a third proportionality coefficient to obtain a corrected temperature difference value, and then obtaining a new duty ratio of a PWM signal according to a duty ratio difference value, the corrected power supply voltage difference value, the corrected temperature difference value and the corrected current difference value;
wherein, the corrected power supply voltage difference is equal to the power supply voltage difference/the first scale factor + the power supply voltage difference; the corrected temperature difference is equal to the temperature difference/a second proportionality coefficient + the temperature difference; the corrected current difference is equal to the power supply voltage difference/a third proportionality coefficient + the current difference; and the duty ratio of the new PWM signal is the duty ratio difference value + the corrected power supply voltage electrical difference value + the corrected temperature difference value + the corrected current difference value.
9. The output power derating control method of a device according to claim 8, wherein the first proportional coefficient, the second proportional coefficient, and the third proportional coefficient are preset or calculated by a parameter self-tuning method; the parameter self-tuning method specifically comprises the following steps: firstly, setting initial values for a first proportionality coefficient, a second proportionality coefficient and a third proportionality coefficient, and then gradually increasing the rest proportionality coefficient under the condition that any two proportionality coefficients are determined; and when the system generates periodic oscillation, gradually reducing the rest of the proportionality coefficients until the system works stably, and recording the value of the rest of the proportionality coefficients when the system works stably, namely the determined value of the rest of the proportionality coefficients.
10. A storage medium which is a computer-readable storage medium having a computer program stored thereon, the computer program being an output power de-rating control program, characterized in that: the output power de-rating control program when executed by a processor implements the steps of an output power de-rating control method of an apparatus as claimed in any one of claims 6 to 9.
CN202110829692.0A 2021-07-22 2021-07-22 Output power derating control circuit and method of equipment and storage medium Pending CN113741235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110829692.0A CN113741235A (en) 2021-07-22 2021-07-22 Output power derating control circuit and method of equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110829692.0A CN113741235A (en) 2021-07-22 2021-07-22 Output power derating control circuit and method of equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113741235A true CN113741235A (en) 2021-12-03

Family

ID=78728952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110829692.0A Pending CN113741235A (en) 2021-07-22 2021-07-22 Output power derating control circuit and method of equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113741235A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114200984A (en) * 2021-12-10 2022-03-18 黄山奥仪电器有限公司 15 way combination unification electric current type temperature controller
CN114590212A (en) * 2022-02-08 2022-06-07 南京司凯奇汽车科技有限公司 Integrated circuit control system for heavy truck based on power assembly

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008037511A1 (en) * 2006-09-28 2008-04-03 Continental Automotive Gmbh Circuit arrangement and method for pwm control of an electrical load
CN101777828A (en) * 2010-02-23 2010-07-14 广东美的电器股份有限公司 Control device with compensatory active PFC (power factor correction) and control method thereof
CN102480228A (en) * 2010-11-26 2012-05-30 炬力集成电路设计有限公司 Switching power control system and method thereof
DE102013016770A1 (en) * 2012-10-16 2014-04-17 Fanuc Corporation A motor control device for controlling a plurality of motors that drive a driven body
WO2014082358A1 (en) * 2012-11-30 2014-06-05 上海拜骋电器有限公司 Controller and control method for electronic switch, electronic switch and electronic device
WO2014154155A1 (en) * 2013-03-27 2014-10-02 梅特勒-托利多(常州)精密仪器有限公司 Can bus explosion-proof network and explosion-proof node structure for same
CN204134714U (en) * 2014-08-22 2015-02-04 苏州大学 non-contact ultrasonic cracking system
CN106026978A (en) * 2016-05-11 2016-10-12 广州视源电子科技股份有限公司 Pulse-width modulation (PWM) circuit duty ratio adjustment method and system for blood pressure measurement device
CN106455211A (en) * 2016-10-09 2017-02-22 浙江大学城市学院 Control method for novel same-power universal driving power supply for LED lamp
CN106802679A (en) * 2017-03-31 2017-06-06 中国科学技术大学 A kind of low interference driving method and the device of high power for TEC
CN106949656A (en) * 2017-04-01 2017-07-14 常州光电技术研究所 A kind of high accuracy temperature control method for sterlin refrigerator
CN108614167A (en) * 2016-12-09 2018-10-02 株洲中车时代电气股份有限公司 A kind of (PCC) power failure logging diagnostic system and method
CN110196613A (en) * 2019-05-28 2019-09-03 电子科技大学 A kind of power supply device for DUT in integrated circuit test system
CN212321844U (en) * 2020-09-17 2021-01-08 北京标融科技发展有限公司 Sonar transmitter and imaging sonar

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008037511A1 (en) * 2006-09-28 2008-04-03 Continental Automotive Gmbh Circuit arrangement and method for pwm control of an electrical load
CN101777828A (en) * 2010-02-23 2010-07-14 广东美的电器股份有限公司 Control device with compensatory active PFC (power factor correction) and control method thereof
CN102480228A (en) * 2010-11-26 2012-05-30 炬力集成电路设计有限公司 Switching power control system and method thereof
DE102013016770A1 (en) * 2012-10-16 2014-04-17 Fanuc Corporation A motor control device for controlling a plurality of motors that drive a driven body
WO2014082358A1 (en) * 2012-11-30 2014-06-05 上海拜骋电器有限公司 Controller and control method for electronic switch, electronic switch and electronic device
WO2014154155A1 (en) * 2013-03-27 2014-10-02 梅特勒-托利多(常州)精密仪器有限公司 Can bus explosion-proof network and explosion-proof node structure for same
CN204134714U (en) * 2014-08-22 2015-02-04 苏州大学 non-contact ultrasonic cracking system
CN106026978A (en) * 2016-05-11 2016-10-12 广州视源电子科技股份有限公司 Pulse-width modulation (PWM) circuit duty ratio adjustment method and system for blood pressure measurement device
CN106455211A (en) * 2016-10-09 2017-02-22 浙江大学城市学院 Control method for novel same-power universal driving power supply for LED lamp
CN108614167A (en) * 2016-12-09 2018-10-02 株洲中车时代电气股份有限公司 A kind of (PCC) power failure logging diagnostic system and method
CN106802679A (en) * 2017-03-31 2017-06-06 中国科学技术大学 A kind of low interference driving method and the device of high power for TEC
CN106949656A (en) * 2017-04-01 2017-07-14 常州光电技术研究所 A kind of high accuracy temperature control method for sterlin refrigerator
CN110196613A (en) * 2019-05-28 2019-09-03 电子科技大学 A kind of power supply device for DUT in integrated circuit test system
CN212321844U (en) * 2020-09-17 2021-01-08 北京标融科技发展有限公司 Sonar transmitter and imaging sonar

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邱化元,郭殿杰主编: "集散控制系统 过程控制发展的新技术", 《集散控制系统 过程控制发展的新技术 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114200984A (en) * 2021-12-10 2022-03-18 黄山奥仪电器有限公司 15 way combination unification electric current type temperature controller
CN114200984B (en) * 2021-12-10 2022-09-27 黄山奥仪电器有限公司 15 way combination unification electric current type temperature controller
CN114590212A (en) * 2022-02-08 2022-06-07 南京司凯奇汽车科技有限公司 Integrated circuit control system for heavy truck based on power assembly

Similar Documents

Publication Publication Date Title
CN113741235A (en) Output power derating control circuit and method of equipment and storage medium
EP3361631B1 (en) Current-voltage curve scan method for photovoltaic module, and optimizer
US9839967B2 (en) System and method for real-time computation and reporting of welding machine performance and metrics
CN106558882B (en) Self-adaptive adjusting device and method for power supply voltage of remote end of power supply book
US20120169311A1 (en) Current Share Configuration in a Power Converter System
US8854848B1 (en) Power supplying device having programmable current-balancing control
CN105610333A (en) Systems, methods, and apparatus for operating a power converter
CN112994158A (en) Power operation autonomous management system
KR20080066846A (en) Converter for recovering electric power
CN211930498U (en) Starting circuit, series resonance conversion device and switching power supply
KR102369338B1 (en) System and method for auxiliary battery connection status diagnostic
EP2789084B1 (en) Method for operating a power converter module and a device therefor
CN115021562B (en) Drive chip, control method thereof and electronic equipment
EP2306213B1 (en) Power saving system for household electric appliance
CN111089413B (en) Power supply management method and device and multi-online system
CN115441722A (en) Power management chip and control system
JP2022188801A (en) Serial connection power source system
CN111433619A (en) Adapter aging detection method and device for equipment to be charged
JP2012095508A (en) Power conditioner
CN116114131A (en) Power supply system and power supply unit
CN114337541A (en) IV scanning method of photovoltaic module and photovoltaic system
KR20210066406A (en) Motor drive system with correction function of temperature deviation of igbt module
CN110707513A (en) Temperature adjusting method and system of laser and computer readable storage medium
CN117240084B (en) Switching power supply circuit
EP3518403B1 (en) Device for eliminating slope in output voltage of switcher power converter in plc module

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211203