CN203117702U - Digital coding range changing switch - Google Patents

Digital coding range changing switch Download PDF

Info

Publication number
CN203117702U
CN203117702U CN 201320087069 CN201320087069U CN203117702U CN 203117702 U CN203117702 U CN 203117702U CN 201320087069 CN201320087069 CN 201320087069 CN 201320087069 U CN201320087069 U CN 201320087069U CN 203117702 U CN203117702 U CN 203117702U
Authority
CN
China
Prior art keywords
circuit
switch
numerical coding
chip
single chip
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.)
Expired - Fee Related
Application number
CN 201320087069
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.)
Suzhou Institute of Trade and Commerce
Original Assignee
Suzhou Institute of Trade and Commerce
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 Suzhou Institute of Trade and Commerce filed Critical Suzhou Institute of Trade and Commerce
Priority to CN 201320087069 priority Critical patent/CN203117702U/en
Application granted granted Critical
Publication of CN203117702U publication Critical patent/CN203117702U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Rotary Switch, Piano Key Switch, And Lever Switch (AREA)

Abstract

The utility model provides a digital coding range changing switch, which comprises a digital coding switch, a gear output circuit and a single-chip microcomputer circuit. The gear output circuit and the digital coding switch are respectively connected with the single-chip microcomputer circuit so as to output the signal of the coding switch to the single-chip microcomputer circuit. The gear output circuit is connected with the electronic switch of an instrument. The single-chip microcomputer circuit is connected with the channel amplifying circuit of the instrument and is used for controlling the range changing process of the instrument according to the signal of the coding switch.

Description

The numerical coding range shift switch
Technical field
The utility model relates to the change-over switch in electronic circuit technology field, particularly a kind of numerical coding range shift switch.
Background technology
Electronic device or other all instruments all have the problem that range switches all the time, and it is that electronic device uses operation quite frequently that range switches, and also is the parts that are easy to generate fault.Quite some instruments all use the mechanical type waver to switch as range, owing to there is easy oxidation in the mechanical type waver, uses the inflexible problem of a period of time back contact to cause the instrument use undesired.Often so not only the normal while cost that uses of influence also improves.These problems perplex the user of some electronic devices always.Although also there is the deviser to design some electronic type waveres with semi-conductor electronic device, but owing to the electronic type waver circuit relative complex with pure electronic device design, used components and parts are many, be subjected to the influence of the aging and discreteness of device, have the unstable and uncertain of performance equally.Especially use the frequency of instrument higher, the range switching frequency is quite frequent.Therefore quite a few instrument needs some cycles because a range switch causes whole instrument not use and keep in repair, moreover has also improved the cost that uses relatively.
The utility model content
The utility model is at the prior art above shortcomings, a kind of numerical coding range shift switch is provided, adopt single-chip microcomputer and electronic code switch combination, the numerical coding formula weight journey that forms is switched, and used hardware peripheral components is few, by the switching of Single-chip Controlling range, cost is low like this, flexible design, the range shift switch long service life of designing, reliability improves greatly.
The utility model is achieved through the following technical solutions:
A kind of numerical coding range shift switch, comprise: numerical coding switch, gear output circuit and single chip circuit, the gear output circuit is connected single chip circuit respectively with the numerical coding switch, the output encoder switching signal is to single chip circuit, the gear output circuit connects the electronic switch of an instrument, single chip circuit connects the passage amplifying circuit of instrument, and single chip circuit carries out range according to code switch signal controlling instrument and switches.
Preferable, also comprise shaping circuit, be connected between numerical coding switch and the single chip circuit, the code switch signal is carried out shaping.
Preferable, also comprise left and right sides channel selection circuit, be connected between the passage amplifying circuit of instrument and the single chip circuit and carry out left and right sides channel selecting.
Preferable, the numerical coding switch is rotary code switch, and the code switch signal is two delay pulse signals, and single chip circuit is judged the sense of rotation of rotary code switch according to the high-low level of two delay pulse signals.
Preferable, also comprise the range display circuit, connect single chip circuit, show current range in real time.
Preferable, single chip circuit comprises: singlechip chip, some latchs, single-chip microcomputer crystal oscillating circuit, reset circuit of SCM, hummer, some latchs, single-chip microcomputer crystal oscillating circuit, reset circuit of SCM connect singlechip chip.
Preferable, singlechip chip is the AT89C2051 single-chip microcomputer, some latchs are the non-counter-rotating transparent latch of 74HC573 scale-of-eight 3 attitudes.
Preferable numerical coding range shift switch also comprises the single-chip microcomputer expanded circuit, and the single-chip microcomputer expanded circuit comprises some latchs, connects singlechip chip.
Description of drawings
Fig. 1 is the structured flowchart of a kind of numerical coding range shift switch of the utility model;
Fig. 2 is the circuit diagram of a kind of numerical coding range shift switch of the utility model;
Fig. 3 is the code switch signal schematic representation in the utility model;
Fig. 4 is the structural representation of the singlechip chip in the utility model;
Fig. 5 is the structural representation of the latch in the utility model.
Embodiment
Elaborate below in conjunction with the utility model of embodiment, present embodiment has provided detailed embodiment being to implement under the prerequisite with technical solutions of the utility model, but protection domain of the present utility model is not limited to following embodiment.
Please refer to Fig. 1, a kind of numerical coding range shift switch that the utility model provides, comprise: numerical coding switch, gear output circuit and single chip circuit, the gear output circuit connects single chip circuit, the numerical coding switch connects single chip circuit, and the output encoder switching signal is to single chip circuit, and the gear output circuit connects the electronic switch of an instrument, single chip circuit connects the passage amplifying circuit of instrument, and single chip circuit carries out range according to code switch signal controlling instrument and switches.
Please refer to Fig. 2:
1 for the numerical coding switch: usefulness be the special rotary code switch, J1 and J6 are respectively two passage gang sockets, connection is from the signal of code switch, three pins of three pins and code switchs link to each other, and measure 1,3 pin with oscillograph and produce two delay pulse A and B when rotary switch changes with the inhour rotation clockwise, as shown in Figure 3, A is high level when output, output B high level occurs and shows clockwise commentaries on classics, and when A is high level, output B low level occurs and shows the inhour rotation.So just known sense of rotation as long as judge the state of output B when exporting A for high level during mcu programming.
2 are shaping circuit: the code switch signal obtains narrow pulse signal output by differentiating circuit and delivers to fracture among single-chip microcomputer INT0 and the INT1().In addition the code switch signal from the output of 2 pin of J1 and J6 by 74 LS14(JC4C and JC4B) branch is clipped to single-chip microcomputer T0 and T1, thereby provides the Single-chip Controlling signal by judging to determine to turn clockwise or be rotated counterclockwise.J4(74HC14) be Schmidt's reverser.R5-R7, C7-C9, BG31, BG32 form its purpose of differentiating circuit makes code switch obtain narrow pulse signal to single-chip microcomputer, increases the reliability of coded signal.R2-R4, C2-C4, BG33, BG34 are another passages.
3 is single chip circuit and expanded circuit thereof:
Wherein, single chip circuit: by AT89C2051(JC2) singlechip chip and 74HC573(JC1, JC3) the non-counter-rotating transparent latch of scale-of-eight 3 attitudes forms.C1, C5(20P) composition single-chip microcomputer crystal oscillating circuit.R9, C6, JC4A(74LS14) form monolithic reset circuit (on draw electric mode).Please refer to Fig. 4, the utility model uses eight mouths (P1.0-P1.7) of P1 as output terminal.Single-chip microcomputer 1 pin is the reset circuit pin.P3.0 and P3.1 meet two latch JC1 and JC3(74HC573 respectively) sheet select control end.Single- chip microcomputer 5,6 pin (XTA1 and XTA2) connect crystal oscillating circuit.Single-chip microcomputer 7,8 pin are that two middle fracture pin connect two channel codings respectively through the circuit output narrow pulse signal of differential.Single-chip microcomputer 9,10 pin connect the code switch signal respectively, are used for judgement code switch sense of rotation and determine monolithic control.Single-chip microcomputer output P1.0-P1.7 output signal is received gear respectively and is shown light emitting diode, receives the input end of two latchs simultaneously.The P3.7 output signal of 11 pin is received BG27 and BG28, is respectively the indication diode of left and right sides passage.
Expanded circuit: form the single-chip microcomputer expanded circuit by two latchs.Please refer to Fig. 5, wherein JC1 has 8 output terminal Q0-Q7.The triode BG30 of left and right sides channel selection circuit is received in Q0 output, control triode conducting and ending.Q1 receives electric bell B1, its effect: when range rotates to maximum range from small to large, Single Chip Microcomputer (SCM) program no longer changes range to connect simultaneously electric bell end output high level to make the electric bell alarm to be maximum range, can to send also no longer variation of chimes of doom range indication in addition equally when range is screwed into minimum range when rotating again.Q2-Q6 is connected respectively to the positive level that gear shows light emitting diode, delays time and lights the gear diode thereby use dynamic scan to make to be added to the diode signal to be connected the formation of diode cathode signal with single-chip microcomputer output.The JC3 latch is from the single-chip microcomputer output signal, and four lines of Q0-Q3 and Q4-Q7 receive respectively on the electronic switch of instrument.Two groups of outputs are respectively two passage outputs, because be that 13 grades of ranges show in the present embodiment, with the output of binary-coded decimal coding, need four lines to satisfy.JC1 and JC3 and gating are brought in from the P3.0 of single-chip microcomputer and P3.1.1 pin and 10 pin ground connection are effective.
4 is left and right sides channel selection circuit: be made up of BG30 triode, BG29 diode, JD1 D.C. contactor.Contactor coil gets electric normal battle of the closure that makes contactor and is turned left in the contact to connect and select left passage, and in like manner the contactor coil dead electricity is then turned right and connected and select right passage in the contact.Wherein the BG29 diode is attempted by the contactor coil two ends and plays the afterflow effect.And the conducting of BG30 triode and by just determine contactor coil be electric or dead electricity, it is electric that triode conducting coil gets, triode is by coil losing electricity.And the conducting of triode and by depending on 19 pin of latch JC1, and latch signal depends on Single Chip Microcomputer (SCM) program.
5 is the gear output circuit: by latch JC3(74HC573) divide two tunnel outputs, each Lu Sigen line can export 16 road signals by the binary-coded decimal combination, and the utility model is only used 13 the tunnel for every group.The signal of output is to electronic switch (being the range electronic switching circuit of instrument).
6 is the gear display circuit: by 26 light emitting diodes of BG1-BG26.Be respectively two passages, 13 gears of each passage.Each gear is respectively by a bright expression of light emitting diode.Wherein BG1-BG6 and BG14-BG19 are the high range demonstration of two passages.And BG7-BG13 and BG20-BG26 are the lower range demonstration of two passages.
Other: R8(100 Europe) resistance links to each other with light emitting diode, plays current limliting, protection light emitting diode.R1(1K) link to each other with the BG30 base stage, play metering function, protection triode BG30.R8(100 Europe) metering function that linked to each other with+5V power supply.J2, J3 are the jacks that outputs to the instrument electronic switching circuit.J4, J5 are the connection jacks that is connected to left and right sides passage amplifying circuit.The B1 hummer is the minimum and prompting of amount when high of range, because the switch that rotary coding switch can the infinite place rotation about being.The indication that two light emitting diodes of BG27 BG28 are respectively left and right sides passages.R5, R6, R7, C8, C9, BG31, BG32 form differentiating circuit makes the output pulse for singlechip interruption.
The utility model not only can use at electronic device, at household electrical appliance, numerically-controlled machine etc. using value is arranged all.Can also because damaging the instrument that can not repair, range switch repack the electronics range switch into originally to some.
More than disclosed only be the application's a specific embodiment, but the application is not limited thereto, any those skilled in the art can think variation, all should drop in the application's the protection domain.

Claims (8)

1. numerical coding range shift switch, it is characterized in that, comprise: numerical coding switch, gear output circuit and single chip circuit, described gear output circuit is connected described single chip circuit respectively with described numerical coding switch, described numerical coding switch output encoder switching signal is to described single chip circuit, described gear output circuit connects the electronic switch of an instrument, described single chip circuit connects the passage amplifying circuit of described instrument, and described single chip circuit carries out range according to the described instrument of described code switch signal controlling and switches.
2. numerical coding range shift switch as claimed in claim 1 is characterized in that, also comprises shaping circuit, is connected between described numerical coding switch and the described single chip circuit, and described code switch signal is carried out shaping.
3. numerical coding range shift switch as claimed in claim 1 is characterized in that, also comprises left and right sides channel selection circuit, is connected between the passage amplifying circuit and described single chip circuit of described instrument, carries out left and right sides channel selecting.
4. numerical coding range shift switch as claimed in claim 1, it is characterized in that, described numerical coding switch is rotary code switch, described code switch signal is two delay pulse signals, and described single chip circuit is judged the sense of rotation of described rotary code switch according to the high-low level of described two delay pulse signals.
5. numerical coding range shift switch as claimed in claim 1 is characterized in that, also comprises the range display circuit, connects described single chip circuit, shows current range in real time.
6. numerical coding range shift switch as claimed in claim 1, it is characterized in that, described single chip circuit comprises: singlechip chip, some latchs, single-chip microcomputer crystal oscillating circuit, reset circuit of SCM, hummer, described some latchs, described single-chip microcomputer crystal oscillating circuit, described reset circuit of SCM connect described singlechip chip.
7. numerical coding range shift switch as claimed in claim 6 is characterized in that, described singlechip chip is the AT89C2051 single-chip microcomputer, and described some latchs are the non-counter-rotating transparent latch of 74HC573 scale-of-eight 3 attitudes.
8. numerical coding range shift switch as claimed in claim 6 is characterized in that, also comprises the single-chip microcomputer expanded circuit, and described single-chip microcomputer expanded circuit comprises some latchs, connects described singlechip chip.
CN 201320087069 2013-02-26 2013-02-26 Digital coding range changing switch Expired - Fee Related CN203117702U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201320087069 CN203117702U (en) 2013-02-26 2013-02-26 Digital coding range changing switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201320087069 CN203117702U (en) 2013-02-26 2013-02-26 Digital coding range changing switch

Publications (1)

Publication Number Publication Date
CN203117702U true CN203117702U (en) 2013-08-07

Family

ID=48898031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201320087069 Expired - Fee Related CN203117702U (en) 2013-02-26 2013-02-26 Digital coding range changing switch

Country Status (1)

Country Link
CN (1) CN203117702U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109931962A (en) * 2019-04-02 2019-06-25 河北旭辉电气股份有限公司 Magnetic inductive non-contact type loaded switch gear readback device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109931962A (en) * 2019-04-02 2019-06-25 河北旭辉电气股份有限公司 Magnetic inductive non-contact type loaded switch gear readback device
CN109931962B (en) * 2019-04-02 2024-01-26 河北旭辉电气股份有限公司 Magnetic induction type non-contact on-load switch gear position readback device

Similar Documents

Publication Publication Date Title
CN204287877U (en) A kind of PLC debugging instrument with dipole inversion function
CN205210219U (en) Test panel is surveyed in short circuit of opening a way of chip
CN203117702U (en) Digital coding range changing switch
CN203299323U (en) Cable alignment device
CN104237619A (en) Intelligent avometer
CN204495864U (en) Resistance to voltage protection circuit
CN207557719U (en) A kind of online Environmental-protecting dust-removing controller
CN204945194U (en) A kind of automatic variable-resistance value fictitious load control circuit
CN202256650U (en) Multifunctional electric power meter testing desk
CN209312364U (en) LED matrix display
CN204695061U (en) A kind of intelligent electric activator
CN201083814Y (en) Stepper motor detection device
CN203299348U (en) Four-state level tester
CN204287956U (en) A kind of PLC debugging instrument with pulse output function
CN202886988U (en) Test bench of driver controller
CN203535207U (en) Modularized three-phase instrument calibrating device for smart grid
CN207486188U (en) A kind of solenoid valve control interface circuit of Environmental-protecting dust-removing controller circuit board
CN208092159U (en) A kind of exclusion quality detection device
CN203206213U (en) A frequency divider
CN103344908A (en) Four-state level measuring set
CN203350320U (en) Single-phase combination meter
CN103928000A (en) Thin film transistor drive circuit and method and liquid crystal display device
CN203708197U (en) Simple mixed signal generator circuit based on single chip
CN204143206U (en) A kind of agriculture digital intelligent control system
CN203149006U (en) Simple multifunctional oscillograph

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130807

Termination date: 20150226

EXPY Termination of patent right or utility model