Circuit fault detection control method, device and system based on ammeter
The DC power supply and current voltmeter are connected through the standard protocol interface to realize the circuit fault detection and control method, which solves the problem that the oscilloscope cannot issue control instructions and reproduce the signal sampling process in the prior art, and realizes the rich control of circuit fault detection and the reproduction of signal sampling process, without the need to build an additional detection environment, which is convenient for review and teaching cases.
Patent Information
- Application Number
- CN202510039674.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-04-18
AI Technical Summary
In the current technology, in the circuit fault detection of digital product, the oscilloscope cannot issue control instructions to the lower computer, the interface is not convenient for data collection of different types of sensors, which increases hardware costs, and cannot reproduce the signal sampling process, resulting in cumbersome construction of the detection environment and difficulty in making teaching cases.
Connect the DC power supply and the current voltmeter through the standard protocol interface to realize the circuit fault detection and control method, respond to the user-triggered maintenance mode, start the power supply, receive the detection signal, draw the waveform, and extract and return the reproduced signal according to the data playback instructions to reproduce the acquisition process of the current voltmeter.
It realizes rich control of circuit fault detection, reproduces the signal sampling process, and does not require an additional detection environment, which facilitates maintenance personnel to review the inspection process and create teaching cases, reducing the cumbersomeness of users and the workload of detection and reproduction.
Smart Images

Figure CN119846431A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital product maintenance instruments and meters, and in particular to a circuit fault detection control method, device and system based on an ammeter. Background Art
[0002] When repairing digital products (such as mobile phones, tablets, computers and other terminal devices with circuit boards), it is usually necessary to use various maintenance tools, such as maintenance power supplies, current and voltage meters, and other instruments for electrical testing. Taking the power-on test as an example, the maintenance power supply is used to power the digital product, while the ammeter and voltmeter are used to monitor and measure the changes in current and voltage, thereby helping maintenance personnel to determine the cause of the circuit board's failure and operating status.
[0003] In the prior art, maintenance personnel often rely on oscilloscopes to synchronously display the signals collected by different sensors. As a precision test instrument, the oscilloscope can provide accurate data analysis, but it cannot issue control instructions to the lower computer. In terms of interfaces, oscilloscopes usually use dedicated interfaces to receive data, which is not only inconvenient for data collection of different types of sensors, but also increases the hardware cost of users purchasing dedicated interfaces and converters. In addition, the oscilloscope can only replay the waveform of the collected data, and cannot reproduce the signal sampling process. Therefore, it is not conducive to the review of maintenance personnel, nor is it conducive to the preparation of teaching cases. In addition, when making teaching cases, it is necessary to build the detection environment from scratch and re-test, which increases the workload of teaching case guidance.
[0004] Therefore, how to enrich circuit fault detection control, reproduce the signal sampling process, and reduce the detection environment construction process has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] Based on the above situation, the main purpose of the present invention is to provide a circuit fault detection control method, device and system based on an ammeter to enrich the circuit fault detection control, reproduce the signal sampling process, and reduce the detection environment construction process.
[0006] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0007] In a first aspect, an embodiment of the present invention discloses a circuit fault detection control method based on an ammeter, which is applied to a control system. The control system is connected to a DC power supply and an ammeter and a voltmeter signal through a standard protocol interface. The method includes:
[0008] Step S100, in response to the maintenance mode triggered by the user, sending a power start signal to the DC power supply, so that the DC power supply provides a working DC power supply to the circuit board under test;
[0009] Step S200, receiving a detection signal collected by a current and voltage meter and drawing a detection waveform according to a time series, wherein the detection signal is a current signal and / or a voltage signal collected after the circuit board to be tested receives a DC power supply;
[0010] Step S300, extracting the received detection signals in the order of time when the detection signals are received based on the data playback instruction triggered by the user to obtain a reproduced signal;
[0011] Step S400, according to the data playback instruction, the reproduction signal is sent back to the current and voltage meter signal, so that the current and voltage meter displays the reproduction signal in a time series to reproduce the acquisition process of the current and voltage meter to collect the detection signal. During this period, the control system redraws the detection waveform in a time series.
[0012] Optionally, the current and voltage meter has a physical pointer, and the deflection angle of the physical pointer is positively correlated with the current magnitude in the detection signal;
[0013] In step S400, a reproduced signal is fed back to the current and voltage meter signal, so that the physical pointer is deflected according to the signal strength of the reproduced signal in a time series, wherein the signal strength of the reproduced signal represents the current size in the detection signal.
[0014] Optionally, between step S200 and step S300, the following steps are further included:
[0015] Acquire a playback target selected by a user, where the playback target is at least a portion of a waveform selected by the user on the detection waveform;
[0016] Step S300 includes: extracting a detection signal corresponding to the waveform range according to the waveform range determined by the playback target to obtain a reproduced signal.
[0017] Optionally, before step S200, the method further includes:
[0018] Between connecting the detection device and the circuit board to be tested, obtaining a reset trigger event triggered by the user;
[0019] In response to the clear trigger event, a clear instruction is sent to the current and voltage meter to perform a clear operation on the sampled data of the current and voltage meter.
[0020] Optionally, it also includes:
[0021] Step S510, obtaining a reference waveform representing reference data of the circuit board to be tested;
[0022] Step S520: display the reference waveform and the detection waveform on the same screen.
[0023] Optionally, between step S510 and step S520, the following steps are further included:
[0024] Step S530, obtaining a first starting sampling point and a second starting sampling point, wherein the first starting sampling point is a starting sampling point when the waveform of the detection waveform is stable, and the second starting sampling point is a starting sampling point when the waveform of the reference waveform is stable;
[0025] Step S540, comparing the starting time of the first starting sampling point and the starting time of the second starting sampling point;
[0026] Step S550, deleting part of the waveform to align the starting point of the detection waveform with the starting point of the reference waveform, specifically:
[0027] When the starting time of the first starting sampling point is later than the starting time of the second starting sampling point, the waveform from the second starting sampling point to the first starting sampling point is deleted from the reference waveform, and the reference waveform after the deleted part of the waveform is displayed;
[0028] When the start time of the second start sampling point is later than the start time of the first start sampling point, the waveform from the first start sampling point to the second start sampling point is deleted from the detection waveform, and the detection waveform after the deleted part of the waveform is drawn and displayed.
[0029] Optionally, during the execution of step S200, the following steps are further included:
[0030] Get the drag event of the user dragging the timeline, which represents the time sequence;
[0031] In response to the drag event, the detection signal is received in time series, the waveform drawing after the drag event occurs is suspended, and the detection signal of the undrawn waveform is continuously drawn in time series after the drag event ends.
[0032] In a second aspect, an embodiment of the present invention discloses a circuit fault detection control device based on an ammeter, which is applied to a control system. The control system is connected to a DC power supply and an ammeter and a voltage meter signal through a standard protocol interface. The device includes:
[0033] A maintenance trigger module, used to respond to the maintenance mode triggered by the user and send a power start signal to the DC power supply so that the DC power supply provides a working DC power supply to the circuit board under test;
[0034] A waveform drawing module is used to receive the detection signal collected by the current and voltage meter and draw the detection waveform according to the time series, the detection signal is the current signal and / or voltage signal collected after the circuit board to be tested receives the DC power supply;
[0035] A reproducing signal extraction module is used to extract the received detection signal in the time sequence of receiving the detection signal based on the data playback instruction triggered by the user to obtain a reproducing signal;
[0036] The acquisition and reproduction module is used to transmit the reproduction signal back to the current and voltage meter signal according to the data playback instruction, so that the current and voltage meter can display the reproduction signal in a time series to reproduce the acquisition process of the current and voltage meter to collect the detection signal. During this period, the control system redraws the detection waveform according to the time series.
[0037] In a third aspect, an embodiment of the present invention discloses a computer-readable storage medium having a computer program stored thereon, wherein the computer program stored in the storage medium is used to be executed by a processor to implement the method disclosed in the first aspect above.
[0038] In a fourth aspect, an embodiment of the present invention discloses a circuit fault detection and control system based on an ammeter, comprising:
[0039] A DC power supply, used to provide a working DC power supply to the circuit board under test;
[0040] An ammeter and a voltmeter, used to collect electrical signals from the circuit board to be tested to obtain a detection signal; and
[0041] The processor executes the program to implement the method disclosed in the first aspect above.
[0042] Beneficial effects:
[0043] According to a circuit fault detection control method, device and system based on an ammeter disclosed in an embodiment of the present invention, compared with a dedicated interface method, in the present application, the control system is respectively connected to the DC power supply and the current and voltage meter signals through a standard protocol interface, so that the control system can be compatible with lower computer devices with standard interfaces (such as USB, COM, etc.), that is, the control system can link the DC power supply, the current and voltage meter and other lower computer devices for linkage detection and control, and respond to the maintenance mode triggered by the user, so that the DC power supply provides a working DC power supply to the circuit board to be tested, receives the detection signal collected by the current and voltage meter, and draws the detection waveform according to the time series. After the user triggers the playback instruction, the detection signal is extracted in chronological order to obtain a reproduced signal, and the reproduced signal is returned to the current and voltage meter, so that the current and voltage meter displays the reproduced signal according to the time series, thereby being able to reproduce the acquisition process of the current and voltage meter. During this period, the control system redraws the detection waveform according to the time series, which is convenient for maintenance personnel to review the detection process without the need to build an additional detection environment; as an application scenario of a teaching case, there is no need to build an additional detection environment, and the detection process can be intuitively displayed, thereby improving the teaching effect. It can be seen that the solution of the present invention not only enriches the control of circuit fault detection, but also enables users to control the DC power supply and the current and voltage meter through only one operation interface, reducing the complexity of user operations; moreover, it can reproduce the signal sampling process without the need to set up an additional detection environment, reducing the workload of detection reproduction and facilitating users to review the detection process.
[0044] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The embodiments of the present invention will be described below with reference to the accompanying drawings.
[0046] Figure 1 A schematic diagram of the structure of a circuit fault detection and control system based on an ammeter proposed in this embodiment;
[0047] Figure 2 This is a schematic diagram of an example of a control system host computer interface disclosed in this embodiment;
[0048] Figure 3 This is a flow chart of a circuit fault detection control method based on an ammeter disclosed in this embodiment;
[0049] Figure 4 This is a schematic diagram of the structure of a circuit fault detection control device based on an ammeter disclosed in this embodiment. DETAILED DESCRIPTION
[0050] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. In order to avoid confusing the essence of the present invention, known methods, processes, procedures, and components are not described in detail.
[0051] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0052] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprising" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".
[0053] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0054] In order to enhance the control accuracy of circuit fault detection and simplify the signal acquisition process and the construction of the detection environment, this embodiment proposes a circuit fault detection control method based on an ammeter. Figure 1, which shows a schematic diagram of the circuit fault detection control system based on an ammeter proposed in this embodiment. The system includes a control system 100, a DC power supply 101 and an ammeter 102, wherein the control system 100 is connected to the DC power supply 101 and the ammeter 102 by signals through a standard protocol interface. In this embodiment, the standard protocol interface can be a common standard communication interface such as a COM port and a USB port. Figure 2 As shown, the user can select different interface types in the standard protocol interface area, such as the "COM3" interface; in actual operation, the user can select the interface type through the drop-down box or by clicking the tile option.
[0055] Compared with an oscilloscope system using a dedicated interface, the control system 100 of this embodiment can support connection with a variety of lower-level devices through a standard protocol interface, and can not only receive data collected by the lower-level device, but also send control instructions to the lower-level device.
[0056] In some embodiments, in order to enrich the linkage control function of the control system 100, the control system 100 can also exchange data with the thermal imaging control system 200 to achieve linkage detection and thermal imaging control. In the specific implementation process, the control system 100 and the thermal imaging control system 200 can be on the same terminal or on different terminal devices, as long as the two can achieve data exchange. Please refer to Figure 1 The thermal imaging control system 200 controls the thermal imaging device 201 to perform thermal imaging on the circuit board to be tested, so as to determine the abnormal temperature area of the circuit board to be tested.
[0057] See also Figure 2 , Figure 2 is an example of the control system host computer interface in this embodiment. In this interface, the user can realize the communication between the control system 100 and the thermal imaging control system 200 by clicking the "Thermal Imaging Synchronization" button. After selecting this button, the control system 100 and the thermal imaging control system 200 can exchange data according to the communication protocol between the systems; if this button is not selected, the data connection between the two is disconnected.
[0058] The circuit fault detection control method based on an ammeter disclosed in this embodiment is applied to the control system 100. Please refer to Figure 3 , Figure 3 This is a flow chart of a circuit fault detection control method based on an ammeter disclosed in this embodiment. The circuit board circuit fault detection method includes: step S100, step S200, step S300 and step S400, wherein:
[0059] Step S100, in response to the maintenance mode triggered by the user, a power start signal is sent to the DC power supply, so that the DC power supply provides a working DC power to the circuit board under test.
[0060] In this embodiment, the DC power supply is used to provide the required DC power to the circuit board to be tested, so as to realize the power-on test of the circuit board. Figure 1 , the DC power supply 102 can provide power to the outside through the power output port 102A. Specifically, the control system 100 is connected to the DC power supply 101 by signals through the standard protocol interface, and the user can control the start and stop of the DC power supply through the control system 100, specifically, by sending start and stop instructions through the standard protocol interface.
[0061] In an optional embodiment, the user can also configure the working mode of the DC power supply through the control system 100. Specifically, the control system 100 first obtains the target configuration parameter information input by the user, and then sends the target configuration parameter information to the DC power supply in response to the trigger signal selected by the user, so that it works in the mode corresponding to the selected configuration parameter. The specific operation is as follows:
[0062] See also Figure 2 , the user can enter the target configuration parameters of the DC power supply working mode in the mode configuration area. Figure 2 The mode configuration area in the example includes options such as "mode" (e.g., DC power mode), "preset" (preset output power level), and "frequency". The user can enter the required configuration parameters by clicking and selecting. After the user selects the target configuration parameters, the control system 100 will obtain and confirm these parameters, thereby reducing the risk of errors in manual input by the user and ensuring that the configured parameters are directly associated with the DC power supply 101.
[0063] In order to avoid the complexity of manual adjustment, the present embodiment configures the DC power supply by controlling the system 100, so as to realize the working mode configuration more accurately. The user can click a trigger button in the mode configuration area, such as "Start according to the above settings", to trigger and send the corresponding target configuration parameters to the DC power supply, so that it works in the selected mode.
[0064] In order to further improve the convenience of operation and shorten the adjustment time, this embodiment supports the preset mode function. The user can configure multiple working modes in the control system in advance and directly call the corresponding preset parameters when using it. For example, see Figure 2 The constant current mode, constant voltage mode and over-current protection mode (represented as "CC", "CV" and "OCP" respectively) are preset in the configuration area. Users only need to click the required mode to call up and apply the parameter configuration in that mode, and configure the target power mode with one click, thereby reducing the time for manual adjustment.
[0065] In addition, the control system can also preset multiple voltage levels in the configuration area (such as "1.8V", "4.2V", "5.8V", "8.2V", "15V", "24V", etc.). Users only need to click to select the corresponding level to retrieve and apply the configuration parameters of the voltage level, thereby realizing one-click configuration of the voltage amplitude of the DC power supply, further simplifying the operating steps of the power supply configuration.
[0066] In the embodiment of integrated thermal imaging control function, see Figure 2 When the user selects the "thermal imaging synchronization" button, the control system 100 can be linked with the thermal imaging control system to automatically perform thermal imaging operations without the user having to operate the thermal imaging system additionally.
[0067] In order to help users locate the temperature abnormality area more quickly and intuitively, this embodiment provides a method to quickly lock the temperature abnormality by intermittently supplying power to the DC power supply. When configuring the target configuration parameters, the user can set the on-off frequency of the DC power supply to make it work in the intermittent power supply mode, that is, switch between power on and power off at the set on-off frequency. At this time, the thermal imaging device will perform thermal imaging according to the set on-off frequency. See Figure 2 , there is a "Flash Power" button in the mode configuration area. The user first sets the on-off frequency of the DC power supply (for example, 0.5 seconds), and then when the user triggers the "Flash Power" button, the DC power supply starts to switch between the on and off states according to the set frequency.
[0068] When the temperature abnormality area is small or not obvious, it may be difficult to visually find the color abnormality area in the static thermal imaging image. This intermittent power supply mode enables the thermal imaging device to capture images at a set frequency. When a temperature abnormality occurs at a point in the area to be tested, the point will appear as a flashing red bright spot in the thermal imaging image, thus achieving a "flashing" effect. This method can help users quickly and intuitively lock the temperature abnormality area and improve the efficiency of fault diagnosis.
[0069] Step S200, receiving the detection signal collected by the current and voltage meter and drawing the detection waveform according to the time series.
[0070] In this embodiment, the detection signal is the current signal and / or voltage signal collected after the circuit board to be tested receives the DC power supply. Specifically, after the DC power supply provides the circuit board with DC power, the current and voltage meter will collect the current and voltage signals on the circuit board. Figure 2In practical applications, the control system can display the collected detection waveform in the waveform area. The horizontal axis in the figure represents time (i.e., time series), such as "9.475S", "9.48S" and "9.485S"; the vertical axis represents the current or voltage value collected at these time points, where the left vertical axis indicates the current (unit: mA) and the right vertical axis indicates the voltage (unit: V). Figure 2 In the example, the black wavy line represents the current waveform formed by the current signal, and the dot-dash line represents the voltage waveform formed by the voltage signal.
[0071] It should be noted that Figure 2 The waveforms in the figure are for illustration only. The actual waveforms and values may differ from the examples and do not limit the solution of this embodiment.
[0072] Step S300 : extracting the received detection signals in the order of time in which the detection signals are received based on the data playback instruction triggered by the user to obtain a reproduced signal.
[0073] Please refer to Figure 2 , a button such as "playback" can be integrated on the host computer interface to represent the playback instruction. When the user triggers the "playback" button, the data playback instruction is obtained. In this embodiment, based on the data playback instruction triggered by the user, the control system can extract relevant signals according to the time sequence of the received detection signals, thereby reproducing the previously collected detection data and generating a reproduction signal. Specifically, the user triggers the data playback instruction by operating the control system, and the instruction notifies the system to start the playback process. After receiving the playback instruction, the system background will first sort all relevant signals in chronological order according to the timestamps of the previously stored detection signals. Each detection signal usually contains timestamp information, which is used to determine the order of signal acquisition.
[0074] According to these timestamps, each signal is extracted from the stored detection signal in turn, and the original signal stream is reconstructed based on the extracted signal data. This process ensures that the playback of the signal strictly follows the original acquisition order, so that the reproduced signal can faithfully reflect the signal waveform actually acquired at that time.
[0075] The replay signal is composed of all the data points extracted during the playback process. These signal points are arranged in order on the time axis to form a complete detection waveform. On this basis, users can view the replayed signal data, analyze the signal changes in different time periods, and then perform troubleshooting, performance evaluation or other analysis operations.
[0076] In short, step S300 ensures the accuracy and consistency of data playback, allowing the user to view and analyze the previously acquired detection signals in the original time sequence.
[0077] Step S400, according to the data playback instruction, the reproducing signal is transmitted back to the current and voltage meter signal, so that the current and voltage meter displays the reproducing signal in a time series, so as to reproduce the acquisition process of the current and voltage meter to collect the detection signal. During this period, the control system redraws the detection waveform in a time series. The details are as follows:
[0078] 1. Send the reproduced signal back to the current and voltage meter
[0079] In step S300, the control system 100 has extracted and generated the reproduction signal according to the time sequence. When the user triggers the data playback command, the control system will transmit these reproduction signals back to the current and voltage meter in the time sequence. This transmission process is based on the communication protocol and interface of the current and voltage meter, and usually realizes data transmission through a standard protocol interface (such as USB, COM port, etc.).
[0080] 2. The current and voltage meter displays the reproduced signal in time series
[0081] Once the current and voltage meter receives these transmitted reproduced signals, it will display the signals in the order of the original acquisition time according to the timestamp information contained in the signals. The display interface of the current and voltage meter will show the changes of these signals on the time axis, and the user can intuitively see the fluctuations of the signals over time, thereby reproducing the actual situation of the collected signals at that time. This step actually "plays back" the previously collected real-time signal data on the current and voltage meter to help users observe and analyze the changes in the signals.
[0082] 3. Reproduce the acquisition process of the current and voltage meter
[0083] By returning the signal in time sequence, the current and voltage meter not only displays the value of the signal, but also reproduces the entire dynamic process of collecting the signal. The user can see the real-time process of the signal change, just as when the data was collected. In this way, the current and voltage meter seems to have re-experienced the process of signal collection, which helps the user to review the test status at that time. Especially when troubleshooting problems or analyzing signal changes, by reproducing this process, it can help users review the detection and testing process and conduct case teaching.
[0084] 4. The control system redraws the detection waveform
[0085] During the current and voltage meter re-collection process, the control system can re-draw the detection waveform in time sequence according to the reproduced signal transmitted back to the current and voltage meter. At this time, the control system will dynamically generate a new waveform diagram through the drawing tool based on the data points and time sequence of the signal. This process includes real-time updating of the signal waveform in the waveform display area of the control system, with the horizontal axis representing time and the vertical axis representing the current or voltage. The waveform will be gradually drawn as the data is played back.
[0086] 5. Ensure the accuracy of the reproduction process
[0087] During the whole process, the control system constantly monitors the signal feedback to ensure that the data is accurately transmitted to the current and voltage meter, and the waveform is drawn strictly in chronological order. In this way, the user can observe the same real-time waveform as the current and voltage meter on the control system interface, ensuring the consistency and accuracy of the playback process.
[0088] In summary, step S400 completely reproduces the process of the current and voltage meter collecting and detecting signals by transmitting the reproduced signal back to the current and voltage meter and allowing it to display the signal in time series. At the same time, the control system draws a new waveform diagram based on the transmitted signal to help users clearly review the changes of the signal over time, thereby realizing the playback and analysis of the signal. This makes it easier for users to review the detection and testing process and conduct case teaching.
[0089] In order to facilitate users to grasp the changing trend of current more quickly and accurately, in an optional embodiment, the current and voltage meter has a physical pointer, and the deflection angle of the physical pointer is positively correlated with the current size in the detection signal; in step S400, a reproduction signal is fed back to the current and voltage meter signal to make the physical pointer deflect according to a time series based on the signal strength of the reproduction signal, wherein the signal strength of the reproduction signal represents the current size in the detection signal.
[0090] Specifically, in step S400, when the control system transmits back the playback signal according to the playback command triggered by the user, the current and voltage meter will control the physical pointer to deflect accordingly according to the time series according to the magnitude of the current represented by the signal data. Specifically, the transmitted playback signal contains the intensity information of the current signal at different time points, which determines the angle of the pointer deflection.
[0091] In this embodiment, whenever the control system sends back a new detection signal, the current and voltage meter will adjust the deflection angle of the physical pointer according to the strength of the signal. If the current in the signal is strong, the pointer will deflect a larger angle, and vice versa. In this way, the current and voltage meter will reproduce the strength of the signal and intuitively reflect it on the position of the pointer, so that the user can clearly see the trend of the signal changing over time.
[0092] In a specific embodiment, the deflection of the physical pointer is performed in a time sequence, that is, the movement of the pointer is strictly synchronized with the reception time of the detection signal. At each moment, the control system will return the corresponding signal strength according to the time sequence, and the physical pointer will gradually change in time sequence as the signal strength changes. This dynamic display method allows users to not only see the current signal strength, but also understand the fluctuation of the signal over time through the movement trajectory of the pointer, further helping users analyze the trend and law of signal changes.
[0093] Unlike traditional numerical display methods, the deflection of the physical pointer is more intuitive. Traditional digital display methods may require users to think and interpret additionally, such as understanding the high and low current values, while the physical pointer directly expresses the current intensity with changes in angles. Users can quickly understand the size of the signal simply by observing the deflection of the pointer. In addition, the dynamic changes of the pointer allow users to intuitively perceive the amplitude of signal changes, especially in rapidly changing current signal scenarios. The real-time response of the physical pointer can provide a smoother and more natural signal display experience. Moreover, when the frequency of current changes is high, the numerical display method may cause users to be unable to see the specific values due to its rapid numerical changes.
[0094] In this embodiment, there is a direct relationship between the deflection angle of the physical pointer and the current magnitude in the detection signal. Through this method of combining digital signals and physical displays, users can intuitively observe the strength of the current signal without having to interpret the data through numerical display, which is particularly useful for scenarios that require real-time monitoring of current fluctuations. It can be seen that this embodiment provides a more intuitive and easy-to-understand signal display method than the traditional digital display method, enhances the intuitiveness of signal display and user experience, and enables users to quickly and clearly perceive current changes.
[0095] In order to improve the accuracy and pertinence of playback, accurately locate and playback a specific signal range, in an optional embodiment, between step S200 and step S300, it also includes: obtaining a playback target selected by the user, the playback target being at least a portion of the waveform selected by the user on the detection waveform; step S300 includes: according to the waveform range determined by the playback target, extracting the detection signal corresponding to the waveform range to obtain a reproduced signal. Specifically, the playback target is an area or a portion of the waveform selected by the user through interactive operations on the detection waveform. This process enables the system to more flexibly playback the signal segment of interest to the user, avoid unnecessary data redundancy, and improve playback efficiency and accuracy.
[0096] In actual applications, users can usually interact with the waveform graph through the control system interface. For example, users can select the playback target in the waveform display area by clicking, dragging, or selecting a frame with the mouse. The selected area can be a time period of a waveform or a specific waveform peak or trough interval.
[0097] The selection of playback targets is usually visualized on the interface, and the waveform range is usually limited by two points, the start time and the end time. Therefore, a range can be marked in the area selected by the user, clearly indicating the start and end points of the playback, and accurately locating the data segment required for playback based on these two points. Then, according to all the detection signal data stored in step S200, the partial signal corresponding to the waveform range selected by the user is screened out. The signal here usually contains information such as timestamps, current or voltage values, and the extracted signal will form a reproducing signal, which accurately reflects the current or voltage changes detected during the time period. Once the detection signal corresponding to the waveform range is extracted, the system will form a reproducing signal with these data and prepare it for playback. The reproducing signal is a faithful reproduction of the original detection signal, but it is extracted and played back within a specified time range. These signals can help users review and analyze the working status of circuits or equipment within a specific time period, especially in fault diagnosis and performance evaluation.
[0098] In some embodiments, the user can dynamically adjust the playback target during playback. For example, the user can drag a selection box to adjust the start or end time of the playback interval, or zoom in and out of the waveform to more finely control the playback range. In this way, the user can flexibly select different waveform segments for in-depth analysis during playback.
[0099] In this embodiment, by obtaining the playback target selected by the user and extracting the corresponding detection signal, the reproduced signal can accurately reflect the current or voltage changes in the time period of interest to the user. This process enhances the accuracy and flexibility of playback and meets the needs of users in different application scenarios. Users can quickly select the signal segment of interest and flexibly adjust the playback time range according to their needs. This operation method not only improves the user experience, but also improves the efficiency of signal analysis and troubleshooting.
[0100] Considering that the test / detection equipment itself also carries electrical signals, in order to avoid test errors caused by the test equipment, in an optional embodiment, before step S200, it also includes: obtaining a reset trigger event triggered by the user between connecting the detection equipment and connecting the circuit board to be tested; in response to the reset trigger event, sending a reset instruction to the current and voltage meter to reset the sampled data of the current and voltage meter. The main purpose of this process is to ensure that the detection equipment, especially the sampled data of the current and voltage meter, can be in a reset state before starting a new test, so as to ensure that the next test data is accurate and clean, and avoid the previous data from interfering with subsequent tests.
[0101] In the specific implementation process, the zeroing instruction can be sent to the current and voltage meter through a standard communication protocol (such as USB, COM port, Ethernet, etc.), and the instruction content includes the zeroing command and related parameters. The purpose of the zeroing instruction is to clear the current sampling data and internally stored measurement data of the current and voltage meter and restore them to the initial state. The zeroing operation of the current and voltage meter usually involves resetting the current current value, voltage value, sampling counter and other data to zero. For the hardware part of the device, the zeroing operation may involve resetting internal registers or cached data. For the display interface, the system may directly clear the values displayed on the screen and restore it to a blank state in order to start a new test.
[0102] In this embodiment, the zeroing event occurs between connecting the detection device and connecting the circuit board to be tested, that is, the connection of the detection device has been completed (but the circuit board to be tested has not yet been connected), thereby avoiding the interference of the electrical signal of the detection device itself on subsequent tests. This process provides a stable and reliable basis for the subsequent tests. In addition, the user can complete the device initialization by simply clicking a button or performing a simple operation. This function improves the ease of use of the device, especially when frequent and multiple tests are required.
[0103] In order to achieve more accurate waveform analysis and evaluation, in an optional embodiment, it also includes: step S510, obtaining a reference waveform representing the reference data of the circuit board to be tested; step S520, displaying the reference waveform and the test waveform on the same screen. In this embodiment, the so-called reference waveform generally refers to a standard waveform representing the current, voltage or other related parameters output by the circuit board to be tested under normal working conditions. The reference waveform can be a preset standard waveform, a waveform of historical test data, or calibration data of a laboratory.
[0104] Specifically, please refer to Figure 2 , buttons such as "Import Comparison Waveform" that characterize waveform comparison can be integrated in the upper computer interface. When the user triggers the "Import Comparison Waveform" button, the waveform comparison mode is entered, and the user can import the reference waveform. In step S520, the system needs to display the reference waveform and the detection waveform on the same screen at the same time. The core purpose of this step is to achieve intuitive comparison between waveforms, so that users can quickly judge the performance differences and fault points of the circuit board to be tested through visual analysis. The same-screen display method can be side-by-side display, for example, placing the reference waveform and the detection waveform on the left and right sides or the upper and lower rows on the screen respectively. This method is usually suitable for situations where the waveform difference is large and each waveform needs to be observed independently; it can also be superimposed display, for example, superimposing the reference waveform and the detection waveform on the same chart, and distinguishing different waveforms by transparency or color. This method is convenient for directly observing the deviation and overlapping area between the two, especially when the difference is small or precise comparison is required, the superimposed display is more intuitive.
[0105] It should be noted that, in this embodiment, the execution order of step S510 and step S200 is not limited.
[0106] In order to facilitate users to quickly locate the difference of waveforms, in an optional embodiment, some graphic marking functions can be provided. For example: difference highlighting and difference calculation. Specifically, for difference highlighting, if there is a significant deviation between the detected waveform and the reference waveform, the system can automatically highlight these areas to prompt the user to pay attention to possible problem areas; for difference calculation, in some scenarios, the user can choose to display the difference value between the two waveforms (such as a difference graph), which will help the user quantify the deviation more accurately and provide quantitative data for further analysis.
[0107] In this embodiment, by displaying the reference waveform and the test waveform on the same screen, the user can perform waveform comparison analysis more intuitively and efficiently. Compared with displaying the test waveform alone, the introduction of the reference waveform makes the judgment of waveform deviation clearer and can help users quickly find potential problems of the circuit board to be tested. It provides users with an intuitive and comprehensive analysis view. This process not only improves the efficiency of problem diagnosis, but also enhances the accuracy and reliability of data analysis.
[0108] The applicant has found that due to different acquisition devices and different measurement conditions, there may be deviations in the starting points of the detection waveform and the reference waveform in time. This deviation will cause errors in waveform comparison and analysis, which will affect the user's judgment. Therefore, in order to eliminate waveform comparison deviations and improve the accuracy of waveform analysis, in an optional embodiment, between step S510 and step S520, it also includes: step S530, obtaining a first starting sampling point and a second starting sampling point, wherein the first starting sampling point is the starting sampling point when the waveform of the detection waveform is stable, and the second starting sampling point is the starting sampling point when the waveform of the reference waveform is stable; step S540, comparing the starting time of the first starting sampling point and the second starting sampling point; step S550, deleting part of the waveform to align the starting point of the detection waveform with the starting point of the reference waveform, specifically:
[0109] When the starting time of the first starting sampling point is later than the starting time of the second starting sampling point, the waveform from the second starting sampling point to the first starting sampling point is deleted from the reference waveform, and the reference waveform after the deleted part of the waveform is displayed;
[0110] When the start time of the second start sampling point is later than the start time of the first start sampling point, the waveform from the first start sampling point to the second start sampling point is deleted from the detection waveform, and the detection waveform after the deleted part of the waveform is drawn and displayed.
[0111] In this embodiment, the so-called starting sampling point refers to the moment when the waveform begins to stabilize, that is, the initial part of the waveform begins to present a clear and regular shape, and is no longer affected by the initial unstable factors. In order to effectively compare the waveforms, the starting moments of the detection waveform and the reference waveform must be found respectively. The first starting sampling point refers to the first valid sampling point of the detection waveform after stabilization, and this point marks the beginning of the valid signal on the time axis of the waveform. Similarly, the reference waveform will also have a starting sampling point, called the second starting sampling point. The method for obtaining the first starting sampling point and the second starting sampling point is usually based on the algorithm of the data analysis software, which can automatically identify the stable area of the waveform and mark the starting sampling point.
[0112] In the specific implementation process, after obtaining the first starting sampling point and the second starting sampling point, it is necessary to compare these two starting moments to determine their order on the time axis. The core purpose is to determine which waveform has an earlier starting time, so as to perform time alignment:
[0113] If the first start sampling point is earlier than the second start sampling point, it means that the start time of the detection waveform is earlier than that of the reference waveform, which usually causes some early data of the reference waveform to be missed or unable to be compared.
[0114] If the second starting sampling point is earlier than the first starting sampling point, it means that the starting time of the reference waveform is earlier than the detection waveform. In this case, the early part of the detection waveform cannot match the reference waveform.
[0115] This comparison can be done automatically by an algorithm that analyzes the stability of the waveform and determines the time point. Through this comparison, we can accurately determine the part of the waveform that needs to be aligned.
[0116] Based on the comparison results of the first starting sampling point and the second starting sampling point, we can decide in which waveform to delete the time part so that the starting points of the two are aligned, thereby achieving accurate time synchronization:
[0117] If the start time of the detection waveform is later than the start time of the reference waveform, it means that the reference waveform starts earlier and the data of the detection waveform is delayed; at this time, we need to delete the part of the waveform between the second starting sampling point and the first starting sampling point in the reference waveform. In other words, the waveform data between the start time of the reference waveform (the second starting sampling point) and the start time of the detection waveform (the first starting sampling point) will be removed to ensure that the comparison starts from the same time point.
[0118] If the starting time of the reference waveform is later than the starting time of the detection waveform, it means that the detection waveform starts earlier and the data of the reference waveform is delayed; at this time, we need to delete the part of the waveform between the first starting sampling point and the second starting sampling point in the detection waveform. In other words, the waveform data between the starting time of the detection waveform (the first starting sampling point) and the starting time of the reference waveform (the second starting sampling point) will be deleted.
[0119] In this embodiment, after aligning the starting point of the detection waveform with the reference waveform, the comparison error caused by the different start time of the waveform can be effectively eliminated. After the time starting point is synchronized, the user can more accurately compare the details of the two waveforms, including the deviation of the current / voltage change, waveform shape, period and other parameters of the waveform, thereby improving the accuracy of waveform analysis.
[0120] It should be emphasized that in the field of data analysis, the comprehensiveness of data is usually pursued in order to understand the full picture of the data. In this embodiment, by deleting the data in an unconventional way, the real difference of the waveform will not be affected by the time deviation during the comparison process, so as to obtain a more accurate analysis result, that is, the comparison error is eliminated and the analysis accuracy is improved. In addition, the user no longer needs to manually adjust the starting point of the waveform, but the starting point of the waveform is automatically synchronized by the system, which reduces the complexity of manual operation, improves work efficiency, and optimizes the user experience; in addition, the alignment of the time starting point can make the comparison between waveforms more intuitive, so that it is easier to find the problem and help users quickly locate the root cause of the fault.
[0121] During the maintenance process, users usually drag the time axis to view the waveform details. In order not to interrupt the acquisition of the detection signal and avoid the interference of the waveform change on the user's viewing, in this embodiment, during the execution of step S200, it also includes: obtaining the drag event of the user dragging the time axis, and the time axis represents the time series; in response to the drag event, the detection signal is received according to the time series, and the waveform drawing after the drag event occurs is suspended and the detection signal of the undrawn waveform is continued to be drawn according to the time series after the drag event ends. Specifically, during the process of the user dragging the time axis, the waveform display area suspends the drawing of the waveform, and the waveform corresponding to the drag position is amplified, scaled, centered, etc. based on the user's operation, so as to facilitate the user to view the waveform details; at the same time, the detection signal collected by the current and voltage meter is still received and temporarily stored in the memory. After the drag event ends, the temporarily stored detection waveform is continued to be drawn according to the time series, so that the detection signal of the undrawn waveform is drawn, thereby ensuring the integrity of the detection waveform. It can be seen that the acquisition of the detection signal is not interrupted while avoiding the interference of the waveform change on the user's viewing.
[0122] This embodiment also discloses a circuit fault detection control device based on an ammeter, which is applied to a control system. The control system is connected to a DC power supply and an ammeter and a voltage meter through a standard protocol interface. Please refer to Figure 4 , Figure 4 The present invention discloses a circuit fault detection and control device based on an ammeter structure diagram, the device includes: a maintenance trigger module 100, a waveform drawing module 200, a reproducing signal extraction module 300 and an acquisition and reproduction module 400, wherein:
[0123] The maintenance trigger module 100 is used to respond to the maintenance mode triggered by the user and send a start-up power signal to the DC power supply so that the DC power supply provides a working DC power supply to the circuit board under test;
[0124] The waveform drawing module 200 is used to receive the detection signal collected by the current and voltage meter and draw the detection waveform according to the time series. The detection signal is the current signal and / or voltage signal collected after the circuit board to be tested receives the DC power supply;
[0125] The reproducing signal extraction module 300 is used to extract the received detection signal in the time sequence of receiving the detection signal based on the data playback instruction triggered by the user to obtain the reproducing signal;
[0126] The acquisition and reproduction module 400 is used to transmit the reproduction signal back to the current and voltage meter signal according to the data playback instruction, so that the current and voltage meter can display the reproduction signal in a time series to reproduce the acquisition process of the current and voltage meter to collect the detection signal. During this period, the control system redraws the detection waveform in a time series.
[0127] This embodiment also discloses a circuit fault detection and control system based on an ammeter, including: a DC power supply, an ammeter and a processor, wherein: the DC power supply is used to provide a working DC power supply to the circuit board to be tested; the ammeter and the voltmeter are used to collect the electrical signal of the circuit board to be tested to obtain a detection signal.
[0128] According to a circuit fault detection control method, device and system based on an ammeter disclosed in an embodiment of the present invention, compared with a dedicated interface method, in the present application, the control system is respectively connected to the DC power supply and the current and voltage meter signals through a standard protocol interface, so that the control system can be compatible with lower computer devices with standard interfaces (such as USB, COM, etc.), that is, the control system can link the DC power supply, the current and voltage meter and other lower computer devices for linkage detection and control, and respond to the maintenance mode triggered by the user, so that the DC power supply provides a working DC power supply to the circuit board to be tested, receives the detection signal collected by the current and voltage meter, and draws the detection waveform according to the time series. After the user triggers the playback instruction, the detection signal is extracted in chronological order to obtain a reproduced signal, and the reproduced signal is returned to the current and voltage meter, so that the current and voltage meter displays the reproduced signal according to the time series, thereby being able to reproduce the acquisition process of the current and voltage meter. During this period, the control system redraws the detection waveform according to the time series, which is convenient for maintenance personnel to review the detection process without the need to build an additional detection environment; as an application scenario of a teaching case, there is no need to build an additional detection environment, and the detection process can be intuitively displayed, thereby improving the teaching effect. It can be seen that the solution of the present invention not only enriches the control of circuit fault detection, but also enables users to control the DC power supply and the current and voltage meter through only one operation interface, reducing the complexity of user operations; moreover, it can reproduce the signal sampling process without the need to set up an additional detection environment, reducing the workload of detection reproduction and facilitating users to review the detection process.
[0129] In addition, the present invention also provides a computer-readable storage medium, such as a chip, a CD, etc., on which an execution program is stored, and when the execution program is executed, any of the methods described above is implemented.
[0130] It should be noted that the computer-readable storage medium described in the embodiments of the present disclosure is not limited to the above-mentioned embodiments, and may also be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0131] It will be appreciated by those skilled in the art that, under the premise of no conflict, the above-mentioned preferred solutions can be freely combined and superimposed. Among them, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings, for example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. The numbering of each step in this article is only for the convenience of description and reference, and is not used to limit the order of execution. The specific execution order is determined by the technology itself, and those skilled in the art can determine various allowable and reasonable orders based on the technology itself.
[0132] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in the present invention is only for the purpose of convenience and brevity of description, and is by no means intended to limit the order of these method steps by letters or numbers. Those skilled in the art will understand that the order of the relevant method steps should be determined by the technology itself and should not be inappropriately limited by the existence of step numbers. Those skilled in the art can determine various permissible and reasonable step orders based on the technology itself.
[0133] Those skilled in the art will appreciate that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.
[0134] It should be understood that the above-mentioned embodiments are merely illustrative and not restrictive. Without departing from the basic principles of the present invention, various obvious or equivalent modifications or substitutions that can be made by those skilled in the art to the above-mentioned details will be included in the scope of the claims of the present invention.
Claims
1. A circuit fault detection control method based on an ammeter, applied to a control system, characterized in that: The control system is connected to the DC power supply and the current and voltage meter signals respectively through a standard protocol interface, and the method includes: Step S100, in response to the maintenance mode triggered by the user, sending a start power signal to the DC power supply, so that the DC power supply provides a working DC power supply to the circuit board under test; Step S200, receiving the detection signal collected by the current and voltage meter and drawing the detection waveform according to the time series, wherein the detection signal is the current signal and / or voltage signal collected after the circuit board to be tested receives the DC power supply; Step S300, extracting the received detection signals in the order of time when the detection signals are received based on the data playback instruction triggered by the user to obtain a reproduced signal; Step S400, according to the data playback instruction, the reproduced signal is transmitted back to the current and voltage meter signal, so that the current and voltage meter displays the reproduced signal in a time series to reproduce the acquisition process of the current and voltage meter to acquire the detection signal. During this period, the control system redraws the detection waveform in a time series.
2. The circuit fault detection and control method based on an ammeter as claimed in claim 1, characterized in that: The current and voltage meter has a physical pointer, and the deflection angle of the physical pointer is positively correlated with the current magnitude in the detection signal; In the step S400, the reproduced signal is fed back to the current and voltage meter signal so that the physical pointer is deflected in a time series based on the signal strength of the reproduced signal, wherein the signal strength of the reproduced signal represents the current size in the detection signal.
3. The circuit fault detection and control method based on an ammeter as claimed in claim 1, characterized in that: Between step S200 and step S300, the method further includes: Acquire a playback target selected by a user, wherein the playback target is at least a portion of the waveform selected by the user on the detection waveform; The step S300 includes: according to the waveform range determined by the playback target, extracting the detection signal corresponding to the waveform range to obtain the reproduced signal.
4. The circuit fault detection and control method based on an ammeter as claimed in any one of claims 1 to 3, characterized in that: Before step S200, the method further includes: Between connecting the detection device and the circuit board to be tested, obtaining a reset trigger event triggered by the user; In response to the clear trigger event, a clear instruction is sent to the current-voltage meter to perform a clear operation on the sampled data of the current-voltage meter.
5. The circuit fault detection and control method based on an ammeter as claimed in any one of claims 1 to 3, characterized in that: Also includes: Step S510, obtaining a reference waveform representing reference data of the circuit board to be tested; Step S520: displaying the reference waveform and the detection waveform on the same screen.
6. The circuit fault detection and control method based on an ammeter as claimed in claim 5, further comprising between step S510 and step S520: Step S530, obtaining a first starting sampling point and a second starting sampling point, wherein the first starting sampling point is a starting sampling point when the waveform of the detection waveform is stable, and the second starting sampling point is a starting sampling point when the waveform of the reference waveform is stable; Step S540, comparing the starting time of the first starting sampling point and the starting time of the second starting sampling point; Step S550, deleting part of the waveform to align the starting point of the detection waveform with the starting point of the reference waveform, specifically: When the starting time of the first starting sampling point is later than the starting time of the second starting sampling point, deleting the waveform from the second starting sampling point to the first starting sampling point in the reference waveform, and displaying the reference waveform after the deleted part of the waveform; When the starting time of the second starting sampling point is later than the starting time of the first starting sampling point, the waveform from the first starting sampling point to the second starting sampling point is deleted from the detection waveform, and the detection waveform after the deleted part of the waveform is drawn and displayed.
7. The method for processing data of a circuit board fault detection signal according to any one of claims 1 to 3, characterized in that: The process of executing step S200 also includes: Obtaining a drag event of a user dragging a timeline, where the timeline represents a time sequence; In response to the drag event, the detection signal is received in time series, the waveform drawing after the drag event occurs is suspended, and the detection signal of the undrawn waveform is continuously drawn in time series after the drag event ends.
8. A circuit fault detection control device based on an ammeter, applied to a control system, characterized in that: The control system is connected to the DC power supply and the current and voltage meter signals respectively through a standard protocol interface, and the device includes: A maintenance trigger module (100) is used to send a power start signal to the DC power supply in response to a maintenance mode triggered by a user, so that the DC power supply provides a working DC power supply to the circuit board to be tested; A waveform drawing module (200) is used to receive the detection signal collected by the current and voltage meter and draw the detection waveform according to a time series, wherein the detection signal is a current signal and / or a voltage signal collected after the circuit board to be tested receives the DC power supply; A reproducing signal extraction module (300) is used to extract the received detection signal in the time sequence of receiving the detection signal based on the data playback instruction triggered by the user to obtain a reproducing signal; The acquisition and reproduction module (400) is used to transmit the reproduction signal back to the current and voltage meter signal according to the data playback instruction, so that the current and voltage meter displays the reproduction signal in a time series, so as to reproduce the acquisition process of the current and voltage meter acquiring the detection signal, during which the control system redraws the detection waveform in a time series.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program stored in the storage medium is used to be executed by a processor to implement the method according to any one of claims 1 to 7.
10. A circuit fault detection and control system based on an ammeter, characterized in that: include: A DC power supply, used to provide a working DC power supply to the circuit board under test; An ammeter and a voltmeter, used for collecting electrical signals of the circuit board to be tested to obtain a detection signal; as well as A processor executes a program to implement the method according to any one of claims 1 to 7.