Analog-digital mixed high-frequency current amplitude detection method
Through the analog-digital hybrid high-frequency current amplitude detection method, combined with analog and digital circuits, the problems of high high-frequency current amplitude detection cost and insufficient tracking ability in the existing technology are solved, and low-cost, fast and accurate current amplitude detection is achieved. .
Patent Information
- Application Number
- CN202410992789.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-01
AI Technical Summary
Among the existing high-frequency current amplitude detection methods, the digital method is costly and consumes a lot of computing power on the controller, while the analog method is difficult to track the rapidly decreasing current amplitude, resulting in detection errors.
The analog-to-digital hybrid high-frequency current amplitude detection method is used, combined with analog circuits and digital circuits, to achieve low-cost, fast and accurate current amplitude detection through the voltage conversion module, voltage comparison module, selection counting module and calculation module.
It reduces hardware costs and requirements for controller computing power, can quickly track the sinusoidal current with reduced amplitude, and reduces detection errors.
Smart Images

Figure CN118731476A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of current amplitude detection, and in particular to an analog-digital hybrid high-frequency current amplitude detection method. Background Art
[0002] Wireless power transmission technology based on the principle of magnetic field resonance coupling can transmit milliwatts to megawatts of power within a distance range of millimeters to meters, and has a transmission efficiency of more than 90%. It can meet the wireless charging needs of various devices including electric vehicles, consumer electronic devices, underwater submersibles, and drones, and is becoming an attractive way to replenish energy.
[0003] The above-mentioned wireless power transmission system uses high-frequency alternating current in the frequency range of kHz to MHz to establish a coupling magnetic field, and realizes efficient energy transfer through resonance. Among them, the high-frequency current used to establish the magnetic field is generated by a power electronic converter. In order to ensure the normal operation of the system, the high-frequency current needs to be controlled within a suitable range. Commonly used control methods include DC voltage modulation, phase shift modulation, pulse density modulation, etc. Regardless of which method is used, the amplitude of the high-frequency current is an important feedback signal, which can be used to improve the speed and accuracy of control and provide fast overcurrent protection.
[0004] There are two common amplitude detection methods. One is the digital method, which uses a high-speed analog / digital converter to sample the current value, and then uses a short-time FFT or digital filtering + maximum value detection algorithm to calculate the amplitude; the other is the analog method, which uses a comparator and a capacitor charging and discharging circuit to build a peak detection circuit. For the digital method, the sampling frequency of the analog / digital converter used must be much higher than the current frequency, and the current frequency in the wireless power transmission system is as high as kHz to MHz. The analog / digital converter with a higher sampling frequency will inevitably increase the cost and consume the computing power of the controller; for the analog method, the peak detection circuit can detect the rapidly increasing current amplitude, but due to the limitation of the capacitor discharge speed, it is difficult to track the rapidly decreasing current amplitude, resulting in detection errors. Summary of the invention
[0005] The main purpose of the present invention is to provide an analog-digital hybrid high-frequency current amplitude detection method to achieve low-cost, fast and accurate high-frequency current amplitude detection.
[0006] To achieve the above-mentioned object, the present application provides an analog-digital hybrid high-frequency current amplitude detection method, which is applied to an analog-digital hybrid high-frequency current amplitude detection circuit, wherein the analog-digital hybrid high-frequency current amplitude detection circuit includes an analog circuit and a digital circuit, wherein the output end of the analog circuit is connected to the input end of the digital circuit; the analog circuit includes a voltage conversion module and a voltage comparison module, and the digital circuit includes a selection counting module and a calculation module;
[0007] The method comprises:
[0008] The voltage conversion module converts the input AC current to be measured to obtain an AC voltage with the same value;
[0009] The voltage comparison module compares the AC voltage with a reference voltage value, and transmits the comparison result to the selection counting module;
[0010] The selecting counting module counts according to the comparison result to obtain a counting value;
[0011] The calculation module calculates and obtains a current measurement value according to the count value.
[0012] Optionally, the voltage conversion module includes a current transformer and a resistor, and the voltage comparison module includes a comparator and a reference voltage;
[0013] The primary side of the current transformer is connected to the AC current to be measured, one end of the secondary side of the current transformer is connected to the positive electrode of the comparator and one end of the resistor, and the other end of the secondary side of the current transformer is connected to the other end of the resistor and grounded; the negative electrode of the comparator is connected to the positive electrode of the reference voltage, and the negative electrode of the reference voltage is grounded; the output end of the comparator is the output end of the analog circuit.
[0014] Optionally, the selection counting module includes an accumulator, a selector and a delayer;
[0015] The input end, reset end and selection end of the accumulator are all connected to the output end of the comparator; the first input end of the selector is connected to the output end of the accumulator; the output end of the selector is connected to the input end of the delayer; the output end of the delayer is connected to the second input end of the selector and the input end of the calculation module.
[0016] Optionally, the calculation module calculates and obtains the current measurement value according to the count value, including:
[0017] The calculation module calculates the current measurement value upper limit and the current measurement value lower limit according to the count value;
[0018] The calculation module calculates an average value of the current measurement value upper limit and the current measurement value lower limit as the current measurement value.
[0019] Optionally, the calculation module calculates the current measurement value upper limit and the current measurement value lower limit according to the count value, including:
[0020] The calculation module calculates and obtains the current measurement value upper limit and the current measurement value lower limit according to the count value of the delayer, the reference voltage value, the frequency of the AC current to be measured and the clock frequency.
[0021] On the other hand, the present application also provides an analog-digital hybrid high-frequency current amplitude detection circuit, the circuit comprising an analog circuit and a digital circuit, the output end of the analog circuit is connected to the input end of the digital circuit; the analog circuit comprises a voltage conversion module and a voltage comparison module, the digital circuit comprises a selection counting module and a calculation module, wherein:
[0022] The voltage conversion module, the voltage comparison module, the selection counting module and the calculation module are connected in sequence;
[0023] The voltage conversion module is used to convert the input AC current to be measured to obtain an AC voltage with the same value;
[0024] The voltage comparison module is used to compare the AC voltage with a reference voltage value and transmit the comparison result to the selection counting module;
[0025] The selecting counting module is used to count according to the comparison result to obtain a counting value;
[0026] The calculation module is used to calculate and obtain the current measurement value according to the count value.
[0027] Optionally, the voltage conversion module includes a current transformer and a resistor, and the voltage comparison module includes a comparator and a reference voltage;
[0028] The current transformer is connected to the AC current to be measured, one end of the secondary side of the current transformer is connected to the positive electrode of the comparator and one end of the resistor, the other end of the secondary side of the current transformer is connected to the other end of the resistor and grounded; the negative electrode of the comparator is connected to the positive electrode of the reference voltage, and the negative electrode of the reference voltage is grounded; the output end of the comparator is the output end of the analog circuit.
[0029] Optionally, the selection counting module includes an accumulator, a selector and a delayer;
[0030] The input end, reset end and selection end of the accumulator are all connected to the output end of the comparator; the first input end of the selector is connected to the output end of the accumulator; the output end of the selector is connected to the input end of the delayer; the output end of the delayer is connected to the second input end of the selector and the input end of the calculation module.
[0031] Optionally, the calculation module includes an upper limit calculation unit and a lower limit calculation unit;
[0032] The input ends of the upper limit calculation unit and the lower limit calculation unit are the input ends of the calculation module;
[0033] The upper limit calculation unit is used to calculate the upper limit of the current measurement value;
[0034] The lower limit calculation unit is used to calculate the lower limit of the current measurement value;
[0035] The calculation module is specifically used to calculate and obtain the current measurement value according to the current measurement value upper limit and the current measurement value lower limit.
[0036] Optionally, the upper limit calculation unit is specifically used to calculate and obtain the upper limit of the current measurement value according to the count value of the delayer, the reference voltage value, the frequency of the AC current to be measured and the clock frequency;
[0037] The lower limit calculation unit is specifically used to calculate and obtain the lower limit of the current measurement value according to the count value of the delayer, the reference voltage value, the frequency of the AC current to be measured and the clock frequency.
[0038] The present application provides an analog-to-digital hybrid high-frequency current amplitude detection method, which is applied to an analog-to-digital hybrid high-frequency current amplitude detection circuit, wherein the analog-to-digital hybrid high-frequency current amplitude detection circuit includes an analog circuit and a digital circuit, wherein the output end of the analog circuit is connected to the input end of the digital circuit; the analog circuit includes a voltage conversion module and a voltage comparison module, and the digital circuit includes a selection counting module and a calculation module; the voltage conversion module converts an input AC current to be measured to obtain an AC voltage with an equal value; the voltage comparison module compares the AC voltage with a reference voltage value and transmits the comparison result to the selection counting module; the selection counting module counts according to the comparison result to obtain a count value; the calculation module calculates and obtains a current measurement value according to the count value, thereby realizing low-cost, fast and accurate high-frequency current amplitude detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] in:
[0041] Figure 1 A schematic diagram of the structure of an analog-to-digital hybrid high-frequency current amplitude detection circuit provided in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of an analog circuit structure provided in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of a digital circuit structure provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of the structure of another analog-digital hybrid high-frequency current amplitude detection circuit provided in an embodiment of the present application;
[0045] Figure 5 A schematic diagram of a circuit simulation result provided by an embodiment of the present application;
[0046] Figure 6 A schematic diagram of the relationship between a delay device output result and a current measurement value in a circuit provided in an embodiment of the present application;
[0047] Figure 7 A schematic diagram of the relationship between a current measurement value and a relative error provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0049] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0050] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0051] The current transformer mentioned in the embodiment of the present application is an instrument that converts a large current on the primary side into a small current on the secondary side for measurement based on the principle of electromagnetic induction. The current transformer is composed of a closed iron core and a winding. Its primary winding has very few turns and is connected in series in the circuit of the current to be measured. Therefore, it often has the entire current of the circuit flowing through it, and the secondary winding has a relatively large number of turns, which is connected in series in the measuring instrument and the protection circuit. When the current transformer is working, its secondary circuit is always closed, so the impedance of the series coil of the measuring instrument and the protection circuit is very small, and the working state of the current transformer is close to short circuit.
[0052] In a CPU, an accumulator is a register used to store intermediate results of calculations.
[0053] Comparing two or more data items to determine whether they are equal, or to determine the size relationship and arrangement order between them is called comparison. The circuit or device that can achieve this comparison function is called a comparator. A comparator is a circuit that compares an analog voltage signal with a reference voltage. The two inputs of the comparator are analog signals, and the output is a binary signal 0 or 1. When the difference in input voltage increases or decreases and the positive and negative signs remain unchanged, its output remains constant.
[0054] The selector mentioned in the embodiment of the present application is used in a circuit to select an output signal from multiple input signals. It is usually used in applications such as data selection, multiplexing and logic control.
[0055] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.
[0056] In order to better illustrate the method in the embodiment of the present application, a preliminary introduction is first given to the analog-to-digital hybrid high-frequency current amplitude detection circuit proposed in the embodiment of the present application.
[0057] See also Figure 1 , is a schematic diagram of the structure of an analog-digital hybrid high-frequency current amplitude detection circuit provided in an embodiment of the present application. Figure 1 As shown, the analog-to-digital hybrid high-frequency current amplitude detection circuit 100 includes an analog circuit 110 and a digital circuit 120, and the output end of the analog circuit 110 is connected to the input end of the digital circuit 120; the analog circuit 110 includes a voltage conversion module 01 and a voltage comparison module 02, and the digital circuit 120 includes a selection counting module 03 and a calculation module 04.
[0058] Specifically, the voltage conversion module 01, the voltage comparison module 02, the selection counting module and the calculation module 04 are connected in sequence. Figure 1The analog-digital hybrid high-frequency current amplitude detection circuit 100 shown in the embodiment of the present application provides an analog-digital hybrid high-frequency current amplitude detection method, including:
[0059] The voltage conversion module 01 converts the input AC current to obtain an AC voltage with the same value;
[0060] The voltage comparison module 02 compares the AC voltage with the reference voltage value and transmits the comparison result to the selection counting module 03;
[0061] Select counting module 03 to count according to the above comparison result to obtain a count value;
[0062] The calculation module 04 calculates and obtains the current measurement value according to the above count value.
[0063] In an optional implementation manner, the calculation module 04 calculates and obtains the current measurement value according to the count value, including:
[0064] The calculation module 04 calculates the upper limit and the lower limit of the current measurement value according to the count value;
[0065] The calculation module 04 calculates an average value of the current measurement value upper limit and the current measurement value lower limit as the current measurement value.
[0066] Further optionally, the calculation module 04 calculates the current measurement upper limit and the current measurement lower limit according to the count value, including:
[0067] The calculation module 04 calculates and obtains the upper limit of the current measurement value and the lower limit of the current measurement value according to the count value of the delay device, the reference voltage, the frequency of the AC current to be measured and the clock frequency.
[0068] In an optional implementation, reference may be made to Figure 2 A schematic diagram of an analog circuit structure is shown in FIG. Figure 2 As shown, the analog circuit can be used as Figure 1 The analog circuit in the analog-digital hybrid high-frequency current amplitude detection circuit shown in FIG.
[0069] The voltage conversion module 01 includes a current transformer A and a resistor R, and the voltage comparison module 02 includes a comparator B and the reference voltage C;
[0070] The primary side of the current transformer A is connected to the AC current to be measured, one end of the secondary side of the current transformer A is connected to the positive electrode of the comparator B and one end of the resistor R, the other end of the secondary side of the current transformer A is connected to the other end of the resistor R and grounded; the negative electrode of the comparator B is connected to the positive electrode of the reference voltage C, and the negative electrode of the reference voltage C is grounded; the output end of the comparator B is the output end of the analog circuit.
[0071] In an optional implementation, reference may be made to Figure 3 A schematic diagram of a digital circuit structure is shown in FIG. Figure 3 As shown, the digital circuit can be used as Figure 1 The digital circuit in the analog-to-digital hybrid high-frequency current amplitude detection circuit shown in FIG.
[0072] The above selection counting module 03 includes an accumulator D, a selector E and a delayer F;
[0073] The input terminal In of the accumulator D, the reset terminal Reset and the selection terminal Sel of the selector E are all connected to the output terminal Out of the comparator B; the first input terminal Ch0 of the selector E is connected to the output terminal Out of the accumulator D; the output terminal Out of the selector E is connected to the input terminal of the delayer F; the output terminal of the delayer F is connected to the second input terminal Ch1 of the selector E and the input terminal of the calculation module G.
[0074] In order to more clearly illustrate the analog-digital hybrid high-frequency current amplitude detection method in the embodiment of the present application, please refer to Figure 4 A schematic diagram of the structure of an analog-to-digital hybrid high-frequency current amplitude detection circuit is shown.
[0075] Among them, the analog-digital hybrid high-frequency current amplitude detection method in the embodiment of the present application can be based on Figure 4 The analog-digital hybrid high-frequency current amplitude detection circuit shown is implemented. Specifically:
[0076] like Figure 4 As shown, the circuit includes an analog circuit 410 and a digital circuit 420, and the output end of the analog circuit 410 is connected to the input end of the digital circuit 420, wherein:
[0077] The primary side of the current transformer A is connected to the AC current i to be measured, one end of the secondary side of the current transformer A is connected to the positive electrode of the comparator B and one end of the resistor R, and the other end of the secondary side of the current transformer A is connected to the other end of the resistor R and grounded; the negative electrode of the comparator B is connected to the positive electrode of the reference voltage C, and the negative electrode of the reference voltage C is grounded; the output end of the comparator B is the output end of the analog circuit 410;
[0078] The input terminal In of the accumulator D, the reset terminal Reset and the selection terminal Sel of the selector E are all connected to the output terminal Out of the comparator B; the first input terminal Ch0 of the selector E is connected to the output terminal Out of the accumulator D; the output terminal Out of the selector E is connected to the input terminal of the delayer F; the output terminal of the delayer F is connected to the second input terminal Ch1 of the selector E and the input terminal of the calculation module G;
[0079] The calculation module G includes an upper limit calculation unit Fn1 and a lower limit calculation unit Fn2;
[0080] The input terminals of the upper limit calculation unit Fn1 and the lower limit calculation unit Fn2 are the input terminals of the calculation module;
[0081] The upper limit calculation unit Fn1 is used to calculate the upper limit i1 of the current measurement value;
[0082] The lower limit calculation unit Fn2 is used to calculate the lower limit i2 of the current measurement value;
[0083] The calculation module G can calculate and obtain the current measurement value according to the current measurement value upper limit i1 and the current measurement value lower limit i2.
[0084] Specifically, the measured AC current i passes through the primary side (primary side) of the current transformer A, generates an induced current on the secondary side (secondary side), and generates an AC voltage u with an amplitude of i×R / n on the resistor R. If the appropriate number of turns n and the resistor R are taken so that R / n=1, the AC voltage u is equal to the measured AC current i in value. The comparator B compares the AC voltage u with the reference voltage value v. If u is greater than v, the output is a high level 1, otherwise the output is a low level 0. The output of the comparator B is used as the input of the digital circuit 420.
[0085] The digital circuit 420 can be triggered by a common clock signal. The frequency of the clock signal is higher than the frequency of the AC current i to be measured. The output of comparator B is the input signal of accumulator D, and its rising edge also serves as the reset signal of accumulator D. When the output of comparator B changes from 0 to 1, accumulator D is reset, and when comparator B continuously outputs a high level, the output of accumulator D increases by 1 every clock cycle. The output of comparator B also serves as the selection signal of selector E. When the output of comparator B is 0, the output of selector E is equal to channel 0 (Ch0), and when the output of comparator B is 1, the output of selector E is equal to channel 1 (Ch1). Channel 0 of selector E is connected to the output of accumulator D, and channel 1 is connected to the output of delayer F. The input of delayer F is the output of selector E. Delayer F delays the input signal by 1 clock cycle. The output of delayer F serves as the input of upper limit calculation unit Fn1 and lower limit calculation unit Fn2.
[0086] The calculation module G may specifically calculate an average value of an upper limit of the current measurement value and a lower limit of the current measurement value as the current measurement value.
[0087] The upper limit calculation unit Fn1 can calculate the upper limit of the current measurement value according to the count value c of the delay device F, the reference voltage value v, the frequency of the AC current i to be measured and the clock frequency;
[0088] The lower limit calculation unit Fn2 can calculate the lower limit of the current measurement value according to the count value c of the delay device F, the reference voltage value v, the frequency of the AC current i to be measured and the clock frequency.
[0089] Specifically, the upper and lower limit calculation formulas are:
[0090]
[0091] Among them, i1 and i2 are the upper and lower limits of the current measurement value, c is the delay output, f is the frequency of the AC current i to be measured, and fc is the clock frequency. The average value of i1 and i2 is selected as the current measurement value, that is:
[0092]
[0093] The measurement error is:
[0094]
[0095] The embodiment of the present application proposes a high-frequency current detection method that is a mixture of analog circuits and digital circuits. Based on the above circuit structure, it does not require a high-precision high-speed analog / digital converter, nor does it require filtering and maximum value detection algorithms, which reduces hardware costs and reduces the computing power requirements for the controller. In addition, the circuit is not limited by the discharge speed of the capacitor of the traditional peak detection circuit, and can quickly track the sinusoidal current with reduced amplitude.
[0096] Figure 5 The measurement results of the detection method in the embodiment of the present application are illustrated by simulation. Figure 5 In the simulation shown, the frequency of the AC current to be measured is 1MHz, and its amplitude jumps once every 5 cycles, which are 0.5A, 0.8A, 1A and 0.6A in time sequence. The reference voltage is 0.4V, which is smaller than the current amplitude. The clock frequency of the digital circuit is 100MHz. The comparator outputs a high level in each current cycle. The width of the high level is related to the current amplitude. The digital circuit obtains the count value c corresponding to the high level width at the output of the delayer through operations such as accumulation, that is, a multiple of the clock cycle. The upper and lower limit calculation part obtains the current measurement value based on the count value c.
[0097] Figure 6The figure shows the upper and lower limits of the current measurement value and the average value corresponding to different count values c in the simulation example when the clock frequency is 100 times the frequency of the current to be measured. The larger the count value c, the larger the current measurement value, and the larger the difference between the upper and lower limits of the measurement value.
[0098] Figure 7 The relationship between the relative error and the measured value is shown when the clock frequency is 100 times the frequency of the current to be measured. It can be seen that the relative error increases with the increase of the measured value. The method for further improving the measurement accuracy in the embodiment of the present application may include:
[0099] 1) Make the reference voltage v close to the amplitude of the current to be measured, 2) Make the clock frequency much higher than the frequency of the current to be measured.
[0100] There are two common amplitude detection methods. One is the digital method, which uses a high-speed analog / digital converter to sample the current value, and then uses a short-time FFT or digital filtering + maximum value detection algorithm to calculate the amplitude; the other is the analog method, which uses a comparator and a capacitor charging and discharging circuit to build a peak detection circuit. Both of the above methods have their own limitations and shortcomings. For the digital method, the sampling frequency of the analog / digital converter used must be much higher than the current frequency, and the current frequency in the wireless power transmission system is as high as kHz to MHz. The analog / digital converter with a higher sampling frequency will inevitably increase the cost and consume the computing power of the controller; for the analog method, the peak detection circuit can detect the rapidly increasing current amplitude, but due to the limitation of the capacitor discharge speed, it is difficult to track the rapidly decreasing current amplitude, resulting in detection errors.
[0101] A high-frequency current detection method that combines analog circuits and digital circuits proposed in the embodiments of the present application can realize low-cost and fast high-frequency current amplitude detection. The circuit and method do not require a high-precision, high-speed analog / digital converter, nor do they require filtering and maximum value detection algorithms, which reduces hardware costs and reduces the computing power requirements for the controller. In addition, the circuit is not limited by the discharge speed of the capacitor of the traditional peak detection circuit, and can quickly track the sinusoidal current with reduced amplitude.
[0102] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0103] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0104] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A hybrid analog-digital high-frequency current amplitude detection method, It is characterized in that Applicable to an analog-digital hybrid high-frequency current amplitude detection circuit, the analog-digital hybrid high-frequency current amplitude detection circuit includes an analog circuit and a digital circuit, the output end of the analog circuit is connected to the input end of the digital circuit; the analog circuit includes a voltage conversion module and a voltage comparison module, and the digital circuit includes a selection counting module and a calculation module; The method comprises: The voltage conversion module converts the input AC current to be measured to obtain an AC voltage with the same value; The voltage comparison module compares the AC voltage with a reference voltage value, and transmits the comparison result to the selection counting module; The selecting counting module counts according to the comparison result to obtain a counting value; The calculation module calculates and obtains a current measurement value according to the count value.
2. The analog-digital hybrid high-frequency current amplitude detection method according to claim 1, It is characterized in that The voltage conversion module includes a current transformer and a resistor, and the voltage comparison module includes a comparator and a reference voltage; The primary side of the current transformer is connected to the AC current to be measured, one end of the secondary side of the current transformer is connected to the positive electrode of the comparator and one end of the resistor, and the other end of the secondary side of the current transformer is connected to the other end of the resistor and grounded; the negative electrode of the comparator is connected to the positive electrode of the reference voltage, and the negative electrode of the reference voltage is grounded; the output end of the comparator is the output end of the analog circuit.
3. The analog-digital hybrid high-frequency current amplitude detection method according to claim 2, It is characterized in that The selection counting module includes an accumulator, a selector and a delayer; The input end, reset end and selection end of the accumulator are all connected to the output end of the comparator; the first input end of the selector is connected to the output end of the accumulator; the output end of the selector is connected to the input end of the delayer; the output end of the delayer is connected to the second input end of the selector and the input end of the calculation module.
4. The analog-digital hybrid high-frequency current amplitude detection method according to claim 3, It is characterized in that The calculation module calculates and obtains the current measurement value according to the count value, including: The calculation module calculates the current measurement value upper limit and the current measurement value lower limit according to the count value; The calculation module calculates an average value of the current measurement value upper limit and the current measurement value lower limit as the current measurement value.
5. The analog-digital hybrid high-frequency current amplitude detection method according to claim 4, It is characterized in that The calculation module calculates the current measurement value upper limit and the current measurement value lower limit according to the count value, including: The calculation module calculates and obtains the current measurement value upper limit and the current measurement value lower limit according to the count value of the delayer, the reference voltage value, the frequency of the AC current to be measured and the clock frequency.
6. A hybrid analog-digital high-frequency current amplitude detection circuit, It is characterized in that The circuit includes an analog circuit and a digital circuit, the output end of the analog circuit is connected to the input end of the digital circuit; the analog circuit includes a voltage conversion module and a voltage comparison module, and the digital circuit includes a selection counting module and a calculation module, wherein: The voltage conversion module, the voltage comparison module, the selection counting module and the calculation module are connected in sequence; The voltage conversion module is used to convert the input AC current to be measured to obtain an AC voltage with the same value; The voltage comparison module is used to compare the AC voltage with a reference voltage value and transmit the comparison result to the selection counting module; The selecting counting module is used to count according to the comparison result to obtain a counting value; The calculation module is used to calculate and obtain the current measurement value according to the count value.
7. The analog-to-digital hybrid high-frequency current amplitude detection circuit according to claim 6, It is characterized in that The voltage conversion module includes a current transformer and a resistor, and the voltage comparison module includes a comparator and a reference voltage; The current transformer is connected to the AC current to be measured, one end of the secondary side of the current transformer is connected to the positive electrode of the comparator and one end of the resistor, the other end of the secondary side of the current transformer is connected to the other end of the resistor and grounded; the negative electrode of the comparator is connected to the positive electrode of the reference voltage, and the negative electrode of the reference voltage is grounded; the output end of the comparator is the output end of the analog circuit.
8. The analog-to-digital hybrid high-frequency current amplitude detection circuit according to claim 7, It is characterized in that The selection counting module includes an accumulator, a selector and a delayer; The input end, reset end and selection end of the accumulator are all connected to the output end of the comparator; the first input end of the selector is connected to the output end of the accumulator; the output end of the selector is connected to the input end of the delayer; the output end of the delayer is connected to the second input end of the selector and the input end of the calculation module.
9. The analog-digital hybrid high-frequency current amplitude detection circuit according to claim 8, It is characterized in that The calculation module includes an upper limit calculation unit and a lower limit calculation unit; The input ends of the upper limit calculation unit and the lower limit calculation unit are the input ends of the calculation module; The upper limit calculation unit is used to calculate the upper limit of the current measurement value; The lower limit calculation unit is used to calculate the lower limit of the current measurement value; The calculation module is specifically used to calculate and obtain the current measurement value according to the current measurement value upper limit and the current measurement value lower limit.
10. The analog-digital hybrid high-frequency current amplitude detection circuit according to claim 9, It is characterized in that The upper limit calculation unit is specifically used to calculate and obtain the upper limit of the current measurement value according to the count value of the delayer, the reference voltage value, the frequency of the AC current to be measured and the clock frequency; The lower limit calculation unit is specifically used to calculate and obtain the lower limit of the current measurement value according to the count value of the delayer, the reference voltage value, the frequency of the AC current to be measured and the clock frequency.
