CN117914108B - Arbitrary current generation system and method based on H-bridge state feedback - Google Patents

Arbitrary current generation system and method based on H-bridge state feedback Download PDF

Info

Publication number
CN117914108B
CN117914108B CN202410259773.5A CN202410259773A CN117914108B CN 117914108 B CN117914108 B CN 117914108B CN 202410259773 A CN202410259773 A CN 202410259773A CN 117914108 B CN117914108 B CN 117914108B
Authority
CN
China
Prior art keywords
bridge
current
target
module
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410259773.5A
Other languages
Chinese (zh)
Other versions
CN117914108A (en
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.)
Careray Digital Medical System Co ltd
Original Assignee
Careray Digital Medical System 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 Careray Digital Medical System Co ltd filed Critical Careray Digital Medical System Co ltd
Priority to CN202410259773.5A priority Critical patent/CN117914108B/en
Publication of CN117914108A publication Critical patent/CN117914108A/en
Application granted granted Critical
Publication of CN117914108B publication Critical patent/CN117914108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0009Devices or circuits for detecting current in a converter
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/08Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/08Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
    • H02M1/088Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters for the simultaneous control of series or parallel connected semiconductor devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/32Means for protecting converters other than automatic disconnection

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention discloses an arbitrary current generation system and method based on H bridge state feedback, wherein a PWM module in the system generates a PWM signal; the H-bridge setting module determines a target working state of the H-bridge circuit according to the PWM signal; the first control module converts the PWM signal into a target PWM signal and outputs the target PWM signal to the H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal when receiving the target PWM signal; wherein the target PWM signal is obtained by: the H-bridge state acquisition module acquires the actual working state of the H-bridge circuit in real time; the H-bridge feedback operation module determines H-bridge compensation quantity according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and transmits the H-bridge compensation quantity to the first control module; the first control module determines a target PWM signal based on the PWM signal and the H-bridge compensation amount. The invention can accurately output any target current signal in the rated working parameters of the input power supply and the system hardware.

Description

Arbitrary current generation system and method based on H-bridge state feedback
Technical Field
The invention relates to the technical field of power electronic control, in particular to an arbitrary current generation system and method based on H-bridge state feedback.
Background
In the field of power electronics, an H-bridge driving circuit based on MOS tubes can control the on-off of energy loaded at the later stage by controlling the conduction of an upper tube and a lower tube. The energy and polarity loaded at the rear stage can be controlled by controlling the duty ratio of the driving end of the double H bridge; after the output of the H bridge is subjected to proper filtering, the available output of the rear stage is generated, and compared with a control mode in a resistor area of a transistor device, the control method has the advantages of low heating, high efficiency and the like.
In order to make the output part as accurate as possible, an accurate waveform control signal is usually generated in the control system first, and is loaded in the H-bridge control part, and the final output value after filtering is collected and compared with the design value for feedback adjustment. The common tuning mode is that, assuming that the responsiveness of the output of the H-bridge to the control signal applied to the H-bridge is approximately linear, the equivalent current thereof passes through a filter aiming at the switching frequency to filter out the high-frequency component, and only the required low-frequency component is remained; at this time, the difference between the final output and the design value is measured, and then the final output is compensated by the control system to correct the output to be close to the design value; the mode lacks of actual monitoring and control of H bridge output, and the problems of complex design requirements of a control system and high output feedback difficulty often occur.
In addition, in practical applications, delay and frequency response of the H-bridge and the H-bridge driver are not uniform. The device with excellent performance is high in price, the control accuracy is easy to be reduced due to the aging of the device in use, the control system has certain randomness in terms of changes of heat, electromagnetic environment and the like along with the environmental working condition, and the response of output to actual design values and the accuracy are affected. Meanwhile, as the switching frequency of the H bridge changes, the switching loss is increased, and the control uncertainty of the actually available post-stage output is further increased, so that the problem that the output cannot be controlled with high precision is more remarkable.
The above disclosure of background art is only for aiding in understanding the inventive concept and technical solution of the present application, and it does not necessarily belong to the prior art of the present patent application, nor does it necessarily give technical teaching; the above background should not be used to assess the novelty and creativity of the present application in the event that no clear evidence indicates that such is already disclosed prior to the filing date of the present patent application.
Disclosure of Invention
The invention aims to provide an arbitrary current generation system and method based on H-bridge state feedback, which can accurately output an arbitrary target current signal within rated working parameters of an input power supply and system hardware by respectively correcting the current quantity output by the system and the working state of an H-bridge circuit.
In order to achieve the above purpose, the invention adopts the following technical scheme:
An arbitrary current generation system based on H bridge state feedback is used for controlling an H bridge circuit to output a first target current signal, and the system comprises a PWM module, an H bridge setting module, a first control module, an H bridge driving module, an H bridge circuit, an H bridge state acquisition module and an H bridge feedback operation module which are electrically connected in sequence; wherein,
The PWM module is configured to generate a PWM signal and output the PWM signal to the H-bridge setting module;
the H-bridge setting module is configured to determine a target working state of the H-bridge circuit according to the PWM signal and transmit the received PWM signal to the first control module;
The first control module is configured to convert the PWM signal into a target PWM signal and output the target PWM signal to the H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal in response to receiving the target PWM signal; wherein the target PWM signal is obtained by:
The H-bridge state acquisition module acquires the actual working state of the H-bridge circuit in real time and transmits the actual working state to the H-bridge feedback operation module;
the input end of the H-bridge feedback operation module is also electrically connected with the output end of the H-bridge setting module, and the H-bridge compensation quantity is determined according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and is transmitted to the first control module;
the first control module determines the target PWM signal based on the PWM signal and the H-bridge compensation amount.
Further, the system further comprises a current setting module, a second control module, an H-bridge post-stage circuit, a current sampling module and a current feedback operation module;
the current setting module is configured to input a target current parameter, wherein the current parameter at least comprises a current waveform, an amplitude and a frequency;
The input end of the H bridge post-stage circuit is electrically connected with the output end of the H bridge circuit and is configured to process an actual first current signal output by the H bridge circuit to obtain a second current signal and output the second current signal;
the input end of the current sampling module is electrically connected with the output end of the H-bridge post-stage circuit, and is configured to acquire the second current signal, determine an actual output current parameter corresponding to the second current signal and transmit the actual output current parameter to the current feedback operation module;
The input end of the current feedback operation module is electrically connected with the output ends of the current setting module and the current sampling module respectively, and the current feedback operation module is configured to determine a current compensation amount according to the target current parameter and the actual output current parameter;
the input end of the second control module is electrically connected with the output ends of the current setting module and the current feedback operation module respectively, and is configured to determine the compensated current parameter according to the target current parameter and the current compensation quantity and output the current parameter to the PWM module;
The PWM module is configured to generate a PWM signal according to the compensated current parameter and output the PWM signal.
Further, any one or a combination of the foregoing, the current compensation amount is determined by: determining the difference value between the target current parameter and the actual output current parameter as the current compensation quantity;
The compensated current parameter is determined by: and determining the sum of the target current parameter and the current compensation quantity as the compensated current parameter.
Further, in any one or a combination of the foregoing aspects, the H-bridge post-stage circuit includes a filter circuit, where the filter circuit is configured to perform filter processing on the actual first current signal and output the filtered first current signal; and/or the number of the groups of groups,
The H-bridge post-stage circuit comprises an amplifying circuit, and the amplifying circuit is used for amplifying and outputting the actual first current signal.
Further, the system of any one or combination of the preceding claims, further comprising an isolation device disposed between the first control module and the H-bridge drive module configured to isolate the first control module and the H-bridge drive module from coupling.
Further, in combination with any one or more of the preceding claims, the isolation device includes a buffer.
Further, the working state of the H-bridge circuit includes the working state of each switch element thereof according to any one or a combination of the foregoing technical aspects;
the H-bridge state acquisition module acquires the actual working state of the H-bridge circuit in real time, and the H-bridge state acquisition module acquires level signals output by all switch pieces in the H-bridge circuit in real time.
Further, in any one or a combination of the foregoing aspects, determining the H-bridge compensation amount according to the target operating state of the H-bridge circuit and the actual operating state of the H-bridge circuit includes:
Calculating amplitude differences and phase differences of target output level signals and actual output level signals of all switching elements in the H bridge circuit, wherein the target output level signals of all switching elements are determined according to target working states of the H bridge circuit;
And determining the amplitude difference and the phase difference of the target output level signal and the actual output level signal of each switch element in the H bridge circuit as the H bridge compensation quantity, or determining the product of the amplitude difference and the preset compensation coefficient of the target output level signal and the actual output level signal of each switch element in the H bridge circuit and the product of the phase difference and the preset compensation coefficient as the H bridge compensation quantity.
Further, in any one or a combination of the foregoing aspects, determining the H-bridge compensation amount according to the target operating state of the H-bridge circuit and the actual operating state of the H-bridge circuit includes:
The H-bridge state acquisition module acquires an actual first current signal output by the H-bridge circuit in real time;
determining a first target current signal correspondingly output by the H-bridge circuit in a target working state;
The H-bridge feedback operation module determines the H-bridge compensation amount according to the first target current signal and the actual first current signal, wherein the H-bridge compensation amount comprises level signal errors, phase errors and duty cycle errors of the first target current signal and the actual first current signal, or respectively calculates products of the level signal errors, the phase errors and the duty cycle errors of the first target current signal and the actual first current signal and preset compensation coefficients corresponding to the first target current signal and the actual first current signal, and takes the calculated results as the H-bridge compensation amount.
Further, in combination with any one or more of the preceding claims, the first control module determines the target PWM signal according to the PWM signal and the H-bridge compensation amount, including:
The delay of the first target current signal is controlled by carrying out difference and compensation on the level signal error and the first target current signal and carrying out derivative trend operation on the function of the phase error and time, so as to obtain the corrected first target current signal;
and determining the target PWM signal according to the corrected first target current signal.
Further, in combination with any one or more of the preceding claims, the first control module determines the target PWM signal according to the PWM signal and the H-bridge compensation amount, including:
converting the H-bridge compensation amount into a compensation amount of a PWM signal;
and determining the sum of the compensation amounts of the PWM signal and the PWM signal as the target PWM signal.
Further, in any one or a combination of the foregoing aspects, the working state of the H-bridge circuit includes dead time, switching frequency, and on-off state of each switching element of the H-bridge circuit.
Further, in any one or a combination of the foregoing aspects, determining the H-bridge compensation amount according to the target operating state of the H-bridge circuit and the actual operating state of the H-bridge circuit includes:
calculating dead time, switching frequency and difference between the on-off state of each switch element and the dead time, switching frequency and difference between the on-off state of each switch element of the H bridge circuit in a target working state of the H bridge circuit and the actual working state of the H bridge circuit;
and converting the dead time difference amount, the switching frequency difference amount and the difference amount of the on-off states of the switching pieces into compensation amounts of PWM signals.
According to another aspect of the present invention, there is provided an arbitrary current generation method based on H-bridge state feedback, including the steps of:
collecting a second current signal output by a H-bridge rear-stage circuit in real time and determining a current parameter corresponding to the second current signal;
determining a current compensation amount according to the input target current parameter and the current parameter corresponding to the second current signal;
determining a compensated current parameter according to the target current parameter and the current compensation quantity by a control module and outputting the current parameter to a PWM module;
the PWM module is configured to generate PWM signals to the H-bridge setting module according to the compensated current parameters;
the H-bridge setting module determines a target working state of an H-bridge circuit according to the PWM signal and transmits the received PWM signal to a first control module;
The first control module converts the PWM signal into a target PWM signal and outputs the target PWM signal to an H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal in response to receiving the target PWM signal; wherein the target PWM signal is obtained by:
the method comprises the steps of collecting the actual working state of an H-bridge circuit in real time through an H-bridge state collection module and transmitting the actual working state to an H-bridge feedback operation module;
the input end of the H-bridge feedback operation module is also electrically connected with the output end of the H-bridge setting module, and the H-bridge compensation quantity is determined according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and is transmitted to the first control module;
the first control module determines the target PWM signal based on the PWM signal and the H-bridge compensation amount.
Further, in any one or a combination of the foregoing technical solutions, the method for generating an arbitrary current based on feedback of an H-bridge state further includes providing an isolation device between the first control module and the H-bridge driving module, and preventing the first control module and the H-bridge driving module from being directly coupled by the isolation device.
The technical scheme provided by the invention has the following beneficial effects:
a. The invention acquires the working state of the H bridge circuit in real time and calculates the target working state of the H bridge circuit, so as to carry out compensation correction on the control value of the H bridge circuit and obtain a target PWM signal, the H bridge circuit can work according to the target working state under the driving of the target PWM signal, the regulation control logic is more effective, the requirement on the performance of the device is lower, the negative influence of delay and frequency response of the H bridge driving module and the H bridge circuit on the output target current signal can be reduced, and the uncertainty output by the H bridge circuit can be effectively controlled;
b. The invention acquires the second current signal output by the H bridge post-stage circuit in real time and calculates the second current signal and the target current parameter to determine the current compensation quantity, so as to compensate and correct the target current parameter to obtain the compensated current parameter, thereby realizing compensation and correction of the current quantity output by the system and further providing the accuracy and stability of the output of any target current signal;
c. According to the invention, the first control module is isolated from the H-bridge driving module by the isolation device, so that the direct coupling of the control circuit part and the driving circuit part can be avoided, the damage of a preceding-stage device caused by the interference of a subsequent stage is avoided, the service life and the reliability of the system are improved, and the failure rate of the system is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
FIG. 1 is a block diagram of any current generation system provided by an exemplary embodiment of the present invention;
FIG. 2 is a schematic diagram of any current generation system provided by an exemplary embodiment of the present invention;
Fig. 3 is a control flow diagram of an arbitrary current generation method provided in an exemplary embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or device.
In one embodiment of the present invention, an arbitrary current generating system based on H-bridge status feedback is provided, for controlling an H-bridge circuit to output a first target current signal, referring to fig. 1, the system includes a PWM module, an H-bridge setting module, a first control module, an H-bridge driving module, an H-bridge circuit, and an H-bridge status acquisition module and an H-bridge feedback operation module, which are electrically connected in sequence; wherein,
The PWM module is configured to generate a PWM signal and output the PWM signal to the H-bridge setting module;
the H-bridge setting module is configured to determine a target working state of the H-bridge circuit according to the PWM signal and transmit the received PWM signal to the first control module;
The first control module is configured to convert the PWM signal into a target PWM signal and output the target PWM signal to the H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal in response to receiving the target PWM signal; wherein the target PWM signal is obtained by:
The H-bridge state acquisition module acquires the actual working state of the H-bridge circuit in real time and transmits the actual working state to the H-bridge feedback operation module;
the input end of the H-bridge feedback operation module is also electrically connected with the output end of the H-bridge setting module, and the H-bridge compensation quantity is determined according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and is transmitted to the first control module;
the first control module determines the target PWM signal based on the PWM signal and the H-bridge compensation amount.
In one embodiment of the present invention, the working state of the H-bridge circuit includes the working state of each switch element thereof, and the real-time acquisition of the actual working state of the H-bridge circuit by the H-bridge state acquisition module includes the real-time acquisition of the level signal output by each switch element in the H-bridge circuit. For example, when the switching element in the H-bridge circuit is a MOS transistor, the state comparison detection is performed on each MOS transistor by the H-bridge state acquisition module when the H-bridge circuit is rapidly switched, so as to monitor the energy actually output by the MOS transistor and obtain the actual on states of the upper tube and the lower tube.
Further, determining the H-bridge compensation amount according to the target operating state of the H-bridge circuit and the actual operating state of the H-bridge circuit includes:
And calculating amplitude differences and phase differences of target output level signals and actual output level signals of all the switching elements in the H bridge circuit, wherein the target output level signals of all the switching elements are determined according to the target working state of the H bridge circuit. That is, a target operating state of the H-bridge circuit, including target output level signals of its respective switching elements, may be determined from the PWM signal. And determining the amplitude difference and the phase difference of the target output level signal and the actual output level signal of each switch element in the H bridge circuit as the H bridge compensation quantity, or determining the product of the amplitude difference and the preset compensation coefficient of the target output level signal and the actual output level signal of each switch element in the H bridge circuit and the product of the phase difference and the preset compensation coefficient as the H bridge compensation quantity. The compensation coefficient for the amplitude difference of the level signal and the compensation coefficient for the phase difference of the level signal may be the same or different, and are determined according to the characteristics of the system in practical application, so the protection scope of the present application is not limited in this way.
And obtaining the H-bridge compensation quantity and determining the response characteristic of the H-bridge circuit. The H-bridge compensation amount and the set H-bridge driving, namely the PWM signal are operated, so that the purpose of correcting the output of the H-bridge circuit can be achieved, and further, the purpose of obtaining more accurate output target current is achieved.
In another embodiment of the present invention, determining the H-bridge compensation amount according to the target operation state of the H-bridge circuit and the actual operation state of the H-bridge circuit includes:
The H-bridge state acquisition module acquires an actual first current signal output by the H-bridge circuit in real time;
determining a first target current signal correspondingly output by the H-bridge circuit in a target working state;
The H-bridge feedback operation module determines the H-bridge compensation quantity according to the first target current signal and the actual first current signal, wherein the H-bridge compensation quantity comprises a level signal error, a phase error and a duty cycle error of the first target current signal and the actual first current signal. Or calculating the products of the level signal errors, the phase errors and the duty ratio errors of the first target current signal and the actual first current signal and preset compensation coefficients respectively and taking the products as the H-bridge compensation quantity. The compensation coefficient for the level signal error, the compensation coefficient for the phase error and the compensation coefficient for the duty ratio error may be the same or different, and are determined according to the characteristics of the system in practical application, so the protection scope of the present application is not limited in this way.
In this embodiment, the correction of the working state of the H-bridge circuit by the H-bridge compensation amount includes the following two ways. One is by performing differential compensation of a duty cycle error corresponding to the first target current signal (setting an H-bridge drive); and performing derivative operation on the function of the phase error and time, controlling the delay of the first target current signal (setting H-bridge driving) and enabling the delay to be stable, namely performing amplitude compensation and phase compensation on the first target current signal by using the level signal error and the phase error so as to obtain a corrected first target current signal, and determining the target PWM signal according to the corrected first target current signal. Another way is to convert the H-bridge compensation amount into a compensation amount of PWM signal; and determining the sum of the compensation amounts of the PWM signal and the PWM signal as the target PWM signal.
In another embodiment of the present invention, the operating state of the H-bridge circuit is defined to include dead time, switching frequency, and on-off state of each switching element of the H-bridge circuit. Determining the H-bridge compensation amount according to the target operating state of the H-bridge circuit and the actual operating state of the H-bridge circuit, including:
calculating dead time, switching frequency and difference between the on-off state of each switch element and the dead time, switching frequency and difference between the on-off state of each switch element of the H bridge circuit in a target working state of the H bridge circuit and the actual working state of the H bridge circuit;
and converting the dead time difference amount, the switching frequency difference amount and the difference amount of the on-off states of the switching pieces into compensation amounts of PWM signals.
In one embodiment of the invention, all or part of the above three methods for compensating and correcting the working state of the H-bridge circuit can be combined, so as to better correct the working state of the H-bridge circuit, reduce the negative effects of delay and frequency response of the H-bridge driving circuit and the H-bridge circuit on the output target current, and effectively control the uncertainty of the output of the H-bridge circuit. And introducing feedback and compensation of the working state of the real-time H bridge circuit, and compensating the working state of the real-time H bridge circuit by using a least square method or directly using a difference value. During the generation of any waveform, sampling the output value of the H-bridge circuit and calculating a preset value (the preset value refers to a driving amount/control value for the H-bridge circuit, such as the PWM signal), so as to obtain an adjusted preset value (the preset value refers to a driving amount/control value of the H-bridge circuit determined after compensating the working state of the H-bridge circuit, which is also an actual driving amount/control value of the H-bridge circuit, such as the target PWM signal); the method comprises the steps of generating an actual control value of an H-bridge circuit by carrying out operation on a state value correspondingly output by a real-time sampling H-bridge system and the control value of the H-bridge circuit generated by an adjusted preset value; finally, compared with the final state output feedback, the adjustment control logic is more effective and has lower requirement on the performance of the device.
In one embodiment of the present invention, referring to fig. 1, the system further includes a current setting module, a second control module, an H-bridge post-stage circuit, a current sampling module, a current feedback operation module, and an isolation device. The current setting module and the second control module are electrically connected in sequence and then electrically connected with the input end of the PWM module, the H-bridge rear-stage circuit is electrically connected with the output end of the H-bridge circuit, and the isolation device is arranged between the first control module and the H-bridge driving module and is configured to isolate the first control module from the H-bridge driving module so as to prevent the first control module and the H-bridge driving module from being coupled. In particular, the isolation device comprises a cache SN74AUC1G17.
Wherein the current setting module is configured for a user to input and set target current parameters, the current parameters including current waveform, amplitude, frequency, and the like. In one embodiment of the present invention, the current setting module further includes an arbitrary current setting and converting storage unit, configured to convert a target current parameter input by a user into a set current parameter in combination with a response status of the system, where the "set current parameter" is defined as an array of amplitude-to-time correspondence in a single period.
The H bridge post-stage circuit is configured to process the actual first current signal output by the H bridge circuit to obtain a second current signal, and output the second current signal to a load, and is used for controlling and filtering the output of the H bridge circuit, so as to generate a current waveform corresponding to the requirement of the user input parameter, namely a target current signal. For example, the H-bridge post-stage circuit includes a filter circuit for performing a filter process on the actual first current signal and outputting the filtered first current signal. The H-bridge post-stage circuit may further include an amplifying circuit for amplifying and outputting the actual first current signal. In the system with the H-bridge post-stage circuit, the second current signal output by the H-bridge post-stage circuit needs to be controlled to be the target current signal; in the system without the H bridge post-stage circuit, the H bridge circuit is directly connected with a load, and then the actual first current signal output by the H bridge circuit needs to be controlled to be a target current signal. The target current signal is a current signal which the user wants to provide to the load, and the corresponding current parameter is a target current parameter input by the user.
The input end of the current sampling module is electrically connected with the output end of the H-bridge post-stage circuit, and the current sampling module is configured to collect the second current signal, determine the actual output current parameter corresponding to the second current signal and transmit the actual output current parameter to the current feedback operation module. The current sampling module may employ an ADC (Analog-to-Digital Converter) unit, such as an ADC unit model ADS1256 IDBR.
The input end of the current feedback operation module is electrically connected with the output ends of the current setting module and the current sampling module respectively, and the current feedback operation module is configured to determine a current compensation amount according to the target current parameter and the actual output current parameter, and comprises the following components: and determining the difference value between the target current parameter and the actual output current parameter as the current compensation quantity. The difference between the target current parameter and the actual output current parameter includes a difference between current amplitudes, a phase delay, a difference between phase delay and duty cycle, and the like.
The input end of the second control module is electrically connected with the output ends of the current setting module and the current feedback operation module respectively, and the second control module is configured to determine the compensated current parameter according to the target current parameter and the current compensation quantity and output the current parameter to the PWM module. And when the difference value between the target current parameter and the actual output current parameter is taken as the current compensation quantity, determining that the sum of the target current parameter and the current compensation quantity is the compensated current parameter. In another embodiment of the invention, the current compensation amount is determined by: and calculating a difference value between the target current parameter and the actual output current parameter, setting a compensation coefficient for the difference value according to the system characteristic, wherein the current compensation quantity is the product of the difference value and the compensation coefficient. The compensation coefficient is determined according to the system characteristics, and may be equal to 1, or may be greater than 1 or less than 1. For example, the current amplitude in the target current parameter is 5A, and the current amplitude of the actual output current parameter is 4.8A, and the current amplitude in the current compensation amount is 0.2A. If the compensation coefficient is set to be 0.75, 0.2A0.75, namely 0.15A, is increased on the amplitude of 5A, the current amplitude of the output current parameter is obtained by taking 5.15A as a new target current parameter, and is closer to the target current amplitude 5A than 4.8A, and the difference is continuously collected and calculated on the basis, so that the result approaches to the set value, namely the current amplitude 5A which is expected to be actually output, the system has good dynamic response, and the underdamping and overresponse states are avoided.
The PWM module is configured to generate PWM signals according to the compensated current parameters and output the PWM signals, and the compensation of the output current quantity of the system is completed.
In this embodiment, the principle of the arbitrary current generating system based on H-bridge state feedback is shown in fig. 2, and the system is implemented to output an arbitrary target current within the rated operating parameters of the input power source and the system hardware, and ensure the reliability and response speed of the output of the arbitrary target current.
On the one hand, in order to ensure the reliability and response speed of outputting any current output, the working state of the H-bridge circuit is compensated and corrected, and the specific compensation and correction methods and implementation processes are described in the above embodiments and are not repeated.
In the second aspect, by compensating and correcting the system output current amount provided in the present embodiment, the accuracy and stability of any target current output can be achieved. The control part comprises a set current amount generating logic, a compensation current amount generating logic and a target current amount processing logic which are obtained after operation; the target current quantity is calculated, so that the PWM module generates a PWM signal according to the compensated current parameter, the H-bridge compensation quantity provided by the embodiment is combined, the target driving quantity of the H-bridge circuit actually used for driving and the target PWM signal are finally output, the output current quantity of the system is compensated, and the reliability and the accuracy of current correction can be increased by combining the compensation of the H-bridge working state.
In a third aspect, the use of the isolation device can avoid direct coupling of the control circuit portion and the drive circuit portion, resulting in damage to the preceding devices by the subsequent stage interference.
In one embodiment of the invention, taking the triangular waveform current output setting as an example, assuming that the voltage of the system is 30V, the load is a winding group, and the direct current resistance is 3Ω; the control system outputs triangular wave current with the generation period of 100ms and the amplitude of 0-8A; when the PWM wave output equivalent value is slightly larger than 0A, the parasitic capacitance parameter of the MOS tube in the H bridge circuit causes short effective conduction time, and the actual power waveform change rate acquired by the ADC unit is slowed down; at this time, the current feedback operation module adjusts the duty ratio according to the actually measured calculation error, and the second control module and the first control module correct the actual waveform output by the H bridge.
After the feedback of the H bridge signal is started, an H bridge state acquisition module acquires the accurate conduction state of the MOS tube, and positions the actual source of difference between the conduction and control signals of the H bridge, for example, the actual effective conduction duty ratio of the MOS tube varies nonlinearly with the control signal when the frequency of the control signal is 10KHz and the duty ratio of the control signal is 10% -20% because of the frequency characteristic and parasitic parameter of the MOS tube; after the waveform acquired by the ADC unit is filtered, the MOS error and the filtering error are coupled, so that the correction difficulty is increased; the response error of the MOS tube can be independently corrected through the feedback of the H-bridge driving signal; the decoupling of the filter circuit control and the H-bridge control is realized, and the output of the target current is obtained more accurately and reliably.
In one embodiment of the present invention, there is provided an arbitrary current generation method based on H-bridge state feedback, referring to fig. 3, the method including the steps of:
collecting a second current signal output by a H-bridge rear-stage circuit in real time and determining a current parameter corresponding to the second current signal;
determining a current compensation amount according to the input target current parameter and the current parameter corresponding to the second current signal;
determining a compensated current parameter according to the target current parameter and the current compensation quantity by a control module and outputting the current parameter to a PWM module;
the PWM module is configured to generate PWM signals to the H-bridge setting module according to the compensated current parameters;
the H-bridge setting module determines a target working state of an H-bridge circuit according to the PWM signal and transmits the received PWM signal to a first control module;
The first control module converts the PWM signal into a target PWM signal and outputs the target PWM signal to an H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal in response to receiving the target PWM signal; wherein the target PWM signal is obtained by:
the method comprises the steps of collecting the actual working state of an H-bridge circuit in real time through an H-bridge state collection module and transmitting the actual working state to an H-bridge feedback operation module;
the input end of the H-bridge feedback operation module is also electrically connected with the output end of the H-bridge setting module, and the H-bridge compensation quantity is determined according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and is transmitted to the first control module;
the first control module determines the target PWM signal based on the PWM signal and the H-bridge compensation amount.
Preferably, in this embodiment, an isolation device is further disposed between the first control module and the H-bridge driving module, and the first control module and the H-bridge driving module are prevented from being directly coupled by the isolation device.
It should be noted that, the embodiment of any current generating method based on H-bridge status feedback and the embodiment of any current generating system based on H-bridge status feedback belong to the same inventive concept, and the entire content of the embodiment of any current generating system based on H-bridge status feedback is incorporated into the embodiment of any current generating method based on H-bridge status feedback by way of reference.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely illustrative of the embodiments of this application and it will be appreciated by those skilled in the art that variations and modifications may be made without departing from the principles of the application, and it is intended to cover all modifications and variations as fall within the scope of the application.

Claims (14)

1. The system is characterized by comprising a PWM module, an H-bridge setting module, a first control module, an H-bridge driving module, an H-bridge circuit, an H-bridge state acquisition module and an H-bridge feedback operation module which are sequentially and electrically connected, and further comprises a current setting module, a second control module, an H-bridge post-stage circuit, a current sampling module and a current feedback operation module; wherein,
The PWM module is configured to generate a PWM signal and output the PWM signal to the H-bridge setting module;
the H-bridge setting module is configured to determine a target working state of the H-bridge circuit according to the PWM signal and transmit the received PWM signal to the first control module;
The first control module is configured to convert the PWM signal into a target PWM signal and output the target PWM signal to the H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal in response to receiving the target PWM signal; wherein the target PWM signal is obtained by:
The H-bridge state acquisition module acquires the actual working state of the H-bridge circuit in real time and transmits the actual working state to the H-bridge feedback operation module;
The input end of the H-bridge feedback operation module is also electrically connected with the output end of the H-bridge setting module, and the H-bridge compensation quantity is determined according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and is transmitted to the first control module;
The first control module determines the target PWM signal according to the PWM signal and the H-bridge compensation amount;
the current setting module is configured to input a target current parameter, wherein the current parameter at least comprises a current waveform, an amplitude and a frequency;
The input end of the H bridge post-stage circuit is electrically connected with the output end of the H bridge circuit and is configured to process an actual first current signal output by the H bridge circuit to obtain a second current signal and output the second current signal;
the input end of the current sampling module is electrically connected with the output end of the H-bridge post-stage circuit, and is configured to acquire the second current signal, determine an actual output current parameter corresponding to the second current signal and transmit the actual output current parameter to the current feedback operation module;
The input end of the current feedback operation module is electrically connected with the output ends of the current setting module and the current sampling module respectively, and the current feedback operation module is configured to determine a current compensation amount according to the target current parameter and the actual output current parameter;
the input end of the second control module is electrically connected with the output ends of the current setting module and the current feedback operation module respectively, and is configured to determine the compensated current parameter according to the target current parameter and the current compensation quantity and output the current parameter to the PWM module;
The PWM module is configured to generate a PWM signal according to the compensated current parameter and output the PWM signal.
2. The H-bridge state feedback based arbitrary current generation system according to claim 1, wherein the current compensation amount is determined by: determining the difference value between the target current parameter and the actual output current parameter as the current compensation quantity;
The compensated current parameter is determined by: and determining the sum of the target current parameter and the current compensation quantity as the compensated current parameter.
3. The H-bridge state feedback-based arbitrary current generation system according to claim 1, wherein the H-bridge post-stage circuit includes a filter circuit for filtering and outputting the actual first current signal; and/or the number of the groups of groups,
The H-bridge post-stage circuit comprises an amplifying circuit, and the amplifying circuit is used for amplifying and outputting the actual first current signal.
4. The H-bridge state feedback based arbitrary current generation system of claim 1, further comprising an isolation device disposed between the first control module and the H-bridge drive module configured to isolate the first control module and the H-bridge drive module from coupling.
5. The H-bridge status feedback based arbitrary current generation system of claim 4 wherein the isolation device comprises a buffer.
6. The H-bridge state feedback based arbitrary current generation system of claim 1, wherein the operating states of the H-bridge circuit include the operating states of the respective switching elements thereof;
the H-bridge state acquisition module acquires the actual working state of the H-bridge circuit in real time, and the H-bridge state acquisition module acquires level signals output by all switch pieces in the H-bridge circuit in real time.
7. The H-bridge state feedback based arbitrary current generation system of claim 6, wherein determining the H-bridge compensation amount from a target operating state of the H-bridge circuit and an actual operating state of the H-bridge circuit comprises:
Calculating amplitude differences and phase differences of target output level signals and actual output level signals of all switching elements in the H bridge circuit, wherein the target output level signals of all switching elements are determined according to target working states of the H bridge circuit;
And determining the amplitude difference and the phase difference of the target output level signal and the actual output level signal of each switch element in the H bridge circuit as the H bridge compensation quantity, or determining the product of the amplitude difference and the preset compensation coefficient of the target output level signal and the actual output level signal of each switch element in the H bridge circuit and the product of the phase difference and the preset compensation coefficient as the H bridge compensation quantity.
8. The H-bridge state feedback-based arbitrary current generation system according to claim 1, wherein determining the H-bridge compensation amount from a target operation state of the H-bridge circuit and an actual operation state of the H-bridge circuit includes:
The H-bridge state acquisition module acquires an actual first current signal output by the H-bridge circuit in real time;
determining a first target current signal correspondingly output by the H-bridge circuit in a target working state;
The H-bridge feedback operation module determines the H-bridge compensation amount according to the first target current signal and the actual first current signal, wherein the H-bridge compensation amount comprises level signal errors, phase errors and duty cycle errors of the first target current signal and the actual first current signal, or calculates products of the level signal errors, the phase errors and the duty cycle errors of the first target current signal and the actual first current signal and preset compensation coefficients respectively and uses the products as the H-bridge compensation amount.
9. The H-bridge state feedback based arbitrary current generation system of claim 8, wherein the first control module determining the target PWM signal from the PWM signal and the H-bridge compensation amount comprises:
The first target current signal after correction is obtained by performing differential compensation on the duty cycle error and the duty cycle corresponding to the first target current signal and performing derivative operation on the function of the phase error and time to control the delay of the first target current signal;
and determining the target PWM signal according to the corrected first target current signal.
10. The H-bridge state feedback based arbitrary current generation system of claim 8, wherein the first control module determining the target PWM signal from the PWM signal and the H-bridge compensation amount comprises:
converting the H-bridge compensation amount into a compensation amount of a PWM signal;
and determining the sum of the compensation amounts of the PWM signal and the PWM signal as the target PWM signal.
11. The H-bridge state feedback based arbitrary current generation system of claim 10, wherein the operating state of the H-bridge circuit comprises dead time, switching frequency, and on-off state of the individual switching elements of the H-bridge circuit.
12. The H-bridge state feedback based arbitrary current generation system of claim 11, wherein determining the H-bridge compensation amount from a target operating state of the H-bridge circuit and an actual operating state of the H-bridge circuit comprises:
calculating dead time, switching frequency and difference between the on-off state of each switch element and the dead time, switching frequency and difference between the on-off state of each switch element of the H bridge circuit in a target working state of the H bridge circuit and the actual working state of the H bridge circuit;
and converting the dead time difference amount, the switching frequency difference amount and the difference amount of the on-off states of the switching pieces into compensation amounts of PWM signals.
13. An arbitrary current generation method based on H-bridge state feedback is characterized by comprising the following steps:
The method comprises the steps of collecting a second current signal output by an H-bridge post-stage circuit in real time, determining a current parameter corresponding to the second current signal, wherein the input end of the H-bridge post-stage circuit is configured to be electrically connected with the output end of the H-bridge circuit, and processing the signal output by the H-bridge circuit;
determining a current compensation amount according to the input target current parameter and the current parameter corresponding to the second current signal;
determining a compensated current parameter according to the target current parameter and the current compensation quantity by a control module and outputting the current parameter to a PWM module;
the PWM module is configured to generate PWM signals to the H-bridge setting module according to the compensated current parameters;
the H-bridge setting module determines a target working state of an H-bridge circuit according to the PWM signal and transmits the received PWM signal to a first control module;
The first control module converts the PWM signal into a target PWM signal and outputs the target PWM signal to an H-bridge driving module, and the H-bridge driving module drives the H-bridge circuit to output a first target current signal in response to receiving the target PWM signal; wherein the target PWM signal is obtained by:
the method comprises the steps of collecting the actual working state of an H-bridge circuit in real time through an H-bridge state collection module and transmitting the actual working state to an H-bridge feedback operation module;
The input end of the H-bridge feedback operation module is also electrically connected with the output end of the H-bridge setting module, and the H-bridge compensation quantity is determined according to the target working state of the H-bridge circuit and the actual working state of the H-bridge circuit and is transmitted to the first control module;
the first control module determines the target PWM signal based on the PWM signal and the H-bridge compensation amount.
14. The H-bridge status feedback based arbitrary current generation method of claim 13, further comprising providing an isolation device between the first control module and the H-bridge drive module, wherein the first control module and the H-bridge drive module are prevented from being directly coupled by the isolation device.
CN202410259773.5A 2024-03-07 2024-03-07 Arbitrary current generation system and method based on H-bridge state feedback Active CN117914108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410259773.5A CN117914108B (en) 2024-03-07 2024-03-07 Arbitrary current generation system and method based on H-bridge state feedback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410259773.5A CN117914108B (en) 2024-03-07 2024-03-07 Arbitrary current generation system and method based on H-bridge state feedback

Publications (2)

Publication Number Publication Date
CN117914108A CN117914108A (en) 2024-04-19
CN117914108B true CN117914108B (en) 2024-05-28

Family

ID=90692439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410259773.5A Active CN117914108B (en) 2024-03-07 2024-03-07 Arbitrary current generation system and method based on H-bridge state feedback

Country Status (1)

Country Link
CN (1) CN117914108B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401431A (en) * 2019-07-18 2019-11-01 江苏康众数字医疗科技股份有限公司 A kind of frequency following Digital Discrete filter, implementation method and its application
CN111193386A (en) * 2020-02-17 2020-05-22 南京邮电大学 Model prediction control method for feedback compensation parameter self-adaption of full-bridge converter
CN111740455A (en) * 2020-07-22 2020-10-02 太原理工大学 Bus interface converter control method for uniformly compensating alternating-current unbalanced voltage and direct-current pulsating voltage
CN112366970A (en) * 2021-01-14 2021-02-12 深圳市正浩创新科技有限公司 Inversion system, inversion system control method and parallel inversion system
CN112511026A (en) * 2020-11-05 2021-03-16 苏州海鹏科技有限公司 H-bridge inverter system and dead zone compensation device thereof
CN113872448A (en) * 2021-09-26 2021-12-31 中国电子科技集团公司第四十三研究所 Fixed-frequency LLC circuit and resonant frequency tracking method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401431A (en) * 2019-07-18 2019-11-01 江苏康众数字医疗科技股份有限公司 A kind of frequency following Digital Discrete filter, implementation method and its application
CN111193386A (en) * 2020-02-17 2020-05-22 南京邮电大学 Model prediction control method for feedback compensation parameter self-adaption of full-bridge converter
CN111740455A (en) * 2020-07-22 2020-10-02 太原理工大学 Bus interface converter control method for uniformly compensating alternating-current unbalanced voltage and direct-current pulsating voltage
CN112511026A (en) * 2020-11-05 2021-03-16 苏州海鹏科技有限公司 H-bridge inverter system and dead zone compensation device thereof
CN112366970A (en) * 2021-01-14 2021-02-12 深圳市正浩创新科技有限公司 Inversion system, inversion system control method and parallel inversion system
CN113872448A (en) * 2021-09-26 2021-12-31 中国电子科技集团公司第四十三研究所 Fixed-frequency LLC circuit and resonant frequency tracking method thereof

Also Published As

Publication number Publication date
CN117914108A (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN102196621B (en) LED dimming circuit
CN112953210B (en) Converter-based double-zero-clearing single-cycle system and control method
CN117914108B (en) Arbitrary current generation system and method based on H-bridge state feedback
CN113691225B (en) Power amplifier with on-line impedance monitoring function and adjusting method thereof
CN114325548A (en) Transmission delay calibration method and system for direct-current electronic current transformer
CN111669053B (en) Bidirectional digital switching power amplifier and multi-step current prediction control method thereof
CN105186887A (en) Switching device temperature based cascaded high-voltage variable frequency dynamic switching frequency PWM (pulse width modulation) adjustment method
CN102231809B (en) Electronic multiplying charge coupled device (CCD) sine wave driving method
CN102354110A (en) Control method based on temperature variation for maximum power point tracking of photovoltaic generation system and device thereof
CN103780229B (en) Capacitive load drive circuit and pulse excitation device
CN103248258B (en) Vehicle-mounted sine wave inverter and inversion control circuit thereof
CN108241129B (en) Device and method for monitoring output filter capacitor of switching power supply
CN110618391A (en) Monitoring device and method for ESR and L of step-down DC/DC converter
CN112285443B (en) Electric field measuring equipment provided with self-calibration device and self-calibration method
CN117074887A (en) Temperature and partial discharge fault simulation system
CN110632532B (en) Test system and method for meeting parallel operation of multiple groups of serial photovoltaic inverters
CN218526295U (en) Power amplifier with online impedance monitoring function
CN115900858A (en) Ultrasonic wave transmitting and receiving circuit time delay measurement and ultrasonic wave flight time correction method
CN209881674U (en) Multi-output arbitrary waveform power signal source
CN220323793U (en) Heating circuit, heating control system and mass spectrometer
CN202421928U (en) Control circuit and control device of backlight power supply
CN206531899U (en) A kind of data collecting system based on V/F
CN116054594B (en) Switch power supply system with analog feedback and digital feedback
CN115629536B (en) PID controller parameter setting method suitable for first-order time lag integral system
CN214917823U (en) Divergent pulse width control type sweep frequency ultrasonic generator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant