CN111028639A - Automatic circuit connection detection system for physics electricity - Google Patents
Automatic circuit connection detection system for physics electricity Download PDFInfo
- Publication number
- CN111028639A CN111028639A CN201911409564.XA CN201911409564A CN111028639A CN 111028639 A CN111028639 A CN 111028639A CN 201911409564 A CN201911409564 A CN 201911409564A CN 111028639 A CN111028639 A CN 111028639A
- Authority
- CN
- China
- Prior art keywords
- signal generation
- control terminal
- detection device
- circuit connection
- chip microcomputer
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 93
- 230000005611 electricity Effects 0.000 title abstract description 9
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims abstract description 76
- 238000004891 communication Methods 0.000 claims abstract description 24
- 239000003990 capacitor Substances 0.000 claims description 5
- 238000010586 diagram Methods 0.000 abstract description 8
- 238000007689 inspection Methods 0.000 description 5
- 238000002955 isolation Methods 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B23/00—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
- G09B23/06—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics
- G09B23/18—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism
- G09B23/183—Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Algebra (AREA)
- Pure & Applied Mathematics (AREA)
- Educational Administration (AREA)
- Computational Mathematics (AREA)
- Business, Economics & Management (AREA)
- Educational Technology (AREA)
- Theoretical Computer Science (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention relates to the field of circuit connection automatic detection of physics electricity, in particular to a circuit connection automatic detection system for physics electricity. After the circuit connection is completed, the upper computer sends a detection command, the control terminal sends a pulse generation and pulse detection command to the signal generation and detection device in a wireless communication mode, the signal generation and detection device generates a pulse, the connection relation between elements is judged according to the ID number of the signal generation and detection device which detects the pulse, the control terminal sends received data to the upper computer, and the upper computer software displays a circuit connection diagram according to the received data and automatically judges whether the circuit connection is correct or not according to the circuit function.
Description
Technical Field
The invention discloses an automatic detection system for circuit connection of physics electricity, and belongs to the technical field of circuit connection detection of physics electricity.
Background
In the physics electricity experimentation, by the student according to the experimental circuit diagram, with components and parts such as group battery, bulb, switch, voltmeter, ampere meter, slide rheostat utilize the wire to carry out the physical connection, connect the completion back, instruct mr to carry out the circuit inspection by the experiment, this kind of inspection mode is more time-consuming and laboursome, especially when the circuit is complicated, the connecting wire is more, there may exist the circuit inspection and appear the misjudgement condition, and, in physics electricity experimental examination in-process, carry out the circuit connection inspection by the mr of taking a prison, the unfair phenomenon that the detection error leads to appears in the difficult exemption.
In order to realize the quick and accurate inspection of a physical electrical circuit, the automatic detection system for the circuit connection of the physical electrical circuit is designed, after the circuit connection is completed, the upper computer sends a detection command, the circuit connection can be quickly and automatically detected, a circuit connection diagram is displayed on the upper computer, and whether the circuit connection is correct or not is automatically judged according to the circuit function.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: after the circuit connection is completed, how to quickly detect whether the circuit connection is correct through the computer, and the circuit connection diagram is displayed through the computer.
The technical scheme adopted by the invention is as follows: a circuit connection automatic detection system for physics electricity comprises design elements, signal generation detection devices, an upper computer and a control terminal, wherein two ends of each design element are respectively connected with the signal generation detection devices, the upper computer is connected with the control terminal through an RS232 serial port, and the control terminal is connected with the signal generation detection devices through wireless signals; the signal generation detection device distributes different addresses for each design element, the upper computer sends a control command to the control terminal through an RS232 serial port protocol, the control terminal sends the command to each signal generation detection device in a wireless communication mode, after each signal generation detection device receives the command, pulse signals with fixed frequency are output, each signal generation detection device receives the pulse signals sent by other signal generation devices and sends the received pulse signals to the control terminal through the wireless communication mode as detection results, and the control terminal receives the model number sent by each signal generation detection device and sends the model number to the upper computer through the RS232 serial port protocol. The upper computer is a common computer.
The signal generation detection device comprises an inductor, a capacitor, a single chip microcomputer and a wireless communication module, wherein the single chip microcomputer chip is a 51-series single chip microcomputer, an MSP 430-series or STM 32-series single chip microcomputer, and the wireless communication module is an NRF24L01 wireless radio frequency communication module.
The control terminal is composed of a single chip microcomputer, a wireless communication module and a USB-to-serial port circuit, wherein the single chip microcomputer chip is a 51-series single chip microcomputer, an MSP 430-series or STM 32-series single chip microcomputer, the wireless communication module is an NRF24L01 wireless radio frequency communication module, the USB-to-serial port chip is CH340G, and the control terminal is connected with an upper computer through a USB cable.
The design element is any number of battery packs, bulbs, switches, voltmeters, ammeters, sliding varistors, inductors, capacitors and the like, namely any combination of the battery packs, the bulbs, the switches, the voltmeters, the ammeters, the sliding varistors, the inductors, the capacitors and the like, wherein each element (the battery packs, the bulbs, the switches, the ammeters, the sliding varistors, the inductors and the capacitors) is any number (wherein a certain element can be 0).
The invention has the beneficial effects that: the invention can rapidly and accurately obtain the detection result by detecting whether the physical and electrical experiment circuit is correct or not through the computer.
Drawings
FIG. 1 is a schematic view of the connection of the signal generation detection device of the present invention;
FIG. 2 is a circuit diagram of the bulb and the signal generating and detecting device according to the present invention;
FIG. 3 is a circuit diagram of a control terminal of the present invention;
FIG. 4 is a USB to serial circuit diagram of the present invention;
fig. 5 is a pulse generation command frame format transmitted by the control terminal;
fig. 6 is a data frame format transmitted to the control terminal after the signal generation detecting device generates a pulse;
fig. 7 is a pulse detection command frame format transmitted by the control terminal;
fig. 8 shows a data frame format transmitted to the control terminal after the signal generation detection device detects the pulse.
Detailed Description
The signal generation detection device is designed by utilizing the characteristics of direct current isolation of inductance and alternating current isolation and direct current isolation of capacitance, the internal structure of the signal generation detection device is shown in figure 1, the signal generation detection device mainly comprises an inductance, a capacitance, a single chip microcomputer and a wireless module, and the signal generation detection device can output and detect pulse signals and is communicated with a control terminal in a wireless communication mode. The signal generation detecting device is connected to both ends of the battery case (in which the battery pack is provided), the bulb, the switch, the voltmeter, the ammeter, the slide rheostat, and the like, and the B-terminal connection element of the signal generation detecting device, such as the connection between the bulb and the signal generation detecting device, is shown in fig. 2, and each signal generation detecting device is assigned a different ID number.
The internal structure of the control terminal is shown in fig. 3 and mainly comprises a single chip microcomputer, a wireless module and a USB-to-serial port circuit, the USB-to-serial port circuit is shown in fig. 4, the terminal is communicated with an upper computer through a USB cable, receives commands sent by the upper computer and sends the received commands to all signal generation detection devices in a wireless communication mode, and the pulse generation command frame format sent by the control terminal is shown in fig. 5. The signal generation detection device judges whether to generate output pulse according to the ID in the received command frame, if the ID in the command frame is the same as the ID allocated by the signal generation detection device, the pulse is output, the format of a data frame sent to the control terminal after the signal generation detection device generates the pulse is shown in figure 6, the format of a pulse detection command frame sent to the control terminal is shown in figure 7, and the format of a data frame sent to the control terminal after the signal generation detection device detects the pulse is shown in figure 8. The control terminal transmits the received data to the upper computer in a serial communication protocol mode, and the upper computer displays the circuit connection relation according to the received information.
The signal generation detection device designed by the invention is respectively arranged at two ends of elements such as a battery pack, a bulb, a switch, a voltmeter, an ammeter, a slide rheostat and the like, the B end of the signal generation detection device is connected with elements, each signal generation detection device is distributed with different ID numbers, the ID number is 8bit, for example, the ID number of the signal generation detection device connected with the positive end of a battery box is 0X01, the ID number of the signal generation detection device connected with the negative end of the battery box is 0X02, the ID number of the signal generation detection device connected with one end of a certain bulb is 0X02, the ID number of the signal generation detection device connected with the other end of the bulb is 0X03, the ID number of the signal generation detection device connected with one end of a certain switch is 0X04, the ID number of the signal generation detection device connected with the other end of the switch is 0X05, the ID number of the signal generation detection device connected with one end of a certain voltmeter is 0X06, the, the signal generation and detection device ID number connected to one end of an ammeter is 0X08, the signal generation and detection device ID number connected to the other end of the ammeter is 0X09, the signal generation and detection device ID number connected to one end of a slide varistor is 0X0A, and the signal generation and detection device ID number connected to the other end of the slide varistor is 0X 0B.
After the circuit connection is completed, the upper computer sends a pulse signal generation command to the control terminal through a serial port communication protocol, the control terminal sends the command to each signal generation detection device through the wireless module after receiving the command, the ID of the signal generation detection device in a pulse generation command frame sent firstly is the ID (0X 01) of the signal generation detection device connected with the positive end of the battery box, the signal generation detection device connected with the positive end of the battery box outputs a pulse signal of 40KHz after receiving the command, then the pulse signal generation completion information is sent to the control terminal, the format of a data frame is shown in figure 6, and the second byte in the data frame is the ID of the signal generation detection device connected with the positive end of the battery box. The control terminal sends a pulse detection command frame after receiving a pulse signal generation completion data frame, the frame format is shown in fig. 7, the second byte is a signal generation detection device ID for generating a pulse signal, the other signal detection generation devices perform pulse detection after receiving the command frame, if a pulse signal of 40KHz is detected, the pulse detection data frame is sent to the control terminal, the frame format is shown in fig. 8, wherein the second byte is the signal generation detection device ID for detecting the pulse signal. After receiving the data frame, the control terminal sends the received data to an upper computer through a serial communication protocol, the positive end of a display battery box of the upper computer is connected with an element connected with the signal generation detection device, the upper computer continues to send a pulse signal generation command to the control terminal through the serial communication protocol, the signal generation detection device connected with the other end of the element is controlled to generate a pulse signal, detection continues according to the control flow described above until the pulse signal is detected by the signal generation detection device connected with the negative end of the battery box, a circuit connection diagram is displayed on the upper computer, functions are realized according to the current circuit, and whether the circuit connection is correct or not is automatically judged.
After a certain signal generation detection device generates a pulse signal, if a plurality of signal generation detection devices detect the pulse signal, the signal generation detection devices which detect the pulse signal all send pulse detection data frames to a control terminal, the control terminal sends received data to an upper computer, and upper computer software sequentially controls the signal generation detection devices at the other ends of the elements connected with the signal generation detection devices to output pulses and display circuit connection relation.
The data frame and the command frame defined by the invention are composed of 3 bytes, the first byte is a frame type, 0X01 represents a pulse generation command frame sent by a control terminal, 0X02 represents a data frame sent to the control terminal after a signal generation detection device generates a pulse, 0X03 represents a pulse detection command frame sent to the control terminal, and 0X04 represents a data frame sent to the control terminal after the signal generation detection device detects the pulse; the second byte is the ID of the signal generation detection device; the third byte is a check, which is defined as the sum of the first byte and the second byte.
The wireless transmission module used by the invention adopts a 2.4GHz radio frequency module NRF24L01, the wireless module used in the control terminal is defined as a master node, the wireless module used in each signal generation detection device is defined as a slave node, a master-multi-slave communication mode is adopted, the wireless module address used by each slave node is the same, the wireless module address used by the master node is different from the address set by the slave node, each slave node can simultaneously receive data sent by the master node, when the master node sends a pulse generation command frame to each slave node, each slave node simultaneously receives the command frame, whether the ID allocated by each node is the same or not is judged according to the content of a second byte in the command frame, if the ID allocated by each node is the same, the signal generation detection device connected with the node generates a pulse signal, and if the ID allocated by each node is different. The master node can receive all the data sent by the slave nodes and judge the node ID number of the sent data according to the second byte in the received data frame. When a plurality of slave nodes send data to the master node at the same time, the channel conflicts, a delay strategy is adopted, and after a period of time delay, the data is sent again.
Claims (4)
1. An automatic detection system for physical electrical circuit connection, characterized in that: the device comprises a plurality of design elements, signal generation and detection devices, an upper computer and a control terminal, wherein two ends of each design element are respectively connected with the signal generation and detection devices; the signal generation detection device distributes different addresses for each design element, the upper computer sends a control command to the control terminal through an RS232 serial port protocol, the control terminal sends the command to each signal generation detection device in a wireless communication mode, after each signal generation detection device receives the command, pulse signals with fixed frequency are output, each signal generation detection device receives the pulse signals sent by other signal generation devices and sends the received pulse signals to the control terminal through the wireless communication mode as detection results, and the control terminal receives the model number sent by each signal generation detection device and sends the model number to the upper computer through the RS232 serial port protocol.
2. The automatic detection system for the electrical and physical circuit connection according to claim 1, wherein: the signal generation detection device comprises an inductor, a capacitor, a single chip microcomputer and a wireless communication module, wherein the single chip microcomputer chip is a 51-series single chip microcomputer, an MSP 430-series or STM 32-series single chip microcomputer, and the wireless communication module is an NRF24L01 wireless radio frequency communication module.
3. The automatic detection system for the electrical and physical circuit connection according to claim 1, wherein: the control terminal is composed of a single chip microcomputer, a wireless communication module and a USB-to-serial port circuit, wherein the single chip microcomputer chip is a 51-series single chip microcomputer, an MSP 430-series or STM 32-series single chip microcomputer, the wireless communication module is an NRF24L01 wireless radio frequency communication module, the USB-to-serial port chip is CH340G, and the control terminal is connected with an upper computer through a USB cable.
4. The automatic detection system for the electrical and physical circuit connection according to claim 1, wherein: the design element is any number of battery pack, bulb, switch, voltmeter, ammeter, slide rheostat, inductance, electric capacity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911409564.XA CN111028639A (en) | 2019-12-31 | 2019-12-31 | Automatic circuit connection detection system for physics electricity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911409564.XA CN111028639A (en) | 2019-12-31 | 2019-12-31 | Automatic circuit connection detection system for physics electricity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111028639A true CN111028639A (en) | 2020-04-17 |
Family
ID=70197500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911409564.XA Pending CN111028639A (en) | 2019-12-31 | 2019-12-31 | Automatic circuit connection detection system for physics electricity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111028639A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114708486A (en) * | 2022-04-07 | 2022-07-05 | 太原智林信息技术股份有限公司 | Automatic judging method for physical and electrical experiment operation circuit connection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104217627A (en) * | 2014-09-22 | 2014-12-17 | 沙明博 | Intelligent experimental platform device and teaching method |
CN104933928A (en) * | 2014-06-06 | 2015-09-23 | 陈辉 | Practical training device capable of detecting wiring correctness of circuit automatically |
CN211181349U (en) * | 2019-12-31 | 2020-08-04 | 太原智林信息技术股份有限公司 | Automatic circuit connection detection system for physics electricity |
-
2019
- 2019-12-31 CN CN201911409564.XA patent/CN111028639A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104933928A (en) * | 2014-06-06 | 2015-09-23 | 陈辉 | Practical training device capable of detecting wiring correctness of circuit automatically |
CN104217627A (en) * | 2014-09-22 | 2014-12-17 | 沙明博 | Intelligent experimental platform device and teaching method |
CN211181349U (en) * | 2019-12-31 | 2020-08-04 | 太原智林信息技术股份有限公司 | Automatic circuit connection detection system for physics electricity |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114708486A (en) * | 2022-04-07 | 2022-07-05 | 太原智林信息技术股份有限公司 | Automatic judging method for physical and electrical experiment operation circuit connection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107462786B (en) | A kind of matrix comprehensive tester and test method | |
CN107323291B (en) | High-precision data synchronous acquisition and real-time processing system and method for power battery | |
CN208207122U (en) | polarity tester | |
CN102608537A (en) | Feed network type heavy-power battery testing device | |
CN102288849B (en) | Highway addressable remote transducer (HART) loop fault diagnosis instrument and method | |
CN106383508A (en) | Electric automobile battery management system slave control module and test system thereof | |
CN105510737A (en) | Universal automatic testing system for carrier rocket | |
CN211181349U (en) | Automatic circuit connection detection system for physics electricity | |
CN110647478B (en) | Method and system for setting serial communication equipment address | |
CN111028639A (en) | Automatic circuit connection detection system for physics electricity | |
CN209417136U (en) | A kind of measurement transient voltage circuit | |
CN107688153B (en) | Distributed wireless bus battery screening and testing system and testing method | |
CN102393497A (en) | Portable polarity calibrator for electronic mutual inductor | |
CN102680908B (en) | Battery status detection record analyzer and control method | |
CN108089055A (en) | A kind of testing lines device and its test method | |
CN210294487U (en) | Nickel-hydrogen battery package assembly function test equipment | |
CN209784830U (en) | Sensor simulation board card suitable for peripheral sensor interface | |
CN106405275B (en) | Test system and method for slave control module of battery management system of electric vehicle | |
CN114910814A (en) | Multichannel acquisition circuit, aging test equipment and system | |
CN107181645A (en) | A kind of intelligent household control terminal WiFi communication test system | |
CN204832336U (en) | A it is novel at line voltage monitoring devices for storage battery | |
CN210376528U (en) | Device for automatic detection of alternating current charging interface | |
CN208255331U (en) | A kind of charging pile CC/CP device for testing functions | |
CN202840692U (en) | Intelligent grid collection terminal function detection system | |
CN106153997A (en) | A kind of pulse outputting unit for the test of rail vehicle charger |
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 |