Line fault traveling wave recording device and method based on double-range channel
Through the line fault traveling wave recording device based on the dual-range channel, the data validity of the low-range recording memory area is determined in real time, and the problems of unsaturation and insufficient accuracy of the recording data are solved, and the accuracy and completeness of the recording data are achieved.
Patent Information
- Application Number
- CN202510549420.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-08-08
AI Technical Summary
The prior art is difficult to meet the requirements of unsaturation of the recorded data and accuracy within the low range when recording data, resulting in insufficient accuracy and completeness of the recorded data.
The line fault traveling wave recording device based on dual-range channels is adopted. Through the high and low range conditioning circuit, data acquisition module and wave recording storage control logic, the data validity of the low range recording storage area is determined in real time to ensure that the wave recording data can be read immediately after the end.
It realizes the reading of effective recording data immediately after the recording is completed, improves the accuracy and completeness of the recording data, and meets the accuracy requirements of the recording data unsaturated and low-range range.
Smart Images

Figure CN120446626A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sampling value recording technology, in particular to a line fault traveling wave recording device and method based on a dual-range channel. Background Art
[0002] In industrial control, in order to achieve a wider data acquisition range, sometimes the same signal is collected using two ranges, high and low, taking into account the accuracy of each data range. However, when recording the data, in order to ensure the accuracy and integrity of the data, on the one hand, data saturation is not allowed in the recorded data and the collected data exceeds the low range. On the other hand, if the recorded data is within the low range, the low range recorded data is preferred. The recorded data that meets the above two conditions is valid data. However, the existing technology cannot meet the above two conditions well. Therefore, a line fault traveling wave recording method based on a dual-range channel is designed to optimize the above problem. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a line fault traveling wave recording device and method based on a dual-range channel. The input traveling wave signal passes through the high and low range conditioning circuits and data acquisition circuits respectively, and is written into the recording storage area by the recording storage control logic. The recording control logic can determine the data validity of the low-range recording storage area in real time, so that the recording data can be read immediately after the recording is completed.
[0004] To achieve the above-mentioned purpose, the present invention adopts the following technical solution: a line fault traveling wave recording device based on a dual-range channel, comprising: a high-range conditioning circuit, a low-range conditioning circuit, a high-range data acquisition module, a low-range data acquisition module, a high-range recording storage control logic module, a low-range recording storage control logic module, a high-range recording storage area, a low-range recording storage area and a data selector; the high-range conditioning circuit and the low-range conditioning circuit are used to receive input signals; the high-range conditioning circuit is connected to the input of the high-range data acquisition module The output end of the high-range data acquisition module is connected to the high-range wave recording storage control logic module, and the high-range wave recording storage control logic module is connected to the high-range wave recording storage area; the low-range conditioning circuit is connected to the input end of the bottom-range data acquisition module, and the output end of the bottom-range data acquisition module is connected to the bottom-range wave recording storage control logic module, and the bottom-range wave recording storage control logic module is connected to the bottom-range wave recording storage area; the high-range wave recording storage area, the low-range wave recording storage area and the low-range wave recording storage control logic module are connected to the data selector.
[0005] In a preferred embodiment: the high-range conditioning circuit and the low-range conditioning circuit both include a first operational amplifier module, a second operational amplifier module, a resistor R1, a resistor R2, a resistor R3 and a resistor R4, one end of the resistor R1 is electrically connected to the signal input, the other end of the resistor R1 is electrically connected to the positive electrode of the first operational amplifier module, the negative electrode of the first operational amplifier module is electrically connected to one end of the resistor R2 and one end of the resistor R3, the other end of the resistor R2 is grounded, the other end of the resistor R3 is electrically connected to the output end of the first operational amplifier module and one end of the resistor R4, the other end of the resistor R4 is electrically connected to the positive electrode of the second operational amplifier module, and the negative electrode of the second operational amplifier module and the output end of the second operational amplifier module are electrically connected to the high-range data acquisition module or the low-range data acquisition module.
[0006] The present invention also provides a line fault traveling wave recording method based on a dual-range channel, which uses the line fault traveling wave recording device based on a dual-range channel, comprising the following steps: Step 1: Input the traveling wave signal to the high-range conditioning circuit and the low-range conditioning circuit; Step 2: The high-range conditioning circuit sends the input traveling wave signal to the high-range data acquisition module; Step 3: The low-range conditioning circuit sends the input traveling wave signal to the low-range data acquisition module; Step 4: The high-range data acquisition module sends the information to the high-range recording storage control logic module; Step 5: The low-range data acquisition module sends the information to the low-range recording storage control logic module; Step 6: The high-range wave recording storage control logic module sends the information to the high-range wave recording storage area; Step 7: The low-range wave recording storage control logic module sends the information to the low-range wave recording storage area; Step 8: The high-range recording storage area, the low-range recording storage area and the low-range recording storage control logic module output information after selection through the data selector.
[0007] In a preferred embodiment: the high-range recording storage area and the low-range recording storage area specifically adopt a circular recording storage area, which includes a circular recording buffer area. The size of the circular recording buffer area is N, and there are 2 pointers, an IN pointer for pointing to the next address to be written, an OUT pointer for pointing to the next address to be popped out, and a counter CNT for recording the number of data in the storage area.
[0008] In a preferred embodiment, the ring recording storage area operation method adopts the following steps: Step A1: Initially, the number of data is 0, counter CNT = 0, IN = 0, OUT = 0. After data acquisition starts, for each data acquired, the circular recording buffer operates according to the logic of Steps A2 and A3; Step A2: When counter CNT < N, the acquired data is written to the address pointed to by the IN pointer, then the IN pointer points to the next address, and counter CNT is incremented by 1; the OUT pointer remains unchanged; Step A3: When counter CNT >= N, the acquired data is written to the address pointed to by the IN pointer, then the IN pointer points to the next address, counter CNT remains unchanged, and the data in the address pointed to by the OUT pointer is popped, and the OUT pointer points to the next address.
[0009] In a preferred embodiment: The operation steps of the low-range recording storage area are as follows: Step B1: At initialization, the pointers IN = 0, OUT = 0 of the circular storage area, counter CNT = 0, and invalid data counter Invalid_Cnt = 0; Step B2: When counter CNT < N, for each data acquired, the data is written to the circular recording buffer. At the same time, compare whether the value of the data exceeds the set threshold THD. If it exceeds, Invalid_Cnt is incremented by 1; Step B3: When counter CNT = N, for each data acquired, the data is written to the circular recording buffer, and at the same time, one data is popped from the circular recording buffer, and DATA_IN and DATA_OUT are respectively compared with the threshold THD; Step B4: If DATA_IN > THD && DATA_OUT < THD, Invalid_Cnt is incremented by 1; Step B5: If DATA_IN < THD && DATA_OUT > THD, Invalid_Cnt is decremented by 1; Step B6: Otherwise, Invalid_Cnt remains unchanged; Step B7: If Invalid_Cnt is 0, it means the recorded data in the low range is valid, otherwise, the recorded data in the low range is invalid.
[0010] In a preferred embodiment: The operation steps of the high-range recording storage area are as follows: Step C1: At initialization, the pointers IN = 0, OUT = 0 of the circular recording buffer, and counter CNT = 0; Step C2: When counter CNT < N, for each data acquired, the data is written to the circular recording buffer; Step C3: When the counter CNT = N, for each data acquisition, the data is written into the circular recording buffer, and at the same time, one data is popped out of the circular recording buffer. Compare DATA_IN and DATA_OUT with the threshold THD respectively. Step C4: If DATA_IN > THD && DATA_OUT < THD, increment Invalid_Cnt by 1. Step C5: If DATA_IN < THD && DATA_OUT > THD, decrement Invalid_Cnt by 1. Step C6: Otherwise, keep Invalid_Cnt unchanged. Step C7: If Invalid_Cnt is 0, select the low-range recorded data; if it is 1, select the high-range recorded data.
[0011] Compared with the prior art, the present invention has the following beneficial effects: A line fault traveling wave recording method based on a dual-range channel provided by the present invention. The input traveling wave signals pass through conditioning circuits and data acquisition circuits with high and low ranges respectively, and are written into the recording storage area by the recording storage control logic. The recording control logic can determine the data validity of the low-range recording storage area in real time. Thus, after the recording is completed, the recorded data can be read immediately. Description of the Drawings
[0012] Figure 1 It is a flowchart of a preferred embodiment of a line fault traveling wave recording method based on a dual-range channel according to the present invention. Figure 2 It is a schematic diagram of the structure of a high-range circular recording storage area or a low-range circular recording storage area of a preferred embodiment of a line fault traveling wave recording method based on a dual-range channel according to the present invention. Figure 3 It is a sampling conditioning circuit diagram of a preferred embodiment of a line fault traveling wave recording method based on a dual-range channel according to the present invention. Figure 4 It is a system diagram of the main controller and the acquisition circuit of a preferred embodiment of a line fault traveling wave recording method based on a dual-range channel according to the present invention. Detailed Embodiment
[0013] The following further illustrates the present invention with reference to the drawings and embodiments.
[0014] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present application belongs.
[0015] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application; as used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form, and it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.
[0016] like Figure 1-Figure 4 As shown, this embodiment provides a line fault traveling wave recording method based on a dual-range channel, comprising the following steps: Step 1: Input the traveling wave signal to the high-range conditioning circuit and the low-range conditioning circuit; Step 2: The high-range conditioning circuit sends the input traveling wave signal to the high-range data acquisition module; Step 3: The low-range conditioning circuit sends the input traveling wave signal to the low-range data acquisition module; Step 4: The high-range data acquisition module sends the information to the high-range recording storage control logic module; Step 5: The low-range data acquisition module sends the information to the low-range recording storage control logic module; Step 6: The high-range wave recording storage control logic module sends the information to the high-range wave recording storage area; Step 7: The low-range wave recording storage control logic module sends the information to the low-range wave recording storage area; Step 8: The high-range recording storage area, the low-range recording storage area and the low-range recording storage control logic module output information after selection through the data selector.
[0017] The input traveling wave signal passes through the high and low range conditioning circuits and data acquisition circuit respectively, and is written into the recording storage area by the recording storage control logic. The recording control logic can determine the data validity of the low range recording storage area in real time, so that the recording data can be read immediately after the recording is completed.
[0018] In this embodiment, a circular recording buffer is used after the high and low ranges. The circular recording storage area uses a data storage register to store data written from the control logic and store continuous waveform data for a long time. Its main function is storage.
[0019] The circular recording storage area includes a circular recording buffer, which is used to temporarily store input / output data, buffer data, and store it temporarily. Generally speaking, the memory address of a computer is a linear space, and the head and tail of the circular recording buffer are connected. The circular recording buffer uses internal pointers and counters to achieve the sending and receiving of data sampled from high and low ranges. Each time the data processing is completed, it will be discarded and overwritten with new data. The size of the circular recording buffer is N, and there are 2 pointers, an IN pointer, which is used to point to the next address to be written, an OUT pointer, which is used to point to the next address to be popped, and there is also a counter CNT, which is used to record the number of data in the storage area.
[0020] In this embodiment, the operation method of the circular recording buffer adopts the following steps: Step A1: Initially, the number of data is 0, the counter CNT = 0, IN = 0, OUT = 0. After the data acquisition starts, for each data acquired, the circular recording buffer operates according to the logic of steps 1 and 2; Step A2: When the counter CNT < N, the acquired data is written to the address pointed to by the IN pointer, then the IN pointer points to the next address, and CNT + 1; the OUT pointer remains unchanged; Step A3: When the counter CNT >= N, the acquired data is written to the address pointed to by the IN pointer, then the IN pointer points to the next address, CNT remains unchanged, and the data in the address pointed to by the OUT pointer is popped, and the OUT pointer points to the next address.
[0021] In this embodiment, the operation steps of the low-range recording storage area are as follows: Step B1: During initialization, the pointer IN of the circular storage area = 0, OUT = 0, CNT = 0, and the invalid data counter Invalid_Cnt = 0; Step B2: When the counter CNT < N, for each data acquired, the data is written to the circular recording buffer. At the same time, compare whether the value of the data exceeds the set threshold THD. If it exceeds, Invalid_Cnt is incremented by 1; Step B3: When the counter CNT = N, for each data acquired, the data is written to the circular recording buffer. At the same time, a data is popped from the circular recording buffer, and the former (DATA_IN) and the latter (DATA_OUT) are respectively compared with the threshold THD; Step B4: If DATA_IN > THD && DATA_OUT < THD, Invalid_Cnt is incremented by 1; Step B5: If DATA_IN < THD && DATA_OUT > THD, Invalid_Cnt is decremented by 1; Step B6: Otherwise, Invalid remains unchanged; Step B7: If Invalid_Cnt is 0, it means that the low-range recorded data is valid; otherwise, the low-range recorded data is invalid.
[0022] In this embodiment, the high-range recording storage control logic is similar, the difference is that the high-range recording storage control logic is only responsible for writing data into the circular recording buffer, and does not record the number of invalid data. Finally, when the recording data is completed, the value of Invalid_Cnt is checked. If it is 0, the low-range recording data is selected. If it is 1, the high-range recording data is selected.
[0023] In this embodiment, the sampling and conditioning circuit includes a first operational amplifier module, a second operational amplifier module, a resistor R1, a resistor R2, a resistor R3 and a resistor R4, one end of the resistor R1 is electrically connected to the signal input, the other end of the resistor R1 is electrically connected to the positive electrode of the first operational amplifier module, the negative electrode of the first operational amplifier module is electrically connected to one end of the resistor R2 and one end of the resistor R3, the other end of the resistor R2 is grounded, the other end of the resistor R3 is electrically connected to the output end of the first operational amplifier module and one end of the resistor R4, the other end of the resistor R4 is electrically connected to the positive electrode of the second operational amplifier module, the negative electrode of the second operational amplifier module is electrically connected to the output end of the second operational amplifier module and the output value data acquisition loop.
[0024] The above is only a further embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes based on the technical solutions and concepts of the present invention within the scope disclosed by the present invention, which fall within the scope of protection of the present invention.
Claims
1. A line fault traveling wave recording device based on a dual-range channel, characterized in that include: A high-range conditioning circuit, a low-range conditioning circuit, a high-range data acquisition module, a low-range data acquisition module, a high-range wave recording storage control logic module, a low-range wave recording storage control logic module, a high-range wave recording storage area, a low-range wave recording storage area and a data selector; the high-range conditioning circuit and the low-range conditioning circuit are used to receive input signals; the high-range conditioning circuit is connected to the input end of the high-range data acquisition module, the output end of the high-range data acquisition module is connected to the high-range wave recording storage control logic module, and the high-range wave recording storage control logic module is connected to the high-range wave recording storage area; the bottom-range conditioning circuit is connected to the input end of the bottom-range data acquisition module, the output end of the bottom-range data acquisition module is connected to the bottom-range wave recording storage control logic module, and the bottom-range wave recording storage control logic module is connected to the bottom-range wave recording storage area; the high-range wave recording storage area, the low-range wave recording storage area and the low-range wave recording storage control logic module are connected to the data selector.
2. A line fault traveling wave recording device based on a dual-range channel according to claim 1, characterized in that: The high-range conditioning circuit and the low-range conditioning circuit both include a first operational amplifier module, a second operational amplifier module, a resistor R1, a resistor R2, a resistor R3 and a resistor R4. One end of the resistor R1 is electrically connected to the signal input, and the other end of the resistor R1 is electrically connected to the positive electrode of the first operational amplifier module. The negative electrode of the first operational amplifier module is electrically connected to one end of the resistor R2 and one end of the resistor R3. The other end of the resistor R2 is grounded. The other end of the resistor R3 is electrically connected to the output end of the first operational amplifier module and one end of the resistor R4. The other end of the resistor R4 is electrically connected to the positive electrode of the second operational amplifier module. The negative electrode of the second operational amplifier module and the output end of the second operational amplifier module are electrically connected to the high-range data acquisition module or the low-range data acquisition module.
3. A line fault traveling wave recording method based on a dual-range channel, characterized in that: The line fault traveling wave recording device based on a dual-range channel according to claim 1 or 2 comprises the following steps: Step 1: Input the traveling wave signal to the high-range conditioning circuit and the low-range conditioning circuit; Step 2: The high-range conditioning circuit sends the input traveling wave signal to the high-range data acquisition module; Step 3: The low-range conditioning circuit sends the input traveling wave signal to the low-range data acquisition module; Step 4: The high-range data acquisition module sends the information to the high-range recording storage control logic module; Step 5: The low-range data acquisition module sends the information to the low-range recording storage control logic module; Step 6: The high-range wave recording storage control logic module sends the information to the high-range wave recording storage area; Step 7: The low-range wave recording storage control logic module sends the information to the low-range wave recording storage area; Step 8: The high-range recording storage area, the low-range recording storage area and the low-range recording storage control logic module output information after selection through the data selector.
4. A line fault traveling wave recording method based on a dual-range channel according to claim 3, characterized in that: The high-range recording storage area and the low-range recording storage area specifically adopt a circular recording storage area. The circular recording storage area includes a circular recording buffer. The size of the circular recording buffer is N, and there are two pointers, an IN pointer used to point to the next address to be written, an OUT pointer used to point to the next address to be popped, and a counter CNT used to record the number of data in the storage area.
5. The line fault traveling wave recording method based on a dual-range channel according to claim 4 is characterized in that: The operation method of the circular recording storage area is as follows: Step A1: Initially, the number of data is 0, the counter CNT = 0, IN = 0, OUT = 0. After data acquisition starts, for each data acquired, the circular recording buffer operates according to the logic of steps A2 and A3. Step A2: When the counter CNT < N, the acquired data is written to the address pointed to by the IN pointer, then the IN pointer points to the next address, and the counter CNT is incremented by 1; the OUT pointer remains unchanged. Step A3: When the counter CNT >= N, the acquired data is written to the address pointed to by the IN pointer, then the IN pointer points to the next address, the counter CNT remains unchanged, and the data in the address pointed to by the OUT pointer is popped, and the OUT pointer points to the next address.
6. A line fault traveling wave recording method based on a dual-range channel according to claim 5, characterized in that: The operation steps of the low-range recording storage area are as follows: Step B1: During initialization, the pointers of the circular recording buffer IN = 0, OUT = 0, the counter CNT = 0, and the invalid data counter Invalid_Cnt = 0. Step B2: When the counter CNT < N, for each data acquired, the data is written to the circular recording buffer. At the same time, compare whether the value of the data exceeds the set threshold THD. If it exceeds, Invalid_Cnt is incremented by 1. Step B3: When the counter CNT = N, for each data acquired, the data is written to the circular recording buffer. At the same time, one data is popped from the circular recording buffer, and DATA_IN and DATA_OUT are respectively compared with the threshold THD. Step B4: If DATA_IN > THD && DATA_OUT < THD, Invalid_Cnt is incremented by 1. Step B5: If DATA_IN < THD && DATA_OUT > THD, Invalid_Cnt is decremented by 1. Step B6: Otherwise, Invalid_Cnt remains unchanged. Step B7: If Invalid_Cnt is 0, it means the recorded data in the low range is valid; otherwise, the recorded data in the low range is invalid.
7. The line fault traveling wave recording method based on a dual-range channel according to claim 6, characterized in that: The operation steps of the high-range recording storage area are as follows: Step C1: During initialization, the pointer of the circular storage area IN = 0, OUT = 0, and the counter CNT = 0. Step C2: When the counter CNT < N, for each data acquired, the data is written to the circular recording buffer. Step C3: When the counter CNT = N, for each data acquired, the data is written to the circular recording buffer. At the same time, one data is popped from the circular recording buffer, and DATA_IN and DATA_OUT are respectively compared with the threshold THD. Step C4: If DATA_IN > THD && DATA_OUT < THD, increment Invalid_Cnt by 1; Step C5: If DATA_IN < THD && DATA_OUT > THD, decrement Invalid_Cnt by 1; Step C6: Otherwise, keep Invalid_Cnt unchanged; Step C7: If Invalid_Cnt is 0, select low-range waveform recording data; if it is 1, select high-range waveform recording data.