CN208766506U - A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment - Google Patents

A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment Download PDF

Info

Publication number
CN208766506U
CN208766506U CN201821687462.5U CN201821687462U CN208766506U CN 208766506 U CN208766506 U CN 208766506U CN 201821687462 U CN201821687462 U CN 201821687462U CN 208766506 U CN208766506 U CN 208766506U
Authority
CN
China
Prior art keywords
machine
build
out resistor
circuit
automatic identification
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.)
Active
Application number
CN201821687462.5U
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.)
Ald Electronics (nanjing) Co Ltd
Original Assignee
Ald Electronics (nanjing) Co Ltd
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 Ald Electronics (nanjing) Co Ltd filed Critical Ald Electronics (nanjing) Co Ltd
Priority to CN201821687462.5U priority Critical patent/CN208766506U/en
Application granted granted Critical
Publication of CN208766506U publication Critical patent/CN208766506U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The utility model discloses a kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment, wherein and machine CAN build-out resistor automatic identification circuit, comprising: the level signal all the way that machine input terminal together: receiving upper one and machine equipment is sent;Machine output end together: send all the way level signal to next simultaneously machine equipment;One build-out resistor cuts control circuit, it includes: first input end: being connected to and machine input terminal;Second input terminal: being connected to and machine output end;Control output end: a control relay circuit, the incision or disconnection of the relay control build-out resistor are connected to.The utility model increases level signal all the way in CAN combining system, using improved control circuit, realizes simultaneously machine CAN build-out resistor automatic identification.The utility model, which is cancelled, uses MCU, and peripheral components are greatly reduced, simplify circuit, reduce costs, improve reliability, the double dominant with reliability and cost control.

Description

A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment
Technical field
The utility model relates to CAN combining systems, and in particular to a kind of build-out resistor automatic identification circuit.
Background technique
CAN bus is a kind of bus communication mode of two line differential types, can connect multiple CAN transmitting-receiving sections in bus simultaneously Point carries out bus type data transmission.CAN bus code requirement respectively must be configuration one 120 at the bus both ends of each transmitting-receiving node Ohm build-out resistor, to eliminate reflection.
Existing scheme mainly has artificial matching and realizes that Auto-matching realizes matching electricity in the way of both by MCU on the market The installation of resistance.
Artificial matching be after system installs, by be arranged on terminal module toggle switch perhaps wire jumper or The method for increasing non-essential resistance, gives bus widening resistance.This manual method generally requires the ability after system installs It carries out, inefficiency, and is easy error, lead to communication abnormality.
Realize that Auto-matching is turned on using CAN transceiver, MCU control unit, terminal resistance and resistance using MCU It closes, this mode is finished when CAN transmitting-receiving node accesses the bus cable, and CAN bus saves the CAN transmitting-receiving of access after powering on Point is encoded, the coding of CAN transmitting-receiving node sequential organization by size, so that the CAN transmitting-receiving node at bus cable both ends is distinguished It is composed of the coding of minimum and maximum, the micro-control unit MCU is accordingly to the CAN transmitting-receiving node for being composed of minimum and maximum coding Resistance turn on put into row closure control, to realize that the terminal resistance of CAN transmitting-receiving node at bus cable both ends automatically accesses Bus cable.This control mode realizes automatic control, but internal control is complicated, the MCU control unit cost needed compared with Height, furthermore MCU also needs peripheral circuit to set up, and occupied space and volume are larger on PCB.
Summary of the invention
The purpose of the utility model is to overcome prior art defects, provide a kind of circuit, realize simultaneously machine CAN build-out resistor Automatic identification.
The utility model adopts the following technical solution:
A kind of and machine CAN build-out resistor automatic identification circuit, characterized by comprising:
The level signal all the way that machine input terminal together: receiving upper one and machine equipment is sent;
Machine output end together: send all the way level signal to next simultaneously machine equipment;
One build-out resistor cuts control circuit, it includes:
First input end: being connected to and machine input terminal;
Second input terminal: being connected to and machine output end;
Control output end: a control relay circuit, the incision or disconnection of the relay control build-out resistor are connected to.
The further technical solution of the utility model is:
And machine input end signal be 0, and machine output end signal be 1 when, equipment be multi-machine parallel connection when host, build-out resistor Incision;
And machine input end signal be 1, and machine output end signal be 1 when, equipment be multi-machine parallel connection when intermediate slave, match Resistance disconnects;
And machine input end signal be 1, and machine output end signal be 0 when, equipment be multi-machine parallel connection when end slave, matching Resistance incision;
And machine input end signal is 0, and when machine output end signal is 0, equipment is single machine, build-out resistor incision.
Beneficial effect
The utility model increases level signal all the way in CAN combining system, using improved control circuit, realizes And machine CAN build-out resistor automatic identification.The utility model, which is cancelled, uses MCU, and peripheral components are greatly reduced, simplify circuit, It reduces costs, relative to manual matching, the utility model improves reliability, dual excellent with reliability and cost control Gesture.
Detailed description of the invention
Fig. 1 is the matched frame diagram of CAN automatic resistance in parallel;
Fig. 2 is one circuit diagram of embodiment;
Fig. 3 is two circuit diagram of embodiment.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without creative efforts Range
Fig. 1 is the matched frame diagram of overall parallel connection CAN automatic resistance, passes through network interface connection CAN bus per machine equipment together, Incision is automatically selected by control circuit control switch or disconnects build-out resistor.
Embodiment one
As shown in Fig. 2, the utility model builds control circuit using multichannel triode, it is more in CAN line is output and input Increase 5V level signal all the way, CAN_IN: receiving the 5V level signal that a upper transmitting comes, connect cable;CAN_OUT: it is sent to Next 5V level signal, connects cable.
Utilize the signal, automatic identification local state, such as CAN_IN=0, CAN_OUT=1, then when the machine is multi-machine parallel connection Host;Intermediate slave such as CAN_IN=1, CAN_OUT=1, then when the machine is multi-machine parallel connection;Such as CAN_IN=1, CAN_ OUT=0, then most end slave when the machine is multi-machine parallel connection;Such as CAN_IN=0, CAN_OUT=0, then the machine is single machine.
Circuit operation principle is described in detail below:
Using the circuit of the 5V Design of Signal control CAN terminal coupling resistance of above-mentioned CAN_IN and CAN_OUT, logically Realize that Auto-matching resistance cuts function.
Cutting control circuit includes PNP type triode Q1, NPN type triode Q2 and Q3, CAN_IN signal connecting triode The base stage of Q1, CAN_OUT signal connect the emitter-base bandgap grading of Q1, the grounded collector of Q1;The base stage of triode Q2 connects penetrating for triode Q1 Pole, the collector of Q2 connect the first power supply (5V power supply) anode, the emitter grounding of Q2;Triode Q3 base stage connects the collection of triode Q2 Electrode, the collector connection relay control terminal of Q3, the emitter grounding of Q3.
The terminal coupling resistance R1 that can cut into is equipped between CAN_H and CAN_L, relay controls CAN_H and CAN_L Between terminal coupling resistance R1 incision or disconnect.
Single machine state
CAN_IN=0, CAN_OUT=0, relay lean on the control circuit of itself, and closure cuts build-out resistor.
Specifically: CAN_IN=0, CAN_OUT=0, the base stage of triode Q1 and the signal of collector are all low level 0V, Q1 is failure to actuate;Q2 is the conducting of NPN type high level, therefore when the base stage of triode Q2 connection CAN_OUT=0, Q2 is disconnected, Q2 current collection Q3 is connected in the base stage of the 5V power supply connection Q3 of pole, and the relay switch closure on Q3 collector circuit cuts build-out resistor R1。
And machine state
Host Status: CAN_IN=0, CAN_OUT=1, relay closure, host cut build-out resistor;
Specifically: CAN_IN=0, CAN_OUT=1, triode Q1 are positive-negative-positive, and Q1 base stage is CAN_IN=0 low level, Q1 conducting;After Q1 conducting, then the base stage of triode Q2 is low level, and Q2 is NPN type, and Q2 is disconnected;The then 5V electricity of Q2 collector Q3 is connected in the base stage of source connection Q3, Q3 conducting, relay closure, and host cuts build-out resistor R1.
Intermediate slave status: CAN_IN=1;CAN_OUT=1, relay disconnect, and intermediate slave disconnects build-out resistor;
Specifically: CAN_IN=1;CAN_OUT=1, Q1 are disconnected, and Q2 conducting, Q3 is disconnected, and relay disconnects, intermediate slave Disconnect build-out resistor.
Last bit slave status: CAN_IN=1;CAN_OUT=0, relay closure, last bit slave cut build-out resistor;
Specifically: CAN_IN=1;CAN_OUT=0, Q1 are disconnected, and Q2 is disconnected, Q3 closure, relay closure, last bit slave Cut build-out resistor.
Only intermediate slave does not cut build-out resistor, and host (First), single machine and last bit slave (last) are all Interlaminated resistance is cut,
Regardless of simultaneously how many, machine, First and last machine will cut build-out resistor.
Detailed elaboration only is carried out to the utility model by taking triode as an example above, those skilled in the art know completely Dawn can do equivalent replacement using other switching tube and realize identical control function, be not limited in triode.
Embodiment two:
As shown in figure 3, increasing level signal all the way in CAN line, in CAN input port and output port, the signal point It is not expressed as CAN_IN and CAN_OUT, the control circuit of CAN build-out resistor includes input terminal A and input terminal B, receives to come respectively From the level signal of CAN input port and output port, the level signal high level can for 3V or other, control circuit master Including with circuit part and inverter circuit part, and circuit part diode D1 and D2 that include two in parallel, diode D1's Cathode connects input terminal A, and the cathode of diode D2 connects input terminal B, and the anode of diode D1, D2 are connected to by a resistance R First positive pole+Ec, a N-type triode Q, the base stage of triode are connected to the node that resistance R is connected with diode D1, D2 On, the collector of triode connects power supply Ucc, the emitter ground connection of triode.The collector of triode also connect use with relay In control relay, to realize the automatic incision of CAN build-out resistor.
Working principle is: as long as when having one in CAN_IN signal and CAN_OUT signal or being all low level, diode Circuit conducting, triode Q base stage are low level, and triode cut-off, then the control terminal of connecting triode collector is high level, control Relay closure build-out resistor incision processed;Only when CAN_IN signal and CAN_OUT signal are high level, diode D1, D2 is not turned on, and transistor base is high level, and triode ON, transistor collector is low level, connecting triode current collection The control terminal of pole is low level, and relay disconnects, and build-out resistor does not access.
The CAN automatic identification and incision build-out resistor of the utility model can cut automatically matching electricity when single machine use Resistance, also can be in multi-computer system and machine: being able to achieve Auto-matching terminal resistance when multi-machine parallel connection or series connection.

Claims (9)

1. a kind of and machine CAN build-out resistor automatic identification circuit, characterized by comprising:
The level signal all the way that machine input terminal together: receiving upper one and machine equipment is sent;
Machine output end together: send all the way level signal to next simultaneously machine equipment;
One build-out resistor cuts control circuit, it includes:
First input end: being connected to and machine input terminal;
Second input terminal: being connected to and machine output end;
Control output end: a control relay circuit, the incision or disconnection of the relay control build-out resistor are connected to.
2. as described in claim 1 and machine CAN build-out resistor automatic identification circuit, it is characterised in that:
And machine input end signal is 0, and when machine output end signal is 1, host when equipment is multi-machine parallel connection, build-out resistor cut Enter;
And machine input end signal be 1, and machine output end signal be 1 when, equipment be multi-machine parallel connection when intermediate slave, build-out resistor It disconnects;
And machine input end signal be 1, and machine output end signal be 0 when, equipment be multi-machine parallel connection when end slave, build-out resistor Incision;
And machine input end signal is 0, and when machine output end signal is 0, equipment is single machine, build-out resistor incision.
3. as claimed in claim 1 or 2 and machine CAN build-out resistor automatic identification circuit, it is characterised in that the build-out resistor Cutting control circuit includes:
First triode: base stage is connected to the first input end, and emitter is connected to second input terminal, and collector connects Ground;
Second triode: base stage is connected to the emitter of the first triode, collector be connected to the first positive pole and it is described after Electrical apparatus control circuit, the voltage value of first positive pole and the high level voltage value of the level signal are equal, emitter Ground connection.
4. as claimed in claim 3 and machine CAN build-out resistor automatic identification circuit, it is characterised in that:
Second triode is connected to the control relay circuit, the base of the third transistor by a third transistor Pole is connected to the collector of the second triode, and collector connects the control relay circuit, emitter ground connection.
5. as claimed in claim 1 or 2 and machine CAN build-out resistor automatic identification circuit, it is characterised in that the build-out resistor Cutting control circuit includes:
With logic circuit: one input terminal connect the first input end, another input terminal connects second input terminal, Its output end is connected to the first positive pole, the voltage value of first positive pole and the high level voltage of the level signal It is worth equal;
Logical not component: its input terminal connection output end with logic circuit, output end connect the relay control Circuit.
6. as claimed in claim 5 and machine CAN build-out resistor automatic identification circuit, it is characterised in that:
The diode that include two with logic circuit in parallel, the cathode of a diode connect the first input end, separately The cathode of one diode connects second input terminal, and the anode of two diodes is connected with each other and by a resistance connection To first positive pole;The logical not component includes a triode, and the base stage of triode is connected to two diode phases On the node to connect, collector is connected to the control relay circuit, emitter ground connection.
7. a kind of CAN and machine equipment, it is characterised in that and machine CAN build-out resistor any described comprising claim 1,2,4 or 6 Automatic identification circuit.
8. a kind of CAN and machine equipment, it is characterised in that include as claimed in claim 3 and machine CAN build-out resistor automatic identification electricity Road.
9. a kind of CAN and machine equipment, it is characterised in that include described in claim 5 and machine CAN build-out resistor automatic identification electricity Road.
CN201821687462.5U 2018-10-18 2018-10-18 A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment Active CN208766506U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821687462.5U CN208766506U (en) 2018-10-18 2018-10-18 A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821687462.5U CN208766506U (en) 2018-10-18 2018-10-18 A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment

Publications (1)

Publication Number Publication Date
CN208766506U true CN208766506U (en) 2019-04-19

Family

ID=66136557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821687462.5U Active CN208766506U (en) 2018-10-18 2018-10-18 A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment

Country Status (1)

Country Link
CN (1) CN208766506U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343396A (en) * 2018-10-18 2019-02-15 艾乐德电子(南京)有限公司 A kind of and machine CAN build-out resistor automatic identification circuit
CN115996156A (en) * 2023-03-21 2023-04-21 国仪量子(合肥)技术有限公司 Bus network system and impedance matching method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343396A (en) * 2018-10-18 2019-02-15 艾乐德电子(南京)有限公司 A kind of and machine CAN build-out resistor automatic identification circuit
CN115996156A (en) * 2023-03-21 2023-04-21 国仪量子(合肥)技术有限公司 Bus network system and impedance matching method thereof

Similar Documents

Publication Publication Date Title
CN204334632U (en) A kind of master-slave communication circuit and air conditioner
CN106155967A (en) The circuit of USB interface multiplexing, method and apparatus
CN208766506U (en) A kind of and machine CAN build-out resistor automatic identification circuit and CAN and machine equipment
CN108647180A (en) A kind of arithmetic system and corresponding electronic equipment
CN103926853A (en) Programmable resistance output device and method
CN109343396A (en) A kind of and machine CAN build-out resistor automatic identification circuit
CN104868884A (en) General switching value input signal acquisition circuit
CN102404679B (en) Headset detection circuit and electronic equipment
CN204131543U (en) A kind of self-detection self-recoverage RS485 communicating circuit
CN204809565U (en) USB concentrator
CN205210536U (en) Digital output module of redundant output based on special CPU
CN213186140U (en) MBUS host computer transmitting circuit
CN109117400A (en) A kind of interface automatic switching control equipment and method
CN211959571U (en) Electric information acquisition terminal communication module and acquisition terminal
CN204291021U (en) A kind of circuit improving 1553B bus performance
CN109117192A (en) The switching device and Rouser of standby board can be waken up
CN205583849U (en) Isolated form DC power supply panel monitoring module
CN207397258U (en) A kind of test nine kinds of needles turns SFP interface circuits
CN105404140A (en) Redundancy output digital quantity output module based on special-purpose CPU
CN104679076A (en) Intelligent temperature and humidity regulating system for transformer
CN105259989B (en) A kind of method of the compatible multi-source of notebook memory on board
CN219758824U (en) One-to-many asynchronous communication interface debugging device and debugging board
CN203733111U (en) USB transmission interrupt automatic recovery device
CN209283402U (en) A kind of building speakerphone with short-circuit automatic protection
CN217133560U (en) Intelligent management system based on IOT (Internet of things) technology

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Assignee: ADEX Electronics (Nanjing) Co.,Ltd.

Assignor: AILEDE ELECTRONIC (NANJING) Co.,Ltd.

Contract record no.: X2020980004658

Denomination of utility model: An automatic identification circuit of can matching resistance and can parallel equipment

Granted publication date: 20190419

License type: Common License

Record date: 20200803