device and method for tracking frequency of wireless energy transmission system
Technical Field
the present invention relates to the field of wireless energy transmission technology, and more particularly, to an apparatus and method for frequency tracking of a wireless energy transmission system.
Background
The induction type wireless charger performs energy transmission through the electromagnetic wave transmitting coil, and in order to ensure efficient energy transmission, the electromagnetic wave transmitting coil must work in a resonance state.
due to external environment interference or instrument errors, the impedance of the line changes, system parameters change, the resonance frequency of a transmitting end changes, and the efficiency of system energy transmission is reduced. In order to make the transmitting end always work in a resonance state, the working frequency of the inverter at the transmitting end needs to track the resonance frequency of the transmitting end all the time.
However, most of the existing frequency tracking algorithms firstly use a phase discriminator to measure the phase difference between the voltage and the current of the LC resonant circuit, and then control the working frequency of the inverter to realize the tracking of the resonant frequency. The method needs two paths of alternating current sampling circuits to simultaneously acquire high-frequency voltage and current signals and a phase discriminator to measure the phase difference, and has the disadvantages of complex hardware part and high cost.
disclosure of Invention
in view of the above problems, the present invention provides an apparatus for frequency tracking of a wireless energy transmission system, comprising:
The high-frequency inverter circuit is used for acquiring alternating current and carrying out inversion processing on the alternating current, outputting a large current signal of the alternating current with the same resonant frequency and inputting the large current signal to the LC resonant circuit, receiving a PWM (pulse width modulation) driving signal output by the PWM driving circuit, adjusting the resonant frequency of the acquired alternating current according to the PWM driving signal and outputting an alternating current signal with the same adjusted resonant frequency, and transmitting the alternating current signal with the same adjusted resonant frequency to the LC resonant circuit;
the LC inverter circuit receives the high-current signal output by the high-frequency inverter circuit and the alternating current signal with the same adjusted resonant frequency, keeps the same resonant frequency of the high-current signal and transmits the high-current signal to the current detection circuit, and keeps the same resonant frequency of the alternating current signal with the same adjusted resonant frequency;
the current detection loop receives a large-current signal transmitted by the LC resonance loop, converts the large-current signal into a small-current signal and transmits the small-current signal to the signal conditioning loop;
the signal conditioning loop receives the small current signal transmitted by the current detection loop, amplifies, filters and shapes the small current signal to convert the small current signal into a square wave signal, and transmits the square wave signal to the digital signal processor;
the digital signal processor receives the square wave signal output by the signal conditioning circuit, preprocesses the square wave signal, and outputs a PWM (pulse width modulation) driving signal to be transmitted to the PWM driving circuit;
And the PWM driving circuit receives a PWM driving signal transmitted by the digital signal processor and transmits the PWM driving signal to the high-frequency inverter circuit, and the high-frequency inverter circuit is driven to adjust the resonance frequency of the acquired alternating current.
optionally, the signal conditioning circuit includes: the circuit comprises an amplifying circuit, a filter circuit and a shaping circuit;
the amplifying circuit amplifies the small current signal, the filtering circuit filters the small current signal, and the shaping circuit shapes the small current signal.
optionally, the digital signal processor comprises: a period register, a comparison register and a time base counter.
Optionally, the preprocessing the square wave signal includes:
Taking a square wave signal output by a signal conditioning loop as a clock signal, triggering capture interruption of a digital signal processor at the moment of rising edge or falling edge of the clock signal, and reading the value of a time-base counter in a chip when the capture interruption occurs;
Obtaining a residual error between an on-chip time base counter and a system frequency target value, and generating a control signal according to the residual error;
acquiring a frequency signal to be adjusted according to the control signal;
obtaining values of a period register and a comparison register, and writing the values into a digital signal processor;
and generating a PWM driving signal according to the frequency signal to be adjusted and the values of the period register and the comparison register.
Optionally, the square wave signal and the small current signal have a preset phase relationship.
the invention also provides a method for frequency tracking of a wireless energy transmission system, which comprises the following steps:
the high-frequency inverter circuit collects alternating current and inverts the alternating current, outputs a large-current signal of the alternating current with the same resonance frequency and inputs the large-current signal to the LC resonance circuit;
The LC inverter circuit receives the large-current signal output by the high-frequency inverter circuit, keeps the resonance frequency of the large-current signal the same and transmits the large-current signal to the current detection circuit;
the current detection loop receives a large-current signal transmitted by the LC resonance loop, converts the large-current signal into a small-current signal and transmits the small-current signal to the signal conditioning loop;
The signal conditioning loop receives the small current signal transmitted by the current detection loop, amplifies, filters and shapes the small current signal to convert the small current signal into a square wave signal, and transmits the square wave signal to the digital signal processor;
the digital signal processor receives the square wave signal output by the signal conditioning circuit, preprocesses the square wave signal, and outputs a PWM (pulse-width modulation) driving signal to be transmitted to the PWM driving circuit;
the PWM driving circuit receives a PWM driving signal transmitted by the digital signal processor and transmits the PWM driving signal to the high-frequency inverter circuit to drive the high-frequency inverter circuit to adjust the resonance frequency of the acquired alternating current;
the high-frequency inverter circuit receives a PWM driving signal output by the PWM driving circuit, adjusts the resonance frequency of the collected alternating current according to the PWM driving signal, outputs an alternating current signal with the same adjusted resonance frequency and transmits the alternating current signal with the same adjusted resonance frequency to the LC resonance circuit;
and the LC inverter circuit receives the alternating current signals with the same adjusted resonance frequency output by the high-frequency inverter circuit and keeps the same resonance frequency of the alternating current signals with the same adjusted resonance frequency.
optionally, the signal conditioning circuit includes: the circuit comprises an amplifying circuit, a filter circuit and a shaping circuit;
the amplifying circuit amplifies the small current signal, the filtering circuit filters the small current signal, and the shaping circuit shapes the small current signal.
optionally, the digital signal processor comprises: a period register, a comparison register and a time base counter.
optionally, the preprocessing the square wave signal includes:
Taking a square wave signal output by a signal conditioning loop as a clock signal, triggering capture interruption of a digital signal processor at the moment of rising edge or falling edge of the clock signal, and reading the value of a time-base counter in a chip when the capture interruption occurs;
obtaining a residual error between an on-chip time base counter and a system frequency target value, and generating a control signal according to the residual error;
Acquiring a frequency signal to be adjusted according to the control signal;
obtaining values of a period register and a comparison register, and writing the values into a digital signal processor;
and generating a PWM driving signal according to the frequency signal to be adjusted and the values of the period register and the comparison register.
optionally, the square wave signal and the small current signal have a preset phase relationship.
the invention solves the problem of detuning of the primary transmitting coil loop, enables the LC resonance loop to work in a resonance state all the time, and ensures that the wireless energy transmission system is in the resonance state all the time.
The invention effectively solves the problems of unstable energy transfer and low efficiency caused by detuning of the wireless energy transmission system so as to ensure the stability of the energy output of the system.
The invention only needs to measure the current of the LC resonance circuit, namely only needs one current sensor and one wave-shaped conditioning circuit, thus saving expensive AD modules, phase detectors and other hardware modules, while the traditional method needs to measure the voltage and the current of the LC resonance circuit at the same time and comprises the AD modules, the phase detectors and the like.
the invention can realize fast and high-precision tuning, enables the sending end to quickly return to a resonance state, improves the transmission power and the efficiency of the wireless energy transmission system, is still applicable under some special conditions, such as open circuit of a load end, no load of a sending end and the like, has high robustness and reliability, is realized by adopting a digital signal processor, and is beneficial to being compatible with other functions.
drawings
Fig. 1 is a system block diagram for frequency tracking of a wireless energy transmission system according to the present invention;
FIG. 2 is a block diagram of a system digital signal generator for frequency tracking in a wireless energy transmission system according to the present invention;
Fig. 3 is a flow chart of a method for frequency tracking of a wireless energy transmission system according to the present invention.
Detailed Description
the exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The present invention provides an apparatus for frequency tracking of a wireless energy transmission system, as shown in fig. 1, comprising:
The high-frequency inverter circuit 101 is used for acquiring alternating current and inverting the alternating current, outputting a large current signal of the alternating current with the same resonant frequency and inputting the large current signal to the LC resonant circuit 401, and the high-frequency inverter circuit 101 is used for receiving a PWM (pulse width modulation) driving signal output by the PWM driving circuit 201, adjusting the resonant frequency of the acquired alternating current according to the PWM driving signal and outputting an alternating current signal with the same adjusted resonant frequency and transmitting the alternating current signal with the same adjusted resonant frequency to the LC resonant circuit 401;
the LC resonant circuit 401 receives the large-current signal output by the high-frequency inverter circuit and the alternating-current signal with the same adjusted resonant frequency, keeps the same resonant frequency of the large-current signal, transmits the large-current signal to the current detection circuit 501, and keeps the same resonant frequency of the alternating-current signal with the same adjusted resonant frequency;
wherein the LC resonance circuit 401 is composed of a capacitor CP402 and an inductance LP403 are connected in series.
the current detection loop 501 receives a large-current signal transmitted by the LC resonant loop 401, converts the large-current signal into a small-current signal, and transmits the small-current signal to the signal conditioning loop 601;
The signal conditioning loop 601 receives the small current signal transmitted by the current detection loop 501, amplifies, filters and shapes the small current signal to convert the small current signal into a square wave signal, and transmits the square wave signal to the digital signal processor 301;
the signal conditioning circuit 601 includes: the circuit comprises an amplifying circuit, a filter circuit and a shaping circuit;
the amplifying circuit amplifies the small current signal, the filtering circuit filters the small current signal, and the shaping circuit shapes the small current signal;
the digital signal processor 301, as shown in fig. 2, includes: a CPU302, CAP module 303, and PWM module 304;
the value of the time-base timer 314 in the digital signal processor 301 is increased at a constant speed, and when the value of the time-base timer is greater than or equal to the value of the comparison register 324, the output PWM wave changes to low level; when the value of the time base timer is equal to or greater than the value of the period register 334, the output PWM wave becomes high.
The digital signal processor 301 receives the square wave signal output by the signal conditioning circuit 601, and pre-processes the square wave signal, including:
the value TBCTR of the internal time base counter read in CAP interruption is recorded as a target value G (f), and the target value G (f) is stored in a storage unit inside the digital signal processor in an array or a linked list or a function mode;
when the frequency tracking control of the wireless energy transmission system is carried out on line, a program firstly initializes a CAP module and a PWM module in the DSP;
starting an interrupt;
Running the main function until CAP interruption is entered, and executing the interruption function;
calculating residual TBCTR-G (f);
Calculating delta f according to a PID algorithm, and enabling the new frequency f2 to be f1+ delta f;
calculating values of a period register and a comparison register, writing the values into a DSP memory, reading the values of the period register and the comparison register by an on-chip and an off-chip device, and changing the PWM wave frequency;
the square wave signal and the small current signal form a preset phase relation;
generating a PWM driving signal;
outputting a PWM driving signal to the PWM driving circuit 201;
and the PWM driving circuit 201 receives the PWM driving signal transmitted by the digital signal processor 301 and transmits the PWM driving signal to the high-frequency inverter circuit 101, so that the high-frequency inverter circuit 101 is driven to adjust the resonance frequency of the acquired alternating current.
The present invention also provides a method for frequency tracking of a wireless energy transmission system, as shown in fig. 3, comprising:
the high-frequency inverter circuit 101 collects alternating current and inverts the alternating current, outputs a large-current signal of the alternating current with the same resonance frequency, and inputs the large-current signal to the LC resonance circuit 401;
the LC inverter circuit 401 receives the large current signal output by the high-frequency inverter circuit 101, keeps the same resonance frequency of the large current signal, and transmits the large current signal to the current detection circuit 501;
the current detection loop 501 receives a large-current signal transmitted by the LC resonant loop 401, converts the large-current signal into a small-current signal, and transmits the small-current signal to the signal conditioning loop 601;
The signal conditioning circuit 601 receives the small current signal transmitted by the current detection circuit 501, amplifies, filters and shapes the small current signal to convert the small current signal into a square wave signal, and transmits the square wave signal to the digital signal processor 301;
the signal conditioning circuit 601 includes: the circuit comprises an amplifying circuit, a filter circuit and a shaping circuit;
the amplifying circuit amplifies the small current signal, the filtering circuit filters the small current signal, and the shaping circuit shapes the small current signal.
the digital signal processor 301 receives the square wave signal output by the signal conditioning circuit 601, and pre-processes the square wave signal, including:
Regarding a square wave signal output by the signal conditioning loop 601 as a clock signal, triggering capture interruption of the digital signal processor at the moment of a rising edge or a falling edge of the clock signal, and reading the value of a time base counter in a chip when the capture interruption occurs;
The square wave signal and the small current signal form a preset phase relation;
Obtaining a residual error between an on-chip time base counter and a system frequency target value, and generating a control signal according to the residual error;
acquiring a frequency signal to be adjusted according to the control signal;
obtaining values of a period register and a comparison register, and writing the values into a digital signal processor;
And generating a PWM driving signal according to the frequency signal to be adjusted and the values of the period register and the comparison register.
outputting a PWM driving signal to the PWM driving circuit 201;
A digital signal processor 301 comprising: a period register, a comparison register and a time base counter.
the PWM driving circuit 201 receives a PWM driving signal transmitted by the digital signal processor 301 and transmits the PWM driving signal to the high-frequency inverter circuit 101, so as to drive the high-frequency inverter circuit 101 to adjust the resonant frequency of the acquired alternating current;
the high-frequency inverter circuit 101 receives a PWM driving signal output by the PWM driving circuit 201, adjusts the resonance frequency of the collected alternating current according to the PWM driving signal, outputs an alternating current signal with the same adjusted resonance frequency, and transmits the alternating current signal with the same adjusted resonance frequency to the LC resonance circuit;
the LC inverter circuit 401 receives the ac signals with the same adjusted resonant frequency output by the high-frequency inverter circuit, and keeps the same resonant frequency of the ac signals with the same adjusted resonant frequency.
The invention solves the problem of detuning of the primary transmitting coil loop, enables the LC resonance loop to work in a resonance state all the time, and ensures that the wireless energy transmission system is in the resonance state all the time.
the invention effectively solves the problems of unstable energy transfer and low efficiency caused by detuning of the wireless energy transmission system so as to ensure the stability of the energy output of the system.
the invention only needs to measure the current of the LC resonance circuit, namely only needs one current sensor and one wave-shaped conditioning circuit, thus saving expensive AD modules, phase detectors and other hardware modules, while the traditional method needs to measure the voltage and the current of the LC resonance circuit at the same time and comprises the AD modules, the phase detectors and the like.
the invention can realize fast and high-precision tuning, enables the sending end to quickly return to a resonance state, improves the transmission power and the efficiency of the wireless energy transmission system, is still applicable under some special conditions, such as open circuit of a load end, no load of a sending end and the like, has high robustness and reliability, is realized by adopting a digital signal processor, and is beneficial to being compatible with other functions.