CN100427889C - Absolute encoder circuit with controller local area network bus - Google Patents

Absolute encoder circuit with controller local area network bus Download PDF

Info

Publication number
CN100427889C
CN100427889C CNB2006100171585A CN200610017158A CN100427889C CN 100427889 C CN100427889 C CN 100427889C CN B2006100171585 A CNB2006100171585 A CN B2006100171585A CN 200610017158 A CN200610017158 A CN 200610017158A CN 100427889 C CN100427889 C CN 100427889C
Authority
CN
China
Prior art keywords
input
output
area network
network bus
controller area
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
CNB2006100171585A
Other languages
Chinese (zh)
Other versions
CN101140171A (en
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.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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 Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CNB2006100171585A priority Critical patent/CN100427889C/en
Publication of CN101140171A publication Critical patent/CN101140171A/en
Application granted granted Critical
Publication of CN100427889C publication Critical patent/CN100427889C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Transform (AREA)

Abstract

The invention relates to an absolute encoder circuit with a controller area network bus, belonging to an encoder data processing circuit in the photoelectric detecting technology field. The technical problem to be solved is to provide an encoder circuit with the controller area network bus. The technical scheme comprises a light source, an encoding disc, an amplification and digital processing circuit, a single chip machine, a controller area network bus, a photoelectric isolator and an input/output driver. The light emitted by the light source is absorbed by the single chip machine through the modulation of the encoding disc and the amplification and digital processing, the output/input of the single chip machine is connected with the output/input of the controller area network bus, the output of the controller area network bus is connected with the input of the photoelectric isolator, and the output of the photoelectric isolator is connected with the input/output driver; the input of the controller area network bus is connected with the output of the photoelectric isolator, and the input of the photoelectric isolator is connected with the output of the input/output driver. The circuit can realize the intelligent control of data communications with the multi-host mode.

Description

The absolute type encoder circuit that has Controller Area Network BUS
One, technical field
The invention belongs to a kind of absolute type encoder data processing circuit that relates in the photoelectric detection technology field.
Two, background technology
Absolute photoelectric shaft encoder is a kind of digital angle measurement device, measures tested rotating shaft position, residing angle and angular velocity in real time, and the shaft angle information translation is become binary code, with being connected in the control system, can realize real-time measurement.The circuit of scrambler is grouped into by part of data acquisition and data processing division.Single-chip microcomputer is the core of encoder circuit system, and it through data processing such as smart sign indicating number segmentation, code channel correction, electricity zeroings, is exported with binary code after the thick sign indicating number of scrambler, smart coded signal are collected at last.
The prior art the most approaching with the present invention is the absolute photoelectric shaft encoder circuit that Changchun Institute of Optics, Fine Mechanics and Physics, CAS develops.As shown in Figure 1: comprise light source 1, code-wheel 2, amplification and digitized processing circuit 3, single-chip microcomputer 4.Part of data acquisition is made up of light source 1, code-wheel 2, amplification and digitized processing circuit 3, finishes collection, amplification and digitized processing to the scrambler angle signal, and data processing and data output are finished by single-chip microcomputer 4.
When scrambler is worked, the light signal of light source 1 by code-wheel 2 is exaggerated with digitized processing circuit 3 and receives and convert to electric signal, amplify and be connected with the input end of single-chip microcomputer 4 with the output terminal of digitized processing circuit 3, single-chip microcomputer 4 is exported with binary code after receiving the laggard line data processing of electric signal.
The subject matter that this circuit exists is: the data transmission of encoder circuit and control system can adopt parallel and serial dual mode.If the employing parallel transmission, bits per inch is according to cable of needs.For example just need the cable of one 24 core for the scrambler of 24 bit resolutions, parallel transmission is only applicable to short-distance transmission and specific (special) requirements; Though serial data transmission is only used two leads, when being connected with a plurality of systems in outside, the connection lead also must have how corresponding one by one with it to lead, and strict sequential regulation is arranged.
Three, summary of the invention
In order to overcome the defective that prior art exists, the objective of the invention is to Controller Area Network BUS is introduced encoder circuit, increase the intelligent behaviour of encoder circuit, satisfy different real-time output requirements, a kind of novel coding device of ad hoc meter circuit.
The technical problem to be solved in the present invention is: a kind of encoder circuit that has Controller Area Network BUS is provided.The technical scheme of technical solution problem is as shown in Figure 2: comprise light source 5, code-wheel 6, amplification and digitized processing circuit 7, single-chip microcomputer 8, Controller Area Network BUS 9, input photoisolator 10, output photoisolator 11, input/output driver 12.
After the light signal that light source 5 sends is modulated through code-wheel 6, be exaggerated and receive and convert to the electric signal that can be discerned by single-chip microcomputer with digitized processing circuit 7, amplify and be connected with the input end of single-chip microcomputer 8 with the output terminal of digitized processing circuit 7, output/the input end of single-chip microcomputer 8 is connected with the I/O end of Controller Area Network BUS 9, the output terminal of Controller Area Network BUS 9 is connected with the input end of output photoisolator 10, and the output terminal of output photoisolator 10 is connected with the input end of input/output driver 12; The input end of Controller Area Network BUS 9 is connected with the output terminal of input photoisolator 11, and the input end of input photoisolator 11 is connected with the output terminal of input/output driver 12.
The principle of work explanation:
During scrambler work, single-chip microcomputer 8 is at first finished the initialization to Controller Area Network BUS 9, sets the original state of its each register, realizes the transmission of data and receive by data transmission subroutine and Data Receiving subroutine finishing.
Light signal that light source 5 sends through code-wheel 6 modulation after, be exaggerated with digitized processing circuit 7 and receive and convert to the digital signal that can be discerned by single-chip microcomputer 8.Single-chip microcomputer 8 receiving angle digital signals are finished segmentation, decoding, the correction of scrambler angle signal; By the angle information of Controller Area Network BUS 9 output coders, also accept the order and the data of external system simultaneously, send and receive and all finish automatically by Controller Area Network BUS 9.For improving reliability of data transmission, between Controller Area Network BUS 9 and input/output driver 12, add output photoisolator 10 and input photoisolator 11, disturb with isolating exterior.
Good effect of the present invention: Controller Area Network BUS is the serial communication network of distributed control of a kind of effective support and real-time control, has the characteristic of a lot of excellences: data-signal adopts the differential voltage transmission; Can the work of many master modes, communication mode is flexible; Can be point-to-point, point-to-multipoint and overall broadcast mode transmit, receive data; Nodal information on the network can be divided into different priority, satisfies different real-time requirements, has international calibration, and is open good.Because itself has microprocessor, can be used as an intelligent node in the system, directly long-range to other equipment transmissions or reception data, realize the Based Intelligent Control of data communication.
Four, description of drawings
Fig. 1 is the circuit structure block diagram of prior art;
Fig. 2 is a circuit structure block diagram of the present invention;
Fig. 3 is circuit theory diagrams of the present invention.
Five, embodiment
The present invention implements by circuit structure shown in Figure 2.Wherein light source 5 adopts infrarede emitting diode; Code-wheel 6 adopts code-disc and slit matching structure, and figure place is determined as required; Amplify and the LM2902 amplifier of data processing circuit 7 employing National Semiconductors production and the MAX114A/D converter of U.S. U.S. letter company; Single-chip microcomputer 8 adopts Intel N80C196KC single-chip microcomputer; Controller Area Network BUS 9 adopts Dutch Philips SJA1000; Output photoisolator 10 and input photoisolator 11 adopt the U.S. to produce the 6N137 device; Input/output driver 12 adopts the TJA1050 device of Dutch Philips.

Claims (1)

1, the absolute type encoder circuit that has Controller Area Network BUS comprises light source, code-wheel, amplification and digitized processing circuit, single-chip microcomputer; It is characterized in that also comprising Controller Area Network BUS (9), output photoisolator (10), input photoisolator (11), input/output driver (12); After the light signal that light source (5) sends is modulated through code-wheel (6), be exaggerated with digitized processing circuit (7) and receive and convert to the electric signal that can be discerned by single-chip microcomputer, amplify and be connected with the input end of single-chip microcomputer (8) with the output terminal of digitized processing circuit (7), output/the input end of single-chip microcomputer (8) is connected with the I/O end of Controller Area Network BUS (9), the output terminal of Controller Area Network BUS (9) is connected with the input end of output photoisolator (10), the output terminal of output photoisolator (10) is connected with the input end of input/output driver (12), the output terminal of input/output driver (12) is connected with the input end of input photoisolator (11), and the output terminal of input photoisolator (11) is connected with the input end of Controller Area Network BUS (9).
CNB2006100171585A 2006-09-07 2006-09-07 Absolute encoder circuit with controller local area network bus Expired - Fee Related CN100427889C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100171585A CN100427889C (en) 2006-09-07 2006-09-07 Absolute encoder circuit with controller local area network bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100171585A CN100427889C (en) 2006-09-07 2006-09-07 Absolute encoder circuit with controller local area network bus

Publications (2)

Publication Number Publication Date
CN101140171A CN101140171A (en) 2008-03-12
CN100427889C true CN100427889C (en) 2008-10-22

Family

ID=39192219

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100171585A Expired - Fee Related CN100427889C (en) 2006-09-07 2006-09-07 Absolute encoder circuit with controller local area network bus

Country Status (1)

Country Link
CN (1) CN100427889C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719793B (en) * 2009-12-07 2012-12-12 浙江工业大学 System for access control of unidirectional light bus network based on priority level dynamic regulation
FR3013175B1 (en) * 2013-11-08 2015-11-06 Trixell INTEGRATED CIRCUIT HAVING MULTIPLE IDENTICAL IDENTIFIED BLOCKS

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2164543Y (en) * 1993-05-31 1994-05-11 中国科学院长春光学精密机械研究所 Composite coding coder
CN2278924Y (en) * 1996-08-30 1998-04-15 中国科学院长春光学精密机械研究所 Absolute multiple code disc optoelectronic shaft angle coder
US6008744A (en) * 1996-06-11 1999-12-28 Nec Corporation Processing unit
CN2692635Y (en) * 2004-04-01 2005-04-13 中国人民解放军第三三O四工厂 Narrow code channel absolute type shaft photoelectric encoder

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2164543Y (en) * 1993-05-31 1994-05-11 中国科学院长春光学精密机械研究所 Composite coding coder
US6008744A (en) * 1996-06-11 1999-12-28 Nec Corporation Processing unit
CN2278924Y (en) * 1996-08-30 1998-04-15 中国科学院长春光学精密机械研究所 Absolute multiple code disc optoelectronic shaft angle coder
CN2692635Y (en) * 2004-04-01 2005-04-13 中国人民解放军第三三O四工厂 Narrow code channel absolute type shaft photoelectric encoder

Also Published As

Publication number Publication date
CN101140171A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN110008166A (en) Orthogonal differential vector signaling code with embedded clock
CN107360195B (en) Encoder conversion device of industrial Ethernet interface
CN205212860U (en) Single bus communication module
CN101453221A (en) Mapper based on bit weaving code modulation system and mapping process thereof
CN102619501A (en) Data transmission system in petroleum logging instrument
CN101119267A (en) CAN bus based signal real-time processing method
CN207200759U (en) A kind of coder transitions device of EPA interface
CN102394003A (en) Plastic optical fiber electric power meter reading system
CN103972909A (en) TSC (thyristor switched capacitor) system and RS485 communication method thereof based on FPGA (Field Programmable Gate Array)
CN100427889C (en) Absolute encoder circuit with controller local area network bus
CN101729572A (en) Protocol conversion device between MODBUS industrial field bus and wireless ZIGBEE and method thereof
CN202205069U (en) Analog quantity collecting module for programmable logical controller (PLC) controller
CN202043114U (en) Signal receiving and sending device
CN102790648A (en) Signal receiving and transmitting device and communication method thereof
CN201754588U (en) Repeater based on MVB bus network
CN202500555U (en) Data transmission system in petroleum logger
CN102098054B (en) Self-adaptive analog-to-digital conversion board card based on FPGA (field programmable gate array)
CN201700014U (en) 20mA current loop gateway for industrial field control
CN210719211U (en) Detection system based on signal acquisition and processing of multi-channel incremental encoder
CN105099458A (en) Thermometer decoder
CN204680195U (en) A kind of pressure unit and digital signal pressure transmission device
CN102901522A (en) Optical fibre transmission type rotary encoding device
CN202120109U (en) CAN (Controller Area Network) bus control device of radiotherapy equipment
CN108089481A (en) A kind of automobile detection system circuit based on CAN/LIN
CN207601565U (en) A kind of identification circuit of control module peripheral circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081022

Termination date: 20100907