A method and device for parallel acquisition of asynchronous output data
By capturing and comparing the digital signal segments output by the detection unit through the parallel acquisition device, the problem of low detection efficiency in the prior art is solved, and faster and more accurate product detection is achieved.
Patent Information
- Application Number
- CN202210696643.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2042-06-20
AI Technical Summary
In the prior art, the method of detecting chip signals through an oscilloscope has high operation difficulty and slow detection speed, resulting in low product detection efficiency.
By adopting a parallel acquisition method of asynchronous output data, the parallel acquisition device receives the inspection instructions, captures the target starting signal segment in the digital signal output by the detection unit, divides and marks the segment signals, and compares them with the preset comparison signal segment to determine the advantages and disadvantages of the detection unit.
It improves the inspection efficiency of products, reduces the dependence on human testing, and enhances the detection speed and accuracy.
Smart Images

Figure CN115267486B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data acquisition, and in particular to a method and device for parallel acquisition of asynchronous output data. Background Art
[0002] In the process of chip output signals, two methods are usually used: analog signal transmission and digital signal transmission. Among them, digital signal transmission is gradually being used in signal transmission of various chips due to its advantages such as strong anti-interference.
[0003] Generally speaking, after the chip is produced or installed on the circuit board, the staff needs to use an oscilloscope to check whether the chip can still be used normally, so as to reduce the defective rate of chips or electronic products leaving the factory. However, the oscilloscope detection method makes the operation more difficult for the staff, and the detection speed is slow during the work process, which makes the staff's detection efficiency of the products produced low. Summary of the invention
[0004] In order to speed up the staff's inspection efficiency of products, the present application provides a parallel collection method and device for asynchronous output data.
[0005] In a first aspect, the present application provides a method for parallel acquisition of asynchronous output data, which adopts the following technical solution:
[0006] A parallel acquisition method for asynchronous output data, wherein a start signal segment, an end signal segment and a comparison signal are preset in a parallel acquisition device, wherein the comparison signal includes a plurality of comparison signal segments, and the plurality of comparison signal segments are all numbered in the order of arrangement, and the method comprises the following steps:
[0007] After receiving the inspection instruction, collecting the digital signal output by the detection unit, and capturing the target start signal segment in the digital signal;
[0008] After capturing the target starting signal segment in the digital signal, sequentially collecting segment signals in the digital signal according to preset segment durations, and labeling the segment signals according to the timing of their collection;
[0009] According to the labels of the segment signals, compare the plurality of segment signals with the plurality of comparison signal segments in the comparison signal one by one;
[0010] If all of the segment signals are identical to the corresponding comparison signal segments, the detection unit currently being collected is judged to be a superior product; if there are segment signals that are different from the corresponding comparison signal segments, the detection unit currently being collected is judged to be a defective product.
[0011] By adopting the above technical solution, in order to speed up the efficiency of the staff in testing the produced products, in this application, the products produced by the factory are referred to as testing units; when the staff is testing the testing units, the staff first inputs the inspection instructions into the parallel acquisition device by themselves, or by the way that the sensor installed on the parallel acquisition device detects the testing unit;
[0012] After the parallel acquisition device receives the inspection instruction, the acquisition detection unit sends a digital signal, so that the parallel acquisition device can judge the quality of the detection unit through the digital signal, thereby facilitating the parallel acquisition device to replace manual inspection and speeding up the efficiency of the inspection of the detection unit;
[0013] At the same time, in order to extract the part of the digital signal that needs to be compared and identified, the parallel acquisition device first captures the target starting signal segment in the digital signal, and further the parallel acquisition device divides the target starting signal segment into multiple segment signals after the timing. It should be noted that in the present application, the multiple segment signals are closely connected in timing, and the number of segment signals is the same as the number of comparison signal segments, so that in the process of collecting segment signals, the collected segment signals can be compared in parallel, thereby further increasing the efficiency of the staff in detecting the detection unit.
[0014] Optionally, the digital signal output by the acquisition and detection unit also includes
[0015] If the target start signal segment or the target end signal segment is not captured from the digital signal within the specified detection time, the detection unit currently being detected is determined to be defective.
[0016] By adopting the above technical solution, when the parallel acquisition device is unable to capture the target start signal segment and the target end signal segment from the collected digital signal within the specified detection time, the parallel acquisition device determines that the detection unit currently being detected is a defective product, so as to reduce the time of invalid detection and speed up the efficiency of detecting the detection unit.
[0017] Optionally, after capturing the target start signal segment in the digital signal, the method further includes:
[0018] Record the time when the target start signal segment is captured as the start time;
[0019] If the target termination signal segment is not captured within the preset period duration after the start time, and the target termination signal segment is captured during the detection duration, the current detection unit is detected again.
[0020] By adopting the above technical solution, after the parallel acquisition device detects the target start signal segment, if the target end signal segment cannot be detected within the cycle time, the parallel acquisition device can reduce the possibility of detection errors caused by problems such as poor contact of the detection unit by re-detecting.
[0021] Optionally, the method further includes:
[0022] After receiving the inspection instruction for the first time, inspecting the inspection unit based on a preset initial inspection duration;
[0023] The interval duration between the first capture of the initial start signal segment and the first end signal segment is recorded, and the detection duration and the cycle duration are updated based on the interval duration.
[0024] By adopting the above technical scheme, in order to facilitate the acquisition of the detection time and cycle time that are more in line with the detection unit, during the first detection of the detection units in the same batch of products, one of the superior products is first selected; in the process of detecting the superior detection unit, a more accurate detection time and cycle time can be extracted from the interval time between the captured initial start signal segment and the initial end signal segment.
[0025] Optionally, sequentially collecting segment signals in the digital signal according to preset segment durations includes:
[0026] generating a minimum response period corresponding to the detection unit based on the baud rate of the detection unit;
[0027] generating a detection frequency greater than twice the baud rate of the detection unit according to the baud rate of the detection unit;
[0028] Based on the minimum reaction period and the detection frequency, marking a plurality of signal conversion time regions from the timing after the target start signal segment;
[0029] A conversion signal in the signal conversion time region is captured, and the target segment signal is constructed based on the index of the target segment signal and a plurality of target conversion signals.
[0030] By adopting the above technical solution, in the process of collecting segment signals, the parallel acquisition device calculates and generates the detection frequency and the minimum reaction period, wherein the minimum reaction period is the shortest period in which the detection unit can react, and the detection frequency is the frequency currently collected by the parallel acquisition device; then the parallel acquisition device can calculate the signal conversion time area, and then match and capture the corresponding target conversion signal of the target segment signal, and thus obtain the target segment signal, thereby, on the one hand, reducing the parallel acquisition device from collecting errors or signals that undergo multiple conversions within the minimum reaction period due to faults, and on the other hand, saving resources in the parallel acquisition device.
[0031] Optionally, based on the minimum reaction period and the detection frequency, marking a plurality of signal conversion time regions from the timing after the target start signal segment includes:
[0032] According to the captured target start signal segment and the minimum reaction period, marking a plurality of preliminary conversion areas where signal conversion can occur after the target start signal segment;
[0033] According to the plurality of preliminary conversion areas and the detection frequency, a plurality of signal conversion time areas where signal conversion can be detected are marked in sequence from the timing after the target start signal segment.
[0034] By adopting the above technical solution, in order to accurately identify multiple signal conversion time areas, the parallel acquisition device identifies multiple preliminary conversion areas from the timing after the target starting signal segment according to the target starting signal segment and the minimum reaction period. Then the parallel acquisition device identifies multiple minimum detection periods from the timing after the target starting signal segment according to the target starting segment and the detection frequency, and then screens out multiple minimum detection periods belonging to the initial conversion area. Next, the signal conversion time area is generated from the multiple minimum detection periods belonging to the initial conversion area. It should be noted that one or more minimum detection periods can exist in the same signal conversion area.
[0035] Optionally, forming the target segment signal based on a plurality of the target conversion signals comprises:
[0036] According to the label of the target segment signal, marking a plurality of target signal conversion time regions from the plurality of signal conversion time regions;
[0037] A target transition signal of a plurality of target signal transition time regions is captured, and a target segment signal is generated based on the plurality of target transition signals.
[0038] By adopting the above technical solution, the target segment signal can be generated more accurately from the target conversion signal captured from the multiple target signal conversion areas in the target segment signal.
[0039] In a second aspect, the present application provides a parallel acquisition device, which adopts the following technical solution. A start signal segment, an end signal segment and a comparison signal are preset in the parallel acquisition device, and the comparison signal includes multiple comparison signal segments, and the multiple comparison signal segments are all numbered in the order of arrangement, wherein the parallel acquisition device includes:
[0040] The acquisition and capture module 401 is used to acquire the digital signal output by the detection unit after receiving the inspection instruction, and capture the target start signal segment in the digital signal;
[0041] The marking module 402 is used for, after capturing the target starting signal segment in the digital signal, sequentially collecting segment signals in the digital signal according to a preset segment duration, and marking the segment signals according to the timing of their collection;
[0042] A comparison module 403, configured to compare the plurality of segment signals with the plurality of comparison signal segments in the comparison signal one by one according to the labels of the segment signals;
[0043] If all of the segment signals are identical to the corresponding comparison signal segments, the detection unit currently being collected is judged to be a superior product; if there are segment signals that are different from the corresponding comparison signal segments, the detection unit currently being collected is judged to be a defective product.
[0044] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0045] A computer-readable storage medium stores at least one instruction, at least one program, a code set or an instruction set, wherein the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the processing of the parallel acquisition device in the above-mentioned parallel acquisition method for asynchronous output data.
[0046] In summary, the present application includes at least one of the following beneficial technical effects:
[0047] 1. In order to facilitate the staff to speed up the efficiency of testing the produced products, in this application, the products produced by the factory are referred to as test units; in the process of testing the test units, the staff first inputs the test instructions into the parallel acquisition device by themselves, or by the sensor installed on the parallel acquisition device to detect the test unit; after the parallel acquisition device receives the test instructions, the detection unit sends a digital signal, so that the parallel acquisition device can judge the quality of the detection unit through the digital signal, thereby facilitating the parallel acquisition device to replace manual detection, thereby speeding up the efficiency of testing the detection unit; at the same time, in order to extract the part of the digital signal that needs to be compared and identified, the parallel acquisition device first captures the target starting signal segment in the digital signal, and further the parallel acquisition device divides the target starting signal segment into multiple segment signals. It should be noted that in this application, multiple segment signals are closely connected in time sequence, and the number of segment signals is the same as the number of comparison signal segments, so that in the process of collecting segment signals, the segment signals that have been collected can be compared in parallel, thereby further increasing the efficiency of the staff to detect the test unit;
[0048] 2. In the process of collecting segment signals, the parallel acquisition device calculates and generates the detection frequency and the minimum reaction period, wherein the minimum reaction period is the shortest period in which the detection unit can react, and the detection frequency is the frequency currently collected by the parallel acquisition device; then the parallel acquisition device can calculate the signal conversion time area, and then match and capture the corresponding target conversion signal of the target segment signal, and thus obtain the target segment signal, thereby reducing the possibility of the parallel acquisition device collecting errors or signals that undergo multiple conversions within the minimum reaction period due to faults, and saving resources in the parallel acquisition device on the other hand. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a waveform diagram of a digital signal provided in an embodiment of the present application.
[0050] Figure 2 It is a flow chart of a parallel acquisition method for asynchronous output data provided in an embodiment of the present application.
[0051] Figure 3 It is a schematic diagram of a process of collecting and acquiring fragment signals provided in an embodiment of the present application.
[0052] Figure 4 It is a structural schematic diagram of a parallel acquisition device provided in an embodiment of the present application.
[0053] Explanation of the reference numerals: 401, acquisition and capture module; 402, marking module; 403, comparison module; 404, recording module; 405, calculation module. DETAILED DESCRIPTION
[0054] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with Figures 1-4.
[0055] An embodiment of the present application provides a parallel acquisition method for asynchronous output data. The method can be applied to a parallel acquisition device, and the execution subject of the method can be a parallel acquisition device.
[0056] In the process of producing chips, sensors or electronic products, in order to facilitate the detection of product quality, it is possible to identify and judge by measuring the signal output by the chip or output pin in the product. It should be noted that in this application, the product is referred to as a detection unit, and in order to facilitate the efficiency of detection, after the generation is completed, the detection unit is able to output the same detection signal for detection through program settings and other methods. The detection unit can output the detection signal intermittently, and the detection unit here includes a start signal segment, multiple segment signals, and an end signal segment. In the embodiments of the present application. Among them, the digital signal can refer to Figure 1As shown, the parallel acquisition device presets a start signal segment, an end signal segment and a comparison signal, and the comparison signal includes multiple comparison signal segments, and the multiple comparison signal segments carry labels in the order of arrangement, so that the parallel acquisition device can compare and analyze the collected digital signals to determine whether the detection unit is a good product or a defective product. The parallel acquisition device can simultaneously collect digital signals output by one or more detection units through one or more acquisition ports by setting one or more acquisition ports.
[0057] The embodiment of the present application takes the information interaction between the parallel acquisition device and the detection unit during the detection process of the detection unit as an example to illustrate, and other situations are similar and will not be described one by one.
[0058] The following will be combined with specific implementation methods. Figure 2 The processing flow shown is described in detail, wherein the content may be as follows:
[0059] Step 201, after receiving the inspection instruction, collect the digital signal output by the detection unit, and capture the target starting signal segment in the digital signal.
[0060] In implementation, when it is necessary to inspect the produced detection unit, the parallel acquisition unit will first receive the inspection instruction. The inspection instruction here can be an instruction manually input by the user, or it can be executed by the user pressing a switch on the parallel acquisition device, or it can be sent out when a sensor installed on the parallel acquisition device detects that the detection unit is approaching. The sensor here can be a proximity switch, etc.
[0061] After receiving the inspection instruction, the parallel acquisition device starts the corresponding acquisition port to collect the digital signal sent by the detection unit according to the port information carried in the inspection instruction, and then the parallel acquisition device captures the start signal segment that first appears in the digital signal, so as to collect and identify the start signal segment, fragment signal and end signal segment in the same detection signal. It should be noted that in the embodiment of the present application, during the detection process of the current detection unit, the start signal segment that is first captured can be called the target start signal segment, and the end signal segment that is first captured can be called the target end signal segment.
[0062] Step 202: after capturing the target starting signal segment in the digital signal, sequentially collect segment signals in the digital signal according to preset segment durations, and number the segment signals according to their collection sequence.
[0063] During implementation, in order to further speed up the acquisition and identification speed, after capturing the target start signal segment in the digital signal, the parallel acquisition device divides the digital signal located after the target start data segment into multiple segment signals according to the preset segment duration. It should be noted that in the present application, the multiple segment signals are all set between the target start signal segment and the target end signal segment. At the same time, in the process of acquiring multiple segment signals, the parallel acquisition device labels the multiple segment signals according to the timing of the multiple segment signals.
[0064] Step 203 : comparing the plurality of segment signals with the plurality of comparison signal segments in the comparison signal one by one according to the labels of the segment signals.
[0065] In implementation, after the parallel acquisition device obtains a complete segment signal, it compares the segment signal according to its label, and compares the comparison signal segment with the segment signal with the same label, so that the parallel acquisition device can collect and compare at the same time, thereby achieving the purpose of speeding up the acquisition and recognition speed.
[0066] Step 204: if all the segment signals are the same as the corresponding comparison signal segments, the currently acquired detection unit is judged to be a good product; if there are segment signals that are different from the corresponding comparison signal segments, the currently acquired detection unit is judged to be a bad product.
[0067] In implementation, the results of comparing the plurality of segment signals with the comparison signal segment are as follows:
[0068] Case 1: All the segment signals are the same as the corresponding comparison signal segments, and the parallel acquisition device determines that the currently acquired detection unit is a good product;
[0069] Case 2: If there is a segment signal that is different from the corresponding comparison signal segment, the parallel acquisition device determines that the currently acquired detection unit is defective.
[0070] Optionally, in step 201, there are the following operations, and the specific process is as follows:
[0071] If the target start signal segment or the target end signal segment is not captured from the digital signal within the specified detection time, the detection unit currently being detected is judged to be defective.
[0072] In practice, after the parallel acquisition device receives the inspection instruction, if the target start signal segment or the target end signal segment is not captured within the specified detection time, the parallel acquisition device judges that the detection unit currently being detected is a defective product. In the present application, the detection time is three to five times the length of the detection signal, so that within the detection time, when the parallel acquisition device detects a good product, at least two complete detection signals can be detected. At the same time, the detection time can be set by the user, or calculated based on the comparison signal, the start signal segment, and the end signal segment.
[0073] Optionally, in step 202, after capturing the target start signal segment in the digital signal, there is still the following processing, and the specific operation flow is as follows:
[0074] The time when the target start signal segment is captured is recorded as the start time;
[0075] If the target termination signal segment is not captured within the preset cycle duration after the start time, and the target termination signal segment is captured during the detection duration, the current detection unit is detected again.
[0076] In practice, after the parallel acquisition device captures the target start signal segment, the parallel acquisition device records the time when the target start signal segment is captured as the start time. Then, if there is no target end signal segment within the cycle time after the start time, and the target end signal segment is captured during the detection time, there may be a detection error caused by contact during the detection process, so the parallel acquisition device detects the current detection unit again. At this time, if the above situation still exists during the re-detection process, the detection unit currently being detected is judged as defective. If the target end signal segment is detected within the cycle time after the target start signal segment is captured again, the segment signal is compared with the corresponding comparison signal segment.
[0077] Optionally, the method further includes:
[0078] After receiving the inspection instruction for the first time, inspecting the inspection unit based on a preset initial inspection duration;
[0079] The interval duration between the first capture of the initial start signal segment and the first end signal segment is recorded, and the detection duration and cycle duration are updated based on the interval duration.
[0080] In implementation, when the parallel acquisition device is testing the same batch of detection units, it first selects one of the superior detection units in the same batch for testing through the parallel acquisition device. During the testing process, the parallel acquisition device records the interval between the first capture of the target start signal segment and the first capture of the target end signal segment, and then calculates the detection duration and cycle duration based on the interval duration. In this application, the cycle duration is slightly larger than the interval duration and the sum of the operation start signal segment and end signal segment duration. At the same time, the target start signal segment and the first capture of the target end signal segment here can be called the initial start signal segment and the initial end signal segment.
[0081] Optionally, in step 202, there may also be Figure 3 The specific steps are as follows: Figure 3 As shown,
[0082] Step 301: Generate a minimum response period corresponding to the detection unit based on the baud rate of the detection unit.
[0083] In implementation, the parallel acquisition device can calculate the current fastest response speed of the detection unit from the baud rate of the detection unit, so the parallel acquisition device can calculate the minimum response period of the detection unit to convert the signal, where the minimum response period is calculated by the inverse of the baud rate.
[0084] Step 302: Generate a detection frequency that is greater than twice the baud rate of the detection unit according to the baud rate of the detection unit.
[0085] In implementation, in this application, in order to increase the parallel acquisition device's detection of signal conversion positions, the detection frequency of the parallel acquisition device is greater than twice the baud rate of the detection unit, wherein in this embodiment of the application, the detection frequency is ten times the baud rate of the detection unit.
[0086] Step 303: Based on the minimum reaction period and the detection frequency, a plurality of signal conversion time regions are marked from the timing after the target start signal segment.
[0087] During implementation, the parallel acquisition device can first calculate the multiple time zones where signal conversion can occur in the detection unit based on the target starting signal segment and the minimum reaction period. Then, the parallel acquisition device can accurately mark the multiple signal conversion time zones from the timing of the target starting signal segment based on the multiple time zones and the signal detection frequency.
[0088] Step 304 , capturing the conversion signal in the signal conversion time region, and constructing a target segment signal based on the label of the target segment signal and a plurality of target conversion signals.
[0089] In implementation, the parallel acquisition device captures conversion signals in multiple signal conversion areas, where the conversion signals are rising edge signals or falling edge signals. Then the parallel acquisition device filters out multiple conversion signals according to the labels of the currently acquired fragment signals, and assembles the multiple conversion signals into a fragment signal. The conversion signal here can be called a target conversion signal, and the fragment signal here can be called a target fragment signal.
[0090] Optionally, in step 303, there is also the following processing, and the specific operation flow is as follows:
[0091] According to the captured target start signal segment and the minimum reaction period, a plurality of preliminary conversion areas where signal conversion can occur are marked after the target start signal segment;
[0092] According to the plurality of preliminary conversion regions and the detection frequencies, a plurality of signal conversion time regions where the occurrence of signal conversion can be detected are marked in sequence from the timing after the target start signal segment.
[0093] In implementation, after the parallel acquisition device captures the target start signal segment, it can first identify multiple time zones where signal conversion occurs in the target start signal segment, and then mark multiple preliminary conversion zones where signal conversion can occur after the target start signal segment based on the multiple time zones where signal conversion occurs in the target start signal segment and the minimum reaction period. Then the parallel acquisition device will mark multiple signal conversion time zones where signal conversion can be detected in sequence from the timing after the target start signal segment based on the preliminary conversion zone and the detection frequency. In the present application, the parallel acquisition device can detect the same signal conversion time zone once or multiple times to increase the accuracy of the detection.
[0094] Optionally, in step 304, there is also the following processing, and the specific operation flow is as follows:
[0095] Marking a plurality of target signal transition time regions from a plurality of signal transition time regions according to the label of the target segment signal;
[0096] A target transition signal of a plurality of target signal transition time regions is captured, and a target segment signal is generated based on the plurality of target transition signals.
[0097] In implementation, the parallel acquisition device can mark multiple signal conversion time regions belonging to the target segment signal timing according to the label of the target segment signal, and the signal conversion time region here can be called the target signal conversion time region. Then the parallel acquisition device captures the target conversion signals in the multiple target signal conversion regions, and then the parallel acquisition device generates the target segment signal from the initial signal at the forefront of the timing in the target segment signal and the multiple target conversion signals.
[0098] Based on the same technical concept, the embodiment of the present application further provides a parallel acquisition device, wherein a start signal segment, an end signal segment and a comparison signal are preset in the parallel acquisition device, and the comparison signal includes a plurality of comparison signal segments, and the plurality of comparison signal segments are all numbered in the order of arrangement, such as Figure 4 As shown, the parallel acquisition device includes:
[0099] The acquisition and capture module 401 is used to acquire the digital signal output by the detection unit and capture the target start signal segment in the digital signal after receiving the inspection instruction;
[0100] The marking module 402 is used to, after capturing the target starting signal segment in the digital signal, sequentially collect segment signals in the digital signal according to a preset segment duration, and label the segment signals according to the timing of their collection;
[0101] A comparison module 403, configured to compare the plurality of segment signals with the plurality of comparison signal segments in the comparison signal one by one according to the labels of the segment signals;
[0102] If all the segment signals are the same as the corresponding comparison signal segments, the currently acquired detection unit is judged to be a good product. If there are segment signals that are different from the corresponding comparison signal segments, the currently acquired detection unit is judged to be a bad product.
[0103] Optionally, parallel acquisition devices can also be used to:
[0104] If the target start signal segment or the target end signal segment is not captured from the digital signal within the specified detection time, the detection unit currently being detected is determined to be defective.
[0105] Optionally, parallel acquisition devices can also be used to:
[0106] Recording module 404, used to record the time when the target start signal segment is captured as the start time;
[0107] If the target termination signal segment is not captured within the preset cycle duration after the start time, and the target termination signal segment is captured during the detection duration, the current detection unit is detected again.
[0108] Optionally, parallel acquisition devices can also be used to:
[0109] The acquisition and capture module 401 is used to detect the detection unit based on a preset initial detection time after receiving the inspection instruction for the first time;
[0110] The recording module 404 is used to record the interval between the initial capture of the initial start signal segment and the initial end signal segment, and to update the detection duration and the cycle duration based on the interval duration.
[0111] Optionally, the parallel acquisition device is specifically used for:
[0112] A calculation module 405 generates a minimum reaction period corresponding to the detection unit based on the baud rate of the detection unit;
[0113] A calculation module 405, configured to generate a detection frequency greater than twice the baud rate of the detection unit according to the baud rate of the detection unit;
[0114] A marking module 402 marks a plurality of signal conversion time regions from the timing after the target start signal segment based on the minimum reaction period and the detection frequency;
[0115] The acquisition and capture module 401 is used to capture the conversion signal in the signal conversion time region, and form a target segment signal based on the label of the target segment signal and multiple target conversion signals.
[0116] Optionally, the parallel acquisition device is specifically used for:
[0117] A marking module 402 is used to mark a plurality of preliminary conversion areas where signal conversion can occur after the target starting signal segment according to the captured target starting signal segment and the minimum reaction period;
[0118] The marking module 402 is used to mark, in sequence, a plurality of signal conversion time regions where signal conversion can be detected from the timing after the target start signal segment according to the plurality of preliminary conversion regions and the detection frequency.
[0119] Optionally, the parallel acquisition device is specifically used for:
[0120] A marking module 402, configured to mark a plurality of target signal conversion time regions from a plurality of signal conversion time regions according to the labels of the target segment signals;
[0121] The marking module 402 is configured to capture target transition signals in multiple target signal transition time regions and generate a target segment signal based on the multiple target transition signals.
[0122] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program. The program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, etc.
[0123] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A parallel acquisition method for asynchronous output data, characterized in that: The parallel acquisition device is preset with a start signal segment, an end signal segment and a comparison signal, wherein the comparison signal includes a plurality of comparison signal segments, and the plurality of comparison signal segments are all numbered in the order of arrangement, and comprises the following steps: After receiving the inspection instruction, collecting the digital signal output by the detection unit, and capturing the target start signal segment in the digital signal; After capturing the target starting signal segment in the digital signal, sequentially collecting segment signals in the digital signal according to preset segment durations, and labeling the segment signals according to the timing of their collection; According to the labels of the segment signals, compare the plurality of segment signals with the plurality of comparison signal segments in the comparison signal one by one; If all the segment signals are the same as the corresponding comparison signal segments, the detection unit currently collected is judged to be a good product; if there are segment signals that are different from the corresponding comparison signal segments, the detection unit currently collected is judged to be a bad product; The sequentially collecting segment signals in the digital signal according to the preset segment durations includes: generating a minimum response period corresponding to the detection unit based on the baud rate of the detection unit; generating a detection frequency greater than twice the baud rate of the detection unit according to the baud rate of the detection unit; Based on the minimum reaction period and the detection frequency, marking a plurality of signal conversion time regions from the timing after the target start signal segment; A conversion signal in the signal conversion time region is captured, and the target segment signal is constructed based on the index of the target segment signal and a plurality of target conversion signals.
2. The method according to claim 1, characterized in that The digital signal output by the acquisition and detection unit also includes: If the target start signal segment or the target end signal segment is not captured from the digital signal within the specified detection time, the detection unit currently being detected is determined to be defective.
3. The method according to claim 2, characterized in that After capturing the target start signal segment in the digital signal, the method further comprises: Record the time when the target start signal segment is captured as the start time; If the target termination signal segment is not captured within the preset period duration after the start time, and the target termination signal segment is captured during the detection duration, the current detection unit is detected again.
4. The method according to claim 3, characterized in that The method further comprises: After receiving the inspection instruction for the first time, inspecting the inspection unit based on a preset initial inspection duration; The interval duration between the first capture of the initial start signal segment and the first end signal segment is recorded, and the detection duration and the cycle duration are updated based on the interval duration.
5. The method according to claim 1, characterized in that The step of marking a plurality of signal conversion time regions from the timing after the target start signal segment based on the minimum reaction period and the detection frequency includes: According to the captured target start signal segment and the minimum reaction period, marking a plurality of preliminary conversion areas where signal conversion can occur after the target start signal segment; According to the plurality of preliminary conversion areas and the detection frequency, a plurality of signal conversion time areas where signal conversion can be detected are marked in sequence from the timing after the target start signal segment.
6. The method according to claim 1, characterized in that The forming the target segment signal based on the plurality of target conversion signals comprises: According to the label of the target segment signal, marking a plurality of target signal conversion time regions from the plurality of signal conversion time regions; A target transition signal of a plurality of target signal transition time regions is captured, and a target segment signal is generated based on the plurality of target transition signals.
7. A parallel acquisition device, characterized in that: A start signal segment, an end signal segment and a comparison signal are preset in the parallel acquisition device, wherein the comparison signal includes a plurality of comparison signal segments, and the plurality of comparison signal segments are all numbered in the order of arrangement. The parallel acquisition device includes: A collection and capture module (401) is used to collect the digital signal output by the detection unit after receiving the inspection instruction, and capture the target starting signal segment in the digital signal; A marking module (402) is used to, after capturing a target starting signal segment in the digital signal, sequentially collect segment signals in the digital signal according to a preset segment duration, and label the segment signals according to the timing of their collection; A comparison module (403), configured to compare the plurality of segment signals with the plurality of comparison signal segments in the comparison signal one by one according to the labels of the segment signals; If all the segment signals are the same as the corresponding comparison signal segments, the detection unit currently collected is judged to be a good product; if there are segment signals that are different from the corresponding comparison signal segments, the detection unit currently collected is judged to be a bad product; The marking module (402) comprises: generating a minimum response period corresponding to the detection unit based on the baud rate of the detection unit; generating a detection frequency greater than twice the baud rate of the detection unit according to the baud rate of the detection unit; Based on the minimum reaction period and the detection frequency, marking a plurality of signal conversion time regions from the timing after the target start signal segment; A conversion signal in the signal conversion time region is captured, and the target segment signal is constructed based on the index of the target segment signal and a plurality of target conversion signals.
8. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the processing of the parallel acquisition device in the parallel acquisition method for asynchronous output data as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Dual-channel oscilloscope, control method thereof and storage medium
CN111141941A
Memory testing device and method
US20030204797A1