CN110288886A - A kind of encoder experimental teaching unit - Google Patents

A kind of encoder experimental teaching unit Download PDF

Info

Publication number
CN110288886A
CN110288886A CN201910622209.4A CN201910622209A CN110288886A CN 110288886 A CN110288886 A CN 110288886A CN 201910622209 A CN201910622209 A CN 201910622209A CN 110288886 A CN110288886 A CN 110288886A
Authority
CN
China
Prior art keywords
chip
unit
panel
banana
encoder
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.)
Withdrawn
Application number
CN201910622209.4A
Other languages
Chinese (zh)
Inventor
刘恋
郭立强
菊花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaiyin Normal University
Original Assignee
Huaiyin Normal University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huaiyin Normal University filed Critical Huaiyin Normal University
Priority to CN201910622209.4A priority Critical patent/CN110288886A/en
Publication of CN110288886A publication Critical patent/CN110288886A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B23/00Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
    • G09B23/06Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics
    • G09B23/18Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism
    • G09B23/183Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits
    • G09B23/186Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits for digital electronics; for computers, e.g. microprocessors

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Mathematical Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Theoretical Computer Science (AREA)
  • Instructional Devices (AREA)

Abstract

The invention discloses a kind of encoder experimental teaching units, including pedestal, panel and banana head connecting line;The panel is integrated with or gate logic unit, light emitting diode, NOT gate logic unit, cell encoder, logic level unit and UPS unit.The device using flexible is easily achieved, and each functional unit can be connected into -2 line coding device of 4 line by banana head connecting line by user, while can carry out functional test and demonstration to encoder chip 74LS148;The device has used large-size components and chip identification figure, has the function of good class demonstration, is the good experimental vehicle of classroom interactions, convenient for being promoted the use of on university researchers, use value with higher and wide application prospect.

Description

A kind of encoder experimental teaching unit
Technical field
The present invention relates to electronic technology fields, and in particular to a kind of encoder experimental teaching unit.
Background technique
" Fundamental Digital Electronic Technique " this subject is colleges and universities' Electronics Science and Technology, Electronics and Information Engineering and communication engineering etc. The profession basis of the non-electronics majors profession such as Electronics Specialties and Computer Science and Technology, Internet of Things engineering and physics must Class is repaired, is played an important role in entire System for Cultivating, is the design of following digital system, single-chip microcontroller, computer composition The study of the courses such as principle, IC design is laid a good foundation.Encoder is as typical logic circuit, in " number Fundamentals of Electronic Technology " it plays an important role in this subject.It mainly include point about the knowledge point of encoder and its circuit theory The design of vertical component numbering device and the use of encoder chip 74LS148.Make student by the study of the two Key Points Grasp the test and use of the design method and encoder chip of encoder.This partial knowledge of encoder grasp it is secured whether directly Connect the study for influencing subsequent decoder and other combinational logic circuits.
Currently, the experiment condition of each colleges and universities' electric specialty is preferable, it is equipped with digital circuit specialized laboratory.But it is existing College Curricula System in, this subject is all made of the teaching tempo of " Theory Course+laboratory ", i.e., first carried out in multi-media classroom Then theory teaching carries out experimental teaching in specialized laboratory." Fundamental Digital Electronic Technique " is the very strong class of practicality Journey, if carrying out knowledge implantation simply in theory teaching, the learning effect of student can be very poor.If worn in teaching process Experimental demonstration is inserted, and there are problems.For example, experimental facilities in specialized laboratory or be the very big large size of occupied area Experiment porch or be more bulky experimental box.It is that can not be moved to common multimedia religion for large-scale experiment porch Demonstration of attending class is carried out in room.For experimental box, due to small volume, and there are many functional unit for including, this leads to element Density is very big, and LED, charactron, switch etc. use small size component.Two rows of students can see before being also only when experimental demonstration Clear, subsequent student is difficult to see experimentation and result.Meanwhile the power supply of experimental box is all made of 220V alternating current, it can Mobility is poor.In addition, the flip lid on experimental box can block if experimental box is just being carried out class demonstration facing towards student Raw sight, demonstration are got up very inconvenient.
For the non-electronics majors such as Computer Science and Technology, Internet of Things engineering and physics profession, situation is not allowed equally to find pleasure in It sees.The colleges and universities poor for some experiment conditions, since non-electrolyte water solution does not have the laboratory of profession, the experiment of this subject is past Related experiment teaching is completed toward emulating using computer based EDA.Such case is the most general for computer profession Time.The learning experience for eventually leading to student is poor, and teacher lacks intuitive in the explanation of knowledge point, and atmosphere of giving lessons is more dull.
Student is often to interactivity to be shown to the questionnaire survey of college student course learning according to authoritative institutions such as maxs The course of strong attend class mode and experimental demonstration class is most interested, and energy is concentrated the most when listening to the teacher.And those PPT are inculcated Formula teaching is often unable to pull oneself together.The problem of encountering during being given lessons according to " Fundamental Digital Electronic Technique " this subject, i.e., can not Encoder circuit function presentation is easily carried out in Theory Course using hardware device, the present invention provides one kind to drill convenient for classroom The encoder experimental teaching unit shown, for building discrete component encoder and carrying out functional test to 74LS148 chip.The dress Set be both encoder circuit experimental demonstration instruments used for education, while be also carry out classroom interactions good carrier, to classroom instruction Positive exemplary role is played, can be improved the Classroom attention and study initiative of student, there is good popularization and is made Use prospect.
Summary of the invention
Aiming at the problems existing in the prior art, classroom teaching quality is improved, the invention proposes a kind of experiments of encoder Instructional device, the technical solution used in the present invention are as follows:
A kind of encoder experimental teaching unit, including pedestal, panel and banana head connecting line;The panel is integrated with or door Logic unit, light emitting diode, NOT gate logic unit, cell encoder, logic level unit and UPS unit;
Described or gate logic unit is made of CD4071 chip, chip adapter panel and banana connector, and CD4071 chip is logical It crosses chip adapter panel to be fixed on panel, the power supply of CD4071 chip and ground the port output port of power source with UPS unit respectively It is connected with ground port, " or logic " input and output side of CD4071 chip is connected with banana connector;
The light emitting diode is made of light emitting diode, resistance and banana connector, the cathode of light emitting diode It is connected by resistance with the ground port of UPS unit, light-emitting diodes tube anode is connected with banana connector;
The NOT gate logic unit is made of CD4069 chip, chip adapter panel and banana connector, and CD4069 chip is logical It crosses chip adapter panel to be fixed on panel, the power supply of CD4069 chip and ground the port output port of power source with UPS unit respectively It is connected with ground port, " NOT logic " input and output side of CD4069 chip is connected with banana connector;
The cell encoder is made of 74LS148 chip, locking bed and banana connector, and 74LS148 chip passes through lock Tight seat is fixed on panel;
The logic level unit is made of single-pole double-throw switch (SPDT), banana connector and exclusion, single-pole double-throw switch (SPDT) side Input terminal be connected with the ground port of UPS unit, the input terminal of other side passes through the output port of power source of exclusion and UPS unit It is connected, the intermediate output of single-pole double-throw switch (SPDT) is connected with banana connector;
The UPS unit is made of 5V power outlet, ups power module, lithium battery, power switch and banana connector, The anode and cathode of 5V power outlet are connected with the power input port of ups power module, the anode and cathode and UPS of lithium battery The battery port of power module is connected, and the output head anode of ups power module is connected by power switch with banana connector, is Entire experimental provision power supply, the negative pole of output end of ups power module is connected with banana connector, as connecing for entire experimental provision Ground terminal.
Preferably, the pedestal is the rectangular parallelepiped structure being made of single-layer acrylic plate, and the panel is single-layer acrylic Plate is simultaneously fixed on the pedestal by stock screw;The pedestal and panel are 60 centimetres long, 45 centimetres wide.
Preferably, the chip adapter panel is made of screw hole location, chip carrier socket, printed circuit cable and pad, the pad It is connected by conducting wire with the banana connector, the chip adapter panel is screwed on the panel.
Preferably, the diameter of the light emitting diode is 1 centimetre, and luminescent color is red.
Preferably, the lithium battery is 18650 lithium batteries.
Preferably, respectively there is a plug at the banana head connecting line both ends, and the plug is by plastic handle and metal lotus flower Head is constituted, and the diameter of the metal lotus flower head and the diameter of bore of the banana connector are 2 millimeters, the plastic handle The jack that top is 2 millimeters with internal diameter.
Compared with prior art, the invention has the following advantages:
1. the present invention can test the encoder chip of model 74LS148, at the same can also build based on " or - 2 line coding device of 4 line of door ", the basic principle of students encoder is made by the demonstration of this experimental provision, is familiar with 74LS148 The pin function of chip grasps the design method of combinational logic circuit, has the characteristics that simple, understandable and versatile.
2. functional unit of the invention is abundant, it is easy to accomplish, user can be by banana head connecting line by each functional unit Connection is to complete the test of encoder chip and building for discrete component encoder circuit, using flexible.
3. pedestal and panel of the invention is all made of acrylic board production, have weatherability and resistance to acid and alkali good, anti-impact The advantages such as power is strong, easy to clean and insulating properties is good are hit, and low cost, cost performance are high.
4. pedestal and a length of 60 centimetres of panel in the present invention, width is 45 centimetres, each unit is printed with phase on panel The large scale mark figure of chip or element is answered, the diameter of light emitting diode is 1 centimetre, and this unique large scale design makes this Invention has the function of good class demonstration, is the good experimental vehicle of classroom interactions, convenient to be promoted on university researchers It uses, there is wide use value and application prospect.
Detailed description of the invention
Fig. 1 is the schematic diagram of pedestal in the present invention;
Fig. 2 is the structure chart of panel in the present invention;
Fig. 3 is the circuit diagram of each unit on panel in the present invention;
Fig. 4 is chip adapter panel schematic diagram in the present invention;
Fig. 5 is the circuit diagram that -2 line coding device of 4 line is built in the present invention;
Fig. 6 is the circuit diagram that 74LS148 chip is tested in the present invention.
Appended drawing reference: 101- or gate logic unit, 102- light emitting diode, 103- NOT gate logic unit, 104- are compiled Code device unit, 105- logic level unit, 106-UPS unit, 201- chip adapter panel, 202- screw hole location, 203- chip are inserted Seat, 204- printed circuit cable, 205- pad.
Specific embodiment
Technical solution of the present invention is understood for the ease of technical staff, now in conjunction with Figure of description to technical side of the invention Case is described further.
A kind of encoder experimental teaching unit, including pedestal, panel and banana head connecting line.The structural representation of the pedestal Figure as shown in Figure 1, pedestal be by with a thickness of 3 millimeters acrylic board production " box-like " cuboid, it is wide the length is 60 centimetres Degree is 45 centimetres, is highly 5 centimetres.The structure chart of the panel is as shown in Fig. 2, and with the acrylic board with a thickness of 3 millimeters Production, respectively there is a screw hole location, and consistency from top to bottom on 4 angles of panel and pedestal, convenient for panel is passed through stock screw It is fixed on the base.One important function of pedestal is the electronic circuit cabling at the protection panels back side, another effect is just It exists side by side on dais in by the panel front of the experimental provision towards student, facilitates the connection and its state of observation of students circuit.
As shown in Fig. 2, the panel is integrated with or gate logic unit 101, light emitting diode 102, non-gate logic list Member 103, cell encoder 104, logic level unit 105 and UPS unit 106.
Described or gate logic unit 101 is made of CD4071 chip, chip adapter panel 201 and banana connector, CD4071 Chip is fixed on panel by chip adapter panel 201, the power port of CD4071 chip and port respectively with UPS unit 106 output port of power source with ground port be connected and be chip power, " or logic " input and output side of CD4071 chip and Banana connector is connected.CD4071 chip interior has four groups of independent two input terminals or door, as Fig. 2's or gate logic unit 101 Shown, banana connector A1 connects the input terminal of first group or door, first group of banana connector Y1 connection or the output of door with B1 End.And so on, two input terminals and an output end of excess-three group or door respectively with banana connector " A2, B2, Y2 ", " A3, B3, Y3 " and " A4, B4, Y4 " connection.Marked as 101 in Fig. 2 or in circuit diagram corresponding to gate logic unit 101 such as Fig. 3 Sub-circuit figure shown in, which is with Proteus Software on Drawing, which connects power supply and ground automatically, therefore should 7 pins and 14 pins of chip are ignored and (do not have the two pins in circuit diagram).Sub-circuit such as Fig. 3 marked as 101 Shown in figure, 4 independent or door uses " U1:A "~" U1:D " to mark respectively, the digital representation in 4 OR gate inputs, output pin The pin designations of CD4071 chip.
Or the main function of gate logic unit 101 is to build -2 line coding device of 4 line, it will be detailed in specific embodiment below It is thin to introduce.
The red light emitting diodes and banana connector structure that the light emitting diode 102 is 1 centimetre by 8 diameters At as shown in Figure 2.The purpose of selection major diameter light emitting diode is easy for experimental demonstration, facilitates observation of students.Light emitting diode It is the corresponding region that the LED seat for being 1 centimetre by diameter of bore is fixed on panel, LED seat is commercially available on the market. In mounted LED lamp seat, the actual size according to lamp holder overall diameter is needed, aperture is carried out in panel corresponding region, then LED Lamp holder insertion panel is simultaneously fixed by nut on the back of the panel.In the present embodiment, used lamp holder overall diameter is 1.35 centimetres, the adjacent center spacing of 8 lamp holders is appropriate, facilitates aperture, and adjacent lamp holder center spacing is 3.5 centimetres.Every 5 centimeters open the circular hole that a diameter is 4 millimeters immediately below one lamp holder, for installing banana connector.It next will be red Light emitting diode is put into lamp holder, the resistance and UPS for being 10K Ω by resistance value by the cathode of light emitting diode at the back side of panel The ground port of unit 106 is connected and (welds and complete particular by conducting wire fly line), light-emitting diodes tube anode and banana connector phase Even.As shown in the light emitting diode 102 in Fig. 2, " LED1 "~" LED8 " represents 8 diameters as 1 centimetre of emitting red light Diode, the anode of this 8 light emitting diodes are connected with banana connector " L1 "~" L8 " respectively, physical circuit such as Fig. 3 acceptance of the bid Number for 102 sub-circuit figure shown in, in the circuit diagram, element numbers " D1 "~" D8 " respectively represent it is mentioned-above 8 hair Optical diode.
The major function of light emitting diode 102 is the height for code displaying output end level.In order to verify Whether the light emitting diode of installation succeeds, and a plug of banana head connecting line can be inserted into Fig. 2 in UPS unit 106 Power port, i.e., insertion labeled as " V1 " banana connector in, another plug of banana head connecting line is sequentially inserted into In light emitting diode 102 marked as " L1 ", " L2 " ..., the banana connector of " L8 ", press power switch, observation is corresponding Light emitting diode whether be lit, it is whether problematic come the installation process for verifying light emitting diode with this.
The NOT gate logic unit 103 is made of CD4069 chip, chip adapter panel 201 and banana connector, CD4069 Chip is fixed on panel by chip adapter panel 201, the power port of CD4069 chip and port respectively with UPS unit 106 output port of power source with ground port be connected and be chip power, " NOT logic " input and output side of CD4069 chip and Banana connector is connected.CD4069 chip interior has six groups of independent NOT gates, as shown in the NOT gate logic unit 103 of Fig. 2, banana The input terminal of connector A1 first group of NOT gate of connection, the output end of banana connector Y1 first group of NOT gate of connection.And so on, Remaining five groups of NOT gates input terminal and output end respectively with banana connector " A2, Y2 ", " A3, Y3 ", " A4, Y4 ", " A5, Y5 " and " A6, Y6 " connection.Circuit diagram corresponding to NOT gate logic unit 103 is as shown in the sub-circuit figure in Fig. 3 marked as 103 in Fig. 2, The circuit diagram is with Proteus Software on Drawing, which connects power supply and ground automatically, therefore 7 pins of the chip and 14 Pin is ignored and (does not have the two pins in circuit diagram).As shown in sub-circuit figure of the Fig. 3 marked as 103,6 independent NOT gate uses " U2:A "~" U2:F " to mark respectively, the input of 6 NOT gates, digital representation CD4069 chip on output pin pin Label.
The main function of NOT gate logic unit 103 is that coding output is carried out negated fortune when to 74LS148 chip testing It calculates, as detailed below continuous specific embodiment and Fig. 6.
As shown in figure 4, there is screw hole location 202 (to be distributed in 4 angles of chip adapter panel 201 on the chip adapter panel 201 On), chip carrier socket 203, printed circuit cable 204 and pad 205.The effect of chip adapter panel 201 is fixed integrated logic gate chip, Good electrical communication is constituted between each pad and chip pin, it is convenient to be connected with corresponding banana connector.In this implementation In example, specifically by or gate logic unit 101 for, panel front or gate logic unit 101 open and two rows of amount to 14 diameters For 1 millimeter of circular hole, the centre distance of the two neighboring circular hole of horizontal direction is 2.5 millimeters, vertically adjacent two circular holes 30 millimeters of centre distance;By CD4071 chip be inserted into chip carrier socket 203 (as shown in figure 4, pay attention to chip notch towards a left side, at this time A row is connected according to direction from left to right, the 1st pad with 1 pin of chip below, 2 pins of the 2nd pad and chip Be connected, and so on to the 7th pad;That pad right above 7th pad is the 8th pad, at this time direction according to from Dextrad is left, is successively the 9th pad, until the 14th pad in the upper left corner);The 1st, lower left corner hole location is selected, by conducting wire from face Back passes through the 1st pad in 201 lower left corner of acrylic panel and chip adapter panel, and conducting wire is welded on the pad, is pressed According to the sub-circuit figure in Fig. 3 marked as 101, the other end of conducting wire is welded on banana connector " A1 ", and so on, in addition to Outside 7 and the 14th pad, remaining pad is each welded in corresponding banana connector.7 pins of CD4071 chip are ground connection End, therefore the conducting wire of the 7th pad is welded on the grounding ports of UPS unit 106 on the back of the panel.Similarly, the 14 of the chip Pin is power end, therefore the conducting wire of the 14th pad is welded on the output port of power source of UPS unit 106 on the back of the panel.Institute After having conducting wire welding, shown in chip adapter panel 201 is fixed on panel front with 4 screws or gate logic unit 101 Region (note that due to small more of " CD 4071 " chip mark in the size ratio panels of chip adapter panel 201, it can will Chip adapter panel 201 is fixed on the white space inside " CD 4071 " chip mark).Chip is used in NOT gate logic unit 103 The implementation steps of the fixed CD4069 chip of pinboard are similar, and which is not described herein again.
The cell encoder 104 is made of 74LS148 chip, locking bed and banana connector, and 74LS148 chip passes through Locking bed is fixed on panel.In the present embodiment, using the expanded letter locking bed of 16 pins of dual-in-line, leg diameter is 0.8 millimeter, length is 1 centimetre, which can buy on the market.A left side in the cell encoder 104 of panel front The circular hole that two rows of total 16 diameters are 1 millimeter is opened in side intermediate region, and the centre distance of the two neighboring circular hole of horizontal direction is 2.5 Millimeter, the centre distance of vertically adjacent two circular holes are 10 millimeters.101 glue are coated in the bottom of locking bed, and will lock In the tight mentioned-above two rows of circular holes of seat insertion, locking bed and panel are fixed together by 101 glue.At the back side of panel 16 pins of locking bed are connected with corresponding banana connector using the form of fly line, in physical circuit such as Fig. 3 marked as Shown in 104 sub-circuit figure, the pin of first hole location in the locking bed lower left corner and the banana connector phase on panel marked as " 1 " Even, the pin of second hole location in the lower left corner is connected with the banana connector on panel marked as " 2 ", and so on, according to the inverse time The pin in needle direction, first hole location in the locking bed upper left corner is connected with the banana connector on panel marked as " 16 ".
As shown in Fig. 2, having printed the 74LS148 chip of enlarged version in the right side middle position in 104 region of cell encoder Schematic diagram and pin identify text, chipPin andPin is coding input end Mouthful, with letter... andTo identify.ChipWithPin is coding output end Mouthful, respectively with letterWithTo identify.ChipWithPin is for extended coding Strobe output mouth, respectively with letterWithTo identify.ChipPin is grounding ports, uses word Female " GND " is identified;ChipPin is power port, is identified with alphabetical " VCC ".Said chip pin mark and The banana connector in 104 region of cell encoder is one-to-one relationship on panel, i.e.,With the banana marked as " 1 " Connector is corresponding,It is corresponding with the banana connector marked as " 2 " ...,With the banana connector marked as " 16 " It is corresponding, it is convenient for circuit connection in this way.The mode that UV printing can be used in said chip schematic diagram and pin mark is printed on On acrylic board (commission correlation UV printing businessman customization).By above-mentioned design, make the function of each pin of 74LS148 chip clear It is clear as it can be seen that facilitating teaching demonstration.
The main function of cell encoder 104 is tested 74LS148 chip, its peripheral pin function is familiar with.
The logic level unit 105 is made of single-pole double-throw switch (SPDT), banana connector and two 5Pin exclusions.In this reality It applies in example, single-pole double-throw switch (SPDT) uses the toggle switch of model MTS102, and model switch can be bought on the market.Using The main reason for toggle switch is that it has nut above, convenient for being fixed on panel.Such as 105 institute of logic level unit in Fig. 2 Show, " SW1 "~" SW8 " represents 8 single-pole double-throw switch (SPDT)s.A row total 8 is opened in 105 region of logic level unit of panel front The circular hole that a diameter is 7 millimeters, the centre distance of the two neighboring circular hole of horizontal direction are 4 centimetres.Select a hole of the leftmost side Position, the handle of single-pole double-throw switch (SPDT) (toggle switch) is inserted in the hole from the back side of panel, will be switched in panel front nut It is fixed on panel.Physical circuit is as shown in the sub-circuit figure in Fig. 3 marked as 105, and wherein the resistance value of exclusion RP1 is 5.1K Ω.At the back side of panel, the input terminal of single-pole double-throw switch (SPDT) side is connected with the ground port of UPS unit 106, by single-pole double throw The input terminal of switch other side is connected with 2 pins of exclusion, and the common end (1 pin) of exclusion is defeated with the power supply of UPS unit 106 Exit port is connected, and the intermediate output of single-pole double-throw switch (SPDT) is connected with banana connector " O1 ".Using same method, by remaining 7 single-pole double-throw switch (SPDT) SW2~SW8 successively with exclusion, UPS unit 106 and corresponding banana connector be connected.
105 output end of logic level unit provides high level or low level for circuit, such as the son in Fig. 3 marked as 105 Shown in circuit diagram, when single-pole double-throw switch (SPDT) SW1 is allocated to upper end, output end is connected by exclusion with power supply, i.e., banana head is inserted at this time Seat O1 exports high level;When single-pole double-throw switch (SPDT) SW1 is allocated to lower end, output end is directly connected to the ground, i.e. banana connector at this time O1 exports low level.The level height of banana connector O1 output can also be verified by light emitting diode 102, specifically Ground, using banana head connecting line, the banana connector O1 of logic level unit 105, other end insertion luminous two are inserted into one end The banana connector L1 of pole pipe unit 102, observes whether Light-emitting diode LED 1 is lighted by stirring single-pole double-throw switch (SPDT), such as Fruit dot is bright, then illustrates the banana connector O1 output high level of logic level unit 105, otherwise export low level.It is verifying The logic function of 74LS148 chip and when building discrete component -2 line coding device of 4 line, needs using logic level unit 105, For details, reference can be made to the specific embodiments described below.
The UPS unit 106 is inserted by 5V power outlet, ups power module, 18650 lithium batteries, power switch and banana head Seat is constituted, and specific layout is as shown in the UPS unit 106 in Fig. 2.In the present embodiment, 5V power outlet be using with nut, The fine copper socket of model QZ7034-M9-2.1, opening diameter are 9 millimeters.Ups power module is having a size of 3.5 cm x 1.5 centimetres of micro-circuit board has 6 ports on the circuit board, right specifically as shown in the sub-circuit figure in Fig. 3 marked as 106 Answering device name is " UPS ", wherein be power input marked as " 1 " and " 2 " two ports, with the positive of 5V power outlet and Cathode is connected;The anode of 5V power outlet is connected with " 1 " port, and cathode is connected with " 2 " port;Marked as " 3 " and " 4 " two Port is cell input terminal, is connected respectively with the anode and cathode of 18650 lithium batteries;It is electricity marked as " 5 " and " 6 " two ports Source output terminal mouth, " 5 " port are the ground terminal of entire circuit system, the 5V voltage of " 6 " port outputting standard, maximum output current 1A, " 6 " port is connected by power switch with banana connector simultaneously, is powered for whole device.All devices of UPS unit 106 Part can be commercially available on the market, wherein 18650 lithium batteries are the battery cases by bottom with screw hole position to fix In the front of panel.
There are two the major functions of UPS unit 106, one is (can be turned by USB in the case where there is external power supply input Wiring is electrically accessed computer or mobile power source in 5V power outlet), which on the one hand can be in UPS unit The charging of 18650 lithium batteries, while also powering for entire experimental provision.The second is UPS module automatically will when not having external power supply The voltage of 18650 lithium batteries is converted to standard 5V voltage output and powers for entire experimental provision.UPS unit is entire real in this way Experiment device provide uninterruptible power supply supply, have the advantages that it is flexible and convenient, convenient for carrying out experiment behaviour in the case of no power supply Make.
Next it introduces based on two embodiments of the invention, i.e. -2 line coding device circuit of 4 line is built and 74LS148 core Piece functional test.It should be noted that circuit shown in fig. 5 be high level effectively, -2 line coding of 4 line without priority Device deeply understands the principle of encoder in this way convenient for student.In Fig. 5, light emitting diode D1 and D2 are exported for code displaying Low level and a high position, D3 is as coding input indicator light, and when SW1~SW4 has high level input, D3 is lit.
As shown in figure 5, in combination with the sub-circuit figure in Fig. 3 marked as 101,102,105 and 106, -2 line coding device of 4 line Circuit builds that specific step is as follows:
Step 1, using banana head connecting line by the banana connector " O1 " and/or gate logic list in logic level unit 105 The banana connector " A1 " of member 101 is connected, i.e. the logic level of port " O1 " is linked into 1 pin of CD4071 chip;Similarly, According to Fig. 5, using banana head connecting line by the banana connector " O2 ", " O3 " and " O4 " in logic level unit 105 respectively with Or the banana connector " A3 " of gate logic unit 101, " A4 " are connected with " B4 ", i.e., the logic of the port " O2 ", " O3 " and " O4 " is electric Divide the pin of be not linked into CD4071 chip 8,12 and 13 equally.
Step 2, using banana head connecting line by or gate logic unit 101 banana connector " Y3 " be connected with " A2 ", " Y4 " is connected with " B2 ", i.e., in CD4071 chip third and the 4th or output end (10 pins and 11 pins) level Be respectively connected in the chip second or input terminal (5 pins and 6 pins);Use banana head connecting line general or gate logic The banana connector " Y2 " of unit 101 is connected with " B1 ", i.e., in CD4071 chip second or output end (4 pin) electricity It is flat be linked into the chip first or input terminal (2 pin);Using banana head connecting line by or gate logic unit 101 Banana connector " Y1 " is connected with the banana connector " L3 " in light emitting diode 102, i.e., first in CD4071 chip Or the level of gate output terminal (3 pin) is linked into the anode of light emitting diode D3, for testing the height of output level, this shines Diode is indicated as coded input signal, i.e., when it is high level that, which there is an output in the port " O1 "~" O4 ", the indicator light quilt It lights.
Step 3, according to Fig.5, using banana head connecting line by or gate logic unit 101 banana connector " B3 " and " B4 " is connected, and (port " B4 " is occupied by a banana connector in step 1, but banana head used in the present invention connects Banana head connecting line, can be inserted into the jack by the jack for being 2 millimeters with internal diameter at the top of the plastic handle of wiring, be used for grade Connection), i.e., third and the 4th or input terminal (9 pins and 13 pins) link together;It will using banana head connecting line Or gate logic unit 101 banana connector " Y3 " and " Y4 " respectively with the banana connector in light emitting diode 102 " L1 " is connected with " L2 ", i.e., third and the 4th or the level point of gate output terminal (10 pins and 11 pins) in CD4071 chip It is not linked into the anode of light emitting diode D1 and D2, the result for code displaying.
Three above step completes -2 line coding device circuit of 4 line based on CD4071 chip and builds.Circuit shown in Fig. 5 is real Most basic encoder circuit is showed, outputting and inputting for the circuit is that high level is effective, the low level of this and 74LS148 chip It is effectively different, but the principle encoded is the same.Using high level efficient coding device circuit, circuit theory is simple, is convenient for Student understands the principle of encoder.Press power switch, stir single-pole double-throw switch (SPDT) SW1 in logic level unit 105~ SW4 guarantees that the output of only one port is high level in the port synchronization " O1 "~" O4 ", then observes light emitting diode list The state of LED1~LED3 in member 102 realizes the coding to four tunnel logic levels with this.
Certainly, above-mentioned -2 line coding device of 4 line can also build circuit using the effective mode of low level, but required Logic gate types are more, that is, need NAND gate, NOT gate and/or door, and circuit structure is more complicated, it has not been convenient to which circuit is built, also unfavorable The principle of encoder is understood in student.
Next it is introduced according to Fig. 6 in combination with the sub-circuit figure in Fig. 3 marked as 102,103,104,105 and 106 The method for carrying out 74LS148 chip testing using the present invention, the specific steps are as follows:
Step 1, as shown in fig. 6, being connect the eight road output level end 105 Zhong of logic level unit as signal encoded Enter the coding input port to 74LS148.Specifically, using banana head connecting line by the banana head in logic level unit 105 Socket " O1 " is connected with the banana connector in cell encoder 104 marked as " 10 ", i.e., connects the logic level of the port " O1 " Enter the coding input end minimum to 74LS148 chip priority(10 pin);Using banana head connecting line by logic level Banana connector " O2 " in unit 105 is connected with the banana connector in cell encoder 104 marked as " 11 ", i.e., by " O2 " The logic level of port is linked into the coding input end of 74LS148 chip(11 pin);And so on, connected using banana head Banana connector " O3 "~" O8 " in logic level unit 105 is respectively connected to the coding input of 74LS148 chip by wiring End
Step 2, as shown in fig. 6, coding is exported access NOT gate.Specifically, using banana head connecting line by encoder list Member 104 in marked as " 9 ", " 7 " and " 6 " banana connector distinguish NAND gate logic unit 103 in banana connector " A1 ", " A2 " is connected with " A3 ", i.e. the level of the coding output end (9,7 and 6 pin) of 74LS148 chip is respectively connected to CD4069 chip Input terminal (1,3 and 5 pin).
Step 3, as shown in fig. 6, exporting result with light emitting diode (LED) code displaying.It will using banana head connecting line Banana connector " Y1 ", " Y2 " and " Y3 " in NOT gate logic unit 103 respectively with the banana head in light emitting diode 102 Socket " L1 ", " L2 " are connected with " L3 ", i.e., first, second and the non-gate output terminal (2,4 and 6 of third in CD40691 chip Pin) level be respectively connected to the anode of light emitting diode D1, D2 and D3, the result for code displaying.
Step 4, will be divided in cell encoder 104 marked as the banana connector of " 8 " and " 16 " using banana head connecting line It is not connected with port " G1 " and " V1 " in UPS unit 106, as 74LS148 power supply connects the grounding ports in UPS unit 8 pins for entering 74LS148, by 16 pins of the power port access 74LS148 in UPS unit.
Circuit of 74LS148 chip test circuit shown in Fig. 6 on panel of the present invention is completed by above step to build. The switch connection power supply for pressing UPS unit 106 stirs single-pole double-throw switch (SPDT) SW1~SW8 in logic level unit 105 to connect Enter different level, observe the state of LED1~LED3 in light emitting diode 102 on panel, is realized pair with this The test and validation of 74LS148 chip encoding function.
In above-mentioned steps, why increases level-one NOT gate and mainly consider that 74LS148 chip is that low level is effective, and shines 8 LED of diode are connected using common cathode polar form, i.e., high level can just be such that LED lights.In order to 74LS148 The low level of chip effectively matches, that is, LED is lit (LED should be connected using common cathode polar form) when exporting low level, this Level-one NOT gate is increased in invention, that low level is effectively converted to high level is effective, lights LED with this.It is of course also possible to not To illustrate in advance using NOT gate, but in experiment, LED corresponds to significant level when extinguishing, and inactive level is corresponded to when LED is lighted.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (6)

1. a kind of encoder experimental teaching unit, including pedestal, panel and banana head connecting line, it is characterised in that: the panel It is integrated with or gate logic unit, light emitting diode, NOT gate logic unit, cell encoder, logic level unit and UPS is mono- Member;
Described or gate logic unit is made of CD4071 chip, chip adapter panel and banana connector, and CD4071 chip passes through core Piece pinboard is fixed on panel, the power supply of CD4071 chip and ground port respectively with the output port of power source and ground of UPS unit Port is connected, and " or logic " input and output side of CD4071 chip is connected with banana connector;
The light emitting diode is made of light emitting diode, resistance and banana connector, and the cathode of light emitting diode passes through Resistance is connected with the ground port of UPS unit, and light-emitting diodes tube anode is connected with banana connector;
The NOT gate logic unit is made of CD4069 chip, chip adapter panel and banana connector, and CD4069 chip passes through core Piece pinboard is fixed on panel, the power supply of CD4069 chip and ground port respectively with the output port of power source and ground of UPS unit Port is connected, and " NOT logic " input and output side of CD4069 chip is connected with banana connector;
The cell encoder is made of 74LS148 chip, locking bed and banana connector, and 74LS148 chip passes through locking bed It is fixed on panel;
The logic level unit is made of single-pole double-throw switch (SPDT), banana connector and exclusion, single-pole double-throw switch (SPDT) side it is defeated Enter end to be connected with the ground port of UPS unit, the input terminal of other side passes through the output port of power source phase of exclusion and UPS unit Even, the intermediate output of single-pole double-throw switch (SPDT) is connected with banana connector;
The UPS unit is made of 5V power outlet, ups power module, lithium battery, power switch and banana connector, 5V electricity The anode and cathode of supply socket are connected with the power input port of ups power module, the anode and cathode and ups power of lithium battery The battery port of module is connected, and it is entire that the output head anode of ups power module, which is connected by power switch with banana connector, Experimental provision power supply, the negative pole of output end of ups power module are connected with banana connector, the ground connection as entire experimental provision End.
2. encoder experimental teaching unit according to claim 1, which is characterized in that the pedestal is by single-layer acrylic The rectangular parallelepiped structure that plate is constituted, the panel are single-layer acrylic plate and are fixed on the pedestal by stock screw;It is described Pedestal and panel are 60 centimetres long, 45 centimetres wide.
3. encoder experimental teaching unit according to claim 1, which is characterized in that the chip adapter panel is by screw hole Position, chip carrier socket, printed circuit cable and pad are constituted, and the pad is connected by conducting wire with the banana connector, the chip Pinboard is screwed on the panel.
4. encoder experimental teaching unit according to claim 1, which is characterized in that the diameter of the light emitting diode is 1 centimetre, luminescent color is red.
5. encoder experimental teaching unit according to claim 1, which is characterized in that the lithium battery is 18650 lithiums electricity Pond.
6. encoder experimental teaching unit according to claim 1, which is characterized in that the banana head connecting line both ends are each There is a plug, the plug is made of plastic handle and metal lotus flower head, the diameter and the banana of the metal lotus flower head The diameter of bore of connector is 2 millimeters, the jack that the top of the plastic handle is 2 millimeters with internal diameter.
CN201910622209.4A 2019-06-28 2019-06-28 A kind of encoder experimental teaching unit Withdrawn CN110288886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910622209.4A CN110288886A (en) 2019-06-28 2019-06-28 A kind of encoder experimental teaching unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910622209.4A CN110288886A (en) 2019-06-28 2019-06-28 A kind of encoder experimental teaching unit

Publications (1)

Publication Number Publication Date
CN110288886A true CN110288886A (en) 2019-09-27

Family

ID=68021265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910622209.4A Withdrawn CN110288886A (en) 2019-06-28 2019-06-28 A kind of encoder experimental teaching unit

Country Status (1)

Country Link
CN (1) CN110288886A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110880260A (en) * 2019-11-21 2020-03-13 南阳师范学院 Piano learning guidance system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110880260A (en) * 2019-11-21 2020-03-13 南阳师范学院 Piano learning guidance system

Similar Documents

Publication Publication Date Title
CN110288886A (en) A kind of encoder experimental teaching unit
CN110264843A (en) A kind of adder experimental teaching unit
CN110379266A (en) A kind of teaching digital comparator experimental provision
CN110349481A (en) A kind of teaching decoder experimental provision
CN110349482A (en) A kind of teaching display encoder experimental provision
CN110246402A (en) A kind of parity checker experiment device for teaching
CN207097311U (en) A kind of bread board demonstrator
CN110264845A (en) A kind of teaching shift-register circuit experimental provision
CN206505557U (en) A kind of instructional device of electronic information technology
CN210129332U (en) Encoder experiment teaching device
CN212010126U (en) Intelligent globe device
CN210129339U (en) Decoder experimental apparatus for teaching
CN210129331U (en) Shift register circuit experimental device for teaching
CN210129338U (en) Trigger circuit experimental device for teaching
CN210129336U (en) Adder experiment teaching device
CN110379265A (en) A kind of teaching combinational logic circuit experimental provision
CN110349483A (en) A kind of teaching logic gates functional test experimental provision
CN110379267A (en) A kind of teaching flip-flop circuit experimental provision
CN210535136U (en) Teaching is with showing encoder experimental apparatus
CN110264844A (en) A kind of teaching timing logic electric circuit experiment device
CN210129329U (en) Numerical value comparator experimental apparatus for teaching
CN110223583A (en) A kind of teaching counter circuit experiment apparatus
CN210129330U (en) Counter circuit experimental device for teaching
CN210129333U (en) Parity checker teaching experiment device
CN209183082U (en) A kind of experimental teaching unit of integrated electronics route and FPGA course

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190927

WW01 Invention patent application withdrawn after publication