CN113810147A - Multi-channel ultrasonic flaw detector synchronization and data transmission device and control method - Google Patents
Multi-channel ultrasonic flaw detector synchronization and data transmission device and control method Download PDFInfo
- Publication number
- CN113810147A CN113810147A CN202111093941.0A CN202111093941A CN113810147A CN 113810147 A CN113810147 A CN 113810147A CN 202111093941 A CN202111093941 A CN 202111093941A CN 113810147 A CN113810147 A CN 113810147A
- Authority
- CN
- China
- Prior art keywords
- circuit
- data
- channel
- control
- information stream
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims abstract description 44
- 239000000523 sample Substances 0.000 claims abstract description 31
- 238000006243 chemical reaction Methods 0.000 claims abstract description 27
- 230000001360 synchronised effect Effects 0.000 claims description 64
- 230000003321 amplification Effects 0.000 claims description 13
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 claims description 12
- 230000005284 excitation Effects 0.000 claims description 7
- 108700026140 MAC combination Proteins 0.000 claims description 6
- 230000008054 signal transmission Effects 0.000 claims description 4
- 238000002592 echocardiography Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 235000012431 wafers Nutrition 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N29/00—Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
- G01N29/04—Analysing solids
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N29/00—Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
- G01N29/22—Details, e.g. general constructional or apparatus details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Acoustics & Sound (AREA)
- Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
Abstract
The invention provides a synchronization and data transmission device of a multi-channel ultrasonic flaw detector and a control method, comprising the following steps: the probe, the emitting circuit and receive amplifier circuit are connected to the probe, emitting circuit and receive amplifier circuit connect the channel control circuit, receive amplifier circuit and channel control circuit connection multiplex circuit, multiplex circuit passes through data acquisition line connection digital analog conversion circuit, the channel control circuit passes through control bus connection control unit, digital analog conversion circuit connection control unit, control unit connects flaw detector CPU and bus interface circuit. The device and the method for synchronizing and transmitting data of the multi-channel ultrasonic flaw detector realize one-to-many control with high bandwidth and high-precision synchronization of multiple channels, have high data throughput, and can finish a large amount of data transmission work in a short time.
Description
Technical Field
The invention relates to the technical field of industrial ultrasonic flaw detection and measurement, in particular to a synchronization and data transmission device of a multi-channel ultrasonic flaw detector and a control method.
Background
The multi-channel ultrasonic flaw detector is widely applied to industrial automatic ultrasonic flaw detection. Conventional multi-channel ultrasonic flaw detectors generally require the use of multiple signal lines to effect the transmission of synchronization signals, control signals, and ultrasonic signals. The control signal line is mainly used for controlling multi-channel switching and setting preamplification parameters. The number of control signal lines is directly related to the number of channels and the number of pre-amplification stages. In the prior art, some flaw detectors adopt a single-wire transmission signal technology to transmit synchronous signals, control signals and ultrasonic signals, but under many conditions, the flaw detectors are influenced by parallel operation of channels, and the data throughput of single-wire transmission is far from meeting the requirements. For example, in a medium steel plate flaw detection system, the highest sampling repetition frequency requires 8KHz, hundreds of channels need to be detected simultaneously, real-time control is also needed, and a large amount of data transmission work cannot be completed in a short time through single-line transmission. Therefore, it is necessary to design a synchronization and data transmission device and a control method for a multi-channel ultrasonic flaw detector.
Disclosure of Invention
The invention aims to provide a synchronization and data transmission device and a control method for a multi-channel ultrasonic flaw detector, which realize one-to-many control with high bandwidth and high-precision synchronization of multiple channels, have high data throughput and can finish a large amount of data transmission work in a short time.
In order to achieve the purpose, the invention provides the following scheme:
a multichannel ultrasonic flaw detector synchronization and data transmission device comprises: the probe comprises a back-end circuit, a transmission line, a plurality of front-end circuits and a probe, wherein the probe is connected with the front-end circuits, and the front-end circuits are connected with the back-end circuits through the transmission line;
the transmission line comprises a control bus and a data acquisition line;
the front-end circuit comprises a multiplexing circuit, a first PHY circuit, a channel control circuit, a plurality of groups of transmitting circuits and receiving amplification circuits, the probe is connected with the transmitting circuits and the receiving amplification circuits, the transmitting circuits and the receiving amplification circuits are connected with the channel control circuit, the receiving amplification circuits and the channel control circuit are connected with the multiplexing circuit, the channel control circuit is connected with the first PHY circuit, the first PHY circuit is connected with the rear-end circuit through a control bus, and the multiplexing circuit is connected with the rear-end circuit through the data acquisition line;
the rear end circuit comprises a digital-to-analog conversion circuit, a control unit, a second PHY circuit, a flaw detector CPU and a bus interface circuit, the multiplexing circuit is connected with the digital-to-analog conversion circuit through the data acquisition line, the first PHY circuit is connected with the second PHY circuit through a control bus, the second PHY circuit and the digital-to-analog conversion circuit are connected with the control unit, and the control unit is connected with the flaw detector CPU and the bus interface circuit.
Optionally, the channel control circuit is an FPGA or a microcontroller, the control unit is an FPGA or a microcontroller, and the data acquisition line is a radio frequency analog signal transmission line.
The invention also provides a synchronization and data transmission control method of the multi-channel ultrasonic flaw detector, which is applied to the synchronization and data transmission device of the multi-channel ultrasonic flaw detector and is characterized by comprising the following steps:
step 1: the control unit encodes the synchronous signal and the control signal to obtain an encoded information stream, transmits the encoded information stream to the channel control circuit by using the control bus through an Ethernet transmission protocol, decodes the encoded information stream by the channel control circuit to obtain a decoded information stream, and obtains a high-precision clock by a CDR technology;
step 2: the channel control circuit simultaneously controls a multi-channel transmitting circuit, a receiving amplifying circuit and a multiplexing circuit according to the decoding information flow, the multi-channel transmitting circuit transmits excitation signals to the probes in parallel, the probes transmit ultrasonic signals in parallel, the multi-channel receiving amplifying circuit receives ultrasonic echoes in parallel, and the amplified ultrasonic echo signals are input into the digital-to-analog conversion circuit through a data acquisition line with the help of the multiplexing circuit;
and step 3: the digital-to-analog conversion circuit converts the ultrasonic echo signals into digital signals and sends the digital signals to the control unit, and the control unit reads data and processes the data, and sends the processed data to the flaw detector CPU and the bus interface circuit.
Optionally, in step 1, the encoded information stream is transmitted to the channel control circuit by using a control bus through an ethernet transport protocol, which specifically includes:
the control unit transmits the coded information stream to a data link layer of the back-end circuit, the data link layer of the back-end circuit transmits the coded information stream to a physical layer of the back-end circuit, the physical layer of the back-end circuit transmits the coded information stream to a physical layer of the front-end circuit through a control bus, the physical layer of the front-end circuit transmits the coded information stream to the data link layer of the front-end circuit, and the data link layer of the front-end circuit transmits the coded information stream to the channel control circuit.
Optionally, the physical layer of the back-end circuit transmits the encoded information stream to the physical layers of all the front-end circuits via the control bus, the physical layer of the front-end circuit transmits the encoded information stream to the data link layer of the front-end circuit, and the data link layer of the front-end circuit transmits the encoded information stream to the channel control circuit.
Optionally, the physical layer of the back-end circuit transmits the encoded information stream to the physical layer of one or more front-end circuits through the control bus, the physical layer of the front-end circuit sends the encoded information stream to the data link layer of the front-end circuit, the data link layer of the front-end circuit sends the encoded information stream to the channel control circuit, and after sending is completed, the front-end circuit forwards the encoded information stream to other front-end circuits that do not receive the encoded information stream in a data copying manner.
Optionally, in step 1, the encoded information stream is transmitted to the channel control circuit by using a control bus through an ethernet transport protocol, which specifically includes:
the control unit is directly in circuit connection with the channel control circuit through an MAC protocol, the control unit transmits the coded information stream to the channel control circuit through a control bus, and the channel control circuit forwards the coded information stream to other channel control circuits in a data copying mode.
Optionally, in step 1, the control unit encodes the control signal to obtain an encoded information stream, and transmits the encoded information stream to the channel control circuit through the ethernet transport protocol by using the control bus, and the channel control circuit decodes the encoded information stream to obtain a decoded information stream, and obtains the high-precision clock through the CDR technology, specifically:
the control unit detects that control data needs to be sent, sequentially performs transmission control according to the priority of data transmission, encodes the data to be transmitted into an MAC frame, wherein the data field of the MAC frame is divided into three parts, namely a data type field, a data length field and the data field to be transmitted, transmits the MAC frame to a channel control circuit by using a control bus through an Ethernet transmission protocol after encoding is completed, and the channel control circuit decodes the MAC frame and performs data distribution according to the data type field.
Optionally, in step 1, the control unit encodes the synchronization signal to obtain an encoded information stream, and transmits the encoded information stream to the channel control circuit through an ethernet transport protocol by using the control bus, and the channel control circuit decodes the encoded information stream to obtain a decoded information stream, and obtains a high-precision clock through a CDR technique, specifically:
the control unit obtains synchronous data of a time service system, encodes the synchronous data into an MAC frame, transmits the MAC frame to the channel control circuit by using a control bus through an Ethernet transmission protocol, the channel control circuit decodes the MAC frame to extract the synchronous data, and obtains a high-precision clock by using a first PHY circuit and a second PHY circuit through a CDR technology, the channel control circuit obtains a self synchronous state according to the synchronous data according to the high-precision clock and corrects the self synchronous state to be consistent with the control unit, and the control unit circularly executes a synchronous flow to enable the channel control circuit to continuously correct the self synchronous state.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the invention provides a multichannel ultrasonic flaw detector synchronization and data transmission device and a control method, which can realize one-to-many control with high bandwidth and multichannel high-precision synchronization, and the device comprises a back-end circuit, a transmission line, a plurality of front-end circuits and probes, wherein the front-end circuit and the back-end circuit are in modular design and have strong function expansion capability, the front-end circuit comprises a multiplexing circuit, a channel control circuit, a plurality of groups of transmitting circuits and receiving and amplifying circuits, the back-end circuit comprises a digital-to-analog conversion circuit, a control unit, a flaw detector CPU and a bus interface circuit, and the control unit and the channel control circuit can carry a self-defined communication protocol on a data link layer to complete data interaction and can also directly complete data interaction by circuit connection through an MAC protocol; the device can form a more complex topological structure, enhances the expansion capability and data throughput of the multi-channel ultrasonic flaw detection system, and simultaneously provides a solid guarantee for the time-sharing multiplexing function of the system; the control method comprises the steps that a control unit encodes a synchronous signal and a control signal to obtain an encoded information stream, the encoded information stream is transmitted to a channel control circuit by utilizing an Ethernet transmission protocol through a control bus, the channel control circuit decodes the encoded information stream to obtain a decoded information stream, the channel control circuit simultaneously controls a multiplex transmitting circuit, a receiving amplifying circuit and a multiplex circuit transmitting circuit according to the decoded information stream to transmit an excitation signal to a probe, the probe transmits an ultrasonic signal, the receiving amplifying circuit receives an ultrasonic echo, the amplified ultrasonic echo signal is input into a digital-to-analog conversion circuit through a data acquisition line under the assistance of the multiplex circuit, the digital-to-analog conversion circuit converts the ultrasonic echo signal into a digital signal and transmits the digital signal to the control unit, the control unit reads and processes the data, and transmits the processed ultrasonic echo signal to a flaw detector CPU and a bus interface circuit, the method adopts a form of digitizing the synchronous signals for transmission, the back-end circuit transmits the synchronous signals to other front-end circuits, and the front-end circuit decodes the digitized synchronous signals and applies the decoded signals to a self timing system for equipment synchronization; in the method, the control unit is in an active working state, the channel control circuit is in a passive working state, the control signals of the channels are only transmitted by the control bus and are isolated from the data acquisition lines for transmitting the analog signals without mutual interference, and the method is particularly suitable for the conditions of large number of channels, long transmission distance and high parallel working requirement of the channels.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic structural diagram of a synchronization and data transmission device of a multi-channel ultrasonic flaw detector according to an embodiment of the invention;
FIG. 2 is a flow chart of a method for synchronizing and transmitting data of a multi-channel ultrasonic flaw detector according to an embodiment of the invention;
FIG. 3 is a schematic diagram of data transmission between an Ethernet transport protocol implementation control unit and a channel control circuit;
FIG. 4 is a diagram illustrating data transmission between a control unit and a channel control circuit implemented by MAC protocol;
FIG. 5 is a schematic diagram of an expanded structure of a synchronization and data transmission device of a multi-channel ultrasonic flaw detector according to an embodiment of the invention;
fig. 6 is a diagram illustrating a data field structure of a MAC frame.
Reference numerals: 1. a probe; 2. a transmitting circuit; 3. a receiving amplifying circuit; 4. a channel control circuit; 5. a multiplexing circuit; 6. a first PHY circuit; 7. a radio frequency analog signal transmission line; 8. a control bus; 9. a digital-to-analog conversion circuit; 10. a second PHY circuit; 11. a control unit; 12. a flaw detector CPU and a bus interface circuit; 13. a front-end circuit; 14. a back end circuit; 15. a data link layer; 16. a physical layer; 17. a data type field; 18. a data length field; 19. a data field to be transmitted.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a synchronization and data transmission device and a control method for a multi-channel ultrasonic flaw detector, which realize one-to-many control with high bandwidth and high-precision synchronization of multiple channels, have high data throughput and can finish a large amount of data transmission work in a short time.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As shown in fig. 1, a multi-channel ultrasonic flaw detector synchronization and data transmission apparatus provided by an embodiment of the present invention includes: the probe comprises a back-end circuit 12, a transmission line, a plurality of front-end circuits 11 and a probe 1, wherein the probe 1 is connected with the front-end circuits 11, and the front-end circuits 11 are connected with the back-end circuit 12 through the transmission line;
the front-end circuit 13 comprises a multiplexing circuit 5, a first PHY circuit 6, a channel control circuit 4, a plurality of sets of transmitting circuits 2 and receiving amplification circuits 3, the probe 1 is connected to the transmitting circuits 2 and the receiving amplification circuits 3, the transmitting circuits 2 and the receiving amplification circuits 3 are connected to the channel control circuit 4, the receiving amplification circuits 3 and the channel control circuit 4 are connected to the multiplexing circuit 5, the channel control circuit 4 is connected to the first PHY circuit 6, the first PHY circuit 6 is connected to the back-end circuit 14 through a control bus 8, and the multiplexing circuit 5 is connected to the back-end circuit 14 through the data acquisition line;
the rear end circuit 14 comprises a digital-to-analog conversion circuit 9, a control unit 11, a second PHY circuit 10, a flaw detector CPU and a bus interface circuit 12, the multiplexing circuit 5 is connected with the digital-to-analog conversion circuit 9 through the data acquisition line, the first PHY circuit 10 is connected with the second PHY circuit 10 through a control bus 8, the second PHY circuit 10 and the digital-to-analog conversion circuit 9 are connected with the control unit 11, and the control unit 11 is connected with the flaw detector CPU and the bus interface circuit 12.
The number of the probes 1 corresponds to the number of the transmitting circuits 2 and the receiving amplifying circuits 3, the number of the transmitting circuits 2 and the receiving amplifying circuits 3 is set according to specific requirements, and the number of the front-end circuits 13 is set according to requirements.
The channel control circuit 4 is an FPGA or a microcontroller, the control unit 11 is an FPGA or a microcontroller, and the data acquisition line is a radio frequency analog signal transmission line 7.
The first PHY circuit and the second PHY circuit output control signals, and high-precision clocks can be obtained by using CDR technology.
As shown in fig. 2, the present invention further provides a method for controlling synchronization and data transmission of a multi-channel ultrasonic flaw detector, comprising the following steps:
step 1: the control unit encodes the synchronous signal and the control signal to obtain an encoded information stream, transmits the encoded information stream to the channel control circuit by using the control bus through an Ethernet transmission protocol, decodes the encoded information stream by the channel control circuit to obtain a decoded information stream, and obtains a high-precision clock by a CDR technology;
step 2: the channel control circuit simultaneously controls a multi-channel transmitting circuit, a receiving amplifying circuit and a multiplexing circuit according to the decoding information flow, the multi-channel transmitting circuit transmits an excitation signal to the probes in parallel, the probes are provided with piezoelectric wafers, a plurality of probes transmit ultrasonic signals in parallel under the action of the excitation signal, the multi-channel receiving amplifying circuit receives ultrasonic echoes in parallel, and the amplified ultrasonic echo signals are input into the digital-to-analog conversion circuit through a data acquisition line with the assistance of the multiplexing circuit;
and step 3: the digital-to-analog conversion circuit converts the ultrasonic echo signals into digital signals and sends the digital signals to the control unit, and the control unit reads data and processes the data, and sends the processed data to the flaw detector CPU and the bus interface circuit.
In one embodiment, in step 1, one method for transmitting the encoded information stream to the channel control circuit through the ethernet transport protocol by using the control bus is as follows:
as shown in fig. 3, the control bus uses a mature ethernet transmission protocol for data transmission, carries a customized communication protocol and completes data interaction on a data link layer, the control unit transmits a coded information stream to the data link layer of the back-end circuit, the data link layer of the back-end circuit transmits the coded information stream to the physical layer of the back-end circuit, the physical layer of the back-end circuit transmits the coded information stream to the physical layer of the front-end circuit via the control bus, the physical layer of the front-end circuit transmits the coded information stream to the data link layer of the front-end circuit, and the data link layer of the front-end circuit transmits the coded information stream to the channel control circuit.
There are two methods for the multi-channel front-end circuit to obtain the encoded information stream, one of which is: the physical layer of the back-end circuit transmits the coded information stream to the physical layers of all the front-end circuits through the control bus, the physical layer of the front-end circuit transmits the coded information stream to the data link layer of the front-end circuit, and the data link layer of the front-end circuit transmits the coded information stream to the channel control circuit.
The other is as follows: the physical layer of the back-end circuit transmits the coded information stream to one or more physical layers of the front-end circuit through a control bus, the physical layer of the front-end circuit transmits the coded information stream to a data link layer of the front-end circuit, the data link layer of the front-end circuit transmits the coded information stream to a channel control circuit, and after the transmission is finished, the front-end circuit transmits the coded information stream to other front-end circuits which do not receive the coded information stream in a data copying mode.
In the second embodiment, in step 1, another method for transmitting the encoded information stream to the channel control circuit by using the control bus through the ethernet transport protocol is as follows:
as shown in fig. 4, with the advantage of ethernet layered transmission, data transmission is not limited to the 1000BASE-X based optical fiber transmission and the 1000BASE-T based twisted pair transmission, the control unit may also directly perform circuit connection with the channel control circuit in the MAC protocol, and the control unit transmits the encoded information stream to the channel control circuit through the control bus, where the control unit may transmit the encoded information stream to the channel control circuits of all front-end circuits, or to one or more channel control circuits, and the channel control circuit forwards the encoded information stream to other channel control circuits in the form of data replication.
Through the above data transmission scheme, the synchronization and data transmission device of the multi-channel ultrasonic flaw detector can form a more complex topological structure, for example, as shown in fig. 5, an embodiment of the present invention is that a control unit of a back-end circuit is connected to channel control circuits of three front-end circuits, a channel control circuit of one front-end circuit is connected to a new channel control circuit of one front-end circuit, and a channel control circuit of the new front-end circuit is connected to a channel control circuit of another new front-end circuit.
In data transmission control, in step 1, a control unit encodes a control signal to obtain an encoded information stream, and transmits the encoded information stream to a channel control circuit by using a control bus through an ethernet transmission protocol, and the channel control circuit decodes the encoded information stream to obtain a decoded information stream, and obtains a high-precision clock through a CDR technology, specifically:
the control unit detects that control data needs to be sent, sequentially performs transmission control according to the priority of data transmission, and encodes the data to be transmitted into an MAC frame, as shown in fig. 6, wherein the data field of the MAC frame is divided into three parts, namely a data type field 17, a data length field 18, and a data field 19 to be transmitted, after the encoding is completed, the MAC frame is transmitted to the channel control circuit through the ethernet transmission protocol by using the control bus, and the channel control circuit decodes the MAC frame and distributes the data according to the data type field.
In the synchronous control, in step 1, the control unit encodes the synchronous signal to obtain an encoded information stream, and transmits the encoded information stream to the channel control circuit by using the control bus through the ethernet transmission protocol, and the channel control circuit decodes the encoded information stream to obtain a decoded information stream, and obtains a high-precision clock through the CDR technology, specifically:
the control unit obtains a synchronous signal of a time service system, digitalizes the synchronous signal to obtain synchronous data, encodes the synchronous data into an MAC frame, transmits the MAC frame to a channel control circuit by using an Ethernet transmission protocol through a control bus, the channel control circuit decodes the MAC frame to extract the synchronous data, obtains a high-precision clock by using a first PHY circuit and a second PHY circuit through a CDR technology, obtains the self synchronous state according to the synchronous data by the channel control circuit and corrects the self synchronous state to be consistent with the control unit, and the control unit circularly executes a synchronous flow to enable the channel control circuit to continuously correct the self synchronous state.
One embodiment of the invention is: when a control signal is transmitted, an RGMII transmission protocol is adopted to transmit data, a control unit detects that the control signal needs to be sent, the control signal is converted into control data through a digital-to-analog conversion circuit, transmission control is sequentially performed according to the priority of data transmission, the data to be transmitted is encoded into an MAC frame, the data field of the MAC frame is divided into three parts, namely a data type field, a data length field and a data field to be transmitted, and the MAC frame is subjected to data transmission through the RGMII transmission protocol.
The most important of the multi-channel control is synchronous control, the method adopts a form of digitalizing synchronous signals for transmission, by means of the data communication mode, a back-end circuit transmits the synchronous signals to other front-end circuits, the front-end circuit decodes the digitalized synchronous signals and applies the digitalized synchronous signals to a self timing system for equipment synchronization, compared with the traditional method of exciting signals by synchronous pulses, the method not only reduces the requirements of synchronous signal lines, but also greatly improves the jitter precision of the synchronous signals, and specifically comprises the following steps:
the control unit obtains the synchronous signal of the time service system, digitalizes the synchronous signal to obtain synchronous data, codes the synchronous data into an MAC frame, the MAC frame is transmitted to a channel control circuit by utilizing a control bus through an RGMII transmission protocol, the channel control circuit decodes the MAC frame to extract synchronous data, and a high-precision clock is obtained by using the first PHY circuit and the second PHY circuit through CDR technology, the channel control circuit is used for controlling the channel control circuit according to the high-precision clock, obtaining the self synchronous state according to the synchronous data, correcting the self synchronous state to keep the self synchronous state consistent with the control unit, circularly executing the synchronous flow by the control unit to ensure that the channel control circuit continuously corrects the self synchronous state because all channels are based on the synchronous data of the same control unit, therefore, the synchronization state between multiple channels is excellent, and the error between the synchronization time of the control circuit and the control unit is only 0.5ns according to the actual measurement channel.
Through the use of the control bus data transmission, the requirements of simultaneous acquisition of multi-channel data, real-time control and synchronous uploading of sampling data are fully met, and the method is applied to multi-channel ultrasonic flaw detection and has the following flaw detection flow:
the control unit digitalizes the synchronous signal and the control signal, codes the synchronous signal and the control signal on the control bus, transmits the synchronous signal and the control signal to the channel control circuit, the channel control circuit decodes the coded data, and controls the multiplex transmitting circuit, the receiving amplifying circuit and the multiplex circuit in parallel according to the decoded data, wherein, a plurality of channels are controlled by the real-time channel control circuit, the parallel control transmitting circuit transmits the excitation signal to the probe, the probe transmits the ultrasonic signal, the receiving amplifying circuit receives the ultrasonic echo, the amplifying work is carried out by the real-time control of the channel control circuit, the amplified ultrasonic echo signal is input into the digital-analog conversion circuit by the data acquisition line under the assistance of the multiplex circuit, the data conversion circuit converts the ultrasonic echo signal into the digital signal, and then the digital signal is input into the digital control unit and processed by the control unit, the control unit is in an active working state, the channel control circuit is in a passive working state, the control signals of the channels are only transmitted by the control bus and are isolated from the data acquisition lines for transmitting the analog signals without mutual interference.
The invention provides a multichannel ultrasonic flaw detector synchronization and data transmission device and a control method, which can realize one-to-many control with high bandwidth and multichannel high-precision synchronization, and the device comprises a back-end circuit, a transmission line, a plurality of front-end circuits and probes, wherein the front-end circuit and the back-end circuit are in modular design and have strong function expansion capability, the front-end circuit comprises a multiplexing circuit, a channel control circuit, a plurality of groups of transmitting circuits and receiving and amplifying circuits, the back-end circuit comprises a digital-to-analog conversion circuit, a control unit, a flaw detector CPU and a bus interface circuit, and the control unit and the channel control circuit can carry a self-defined communication protocol on a data link layer to complete data interaction and can also directly complete data interaction by circuit connection through an MAC protocol; the device can form a more complex topological structure, enhances the expansion capability and data throughput of the multi-channel ultrasonic flaw detection system, and simultaneously provides a solid guarantee for the time-sharing multiplexing function of the system; the control method comprises the steps that a control unit encodes a synchronous signal and a control signal to obtain an encoded information stream, the encoded information stream is transmitted to a channel control circuit by utilizing an Ethernet transmission protocol through a control bus, the channel control circuit decodes the encoded information stream to obtain a decoded information stream, the channel control circuit controls a transmitting circuit, a receiving amplifying circuit and a multiplexing circuit according to the decoded information stream, the transmitting circuit transmits an excitation signal to a probe, the probe transmits an ultrasonic signal, the receiving amplifying circuit receives an ultrasonic echo, the amplified ultrasonic echo signal is input into a digital-to-analog conversion circuit through a data acquisition line under the assistance of the multiplexing circuit, the digital-to-analog conversion circuit converts the ultrasonic echo signal into a digital signal and transmits the digital signal to the control unit, the control unit reads and processes the data, and transmits the processed ultrasonic echo to a flaw detector CPU and a bus interface circuit, the method adopts a form of digitizing the synchronous signals for transmission, the back-end circuit transmits the synchronous signals to other front-end circuits, and the front-end circuit decodes the digitized synchronous signals and applies the decoded signals to a self timing system for equipment synchronization; in the method, the control unit is in an active working state, the channel control circuit is in a passive working state, the control signals of the channels are only transmitted by the control bus and are isolated from the data acquisition lines for transmitting the analog signals without mutual interference, and the method is particularly suitable for the conditions of large number of channels, long transmission distance and high parallel working requirement of the channels.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.
Claims (9)
1. The utility model provides a multichannel ultrasonic flaw detector synchronization and data transmission device which characterized in that includes: the probe comprises a back-end circuit, a transmission line, a plurality of front-end circuits and a probe, wherein the probe is connected with the front-end circuits, and the front-end circuits are connected with the back-end circuits through the transmission line;
the transmission line comprises a control bus and a data acquisition line;
the front-end circuit comprises a multiplexing circuit, a first PHY circuit, a channel control circuit, a plurality of groups of transmitting circuits and receiving amplification circuits, the probe is connected with the transmitting circuits and the receiving amplification circuits, the transmitting circuits and the receiving amplification circuits are connected with the channel control circuit, the receiving amplification circuits and the channel control circuit are connected with the multiplexing circuit, the channel control circuit is connected with the first PHY circuit, the first PHY circuit is connected with the rear-end circuit through a control bus, and the multiplexing circuit is connected with the rear-end circuit through the data acquisition line;
the rear end circuit comprises a digital-to-analog conversion circuit, a control unit, a second PHY circuit, a flaw detector CPU and a bus interface circuit, the multiplexing circuit is connected with the digital-to-analog conversion circuit through the data acquisition line, the first PHY circuit is connected with the second PHY circuit through a control bus, the second PHY circuit and the digital-to-analog conversion circuit are connected with the control unit, and the control unit is connected with the flaw detector CPU and the bus interface circuit.
2. The multi-channel ultrasonic flaw detector synchronizing and data transmitting device of claim 1, wherein the channel control circuit is an FPGA or a microcontroller, the control unit is an FPGA or a microcontroller, and the data acquisition line is a radio frequency analog signal transmission line.
3. A multi-channel ultrasonic flaw detector synchronization and data transmission control method applied to the multi-channel ultrasonic flaw detector synchronization and data transmission device of any one of claims 1-2, characterized by comprising the following steps:
step 1: the control unit encodes the synchronous signal and the control signal to obtain an encoded information stream, transmits the encoded information stream to the channel control circuit by using the control bus through an Ethernet transmission protocol, decodes the encoded information stream by the channel control circuit to obtain a decoded information stream, and obtains a high-precision clock by a CDR technology;
step 2: the channel control circuit simultaneously controls a multi-channel transmitting circuit, a receiving amplifying circuit and a multiplexing circuit according to the decoding information flow, the multi-channel transmitting circuit transmits excitation signals to the probes in parallel, the probes transmit ultrasonic signals in parallel, the multi-channel receiving amplifying circuit receives ultrasonic echoes in parallel, and the amplified ultrasonic echo signals are input into the digital-to-analog conversion circuit through a data acquisition line with the help of the multiplexing circuit;
and step 3: the digital-to-analog conversion circuit converts the ultrasonic echo signals into digital signals and sends the digital signals to the control unit, and the control unit reads data and processes the data, and sends the processed data to the flaw detector CPU and the bus interface circuit.
4. The multi-channel ultrasonic flaw detector synchronization and data transmission control method according to claim 3, wherein in step 1, the coded information stream is transmitted to the channel control circuit by using the control bus through the ethernet transmission protocol, specifically:
the control unit transmits the coded information stream to a data link layer of the back-end circuit, the data link layer of the back-end circuit transmits the coded information stream to a physical layer of the back-end circuit, the physical layer of the back-end circuit transmits the coded information stream to a physical layer of the front-end circuit through a control bus, the physical layer of the front-end circuit transmits the coded information stream to the data link layer of the front-end circuit, and the data link layer of the front-end circuit transmits the coded information stream to the channel control circuit.
5. The multi-channel ultrasonic flaw detector synchronization and data transmission control method according to claim 4, wherein the physical layer of the back-end circuit transmits the coded information stream to the physical layers of all the front-end circuits via the control bus, the physical layer of the front-end circuit transmits it to the data link layer of the front-end circuit, and the data link layer of the front-end circuit transmits the coded information stream to the channel control circuit.
6. The multi-channel ultrasonic flaw detector synchronization and data transmission control method of claim 4, wherein the physical layer of the back-end circuit transmits the coded information stream to the physical layer of one or more front-end circuits via the control bus, the physical layer of the front-end circuit transmits the coded information stream to the data link layer of the front-end circuit, the data link layer of the front-end circuit transmits the coded information stream to the channel control circuit, and after the transmission is finished, the front-end circuit forwards the coded information stream to other front-end circuits which do not receive the coded information stream in a data copying mode.
7. The multi-channel ultrasonic flaw detector synchronization and data transmission control method according to claim 3, wherein in step 1, the coded information stream is transmitted to the channel control circuit by using the control bus through the ethernet transmission protocol, specifically:
the control unit is directly in circuit connection with the channel control circuit through an MAC protocol, the control unit transmits the coded information stream to the channel control circuit through a control bus, and the channel control circuit forwards the coded information stream to other channel control circuits in a data copying mode.
8. The multi-channel ultrasonic flaw detector synchronization and data transmission control method of claim 3, wherein in step 1, the control unit encodes the control signal to obtain an encoded information stream, and transmits the encoded information stream to the channel control circuit by using the control bus through the ethernet transmission protocol, and the channel control circuit decodes the encoded information stream to obtain a decoded information stream, and obtains the high-precision clock by using the CDR technique, specifically:
the control unit detects that control data needs to be sent, sequentially performs transmission control according to the priority of data transmission, encodes the data to be transmitted into an MAC frame, wherein the data field of the MAC frame is divided into three parts, namely a data type field, a data length field and the data field to be transmitted, transmits the MAC frame to a channel control circuit by using a control bus through an Ethernet transmission protocol after encoding is completed, and the channel control circuit decodes the MAC frame and performs data distribution according to the data type field.
9. The multi-channel ultrasonic flaw detector synchronization and data transmission control method of claim 3, wherein in step 1, the control unit encodes the synchronization signal to obtain an encoded information stream, and transmits the encoded information stream to the channel control circuit by using the control bus through the ethernet transmission protocol, and the channel control circuit decodes the encoded information stream to obtain a decoded information stream, and obtains the high-precision clock by the CDR technique, specifically:
the control unit obtains synchronous data of a time service system, encodes the synchronous data into an MAC frame, transmits the MAC frame to the channel control circuit by using a control bus through an Ethernet transmission protocol, the channel control circuit decodes the MAC frame to extract the synchronous data, and obtains a high-precision clock by using a first PHY circuit and a second PHY circuit through a CDR technology, the channel control circuit obtains a self synchronous state according to the synchronous data according to the high-precision clock and corrects the self synchronous state to be consistent with the control unit, and the control unit circularly executes a synchronous flow to enable the channel control circuit to continuously correct the self synchronous state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111093941.0A CN113810147B (en) | 2021-09-17 | 2021-09-17 | Multi-channel ultrasonic flaw detector synchronization and data transmission device and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111093941.0A CN113810147B (en) | 2021-09-17 | 2021-09-17 | Multi-channel ultrasonic flaw detector synchronization and data transmission device and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113810147A true CN113810147A (en) | 2021-12-17 |
CN113810147B CN113810147B (en) | 2024-02-06 |
Family
ID=78939694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111093941.0A Active CN113810147B (en) | 2021-09-17 | 2021-09-17 | Multi-channel ultrasonic flaw detector synchronization and data transmission device and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113810147B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114624336A (en) * | 2022-05-16 | 2022-06-14 | 四川升拓检测技术股份有限公司 | Signal detection device and method based on wheel type sound insulation impact echo acoustic frequency method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006080919A (en) * | 2004-09-09 | 2006-03-23 | Sharp Corp | Transmission device, data transmission method, program, computer readable recording medium with program recorded thereon |
US20090240998A1 (en) * | 2006-05-02 | 2009-09-24 | Ant-Advanced Network Technologies Oy | Method and system for wireless real-time transmission of multichannel audio or video data |
CN102436735A (en) * | 2011-12-20 | 2012-05-02 | 陕西海泰电子有限责任公司 | B type LXI (LAN eXtensions for Instrumentation) synchronous data acquisition instrument |
CN109991931A (en) * | 2017-12-29 | 2019-07-09 | 沈阳高精数控智能技术股份有限公司 | A kind of remote control apparatus and method of restructural numerical control device |
-
2021
- 2021-09-17 CN CN202111093941.0A patent/CN113810147B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006080919A (en) * | 2004-09-09 | 2006-03-23 | Sharp Corp | Transmission device, data transmission method, program, computer readable recording medium with program recorded thereon |
US20090240998A1 (en) * | 2006-05-02 | 2009-09-24 | Ant-Advanced Network Technologies Oy | Method and system for wireless real-time transmission of multichannel audio or video data |
CN102436735A (en) * | 2011-12-20 | 2012-05-02 | 陕西海泰电子有限责任公司 | B type LXI (LAN eXtensions for Instrumentation) synchronous data acquisition instrument |
CN109991931A (en) * | 2017-12-29 | 2019-07-09 | 沈阳高精数控智能技术股份有限公司 | A kind of remote control apparatus and method of restructural numerical control device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114624336A (en) * | 2022-05-16 | 2022-06-14 | 四川升拓检测技术股份有限公司 | Signal detection device and method based on wheel type sound insulation impact echo acoustic frequency method |
CN114624336B (en) * | 2022-05-16 | 2022-09-02 | 四川升拓检测技术股份有限公司 | Signal detection device and method based on wheel type sound insulation impact echo acoustic frequency method |
Also Published As
Publication number | Publication date |
---|---|
CN113810147B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104320843B (en) | Audio synchronization method of Bluetooth sound production device | |
WO2009049511A1 (en) | Data transmission synchro precision controlling method and system | |
DE02764241T1 (en) | ANALOG TRANSMITTER WITH BURST MODE | |
CN113810147A (en) | Multi-channel ultrasonic flaw detector synchronization and data transmission device and control method | |
CN102988048A (en) | Magnetic resonance fiber spectrograph and radio-frequency receiving device thereof | |
CN110943795B (en) | Time synchronization method suitable for bus communication system | |
CN114422063B (en) | Time stamp pulse synchronization method | |
CN112398566B (en) | High-precision arrival time calculation method and device for burst communication system | |
CN105471788B (en) | A kind of low time delay decomposition method and device to DVBS2 signals | |
CN113472389A (en) | Low-delay configurable wireless rapid frequency hopping system based on FPGA | |
CN105472509A (en) | Audio signal sending and receiving method and device | |
CN111413914A (en) | Signal local conversion device with small analog input | |
CN110730398A (en) | Distributed wireless microphone array audio frequency reception synchronization method | |
CN108282226B (en) | A kind of synchronous method applied to photon counting visible light communication system | |
CN113534888B (en) | FPGA-based time synchronization method and device for multiple VPX boards | |
JPH039638A (en) | Fast line data transmission system | |
CN103684647A (en) | Time delay eliminating method and device for PTP data packet when converted between Ethernet and E1 protocol | |
WO2018166222A1 (en) | High-speed fully-digital receiver calibration system and method based on interleaved encoding | |
CN212181272U (en) | Time service device applied to aviation multi-target remote measurement ground station | |
CN104219636A (en) | Radio broadcasting system based on ZigBee protocol | |
CN111935687A (en) | Pulse signal wireless transmission system and calibration method thereof | |
CN109639369B (en) | Simulation device and method for MVB/WTB communication signal of high-speed train | |
JPH04270525A (en) | Zeror synchronization apparatus for encoding and decoding use | |
CN210722950U (en) | Data acquisition module for quadrupole mass spectrometer | |
CN216217360U (en) | Telemetering equipment based on internal bus |
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 |