A wiring detection device and method
Patent Information
- Application Number
- CN202611269960.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-03
AI Technical Summary
In the safety-grade distributed control system of nuclear power plants, traditional wiring detection methods require multiple disconnections and reliant on manual judgment, which is time-consuming and involves many tools and human factors, leading to the safety hazard of the output circuit fuse of the optimization card burning out.
A wiring detection device is provided, which integrates a power supply, a control circuit, a voltage polarity switching circuit, and a voltage acquisition circuit. It automatically completes the application of forward and reverse voltages and voltage acquisition, and judges the wiring status by the voltage amplitude difference characteristics, simplifying the operation process and improving the detection efficiency.
It achieves automation, accuracy, and safety in wiring detection, shortens detection time, eliminates the risk of burnt-out optimization cards due to detection errors, and improves detection efficiency and safety.
Smart Images

Figure CN123029438A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of circuit technology, and in particular to a wiring detection device and method. Background Technology
[0002] In the safety-grade distributed control system (DCS) of a nuclear power plant, the selection card is a key device used to control local actuators related to nuclear safety (such as local valves controlled by solenoid valves, fans, pumps, etc.). The selection card has a priority selection control function. According to the design requirements of the nuclear power plant, when a baseline event occurs unexpectedly, safety functions need to be executed first to ensure nuclear safety. The selection card realizes the selection of commands to ensure the correct operation of the equipment.
[0003] A single nuclear power plant unit has over 400 selection cards installed. More than half of these cards interface with local solenoid valves. The vast majority of these solenoid valve coils are connected in parallel with unidirectional conduction devices, primarily to protect the solenoid valves and drive circuits from damage caused by back electromotive force. However, incidents of incorrect wiring (such as reverse connection of the unidirectional conduction device or a short circuit) causing the output circuit fuse of the selection card to blow are frequent. This fuse is non-replaceable; if it fails, the entire card must be replaced.
[0004] Traditional wiring testing methods require testers to use signal generators and multimeters to apply current in both directions and manually judge voltage changes. This method has disadvantages such as requiring many tools, multiple disconnections and reconnections, reliance on personnel experience, and being time-consuming. Summary of the Invention
[0005] In view of the above problems, this application provides a wiring detection device and method to solve at least some of the above problems. The specific solution is as follows:
[0006] The first aspect of this application provides a wiring detection device for detecting the wiring status of a circuit under test. The circuit under test includes an inductor coil and a unidirectional conductive device connected in parallel. The device includes: a power supply, a control circuit, a voltage polarity switching circuit, and a voltage acquisition circuit.
[0007] The voltage polarity switching circuit is connected between the power supply and the circuit under test, and is used to alternately apply a first polarity voltage and a second polarity voltage to the circuit under test;
[0008] The voltage acquisition circuit is connected between the voltage polarity switching circuit and the control circuit, and is used to acquire the first voltage of the circuit under test when the voltage polarity switching circuit applies a first polarity voltage to the circuit under test, and to acquire the second voltage of the circuit under test when the voltage polarity switching circuit applies a second polarity voltage to the circuit under test.
[0009] The control circuit is used to determine the wiring status of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage.
[0010] In one possible implementation, the control circuit is used to determine the wiring state of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage, specifically for:
[0011] Compare the amplitude relationship between the first voltage and the second voltage;
[0012] If the amplitude relationship satisfies the preset asymmetric threshold condition, then output a first state identifier indicating that the wiring is correct;
[0013] If the amplitude relationship does not meet the asymmetric threshold condition, a second state identifier representing a wiring abnormality is output.
[0014] In one possible implementation, the first polarity voltage is the positive voltage of the circuit under test, and the second polarity voltage is the reverse voltage of the circuit under test.
[0015] When the control circuit is used to determine whether the amplitude relationship meets the preset asymmetry threshold condition, it is specifically used for:
[0016] When the first voltage is in the first voltage range and the second voltage is in the second voltage range, it is determined that the asymmetric threshold condition is met and the wiring of the circuit under test is normal.
[0017] When the first voltage is in the second voltage range and the second voltage is in the first voltage range, the wiring state is determined to be the reverse connection of the unidirectional conductive device;
[0018] When both the first voltage and the second voltage are within the short-circuit voltage range, the circuit under test is determined to be short-circuited.
[0019] When both the first voltage and the second voltage are within the open circuit voltage range, the circuit under test is determined to be open circuit.
[0020] Wherein, the first voltage range is the voltage range of the inductor coil, and the second voltage range is the conduction voltage range of the unidirectional conductive device.
[0021] In one possible implementation, the voltage polarity switching circuit includes a control terminal, a voltage input terminal, and a voltage output terminal. The control terminal is connected to the control circuit to receive a polarity control command. The voltage input terminal is connected to the power supply, and the voltage output terminal is connected to the circuit under test. In response to the polarity control command, the voltage polarity of the voltage output terminal is controlled to flip.
[0022] In one possible implementation, the device further includes: a status indicator and / or an audible prompt;
[0023] The status indicator includes a multi-color light-emitting diode, which is used to display the corresponding color according to the wiring status output by the control circuit;
[0024] The sound prompting device includes a buzzer, which is used to trigger a prompting sound corresponding to the wiring status after the control circuit completes the determination of the wiring status.
[0025] In one possible implementation, the device further includes a pair of detection terminals;
[0026] The detection terminal pair includes a positive terminal and a negative terminal, which are used for detachable electrical connection to the circuit under test.
[0027] The voltage polarity switching circuit is coupled to the circuit under test via the detection terminal.
[0028] In one possible implementation, the power source is a portable battery.
[0029] A second aspect of this application provides a wiring detection method, applied to the wiring detection device described in any one of the first aspects, the method comprising:
[0030] The voltage polarity switching circuit is controlled to apply a first polarity voltage to the circuit under test, and the first voltage of the circuit under test is acquired by the voltage acquisition circuit.
[0031] The voltage polarity switching circuit is controlled to apply a second polarity voltage to the circuit under test, and the second voltage of the circuit under test is acquired by the voltage acquisition circuit.
[0032] Based on the amplitude difference characteristics of the first voltage and the second voltage, the wiring status of the circuit under test is determined.
[0033] In one possible implementation, determining the wiring state of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage includes:
[0034] Compare the amplitude relationship between the first voltage and the second voltage;
[0035] If the amplitude relationship satisfies the preset asymmetric threshold condition, then output a first state identifier indicating that the wiring is correct;
[0036] If the amplitude relationship does not meet the asymmetric threshold condition, a second state identifier representing a wiring abnormality is output.
[0037] In one possible implementation, the first polarity voltage is the forward voltage of the circuit under test, and the second polarity voltage is the reverse voltage of the circuit under test; the process of determining whether the amplitude relationship satisfies a preset asymmetry threshold condition includes:
[0038] When the first voltage is in the first voltage range and the second voltage is in the second voltage range, it is determined that the asymmetric threshold condition is met and the wiring of the circuit under test is normal.
[0039] When the first voltage is in the second voltage range and the second voltage is in the first voltage range, the wiring state is determined to be the reverse connection of the unidirectional conductive device;
[0040] When both the first voltage and the second voltage are within the short-circuit voltage range, the circuit under test is determined to be short-circuited.
[0041] When both the first voltage and the second voltage are within the open circuit voltage range, the circuit under test is determined to be open circuit.
[0042] Wherein, the first voltage range is the voltage range of the inductor coil, and the second voltage range is the conduction voltage range of the unidirectional conductive device.
[0043] A third aspect of this application provides a computer program product including computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the wiring detection method of the second aspect or any implementation thereof.
[0044] The fourth aspect of this application provides a computer storage medium carrying one or more computer programs, which, when executed by an electronic device, enable the electronic device to implement the wiring detection method of the second aspect or any implementation thereof described above.
[0045] By utilizing the above technical solution, the wiring detection device provided in this application integrates a power supply, control circuit, voltage polarity switching circuit, and voltage acquisition circuit to construct a dedicated wiring detection device. This device can automatically complete the entire process of applying forward and reverse voltage, acquiring voltage, and making logical judgments, eliminating the need for manual switching of wiring and the use of multiple instruments by testing personnel. This avoids human-caused risks associated with disconnecting wiring and simplifies the operation process. Compared to the complex process requiring manual judgment in existing technologies, this device achieves automatic, objective, and accurate output of test results, greatly shortening the testing time from 30 minutes to seconds, and fundamentally eliminating the safety hazard of burnt-out optimization cards due to testing errors. Attached Figure Description
[0046] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0047] Figures 1-2 This is a schematic diagram of the equivalent circuit for traditional wiring detection methods.
[0048] Figure 3 An equivalent circuit diagram of a wiring detection device outputting a positive voltage, provided in this application;
[0049] Figure 4 An equivalent circuit diagram of a wiring detection device outputting reverse voltage, provided in this application;
[0050] Figure 5 A schematic diagram of a wiring detection device provided in this application;
[0051] Figure 6 A schematic diagram of another wiring detection device provided in this application;
[0052] Figure 7 A flowchart of a wiring detection method provided in this application. Detailed Implementation
[0053] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0054] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0055] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0056] Before introducing the wiring detection device provided in this application, we will first introduce the application scenarios of the device.
[0057] The wiring detection device provided in this application is applied to the wiring detection scenario of the solenoid valve at the preferred card interface in the safety-grade DCS control system of a nuclear power plant. The preferred card is a key device in the safety-grade DCS, used to control local actuators related to nuclear safety, including but not limited to local valves controlled by solenoid valves, fans, pumps, etc. The preferred card receives control signals from software, as well as control signals from the backup panel (BUP), emergency control panel (ECP), and diversity actuation cabinet (DAC) systems.
[0058] During design baseline events or periodic tests, the control system automatically or manually controls the optimization card, which in turn controls the local actuators. The optimization card has a priority selection control function. When a design baseline event occurs unexpectedly, safety functions need to be executed first to ensure nuclear safety. The optimization card optimizes the commands to ensure the correct operation of the equipment.
[0059] In scenarios where the interface device of the preferred card is a solenoid valve, when the solenoid valve coil is de-energized, due to the law of electromagnetic induction, the magnetic field within the coil collapses, generating a momentary high voltage. This high voltage may be many times higher than the normal operating voltage of the solenoid valve, sufficient to damage electronic components such as transistors, integrated circuits, or other drive circuits. To protect the solenoid valve and drive circuit from damage by back electromotive force, most solenoid valve coils are connected in parallel with a unidirectional conducting device, such as a diode. The function of connecting a unidirectional conducting device in parallel with a solenoid valve is as follows:
[0060] 1) Parallel unidirectional conducting devices provide an energy discharge path, allowing the energy generated by the reverse electromotive force to be discharged through the diode, thus avoiding damage to the circuit from voltage spikes.
[0061] 2) Due to the unidirectional conductivity of the unidirectional conduction device, current is only allowed to flow in one direction. When the solenoid valve is de-energized, the unidirectional conduction device conducts, allowing reverse current to pass through, thereby protecting the electronic components driving the solenoid valve, such as transistors or microcontrollers, from the impact of reverse voltage.
[0062] 3) One-way conduction devices can help suppress electromagnetic interference generated by the solenoid valve coil and help extend the service life of the solenoid valve.
[0063] However, due to the numerous solenoid valve-related operations, occasional malfunctions leading to wiring errors can cause the fuse in the optimization card's output circuit to blow. This fuse is printed on the PCB and cannot be replaced; if damaged, the entire card must be replaced. A blown optimization card not only results in economic losses but also renders the drive equipment unusable. If this occurs during routine operations or critical overhauls, it can impact unit operation, posing even greater safety hazards and losses.
[0064] The specific reasons for the burnout of the optimization card include: the unidirectional conduction device is connected in reverse, and the optimization card drive command (48V voltage) flows directly through the unidirectional conduction device, generating a large current that causes the optimization card output circuit fuse to burn out; due to improper wiring or foreign objects, the wiring circuit from the optimization card to the solenoid valve is short-circuited, and the optimization card drive command will also cause the optimization card to burn out.
[0065] Based on the above-mentioned burnout faults and causes, before the solenoid valve is overhauled during commissioning and major repairs, the output command terminal of the optimization card needs to be isolated on the safety-grade DCS side. After the overhaul is completed and before the terminal is put into operation, the wiring of the solenoid valve should be tested to ensure that the wiring direction of the unidirectional conduction device is correct and that there is no short circuit or open circuit in the wiring circuit.
[0066] Traditional detection methods are as follows:
[0067] Step 1: Output a positive current signal (milliampere level) and measure the voltage of the solenoid valve connected to the preferred card interface, such as... Figure 1 As shown, current flows through the solenoid valve coil, and the voltage and current have a linear relationship, with the maximum voltage exceeding the forward voltage of a unidirectional conducting device (such as a diode).
[0068] Step 2: Reverse output milliampere current signal and measure voltage, such as Figure 2 As shown, current flows through a unidirectional conducting device (such as a diode), and the maximum voltage is the conduction voltage of the conducting device. Based on the above two tests, the wiring of the preferred card interface solenoid valve is comprehensively assessed.
[0069] This traditional detection method has many drawbacks:
[0070] 1) It requires many tools; for example, a signal generator and a multimeter are needed, which are inconvenient to carry.
[0071] 2) Multiple disconnections and reconnections are required;
[0072] The testing process requires applying a current signal once in both the forward and reverse directions, necessitating manual wiring swapping. However, the output terminals of the optimal card are located on the terminal block inside the cabinet, where space is limited. Incorrect wiring could lead to malfunctions in other devices, posing a significant human error risk.
[0073] 3) The result requires human judgment;
[0074] Testing personnel need to have a deep understanding of the principles and judge whether the wiring is correct based on the phenomenon of voltage changing with current. If the personnel do not understand enough or make a mistake in judgment, they may not be able to detect the wiring error in time, which may cause the equipment to become unusable or the card to burn out.
[0075] 4) It takes a long time;
[0076] The testing process requires wiring the signal generator / multimeter, manually changing the wiring direction, and human judgment, which takes a relatively long time, about 30 minutes. Approximately 200 solenoid valve-related maintenance tasks are performed annually, consuming 100 hours per person.
[0077] In view of this, this application provides a wiring detection device and method. The device alternately applies a first polarity voltage and a second polarity voltage to the circuit under test, which includes an inductor and a unidirectional conductive device, through a voltage polarity switching circuit. It also collects the corresponding first and second voltages, and then a control circuit automatically determines the wiring status of the circuit under test based on the amplitude difference between the first and second voltages. Therefore, this device can achieve rapid, accurate, and automated detection of wiring status, which helps avoid equipment burnout due to wiring errors and significantly improves detection efficiency and safety.
[0078] The following is in conjunction with the appendix Figure 3 and Figure 4 The working principle of the wiring detection device of this application is introduced as follows:
[0079] The testing process of the wiring testing device in this application includes the following:
[0080] Step 1: Forward output voltage and measure the voltage using the diode's piecewise linear equivalent circuit, such as... Figure 3 As shown.
[0081] The resistance R of different types of solenoid valve coils is usually between 40 and 150 Ω. When a positive voltage is applied, the current flows through the solenoid valve coil. At this time, unidirectional conducting devices (such as diodes) are in reverse cutoff state, and VD can be measured between V1 and V2.
[0082] Step 2: Invert the output voltage and measure the voltage, using the diode's piecewise linear equivalent circuit, such as... Figure 4 As shown.
[0083] The resistance R of different types of solenoid valve coils is usually between 40 and 150 Ω. When a reverse voltage is applied, the unidirectional conducting device conducts in the forward direction, and the current flows through the unidirectional conducting device. The measured voltage VD is the maximum unidirectional conducting voltage. If the unidirectional conducting device is a diode, VD is around 0.7V.
[0084] The voltage obtained from the above two tests can be used to determine the wiring status of the preferred card interface solenoid valve:
[0085] If the measured voltage is between V1 and V2 when a positive voltage is applied, and the measured voltage is within the conduction voltage range of a unidirectional conducting device when a reverse voltage is applied, then the wiring of the solenoid valve is correct.
[0086] If the measured voltage is within the conduction voltage range of the unidirectional conduction device when a positive voltage is applied, and the measured voltage is between V1 and V2 when a reverse voltage is applied, then it is determined that the unidirectional conduction device connected in parallel with the solenoid valve is reversed.
[0087] If the voltage measured when a forward voltage is applied and the voltage measured when a reverse voltage is applied are both within the short-circuit voltage range, then the solenoid valve circuit is determined to be short-circuited.
[0088] If the voltage measured when a positive voltage is applied and the voltage measured when a reverse voltage is applied are both within the open circuit voltage range, the solenoid valve circuit is determined to be open.
[0089] The following is combined with Figure 5 This application provides a detailed description of a wiring detection device, which is used to detect the wiring status of a circuit under test. The circuit under test includes an inductor coil and a unidirectional conductive device connected in parallel. As mentioned earlier, in the safety-grade DCS application scenario of a nuclear power plant, the circuit under test specifically manifests as a solenoid valve coil circuit with a reverse freewheeling diode connected in parallel.
[0090] like Figure 5 As shown, the wiring detection device provided in this application embodiment includes: a power supply 101, a voltage polarity switching circuit 102, a voltage acquisition circuit 103, and a control circuit 104.
[0091] The power supply 101 is used to provide electrical energy to the entire device.
[0092] For example, the power supply 101 is a portable battery, such as a dry cell battery or a lithium battery. Using a portable battery for power eliminates the need for an external power source, making the device easy to move and operate in complex field environments.
[0093] Optionally, the output voltage of the power supply 101 is designed to match the forward voltage of the unidirectional conductive device (e.g., a diode) and the resistance range of the inductor (e.g., a solenoid valve coil) in the circuit under test, to ensure that a distinguishable voltage characteristic is generated when a voltage is applied. The device is powered by a low-voltage battery, with an output voltage of, for example, 3.3V or 5V.
[0094] The voltage polarity switching circuit 102 is connected between the power supply 101 and the circuit under test, and is used to alternately apply a first polarity voltage and a second polarity voltage to the circuit under test.
[0095] In this embodiment, the first polarity voltage is the positive voltage of the circuit under test, and the second polarity voltage is the reverse voltage of the circuit under test.
[0096] In one possible implementation, the voltage polarity switching circuit 102 includes a control terminal, a voltage input terminal, and a voltage output terminal.
[0097] The voltage input terminal of the voltage polarity switching circuit 102 is connected to the power supply 101, the voltage output terminal is connected to the circuit under test, and the control terminal is connected to the control circuit 104.
[0098] The voltage polarity switching circuit 102 is used to receive the input voltage provided by the power supply and to reverse the polarity of the input voltage according to the control command output by the control circuit 104. For example, if the power supply outputs a positive voltage, and it is necessary to provide a reverse voltage to the circuit under test, the bidirectional conduction switching network is controlled to reverse the positive voltage and output a reverse voltage.
[0099] For example, the voltage polarity switching circuit 102 can be implemented using an H-bridge driver chip, such as the RZ7889 chip. This chip has two logic input terminals. When different logic level combinations are received, different pairs of switches in the H-bridge are turned on, thereby reversing the positive and negative terminals of the output terminals, thus applying a positive or reverse voltage to the circuit under test. The H-bridge driver chip has low output internal resistance and a small standby current, typically less than 2μA, which helps reduce energy loss and extend the operating time of battery-powered devices.
[0100] Alternatively, the voltage polarity switching circuit 102 can also be constructed from discrete metal-oxide-semiconductor field-effect transistors (MOSFETs), such as four N-channel MOSFETs forming a full-bridge structure, which can also achieve the switching control of the output voltage polarity.
[0101] The voltage acquisition circuit 103 is connected between the voltage polarity switching circuit 102 and the control circuit 104. It is used to acquire the first voltage of the circuit under test when the voltage polarity switching circuit 102 applies a first polarity voltage to the circuit under test, and to acquire the second voltage of the circuit under test when the voltage polarity switching circuit 102 applies a second polarity voltage to the circuit under test.
[0102] For example, voltage acquisition circuit 103 may include a voltage acquisition network and an analog-to-digital converter (ADC). The voltage acquisition network acquires the voltage across the circuit under test and transmits it to the ADC, which converts it into a digital signal and transmits it to control circuit 104. In another possible implementation, if control circuit 104 itself integrates an ADC module, voltage acquisition circuit 103 may only include a voltage acquisition network, whose output is directly connected to the ADC input pin of control circuit 104.
[0103] The command output terminal of the control circuit 104 is connected to the voltage polarity switching circuit 102, the signal input terminal is connected to the voltage acquisition circuit 103, and the output terminal is connected to the indicator.
[0104] The control circuit 104 is used to determine the wiring status of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage.
[0105] In one possible implementation, the control circuit 104 is specifically used to: compare the amplitude relationship between the first voltage and the second voltage; if the amplitude relationship meets a preset asymmetry threshold condition, output a first state indicator indicating that the wiring is correct; if the amplitude relationship does not meet the asymmetry threshold condition, output a second state indicator indicating that the wiring is abnormal.
[0106] In another possible implementation, the process by which the control circuit 104 determines whether the amplitude relationship meets the preset asymmetric threshold condition is as follows:
[0107] When the first voltage is in the first voltage range and the second voltage is in the second voltage range, it is determined that the asymmetric threshold condition is met and the wiring of the circuit under test is normal.
[0108] When the first voltage is in the second voltage range and the second voltage is in the first voltage range, the wiring state is determined to be reverse connection of a unidirectional conductive device.
[0109] When both the first voltage and the second voltage are within the short-circuit voltage range, the circuit under test is determined to be short-circuited; when both the first voltage and the second voltage are within the open-circuit voltage range, the circuit under test is determined to be open-circuited.
[0110] The first voltage range is the voltage range of the inductor coil. For example, when a positive voltage is applied, the voltage drops mainly across the inductor coil. Since the coil resistance is typically between 40Ω and 150Ω, and the supply voltage is, for example, 5V, the measured first voltage is a relatively high value, for example, between 3V and 5V.
[0111] The second voltage range is the forward voltage range of a unidirectional conductive device (such as a diode). For example, when a reverse voltage is applied, the voltage across the diode is clamped at a low voltage of approximately 0.7V because the diode is forward-biased; therefore, the measured second voltage is approximately 0.5V to 1.0V. The short-circuit voltage range indicates a near-zero voltage drop, for example, less than 0.1V. The open-circuit voltage range indicates a higher voltage value close to the supply voltage 101, for example, greater than 4.5V (when the supply voltage is 5V).
[0112] For example, the control circuit 104 can be implemented using a microcontroller, such as the STC15W408AS. This microcontroller uses a 1T (single-cycle) 8051 core, operates within a voltage range of 2.0V to 5.5V, provides eight independent ADC input channels with a 10-bit resolution, and a conversion speed of up to 300,000 conversions per second. The built-in ADC module of this microcontroller can be used as part of the voltage acquisition circuit 103 to directly read the digital voltage value and perform the aforementioned comparison and judgment through internal logic.
[0113] The wiring detection device provided in this embodiment integrates a power supply, control circuit, voltage polarity switching circuit, and voltage acquisition circuit to construct a dedicated wiring detection device. This device can automatically complete the entire process of applying forward and reverse voltage, acquiring voltage, and making logical judgments, eliminating the need for manual wiring switching and the use of multiple instruments by testing personnel. This avoids human-caused risks associated with disconnecting wiring and simplifies the operation process. Compared to the complex process requiring manual judgment in existing technologies, this device achieves automatic, objective, and accurate output of test results, greatly shortening the testing time from 30 minutes to seconds, and fundamentally eliminating the safety hazard of burnt-out optimization cards due to testing errors.
[0114] Please see Figure 6 The diagram shows a schematic block diagram of another wiring detection device provided in this application embodiment. The difference from the first embodiment is that the device may also include at least one of a status indicator device 201, an audio prompt device 202, and a detection terminal pair, so as to further improve the ease of use and human-computer interaction experience.
[0115] The status indicator 201 is connected to the control circuit 104 and is used to display the corresponding color according to the wiring status output by the control circuit 104.
[0116] For example, the status indicator 201 includes a multi-color light-emitting diode, such as an RGB tri-color LED. After determining different wiring states, the control circuit 104 outputs different level combination signals to the status indicator 201. For example, when the wiring is determined to be normal, a control signal is output to make the RGB LED display green; when the wiring is determined to be abnormal, such as reverse connection, short circuit, or open circuit of a unidirectional conductive device, it displays red.
[0117] Optionally, since RGB LEDs can display multiple colors, different colors can be configured for different types of faults. For example, a diode can display yellow when reverse-connected, blue when short-circuited, and purple when open-circuited, allowing inspectors to quickly distinguish the cause of the fault. Using multi-color LEDs as status indicators has the advantages of low power consumption, high brightness, low cost, and clear results, avoiding the need for complex and power-consuming displays.
[0118] The sound prompt device 202 is connected to the control circuit 104 and is used to trigger a prompt sound corresponding to the wiring status after the control circuit 104 completes the determination of the wiring status.
[0119] For example, the sound prompting device 202 includes a buzzer and its driving circuit. After the control circuit 104 completes a test and obtains the wiring status, it can control the buzzer to emit a short "beep" sound to remind the tester that the test has ended and that the result of the status indicator device 201 can be viewed.
[0120] Optionally, the buzzer can be controlled to emit sounds of different lengths or frequencies to indicate different results, such as normal wiring and abnormal wiring. For example, a short beep can be emitted when the wiring is normal, while two short beeps or a continuous long beep can be emitted when the wiring is abnormal. This allows the test results to be known without visual inspection, which is beneficial for use in dimly lit or confined spaces.
[0121] The detection terminal pair includes a positive terminal and a negative terminal for detachable electrical connection to the circuit under test. The voltage polarity switching circuit 102 is coupled to the circuit under test via this detection terminal pair.
[0122] For example, the test terminal pair can be a probe with an insulating sheath or a standard plug. Before testing, the tester simply clamps or contacts the positive and negative terminals onto the two terminals of the solenoid valve coil under test to complete the electrical connection. This detachable connection method allows the device to be flexibly applied to multiple test points, and the connection operation is quick and secure.
[0123] The wiring detection device provided in this embodiment integrates a multi-color LED status indicator 201 and a buzzer sound prompt device, which transforms the abstract voltage comparison result into intuitive visual and auditory signals, significantly reducing the operating threshold for operators and enabling even operators without knowledge of circuit principles to accurately obtain detection conclusions.
[0124] Furthermore, by incorporating detachable test terminal pairs, the connection between the device and the circuit under test is further optimized, improving the convenience and safety of the testing operation. These additional modules work together to make the entire testing process more efficient and user-friendly, facilitating the rapid and reliable completion of numerous testing tasks in complex field environments.
[0125] The wiring detection device provided in the embodiments of this application has been described above. The wiring detection method provided in the embodiments of this application will be described below with reference to the accompanying drawings.
[0126] Please see Figure 7 The diagram illustrates a flowchart of a wiring detection method provided in an embodiment of this application, applied to the aforementioned wiring detection device. The method may include the following steps:
[0127] S101, the control voltage polarity switching circuit applies a first polarity voltage to the circuit under test, and the voltage acquisition circuit acquires the first voltage of the circuit under test.
[0128] For example, the execution subject of this method is the control circuit 104 (such as a microcontroller) in the wiring detection device. The control circuit 104 sends a first polarity control command to the voltage polarity switching circuit 102 (such as an H-bridge driver chip) through its I / O port.
[0129] After receiving the instruction, the voltage polarity switching circuit 102 turns on the corresponding switch inside it, so that the output terminal outputs the first polarity voltage (e.g., positive voltage) to the circuit under test.
[0130] At this time, the voltage acquisition circuit 103 samples and performs analog-to-digital conversion on the voltage across the circuit under test, and feeds back the converted digital value as the first voltage to the control circuit 104.
[0131] S102 controls the voltage polarity switching circuit to apply a second polarity voltage to the circuit under test, and acquires the second voltage of the circuit under test through the voltage acquisition circuit.
[0132] For example, control circuit 104 sends a second polarity control command to voltage polarity switching circuit 102. Voltage polarity switching circuit 102 responds to the command by reversing the polarity of its output voltage, applying a second polarity voltage (e.g., a reverse voltage) to the circuit under test. Voltage acquisition circuit 103 samples and converts the voltage again, feeding back the resulting digital value as the second voltage to control circuit 104.
[0133] S103, based on the amplitude difference characteristics of the first voltage and the second voltage, determines the wiring status of the circuit under test.
[0134] In one possible implementation, the amplitude relationship between the first voltage and the second voltage is compared; if the amplitude relationship meets a preset asymmetry threshold condition, a first state indicator indicating correct wiring is output; if the amplitude relationship does not meet the asymmetry threshold condition, a second state indicator indicating abnormal wiring is output.
[0135] More specifically, the first polarity voltage is the forward voltage of the circuit under test, and the second polarity voltage is the reverse voltage of the circuit under test. The specific logic for determining whether the amplitude relationship meets the preset asymmetry threshold condition, i.e., determining the wiring state, is as follows:
[0136] When the first voltage is in the first voltage range and the second voltage is in the second voltage range, it is determined that the asymmetric threshold condition is met and the wiring of the circuit under test is normal.
[0137] When the first voltage is in the second voltage range and the second voltage is in the first voltage range, the wiring state is determined to be reverse connection of a unidirectional conductive device.
[0138] When both the first voltage and the second voltage are within the short-circuit voltage range, the circuit under test is determined to be short-circuited.
[0139] When both the first voltage and the second voltage are within the open circuit voltage range, the circuit under test is determined to be open.
[0140] The first voltage range is the voltage range of the inductor coil, which is close to but slightly lower than the voltage of the power supply 101 (because the coil resistance consumes some voltage); the second voltage range is the conduction voltage range of a unidirectional conductive device (e.g., a diode), typically around 0.7V or varying depending on the specific diode model; the short-circuit voltage range indicates a very small voltage value close to 0V (e.g., less than 0.1V); and the open-circuit voltage range indicates a higher voltage value close to the voltage of the power supply 101 (e.g., greater than 90% of the supply voltage). The control circuit 104 internally stores threshold values for these voltage ranges. By comparing the first voltage, the second voltage, and these threshold values, the accurate wiring status can be determined.
[0141] The wiring detection method provided in this embodiment identifies the correct connection relationship between inductors and unidirectional conductive devices in the circuit under test by applying two voltages of different polarities sequentially and acquiring the corresponding voltages, based on the inherent asymmetry of their amplitudes. This method utilizes the different impedance characteristics exhibited by inductors and unidirectional conductive devices under forward and reverse voltage excitation (inductors exhibit linear resistance, while diodes exhibit nonlinear unidirectional conduction), thereby accurately distinguishing between various states such as normal wiring, reverse diode connection, short circuit, and open circuit. This method is simple in steps, has clear judgment logic, and requires no manual intervention or judgment, which is conducive to the automation, standardization, and rapid acceleration of wiring detection, fundamentally ensuring the wiring safety of the selection card and its controlled solenoid valves and other actuators in the safety-grade DCS system of nuclear power plants.
[0142] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the wiring detection methods provided in this application.
[0143] This application also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the wiring detection methods provided in this application.
[0144] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0145] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0146] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0147] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A wiring detection device, characterized in that, This device is used to detect the wiring status of a circuit under test, wherein the circuit under test includes an inductor coil and a unidirectional conductive device connected in parallel, and the device includes: a power supply, a control circuit, a voltage polarity switching circuit, and a voltage acquisition circuit. The voltage polarity switching circuit is connected between the power supply and the circuit under test, and is used to alternately apply a first polarity voltage and a second polarity voltage to the circuit under test; The voltage acquisition circuit is connected between the voltage polarity switching circuit and the control circuit, and is used to acquire the first voltage of the circuit under test when the voltage polarity switching circuit applies a first polarity voltage to the circuit under test, and to acquire the second voltage of the circuit under test when the voltage polarity switching circuit applies a second polarity voltage to the circuit under test. The control circuit is used to determine the wiring status of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage.
2. The wiring detection device according to claim 1, characterized in that, The control circuit is used to determine the wiring status of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage, specifically for: Compare the amplitude relationship between the first voltage and the second voltage; If the amplitude relationship satisfies the preset asymmetric threshold condition, then output a first state identifier indicating that the wiring is correct; If the amplitude relationship does not meet the asymmetric threshold condition, a second state identifier representing a wiring abnormality is output.
3. The wiring detection device according to claim 1, characterized in that, The first polarity voltage is the positive voltage of the circuit under test, and the second polarity voltage is the reverse voltage of the circuit under test; When the control circuit is used to determine whether the amplitude relationship meets the preset asymmetry threshold condition, it is specifically used for: When the first voltage is in the first voltage range and the second voltage is in the second voltage range, it is determined that the asymmetric threshold condition is met and the wiring of the circuit under test is normal. When the first voltage is in the second voltage range and the second voltage is in the first voltage range, the wiring state is determined to be the reverse connection of the unidirectional conductive device; When both the first voltage and the second voltage are within the short-circuit voltage range, the circuit under test is determined to be short-circuited. When both the first voltage and the second voltage are within the open circuit voltage range, the circuit under test is determined to be open circuit. Wherein, the first voltage range is the voltage range of the inductor coil, and the second voltage range is the conduction voltage range of the unidirectional conductive device.
4. The wiring detection device according to any one of claims 1-3, characterized in that, The voltage polarity switching circuit includes a control terminal, a voltage input terminal, and a voltage output terminal. The control terminal is connected to the control circuit to receive polarity control commands. The voltage input terminal is connected to the power supply, and the voltage output terminal is connected to the circuit under test. In response to the polarity control commands, the voltage polarity of the voltage output terminal is controlled to flip.
5. The wiring detection device according to any one of claims 1-3, characterized in that, The device further includes: a status indicator and / or an audio prompt device; The status indicator includes a multi-color light-emitting diode, which is used to display the corresponding color according to the wiring status output by the control circuit; The sound prompting device includes a buzzer, which is used to trigger a prompting sound corresponding to the wiring status after the control circuit completes the determination of the wiring status.
6. The wiring detection device according to any one of claims 1-3, characterized in that, The device also includes a pair of detection terminals; The detection terminal pair includes a positive terminal and a negative terminal, which are used for detachable electrical connection to the circuit under test. The voltage polarity switching circuit is coupled to the circuit under test via the detection terminal.
7. The wiring detection device according to any one of claims 1-3, characterized in that, The power supply is a portable battery.
8. A wiring detection method, characterized in that, The method, applied to the wiring detection device according to any one of claims 1-7, comprises: The voltage polarity switching circuit is controlled to apply a first polarity voltage to the circuit under test, and the first voltage of the circuit under test is acquired by the voltage acquisition circuit. The voltage polarity switching circuit is controlled to apply a second polarity voltage to the circuit under test, and the second voltage of the circuit under test is acquired by the voltage acquisition circuit. Based on the amplitude difference characteristics of the first voltage and the second voltage, the wiring status of the circuit under test is determined.
9. The method according to claim 8, characterized in that, Determining the wiring status of the circuit under test based on the amplitude difference characteristics of the first voltage and the second voltage includes: Compare the amplitude relationship between the first voltage and the second voltage; If the amplitude relationship satisfies the preset asymmetric threshold condition, then output a first state identifier indicating that the wiring is correct; If the amplitude relationship does not meet the asymmetric threshold condition, a second state identifier representing a wiring abnormality is output.
10. The method according to claim 9, characterized in that, The first polarity voltage is the positive voltage of the circuit under test, and the second polarity voltage is the reverse voltage of the circuit under test; The process of determining whether the amplitude relationship satisfies a preset asymmetric threshold condition includes: When the first voltage is in the first voltage range and the second voltage is in the second voltage range, it is determined that the asymmetric threshold condition is met and the wiring of the circuit under test is normal. When the first voltage is in the second voltage range and the second voltage is in the first voltage range, the wiring state is determined to be the reverse connection of the unidirectional conductive device; When both the first voltage and the second voltage are within the short-circuit voltage range, the circuit under test is determined to be short-circuited. When both the first voltage and the second voltage are within the open circuit voltage range, the circuit under test is determined to be open circuit. Wherein, the first voltage range is the voltage range of the inductor coil, and the second voltage range is the conduction voltage range of the unidirectional conductive device.
