A detection method and apparatus for a data acquisition unit
By adjusting the laser power supply and DC voltage signal, and combining them with a separately designed detection device, the problems of low detection efficiency and insufficient safety of the acquisition unit in the existing technology are solved, and efficient and accurate detection of the acquisition unit is achieved.
Patent Information
- Application Number
- CN202511775948.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2045-11-28
AI Technical Summary
Existing technologies cannot perform individual tests on the acquisition units of DC current transformers, resulting in low detection efficiency and the inability to simulate light source or optical circuit failures, thus failing to meet the safety requirements for testing after power system faults.
The laser power supply is adjusted to a preset rate of change for testing. Combined with the adjustment of the DC voltage signal, the sampling accuracy and error of the acquisition unit are obtained, the control logic and status of the acquisition unit are determined, and a split-design detection device is used for testing.
This technology enables individual testing of the acquisition unit, improving detection efficiency, ensuring the accuracy and safety of test results, avoiding damage to the laser power supply, and meeting the fault reproduction requirements of the power system.
Smart Images

Figure CN121208736B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power equipment testing technology, and in particular to a testing method and apparatus for a data acquisition unit. Background Technology
[0002] With the development of power systems towards higher voltage and larger capacity, DC current transformers have gradually become key components for ensuring stable system operation. Internationally, DC current transformers are generally divided into optical DC current transformers and zero-flux DC current transformers. Optical DC current transformers are mainly used for DC current measurement in the main circuit, while zero-flux DC current transformers are mainly used at the grounding level. In the past decade, domestically produced DC current transformers have mainly been shunt-type electrical DC current transformers. Shunt-type DC current transformers use a shunt as their sensing element, and their output is a small voltage signal at the same potential. Therefore, sampling is required locally at the high-voltage end. Their power supply is provided remotely by a laser configured in the merging unit at the low-potential end to power the acquisition unit. The acquisition unit receives and processes the output signal of the shunt or air-core coil of the DC current transformer. The output of the acquisition unit is a serial digital optical signal. The operating power of the acquisition unit is provided by the laser located in the merging unit in the control room. Each remote module has two analog inputs to receive output signals from the shunt and the air-core coil, one fiber optic receiver to receive laser signals, and one fiber optic transmitter to send digital signals.
[0003] To ensure the normal operation of the power system, regular inspection of DC current transformers is essential. The optical power supply circuit of the acquisition unit is the weakest link in a DC current transformer; its power supply decreases over time, leading to abnormal output from the remote module. In UHVDC transmission projects, numerous incidents have occurred where laser power supply circuit anomalies, caused by laser power supply failures, optical circuit attenuation, or high temperatures, resulted in transformer alarm blocking or protection malfunctions due to sampling abnormalities. Currently, DC current transformer testing is primarily offline, applying DC current to the DC electronic transformer for overall accuracy testing. However, this method only tests the entire current transformer and cannot perform individual testing of the acquisition unit. Furthermore, this method requires an external DC current source, resulting in low on-site testing efficiency. Finally, the laser power supply is a dynamically adjustable state. Under normal circumstances, the laser power supply can meet the energy requirements of the acquisition unit, but it cannot simulate light source failure or optical circuit failure. This leads to sampling abnormalities under reduced optical power, making it impossible to reproduce the fault process and failing to meet the safety requirement of fault reproduction in the test process after a power system fault. Summary of the Invention
[0004] This application provides a testing method and apparatus for a data acquisition unit, enabling individual testing of the data acquisition unit of a DC current transformer, improving testing efficiency, and providing technical support for the on-site operation and maintenance of DC current transformers.
[0005] Firstly, this application provides a method for detecting a data acquisition unit. This method is executed by a computing device, which can be understood as a computer or server, etc., and is not limited thereto in this application. The method includes:
[0006] The optical power of the laser power supply is adjusted according to a first preset rate of change. The first preset rate of change is an adjustment process in which the laser power supply is increased according to a preset voltage digital value at preset intervals. A first message and a second message are obtained during the adjustment process. The first message indicates that the AD sampling is abnormal and the AD power supply is low, at which time the acquisition unit is malfunctioning. The second message indicates that the AD sampling is normal and the AD power supply is normal, at which time the acquisition unit is functioning normally. The optical power of the laser power supply is adjusted to the initial value, and the optical power of the laser power supply is adjusted again according to the first preset rate of change. The first message and the second message are obtained during the adjustment process. If the first message and the second message are consistent with those at the first time, the control logic of the acquisition unit is in a normal state.
[0007] In the above manner, this application adjusts the optical power of the laser power supply with a first preset rate of change, thereby avoiding damage to the laser power supply due to excessively rapid adjustment by controlling the rate of voltage change over time throughout the entire control process. By obtaining the first and second messages during the adjustment process, it can be determined whether the AD sampling state and AD power supply state of the acquisition unit change from abnormal to normal as the optical power of the laser power supply is adjusted. Repeated testing can ensure more accurate test results, and finally determine whether the control logic of the acquisition unit is in a normal state.
[0008] The aforementioned acquisition unit detection method further includes: sending a first DC voltage signal to the acquisition unit and obtaining a first digital quantity of the acquisition unit; adjusting the value of the first DC voltage signal to obtain a second digital quantity of the acquisition unit after the change; and obtaining the sampling accuracy of the acquisition unit based on the first DC voltage signal, the adjusted first DC voltage signal, the first digital quantity, and the second digital quantity.
[0009] By using the above method to test the sampling accuracy of the acquisition unit, it is possible to determine the different processing accuracies of the acquisition unit when the first DC voltage signal is adjusted to different values. This not only achieves multi-dimensional accuracy testing of the acquisition unit, but also ensures that the sampling accuracy of the acquisition unit meets the working requirements standards.
[0010] The aforementioned acquisition unit detection method further includes: adjusting the optical power of the laser power supply with a second preset rate of change; wherein the second preset rate of change is an adjustment process of reducing the laser power supply according to a preset voltage digital quantity at preset intervals; sending a second DC voltage signal to the acquisition unit and obtaining a third digital quantity of the acquisition unit; adjusting the value of the second DC voltage signal and obtaining a fourth digital quantity of the acquisition unit after the change; and obtaining the sampling error of the acquisition unit based on the second DC voltage signal, the adjusted second DC voltage signal, the third digital quantity, and the fourth digital quantity.
[0011] By means of the above method, the optical power of the laser power supply is adjusted by the second preset rate of change, and the laser power supply is reduced according to the preset digital voltage. Since the sampling error will gradually increase when the optical power is reduced, the sampling error of the acquisition unit is tested under different values of the second DC voltage signal, so as to ensure that the acquisition unit meets the working requirements standard.
[0012] In the aforementioned acquisition unit detection method, both the sampling accuracy and sampling error are obtained by adjusting the value of the DC voltage signal at least twice.
[0013] By using the above method, both the sampling accuracy and sampling error are obtained after adjusting the value of the DC voltage signal at least twice, which can ensure that the obtained sampling accuracy and sampling error are more accurate and avoid accidental events caused by extreme conditions.
[0014] In the aforementioned acquisition unit detection method, adjusting the optical power of the laser power supply with a first preset rate of change also includes: during the process of adjusting the optical power of the laser power supply, the acquisition unit changes from communication disconnection to communication recovery, and the message changes from frame loss to normal.
[0015] In the above manner, during the optical power adjustment process of the laser power supply, it is determined whether the acquisition unit changes from communication disconnection to communication recovery, and whether the message changes from frame loss to normal, thereby determining whether the control logic of the acquisition unit is in accordance with the logic.
[0016] The aforementioned acquisition unit detection method further includes: setting the acquisition unit to an idle state and reducing the optical power of the laser power supply; performing frame drop rate analysis on the acquisition unit every second, and obtaining the current average power based on the actual output optical power of the laser and the frame drop rate; the average power is used to represent the relationship between the frame drop rate of the acquisition unit and the output optical power of the laser.
[0017] Using the above method, the test was conducted with the acquisition unit set to an unloaded state. The optical power of the laser power supply was reduced, and the current average power was obtained based on the actual output optical power of the laser and the frame drop rate. Reducing the voltage of the photoelectric conversion module does not change the signal transmission logic, but it increases the bit error rate of the messages transmitted via the fiber optic serial port, leading to frame drops. Frame drop rate analysis was performed in seconds. Simultaneously, the actual output power of the laser was read, and the average power over one second was calculated to obtain the relationship between the frame drop rate of the acquisition unit and the laser output power.
[0018] The aforementioned acquisition unit detection method further includes: setting the acquisition unit to an unloaded state and reducing the optical power of the laser power supply; obtaining the power status flag bit of the acquisition unit; increasing the optical power of the laser power supply when the power status flag bit is in a low power state; and reducing the optical power of the laser power supply when the power status flag bit is in a normal power state, thereby obtaining the critical point of the optical power of the acquisition unit.
[0019] By using the above method, the optical power of the laser power supply is reduced when the acquisition unit is in an unloaded state. Since the energy consumption of the acquisition unit is dynamic, the energy consumption in the unloaded state is approximately a fixed value. Therefore, the output energy of the optical power can be adjusted in the unloaded state. According to the power status flag of the acquisition unit, when the power status flag is in a low power state, the optical power of the laser power supply is increased, and when the power status flag is in a normal power state, the optical power of the laser power supply is decreased. Through multiple attempts, the critical point of the optical power of the acquisition unit is finally calculated. The critical point can not only be used to detect the status of the acquisition unit, but also lay the foundation for subsequent operations.
[0020] The aforementioned acquisition unit detection method further includes: sending a first optical power to the acquisition unit, wherein the first optical power is obtained by reducing the optical power threshold of the acquisition unit by a first percentage; acquiring the sampled value and alarm information of the acquisition unit, and calculating the time difference between the sudden change in the sampled value and the issuance of alarm information by the acquisition unit.
[0021] By reducing the optical power threshold of the acquisition unit by a first percentage, the sampled value and alarm information of the acquisition unit are obtained. The time difference between the sudden change in the sampled value and the issuance of the alarm information by the acquisition unit is calculated, thereby detecting whether the alarm mechanism of the acquisition unit is normal.
[0022] Secondly, this application provides a detection device for a data acquisition unit, comprising: a main control unit, a DA conversion module one, an AD conversion module, a laser power supply module, an optical fiber serial port, a photoelectric conversion module, and a DA conversion module two;
[0023] In this system, one end of the DA conversion module and the AD conversion module are connected to the main control unit, and the other end is connected to the laser power supply module. The laser power supply module, acting as the merging unit laser, sends optical power signals to the acquisition unit. One end of the photoelectric conversion module is connected to the main control unit, and the other end is connected to a fiber optic serial port. The other end of the fiber optic serial port is connected to the acquisition unit via a data fiber. One end of the DA conversion module is connected to the main control module, and the other end is connected to the acquisition unit via a data fiber. The optical power of the laser power supply is adjusted according to a first preset rate of change. The first preset rate of change is a process of adjusting the laser power supply by increasing a preset voltage digital value at preset intervals. The laser power supply module transmits power to the acquisition unit via its power fiber. During the adjustment process, a first message and a second message are obtained. The first message indicates an AD sampling error and a low AD power supply, indicating an abnormal operation of the acquisition unit. The second message indicates normal AD sampling and a normal AD power supply, indicating normal operation of the acquisition unit. These messages are obtained via a fiber optic serial port and a photoelectric conversion module. The laser power supply's optical power is adjusted to its initial value, and then adjusted again at a first preset rate of change. The first and second messages during the adjustment process are then obtained. If the first and second messages are consistent with those from the first adjustment, the acquisition unit's control logic is in a normal state.
[0024] The aforementioned acquisition unit detection device adopts a split design, separating the laser power supply module from the main control unit.
[0025] Thirdly, this application provides a data acquisition unit detection system, including: an optical power adjustment module, a message acquisition module, and a control logic detection module;
[0026] The optical power adjustment module is used to adjust the optical power of the laser power supply at a first preset rate of change. The first preset rate of change is an adjustment process that increases the laser power supply according to a preset voltage digital value at preset intervals.
[0027] The message acquisition module is used to acquire the first message and the second message during the adjustment process. The first message indicates that the AD sampling is abnormal and the AD power supply is low, at which time the acquisition unit is malfunctioning. The second message indicates that the AD sampling is normal and the AD power supply is normal, at which time the acquisition unit is malfunctioning.
[0028] The control logic detection module is used to adjust the optical power of the laser power supply to the initial value, and then adjust the optical power of the laser power supply again by a first preset rate of change, and obtain the first message and the second message during the adjustment process. If the first message and the second message are consistent with those at the first time, the control logic of the acquisition unit is in a normal state.
[0029] Beneficial effects: Through the above method, this application adjusts the optical power of the laser power supply with a first preset rate of change, thereby avoiding damage to the laser power supply caused by excessively rapid adjustment by controlling the rate of voltage change over time throughout the entire control process; by obtaining the first and second messages during the adjustment process, it can be determined whether the AD sampling state and AD power supply state of the acquisition unit change from abnormal to normal as the optical power of the laser power supply is adjusted. Repeated testing can ensure more accurate test results, and finally determine whether the control logic of the acquisition unit is in a normal state. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is a flowchart illustrating a method for detecting a data acquisition unit provided in Embodiment 1 of this application;
[0032] Figure 2 This is a flowchart illustrating a method for detecting a data acquisition unit provided in Embodiment 2 of this application;
[0033] Figure 3 This is a schematic diagram of the structure of a data acquisition unit detection device provided in Embodiment 3 of this application;
[0034] Figure 4 This is a schematic diagram of the principle architecture of the laser power supply module provided in Embodiment 3 of this application;
[0035] Figure 5 This is a schematic diagram of the principle architecture of the acquisition unit provided in Embodiment 3 of this application;
[0036] Figure 6 This is a schematic diagram of the structure of a data acquisition unit detection system provided in Embodiment 4 of this application. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
[0038] In the following embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (or more) of the following" or similar expressions refer to any combination of these items, including any combination of single items (or more) or plural items (or more). For example, at least one (or more) of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c may be single or multiple. Singular forms of expression such as "a", "an", "the", "above-mentioned", "the above", "this", and "this one" are also intended to include expressions such as "one or more", unless there is a clear contrary indication in the context. Also, unless otherwise stated, the ordinal numbers such as "first", "second", etc. mentioned in the embodiments of the present application are used to distinguish multiple objects and are not used to limit the order, timing, priority, or importance of multiple objects.
[0039] Describing reference to "one embodiment" or "some embodiments" etc. in the specification of the present application means that in one or more embodiments of the present application, specific features, structures, or characteristics described in combination with that embodiment are included. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear at different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprise", "include", "have" and their variants all mean "include but not limited to", unless otherwise specifically emphasized in another way.
[0040] Embodiment 1
[0041] Embodiment 1 of the present application provides a detection method for a collection unit to achieve individual testing of the collection unit of a DC current transformer and improve the detection efficiency. As Figure 1 shown, this method can be executed by a computing device, which can be understood as a server (of course, in actual applications, it may also be a server cluster, etc., which is not specifically limited here), a computer, etc., and can also be executed by a chip with data processing capabilities. The present application does not make specific limitations here. The specific implementation of this method is as follows:
[0042] Step 101, adjust the optical power of the laser power supply at a first preset change rate.
[0043] Among them, the first preset change rate is an adjustment process of increasing the laser power supply at preset voltage digital quantities at intervals of a preset period.
[0044] Since the light intensity of the laser power supply cannot change abruptly multiple times in a short period of time, the first preset rate of change uses the du / dt method to adjust the optical power. The initial adjustment target value is the rated estimated value of the remote module, which is preset by the staff. Throughout the test, the rate of voltage change over time is controlled to avoid voltage spikes caused by excessive adjustment, thereby preventing damage to the laser power supply. For example, if the preset initial adjustment target value is 1.8V, then the first preset rate of change can be a 1ms period, increasing the laser power supply by 0.3mV per period, thus ensuring that it can be adjusted to near the rated estimated value within 6 seconds.
[0045] It should be noted that the above-mentioned initial adjustment target value, the period of 1ms, and the increase of the laser power supply by 0.3mV per cycle are only examples of this application. Other values can also be used. For example, if the preset initial adjustment target value is 3V, then the first preset change rate can be a period of 1ms, with the laser power supply increased by 0.5mV per cycle, so as to ensure that it can be adjusted to near the rated value in 6s. Under the premise of avoiding voltage change due to excessive adjustment, this application does not limit this.
[0046] Step 102: Obtain the first message and the second message during the adjustment process. The first message indicates that the AD sampling is abnormal and the AD power supply is low, at which time the acquisition unit is malfunctioning. The second message indicates that the AD sampling is normal and the AD power supply is normal, at which time the acquisition unit is malfunctioning.
[0047] The digital signal of the acquisition unit is read. During the process of adjusting the optical power of the laser power supply, the acquisition unit changes from communication disconnection to communication recovery, and the message changes from frame loss to normal.
[0048] Because the laser power supply gradually adjusts the optical power according to the first preset rate of change, the initial optical power received by the acquisition unit is low, thus the communication is disconnected at this time. As the optical power gradually increases, the acquisition unit resumes communication and obtains the first message. However, the optical power is still insufficient to support normal transmission by the acquisition unit, so the first message will experience frame drops. As the optical power increases, the second message is obtained, and the second message no longer experiences frame drops, restoring normal operation.
[0049] The status flags in the message contain two pieces of information: AD sampling information and AD power information. There are also three power status flags: low power voltage, normal power voltage, and high power voltage. The first message includes "AD sampling abnormal" and "AD power low," indicating a low power voltage and therefore an abnormal operation of the acquisition unit. The second message includes "AD sampling normal" and "AD power normal," indicating a normal power voltage and therefore normal operation of the acquisition unit.
[0050] The status flags in the message can also be reflected through two alarm messages: AD sampling abnormality alarm and AD power low alarm. The first message includes AD sampling abnormality alarm and AD power low alarm, at which time the power supply voltage is low and the acquisition unit is in an abnormal working state; in the second message, these two alarm messages disappear, at which time the power supply voltage is normal and the acquisition unit is in a normal working state.
[0051] The control logic of the acquisition unit during the optical power adjustment process is detected to determine whether the acquisition unit will set different states according to different environments.
[0052] Step 103: Adjust the optical power of the laser power supply to the initial value, and then adjust the optical power of the laser power supply again with the first preset rate of change to obtain the first message and the second message during the adjustment process. If the first message and the second message are consistent with those at the first time, then the control logic of the acquisition unit is in a normal state.
[0053] If the status of the first and second messages is consistent with the result in step 102 after repeated testing, it is determined that the control logic of the acquisition unit is normal.
[0054] In the above manner, this application adjusts the optical power of the laser power supply with a first preset rate of change, thereby avoiding damage to the laser power supply due to excessively rapid adjustment by controlling the rate of voltage change over time throughout the entire control process. By obtaining the first and second messages during the adjustment process, it can be determined whether the AD sampling state and AD power supply state of the acquisition unit change from abnormal to normal as the optical power of the laser power supply is adjusted. Repeated testing can ensure more accurate test results, and finally determine whether the control logic of the acquisition unit is in a normal state.
[0055] The aforementioned acquisition unit detection method further includes: sending a first DC voltage signal to the acquisition unit and obtaining a first digital value from the acquisition unit. The first DC voltage signal is a small analog DC voltage signal. The small analog DC voltage signal is sent to the acquisition unit, and the digital value signal of the acquisition unit is read to obtain the first digital value from the acquisition unit.
[0056] Adjust the value of the first DC voltage signal to obtain the second digital quantity after the change in the acquisition unit.
[0057] The sampling accuracy of the acquisition unit is obtained based on the first DC voltage signal, the adjusted first DC voltage signal, the first digital quantity, and the second digital quantity.
[0058] The first DC voltage signal is used as the standard source signal, and the digital signal from the acquisition unit is used as the sample signal. After time compensation, the standard and the sample are synchronized to complete the sampling accuracy test. The value of the first DC voltage signal is adjusted as a percentage. For example, adjusting the value of the first DC voltage signal by 10% of the standard source signal yields the second digital signal. It should be noted that this application does not limit the adjustment ratio; it can be adjusted to other values. For example, the value of the first DC voltage signal can be adjusted by 20%, 50%, 80%, 100%, or 120% of the standard source signal to obtain the second digital signal. This application does not limit this adjustment.
[0059] The sampling accuracy is obtained by adjusting the value of the DC voltage signal at least twice. For example, 10%, 20%, 50%, 80%, 100%, and 120% of the standard source signal are used as different test points, and each test point is tested five times to finally obtain the sampling accuracy.
[0060] Example 2
[0061] This embodiment modifies the adjustment mode of the laser function based on the acquisition unit detection method provided in Embodiment 1 of this application, and adjusts the sampling accuracy test of the acquisition unit to obtain the sampling error, such as... Figure 2 As shown, the specific implementation method is as follows:
[0062] Step 201: Adjust the optical power of the laser power supply with a second preset rate of change.
[0063] The second preset change rate is a process of adjusting the laser power supply by reducing the voltage digital value at preset intervals. This changes the adjustment mode of the laser power supply, reduces the output energy of the optical power, and allows for real-time reading of the actual output power of the laser.
[0064] Step 202: Send a second DC voltage signal to the acquisition unit and obtain the third digital value from the acquisition unit.
[0065] The second DC voltage signal is a small analog DC voltage signal. The small analog DC voltage signal is sent to the acquisition unit, and the digital signal of the acquisition unit is read to obtain the third digital signal of the acquisition unit.
[0066] Step 203: Adjust the value of the second DC voltage signal to obtain the fourth digital quantity after the change in the acquisition unit.
[0067] As optical power decreases, the reference voltage will continuously decrease, affecting sampling accuracy. After decreasing to a certain value, the sampling error will gradually increase. Therefore, the value of the second DC voltage signal is adjusted as a percentage, for example, by adjusting the value of the second DC voltage signal to 10% of the standard source signal to obtain the third digital value. It should be noted that this application does not limit the adjustment ratio; other values can also be used. For example, the value of the second DC voltage signal can be adjusted to 20%, 50%, or 80% of the standard source signal to obtain the third digital value. This application does not limit this adjustment.
[0068] Step 204: Obtain the sampling error of the acquisition unit based on the second DC voltage signal, the adjusted second DC voltage signal, the third digital quantity, and the fourth digital quantity.
[0069] Both sampling accuracy and sampling error were obtained by adjusting the DC voltage signal value at least twice. The sampling accuracy was tested under different second DC voltage signal values while slowly reducing the laser output energy until a sampling data alarm was detected. During this test, the AD power supply low status bit was monitored simultaneously.
[0070] After the test is completed, plot the curve between the sampling error and the second DC voltage signal.
[0071] In this way, the sampling value curve test of the simulated laser power supply under low operating conditions in this application, and the relationship between the test light source value and the sampling value error, provide technical support for fault analysis after DC current transformer failure.
[0072] The aforementioned acquisition unit detection method also includes:
[0073] Set the acquisition unit to an unloaded state and reduce the optical power of the laser power supply;
[0074] The frame drop rate of the acquisition unit is analyzed every second, and the current average power is obtained based on the actual output optical power of the laser and the frame drop rate; the average power is used to represent the relationship between the frame drop rate of the acquisition unit and the output optical power of the laser.
[0075] Under no-load conditions, the output power of the optical signal is forcibly reduced, and error rate and frame loss analysis are performed on the digital signal output by the acquisition unit. Frame loss rate testing is conducted using logic analysis capabilities. After the laser power supply is reduced, the voltage of the photoelectric conversion module in the acquisition unit also decreases. While this voltage reduction does not change the signal transmission logic, it increases the bit error rate of the messages transmitted via the fiber optic serial port, leading to frame loss. Frame loss rate analysis is performed in seconds. Simultaneously, the actual output power of the laser is read, and the average power over one second is calculated to obtain the relationship between the frame loss rate of the acquisition unit and the laser output power.
[0076] Using the above method, the test was conducted with the acquisition unit set to an unloaded state. The optical power of the laser power supply was reduced, and the current average power was obtained based on the actual output optical power of the laser and the frame drop rate. Reducing the voltage of the photoelectric conversion module does not change the signal transmission logic, but it increases the bit error rate of the messages transmitted via the fiber optic serial port, leading to frame drops. Frame drop rate analysis was performed in seconds. Simultaneously, the actual output power of the laser was read, and the average power over one second was calculated to obtain the relationship between the frame drop rate of the acquisition unit and the laser output power.
[0077] The aforementioned acquisition unit detection method also includes:
[0078] Set the acquisition unit to an unloaded state and reduce the optical power of the laser power supply.
[0079] After the acquisition unit is working normally, since the energy consumption of the acquisition unit is dynamic, the energy consumption in the no-load state is approximately a fixed value. Therefore, it is necessary to forcibly adjust the output energy of the optical power in the no-load state.
[0080] Obtain the power status flag of the acquisition unit. When the power status flag is in the low power state, increase the optical power of the laser power supply; when the power status flag is in the normal power state, decrease the optical power of the laser power supply to obtain the optical power critical point of the acquisition unit.
[0081] Because the light source adjustment has a certain lag effect, a certain state quantity filtering is used when reading the status of the acquisition unit. The power status flag is adjusted upwards when it is in a low state and downwards when it is in a normal state. After multiple adjustments, this state becomes the critical state. At this point, the feedback voltage signal U of the laser power module is read, and then... Formulas are used to obtain the actual drive current of the laser. I , R The preset value is 0.2Ω. The actual drive current of the laser is obtained. I Then, use the actual drive current. I Multiply by the laser's operating voltage to obtain the laser's actual output power. , This is the operating voltage of the laser.
[0082] The same method was used to test the optical power critical point in the abnormal sampling state of the AD and the optical power critical point in the low power state of the AD.
[0083] By using the above method, the optical power of the laser power supply is reduced when the acquisition unit is in an unloaded state. Since the energy consumption of the acquisition unit is dynamic, the energy consumption in the unloaded state is approximately a fixed value. Therefore, the output energy of the optical power can be adjusted in the unloaded state. According to the power status flag of the acquisition unit, when the power status flag is in a low power state, the optical power of the laser power supply is increased, and when the power status flag is in a normal power state, the optical power of the laser power supply is decreased. Through multiple attempts, the critical point of the optical power of the acquisition unit is finally calculated. The critical point can not only be used to detect the status of the acquisition unit, but also lay the foundation for subsequent operations.
[0084] A first optical power is sent to the acquisition unit. The first optical power is obtained by reducing the optical power threshold of the acquisition unit by a first percentage.
[0085] Acquire the sampled values and alarm information from the acquisition unit, and calculate the time difference between the sudden change in the sampled value and the issuance of the alarm information by the acquisition unit.
[0086] With the light source functioning normally, a 100% rated load is applied to simulate a sudden drop in the light source output, mimicking a laser malfunction or optical circuit failure. Based on the measured optical power at the critical point between AD sampling anomaly and AD power supply low, a sudden drop in output is performed at 95% of the critical optical power. The data and alarm information from the acquisition unit are read and recorded. After recording, the time difference between the sudden change in the sampled value and the alarm message issued by the acquisition unit is analyzed and calculated.
[0087] Example 3
[0088] Based on the same technical concept, this application Figure 3 An exemplary detection device for the acquisition unit provided in this application is shown, which includes: a main control unit 2, a DA conversion module 1 3, an AD conversion module 4, a laser power supply module 5, an optical fiber serial port 6, a photoelectric conversion module 7, and a DA conversion module 2 8.
[0089] Among them, one end of DA conversion module 3 and AD conversion module 4 are respectively connected to the main control unit 2, and the other end is respectively connected to the laser power supply module 5. The laser power supply module 5, as the merging unit laser, sends optical power signals to the acquisition unit 1; one end of photoelectric conversion module 7 is connected to the main control unit 2, and the other end is connected to the fiber optic serial port 6. The other end of the fiber optic serial port 6 is connected to the acquisition unit 1 through a data fiber; one end of DA conversion module 8 is connected to the main control module 2, and the other end is connected to the acquisition unit 1 through a data fiber; the optical power of the laser power supply is adjusted according to a first preset rate of change; wherein, the first preset rate of change is based on a preset period, and the laser power supply is adjusted according to a preset voltage digital quantity. The adjustment process is transmitted to the acquisition unit via the power supply fiber of the laser power module. The first and second messages during the adjustment process are obtained. The first message indicates an AD sampling abnormality and a low AD power supply, indicating an abnormal operation of the acquisition unit. The second message indicates normal AD sampling and a normal AD power supply, indicating normal operation of the acquisition unit. These messages are obtained via the fiber optic serial port and the photoelectric conversion module. The optical power of the laser power supply is adjusted to its initial value, and then adjusted again at a first preset rate of change. The first and second messages during the adjustment process are then obtained. If the first and second messages are consistent with those from the first adjustment, the control logic of the acquisition unit is in a normal state.
[0090] This device employs a ZYNQ dual-core CPU. The ZYNQ dual-core CPU consists of an FPGA and an ARM core. The FPGA, due to its excellent real-time performance, is responsible for external data acquisition and transmission, while the ARM core handles data calculation, data generation, human-machine interaction, and program download and debugging. ZYNQ is configured with peripheral chips and circuits to achieve external output and reception. The photoelectric conversion circuit receives the fiber optic digital signal from the acquisition unit, converts it into an electrical signal, and then sends it to the FPGA for signal processing. DA conversion module one converts the digital control signal of the laser power supply into an analog signal, DA conversion module two simulates the small voltage signal output from the primary sensor of the DC current transformer, and the AD conversion module converts the feedback voltage of the laser power supply module into a digital signal. The laser power supply module uses a voltage-to-current design to provide drive current to the laser. To ensure the safety of laser control, the laser is driven by reverse current. Followers are configured at both ends of the feedback signal to prevent interference signals from the measurement circuit from entering the laser and causing damage.
[0091] The main control system uses Xilinx's ZYNQ 7020 chip, which is a dual-processor architecture of FPGA+ARM. It uses a high-temperature constant-temperature crystal oscillator (OCXO) as the clock for the entire system, with a frequency accuracy of up to 5ppm.
[0092] The DA conversion module uses the AD5764CSUZ 4-channel 16-bit DA chip from Analog Devices (ADI), with a signal output range of ±10V. By selecting a sampling output frequency of 20kHz according to the chip's frequency and accuracy curve, the accuracy of the small output voltage can be met, while reducing the superposition of high-frequency signals caused by discrete errors.
[0093] The AD conversion module uses the 18-bit successive approximation analog-to-digital converter AD7982 with a maximum sampling rate of 1000kSPS, enabling high-precision, high-sampling-rate analog-to-digital conversion. The AD7982 operates from a single 2.5V supply and integrates a low-power, high-speed, 18-bit lossless sampling ADC, an internal conversion clock, and a multi-function serial interface port. On the rising edge of the conversion signal, the device samples the voltage difference between the differential input pins. The reference voltage is provided externally and can be set to the supply voltage. The device's power consumption and throughput are linearly related. It supports SPI communication and daisy-chain mode and provides an optional busy indicator.
[0094] The fiber optic serial port uses the AFBR 2418TZ fiber optic receiver with an ST interface. It operates at temperatures from -40 to 85 degrees Celsius, receives data at a wavelength of 865nm, and has a maximum data rate of 50MBd, providing excellent data compatibility.
[0095] The laser uses a 2W laser power supply from Synaptics, and the laser driver adopts a reverse current design. It is currently compatible with the photocells of remote modules from various manufacturers, achieving domestic control of the laser power supply.
[0096] like Figure 4 The diagram shows the schematic of the laser power supply module of this application. The input signal of the laser power supply module adopts a voltage-to-current conversion approach. R1 in the signal amplification circuit is 10k ohms, and the power module uses a C-MOS transistor. The drive current and the feedback sampling resistor RS of the laser power supply module are both 0.2 ohms, and both the positive and negative feedback sampling circuits adopt a follower design.
[0097] The aforementioned acquisition unit testing device adopts a split design, separating the laser power supply module 5 from the main control unit 2. This portable split design separates the test host from the laser power supply control module. Since the laser generates a large amount of heat during electro-optical conversion, a heat dissipation design is required, making it unsuitable to hold in the hand. Therefore, during testing, the laser power supply control module is placed in a well-ventilated metal casing, while the test host is handheld, facilitating direct operation by the testing personnel.
[0098] The aforementioned acquisition unit detection device also includes an Ethernet physical layer chip 9, one end of which is connected to the main control unit 2, and the other end is connected to the RJ45 debugging interface 10.
[0099] The aforementioned acquisition unit detection device also includes an LCD module 11, which is connected to the main control unit 2 via an external bus.
[0100] like Figure 5 The diagram shows the schematic of the acquisition unit provided in this application. The power supply for the acquisition unit is provided by a laser located in the merging unit in the control room. Each remote module has two analog input terminals for receiving the output signals from the shunt and the air-core coil, one fiber optic receiver for receiving the laser, and one fiber optic transmitter for transmitting digital signals.
[0101] The acquisition unit works by having the photovoltaic cells receive the laser power signal from the merging unit's laser. The power control module then forwards the photovoltaic cell's voltage signal according to the voltage requirements of the AD circuit, CPU control circuit, and photoelectric conversion circuit. Generally, the AD conversion operates at ±5V, the CPU at 3.3V, and the photoelectric conversion at 5V. Since the laser power supply circuit is a dynamically adjustable system, the laser power supply adjustment relies on the built-in AD sampling circuit within the CPU control module to determine the light intensity. Because the CPU's operating voltage is relatively low, it can still maintain operation for a short period when power supply is insufficient. However, the AD conversion module's operating voltage may be too low, leading to abnormal AD sampling and potentially causing the photoelectric conversion voltage to be too low, increasing the bit error rate and frame drop rate.
[0102] The laser is driven by negative current, that is, the ground is used as the positive terminal of the laser to reduce the impact of input voltage jitter on the life of the laser. At the same time, a reverse isolation transient diode is configured to prevent abnormal drive current from damaging the laser, and an RC filter circuit is configured to prevent rapid changes in drive current from damaging the laser.
[0103] Followers are configured at both ends of the feedback loop to isolate the sampling loop from the laser drive loop, preventing interference signals from the sampling loop or static electricity from the operator from entering the laser drive loop and damaging the laser. A streamlined, one-button operation is used for step-by-step testing. If a problem occurs during the test, the test is forcibly interrupted to avoid damage to the laser in the tester due to a failure of the acquisition unit.
[0104] The acquisition unit includes a CPU control module 12 and a power control module 13. In this application, port one of the acquisition unit is connected to an optical fiber serial port, and port two is connected to the laser power supply module 5.
[0105] Example 4
[0106] After introducing the data acquisition unit detection device in the exemplary embodiments of this application, the following section introduces a data acquisition unit detection system proposed in this application. This application provides a data acquisition unit detection system, such as... Figure 6As shown, the system includes: an optical power adjustment module, a message acquisition module, and a control logic detection module;
[0107] The optical power adjustment module is used to adjust the optical power of the laser power supply at a first preset rate of change. The first preset rate of change is an adjustment process that increases the laser power supply according to a preset voltage digital value at preset intervals.
[0108] The message acquisition module is used to acquire the first message and the second message during the adjustment process. The first message indicates that the AD sampling is abnormal and the AD power supply is low, at which time the acquisition unit is malfunctioning. The second message indicates that the AD sampling is normal and the AD power supply is normal, at which time the acquisition unit is malfunctioning.
[0109] The control logic detection module is used to adjust the optical power of the laser power supply to the initial value, and then adjust the optical power of the laser power supply again by a first preset rate of change, and obtain the first message and the second message during the adjustment process. If the first message and the second message are consistent with those at the first time, the control logic of the acquisition unit is in a normal state.
[0110] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0111] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0112] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0113] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0114] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A detection method of a collection unit, characterized by, The method comprises the following steps: adjusting the optical power of the laser power supply at a first preset change rate; wherein the first preset change rate is a process of increasing the laser power supply at a preset voltage digital quantity at a preset period as an interval; obtaining a first message and a second message in the adjusting process; the first message is AD sampling abnormality and AD power supply low state, at which time the acquisition unit works abnormally; the second message is AD sampling normality and AD power supply normality, at which time the acquisition unit works normally; wherein the acquisition unit initially receives low optical power and is in a communication disconnection state; as the optical power gradually increases, the acquisition unit restores the communication state and obtains the first message; the first message has frame loss; as the optical power increases, the second message is obtained; the second message no longer has frame loss; adjusting the optical power of the laser power supply to an initial value, adjusting the optical power of the laser power supply at the first preset change rate again, obtaining the first message and the second message in the adjusting process, and if the first message and the second message at this time are consistent with those at the first time, the control logic of the acquisition unit is in a normal state; sending a first direct current voltage signal to the acquisition unit and obtaining a first digital quantity of the acquisition unit; adjusting the value of the first direct current voltage signal to obtain a second digital quantity of the acquisition unit after the change; obtaining the sampling accuracy of the acquisition unit according to the first direct current voltage signal, the adjusted first direct current voltage signal, the first digital quantity and the second digital quantity; adjusting the optical power of the laser power supply at a second preset change rate; wherein the second preset change rate is a process of decreasing the laser power supply at a preset voltage digital quantity at a preset period as an interval; sending a second direct current voltage signal to the acquisition unit and obtaining a third digital quantity of the acquisition unit; adjusting the value of the second direct current voltage signal to obtain a fourth digital quantity of the acquisition unit after the change; obtaining the sampling error of the acquisition unit according to the second direct current voltage signal, the adjusted second direct current voltage signal, the third digital quantity and the fourth digital quantity.
2. The method of claim 1, wherein, The sampling accuracy and the sampling error are both obtained after the value of the direct current voltage signal is adjusted at least twice.
3. The method of claim 1, wherein, The method further comprises the following steps: in the process of adjusting the optical power of the laser power supply, the acquisition unit changes from the communication disconnection state to the restored communication state, and the message changes from frame loss to normality.
4. The method of claim 1, wherein, The method further comprises the following steps: setting the acquisition unit to an empty load state and reducing the optical power of the laser power supply; analyzing the frame loss rate of the acquisition unit every second, obtaining the current average power according to the actual output optical power of the laser power supply and the frame loss rate; the average power is used to represent the relationship between the frame loss rate of the acquisition unit and the output optical power of the laser power supply.
5. The method of claim 1, wherein, The method further comprises the following steps: setting the acquisition unit to an empty load state and reducing the optical power of the laser power supply; Obtaining the power state flag of the acquisition unit, when the power state flag is in a low power state, increasing the optical power of the laser power supply; when the power state flag is in a normal power state, reducing the optical power of the laser power supply, obtaining the optical power threshold of the acquisition unit.
6. The method of claim 1, wherein, The method further comprises: Sending a first optical power to the acquisition unit, the first optical power being obtained by reducing the optical power threshold of the acquisition unit by a first percentage; Obtaining the sampling value and alarm information of the acquisition unit, and calculating the time difference between the sudden change of the sampling value and the alarm information sent by the acquisition unit.
7. A detection device of a harvesting unit, characterized in that Comprise: A master control unit, a DA conversion module one, an AD conversion module, a laser power supply module, an optical fiber serial port, an optoelectronic conversion module, a DA conversion module two; Wherein, one end of the DA conversion module one and the AD conversion module are connected with the master control unit respectively, and the other end is connected with the laser power supply module respectively, and the laser power supply module is used as a combined unit laser to send an optical power signal to the acquisition unit; One end of the optoelectronic conversion module is connected with the master control unit, and the other end is connected with the optical fiber serial port, and the other end of the optical fiber serial port is connected with the acquisition unit through a data optical fiber; One end of the DA conversion module two is connected with the master control module, and the other end is connected with the acquisition unit through a data optical fiber; Adjusting the optical power of the laser power supply at a first preset change rate; wherein, the first preset change rate is a preset period as an interval, and the laser power supply is adjusted by a preset voltage digital quantity, and the optical power is sent to the acquisition unit through the energy supply optical fiber of the laser power supply module; Obtaining the first message and the second message in the adjustment process, the first message is AD sampling abnormality and AD low power state, at this time the acquisition unit works abnormally; the second message is AD sampling normality and AD normal power, at this time the acquisition unit works normally; wherein, the first message and the second message are obtained through the optical fiber serial port and the optoelectronic conversion module; the initial optical power received by the acquisition unit is low, and the communication is disconnected; with the gradual increase of the optical power, the acquisition unit restores the communication state, and the first message is obtained; the first message exists frame loss; with the increase of the optical power, the second message is obtained; the second message no longer loses frame; Adjusting the optical power of the laser power supply to the initial value, adjusting the optical power of the laser power supply again at the first preset change rate, obtaining the first message and the second message in the adjustment process, if the first message and the second message at this time are consistent with the first time, the control logic of the acquisition unit is in a normal state; The acquisition unit sends a first direct current voltage signal, and obtains a first digital quantity of the acquisition unit; Adjusting the value of the first direct current voltage signal, obtaining a second digital quantity of the acquisition unit after the change; Obtaining the sampling precision of the acquisition unit according to the first direct current voltage signal, the adjusted first direct current voltage signal, the first digital quantity and the second digital quantity; Adjusting the optical power of the laser power supply at a second preset change rate; wherein the second preset change rate is a process of adjusting the laser power supply at a preset voltage digital quantity in a preset period as an interval; sending a second direct current voltage signal to the acquisition unit and obtaining a third digital quantity of the acquisition unit; adjusting the value of the second direct current voltage signal to obtain a fourth digital quantity of the acquisition unit after the change; obtaining the sampling error of the acquisition unit according to the second direct current voltage signal, the adjusted second direct current voltage signal, the third digital quantity and the fourth digital quantity.
8. The detection device of the harvesting unit according to claim 7, characterized in that, The device adopts a split design, and separates the laser power supply module from the master control unit.
Citation Information
Patent Citations
Data acquisition system, virtual verification system and method for fiber current transformer
CN105467348A
Electronic current transformer laser energy supply self-diagnosis method and system thereof
CN106597346A