CN113567830A - Bread board control method, device, equipment and storage medium - Google Patents
Bread board control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113567830A CN113567830A CN202110754367.2A CN202110754367A CN113567830A CN 113567830 A CN113567830 A CN 113567830A CN 202110754367 A CN202110754367 A CN 202110754367A CN 113567830 A CN113567830 A CN 113567830A
- Authority
- CN
- China
- Prior art keywords
- bread board
- contact
- board control
- driving state
- test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 235000008429 bread Nutrition 0.000 title claims abstract description 154
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000012360 testing method Methods 0.000 claims abstract description 118
- 238000012937 correction Methods 0.000 claims description 27
- 238000010586 diagram Methods 0.000 claims description 26
- 238000004891 communication Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 239000003990 capacitor Substances 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2832—Specific tests of electronic circuits not provided for elsewhere
- G01R31/2834—Automated test systems [ATE]; using microprocessors or computers
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention discloses a bread board control method, a bread board control device, bread board control equipment and a storage medium, and relates to the technical field of circuit testing. The bread board comprises a bottom board provided with a plurality of first conducting wires, a top board provided with a plurality of second conducting wires and a contact array connected with the first conducting wires and the second conducting wires. The method comprises the following steps: extracting control information from the bread board control instruction according to a preset protocol format by acquiring the bread board control instruction; determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information; and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state. When the bread board is used for testing, the testing elements are connected through the contacts and the conducting wires, so that wiring operation is reduced; the tester adjusts the circuit line by controlling the driving state of the contact, thereby improving the testing efficiency.
Description
Technical Field
The invention relates to the technical field of circuit testing, in particular to a bread board control method, a bread board control device, bread board control equipment and a bread board control storage medium.
Background
In the early stage of design of electronic products, the function of a designed circuit is often required to be tested, which is irreplaceable by software simulation. At present, the testing method mainly comprises the following steps: and (3) carrying out component plugging by using the bread board, carrying out wiring connection after the components are plugged, and then carrying out testing. However, this method requires a lot of manual operations, which causes a large burden to the tester and results in low testing efficiency.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a bread board control method, a bread board control device, bread board control equipment and a bread board control storage medium, and aims to solve the technical problem that in the prior art, when a bread board is used for testing a circuit, the testing efficiency is low.
In order to achieve the above object, the present invention provides a bread board control method, which is applied to a bread board, the bread board includes a bottom plate provided with a plurality of first conducting lines, a top plate provided with a plurality of second conducting lines, and a contact array connecting the first conducting lines and the second conducting lines; the bread board control method comprises the following steps:
acquiring a bread board control instruction, and extracting control information from the bread board control instruction according to a preset protocol format;
determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information;
and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state.
Optionally, before obtaining the bread board control instruction and extracting the control information from the bread board control instruction according to the preset protocol format, the method further includes:
acquiring element information and node information in a circuit diagram to be tested;
matching the element information and the node information with the breadboard circuit model to obtain a corresponding test circuit of the circuit diagram to be tested in the breadboard circuit model;
and determining a test contact corresponding to the test circuit, and generating a bread board control instruction according to the test contact.
Optionally, the element information includes the number of elements and the device type of each element, and the node information includes the number of nodes, the number of connections of each node, and the elements connected to each node.
Optionally, matching the component information and the node information with the breadboard circuit model to obtain a corresponding test circuit of the circuit diagram to be tested in the breadboard circuit model, further includes:
establishing a line model according to the contact array, the first conducting wire and the second conducting wire;
acquiring connected element information corresponding to the contact array;
the connected component information is added to the line model to generate a breadboard line model.
Optionally, generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array, so that the target contact is in the first driving state, further including:
when a test instruction is received, determining an input contact and an output contact from target contacts according to the test instruction;
transmitting a preset test signal to an input contact, and detecting an output contact to obtain an output signal;
and determining a test result according to the output signal.
Optionally, determining a test result according to the output signal includes:
carrying out signal analysis on the output signal to obtain a first signal parameter;
calculating a difference value between the first signal parameter and a preset signal parameter to obtain an error value;
when the error value is smaller than the preset value, judging that the circuit is normal according to the test result;
and when the error value is greater than or equal to the preset value, judging that the test result is circuit abnormity.
Optionally, generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array, so that the target contact is in the first driving state, further including:
when a correction instruction is received, determining a correction contact and a second driving state of the correction contact according to the correction instruction;
and generating a second driving signal according to the correction contact and the second driving state, and transmitting the second driving signal to the contact array so as to enable the correction contact to be in the second driving state.
In addition, in order to achieve the above object, the present invention further provides a bread board control device for driving a bread board, the bread board including a bottom plate provided with a plurality of first conductive lines, a top plate provided with a plurality of second conductive lines, and a contact array connecting the first conductive lines and the second conductive lines;
the bread board control device comprises:
the acquisition module is used for acquiring the bread board control instruction and extracting control information from the bread board control instruction according to a preset protocol format;
the decoding module is used for determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information;
and the driving module is used for generating a first driving signal according to the target contact and the first driving state and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state.
Further, to achieve the above object, the present invention also proposes a bread board control apparatus comprising: the control program of the bread board can be executed by the processor to realize the control method of the bread board.
In addition, to achieve the above object, the present invention further provides a storage medium having a bread board control program stored thereon, the bread board control program implementing the bread board control method as described above when executed by a processor.
In the invention, control information is extracted from a bread board control instruction according to a preset protocol format by acquiring the bread board control instruction; determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information; and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state, so that all the test elements mounted on the bread board are connected through the contacts and the conducting wires to form a required test circuit. When the bread board is used for testing, the wiring operation is reduced; the tester adjusts the circuit line by controlling the driving state of the contact, thereby improving the testing efficiency.
Drawings
Fig. 1 is a schematic structural diagram of a bread board control device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a front view of an embodiment of the bread board of the present invention;
FIG. 3 is a bottom view of an embodiment of the bread board of the present invention;
FIG. 4 is a top view of an embodiment of the bread board of the present invention;
FIG. 5 is a flow chart of a bread board control method according to a first embodiment of the invention;
FIG. 6 is a flow chart of a bread board control method according to a second embodiment of the invention;
FIG. 7 is a circuit schematic of an embodiment of a circuit diagram to be tested according to the present invention;
FIG. 8 is a flow chart of a bread board control method according to a third embodiment of the invention;
fig. 9 is a block diagram showing the structure of the first embodiment of the bread board control device according to the present invention.
The reference numbers illustrate:
10 | base plate | R1~R2 | First to |
|
20 | Top board | C1~C2 | First to |
|
30 | Contact array | | Input signal | |
40 | First conduction line | | Output signal | |
50 | Second conductive line |
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a bread board control device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the bread board control apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the wrapper control device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, identified as one of computer storage media, may include an operating system, a network communication module, a user interface module, and a bread board control program therein.
In the bread board control device shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the bread board control apparatus calls the bread board control program stored in the memory 1005 through the processor 1001 and performs the bread board control method provided by the embodiment of the present invention.
Based on the above hardware structure, an embodiment of the bread board control method of the invention is provided.
Referring to fig. 2, 3, 4 and 5, fig. 2 is a front view of an embodiment of a bread board according to the present invention, fig. 3 is a bottom view of the embodiment of the bread board according to the present invention, and fig. 4 is a top view of the embodiment of the bread board according to the present invention; fig. 5 is a flowchart illustrating a bread board control method according to a first embodiment of the present invention.
In the first embodiment, the bread board control method is applied to a bread board including a bottom plate 10 provided with a plurality of first conductive lines 40, a top plate 20 provided with a plurality of second conductive lines 50, and a contact array 30 connecting the respective first conductive lines 40 and the respective second conductive lines 50.
The contact array 30 includes a plurality of contacts connected to the test element and a switch that controls the contact to communicate with the first conductive line 40 or the second conductive line 50. The first and second conductive lines 40, 50 and the contacts are made of a conductive material, and the test element can be in conductive communication with the first or second conductive line 40, 50 when the switch is conductive. In one embodiment, one end of the contact may be connected to the first conductive line 40 on the bottom plate 10 via a switch, and the other end may be connected to the second conductive line 50 on the top plate 20 via another switch.
Based on the bread board, in the embodiment, the bread board control method comprises the following steps:
step S10: and acquiring the bread board control command, and extracting control information from the bread board control command according to a preset protocol format.
It should be understood that the main execution body of the present embodiment is the aforementioned bread board control device, the bread board control device has functions of image processing, data communication, program operation, and the like, the bread board control device may be a computer device such as a tablet, a computer, or a server, and of course, other devices having similar functions may also be used, and the present embodiment is not limited thereto.
It should be noted that the preset protocol format refers to a pre-agreed communication format, and the content of the bread board control command is set according to the preset protocol format. For example, the communication format may be as follows:
frame header | Command word | Data of | Frame end | Verification |
FF FF | 0C/0D | XX XX XX | EE EE | Byte checking |
Of course, the above-mentioned communication formats are only examples, and the communication formats may be set as needed, which is not limited in this embodiment.
The control information is effective information in the bread board control command, namely information capable of representing a control object and a control state; taking the above communication format as an example, the control information mainly includes command words and data. The bread board control instruction can be directly input by a tester or transmitted by an upper computer, and the bread board control equipment acquires the bread board control instruction and extracts the control information after receiving input information or transmission information.
Step S20: and determining a target contact corresponding to the control information and a first driving state of the target contact according to the preset coding information.
It should be noted that the preset coding information refers to a corresponding relationship between the content of the control information and the driving state of the contacts in the bread board; the driving state of the contact specifically refers to a conductive state between the contact and the first conductive line 40 or the second conductive line 50.
In a specific implementation, the conducting lines and the contacts in the face-pack board may be named, for example, the conducting lines on the bottom board 10 are arranged in a row, and are named sequentially as: c1, C2, C3 and C4; the conducting lines on the top plate 20 are arranged in a row line, and are sequentially named as: d1, D2, D3 and D4; each contact is designated in turn as 1, 2, 3, … …. Command word 0C is to create a connection of a contact to a row or column line and 0D is to delete a connection of a contact to a row or column line.
Referring to the above communication format, assume that the bread board control command is: FF FF 0C 01D 1C 1 EE 03. The control information includes 0C 01D 1C 1, which means: contact 1 is connected to both row line L1 and column line C1.
Step S30: and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state.
It should be noted that the first driving signal may be a voltage signal, and the first driving signal mainly acts on the switch between the connection contact in the contact array and the first conducting line 40 or the second conducting line 50. In a specific implementation, the switch may be an integrated MOS transistor electronic switch, and the default state of the switch is normally off. Therefore, the first driving signal needs to be transmitted to the gate of the MOS transistor electronic switch corresponding to the target contact, so as to drive the MOS transistor electronic switch to be turned on.
Further, after step S30, the method may further include: when a correction instruction is received, determining a correction contact and a second driving state of the correction contact according to the correction instruction; and generating a second driving signal according to the correction contact and the second driving state, and transmitting the second driving signal to the contact array so as to enable the correction contact to be in the second driving state.
The calibration command includes the contact points to be adjusted and the states of the contact points, and the form of the calibration command can refer to the form of the bread board control command. The correction instruction mainly comprises a contact point needing to be newly added with control and a contact point needing to be modified; and the second driving state of the newly-added control contact is communicated with the conducting wire, and the second driving state of the modified contact is disconnected with the conducting wire. Therefore, the second driving signal comprises two states of voltage signals, one is used for driving the MOS tube electronic switch corresponding to the newly-added control contact to be turned on, and the other is used for driving the MOS tube electronic switch corresponding to the modified contact to be turned off.
In the first embodiment, by acquiring the bread board control instruction, the control information is extracted from the bread board control instruction according to a preset protocol format; determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information; and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state, so that all the test elements mounted on the bread board are connected through the contacts and the conducting wires to form a required test circuit. According to the embodiment, when the bread board is used for testing, wiring operation is reduced; the tester adjusts the circuit line by controlling the driving state of the contact, thereby improving the testing efficiency.
Referring to fig. 6, fig. 6 is a flow chart illustrating a second embodiment of the bread board control method according to the present invention, and the second embodiment of the bread board control method according to the present invention is proposed based on the above first embodiment.
In the second embodiment, before the step S10, the method further includes:
step S01: and acquiring element information and node information in the circuit diagram to be tested.
It should be noted that the circuit diagram to be tested refers to a circuit to be tested, and the circuit of the circuit diagram to be tested is re-tested through the test elements connected to the bread board and the bread board, so as to determine whether the circuit diagram to be tested meets the design requirements.
In this embodiment, the circuit diagram to be tested can be stored in the form of a picture. The breadboard control device obtains element information and node information by reading a circuit diagram picture to be tested and analyzing the circuit diagram to be tested based on image identification.
In this embodiment, the element information includes the number of elements and the device type of each element, and the node information includes the number of nodes, the number of connections of each node, and the elements connected to each node.
Referring to fig. 7, fig. 7 is a schematic circuit diagram of an embodiment of a circuit diagram to be tested according to the present invention.
As shown in fig. 7, in the circuit to be tested, the element information includes 2 resistors (a first resistor R1, a second resistor R2) and 2 capacitors (a first capacitor C1, a second capacitor C2), the node information includes nodes a, b, C, d, e, f, h, g, and i, and 9 nodes in total, where the node b is connected to C1, R1, and R2, respectively, the node f and the node g are used for signal input, the node h and the node i are used for signal output, and the nodes g, d, e, and the node f may be connected to each other in the same row or column.
Step S02: and matching the element information and the node information with the breadboard circuit model to obtain a corresponding test circuit of the circuit diagram to be tested in the breadboard circuit model.
It should be noted that the bread board is provided with test elements in advance, the bread board circuit model refers to a model corresponding to an actual bread board, and the test circuit refers to a circuit in which a circuit diagram to be tested is mapped to the bread board circuit model.
To establish the breadboard circuit model, before step S02, the method further includes: establishing a line model according to the contact array, the first conducting wire and the second conducting wire; acquiring connected element information corresponding to the contact array; the connected component information is added to the line model to generate a breadboard line model.
In specific implementation, a breadboard circuit model can be established based on the three-dimensional stereo graph, and the circuit model is established according to the contact array, the first conducting line and the second conducting line of the actual breadboard. The connected component information refers to the type of component, such as resistance, capacitance, etc., to which each contact is connected.
The specific process of matching the element information and the node information with the breadboard circuit model may be as follows: from the nodes, a start node is determined, which is typically a node for signal input or signal output, e.g., f, h, g, and i. After the initial node is determined, the next connection object, such as a node or a test element, is determined in sequence, and the nearest test element is searched for connection according to the element type in the breadboard circuit model. And analogizing in turn to connect each node and element to complete the matching process.
Step S03: and determining a test contact corresponding to the test circuit, and generating a bread board control instruction according to the test contact.
It is understood that after the test line is determined, the contact point connected to each test element is the test contact point, and then the driving state corresponding to the test contact point is determined according to the conducting state of the test contact point and the first conducting line 40 or the second conducting line 50. And then, coding the test contact and the driving state corresponding to the test contact according to a preset protocol format to generate a bread board control instruction.
In the second embodiment, the breadboard control device obtains the element information and the node information in the circuit diagram to be tested; matching the element information and the node information with the breadboard circuit model to obtain a corresponding test circuit of the circuit diagram to be tested in the breadboard circuit model; and finally, determining a test contact corresponding to the test circuit, and generating a bread board control instruction according to the test contact. The embodiment can automatically generate the bread board control instruction according to the circuit diagram to be tested, thereby driving the corresponding test circuit in the bread board process, reducing manual operation and improving test efficiency.
Referring to fig. 8, fig. 8 is a flow chart illustrating a third embodiment of the bread board control method according to the present invention, and the third embodiment of the bread board control method according to the present invention is proposed based on the first embodiment and the second embodiment.
In the third embodiment, after the step S30, the method further includes:
step S40: and when receiving the test instruction, determining the input contact and the output contact from the target contacts according to the test instruction.
In this embodiment, the bread board control device further has a test function, and when receiving the test instruction, the bread board control device obtains test information from the test instruction and performs a test based on the test information. The test information may include, among other things, input contacts and output contacts.
The input contact refers to a contact for receiving an input signal Sin, and the output contact refers to a contact for transmitting an output signal Sout. Referring to fig. 7, the test command may designate the contacts corresponding to nodes f and g as input contacts and the contacts corresponding to nodes h and i as output nodes. The communication format of the test command may also refer to the first embodiment, and this implementation is not described herein.
Step S50: and transmitting a preset test signal to the input contact, and detecting the output contact to obtain an output signal.
It should be noted that the predetermined test signal may be a digital signal or an analog signal. The predetermined test signal is mainly used for testing the function of the test circuit, and therefore, the predetermined test signal should be at least suitable for the function that the test circuit can realize. The specific parameters of the preset test signal can be set according to the requirements of the tester, which is not limited in this embodiment.
The bread board control equipment can generate corresponding test signals according to the setting of a tester, and transmits the test signals to the output contact after the test signal output end is connected with the input contact. Meanwhile, the bread board control equipment also has a signal analysis function, and after the signal detection end is connected with the output contact, a corresponding output signal can be obtained.
Step S60: and determining a test result according to the output signal.
It should be noted that the bread board control device also has a signal analysis function, and can analyze the output signal to obtain signal parameters, such as amplitude, frequency, etc., corresponding to the output signal; and then judging whether the output signal meets a preset condition according to a preset parameter, and further determining a test result.
In a specific implementation, step S60 may include: carrying out signal analysis on the output signal to obtain a first signal parameter; calculating a difference value between the first signal parameter and a preset signal parameter to obtain an error value; when the error value is smaller than the preset value, judging that the circuit is normal according to the test result; and when the error value is greater than or equal to the preset value, judging that the test result is circuit abnormity.
It should be noted that the preset signal parameters can be specified according to the performance that the test circuit can achieve; taking the second-order passive filter circuit shown in fig. 7 as an example, the preset signal parameter may be a frequency parameter, and accordingly, the first signal parameter at least needs to include the frequency parameter. By comparing the frequency of the output signal with a preset frequency parameter, whether the filtering performance of the test circuit reaches the standard or not can be determined. If the error value is too large, the performance of the circuit does not reach the standard, and the test result is judged to be circuit abnormity.
In the third embodiment, the bread board control device determines the input contact and the output contact from the target contacts according to the test instruction when receiving the test instruction; and transmitting a preset test signal to the input contact, detecting the output contact to obtain an output signal, and determining a test result according to the output signal. The embodiment can test the circuit built on the bread board, judge whether the circuit performance meets the requirements or not, enable testers to quickly adjust the circuit, and improve the test efficiency.
Furthermore, an embodiment of the present invention further provides a storage medium having a bread board control program stored thereon, where the bread board control program, when executed by a processor, implements the steps of the bread board control method as described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, referring to fig. 9, fig. 9 is a block diagram showing the configuration of the first embodiment of the bread board control apparatus according to the present invention. The embodiment of the invention also provides a bread board control device.
In the present embodiment, the bread board control apparatus is used for driving a bread board, and the bread board includes a bottom plate 10 provided with a plurality of first conductive lines 40, a top plate 20 provided with a plurality of second conductive lines 50, and a contact array 30 connecting the respective first conductive lines 40 and the respective second conductive lines 50.
Based on the bread board, in the embodiment, the bread board control device comprises:
the obtaining module 100 is configured to obtain a breadboard control instruction, and extract control information from the breadboard control instruction according to a preset protocol format.
And the decoding module 200 is configured to determine a target contact corresponding to the control information and a first driving state of the target contact according to preset encoding information.
The driving module 300 is configured to generate a first driving signal according to the target contact and the first driving state, and transmit the first driving signal to the contact array, so that the target contact is in the first driving state.
In the embodiment, by acquiring the bread board control instruction, the control information is extracted from the bread board control instruction according to a preset protocol format; determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information; and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state, so that all the test elements mounted on the bread board are connected through the contacts and the conducting wires to form a required test circuit. According to the embodiment, when the bread board is used for testing, wiring operation is reduced; the tester adjusts the circuit line by controlling the driving state of the contact, thereby improving the testing efficiency.
In an embodiment, the bread board control device further comprises an instruction generating module, wherein the instruction generating module is used for acquiring element information and node information in the circuit diagram to be tested; matching the element information and the node information with the breadboard circuit model to obtain a corresponding test circuit of the circuit diagram to be tested in the breadboard circuit model; and determining a test contact corresponding to the test circuit, and generating a bread board control instruction according to the test contact.
In one embodiment, the element information includes the number of elements and the device type of each element, and the node information includes the number of nodes, the number of connections of each node, and the elements connected to each node.
In an embodiment, the instruction generating module is further configured to establish a line model according to the contact array, the first conducting line and the second conducting line; acquiring connected element information corresponding to the contact array; the connected component information is added to the line model to generate a breadboard line model.
In one embodiment, the bread board control device further comprises a test module, wherein the test module is used for determining the input contact and the output contact from the target contact according to the test instruction when receiving the test instruction; transmitting a preset test signal to an input contact, and detecting an output contact to obtain an output signal; and determining a test result according to the output signal.
In an embodiment, the test module is further configured to perform signal analysis on the output signal to obtain a first signal parameter; calculating a difference value between the first signal parameter and a preset signal parameter to obtain an error value; when the error value is smaller than the preset value, judging that the circuit is normal according to the test result; and when the error value is greater than or equal to the preset value, judging that the test result is circuit abnormity.
In one embodiment, the bread board control device further comprises a correction module, wherein the correction module is used for determining the correction contact and the second driving state of the correction contact according to the correction instruction when receiving the correction instruction; and generating a second driving signal according to the correction contact and the second driving state, and transmitting the second driving signal to the contact array so as to enable the correction contact to be in the second driving state.
The embodiments or specific implementations of the bread board control device according to the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A bread board control method is characterized in that the bread board control method is applied to a bread board, and the bread board comprises a bottom board provided with a plurality of first conducting lines, a top board provided with a plurality of second conducting lines and a contact array for connecting the first conducting lines and the second conducting lines;
the bread board control method comprises the following steps:
acquiring a bread board control instruction, and extracting control information from the bread board control instruction according to a preset protocol format;
determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information;
and generating a first driving signal according to the target contact and the first driving state, and transmitting the first driving signal to the contact array so that the target contact is in the first driving state.
2. The bread board control method as claimed in claim 1, wherein before obtaining bread board control instructions and extracting control information from the bread board control instructions according to a preset protocol format, the method further comprises:
acquiring element information and node information in a circuit diagram to be tested;
matching the element information and the node information with a breadboard circuit model to obtain a corresponding test circuit of the circuit diagram to be tested in the breadboard circuit model;
and determining a test contact corresponding to the test circuit, and generating a bread board control instruction according to the test contact.
3. The bread board control method of claim 2, wherein the element information includes the number of elements and the device type of each element, and the node information includes the number of nodes, the number of connections of each node, and the elements to which each node is connected.
4. The breadboard control method of claim 2, wherein the matching the component information and the node information with the breadboard circuit model to obtain the circuit pattern to be tested before the corresponding test circuit in the breadboard circuit model, further comprises:
establishing a line model according to the contact array, the first conducting wire and the second conducting wire;
acquiring connected element information corresponding to the contact array;
adding the connected component information to the line model to generate a breadboard line model.
5. The bread board control method according to any of the claims 1-4, characterized in that, after generating a first driving signal according to the target contact and the first driving state and transmitting the first driving signal to the contact array to make the target contact in the first driving state, further comprising:
when a test instruction is received, determining an input contact and an output contact from the target contacts according to the test instruction;
transmitting a preset test signal to the input contact, and detecting the output contact to obtain an output signal;
and determining a test result according to the output signal.
6. The bread board control method as claimed in claim 5, wherein said determining a test result according to said output signal comprises:
performing signal analysis on the output signal to obtain a first signal parameter;
calculating a difference value between the first signal parameter and a preset signal parameter to obtain an error value;
when the error value is smaller than a preset value, judging that the circuit is normal according to a test result;
and when the error value is greater than or equal to a preset value, determining that the test result is circuit abnormity.
7. The bread board control method according to any of the claims 1-4, characterized in that, after generating a first driving signal according to the target contact and the first driving state and transmitting the first driving signal to the contact array to make the target contact in the first driving state, further comprising:
when a correction instruction is received, determining a correction contact point and a second driving state of the correction contact point according to the correction instruction;
and generating a second driving signal according to the correction contact and the second driving state, and transmitting the second driving signal to the contact array so as to enable the correction contact to be in the second driving state.
8. The bread board control device is characterized by being used for driving a bread board, wherein the bread board comprises a bottom plate provided with a plurality of first conducting lines, a top plate provided with a plurality of second conducting lines and a contact array for connecting the first conducting lines and the second conducting lines;
the bread board control device comprises:
the acquisition module is used for acquiring the bread board control instruction and extracting control information from the bread board control instruction according to a preset protocol format;
the decoding module is used for determining a target contact corresponding to the control information and a first driving state of the target contact according to preset coding information;
and the driving module is used for generating a first driving signal according to the target contact and the first driving state and transmitting the first driving signal to the contact array so as to enable the target contact to be in the first driving state.
9. A bread board control apparatus, characterized in that the bread board control apparatus comprises: a memory, a processor and a bread board control program stored on the memory and executable on the processor, the bread board control program implementing the bread board control method according to any one of claims 1 to 7 when executed by the processor.
10. A storage medium having stored thereon a bread board control program which, when executed by a processor, implements the bread board control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110754367.2A CN113567830B (en) | 2021-07-02 | 2021-07-02 | Bread board control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110754367.2A CN113567830B (en) | 2021-07-02 | 2021-07-02 | Bread board control method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113567830A true CN113567830A (en) | 2021-10-29 |
CN113567830B CN113567830B (en) | 2024-03-19 |
Family
ID=78163600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110754367.2A Active CN113567830B (en) | 2021-07-02 | 2021-07-02 | Bread board control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113567830B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000027807A (en) * | 1998-10-29 | 2000-05-15 | 박용진 | Apparatus for testing electric/electronic logic using breadboard |
CN1304121A (en) * | 1999-12-02 | 2001-07-18 | 王祖斌 | Multifunction circuit board |
CN102778647A (en) * | 2012-08-17 | 2012-11-14 | 中国科学院高能物理研究所 | System and method for circuit testing |
CN105469675A (en) * | 2015-12-15 | 2016-04-06 | 蒙山 | Intelligent experiment teaching system |
CN108107342A (en) * | 2017-11-07 | 2018-06-01 | 广州兴森快捷电路科技有限公司 | Test module wiring method and test module |
CN208540244U (en) * | 2018-06-28 | 2019-02-22 | 合肥恩光电子科技有限公司 | A kind of circuit board being conveniently replaceable element |
CN112485653A (en) * | 2020-11-13 | 2021-03-12 | 中国电子科技集团公司第二十四研究所 | Integrated circuit testing system and method |
-
2021
- 2021-07-02 CN CN202110754367.2A patent/CN113567830B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000027807A (en) * | 1998-10-29 | 2000-05-15 | 박용진 | Apparatus for testing electric/electronic logic using breadboard |
CN1304121A (en) * | 1999-12-02 | 2001-07-18 | 王祖斌 | Multifunction circuit board |
CN102778647A (en) * | 2012-08-17 | 2012-11-14 | 中国科学院高能物理研究所 | System and method for circuit testing |
CN105469675A (en) * | 2015-12-15 | 2016-04-06 | 蒙山 | Intelligent experiment teaching system |
CN108107342A (en) * | 2017-11-07 | 2018-06-01 | 广州兴森快捷电路科技有限公司 | Test module wiring method and test module |
CN208540244U (en) * | 2018-06-28 | 2019-02-22 | 合肥恩光电子科技有限公司 | A kind of circuit board being conveniently replaceable element |
CN112485653A (en) * | 2020-11-13 | 2021-03-12 | 中国电子科技集团公司第二十四研究所 | Integrated circuit testing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN113567830B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110798380B (en) | Data acquisition method, system, device, test equipment and test server | |
CN105120483B (en) | Automatic testing method and system for compatibility of smart card and mobile terminal | |
CN112087354A (en) | Communication protocol testing method and device, electronic equipment and storage medium | |
CN101385393A (en) | A system for verifying the identification of a device | |
CN111338616A (en) | Protocol analysis code generation method and device and electronic equipment | |
CN112286825A (en) | Screen testing method and device for intelligent cabin and electronic equipment | |
CN113703836B (en) | SCPI instruction management method for spacecraft power system evaluation | |
CN113567830B (en) | Bread board control method, device, equipment and storage medium | |
CN111258828A (en) | I2C bus test method, test device and computer readable storage medium | |
US10755008B2 (en) | Circuit comparing method and electronic device | |
CN114780440B (en) | Method and device for detecting correctness of software upgrading version | |
CN110865931B (en) | Simulation method, simulation device, electronic equipment and storage medium | |
CN111695319A (en) | Method and equipment for compensating inductance of series loop of connector in real time | |
CN104699083B (en) | Method and system for measuring electronic control unit (ECU) | |
CN111352780B (en) | Method and device for determining state of path and readable storage medium | |
CN112149033B (en) | Method and device for acquiring H5 page control, electronic equipment and storage medium | |
CN111025046A (en) | Test system, method for controlling matrix switch and storage medium | |
CN115685959A (en) | Diagnostic write configuration test method, device, equipment and storage medium | |
CN114020546A (en) | Pin test system, method and storage medium | |
CN115550826A (en) | MIC array detection and analysis method, device, equipment and storage medium | |
US20180059179A1 (en) | Automatic control system and automatic instrument searching method for the same | |
CN114137467A (en) | System and method for realizing multi-communication connection aiming at electronic calibration part | |
CN111953954A (en) | Terminal white balance debugging and configuration method, display terminal, cloud platform and system | |
US20170074909A1 (en) | Computer controlled automated safe to mate method and apparatus | |
CN112256511A (en) | USB test circuit, method and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |