A cable identification method, device and electronic equipment based on a phase modulation signal
By acquiring high-frequency modulated signals, performing signal amplification and short-term FFT operations, combined with PWM pulse width statistical analysis, the accuracy problem of cable recognition technology in complex scenarios is solved, and accurate cable recognition under conditions such as interference, underwater, and buried winding is achieved.
Patent Information
- Application Number
- CN202310077080.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-19
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2043-01-19
AI Technical Summary
The existing cable identification technology has inaccurate identification results in complex scenarios, making it difficult to meet the cable positioning needs under complex conditions such as interference, underwater, and buried winding.
The high-frequency target modulation period signal is obtained through the transformer, and the amplification circuit is used to perform short-term FFT operation. Combined with PWM pulse width statistical analysis, it is determined whether the cable is a cable to be identified.
The accuracy of cable recognition is achieved in complex scenarios and the accuracy of cable recognition is improved.
Smart Images

Figure CN116148721B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cable identification, and in particular to a cable identification method, device and electronic device based on a phase modulation signal. Background Art
[0002] At present, the management of underground cables in both the railway system and the power system is not yet perfect. There is still a certain gap between the accuracy and practicality of cable detection. For complex actual working conditions (interference, underwater, buried and entangled), there is a lack of corresponding technical means for positioning detection. In the existing cable identification solutions, generally according to the transmission model of the cable signal, as long as it is measured at the detection end whether there is an AC signal on the cable that is the same as the signal at the transmitting end, it can be determined whether it is the target cable. However, in fact, since the armor of other cables is connected to the ground, a part of the current that originally returns from the ground will flow back through the armor of other metals. In this way, when detecting the armor of other cables, it is also possible to detect the AC detection signal. Or, there are other working frequency signals in the measured cable, resulting in interference to the transmitted signal, and the transmitted signal cannot be identified.
[0003] Therefore, the existing cable identification technology has the problems that the identification result is inaccurate and it is difficult to meet the cable identification requirements in various complex scenarios. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a cable identification method, device and electronic device based on a phase modulation signal that can be applied to various complex scenarios and have accurate identification results.
[0005] One aspect of the embodiments of the present invention provides a cable identification method based on a phase modulation signal, including:
[0006] Obtain a first modulation period signal from the current cable through a current transformer. The first modulation period signal is a target modulation signal generated according to a control word sent by a host computer and formed after being transmitted through the current cable. The frequency of the target modulation signal is higher than the frequency of the power frequency signal transmitted by the current cable;
[0007] Amplify the first modulation period signal through a signal amplification circuit to obtain a second modulation period signal;
[0008] After performing sampling period sampling on the second modulation period signal, perform a short-time FFT operation to obtain the initial phase and instantaneous frequency of the second modulation period signal;
[0009] If the initial phase and instantaneous frequency of the second period modulation signal match the initial phase and frequency of the target modulation signal, then statistically analyze the sampling period through a PWM pulse width statistical analysis module to obtain a statistical result;
[0010] If it is determined that the first modulation period signal is a valid signal of the target modulation period signal according to the statistical result, then the current cable is determined to be the cable to be identified.
[0011] Preferably, the generation process of the target modulation period signal includes:
[0012] Receiving a sequence control word, a frequency control word, and a gain control word sent by a host computer;
[0013] Generating a sine signal with a fixed initial phase according to the sequence control word, where the initial phase of the sine signal is opposite to the initial phase of the power frequency signal transmitted by the current cable;
[0014] Adjusting the frequency of the sine signal according to the frequency control word, where the frequency of the sine signal is higher than the frequency of the power frequency signal;
[0015] Amplifying the sine signal according to the gain control word according to set requirements to obtain a target modulation signal.
[0016] Preferably, the determining that the first modulation period signal is a valid signal of the target modulation period signal according to the statistical result includes:
[0017] If after a set time period is statistically counted, the number of signals in the sampling period that match the period of the target modulation signal reaches a preset threshold, then it is determined that the first modulation period signal is a valid signal of the target modulation period signal.
[0018] Preferably, the obtaining of the first modulation period signal from the current cable through a mutual inductor includes:
[0019] Obtaining a coupled signal from the current cable through a mutual inductor;
[0020] Filtering out the power frequency signal transmitted by the current cable in the coupled signal through a band-pass filter to obtain a first modulation period signal.
[0021] Preferably, it further includes:
[0022] If the initial phase and frequency of the second periodic modulation signal do not match the initial phase and frequency of the target modulation signal, then it is determined that the current cable is not the cable to be identified.
[0023] Preferably, the frequency range of the target modulation period signal is between 7 kHz and 10 kHz.
[0024] Another aspect of the embodiments of the present invention further provides a cable identification device based on a phase modulation signal, including:
[0025] A signal acquisition unit, configured to obtain a first modulation period signal from a current cable through a mutual inductor, where the first modulation period signal is a target modulation signal generated according to a control word sent by a host computer and formed after being transmitted through the current cable, and the frequency of the target modulation signal is higher than the frequency of the power frequency signal transmitted by the current cable;
[0026] A signal amplification unit, configured to amplify the first modulation period signal through a signal amplification circuit to obtain a second modulation period signal;
[0027] A signal sampling and operation unit, configured to perform sampling period sampling on the second modulation period signal and then perform short-time FFT operation to obtain the initial phase and instantaneous frequency of the second modulation period signal;
[0028] A period statistics unit, configured to, if the initial phase and instantaneous frequency of the second period modulation signal match the initial phase and frequency of the target modulation signal, statistically analyze the sampling period through a PWM pulse width statistics analysis module to obtain a statistical result;
[0029] A cable identification unit, configured to, if it is determined according to the statistical result that the first modulation period signal is a valid signal of the target modulation period signal, determine that the current cable is a cable to be identified.
[0030] Another aspect of the embodiments of the present invention further provides an electronic device, including a processor and a memory;
[0031] The memory is used to store a program;
[0032] The processor executes the program to implement the above method.
[0033] Another aspect of the embodiments of the present invention further provides a computer-readable storage medium, where the storage medium stores a program, and the program is executed by a processor to implement the above method.
[0034] The embodiments of the present invention also disclose a computer program product or a computer program, where the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the above method.
[0035] A cable identification method based on a phase-modulated signal provided by the present invention pre-modulates a target modulation period signal with a relatively high frequency and transmits it on the current cable, so that a first modulation period signal formed by the transmission of the target modulation period signal through the current cable can be obtained from the current cable through a mutual inductor; the target modulation period signal with a relatively high frequency can form a high anti-interference for the power frequency signal transmitted on the current cable, avoid attenuation during transmission, and thus ensure that the detection result is not interfered; the first modulation period signal is amplified by a signal amplification circuit to obtain a second modulation period signal; after sampling period sampling of the second modulation period signal, short-time FFT operation is performed to obtain the phase and frequency of the second modulation period signal; the sampling period is statistically analyzed by a PWM pulse width statistical analysis module to obtain a statistical result, and then it can be determined that the first modulation period signal is a valid signal of the target modulation period signal, and finally it is determined that the current cable is the cable to be identified. The present invention only needs to input a pre-modulated target modulation period signal at the transmission end of the current cable, and then receive the first modulation period signal transmitted through the mutual inductor at the receiving end, and can determine whether the current cable is the cable to be identified from the complex cables based on information such as the initial phase, frequency, and sampling period of the first modulation period signal, and can also accurately identify the cable in complex scenarios such as interference, underwater, buried and entangled, improving the accuracy of cable identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings without creative efforts based on these drawings.
[0037] Figure 1 It is a schematic flowchart of a cable identification method based on a phase-modulated signal provided by an embodiment of the present invention;
[0038] Figure 2 It is a flowchart of a cable identification example based on a phase-modulated signal provided by an embodiment of the present invention;
[0039] Figure 3 It is a structural block diagram of a cable identification device based on a phase-modulated signal provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0040] In order to make the purpose, technical solutions and advantages of the present invention clearer, the following will further describe the present invention in detail with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0041] Refer to Figure 1, the embodiment of the present invention provides a cable identification method based on a phase modulation signal, which specifically includes the following steps:
[0042] Step S100: Obtain a first modulation period signal from the current cable through a mutual inductor. The first modulation period signal is a target modulation signal generated according to a control word sent by a host computer and formed after being transmitted through the current cable. The frequency of the target modulation signal is higher than the power frequency signal transmitted by the current cable.
[0043] Specifically, if the frequency of the target modulation period signal is too high, for example, above 50 kHz, it will cause signal distortion in the mutual inductance coil, and as the frequency increases, the signal on the cable will attenuate severely, making it impossible to measure long cables; while if the frequency is too low, it will be affected by the railway frequency shift signal (due to the strong interference signal amplitude), resulting in interference to the transmitted signal. Therefore, the present invention can control the frequency range of the target modulation period signal to be between 7 kHz and 10 kHz according to the control word sent by the host computer.
[0044] The target modulation period signal is input into the cable, and it may change after being transmitted through the cable. Therefore, the modulation period signal obtained from the current cable through the mutual inductor can be used as the first modulation period signal.
[0045] Furthermore, the modulation periodic signal can be obtained from the cable through the mutual inductor. When detecting the first modulation period signal, the power frequency signal on the cable will also be coupled over. The power frequency signal and the first modulation period signal can be used as coupled signals, and then the power frequency signal transmitted by the current cable in the coupled signals can be filtered out through a band-pass filter to obtain the first modulation period signal.
[0046] Step S110: Amplify the first modulation period signal through a signal amplification circuit to obtain a second modulation period signal.
[0047] Specifically, the first modulation period signal obtained from the current cable may be relatively weak, so the first modulation period signal can be passed through a signal amplification circuit, and then the second modulation period signal is obtained after amplification.
[0048] Step S120: After sampling the second modulation period signal at a sampling period, perform a short-time FFT operation to obtain the initial phase and instantaneous frequency of the second modulation period signal.
[0049] Specifically, by performing time-frequency analysis algorithms such as short-time FFT operation or wavelet analysis on the second modulation period signal, the initial phase and instantaneous frequency information of the modulation signal at this moment can be obtained.
[0050] Step S130: If the initial phase and instantaneous frequency of the second-cycle modulation signal match those of the target modulation signal, the sampling period is statistically analyzed by the PWM pulse width statistical analysis module to obtain a statistical result.
[0051] Specifically, when it is detected that the instantaneous frequency and initial phase of the second-cycle modulation signal match those of the target modulation signal, it can be determined that the second-cycle modulation signal has been transmitted through the current cable.
[0052] Furthermore, if the initial phase and instantaneous frequency of the second-cycle modulation signal do not match those of the target modulation signal, it is determined that the current cable is not the cable to be identified.
[0053] Specifically, when the detected cable is not the cable to be identified, the frequency of the detected second modulation cycle signal may be different from that of the target modulation signal, and the phase signal may also be opposite.
[0054] Step S140: If it is determined according to the statistical result that the first modulation cycle signal is a valid signal of the target modulation cycle signal, it is determined that the current cable is the cable to be identified.
[0055] Specifically, after a set time period is statistically analyzed, if the number of signals in the sampling period that match the period of the target modulation signal reaches a preset threshold, it is determined that the first modulation cycle signal is a valid signal of the target modulation cycle signal.
[0056] In some embodiments of the present invention, the target modulation cycle signal in the above step S100 is introduced. Next, the generation process of the target modulation cycle signal will be described, which may specifically include the following:
[0057] S1. Receive the sequence control word, frequency control word, and gain control word sent by the host computer.
[0058] Specifically, the method of the present invention can be applied to an FPGA. Therefore, the sequence control word, frequency control word, and gain control word sent by the host computer can be received through the communication module of the FPGA.
[0059] S2. Generate a sine signal with a fixed initial phase according to the sequence control word, and the initial phase of the sine signal is opposite to that of the power frequency signal transmitted by the current cable.
[0060] Specifically, in order to distinguish from the power frequency signal, the initial phase of the sine signal modulated in the embodiments of the present invention can be different from that of the power frequency signal. In an optional embodiment, the initial phase of the sine signal can be modulated to be opposite to that of the power frequency signal.
[0061] S3. Adjust the frequency of the sine signal according to the frequency control word, where the frequency of the sine signal is higher than that of the power frequency signal.
[0062] Specifically, also for the purpose of distinguishing from the power frequency signal, the frequency of the sine signal modulated in the embodiments of the present invention can be higher than that of the power frequency signal. However, if the modulation frequency is too high, the number of sampling points per cycle will be too small, and the waveform is prone to distortion. Moreover, when the frequency is too high, due to the influence of the parasitic parameters of the transmission line, the signal on the cable will attenuate severely. Therefore, in the embodiments of the present invention, the modulation frequency of the sine signal can be slightly higher than that of the power frequency signal. For example, if the power frequency signal frequency is below 2 kHz, then the modulation frequency of the sine signal can be between 7 kHz and 10 kHz.
[0063] S4. Amplify the sine signal according to the gain control word according to the set requirements to obtain the target modulation signal.
[0064] Specifically, the amplified sine signal can be kept in a state with a large amplitude, saturation and no overflow.
[0065] To describe the present invention in more detail, the actual application process of the present invention will be described below with a specific example.
[0066] Refer to Figure 2 , the embodiments of the present invention provide a flowchart of an example of cable identification based on a phase-modulated signal.
[0067] Among them, the working principles and processes of each module are introduced as follows:
[0068] Communication module: Receive the command control words issued by the upper computer, including the frequency control word, the amplified gain control word, the waveform control word, etc.
[0069] Waveform control module, DDS module and signal modulation module: Generate a sine signal with a fixed initial phase of 90 degrees according to the frequency control word and sequence control word issued by the upper computer, and generate a corresponding modulated sine signal waveform with an initial phase according to the PWM parameters issued by the upper computer, including the pulse width, the repetition period time and the frequency.
[0070] Signal amplification circuit: Control the amplification circuit in the hardware circuit according to the gain control word issued by the upper computer or in an automatic gain mode, so that the signal is always kept in a state with a large amplitude and no overflow saturation.
[0071] Filtering and Time-Frequency Analysis Module: The time-frequency analysis module may include a short-time FFT module. The short-time FFT module performs short-time FFT operations or time-frequency analysis algorithms such as wavelet analysis on the modulated wave signal collected by the mutual inductor from the cable through time-frequency analysis algorithms such as short-time FFT or wavelet transform, to obtain the initial phase and instantaneous frequency of the modulation signal at that moment. If it is detected that the frequency and initial phase of the signal match the transmitted signal, it is determined that the signal has "arrived". Among them, if the instantaneous frequency information contains valid frequency information and the spectrum of interference signals, the interference signals are filtered out by a band-pass filter with automatic parameter correction in the filtering module.
[0072] PWM Pulse Width Statistical Analysis Module: Using the high-precision clock inside the FPGA, when the short-time FFT module determines that the signal has arrived, then it starts to count and statistically analyze the signal to obtain the time difference between two signal waveforms, that is, the value of the repetition period PRD. When the value of PRD meets the set value and exceeds a certain number within a statistically analyzed time range, it is determined that the received signal is a valid signal, that is, the detected cable is the cable to be currently identified; otherwise, the cable is not the cable to be identified.
[0073] The embodiment of the present invention can modulate a sine signal based on a fixed initial phase (90 degrees), which is modulated by a sine wave of 7 kHz. Generally, the frequency-shift signals in the railway system are around 1.2 kHz or 50 Hz. The frequency designed in the embodiment of the present invention is around 7 kHz, which is relatively high. Because if the modulation frequency of the signal is too high, it will result in too few sampling points per cycle, and the waveform is prone to distortion. And when the frequency is too high, due to the influence of the parasitic parameters of the transmission line, the signal on the cable will attenuate severely. Therefore, the embodiment of the present invention designs a sine modulation signal with a fixed initial phase of 90 degrees, a frequency of 7 kHz, a repetition period of 2.71 ms, and a duty cycle of 5%.
[0074] The embodiment of the present invention obtains the modulated wave signal transmitted through the cable through the mutual inductor, then performs short-time FFT operations after sampling at the sampling period, and can obtain the phase and frequency characteristics of the modulation signal at that moment. If it is detected that the frequency and initial phase of the signal match the transmitted signal, it is determined that the signal has "arrived", and then the pulse width is statistically analyzed to further confirm whether the signal is a valid transmitted signal; if the detected cable is not a matching cable, the frequency of the detected signal may be different from the frequency of the transmitted signal, and the phase signal may also be opposite.
[0075] The modulated periodic signal is obtained from the cable through the mutual inductor. When the target is detected, the signal on the cable will also be coupled over. Therefore, before performing short-time FFT calculation on the first modulation period signal obtained by the mutual inductor, the first modulation period signal can also be filtered through the filtering module to filter out interference signals. The filtering module can be a band-pass filter.
[0076] After obtaining a weak modulated periodic signal from a cable, first perform AGC automatic gain amplification on it, and then detect the phase and frequency characteristics of the periodic signal through FFT. When the detected phase and frequency characteristics match the transmitted signal, then perform statistical calculation on its period. When the number of signals that meet the period exceeds the threshold after statistical calculation for a period of time, it is considered that the signal is the transmitted signal of the system, that is, the cable is the cable to be identified currently.
[0077] Refer to Figure 3 , an embodiment of the present invention provides a cable identification device based on a phase modulation signal, including:
[0078] A signal acquisition unit, configured to obtain a first modulated periodic signal from the current cable through a mutual inductor. The first modulated periodic signal is a target modulated signal generated according to a control word sent by a host computer and formed after being transmitted through the current cable. The frequency of the target modulated signal is higher than the frequency of the power frequency signal transmitted by the current cable;
[0079] A signal amplification unit, configured to amplify the first modulated periodic signal through a signal amplification circuit to obtain a second modulated periodic signal;
[0080] A signal sampling and operation unit, configured to perform sampling period sampling on the second modulated periodic signal and then perform short-time FFT operation to obtain the initial phase and instantaneous frequency of the second modulated periodic signal;
[0081] A period statistics unit, configured to, if the initial phase and instantaneous frequency of the second periodic modulated signal match the initial phase and frequency of the target modulated signal, then statistically analyze the sampling period through a PWM pulse width statistics analysis module to obtain a statistical result;
[0082] A cable identification unit, configured to, if it is determined according to the statistical result that the first modulated periodic signal is a valid signal of the target modulated periodic signal, then determine that the current cable is the cable to be identified.
[0083] An embodiment of the present invention also discloses a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 the method shown.
[0084] In some alternative embodiments, the functions / operations recited in the block diagrams may not occur in the order presented in the operational illustrations. For example, depending on the functions / operations involved, two blocks shown in succession may actually be executed substantially simultaneously or the blocks may sometimes be executed in reverse order. Further, the embodiments presented and described in the flowcharts of the present invention are provided by way of example for the purpose of providing a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logical flows presented herein. Alternative embodiments are contemplated in which the order of various operations is altered and in which sub-operations described as part of a larger operation are performed independently.
[0085] Moreover, although the present invention has been described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the described functions and / or features may be integrated in a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It should also be understood that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, given the attributes, functions, and internal relationships of the various functional modules in the devices disclosed herein, the actual implementation of the modules will be understood within the ordinary skill of an engineer. Accordingly, those skilled in the art can implement the present invention as set forth in the claims without undue experimentation. It should also be understood that the particular concepts disclosed are illustrative only and are not intended to limit the scope of the present invention, the scope of which is determined by the full scope of the appended claims and their equivalents.
[0086] If the described functions are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as a USB flash drive, a portable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
[0087] The logic and / or steps represented in the flowchart or otherwise described herein can, for example, be considered as a definitional sequence of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device. As used in this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
[0088] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection (electronic device) having one or more wirings, a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other appropriate processing as necessary, and then stored in a computer memory.
[0089] It should be understood that the various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0090] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0091] Although embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the claims and their equivalents.
[0092] The above is a specific description of the preferred embodiments of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art can also make various equivalent deformations or substitutions without departing from the spirit of the present invention, and these equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A cable identification method based on a phase modulation signal, characterized in that, Including: Obtaining a first modulation period signal from the current cable through a transformer, where the first modulation period signal is a target modulation signal generated according to a control word sent by a host computer and formed after being transmitted through the current cable, and the frequency of the target modulation signal is higher than the frequency of the power frequency signal transmitted by the current cable; Amplifying the first modulation period signal through a signal amplification circuit to obtain a second modulation period signal; After performing sampling period sampling on the second modulation period signal, performing a short-time FFT operation to obtain the initial phase and instantaneous frequency of the second modulation period signal; If the initial phase and instantaneous frequency of the second modulation period signal match the initial phase and frequency of the target modulation signal, then statistically analyze the sampling period through a PWM pulse width statistical analysis module to obtain a statistical result; If it is determined according to the statistical result that the first modulation period signal is a valid signal of the target modulation signal, then determine that the current cable is the cable to be identified.
2. The cable identification method based on a phase modulation signal according to claim 1, characterized in that, The generation process of the target modulation signal includes: Receiving a sequence control word, a frequency control word, and a gain control word sent by a host computer; Generating a sine signal with a fixed initial phase according to the sequence control word, where the initial phase of the sine signal is opposite to the initial phase of the power frequency signal transmitted by the current cable; Adjusting the frequency of the sine signal according to the frequency control word, where the frequency of the sine signal is higher than the frequency of the power frequency signal; Amplifying the sine signal according to the gain control word according to the set requirements to obtain a target modulation signal.
3. The cable identification method based on a phase modulation signal according to claim 1, wherein The determining that the first modulation period signal is a valid signal of the target modulation signal according to the statistical result includes: If after statistically setting a time period, the number of signals in the sampling period that match the period of the target modulation signal reaches a preset threshold, then determine that the first modulation period signal is a valid signal of the target modulation signal.
4. A cable identification method based on a phase modulation signal according to claim 1, characterized in that, The obtaining of the first modulation period signal from the current cable through a transformer includes: Obtaining a coupling signal from the current cable through a transformer; Filtering out the power frequency signal transmitted by the current cable in the coupling signal through a band-pass filter to obtain a first modulation period signal.
5. A cable identification method based on a phase modulation signal according to claim 1, characterized in that, Also including: If the initial phase and frequency of the second modulation period signal do not match the initial phase and frequency of the target modulation signal, then determine that the current cable is not the cable to be identified.
6. A cable identification method based on a phase modulation signal according to any one of claims 1 to 5, characterized in that, The frequency range of the target modulation signal is between 7 kHz and 10 kHz.
7. A cable identification device based on a phase modulation signal, characterized in that, Including: A signal acquisition unit for obtaining a first modulation period signal from the current cable through a transformer, where the first modulation period signal is a target modulation signal generated according to a control word sent by a host computer and formed after being transmitted through the current cable, and the frequency of the target modulation signal is higher than the frequency of the power frequency signal transmitted by the current cable; A signal amplification unit for amplifying the first modulation period signal through a signal amplification circuit to obtain a second modulation period signal; A signal sampling and operation unit for performing sampling period sampling on the second modulation period signal and then performing a short-time FFT operation to obtain the initial phase and instantaneous frequency of the second modulation period signal; A period statistical unit, configured to, if the initial phase and instantaneous frequency of the second modulation period signal match those of the target modulation signal, obtain a statistical result by statistically analyzing the sampling period through a PWM pulse width statistical analysis module; A cable identification unit, configured to, if it is determined according to the statistical result that the first modulation period signal is a valid signal of the target modulation signal, determine that the current cable is a cable to be identified.
8. An electronic device, characterized in that, It includes a processor and a memory; The memory is used for storing programs; The processor executes the program to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The storage medium stores a program, and the program is executed by the processor to implement the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for realizing online cable identification by injecting asymmetric square signal
CN102331545A
Precision Identification Method of Target Cable
CN109063647A