Training method and device for delay adjuster in signal transmission device

By training the delay regulator in the signal transmission device, the target delay value is determined using the same number of times as the output signal data of the signal transmission channel, the problem of poor consistency of delay parameters for multi-channel signal acquisition is solved, and automatic alignment and efficient training of signal data is realized.

CN120238098APending Publication Date: 2025-07-01SONOSCAPE MEDICAL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311856128.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In multi-channel signal acquisition scenarios, especially in ultrasonic imaging devices, when determining the delay parameters of each sampling channel signal, the workload is large and the consistency of the delay parameters between different devices is poor, resulting in incorrect analysis data of some devices and difficult to work normally.

Method used

A training method for a delay adjuster in a signal transmission device is proposed. By inputting training data into the signal transmission channel and delaying operations and analysis of the signal under different delay values, the output signal data is determined the same number of times as the training data to determine the target delay value.

Benefits of technology

It realizes automated acquisition of delay values ​​that can ensure the alignment of signal data of signal transmission equipment, saves manpower, improves training efficiency, and reduces the cost and time required to determine delay values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238098A_ABST
    Figure CN120238098A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a training method and equipment for a delay adjuster in signal transmission equipment. The signal transmission equipment comprises a plurality of signal transmission channels, a delay adjuster is arranged in each signal transmission channel, and the delay adjusters are used for carrying out delay operation on signal data in the signal transmission channels. The training method comprises the following steps: inputting training data into a signal transmission channel; setting the delay adjuster to have different delay values at different times, and for each delay value, performing an accuracy determination operation of the delay value; and determining the number of times that the output signal data corresponding to the delay value determined in the operation is the same as the training data based on the accuracy of the delay value, and determining a target delay value in different delay values. According to the scheme, the ideal delay value capable of ensuring alignment of the signal data of the signal transmission equipment is automatically and quickly obtained, and manpower is effectively saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and more particularly to a training method for a delay adjuster in a signal transmission device, a training device for a delay adjuster in a signal transmission device, a signal transmission device, an ultrasonic device, and a storage medium. Background Art

[0002] With the continuous improvement of communication technology, signal processing technology is increasingly applied to various application scenarios.

[0003] In many application scenarios, multi-channel signal acquisition is involved. For example, in an ultrasonic imaging device, in order to achieve better image effects, the number of front-end receiving channels of the ultrasonic imaging device generally includes more than 128 channels, and generally a low-voltage differential signal (LVDS) interface is selected to receive the sampling signal and the digital signals of each sampling channel are parsed through a field-programmable gate array (FPGA), and finally the digital signals are converted into ultrasonic images. To ensure the clarity and accuracy of the ultrasonic image, it is necessary to align the digital signals of each sampling channel in the FPGA. Currently, the signals of each sampling channel are often aligned by performing different delay operations on the signal data of each sampling channel.

[0004] In the related art, generally, the phase relationship between different sampling channels is determined through actual measurement of the device, and then the delay parameter is determined based on the phase relationship.

[0005] However, when the number of sampling channels is large, the workload of determining the delay parameters of the sampling channels is relatively large. Moreover, for the case where the consistency between different devices is poor, each device requires personalized delay parameters. Using the delay parameters determined based on a single device for all mass-produced devices may cause incorrect data parsed in some devices and make it difficult to work properly. Summary of the Invention

[0006] The present invention is proposed in view of the above problems.

[0007] According to one aspect of the present invention, there is provided a training method for a delay adjuster in a signal transmission device, the signal transmission device including a plurality of signal transmission channels, and a delay adjuster is provided in each signal transmission channel, and the delay adjuster is configured to perform a delay operation on the signal data in the signal transmission channel to align the output signal data of the signal transmission channel. The training method includes:

[0008] Inputting training data into the signal transmission channel;

[0009] Set the delay adjuster to have different delay values at different times, and for each delay value, perform an accuracy determination operation for that delay value, where the accuracy determination operation for that delay value includes: when the delay adjuster is set to have that delay value, use the delay adjuster to perform a delay operation on the training data and perform at least one parsing operation on the output signal data of the signal transmission channel, and determine whether the output signal data of each parsing is the same as the training data to determine the number of times the output signal data is the same as the training data;

[0010] Based on the number of times the output signal data corresponding to each delay value is the same as the training data, determine a target delay value among the different delay values.

[0011] Exemplarily, the accuracy determination operation for that delay value includes:

[0012] When the delay adjuster is set to have that delay value, use the delay adjuster to perform a delay operation on the training data and perform at least one parsing operation on the output signal data of the signal transmission channel, and determine whether the parsed output signal data is the same as the training data after each parsing operation. If the output signal data of the current parsing is the same as the training data, perform the next parsing operation until the first preset number of parsing times is reached; if the output signal data of the current parsing is different from the training data, end the accuracy determination operation for that delay value.

[0013] Exemplarily, the setting the delay adjuster to have different delay values at different times includes:

[0014] Set the delay adjuster to all possible delay values at different times;

[0015] The determining a target delay value among the different delay values based on the number of times the output signal data of each delay value is the same as the training data includes:

[0016] Calculate the mean of multiple second delay values, where the number of times the output signal data corresponding to the second delay value is the same as the training data is equal to the first preset number of parsing times;

[0017] Perform a rounding operation on the mean and use the rounding result as the target delay value.

[0018] Exemplarily, the setting the delay adjuster to have different delay values at different times, and for each delay value, performing the accuracy determination operation for that delay value includes:

[0019] First, set the current delay value of the delay adjuster to the minimum value; then, increment the current delay value successively to the maximum value to traverse all possible delay values;

[0020] When the current delay value is each set value, perform the accuracy determination operation for this current delay value.

[0021] Exemplarily, setting the delay adjuster to have different delay values at different times, and for each delay value, performing the accuracy determination operation for this delay value includes:

[0022] First, set the current delay value of the delay adjuster to a first value; then, change the current delay value until a first delay value appears. When the current delay value is each set value, perform the accuracy determination operation for this current delay value, where the first delay value is the delay value for which the number of times the corresponding output signal data is the same as the training data first appears and is equal to the first preset parsing number.

[0023] Determining a target delay value among the different delay values based on the number of times the output signal data for each delay value is the same as the training data includes:

[0024] Determine the first delay value as the target delay value.

[0025] Exemplarily, determining a target delay value among the different delay values based on the number of times the output signal data for each delay value is the same as the training data includes:

[0026] Determine the third delay value as the target delay value, where the third delay value is the delay value among all delay values for which the number of times the output signal data is the same as the training data is the most.

[0027] Exemplarily, the signal transmission device includes a field programmable gate array, and the delay adjuster is implemented using a clock manager in the field programmable gate array.

[0028] Setting the delay adjuster to have different delay values includes:

[0029] Change the pulse width of the input signal of the enable pin of the field programmable gate array to change the delay value of the clock manager.

[0030] Exemplarily, the training data includes 2N-bit data, where the first N bits or the last N bits of the 2N-bit data are 0, and the other N bits of data are 1.

[0031] According to another aspect of the present invention, there is provided a training device for a delay adjuster in a signal transmission device. The signal transmission device includes a plurality of signal transmission channels, and a delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel to align the output signal data of the signal transmission channel. The training device includes:

[0032] A signal input module for inputting training data into the signal transmission channel;

[0033] A comparison module for setting the delay adjuster to have different delay values at different times, and for each delay value, performing an accuracy determination operation for the delay value. Wherein, the accuracy determination operation for the delay value includes: when the delay adjuster is set to have the delay value, using the delay adjuster to perform a delay operation on the training data and performing at least one parsing operation on the output signal data of the signal transmission channel, and determining whether the output signal data of each parsing is the same as the training data to determine the number of times the output signal data is the same as the training data;

[0034] A determination module for determining a target delay value among the different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data.

[0035] According to yet another aspect of the present invention, there is provided a signal transmission device. The signal transmission device includes a plurality of signal transmission channels, a delay adjuster, and a training module. Wherein, a delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel to align the output signal data of the signal transmission channel. The training module is used to execute the above-mentioned training method for the delay adjuster in the signal transmission device to obtain the target delay value of the delay adjuster.

[0036] According to yet another aspect of the present invention, there is provided an ultrasonic device, and the ultrasonic device includes the above-mentioned signal transmission device.

[0037] According to still another aspect of the present invention, there is provided a storage medium, on which program instructions are stored. The program instructions are used to execute the above-mentioned training method for the delay adjuster in the signal transmission device when running.

[0038] In the above solution, a delay adjuster is trained using training data. The delay adjuster is set to have different delay values, and the delay value with the most occurrences of the parsed output signal data being the same as the training data is determined as the target delay value of the delay adjuster. Thus, an ideal delay value that can ensure the alignment of the signal data of the signal transmission device is automatically obtained, effectively saving manpower. In addition, the above training process can be quickly executed for each delay adjuster of different signal transmission devices. Thus, automatic personalized training of the delay adjusters of the signal transmission devices can be achieved, effectively reducing the personnel cost and time cost consumed in determining the delay values of the delay adjusters.

[0039] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable, the specific embodiments of the present invention are specifically exemplified below. Brief Description of the Drawings

[0040] By describing the embodiments of the present invention in more detail in conjunction with the drawings, the above and other purposes, features and advantages of the present invention will become more obvious. The drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings, the same reference numerals generally represent the same components or steps.

[0041] Figure 1 Shows a schematic structural diagram of a signal transmission device according to an embodiment of the present invention;

[0042] Figure 2 Shows a schematic flow chart of a training method for a delay adjuster in a signal transmission device according to an embodiment of the present invention;

[0043] Figure 3 Shows a schematic flow chart of a training method for a delay adjuster in a signal transmission device according to another embodiment of the present invention;

[0044] Figure 4 Shows a schematic block diagram of a training device for a delay adjuster in a signal transmission device according to an embodiment of the present invention. Detailed Description of the Embodiments

[0045] To make the objectives, technical solutions and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments of the present invention. It should be understood that the present invention is not limited by the exemplary embodiments described herein. Based on the embodiments of the present invention described herein, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

[0046] To at least partially solve the above problems, an embodiment of the present invention provides a training method for a delay adjuster in a signal transmission device.

[0047] Figure 1 A schematic structural diagram of a signal transmission device according to an embodiment of the present invention is shown. As Figure 1 shown, the signal transmission device may include a plurality of signal transmission channels, i.e., the above-mentioned sampling channels. A delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel so as to align the output signal data of all signal transmission channels. It can be understood that the delay adjuster may have different delay values, i.e., different delay parameters, whereby different-duration delay operations can be performed on the signal data in the signal transmission channel. By performing different-duration delay operations on the signal data in their corresponding signal transmission channels through the delay adjusters in different signal transmission channels, the negative impact of the signal lines in the signal processing channels not being strictly aligned can be eliminated, and aligned signal data can be generated.

[0048] Referring again to Figure 1 , a differential-to-single-ended module, a double-edge-to-single-edge module, and a serial-to-parallel module may also be provided in the signal transmission channel. The output end of the differential-to-single-ended module is connected to the input end of the delay adjuster, and the double-edge-to-single-edge module and the serial-to-parallel module are sequentially connected in series to the output end of the delay adjuster. The differential-to-single-ended module is used to convert the digital signal from the analog-to-digital conversion module into a single-ended signal. The digital signal from the analog-to-digital conversion module may be a differential signal. The differential signal includes two signals with the same amplitude and opposite phases. The differential signal has advantages such as strong anti-interference ability and long transmission distance. The single-ended signal is transmitted using only one signal line. The double-edge-to-single-edge module is used to divide the single-ended signal after delay adjustment into two signals and input them to the serial-to-parallel module. The serial-to-parallel module is used to convert the single-ended signal into a parallel signal to obtain signal data.

[0049] As Figure 1As shown, the signal transmission device may further include a training module. The output end of the training module is connected to the input end of the delay adjuster, and the input end of the training module is connected to the output end of the serial-to-parallel conversion module. The training module is used to train the delay adjuster based on the training data and the output signal data output after inputting the training data into the signal transmission channel. That is, the training module can be used to execute the training method for the delay adjuster in the signal transmission device according to the embodiments of the present application.

[0050] In the training method for the delay adjuster in the signal transmission device, the delay adjuster can be set to have different delay values at different times, and the accuracy of the output signal data can be determined when it has different delay values. The delay value corresponding to the output signal data with the highest accuracy is determined as the target delay value. This target delay value can be used as the delay parameter for subsequent delay processing of the delay adjuster, thereby completing the training of the delay adjuster.

[0051] Figure 2 It shows a schematic flowchart of the training method for the delay adjuster in the signal transmission device according to an embodiment of the present invention. As Figure 2 shown, the training method for the delay adjuster in the signal transmission device includes steps S210 to S230.

[0052] Step S210: Input the training data into the signal transmission channel for the signal transmission channel to transmit it.

[0053] The training data can be used as a reference factor for the training result of the delay adjuster. When the delay adjuster trains to obtain an ideal target delay value, the output signal data output by the signal transmission channel will be the same as the input training data. Otherwise, when the delay value of the delay adjuster is inappropriate, the output signal data output by the signal transmission channel will be different from the input training data. In other words, according to the similarities and differences between the training data and the signal data output by the signal transmission channel, it can be determined whether the delay value of the delay adjuster meets the requirements.

[0054] In some embodiments, the training data may include 2N bits of data, that is, the training data includes an even number of bits. Among them, the first N bits or the last N bits of the 2N-bit data are 0, and the other N bits of data are 1. In other words, the training data is data with half 0 and half 1. Taking an analog-to-digital conversion module with an 8-bit resolution as an example, the training data can be 0xF0 or 0xF. Another example, assuming the analog-to-digital conversion module has a 12-bit resolution, the training data can be 0xFC0.

[0055] In the above embodiments, the training data is data with half 0 and half 1, so that it can be processed faster, effectively improving the execution speed and efficiency of the training method.

[0056] Step S220: Set the delay adjuster to have different delay values at different times, and for each delay value, perform an accuracy determination operation for that delay value.

[0057] The accuracy determination operation for the delay value includes: when the delay adjuster is set to have this delay value, using the delay adjuster to perform a delay operation on the training data and performing at least one parsing operation on the output signal data of the signal transmission channel, and the above training module can be used to determine whether the output signal data of each parsing is the same as the training data to determine the number of times the output signal data is the same as the training data.

[0058] Exemplarily, the delay value can be 1 picosecond, 2 picoseconds, 3 picoseconds, etc. In an embodiment of the present application, the delay value of the delay adjuster can be any value from 1 picosecond to 511 picoseconds. When the delay adjuster has each different delay value, it can perform delays of different durations on the signal data in the signal transmission channel. When the signal data in the signal transmission channel is delayed for different durations, one or more parsing operations are respectively performed on the output signal data of the signal transmission channel. Using the above training module, it is judged whether the parsed output signal data is the same as the training data, and the number of times they are the same in these parsing operations is counted.

[0059] Exemplarily, the delay adjuster can be implemented using the FIXED mode of the IDELAYE3 primitive. In the parsing operation, the Load signal of the delay adjuster can be pulled high and then pulled low. In the IDELAYE3 primitive, the Load signal indicates whether to reload the delay adjuster. By changing the pulse width of one or more clock signals clk of the CE signal of the IDELAYE3, the delay value is increased or decreased by the corresponding number of picoseconds. After each change in the delay value, the parallel data with a data width of 12 bits output by the serial-to-parallel conversion module can be repeatedly parsed, that is, the real output signal data of the signal transmission channel, 64 sampling points. The above training module can be used to judge whether the output signal data of each parsing is the same as the training data. Thus, the number of times the output signal data is the same as the training data is determined when the delay adjuster has the current delay value.

[0060] Step S230: Based on the number of times the output signal data corresponding to each delay value is the same as the training data, determine the target delay value among different delay values. This target delay value is used for the delay operation of the delay adjuster.

[0061] Step S230 can also be implemented using the above training module. Exemplarily, the delay value with the same number of times that the parsed output signal data is the same as the training data equal to the parsing times can be determined as the target delay value to complete the training of the delay adjuster in a single signal transmission channel. Alternatively, the delay value with the most times that the parsed output signal data is the same as the training data can be determined as the target delay value. In this alternative embodiment, the delay adjuster can be made to traverse all possible delay values. During this process, the number of times that the output signal data of each delay value is the same as the training data is stored. The number of times that the output signal data of all delay values is the same as the training data can be compared, and the delay value with the most times that its output signal data is the same as the training data is determined as the target delay value.

[0062] In the above example of parsing 64 sampling points, the delay value with the same number of times that the output signal data is the same as the training data equal to 64 can be determined as the candidate delay value. Specifically, after each change in the delay value, the output signal data is parsed repeatedly. If the parsed output signal data has always been equal to the training data, it means that the current delay value meets the requirements and can be used as the candidate delay value. If not, continue to change the pulse width of one or more clock signals clk of the CE signal and repeat the above operations until all possible delay values are traversed. A final target delay value can be determined from the candidate delay values as the training result of the delay adjuster.

[0063] In the above embodiment, the delay adjuster is trained using the training data. The delay adjuster is set to have different delay values, and the delay value with the most times that the parsed output signal data is the same as the training data is determined as the target delay value of the delay adjuster. Thus, an ideal delay value that can ensure the alignment of the signal data of the signal transmission device is automatically obtained, effectively saving manpower. In addition, the above training process can be quickly executed for each delay adjuster of different signal transmission devices. Thus, automatic personalized training of the delay adjusters of the signal transmission device is achieved, effectively reducing the personnel cost and time cost consumed in determining the delay value of the delay adjuster.

[0064] In some embodiments, the signal transmission device includes an FPGA, and the delay adjuster is implemented using the clock manager in the FPGA. The setting the delay adjuster to have different delay values in the above step S220 includes: changing the pulse width of the input signal of the enable (CE) pin of the FPGA to change the delay value of the clock manager.

[0065] The FPGA can receive a clock signal from a clock generator. The clock signal is used to control the precision and accuracy of data transmission between various modules within the FPGA. The CE pin is a control signal input terminal in the FPGA. By changing the pulse width of the input signal of the CE pin of the FPGA, the delay value of the clock manager can be changed. For example, by pulling up the input signal for a pulse width of one clk, the delay value of the clock manager can be increased by 1 picosecond; by reducing the input signal for a pulse width of one clk, the delay value of the clock manager can be decreased by 1 picosecond.

[0066] Optionally, the clock manager can be a phase-locked loop (PLL) or a multi-mode clock manager (MMCM). In the embodiments of the present application, no specific limitation is imposed on the specific implementation of the clock manager. Any device that can perform a delay operation on the signal data in the signal transmission channel is within the protection scope of the present application.

[0067] The phase-locked loop can generate a higher-frequency clock signal through a frequency multiplier based on a lower-frequency basic clock signal. The phase-locked loop can include one or more voltage-controlled oscillators. The voltage-controlled oscillator can vary the frequency within a certain range, thereby enabling the phase-locked loop to precisely control the output clock signal for delay operation. In addition to the frequency multiplication function, the phase-locked loop can also provide functions such as phase shift and clock multiplexing. The multi-mode clock manager provides a more flexible clock frequency configuration and can perform more precise dynamic phase control on the input basic clock signal. It can be used to generate multiple clock signals for delay operation with different frequencies and phases, and can also implement functions such as clock multiplexing of the clock signal.

[0068] In the above embodiment, by changing the pulse width of the input signal of the CE pin of the FPGA, the delay value of the delay adjuster is changed, so that the signal data of the signal transmission device is aligned. This solution not only ensures that the delay adjuster has high clock frequency stability and control accuracy, but also is easy to implement.

[0069] In some embodiments, the operation of determining the accuracy of the delay value in step S220 includes: when the delay adjuster is set to have this delay value, using the delay adjuster to perform a delay operation on the training data and perform at least one parsing operation on the output signal data of the signal transmission channel, and determining whether the parsed output signal data is the same as the training data after each parsing operation. If the currently parsed output signal data is the same as the training data, perform the next parsing operation until the first preset number of parsing times is reached; if the currently parsed output signal data is different from the training data, end the operation of determining the accuracy of this delay value.

[0070] The first preset number can be set according to the actual requirements of the application scenario. When the signal transmission accuracy requirement of the signal transmission device is relatively high, the first preset number can be set higher; otherwise, vice versa.

[0071] When the delay adjuster is set to have a specific delay value, the signal data in the signal transmission channel is delayed by a duration corresponding to the specific delay value by using the delay adjuster. One sampling point analysis is performed on the output signal data of the signal transmission channel. If the output signal data of this analysis is the same as the training data, the next sampling point analysis can be performed on the output signal data, and the above operations are repeated until the first preset number of analyses is reached, such as 64 times in the above example. When the same number reaches the first preset number of analyses, the delay value is determined as the candidate delay value. If the output signal data of this analysis is different from the training data, the accuracy determination operation of this delay value can be ended. In this case, if the same number does not reach the first preset number of analyses, it can be determined that this delay value does not meet the requirements. At this time, the delay value can be modified to continue to determine whether the modified delay value can be used as the candidate delay value.

[0072] In the above embodiment, when the number of times that the parsed output signal data is the same as the training data reaches the first preset number of analyses, the delay value is determined as the target delay value, which can effectively ensure that the output signal data obtained by the delay operation based on the obtained target delay value is accurate and aligned. In addition, once the output signal data of the current analysis is different from the training data, the accuracy determination operation of the current delay value is ended, effectively saving computing resources and improving the training speed.

[0073] Alternatively, for each possible delay value, regardless of whether the output signal data of the current analysis is the same as the training data, the analysis operation of the first preset number of times is performed. After the analysis operation of the first preset number of times is completed, the number of times that the output signal data is the same as the training data is judged. Then, based on whether the same number reaches the preset number threshold, it can be determined whether the corresponding delay value can be used as the candidate delay value. Optionally, the preset number threshold can be the above first preset number. Alternatively, based on the same number, the delay value with the most same number can also be selected as the target delay value.

[0074] In some embodiments, setting the delay adjuster to have different delay values at different times in step S220 includes: setting the delay adjuster to all possible delay values at different times. Step S230 determines the target delay value among different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data, including: First, calculate the mean of multiple second delay values. Among them, the number of times the output signal data corresponding to the second delay value is the same as the training data is equal to the first preset parsing number. Then, perform a rounding operation on the mean, and use the rounded result as the target delay value.

[0075] In this embodiment, in step S220, the delay value of the delay adjuster traverses all possible delay values, and an accuracy determination operation is performed for each delay value. Thus, the target delay value can be selected from all possible delay values. In step S230, according to the number of times the output signal data corresponding to each delay value is the same as the training data, an optimal window of a delay value is obtained. The delay values in this optimal window are all the above-mentioned second delay values. Specifically, for each delay value, determine whether the number of times the output signal data corresponding to this delay value is the same as the training data is equal to the first preset parsing number. If the number of identical times is the first preset parsing number, then this delay value is the second delay value and can be added to the optimal window. After determining the number of times the output signal data corresponding to all delay values is the same as the training data, the set of all second delay values, that is, the optimal window, is obtained. In other words, based on these second delay values in the optimal window to perform a delay operation on the signal data in the signal transmission channel, the number of times the parsed output signal data is the same as the training data is equal to the first preset parsing number, that is, the output signal data parsed each time is accurate. Exemplarily, the average value of multiple second delay values can be obtained and a rounding operation is performed on this average value, and the rounded result is determined as the target delay value. This rounding can be a ceiling operation, a floor operation, or a round operation. It can be understood that this average value is the central value of the above-mentioned optimal window. Alternatively, any one of the obtained second delay values can also be selected as the final target delay value.

[0076] Exemplarily, when 6 delay values when the delay value is from 15 picoseconds to 20 picoseconds all satisfy that the number of times the output signal data is the same as the training data is equal to the first preset number, the above 6 delay values are second delay values. The average value of the 6 second delay values is 17.5 picoseconds, and the result obtained after rounding is 18 picoseconds. At this time, 18 picoseconds is determined as the final target delay value.

[0077] In the above embodiment, all possible delay values are traversed. When multiple delay values all meet the conditions, the intermediate value among the multiple delay values is determined as the final target delay value, which improves the reliability and stability of the result of the training method of the delay adjuster.

[0078] In some embodiments, step S220 sets the delay adjuster to have different delay values at different times, and for each delay value, the operation of determining the accuracy of the delay value may include: First, set the current delay value of the delay adjuster to the minimum value; then, increment the current delay value successively to the maximum value to traverse all possible delay values; when the current delay value is each set value, perform the operation of determining the accuracy of the current delay value.

[0079] In a specific example of the present application, the minimum value and the maximum value of the delay value may be 1 picosecond and 511 picoseconds, respectively. Increment the delay value starting from 0 picoseconds, for example, by raising the input signal of the CE pin of the FPGA by one pulse width each time, and count the increment operation each time the increment operation is performed until the count value reaches 511 picoseconds and then stop raising the input signal of the CE pin. Parse the output signal data of the signal transmission channel for each delay value, and determine the target delay value from the similarities and differences between the output signal data parsed each time and the training data.

[0080] In the above embodiments, all possible delay values are traversed through the increment operation, and the accuracy determination operation is performed for each delay value, and finally the target delay value is determined. The delay value that most meets the requirements can be selected from a large number of delay values, effectively ensuring the accuracy of the automatic training result of the delay adjuster of the signal transmission device, and it is relatively easy to implement.

[0081] In some embodiments, step S220 sets the delay adjuster to have different delay values at different times, and for each delay value, the operation of determining the accuracy of the delay value further includes: First, set the current delay value of the delay adjuster to the first value; then, change the current delay value until the first delay value appears. When the current delay value is each set value, perform the operation of determining the accuracy of the current delay value, where the first delay value is the delay value whose corresponding number of times the output signal data is the same as the training data equals the first preset parsing number for the first time. Step S230, based on the number of times the output signal data of each delay value is the same as the training data, determines the target delay value among different delay values, including: determining the first delay value as the target delay value.

[0082] In the above embodiment, starting from when the delay value of the self-delay adjuster is equal to the first value, the delay value of the delay adjuster is changed. For each current delay value, an accuracy determination operation is performed. When the number of times the output signal data corresponding to the current delay value is the same as the training data is equal to the first preset analysis number, the current delay value is determined as the first delay value, and the first delay value is determined as the target delay value. At this time, it can be determined that the training result has been obtained, and the training method is executed end. In other words, when the number of times the output signal data is the same as the training data first appears and is equal to the first preset analysis number, the current delay value at this time is determined as the target delay value, and the accuracy determination operation is no longer performed on other possible delay values.

[0083] In the above embodiment, the delay value at which the number of times the output signal data is the same as the training data reaches the first preset analysis number for the first time is determined as the target delay value. This can effectively improve the training speed of the training method for the delay adjuster and reduce the computing power.

[0084] Figure 3 Shows a schematic flowchart of a training method for a delay adjuster in a signal transmission device according to another embodiment of the present invention. As Figure 3As shown, first, the training data is input into the signal transmission channel, and the delay value of the delay adjuster is set to 0 picoseconds. Then, the current delay value of the delay adjuster is incremented by 1, and it is determined whether the current delay value is equal to the maximum value of the delay value, for example, 511 picoseconds. For the case where the maximum value of the delay value is not reached, an accuracy determination operation is performed on the current delay value. Specifically, the delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel for a duration corresponding to the current delay value, and the output signal data of the signal transmission channel is parsed once. It is determined whether the currently parsed output signal data is the same as the training data. For the case where the currently parsed output signal data is the same as the training data, the counter for the number of times of sameness is incremented by 1, and it is determined whether the count recorded by the counter has reached the first preset parsing number of times, for example, 64 times. If the first preset parsing number of times is not reached, the parsing of the output signal data of the signal transmission channel is performed again. The above process is repeated until the count recorded by the counter reaches the first preset parsing number of times. When the first preset parsing number of times is reached, the current delay value of the delay adjuster can be recorded and determined as the candidate delay value. For the case where the currently parsed output signal data is different from the training data, the current delay value of the delay adjuster is incremented by 1, and it is determined whether the current delay value is equal to the maximum value of the delay value. The above operation is repeated until the current delay value reaches the maximum value of the delay value. At this time, the best window that meets the requirements is determined, and all candidate delay values are included within this best window. Based on all the candidate delay values within this best window, the target delay value is determined. Thus, the training method of the delay adjuster ends, and the delay adjuster is successfully trained. If no candidate delay value is found in the above operations, that is, no best window is found, the training method of the delay adjuster also ends, and the delay adjuster training fails.

[0085] According to another aspect of the present application, there is also provided a training device for a delay adjuster in a signal transmission device. The signal transmission device includes a plurality of signal transmission channels, and a delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel so that the output signal data of the signal transmission channel is aligned. Figure 4 FIG. shows a schematic block diagram of a training device for a delay adjuster in a signal transmission device according to an embodiment of the present invention. As Figure 4 shown, the training device for a delay adjuster in a signal transmission device includes a signal input module, a comparison module, and a determination module.

[0086] The signal input module is used to input training data into the signal transmission channel. The comparison module is used to set the delay adjuster to have different delay values at different times, and for each delay value, perform the accuracy determination operation of the delay value, where the accuracy determination operation of the delay value includes: when the delay adjuster is set to have the delay value, using the delay adjuster to perform a delay operation on the training data and perform at least one parsing operation on the output signal data of the signal transmission channel, and determining whether the output signal data of each parsing is the same as the training data to determine the number of times the output signal data is the same as the training data. The determination module is used to determine the target delay value among different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data, and the target delay value is used for the delay operation of the delay adjuster.

[0087] According to another aspect of the present application, a signal transmission device is further provided. The signal transmission device includes a plurality of signal transmission channels, a delay adjuster, and a training module. Among them, a delay adjuster is provided in each signal transmission channel, and the delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel to align the output signal data of the signal transmission channel. The training module is used to execute the above-mentioned training method for the delay adjuster in the signal transmission device to obtain the target delay value of the delay adjuster.

[0088] According to another aspect of the present application, an ultrasonic device is further provided. The ultrasonic device includes the above-mentioned signal transmission device. The ultrasonic device may further include a host and a probe. The host is used to process and display the signals received from the probe. The probe can be used to transmit and receive ultrasonic signals, perform electro-acoustic signal conversion, convert the electrical signals sent by the host into ultrasonic signals with high-frequency oscillation, and can also convert the ultrasonic signals reflected from the target tissue into electrical signals and display them on the display of the host. The above-mentioned signal transmission device can be connected between the host and the probe. The ultrasonic device can be an ultrasonic imaging device or an ultrasonic imaging workstation.

[0089] In addition, according to another aspect of the present invention, a storage medium is further provided. Program instructions are stored on the storage medium. When the program instructions are run by a computer or a processor, the computer or the processor is caused to execute the corresponding steps of the above-mentioned training method for the delay adjuster in the signal transmission device of the embodiment of the present invention, and is used to implement the corresponding modules of the above-mentioned training device for the delay adjuster in the signal transmission device of the embodiment of the present invention or the corresponding modules in the above-mentioned electronic device. The storage medium can include, for example, the storage component of a tablet computer, the hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium can be any combination of one or more computer-readable storage media.

[0090] Those of ordinary skill in the art can understand the specific implementation and beneficial effects of the above-described training device, signal transmission device, and storage medium for the delay adjuster in the signal transmission device by reading the above specific description of the training method for the delay adjuster in the signal transmission device. For the sake of brevity, they will not be elaborated here.

[0091] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Those of ordinary skill in the art can make various changes and modifications therein without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as claimed in the appended claims.

[0092] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.

[0093] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0094] In the specification provided herein, a large number of specific details are set forth. However, it can be understood that the embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures, and technologies have not been shown in detail so as not to obscure the understanding of this specification.

[0095] Similarly, it should be understood that, for the purpose of streamlining the present invention and aiding in the understanding of one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, the inventive point lies in that the corresponding technical problems can be solved with features fewer than all the features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into the detailed description, where each claim itself serves as a separate embodiment of the present invention.

[0096] Those skilled in the art will appreciate that, except where features are mutually exclusive, any combination can be used to combine all the features disclosed in this specification (including the accompanying claims, abstract, and drawings), as well as all the processes or units of any method or apparatus so disclosed. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) can be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0097] Furthermore, those skilled in the art will be able to understand that, although some of the embodiments described herein include certain features included in other embodiments but not others, the combination of features of different embodiments means that it is within the scope of the present invention and forms different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.

[0098] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that in practice, a microprocessor or a digital signal processor (DSP) can be used to implement some or all of the functions of some of the modules in the training device for the delay adjuster in the signal transmission device according to the embodiments of the present invention. The present invention can also be implemented as a device program (e.g., a computer program and a computer program product) for performing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or in any other form.

[0099] It should be noted that the above embodiments are illustrative of the present invention rather than restrictive thereof, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim listing several devices, several of these devices can be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not denote any order. These words can be interpreted as names.

[0100] As described above, the above is only a specific embodiment of the present invention or an illustration of the specific embodiment, and the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should be covered within the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A training method for a delay adjuster in a signal transmission device, characterized in that The signal transmission device includes a plurality of signal transmission channels, and a delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel so as to align the output signal data of the signal transmission channel. The training method includes: Inputting training data into the signal transmission channel; Setting the delay adjuster to have different delay values at different times, and for each delay value, performing an accuracy determination operation for this delay value. Wherein, the accuracy determination operation for this delay value includes: when the delay adjuster is set to have this delay value, using the delay adjuster to perform a delay operation on the training data and performing at least one parsing operation on the output signal data of the signal transmission channel, and determining whether the output signal data of each parsing is the same as the training data to determine the number of times the output signal data is the same as the training data; Based on the number of times the output signal data corresponding to each delay value is the same as the training data, determining a target delay value among the different delay values.

2. The training method according to claim 1, wherein The accuracy determination operation for this delay value includes: When the delay adjuster is set to have this delay value, using the delay adjuster to perform a delay operation on the training data and performing at least one parsing operation on the output signal data of the signal transmission channel, and determining whether the output signal data of each parsing is the same as the training data after each parsing operation. If the output signal data of the current parsing is the same as the training data, perform the next parsing operation until the first preset number of parsing times is reached; if the output signal data of the current parsing is different from the training data, end the accuracy determination operation for this delay value.

3. The training method according to claim 2, wherein The setting the delay adjuster to have different delay values at different times includes: Setting the delay adjuster to all possible delay values at different times; The determining a target delay value among the different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data includes: Calculating the mean value of a plurality of second delay values, wherein the number of times the output signal data corresponding to the second delay value is the same as the training data is equal to the first preset number of parsing times; Performing a rounding operation on the mean value and taking the rounding result as the target delay value.

4. The training method according to any one of claims 1 to 3, characterized in that The setting the delay adjuster to have different delay values at different times, and for each delay value, performing an accuracy determination operation for this delay value includes: First, setting the current delay value of the delay adjuster to the minimum value; then, incrementing the current delay value successively to the maximum value to traverse all possible delay values; When the current delay value is each set value, performing the accuracy determination operation for this current delay value.

5. The training method according to claim 1 or 2, wherein The setting the delay adjuster to have different delay values at different times, and for each delay value, performing an accuracy determination operation for this delay value includes: First, set the current delay value of the delay adjuster to a first value; then, change the current delay value until the first delay value appears. When the current delay value is each set value, perform the accuracy determination operation for this current delay value, where the first delay value is the delay value that first appears and the number of times its corresponding output signal data is the same as the training data is equal to the first preset parsing number. Determining a target delay value among different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data includes: Determine the first delay value as the target delay value.

6. The training method according to claim 1, wherein Determining a target delay value among different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data includes: Determine the third delay value as the target delay value, where the third delay value is the delay value among all delay values that has the most times of its output signal data being the same as the training data.

7. The training method according to claim 1, wherein The signal transmission device includes a field programmable gate array, and the delay adjuster is implemented using a clock manager in the field programmable gate array. The setting the delay adjuster to have different delay values includes: Changing the pulse width of the input signal of the enable pin of the field programmable gate array to change the delay value of the clock manager.

8. The training method according to claim 1, characterized in that, The training data includes 2N-bit data, where the first N bits or the last N bits of the 2N-bit data are 0, and the other N bits of data are 1.

9. A training device for a delay adjuster in a signal transmission device, characterized in that, The signal transmission device includes a plurality of signal transmission channels, and a delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel to align the output signal data of the signal transmission channel. The training device includes: A signal input module for inputting training data into the signal transmission channel; A comparison module for setting the delay adjuster to have different delay values at different times, and for each delay value, performing the accuracy determination operation for this delay value, where the accuracy determination operation for this delay value includes: when the delay adjuster is set to have this delay value, using the delay adjuster to perform a delay operation on the training data and performing at least one parsing operation on the output signal data of the signal transmission channel, and determining whether the output signal data of each parsing is the same as the training data to determine the number of times the output signal data is the same as the training data; A determination module for determining a target delay value among different delay values based on the number of times the output signal data corresponding to each delay value is the same as the training data.

10. A signal transmission device, characterized in that, The signal transmission device includes a plurality of signal transmission channels, a delay adjuster, and a training module. Among them, a delay adjuster is provided in each signal transmission channel. The delay adjuster is used to perform a delay operation on the signal data in the signal transmission channel so as to align the output signal data of the signal transmission channel. The training module is used to execute the training method for the delay adjuster in the signal transmission device as described in any one of claims 1 to 8 to obtain the target delay value of the delay adjuster.

11. An ultrasonic device, characterized in that, The ultrasonic device includes the signal transmission device as described in claim 10.

12. A storage medium, on which program instructions are stored, characterized in that, The program instructions are used to execute the training method for the delay adjuster in the signal transmission device as described in any one of claims 1 to 8 when running.