Multicarrier time delay measurement method and device based on square wave signal, equipment and medium
By using square wave signals with the same sampling rate to measure multi-carrier delay, the problems of complexity and low accuracy in delay measurement in existing technologies are solved, achieving more efficient and accurate delay measurement and improving communication quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2026-03-27
AI Technical Summary
Existing technologies for delay measurement in multi-channel or multi-carrier data transmission are complex, inefficient, and inaccurate. In particular, when the baseband data cannot be controlled or modified, the spectral spread of the impulse signal makes measurement difficult.
A square wave signal is used as the excitation signal to ensure that its sampling rate is the same as that of the carrier signal to be measured. By obtaining the measurement time of each carrier signal, its time delay is calculated to avoid the problem of spectrum spread.
It improves the accuracy and efficiency of delay measurement for multi-channel carrier signals with different sampling rates, simplifies the operation process, and meets the requirements of high-quality communication.
Smart Images

Figure CN116248555B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of communication technology, and in particular, to a multi-carrier time delay measurement method based on square wave signals, a device, an apparatus and a medium. BACKGROUND
[0002] In the field of communication, due to the involvement of multi-channel or multi-carrier data transmission, in order to ensure the effect of signal modulation and demodulation, the time delay of the channel or carrier needs to be adjusted.
[0003] In related technologies, when the baseband transmission data content can be controlled or modified, the time delay can be measured by injecting a special sequence. When the baseband data cannot be controlled or modified, a pulse signal is usually injected to measure the time delay by finding the peak value time of the impulse response and the injection time difference. However, at this time, the algorithm for finding the peak value itself is relatively complex, and when the peak value amplitude is unstable or spectrum diffusion occurs, such as Figure 1a , the ideal output signal should be as shown in Figure 1b , but in fact, as shown in Figure 1c , the peak value signal with spectrum diffusion occurs, resulting in a relatively complex and low efficiency and accuracy of measuring time delay. SUMMARY
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a multi-carrier time delay measurement method based on square wave signals, a device, an apparatus and a medium.
[0005] The present disclosure provides a multi-carrier time delay measurement method based on square wave signals, applied to a remote unit in a digital distributed system (DAS), the remote unit including a plurality of data transmission links, each data transmission link including a plurality of carrier signals to be measured, each carrier signal to be measured in each data transmission link being configured with a different sampling rate, the method comprising:
[0006] obtaining a square wave signal corresponding to each carrier signal to be measured; wherein the sampling rate of the square wave signal is the same as the sampling rate of each carrier signal to be measured;
[0007] based on the square wave signal acting on each carrier signal to be measured, obtaining a measurement time corresponding to each carrier signal to be measured;
[0008] based on the measurement time and the square wave signal, calculating to determine a time delay corresponding to each carrier signal to be measured.
[0009] The embodiment of the present disclosure further provides a multi-carrier time delay measurement device based on a square wave signal, which is applied to a remote unit in a digital distributed system (DAS), the remote unit comprising a plurality of data transmission links, each of the to-be-measured carrier signals in each data transmission link being configured with a different sampling rate, and the device comprising:
[0010] an acquisition module configured to acquire a square wave signal corresponding to each of the to-be-measured carrier signals, wherein the sampling rate of the square wave signal is the same as the sampling rate of each of the to-be-measured carrier signals;
[0011] a processing module configured to act on each of the to-be-measured carrier signals based on the square wave signal to obtain a measurement time corresponding to each of the to-be-measured carrier signals;
[0012] a first determination module configured to calculate based on the measurement time and the square wave signal to determine a time delay time corresponding to each of the to-be-measured carrier signals.
[0013] The embodiment of the present disclosure further provides an electronic device, which comprises a processor, a memory for storing executable instructions of the processor, and the processor is configured to read the executable instructions from the memory and execute the instructions to implement the multi-carrier time delay measurement method based on a square wave signal provided by the embodiment of the present disclosure.
[0014] The embodiment of the present disclosure further provides a computer readable storage medium, which stores a computer program, and the computer program is used to execute the multi-carrier time delay measurement method based on a square wave signal provided by the embodiment of the present disclosure.
[0015] The technical solution provided by the embodiment of the present disclosure has the following advantages compared with the prior art: the multi-carrier time delay measurement method based on a square wave signal provided by the embodiment of the present disclosure is applied to a remote unit in a digital distributed system (DAS), the remote unit comprising a plurality of data transmission links, each of the to-be-measured carrier signals in each data transmission link being configured with a different sampling rate, and a square wave signal corresponding to each of the to-be-measured carrier signals is acquired; wherein the sampling rate of the square wave signal is the same as the sampling rate of each of the to-be-measured carrier signals, each of the to-be-measured carrier signals is acted on based on the square wave signal to obtain a measurement time corresponding to each of the to-be-measured carrier signals, and calculation is performed based on the measurement time and the square wave signal to determine a time delay time corresponding to each of the to-be-measured carrier signals. By using the square wave signal as an excitation signal to avoid the problem of peak signal spectrum diffusion, the time delay of multi-channel carrier signals with different sampling rates can be measured, and the time delay measurement accuracy and efficiency are improved. BRIEF DESCRIPTION OF DRAWINGS
[0016] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The same or similar components have the same or similar reference labels. It should be understood that the drawings are not necessarily to scale, with emphasis instead being placed upon illustrating the principles of the embodiments of the present disclosure.
[0017] Figure 1a An example graph of an impulse signal of the prior art;
[0018] Figure 1b An example graph of an output signal of the prior art;
[0019] Figure 1c An example graph of another output signal of the prior art;
[0020] Figure 2 A flowchart of a square wave signal-based multicarrier time delay measurement method provided by an embodiment of the present disclosure;
[0021] Figure 3 An example graph of a square wave signal-based multicarrier time delay measurement provided by an embodiment of the present disclosure;
[0022] Figure 4 A flowchart of another square wave signal-based multicarrier time delay measurement method provided by an embodiment of the present disclosure;
[0023] Figure 5 A schematic graph of a square wave signal provided by an embodiment of the present disclosure;
[0024] Figure 6 A schematic graph of a response signal provided by an embodiment of the present disclosure;
[0025] Figure 7 A structural schematic diagram of a square wave signal-based multicarrier time delay measurement device provided by an embodiment of the present disclosure;
[0026] Figure 8 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings. While several embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and fully convey the scope of the present disclosure to those skilled in the art.
[0028] It should be understood that each step recited in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit performing the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "comprising" and variations thereof as used herein are open-ended, and mean "including but not limited to". The term "based on" means "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Related terms shall be construed accordingly.
[0030] It should be noted that the terms "first", "second", and the like in the present disclosure are merely used to distinguish different devices, modules or units, and do not imply the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise explicitly stated in the context, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0033] Figure 2 A flowchart of a multi-carrier time delay measurement method based on square wave signals is provided for the embodiments of the present disclosure. The method can be performed by a multi-carrier time delay measurement device based on square wave signals, which can be implemented by software and / or hardware, and can be integrated in an electronic device. As shown in Figure 2 The method includes:
[0034] Step 101, obtaining a square wave signal corresponding to each carrier signal to be measured; wherein the sampling rate of the square wave signal and the sampling rate of each carrier signal to be measured are the same.
[0035] In this embodiment of the disclosure, a remote unit is applied in a Digital Distributed System (DAS). The remote unit includes multiple data transmission links, and each carrier signal to be measured in each data transmission link is configured with a different sampling rate. Specifically, in radio frequency modules, especially in DAS systems, multi-carrier processing is frequently encountered. Specifically, the remote unit of the DAS is connected to an optical fiber. After the carrier is input to the remote unit, it is transmitted to the antenna port connected to the remote unit. It is necessary to transmit carriers with different sampling rates. The carriers with different sampling rates have different time delays after passing through the digital filter, resulting in different arrival times of carriers with different sampling rates at the antenna port. It is necessary to perform time delay measurement on the carrier channels for different sampling rates.
[0036] For example, such as Figure 3 As shown, after passing through the front-end module, carrier paths are allocated, resulting in carrier paths 1 to n corresponding to sampling rates 1 to m, where n and m are positive integers. Then, each carrier signal undergoes carrier processing before being sent to subsequent modules. It is understandable that different carrier signals correspond to different sampling rates, and there is a time delay between each carrier signal. Figure 3 The system uses a delay measurement module to measure the delay of each carrier, and then performs delay control based on the measured delay time to ensure the accuracy of subsequent carrier processing and improve communication quality.
[0037] Existing technologies measure time delay by finding the peak time of the impulse response and the injection time difference. However, the algorithm for finding the peak is complex, and unstable peak amplitude or spectral spread can lead to unstable peak finding. In this embodiment, a square wave signal with the same sampling rate as the carrier signal to be measured is input as the excitation signal for each carrier signal to be measured, and processed to obtain the time delay time corresponding to each carrier signal to be measured. Using a square wave signal as the excitation signal avoids the problem of peak signals with spectral spread. The fact that the sampling rate of the square wave signal is the same as the sampling rate of each carrier signal to be measured ensures the accuracy of subsequent measurements.
[0038] Step 102: Based on the square wave signal applied to each carrier signal to be measured, obtain the measurement time corresponding to each carrier signal to be measured.
[0039] In this embodiment of the disclosure, the square wave signal can be applied to each carrier signal to be measured simultaneously or in a preset order, depending on the application scenario. This embodiment of the disclosure does not impose any specific limitations.
[0040] Specifically, by inputting a square wave signal as an excitation signal for each carrier signal to be measured, the measurement time corresponding to each carrier signal to be measured is calculated based on the peak time of the response signal, the time of the square wave signal, etc.
[0041] In the embodiments of the present disclosure, there are many ways to obtain the measurement time corresponding to each to-be-measured carrier signal based on the square wave signal acting on each to-be-measured carrier signal. In some embodiments, the square wave signal first acts on each to-be-measured carrier signal to obtain a first response signal, the first response signal is counted based on a preset time segmentation to obtain a response amplitude, the square wave signal second acts on each to-be-measured carrier signal to obtain a second response signal, a first measurement time point at which the second response signal rises to a target response amplitude and a second measurement time point at which the second response signal falls to the target response amplitude are obtained; and the target response amplitude is determined based on the response amplitude and a preset proportion coefficient.
[0042] In other embodiments, the square wave signal acts on each to-be-measured carrier signal to obtain a third response signal, the third response signal is counted based on a preset time segmentation to obtain a first measurement time point at which the third response signal rises to a target response amplitude and a second measurement time point at which the third response signal falls to the target response amplitude.
[0043] The above two ways are only examples of obtaining the measurement time corresponding to each to-be-measured carrier signal based on the square wave signal acting on each to-be-measured carrier signal, and the embodiments of the present disclosure do not limit the implementation manner of obtaining the measurement time corresponding to each to-be-measured carrier signal based on the square wave signal acting on each to-be-measured carrier signal.
[0044] In step 103, the measurement time and the square wave signal are used for calculation to determine the time delay time corresponding to each to-be-measured carrier signal.
[0045] In the embodiments of the present disclosure, there are many ways to obtain the measurement time corresponding to each to-be-measured carrier signal based on the square wave signal acting on each to-be-measured carrier signal. In some embodiments, the measurement time includes the first measurement time point, the pulse rising time point of the square wave signal is obtained, the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal are used for calculation to obtain the time delay time corresponding to each to-be-measured carrier signal; in other embodiments, the measurement time includes the first measurement time point and the second measurement time point, the pulse rising time point and the pulse falling time point of the square wave signal are obtained, the pulse rising time point and the first measurement time corresponding to each to-be-measured carrier signal are used for calculation to obtain the first to-be-processed time delay time corresponding to each to-be-measured carrier signal, the pulse falling time point and the second measurement time corresponding to each to-be-measured carrier signal are used for calculation to obtain the second to-be-processed time delay time corresponding to each to-be-measured carrier signal, and the first to-be-processed time delay time and the second to-be-processed time delay time corresponding to each to-be-measured carrier signal are used for calculation to obtain the time delay time corresponding to each to-be-measured carrier signal.
[0046] The above two manners are only examples of determining the time delay time corresponding to each to-be-measured carrier signal based on the measurement time and the square wave signal. The present embodiment does not limit the implementation manner of determining the time delay time corresponding to each to-be-measured carrier signal based on the measurement time and the square wave signal.
[0047] The square wave signal-based multi-carrier time delay measurement scheme provided by the present embodiment is applied to a remote unit in a digital distributed system (DAS). The remote unit includes a plurality of data transmission links. Each to-be-measured carrier signal in each data transmission link is configured with a different sampling rate, and a square wave signal corresponding to each to-be-measured carrier signal is obtained. The sampling rate of the square wave signal is the same as the sampling rate of each to-be-measured carrier signal. The square wave signal acts on each to-be-measured carrier signal to obtain a measurement time corresponding to each to-be-measured carrier signal. The measurement time and the square wave signal are used to calculate the time delay time corresponding to each to-be-measured carrier signal. By using the square wave signal as an excitation signal to avoid the problem of peak signal spectrum spreading, the time delay of multi-channel carrier signals with different sampling rates can be measured, and the time delay measurement accuracy and efficiency are improved.
[0048] Figure 4 Another flowchart of the square wave signal-based multi-carrier time delay measurement method provided by the present embodiment is shown in FIG. 8. Based on the above embodiment, the square wave signal-based multi-carrier time delay measurement method is further optimized. As shown in FIG. 8, the method includes the following steps. Figure 4
[0049] In step 201, a square wave signal corresponding to each to-be-measured carrier signal is obtained. The sampling rate of the square wave signal is the same as the sampling rate of each to-be-measured carrier signal.
[0050] In step 202, a simulation measurement of each to-be-measured carrier signal is performed based on a preset filter to obtain a maximum time delay time corresponding to each to-be-measured carrier signal. The time width of the square wave signal corresponding to each to-be-measured carrier signal is determined based on the maximum time delay time corresponding to each to-be-measured carrier signal.
[0051] Specifically, the excitation of the time delay measurement uses a square wave signal. As an example, Figure 5 A schematic diagram of the square wave signal provided by the present embodiment is shown in FIG. 9. The time width of the square wave signal is t2-t1 as shown in FIG. 9. Figure 5
[0052] In the embodiments of the present disclosure, the time width of the square wave signal corresponding to each to-be-measured carrier signal is determined based on the maximum time delay of the to-be-measured carrier signal, and more specifically, the time width of the square wave signal is generally greater than the maximum time delay of the to-be-measured carrier signal, for example, greater than 1.5 times of the maximum time delay, so as to further ensure the accuracy of the time delay measurement result.
[0053] The maximum time delay of the to-be-measured carrier signal can be obtained in various ways. In a specific embodiment, the maximum time delay of each to-be-measured carrier signal is obtained by performing simulation measurement on each to-be-measured carrier signal based on a preset filter, that is, the maximum time delay of each to-be-measured carrier signal is estimated through filter delay simulation on the signal link.
[0054] In step 203, the first response signal is obtained by applying the square wave signal to each to-be-measured carrier signal, the response amplitude is obtained by statistically processing the first response signal based on a preset time segmentation, and the second response signal is obtained by applying the square wave signal to each to-be-measured carrier signal again.
[0055] In step 204, the first measurement time point at which the second response signal rises to the target response amplitude and the second measurement time point at which the second response signal falls to the target response amplitude are obtained, and the target response amplitude is determined based on the response amplitude and a preset proportion coefficient.
[0056] Specifically, after the square wave signal is excited, the output response signal of the square wave signal can be obtained, and the response amplitude of the response signal can be obtained by statistically processing the power in each time segment (for example, a time segment of (t2-t1) / 10). Figure 6 As shown in FIG. 5, the average amplitude A between t1' and t2' is taken as the response amplitude.
[0057] Further, the square wave signal is excited again, the first measurement time point t1' is determined by judging whether the second response signal reaches the target response amplitude (the target response amplitude is determined based on the response amplitude and a preset proportion coefficient, that is, the A amplitude or a certain proportion of the A amplitude, for example, A*80% is taken as the target response amplitude), and the second measurement time point t2' is determined by the amplitude falling.
[0058] After step 204, step 205 and / or steps 206-207 can be performed, and the execution order can be determined according to actual conditions. Figure 4 The above is only an example.
[0059] In step 205, the pulse rising time point of the square wave signal is obtained, and the time delay of each to-be-measured carrier signal is obtained based on the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal.
[0060] Specifically, the difference between the first measurement time point corresponding to each to-be-measured carrier signal and the pulse rising time point is taken as the time delay of each to-be-measured carrier signal, such as the time delay determined by judging t1'-t1 in the above example.
[0061] Step 206, the pulse rising time point and the pulse falling time point of the square wave signal are obtained, and the first to-be-processed time delay of each to-be-measured carrier signal is obtained based on the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal.
[0062] Step 207, the second to-be-processed time delay of each to-be-measured carrier signal is obtained based on the pulse falling time point and the second measurement time point corresponding to each to-be-measured carrier signal, and the time delay of each to-be-measured carrier signal is obtained based on the first to-be-processed time delay and the second to-be-processed time delay corresponding to each to-be-measured carrier signal.
[0063] Specifically, the first to-be-processed time delay of each to-be-measured carrier signal is obtained by summing and averaging the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal, and the second to-be-processed time delay of each to-be-measured carrier signal is obtained by summing and averaging the pulse falling time point and the second measurement time point corresponding to each to-be-measured carrier signal, and finally the difference between the first to-be-processed time delay and the second to-be-processed time delay corresponding to each to-be-measured carrier signal is taken as the time delay of each to-be-measured carrier signal. For example, the time delay is determined by judging [(t2'+t1') / 2]-[(t2+t1) / 2] in the above example.
[0064] Step 208, the transmission time of each to-be-measured carrier signal is obtained based on the time delay corresponding to each to-be-measured carrier signal, and the time error is obtained based on the plurality of transmission times, until the time error is less than the preset error threshold.
[0065] Specifically, the transmission time of the to-be-measured carrier signal is adjusted according to the time delay corresponding to each to-be-measured carrier signal, such as delaying five milliseconds, and the transmission time of the carrier is adjusted to be five milliseconds faster, so as to calculate the time error between the plurality of transmission times, and stop adjusting when the time error is less than the preset error threshold; wherein the error threshold can be set as needed.
[0066] Based on the above description, the multi-carrier time delay measurement method based on square wave signal of the embodiment of the present disclosure determines the sampling rate of the to-be-measured carrier signal of the to-be-measured channel, generates a square wave signal of the to-be-measured carrier signal as an excitation, that is, generates a square wave signal using the same sampling rate as the to-be-measured carrier signal, the time width of the square wave signal is generally greater than the maximum time delay amount of the measured signal, and the response amplitude of the response signal is determined according to the signal response of the square wave signal, so as to determine the response time points t1' and t2' of the above-mentioned response signal. Therefore, the time delay time of the above-mentioned channel and the to-be-measured carrier signal under the corresponding setting sampling rate is determined, for example, the time delay time is determined by judging t1'-t1, or the time delay time is determined by judging [(t2'+t1') / 2]-[(t2+t1) / 2], and the time delay measurement of different channels and different sampling rate signals through a link can be completed.
[0067] The multi-carrier time delay measurement scheme based on the square wave signal provided by the embodiments of the present disclosure acquires a square wave signal corresponding to each to-be-measured carrier signal; wherein the sampling rate of the square wave signal is the same as the sampling rate of each to-be-measured carrier signal, each to-be-measured carrier signal is measured based on a preset filter to obtain a maximum time delay time corresponding to each to-be-measured carrier signal, the time width of the square wave signal corresponding to each to-be-measured carrier signal is determined based on the maximum time delay time corresponding to each to-be-measured carrier signal, the first response signal is obtained by applying the square wave signal to each to-be-measured carrier signal, the response amplitude is obtained by statistically processing the first response signal based on a preset time segmentation, the second response signal is obtained by applying the square wave signal to each to-be-measured carrier signal again, the first measurement time point at which the second response signal rises to a target response amplitude and the second measurement time point at which the second response signal falls to the target response amplitude are acquired; wherein the target response amplitude is determined by the response amplitude and a preset proportion coefficient, the pulse rising time point of the square wave signal is acquired, the time delay time corresponding to each to-be-measured carrier signal is obtained by calculating based on the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal, the pulse rising time point and the pulse falling time point of the square wave signal are acquired, the first to-be-processed time delay time corresponding to each to-be-measured carrier signal is obtained by calculating based on the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal, the second to-be-processed time delay time corresponding to each to-be-measured carrier signal is obtained by calculating based on the pulse falling time point and the second measurement time corresponding to each to-be-measured carrier signal, the time delay time corresponding to each to-be-measured carrier signal is obtained by calculating based on the first to-be-processed time delay time and the second to-be-processed time delay time corresponding to each to-be-measured carrier signal, the transmission time corresponding to each to-be-measured carrier signal is obtained by adjusting based on the time delay time corresponding to each to-be-measured carrier signal, the time error is obtained by calculating according to multiple transmission times, and the process is repeated until the time error is less than a preset error threshold. By using the square wave signal as the excitation signal, the above technical solution avoids the problem of the peak signal with spectrum diffusion, the time delay measurement is faster, the operation is simpler, and the multi-channel and multi-sampling rate time delay measurement can be completed, thereby further improving the time delay measurement accuracy and efficiency, improving the accuracy of time delay adjustment, meeting the high-quality communication needs of users, and improving the user experience.
[0068] Figure 7 A structure diagram of a multi-carrier time delay measurement device based on a square wave signal provided by the embodiments of the present disclosure is provided. The device can be implemented by software and / or hardware and can be integrated in an electronic device. As shown in Figure 7 the remote unit applied in a digital distributed system (DAS), the remote unit includes multiple data transmission links, each to-be-measured carrier signal in each data transmission link is configured with a different sampling rate, and the device 300 includes:
[0069] The acquisition module 301 is configured to acquire a square wave signal corresponding to each to-be-measured carrier signal; wherein a sampling rate of the square wave signal is the same as a sampling rate of each to-be-measured carrier signal.
[0070] The processing module 302 is configured to obtain a measurement time corresponding to each to-be-measured carrier signal based on the square wave signal acting on the to-be-measured carrier signal.
[0071] The first determination module 303 is configured to determine a time delay time corresponding to each to-be-measured carrier signal based on the measurement time and the square wave signal.
[0072] Optionally, the apparatus further comprises:
[0073] The measurement module is configured to perform simulation measurement on each to-be-measured carrier signal based on a preset filter to obtain a maximum time delay time corresponding to each to-be-measured carrier signal.
[0074] The second determination module is configured to determine a time width of the square wave signal corresponding to each to-be-measured carrier signal based on the maximum time delay time corresponding to each to-be-measured carrier signal.
[0075] Optionally, the processing module 302 is specifically configured to:
[0076] obtain a first response signal based on the square wave signal first acting on each to-be-measured carrier signal;
[0077] obtain a response amplitude based on preset time segmentation on the first response signal;
[0078] obtain a second response signal based on the square wave signal second acting on each to-be-measured carrier signal;
[0079] obtain a first measurement time point at which the second response signal rises to a target response amplitude and a second measurement time point at which the second response signal falls to the target response amplitude; wherein the response amplitude and a preset proportional coefficient determine the target response amplitude.
[0080] Optionally, the processing module 302 is specifically configured to:
[0081] obtain a third response signal based on the square wave signal acting on each to-be-measured carrier signal;
[0082] obtain a first measurement time point at which the third response signal rises to a target response amplitude and a second measurement time point at which the third response signal falls to the target response amplitude based on preset time segmentation on the third response signal.
[0083] Optionally, the measurement time includes a first measurement time point, and the first determination module 303 is specifically configured to:
[0084] obtain a pulse rising time point of the square wave signal;
[0085] perform calculation based on the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal, to obtain a time delay time corresponding to each to-be-measured carrier signal.
[0086] Optionally, the measurement time includes a first measurement time point and a second measurement time point, and the first determination module 303 is specifically configured to:
[0087] obtain a pulse rising time point and a pulse falling time point of the square wave signal;
[0088] perform calculation based on the pulse rising time point and the first measurement time corresponding to each to-be-measured carrier signal, to obtain a first to-be-processed time delay time corresponding to each to-be-measured carrier signal;
[0089] perform calculation based on the pulse falling time point and the second measurement time point corresponding to each to-be-measured carrier signal, to obtain a second to-be-processed time delay time corresponding to each to-be-measured carrier signal;
[0090] perform calculation based on the first to-be-processed time delay time and the second to-be-processed time delay time corresponding to each to-be-measured carrier signal, to obtain a time delay time corresponding to each to-be-measured carrier signal.
[0091] Optionally, the apparatus further includes:
[0092] an adjustment module configured to perform adjustment based on the time delay time corresponding to each to-be-measured carrier signal, to obtain a transmission time corresponding to each to-be-measured carrier signal;
[0093] a calculation module configured to perform calculation according to a plurality of transmission times, to obtain a time error, until the time error is less than a preset error threshold.
[0094] The apparatus for measuring time delay of multi-carrier based on square wave signal provided in the embodiments of the present disclosure can execute the method for measuring time delay of multi-carrier based on square wave signal provided in any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method.
[0095] The embodiments of the present disclosure further provide a computer program product, including computer programs / instructions, which, when executed by a processor, implement the method for measuring time delay of multi-carrier based on square wave signal provided in any of the embodiments of the present disclosure.
[0096] Figure 8A structural diagram of an electronic device according to an embodiment of the disclosure is provided. Specific reference will be made to the drawings in order to Figure 8 which shows a structural diagram suitable for use in implementing an electronic device 400 in an embodiment of the disclosure. The electronic device 400 in an embodiment of the disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), and the like, as well as a stationary terminal such as a digital TV, a desktop computer, and the like. Figure 8 The electronic device shown is merely an example and should not impose any limitation on the functions and use range of an embodiment of the disclosure.
[0097] As shown in FIG. 4, Figure 8 The electronic device 400 can include a processing device (e.g., a central processor, a graphic processor, etc.) 401 that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded into a random access memory (RAM) 403 from a storage device 408. Various programs and data required for the operation of the electronic device 400 are also stored in the RAM 403. The processing device 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0098] In general, the following devices can be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage device 408 including, for example, a magnetic tape, a hard disk, and the like; and a communication device 409. The communication device 409 can allow the electronic device 400 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 The electronic device 400 is shown with various devices, but it is understood that all of the shown devices are not required to be implemented or provided. More or fewer devices can alternatively be implemented or provided.
[0099] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the square wave signal-based multicarrier time delay measurement method of embodiments of the present disclosure are performed.
[0100] It should be noted that the computer-readable medium described above in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the computer-readable program code is carried. Such a propagated data signal can take a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that can be used to carry or store program code for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including, but not limited to, a wire, cable, optical fiber, RF (radio frequency), or any suitable combination thereof.
[0101] In some embodiments, the client, server, or other computing machines can communicate using any known or later developed form of computer-readable media, including but not limited to wireless media, wire-based media, optical-based media, and the like. In some embodiments, the client, server, or other computing machines can communicate using any current or later developed network protocol, such as the Hyper Text Transfer Protocol (HTTP) and / or the like, and can be interconnected with any form or medium of digital data communication (for example, a communication network) including the Internet, World Wide Web, intranets, and the like. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), inter-networks (for example, the Internet), and peer-to-peer networks (for example, ad hoc peer-to-peer networks), as well as any current or later developed networks.
[0102] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device and be not assembled into the electronic device.
[0103] The computer-readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to: obtain a square wave signal corresponding to each to-be-measured carrier signal; wherein the sampling rate of the square wave signal is the same as the sampling rate of each to-be-measured carrier signal, and each to-be-measured carrier signal is subjected to the square wave signal to obtain a measurement time corresponding to each to-be-measured carrier signal, and the measurement time and the square wave signal are used for calculation to determine a time delay corresponding to each to-be-measured carrier signal. With the technical solution described above, time delay measurement of multi-channel carrier signals with different sampling rates can be completed, and the accuracy and efficiency of time delay measurement are improved.
[0104] Computer program code for carrying out operations of the present disclosure can be written in any one or combination of one or more programming languages, including an object-oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network ("LAN") or a wide area network ("WAN"), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0105] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause one or more processors to perform the operations of the corresponding method aspects. The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause one or more processors to perform the operations of the corresponding method aspects.
[0106] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware, or by a combination of software and hardware. In some cases, the names of the units do not constitute a limitation on the units themselves.
[0107] The functions described in this description above can be implemented in hardware, software, or any combination thereof. If implemented in software, the functions can be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media include both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media can be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code means in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, functional
[0108] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, comprising:
[0110] a processor;
[0111] a memory for storing the processor executable instructions;
[0112] the processor, configured to read the executable instructions from the memory and execute the instructions to implement the square wave signal based multicarrier time delay measurement method according to any one of the embodiments of the present disclosure.
[0113] According to one or more embodiments of the present disclosure, the present disclosure provides a computer readable storage medium, which stores a computer program for executing the square wave signal based multicarrier time delay measurement method according to any one of the embodiments of the present disclosure.
[0114] The above description is merely preferred embodiments of the present disclosure and a description of the principles of the technology applied. It should be understood by those skilled in the art that the disclosed scope of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by the combinations of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the technical solutions formed by the mutual replacement of the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions.
[0115] In addition, although each operation is depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, the specific sequence of implementation described above is not intended to be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be combined in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented separately or in any suitable subcombination.
[0116] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A multi-carrier time delay measurement method based on square wave signals, characterized in that, The application relates to a remote unit applied to a digital distributed system (DAS), wherein the remote unit comprises a plurality of data transmission links, each of the data transmission links is configured with a different sampling rate of each to-be-measured carrier signal, and the method comprises the following steps: Obtaining a square wave signal corresponding to each to-be-measured carrier signal; wherein the sampling rate of the square wave signal is the same as the sampling rate of each to-be-measured carrier signal; and the time width of the square wave signal is greater than the maximum time delay of the to-be-measured carrier signal; Based on the square wave signal acting on each to-be-measured carrier signal, a measurement time corresponding to each to-be-measured carrier signal is obtained; Based on the measurement time and the square wave signal, the time delay of each to-be-measured carrier signal is determined.
2. The multi-carrier time delay measurement method based on square wave signal according to claim 1, characterized in that, Further comprising: Based on a preset filter, a simulation measurement is performed on each to-be-measured carrier signal, and the maximum time delay of each to-be-measured carrier signal is obtained; Based on the maximum time delay of each to-be-measured carrier signal, the time width of the square wave signal corresponding to each to-be-measured carrier signal is determined.
3. The multi-carrier time delay measurement method based on square wave signal according to claim 1, characterized in that, The square wave signal acts on each to-be-measured carrier signal to obtain the measurement time corresponding to each to-be-measured carrier signal, which comprises: Based on the first action of the square wave signal on each to-be-measured carrier signal, a first response signal is obtained; Based on a preset time segmentation, the first response signal is counted to obtain a response amplitude; Based on the second action of the square wave signal on each to-be-measured carrier signal, a second response signal is obtained; The first measurement time point at which the second response signal rises to a target response amplitude and the second measurement time point at which the second response signal falls to the target response amplitude are obtained; wherein the target response amplitude is determined based on the response amplitude and a preset proportion coefficient.
4. The multi-carrier time delay measurement method based on square wave signal according to claim 1, characterized in that, The square wave signal acts on each to-be-measured carrier signal to obtain the measurement time corresponding to each to-be-measured carrier signal, which comprises: Based on the action of the square wave signal on each to-be-measured carrier signal, a third response signal is obtained; Based on a preset time segmentation, the third response signal is counted to obtain the first measurement time point at which the third response signal rises to a target response amplitude and the second measurement time point at which the third response signal falls to the target response amplitude.
5. The method of claim 1, wherein the square wave signal-based multicarrier time delay measurement method is characterized by, The measurement time comprises the first measurement time point, and the time delay of each to-be-measured carrier signal is determined based on the measurement time and the square wave signal, which comprises: The pulse rising time point of the square wave signal is obtained; Based on the pulse rising time point and the first measurement time point corresponding to each to-be-measured carrier signal, the time delay of each to-be-measured carrier signal is obtained.
6. The multi-carrier time delay measurement method based on square wave signal according to claim 1, characterized in that, The measurement time comprises the first measurement time point and the second measurement time point, and the time delay of each to-be-measured carrier signal is determined based on the measurement time and the square wave signal, which comprises: The pulse rising time point and the pulse falling time point of the square wave signal are obtained; Based on the pulse rising time point and the pulse falling time point, a first to-be-processed time delay time corresponding to each to-be-measured carrier signal is calculated; Based on the first measurement time point corresponding to each to-be-measured carrier signal and the second measurement time point corresponding to each to-be-measured carrier signal, a second to-be-processed time delay time corresponding to each to-be-measured carrier signal is calculated; Based on the first to-be-processed time delay time and the second to-be-processed time delay time corresponding to each to-be-measured carrier signal, a time delay time corresponding to each to-be-measured carrier signal is calculated.
7. The multi-carrier time delay measurement method based on square wave signal according to any one of claims 1-6, characterized in that, Further comprising: Based on the time delay time corresponding to each to-be-measured carrier signal, a transmission time corresponding to each to-be-measured carrier signal is adjusted; According to a plurality of transmission times, a time error is calculated until the time error is less than a preset error threshold.
8. A multi-carrier time delay measuring apparatus based on a square wave signal, characterized by comprising: The application relates to a remote unit applied to a digital distributed system (DAS), wherein the remote unit comprises a plurality of data transmission links, each to-be-measured carrier signal in each data transmission link is configured with a different sampling rate, and the device comprises: An acquisition module is configured to acquire a square wave signal corresponding to each to-be-measured carrier signal, wherein the sampling rate of the square wave signal is the same as the sampling rate of each to-be-measured carrier signal, and the time width of the square wave signal is greater than the maximum time delay time of the to-be-measured carrier signal; A processing module is configured to cause the square wave signal to act on each to-be-measured carrier signal to obtain a measurement time corresponding to each to-be-measured carrier signal; A first determination module is configured to calculate the measurement time and the square wave signal to determine a time delay time corresponding to each to-be-measured carrier signal.
9. An electronic device, comprising: The electronic device comprises: a processor; a memory for storing executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the square wave signal-based multi-carrier time delay measurement method in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, and the computer program is used to execute the square wave signal-based multi-carrier time delay measurement method in any one of claims 1-7.
Citation Information
Patent Citations
Apparatus and method for detecting phase delay of resolver
CN114966204A