CN113886293B - Microwave power meter capable of rapidly measuring and control method - Google Patents

Microwave power meter capable of rapidly measuring and control method Download PDF

Info

Publication number
CN113886293B
CN113886293B CN202111229967.3A CN202111229967A CN113886293B CN 113886293 B CN113886293 B CN 113886293B CN 202111229967 A CN202111229967 A CN 202111229967A CN 113886293 B CN113886293 B CN 113886293B
Authority
CN
China
Prior art keywords
sampling
data
arm processor
fpga module
adc
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
CN202111229967.3A
Other languages
Chinese (zh)
Other versions
CN113886293A (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.)
CLP Kesiyi Technology Co Ltd
Original Assignee
CLP Kesiyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CLP Kesiyi Technology Co Ltd filed Critical CLP Kesiyi Technology Co Ltd
Priority to CN202111229967.3A priority Critical patent/CN113886293B/en
Publication of CN113886293A publication Critical patent/CN113886293A/en
Application granted granted Critical
Publication of CN113886293B publication Critical patent/CN113886293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Abstract

The application discloses a microwave power meter for quick measurement and a control method thereof, comprising the following steps: the system comprises an FPGA module, an ARM processor and two sampling data memories; one port of the two sampling data memories is connected with the FPGA module, and the other port is connected with the ARM processor; the ARM processor is also connected with the FPGA module; the FPGA module is used for switching between the two sampling data memories to write sampling ADC data; the ARM processor is used for acquiring a switching signal of the FPGA module and switching a sampling data memory of the ARM processor for reading sampling ADC data; the sampling data memory used for reading sampling ADC data by the ARM processor is opposite to the sampling data memory used for writing the sampling ADC data by the FPGA module. The speed of each measurement is greatly increased, and the continuity of sampling signals is ensured. Meanwhile, the control method of the microwave power meter provided by the application accelerates the measurement speed of the microwave power meter.

Description

Microwave power meter capable of rapidly measuring and control method
Technical Field
The application belongs to the technical field of microwave power meters, and particularly relates to a microwave power meter capable of rapidly measuring and a control method thereof.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
At present, the microwave power adopts a pure software processing method, after each time of data acquisition, the software performs subsequent data processing and temperature compensation, and after the processing is completed, the sampling is started again, and the whole processing process is serial and discontinuous.
However, the processing mode of pure software can be serial, sampling and data processing can be carried out in a time-sharing mode, temperature compensation is needed in the measuring process, and each time the temperature compensation needs about 10ms, so that the measuring speed is low, the measuring time needs at least 10ms in the whole process, and meanwhile, the measured data is lost in the data processing and temperature compensation process.
Disclosure of Invention
In order to overcome the defects in the prior art, the application provides the microwave power meter for rapid measurement, which greatly accelerates the speed of each measurement and ensures the continuity of sampling signals.
To achieve the above object, one or more embodiments of the present application provide the following technical solutions:
a rapid measurement microwave power meter comprising: the system comprises an FPGA module, an ARM processor and two sampling data memories;
one port of the two sampling data memories is connected with the FPGA module, and the other port is connected with the ARM processor; the ARM processor is also connected with the FPGA module;
the FPGA module is used for switching between the two sampling data memories to write sampling ADC data;
the ARM processor is used for acquiring a switching signal of the FPGA module and switching a sampling data memory of the ARM processor for reading sampling ADC data;
the sampling data memory used for reading sampling ADC data by the ARM processor is opposite to the sampling data memory used for writing the sampling ADC data by the FPGA module.
Furthermore, the FPGA module stores the set sampling length of the sampling data memory, and when the length of the stored data of the sampling data memory which is used for writing the sampling ADC data is larger than the set sampling length, the FPGA module is switched to the other sampling data memory to write the sampling ADC data.
Furthermore, the ARM processor is also connected with the calibration table memory and is used for circularly acquiring the small tables of the calibration table in the calibration table memory according to a set sequence at the set calibration table updating time, and updating all the small tables in the gap time sharing mode stored by the FPGA.
Furthermore, the ARM processor is further used for reading the sampled ADC data in the sampled data memory which is not written with the sampled ADC data, and converting the read sampled ADC data into a power value based on a calibration table in the calibration table memory.
Further, the power generation device also comprises a display connected with the ARM processor and used for displaying the power value.
Furthermore, the two sampling data memories are consistent in size, and the FPGA module and the ARM processor can perform read-write operation on each block of sampling data memory.
The application also discloses a control method of the microwave power meter for rapid measurement, which comprises the following steps:
based on the set sampling length, the FPGA module switches the writing of sampling ADC data between two sampling data memories; meanwhile, the ARM processor switches a sampling data memory for reading sampling ADC data based on a switching signal of the FPGA module;
the sampling data memory used for reading sampling ADC data by the ARM processor is opposite to the sampling data memory used for writing the sampling ADC data by the FPGA module.
Further, the specific steps of the FPGA module for switching the writing of the sampled ADC data between the two sampled data memories are:
the FPGA module judges whether the length of stored data of the sampling data memory for writing the ADC data is larger than a set sampling length, and when the length is larger than the set sampling length, the FPGA module writes the sampling ADC data into another sampling data memory.
Further, the method further comprises the following steps:
the ARM processor circularly acquires small forms of the calibration forms in the calibration form memory according to a set sequence at the set calibration form updating time;
and updating all the small tables in a time sharing manner in the gap stored by the FPGA.
Further, the method further comprises the following steps:
the ARM processor reads sampling ADC data in a sampling data memory which is not written with the sampling ADC data;
based on the calibration table, the read sampled ADC data is converted into power values.
The one or more of the above technical solutions have the following beneficial effects:
the microwave power meter adopts the synchronous processing technology of data acquisition and operation and the cutting time-sharing processing technology of the temperature compensation process, greatly accelerates the speed of each measurement, improves the measurement speed by at least 500 times compared with the processing mode of pure software, and can also ensure the continuity of measurement signals.
The control method of the microwave power meter ensures the continuity of sampling signals by adopting the synchronous processing technology of data acquisition and operation and the cutting time-sharing processing technology of the temperature compensation process, and can realize that 20us can finish measurement at the highest speed, namely 50000 readings can be carried out per second.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application.
Fig. 1 is a structural diagram of a microwave power meter according to a first embodiment of the present application.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present application. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Embodiments of the application and features of the embodiments may be combined with each other without conflict.
Example 1
Referring to fig. 1, this embodiment discloses a microwave power meter for rapid measurement, which includes: the device comprises an FPGA module, a calibration table memory RAM3, an ARM processor, a display and two sampling data memories (a first sampling data memory RAM1 and a second sampling data memory RAM 2).
The two sampling data memories are identical in size and are dual-port RAMs, and the FPGA module and the ARM processor can perform read-write operation on each sampling data memory. Namely, the two sampling data memories are two dual-port RAMs with consistent size and large enough capacity, and meanwhile, the FPGA and the ARM can both read and write operations on the same RAM.
One port of the two sampling data memories is connected with the FPGA module, and the other port is connected with the ARM processor.
And the FPGA module is used for carrying out continuous uninterrupted sampling, acquiring a sampling ADC and storing the sampling ADC into the RAM in real time. Wherein the sampled ADC data includes a temperature ADC value and a power ADC value.
The ARM processor is connected with the FPGA module, and the FPGA module is used for switching between the two sampling data memories to write sampling ADC data; the ARM processor is used for acquiring a switching signal of the FPGA module and switching a sampling data memory of the ARM processor for reading sampling ADC data; the sampling data memory used for reading sampling ADC data by the ARM processor is opposite to the sampling data memory used for writing the sampling ADC data by the FPGA module. Specific: the FPGA module is used for judging whether the length of the stored data of the sampling data memory which is being subjected to ADC data writing is larger than the set sampling length, and when the length of the stored data of the sampling data memory which is being subjected to ADC data writing is larger than the set sampling length, the FPGA module is switched to the other sampling data memory to carry out ADC data writing, namely, is switched to the other sampling data memory to carry out storage.
The ARM processor is used for reading the sampled ADC data stored in the sampled data memory which is not written with the sampled ADC data, and converting the read sampled ADC data into a power value based on a calibration table in the calibration table memory. That is, the FPGA stores the data in the sampling data memory RAM, the ARM processor acquires the data in the other sampling data memory RAM, and the data acquisition and the processing can be performed simultaneously, so that the measurement speed is increased, and the continuity of the sampling data is ensured. For example, if the sampled data memory in which the FPGA module is writing sampled ADC data is the first sampled data memory RAM1, when the length of the data stored in the first sampled data memory RAM1 is greater than the set sampling length, the FPGA module switches to the second sampled data memory RAM2 to write sampled ADC data, at this time, the first sampled data memory RAM1 becomes a sampled data memory in which the sampled ADC data is not written, and the ARM processor reads the sampled ADC data in the first sampled data memory RAM 1.
And the display is connected with the ARM processor and used for displaying the power value.
The ARM processor is also connected with the calibration table memory, and is also used for circularly acquiring the small tables of the calibration table in the calibration table memory RAM3 according to a set sequence at the set calibration table updating time, and updating all the small tables in the gap time sharing stored by the FPGA so as to realize the updating of the calibration table.
Because in the microwave power measurement, in order to accelerate the measurement speed and improve the measurement efficiency, a calibration table of the one-to-one correspondence between the sampling ADC and the power values needs to be established, so that the power values of the corresponding measurement signals can be directly obtained according to the size of the sampling ADC. Therefore, each time temperature compensation is performed, the corresponding relation between the sampling ADC and the power value is changed, so that a new calibration table corresponding to the current temperature needs to be generated. Since the number of bits of the AD chip used in the microwave power meter is generally 16, 65536 (2) is required to be updated every time the temperature is compensated 16 ) Group data requires about 10 ms. When the set sampling length is less than 10ms, the sampling data is lost and the measurement speed is slow because the time for processing the data and temperature compensation is much longer than 10 ms.
In order to solve the problem, when the table is updated for temperature compensation, the application adopts a cutting and time-sharing processing mode to cut 65536 groups of data into 1000 small tables with different sizes, and completes the updating of the 1000 small tables in a time-sharing mode at the intervals stored by the FPGA according to a set sequence, wherein the updating time of each small table is about 10us, and the processing time of the sampled data is less than 2us, so that the sampled data processing with the minimum time of 20us can be completely satisfied.
The application can not only improve the measuring speed from the original 10ms to the current 20us, but also ensure the integrity of the measuring signal data.
Example two
An object of the present embodiment is to provide a control method of a microwave power meter for rapid measurement, including:
based on the set sampling length, the FPGA module switches the writing of sampling ADC data between two sampling data memories; meanwhile, the ARM processor switches a sampling data memory for reading sampling ADC data based on a switching signal of the FPGA module;
the sampling data memory used for reading sampling ADC data by the ARM processor is opposite to the sampling data memory used for writing the sampling ADC data by the FPGA module.
The specific steps of the FPGA module for switching the data writing of the sampling ADC between the two sampling data memories are as follows: the FPGA module judges whether the length of stored data of the sampling data memory for writing the ADC data is larger than a set sampling length, and when the length is larger than the set sampling length, the FPGA module writes the sampling ADC data into another sampling data memory. The ARM processor reads sampling ADC data in a sampling data memory which is not written with the sampling ADC data; the read sampled ADC data is converted to a power value based on the calibration table.
Cutting time-sharing treatment of temperature compensation process: the ARM processor circularly acquires small forms of the calibration forms in the calibration form memory according to a set sequence at the set calibration form updating time; and updating all the small tables in a time sharing manner in the gap stored by the FPGA.
The steps involved in the apparatus of the above embodiment correspond to the structures in the first embodiment, and the description of the related structures in the first embodiment can be referred to in the description section of the related structures in the first embodiment.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
While the foregoing description of the embodiments of the present application has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the application, but rather, it is intended to cover all modifications or variations within the scope of the application as defined by the claims of the present application.

Claims (8)

1. A microwave power meter for rapid measurement, comprising: the system comprises an FPGA module, an ARM processor and two sampling data memories;
one port of the two sampling data memories is connected with the FPGA module, and the other port is connected with the ARM processor; the ARM processor is also connected with the FPGA module;
the FPGA module is used for switching between the two sampling data memories to write sampling ADC data;
the ARM processor is used for acquiring a switching signal of the FPGA module and switching a sampling data memory of the ARM processor for reading sampling ADC data;
the ARM processor is also connected with the calibration table memory and is used for circularly acquiring small tables of the calibration tables in the calibration table memory according to a set order at the set calibration table updating time and completing updating of all the small tables in the gap time-sharing mode stored by the FPGA;
the sampling data memory used for reading sampling ADC data by the ARM processor is opposite to the sampling data memory used for writing the sampling ADC data by the FPGA module.
2. The microwave power meter of claim 1, wherein the FPGA module stores a set sampling length of the sampling data memory, and switches to another sampling data memory for sampling ADC data writing when a length of stored data of the sampling data memory in which sampling ADC data writing is being performed is greater than the set sampling length.
3. A rapid measurement microwave power meter according to claim 1, wherein the ARM processor is further configured to read sampled ADC data in the sampled data memory to which the sampled ADC data is not written, and to convert the read sampled ADC data into power values based on a calibration table in the calibration table memory.
4. A rapid measurement microwave power meter as in claim 3 further comprising a display coupled to said ARM processor for displaying said power value.
5. A rapid measurement microwave power meter according to claim 1 wherein the two sample data memories are of uniform size and are each of a read-write operation for each block of sample data memory by the FPGA module and ARM processor.
6. A method for controlling a microwave power meter for rapid measurement, applied to a microwave power meter for rapid measurement according to any one of claims 1 to 5, comprising:
based on the set sampling length, the FPGA module switches the writing of sampling ADC data between two sampling data memories; meanwhile, the ARM processor switches a sampling data memory for reading sampling ADC data based on a switching signal of the FPGA module;
the ARM processor is used for reading sampling data of the sampling ADC and the sampling data memory for writing the sampling ADC data by the FPGA module are opposite; the ARM processor circularly acquires small forms of the calibration forms in the calibration form memory according to a set sequence at the set calibration form updating time;
and updating all the small tables in a time sharing manner in the gap stored by the FPGA.
7. The method for controlling a microwave power meter according to claim 6, wherein the FPGA module performs switching of the sampling ADC data writing between two sampling data memories, the specific steps of:
the FPGA module judges whether the length of stored data of the sampling data memory for writing the ADC data is larger than a set sampling length, and when the length is larger than the set sampling length, the FPGA module writes the sampling ADC data into another sampling data memory.
8. The control method of a microwave power meter for rapid measurement according to claim 6, further comprising:
the ARM processor reads sampling ADC data in a sampling data memory which is not written with the sampling ADC data;
based on the calibration table, the read sampled ADC data is converted into power values.
CN202111229967.3A 2021-10-20 2021-10-20 Microwave power meter capable of rapidly measuring and control method Active CN113886293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111229967.3A CN113886293B (en) 2021-10-20 2021-10-20 Microwave power meter capable of rapidly measuring and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111229967.3A CN113886293B (en) 2021-10-20 2021-10-20 Microwave power meter capable of rapidly measuring and control method

Publications (2)

Publication Number Publication Date
CN113886293A CN113886293A (en) 2022-01-04
CN113886293B true CN113886293B (en) 2023-09-01

Family

ID=79004285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111229967.3A Active CN113886293B (en) 2021-10-20 2021-10-20 Microwave power meter capable of rapidly measuring and control method

Country Status (1)

Country Link
CN (1) CN113886293B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0382890A1 (en) * 1989-02-15 1990-08-22 Landis & Gyr Business Support AG Apparent power measuring arrangement
JPH09318667A (en) * 1996-05-30 1997-12-12 Hioki Ee Corp Wave form recorder
CN1610836A (en) * 2001-10-30 2005-04-27 SiRF技术公司 Calibrated real time clock for acquisition of GPS signals during low power operation
CN105425028A (en) * 2015-10-27 2016-03-23 中国电子科技集团公司第四十一研究所 Microwave power measurer based on FPGA
CN205665307U (en) * 2016-05-16 2016-10-26 东莞纳普电子科技有限公司 New -type energy -saving power meter
CN209881907U (en) * 2019-07-15 2019-12-31 南京云格信息技术有限公司 Image acquisition equipment based on FPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708124B2 (en) * 2001-04-02 2004-03-16 Square D Company Impulsive transient detection and data acquisition coprocessor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0382890A1 (en) * 1989-02-15 1990-08-22 Landis & Gyr Business Support AG Apparent power measuring arrangement
JPH09318667A (en) * 1996-05-30 1997-12-12 Hioki Ee Corp Wave form recorder
CN1610836A (en) * 2001-10-30 2005-04-27 SiRF技术公司 Calibrated real time clock for acquisition of GPS signals during low power operation
CN105425028A (en) * 2015-10-27 2016-03-23 中国电子科技集团公司第四十一研究所 Microwave power measurer based on FPGA
CN205665307U (en) * 2016-05-16 2016-10-26 东莞纳普电子科技有限公司 New -type energy -saving power meter
CN209881907U (en) * 2019-07-15 2019-12-31 南京云格信息技术有限公司 Image acquisition equipment based on FPGA

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘征宇."便携式峰值功率分析仪设计".《中国优秀硕士学位论文全文数据库(电子期刊)》.2007,(第3期),参见正文第13、22、30页,附图3-2. *

Also Published As

Publication number Publication date
CN113886293A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN101271076B (en) Control method for integrated nuclear magnetic resonance spectrometer data communication
CN202815077U (en) Multi-channel voltage current tester
GB2426084A (en) Updating data in a dual port memory
CN106502943A (en) A kind of high-speed synchronous data acquiring instrument of NEXT series of products
CN104991981A (en) Multi-file-source fault record replaying system and method based on high-performance processor
US11169205B2 (en) Test apparatus
CN110262440B (en) Data monitoring and collecting system and method for rail vehicle traction system
CN113886293B (en) Microwave power meter capable of rapidly measuring and control method
CN103389413B (en) A kind of real-time statistical method of spectral histogram
JP5841458B2 (en) Test equipment and test modules
CN110456192A (en) Distribution terminal automatization test system and method based on LabView
CN113945772A (en) Rapid continuous point measurement system and method based on vector network analyzer
KR20000034827A (en) semiconductor memory test method and apparatus thereof
CN111966628B (en) Multi-core combined type large-capacity data synchronous storage method
KR20130035170A (en) Test apparatus and test method
US20130231885A1 (en) Test apparatus and test module
CN109491362B (en) Multi-bus protocol testing device
CN107564265B (en) LXI data acquisition unit for high-speed transmission and working method thereof
JP4835935B2 (en) Data transfer circuit and semiconductor test apparatus
KR20050109548A (en) Test device and setting method
CN114113304A (en) Alternating current electromagnetic field defect intelligent detection instrument based on FPGA
CN114676004A (en) Dynamic index measuring system and method of ADC chip based on FPGA
CN115242321A (en) Radio frequency signal phase difference calibration method and system
CN112006709A (en) Labview-based automatic exposure testing system and method for X-ray high-voltage generator
CN104808108A (en) Large data volume high-speed communication wave recording system and method based on electric system

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