A method and device for synchronously collecting angle signals and strain signals of a rotating balance signal collector
Through the combination of laser light source and photodiode, the light pulse signal is used to trigger the FPGA, which realizes the synchronous collection of the angle signal and the strain signal of the rotating balance signal collector, solves the problem of synchronous collection of the angle signal and the strain signal under high-speed rotation, and improves the data Accuracy and application range of collection.
Patent Information
- Application Number
- CN202310772793.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-06-28
AI Technical Summary
In the rotating balance test, how to achieve synchronous collection of angle signals and strain signals under high-speed rotation to ensure the accuracy and synchronization of data collection.
Using a combination of laser light source and photodiode, the FPGA is triggered by the laser light pulse signal to achieve the measurement of angle signals and the synchronous collection of strain signals. The high resolution of 24 photodiodes and the wireless WIFI module are used for data transmission and processing.
The measurement resolution of the rotation angle of the rotating balance signal collector is 15°, and the absolute synchronous collection of angle signals and strain signals is ensured, which improves the accuracy and application scope of data collection.
Smart Images

Figure CN116929697B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data acquisition, and in particular, relates to a method and a device for synchronously acquiring angle signals and strain signals of a rotation balance signal collector. Background Art
[0002] In the research work on aircraft stall / spin, the rotating balance test is an important method commonly used to obtain the complex aerodynamic characteristics of the spin motion. The test device obtains aerodynamic data by measuring the spin characteristics of the aircraft model rotating around the axis of the wind tunnel and at different rotation rates. Data acquisition and transmission can be achieved using a balance signal collector installed in the wind tunnel model.
[0003] In order to ensure the accuracy and synchronization of experimental data collection, the existing wind tunnel rotating balance test acquisition system generally adopts the form of motor reducer drive, introduces the balance data into the outside of the system through the slip ring, and uses the FPGA high-precision clock signal trigger to control the acquisition system to collect signals and achieve synchronization between movement and collection. In the present invention, the maximum rotation speed of the balance signal collector can reach 7500rpm. In the case of high-speed rotation, in addition to completing the collection of the balance strain signal, the measurement of the collector rotation angle must also be achieved. How to achieve data synchronization between the angle signal and the strain signal is the key to the problem. Summary of the invention
[0004] In order to solve the problem of data synchronization of a wind tunnel rotary balance signal collector when the rotary balance signal collector rotates at high speed, the present invention proposes a synchronous acquisition method and device for angle signal and strain signal of a rotary balance signal collector. The rotary balance signal collector should complete the measurement of the rotation angle under high-speed rotation, and ensure the absolute synchronization of angle measurement and strain signal acquisition.
[0005] The present invention is achieved through the following technical solutions:
[0006] A synchronous acquisition device for angle signal and strain signal of a rotating balance signal collector:
[0007] The acquisition device comprises: a test platform, a laser light source, a collector, a photosensitive diode and a device under test;
[0008] The laser light source is installed on the test platform base, the collector and the tested object are fixed on the rotating shaft in the middle of the test platform, and the collector rotates at high speed together with the tested object;
[0009] The photodiode is installed inside the collector. A total of 24 photodiodes are designed inside the collector with an angle resolution of 15°, which are used to measure the angle signal of the collector.
[0010] The collector generates an ADC acquisition signal based on the received optical pulse signal to achieve synchronous acquisition of the angle signal and the strain signal.
[0011] Furthermore, when the collector rotates at high speed with the test piece, the photodiode will receive the laser light from the base of the test platform and turn on, and then generate a light pulse signal. The collector counts the received pulse signals, and each time a light pulse signal is detected, the angle counter increases by one, thereby realizing the measurement of the rotation angle of the rotary balance signal collector.
[0012] Further, among the photosensitive diodes, the photosensitive diodes D3 to D23 are connected in parallel to a set of conditioning circuits, and the corresponding output is Vo3;
[0013] D1, D2 and D24 each use a set of conditioning circuits, and the corresponding outputs are Vo1, Vo2 and Vo24 respectively. The output Vo1 corresponding to D1 is used as the 0° starting point, and Vo2 and Vo24 are used to determine the rotation direction;
[0014] That is, when Vo1 is generated, if Vo2 is outputted next, it means the collector rotates clockwise; when Vo1 is generated, if Vo24 is outputted next, the collector rotates counterclockwise.
[0015] Furthermore, the synchronous acquisition device also includes a wireless WIFI module, a router and a host computer;
[0016] The wireless WIFI module is located in the collector, and a communication connection is established between the collector and the host computer through the wireless WIFI module; when the wireless WIFI module works in STA mode, the wireless WIFI module needs to be connected to the router as a workstation, and the host computer is then connected to the collector through the router to achieve communication between the two.
[0017] A synchronous acquisition method of angle signal and strain signal of a rotating balance signal collector:
[0018] The method specifically comprises the following steps:
[0019] Step 1: After the host computer establishes a TCP connection with the WIFI module of the collector, when the host computer issues a collection instruction, the collector is controlled to start collecting;
[0020] Step 2, the FPGA of the collector cyclically collects data from each channel; the angle signal is obtained according to the light pulse signal of the photosensitive diode;
[0021] Step 3, the collector generates an ADC signal according to the received optical pulse signal to achieve synchronous collection of the angle signal and the strain signal;
[0022] Step 4: Process and analyze the data, display it in real time, and determine whether it needs to be re-collected;
[0023] Step 5, if re-collection is required, execute steps 2-4; until re-collection is no longer required, save the data and complete the synchronous collection of the angle signal and strain signal of the rotation balance signal collector.
[0024] Furthermore, when the circuit in the FPGA chip inside the collector detects a light pulse, the angle counter is incremented by 1, and an ADCONV signal is generated to start ADC acquisition. At the same time, ADBUSY is set to a high level, indicating that data is being converted.
[0025] When the FPGA detects the falling edge of the ADBUSY signal, it immediately outputs the ADSCLK signal to latch the data of ADDOUTA and ADDOUTB, completing a synchronous data acquisition;
[0026] ADDOUTA outputs the data collected by the collector from CH0 to CH3, while ADDOUTB outputs the data collected by the collector from CH4 to CH7.
[0027] Furthermore, after receiving the sampled data, the FPGA needs to package the collected data and implement the first-level cache. The packaging process needs to add a frame header, frame number and ADC data. Each packaged data frame contains 4 groups of 8-channel data. After the packaging is completed, it enters the FIFO cache and waits for the MCU to receive an interrupt to read the data.
[0028] Furthermore, after receiving the data through the TCP control, it needs to be divided into 8 data frames and enter the cache queue in sequence. After the data frame alignment is achieved, the data is parsed and processed, and finally the calculation results are output to the display control to display the data and waveform.
[0029] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0030] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the steps of the above method are implemented.
[0031] Beneficial effects of the present invention
[0032] The present invention installs a photosensitive diode inside the collector to realize the measurement of the rotation angle of the collector, and the angle resolution is 15°; the FPGA uses the photosensitive diode to receive the light pulse signal generated by the light conduction to perform angle counting, thereby realizing the measurement of the rotation angle of the rotary balance signal collector;
[0033] The optical pulse signal is used as the trigger signal of the FPGA circuit to generate the ADC acquisition signal to achieve absolute synchronization of angle and strain, and the acquired data is packaged and processed and cached in the FIFO, waiting to be transmitted to the main control unit in the next step; using the FPGA hardware platform, the ADC acquisition signal is generated according to the received pulse, realizing the angle measurement of the signal collector and the synchronous acquisition of the ADC.
[0034] By setting up a photodiode angle measurement and conditioning circuit, it can be used to determine the rotation direction of the signal collector; the synchronization of the signal collector angle and strain not only ensures the data collection accuracy, but also improves its application scope in related fields. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of angle measurement of the present invention;
[0036] Figure 2 The angle measurement conditioning circuit of the present invention;
[0037] Figure 3 This is a schematic diagram of angle measurement and ADC synchronous acquisition according to the present invention;
[0038] Figure 4 The data frame format of the present invention;
[0039] Figure 5 It is the software flow chart of the host computer of the present invention. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Combination Figures 1 to 5 .
[0042] The design diagram of the angle measurement board of the rotary balance signal collector is as follows: Figure 1 As shown;
[0043] A synchronous acquisition device for angle signal and strain signal of a rotating balance signal collector:
[0044] The acquisition device comprises: a test platform, a laser light source, a collector, a photosensitive diode and a device under test;
[0045] The laser light source is installed on the test platform base, the collector and the tested object are fixed on the rotating shaft in the middle of the test platform, and the collector rotates at high speed together with the tested object;
[0046] The photodiode is installed inside the collector. A total of 24 photodiodes are designed inside the collector with an angle resolution of 15°, which are used to measure the angle signal of the collector.
[0047] The collector generates an ADC acquisition signal based on the received optical pulse signal to achieve absolute synchronous acquisition of the angle signal and the strain signal.
[0048] When the collector rotates at high speed with the test piece, the photodiode will receive the laser light from the base of the test platform and turn on, and then generate a light pulse signal. The collector counts the received pulse signals. Every time a light pulse signal is detected, the angle counter increases by one, thereby realizing the measurement of the rotation angle of the rotary balance signal collector.
[0049] Among the photosensitive diodes, D3 to D23 photosensitive diodes are connected in parallel to a set of conditioning circuits, and the corresponding output is Vo3;
[0050] D1, D2 and D24 each use a set of conditioning circuits, and the corresponding outputs are Vo1, Vo2 and Vo24 respectively. The output Vo1 corresponding to D1 is used as the 0° starting point, and Vo2 and Vo24 are used to determine the rotation direction;
[0051] That is, when Vo1 is generated, if Vo2 is outputted next, it means the collector rotates clockwise; when Vo1 is generated, if Vo24 is outputted next, the collector rotates counterclockwise.
[0052] The negative terminals of the parallel photosensitive diodes D3 to D23 are connected to the 4.7kΩ load resistor and the 5V power supply in turn, the positive terminals of the parallel photosensitive diodes D3 to D23 are connected to the base of the switch tube and one end of the second 4.7kΩ load resistor respectively, the emitter of the switch tube and the other end of the second 4.7kΩ load resistor are grounded, the collector of the switch tube is connected to the third 4.7kΩ load resistor and the 3.3V power supply in turn, and the corresponding output is Vo3;
[0053] The conditioning circuit structure of the photodiodes D1, D2 and D24 is the same as the conditioning circuit structure of the above-mentioned D3 to D23, and the corresponding outputs are Vo1, Vo2 and Vo24 respectively.
[0054] The synchronous acquisition device also includes a wireless WIFI module, a router and a host computer;
[0055] The wireless WIFI module is located in the collector, and a communication connection is established between the collector and the host computer through the wireless WIFI module; when the wireless WIFI module works in STA mode, the wireless WIFI module needs to be connected to the router as a workstation, and the host computer is then connected to the collector through the router to achieve communication between the two.
[0056] A method for synchronously collecting angle signals and strain signals of a rotating balance signal collector: the method specifically comprises the following steps:
[0057] Step 1, the host computer software development platform is implemented using LabVIEW. After the host computer establishes a TCP connection with the WIFI module of the collector, when the host computer issues a collection instruction, the collector is controlled to start collecting;
[0058] Step 2, the FPGA of the collector cyclically collects data from each channel; the angle signal is obtained according to the light pulse signal of the photosensitive diode;
[0059] Step 3, the collector generates an ADC signal according to the received optical pulse signal to achieve synchronous collection of the angle signal and the strain signal;
[0060] Step 4: Process and analyze the data, display it in real time, and determine whether it needs to be re-collected;
[0061] Step 5, if re-collection is required, execute steps 2-4; until re-collection is no longer required, save the data and complete the synchronous collection of the angle signal and strain signal of the rotation balance signal collector.
[0062] When the circuit in the FPGA chip inside the collector detects a light pulse, the angle counter is incremented by 1 and an ADCONV signal is generated to start ADC acquisition. At the same time, ADBUSY is set to a high level, indicating that data is being converted.
[0063] When the FPGA detects the falling edge of the ADBUSY signal, it immediately outputs the ADSCLK signal to latch the data of ADDOUTA and ADDOUTB, completing a synchronous data acquisition;
[0064] ADDOUTA outputs the data collected by the collector from CH0 to CH3, while ADDOUTB outputs the data collected by the collector from CH4 to CH7.
[0065] After receiving the sampled data, the FPGA needs to package the collected data and implement the first-level cache. The packaging process needs to add a frame header, frame number and ADC data. Each packaged data frame contains 4 groups of 8-channel data. After the packaging is completed, it enters the FIFO cache and waits for the MCU to receive the interrupt to read the data. The format of one of the data frames is as follows Figure 4 shown.
[0066] After receiving data through the TCP control, it needs to be divided into 8 data frames and enter the cache queue in turn. After the data frame alignment is achieved, the data is parsed and processed, and finally the calculation results are output to the display control to display the data and waveform. The specific software flow chart of the host computer is as follows Figure 5 shown.
[0067] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0068] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the steps of the above method are implemented.
[0069] The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory read only memory, ROM, a programmable read-only memory programmable ROM, PROM, an erasable programmable read-only memory erasable PROM, EPROM, an electrically erasable programmable read-only memory electrically EPROM, EEPROM or flash memory. The volatile memory may be a random access memory random access memory, RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory static RAM, SRAM, dynamic random access memory dynamic RAM, DRAM, synchronous dynamic random access memory synchronous DRAM, SDRAM, double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM, enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM, synchronous link dynamic random access memory synchlink DRAM, SLDRAM and direct memory bus random access memory directrambus RAM, DRRAM. It should be noted that memory of the methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0070] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center through a wired such as coaxial cable, optical fiber, digital subscriber line digital subscriber line, DSL or wireless such as infrared, wireless, microwave, etc. to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium such as a floppy disk, a hard disk, a magnetic tape, an optical medium such as a high-density digital video disc (DVD), or a semiconductor medium such as a solid state disk (SSD).
[0071] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.
[0072] It should be noted that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0073] The above is a detailed introduction to the method and device for synchronously collecting angle signals and strain signals of a rotating balance signal collector proposed in the present invention, and the principles and implementation methods of the present invention are explained. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A synchronous acquisition device for angle signal and strain signal of a rotating balance signal collector, Features: The acquisition device comprises: a test platform, a laser light source, a collector, a photosensitive diode and a device under test; The laser light source is installed on the test platform base, the collector and the tested object are fixed on the rotating shaft in the middle of the test platform, and the collector rotates at high speed together with the tested object; The photodiode is installed inside the collector. A total of 24 photodiodes are designed inside the collector with an angle resolution of 15°, which are used to measure the angle signal of the collector. Among the photosensitive diodes, D3 to D23 photosensitive diodes are connected in parallel to a set of conditioning circuits, and the corresponding output is Vo3; D1, D2 and D24 each use a set of conditioning circuits, and the corresponding outputs are Vo1, Vo2 and Vo24 respectively. The output Vo1 corresponding to D1 is used as the 0° starting point, and Vo2 and Vo24 are used to determine the rotation direction; That is, when Vo1 is generated, if Vo2 is outputted next, it means the collector rotates clockwise; when Vo1 is generated, if Vo24 is outputted next, the collector rotates counterclockwise. The collector generates an ADC acquisition signal based on the received optical pulse signal to achieve synchronous acquisition of the angle signal and the strain signal; When the collector rotates at high speed with the test piece, the photodiode will receive the laser light from the base of the test platform and turn on, and then generate a light pulse signal. The collector counts the received pulse signals. Every time a light pulse signal is detected, the angle counter increases by one, thereby realizing the measurement of the rotation angle of the rotary balance signal collector.
2. The synchronous acquisition device according to claim 1, Features: The synchronous acquisition device also includes a wireless WIFI module, a router and a host computer; The wireless WIFI module is located in the collector, and a communication connection is established between the collector and the host computer through the wireless WIFI module; when the wireless WIFI module works in STA mode, the wireless WIFI module needs to be connected to the router as a workstation, and the host computer is then connected to the collector through the router to achieve communication between the two.
3. A method for collecting angle signals and strain signals of a rotating balance signal collector according to claim 2, Features: The method specifically comprises the following steps: Step 1: After the host computer establishes a TCP connection with the WIFI module of the collector, when the host computer issues a collection instruction, the collector is controlled to start collecting; Step 2, the FPGA of the collector cyclically collects data from each channel; the angle signal is obtained according to the light pulse signal of the photosensitive diode; Step 3, the collector generates an ADC signal according to the received optical pulse signal to achieve synchronous collection of the angle signal and the strain signal; Step 4: Process and analyze the data, display it in real time, and determine whether it needs to be re-collected; Step 5, if re-collection is required, execute steps 2-4; until re-collection is no longer required, save the data and complete the synchronous collection of the angle signal and strain signal of the rotation balance signal collector.
4. The synchronous acquisition method according to claim 3, Features: When the circuit in the FPGA chip inside the collector detects a light pulse, the angle counter is incremented by 1 and an AD CONV signal is generated to start ADC acquisition. At the same time, AD BUSY is set to a high level, indicating that data is being converted. When the FPGA detects the falling edge of the AD BUSY signal, it immediately outputs the AD SCLK signal to latch the data of AD DOUTA and ADDOUTB, completing a synchronous data acquisition. AD DOUTA outputs the data collected by the collector from CH0 to CH3, and AD DOUTB outputs the data of the four channels from CH4 to CH7.
5. The synchronous acquisition method according to claim 4, Features: After the FPGA receives the sampled data, it needs to package the collected data and implement the first-level cache. The packaging process needs to add a frame header, frame number and ADC data. Each packaged data frame contains 4 groups of 8-channel data. After the packaging is completed, it enters the FIFO cache and waits for the MCU to receive the interrupt to read the data.
6. The synchronous acquisition method according to claim 5, Features: After receiving data through the TCP control, it needs to be divided into 8 data frames and enter the cache queue in sequence. After the data frames are aligned, the data is parsed and processed, and finally the calculation results are output to the display control to show the data and waveform.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 3 to 6 are implemented.
8. A computer-readable storage medium for storing computer instructions, It is characterized in that When the computer instructions are executed by a processor, the steps of the method according to any one of claims 3 to 6 are implemented.
