Wiring teaching device
Technical Field
The utility model relates to the technical field of teaching instruments, in particular to a wiring teaching device.
Background
The correct use of the instrument and equipment is common teaching content in schools and enterprises. In the teaching process, besides explaining theoretical knowledge, actual operation is also an important ring. The use process of the instrument inevitably involves the wiring operation, so the teaching operation also involves the actual operation of wiring. In the prior art, the wiring real operation teaching is generally carried out on actually-working instruments and equipment. However, the trainees generally have the problems of unskilled operation and weak theoretical knowledge, so that misoperation often occurs in the process of actual operation, the wiring is connected to the wrong connector, and the short circuit, the fault and the damage of the instrument are caused. In addition, if the high-voltage wiring operation is performed, safety accidents can occur, and great potential safety hazards exist.
SUMMERY OF THE UTILITY MODEL
Accordingly, an object of the present invention is to provide a wiring teaching device, which determines whether to turn on an instrument by determining whether wiring is correct and outputting a logical judgment, thereby reducing damage to the instrument due to misoperation.
The utility model is realized by the following technical scheme:
a wiring teaching device comprises a wiring front panel and a singlechip which are electrically connected; the wiring front panel converts the wiring state into an electric signal and sends the electric signal to the singlechip; the single chip microcomputer carries out logic judgment and outputs an electric signal.
Compared with the prior art, in the wiring teaching device, the singlechip judges whether the wiring state of the wiring front panel is correct or not according to the electric signal sent by the wiring front panel, and outputs the electric signal to an operator to judge whether the instrument can be switched on or not, so that the damage of the instrument caused by error wiring when the instrument is directly electrified is avoided.
Further, the device also comprises a relay; the relay is connected with the output end of the single chip microcomputer and is switched off or on according to the output signal of the single chip microcomputer. The single chip microcomputer judges whether to trigger the relay according to the wiring state of the wiring front panel, an operator can judge whether wiring is correct according to whether the relay is triggered so as to protect an instrument,
further, the instrument is electrically connected with the relay. The relay is automatically triggered according to the result output by the single chip microcomputer and is electrified to the instrument, so that the automation from judgment to instrument connection is realized, the judgment of an operator is not needed in the whole process, the safety is good, and the instrument can be well protected.
Further, the wiring front panel comprises a panel main body, a connector and a detector, wherein the connector and the detector are arranged on the panel main body; the number of the joints is more than two; wherein the two connectors are respectively connected with the anode and the cathode of the detector; when wiring, selecting any two joints to be connected by a lead; the detector outputs an electric signal to the singlechip according to the voltage values of the anode and the cathode of the detector. The detector judges the wiring state according to the voltage applied to the detector, converts the wiring state into an electric signal and inputs the electric signal into the singlechip.
Further, the detector is a photoelectric detector. The photoelectric detector converts voltage or current into optical signals, and then the optical signals are converted into electric signals, so that the detection accuracy is improved.
Further, the detector comprises a first detector and a second detector; the number of the joints is 8, two of the joints are grounded, and the rest joints are respectively connected with the anode of the first detector, the cathode of the first detector, the anode of the second detector, the cathode of the second detector, the low-voltage power supply and the high-voltage power supply. The two types of power supplies are improved for operators, and whether wiring is correct or not is detected, so that teaching needs are facilitated.
Further, the single chip microcomputer comprises a first pin group for input, a second pin group, a third pin group for output and a chip, wherein the first pin group is electrically connected with the positive electrode and the negative electrode of the first detector; the second pin group is electrically connected with the positive electrode and the negative electrode of the second detector; the third pin group is electrically connected with the relay; the chip analyzes the wiring state of the wiring front panel according to the received electric signals of the first pin group and the second pin group, and outputs an electric signal through the third pin group to control the switch of the relay.
Furthermore, the relay is in a normally open state, so that safety is guaranteed.
For a better understanding and practice, the utility model is described in detail below with reference to the accompanying drawings.
Drawings
FIG. 1 is a schematic view of the overall structure of a wiring teaching device according to the present invention;
FIG. 2 is a front view of the wiring front panel of the present invention;
FIG. 3 is an internal circuit diagram of the wiring front panel of the present invention;
fig. 4 is a wiring schematic diagram of the wiring front panel, the single chip microcomputer and the relay in the utility model.
Detailed Description
Specifically, referring to fig. 1, the wiring teaching device of the present invention includes a wiring front panel 10, a single chip 20, a relay 30 and an instrument 40 electrically connected in sequence. The relay 30 is in a normally open state and can be closed and connected when receiving a trigger signal. The user performs the wiring operation on the wiring front panel 10, and after the connection, the single chip microcomputer 20 acquires the electric signal generated by the wiring front panel 10 and converts the electric signal into a logic signal according to the connection state of the wiring front panel 10. When the logic signal is consistent with the threshold value, the circuit connected with the relay 30 is electrified, the relay 30 is closed and conducted, and the instrument 40 is electrified to be opened. When the logic signal is inconsistent with the threshold value, the circuit connected with the relay 30 is kept open and is not electrified, the relay 30 is in a normally open state and is not electrified to the instrument 40, and therefore the instrument 40 is not damaged even if the error wiring occurs.
In one embodiment, referring to fig. 2 to 4, the wiring front panel 10 includes a panel main body 11, a connector 12 disposed on the panel main body 11, a first detector 13, and a second detector 14. The number of the joints 12 is 8, and the joints 12-1 to the joints 12-8 are arranged in sequence. The tabs 12-1 through 12-4 form a first row and the tabs 12-5 through 12-8 form a second row. The joint 12-1 is connected with a +5V low-voltage power supply. The connector 12-2 is connected to the positive electrode of the first detector 13. The connector 12-3 is connected to the anode of the second detector 14. The joint 12-4 is connected with a +500V high-voltage power supply. The connector 12-5 is grounded. The connector 12-6 is connected to the negative pole of the first detector 21. The connector 12-7 is connected to the negative pole of the second detector 22. The connector 12-8 is grounded. The user selects two of the connectors 12-1 to 12-8 arbitrarily and connects them with a wire. The rated voltage of the first detector 13 is + 5V. The rated voltage of the second detector 14 is + 500V. The first detector 13 and the second detector 14 directly output detection results to an operator or the single chip microcomputer 20. Preferably, the first detector 13 and the second detector 14 are both photodetectors, and can convert an optical signal into a voltage or current signal, and as the input voltage increases, the generated optical signal is stronger, thereby outputting different electrical signals.
The single chip microcomputer 20 includes a first pin group 21 for input, a second pin group 22, a third pin group 23 for output, and a chip (not shown). The first pin group 21 is electrically connected to the positive and negative electrodes of the first detector 13 to scan the electrical signal thereof. The second pin group 22 is electrically connected to the positive and negative electrodes of the second detector 14 to scan the electrical signal thereof. The third pin group 23 is electrically connected to the relay 30 to output a control signal thereto. The chip reads the electrical signals of the first pin group 21 and the second pin group 22 to analyze the wiring state of the wiring front panel 10, and outputs an electrical signal through the third pin group 23 to control the on/off of the relay 30. The operator can judge whether the wiring is accurate according to the switching condition of the relay 30.
During normal wiring, the joint 12-1 is connected with the joint 12-2 through a wire, the joint 12-3 is connected with the joint 12-4 through a wire, the joint 12-5 is connected with the joint 12-6 through a wire, and the joint 12-7 is connected with the joint 12-8 through a wire. A low voltage power supply of +5V low voltage power supply is applied to the first probe 13. A high voltage power supply of +500V is applied to the second detector 14. The first detector 13 and the second detector 14 convert this state into normal electric signals, and input the electric signals to the first pin group 21 and the second pin group 22, respectively. The chip reads the electrical signals of the first pin group 21 and the second pin group 22 and performs logic judgment. Since the voltages applied to the first detector 13 and the second detector 14 do not exceed the rated voltage, the chip outputs a logic signal that is turned on, and sends a trigger electrical signal to the relay 30 through the third pin group 23. The relay 30 is closed and the instrument 40 is opened.
In case of an erroneous operation, for example, the connector 12-2 is connected to the connector 12-4 by a wire, the connector 12-6 is connected to the connector 12-8 by a wire, and the first detector 13 is applied with a high voltage of +500V far exceeding its rated voltage, and the first detector 13 and the second detector 14 convert the state into an erroneous operation electric signal and input the erroneous operation electric signal to the first pin group 21 and the second pin group 22, respectively. The chip reads the electrical signals of the first pin group 21 and the second pin group 22 and performs logic judgment, so as to output a disconnected logic signal, the third pin group 23 does not output an electrical signal, the relay 30 is disconnected and kept in a normally open state, and the instrument 40 is not electrified and closed.
Compared with the prior art, the wiring teaching device judges whether the instrument is connected or not by judging whether wiring is correct or not and outputting logic judgment, so that the damage to the instrument caused by misoperation is reduced. The operator can automatically judge whether to switch on the instrument according to the output logic judgment result or automatically judge whether to switch on the instrument by the wiring teaching device, the safety is good, the instrument can be well protected, and the detection result is high in accuracy. In addition, the wiring teaching device is simple in structure and easy to realize, and can meet different teaching requirements.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the utility model. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.