CN2891132Y - Controller LAN bus data acquisition unit - Google Patents

Controller LAN bus data acquisition unit Download PDF

Info

Publication number
CN2891132Y
CN2891132Y CN 200520047893 CN200520047893U CN2891132Y CN 2891132 Y CN2891132 Y CN 2891132Y CN 200520047893 CN200520047893 CN 200520047893 CN 200520047893 U CN200520047893 U CN 200520047893U CN 2891132 Y CN2891132 Y CN 2891132Y
Authority
CN
China
Prior art keywords
module
bus
power
pulse
area network
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 - Lifetime
Application number
CN 200520047893
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.)
PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Original Assignee
PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
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 PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI filed Critical PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Priority to CN 200520047893 priority Critical patent/CN2891132Y/en
Application granted granted Critical
Publication of CN2891132Y publication Critical patent/CN2891132Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

A controller LAN bus data collector comprises a single chip microcontroller unit, a power checking and protecting unit, a CAN bus checking and protecting unit and a closed ring feedback network unit. The power checking and protecting unit consists of a power protecting module, a power checking module and a power transform module. The CAN bus checking and protecting unit comprises a CAN bus checking module, a CAN bus protecting module and a CAN communication module. The closed ring feedback network unit comprises an impulse-width modulation signal driving module, an impulse-width modulation current feedback module and an incremental encoder interface module. The utility model can prevent the abnormal external input voltage from damaging to the device, protect the CAN bus, directly drive the direct current dynamo, the magnetic valve and the hydraulic valve, and prevent the great current from damaging to the outer device, the compatibility is better, and the use is more convenient.

Description

The Controller Area Network BUS data collector
Technical field
The utility model relates to a kind of electric equipment, relates in particular to a kind of Controller Area Network BUS data collector.
Background technology
CAN (Controller Area Network, controller local area network) the bus data mechanics of communication is applied to every field more and more widely, the CAN bus data collector of prior art is owing to its structural reason, still have the following disadvantages: 1, the just input and output of switching value have the few especially of AD (analog to digital converter) translation function; 2, Shu Chu driving force is very little, if drive big load, generally all will add driver module; 3, communication modes all adopts the mode of RS485 mostly, is not suitable for requiring big occasion in communication reliability requirement height, communication data amount; 4, product is compatible low; 5, revising communications parameter is to realize by the toggle switch of outside, brings very big potential safety hazard (if there is the people to change the position of toggle switch because of carelessness, perhaps has the people deliberately to change its position and just cause Communications failure and control malfunctioning); 6, power module is lacked safeguard measure completely, the service failure individual devices that has protects the mode of other device to prevent to surpass rated voltage as adding the TVS pipe, still not only the volume ratio of the fuse of big electric current is difficult to be integrated on the circuit board more greatly to the fuse that then uses that has but also the reaction time of fuse is quite slow, can not effectively protect some devices to the voltage request sensitivity; 7, shortage is to the protection of communication line CAN bus.
Summary of the invention
The purpose of this utility model provides a kind of Controller Area Network BUS data collector of new structure exactly in order to overcome above defective.
The purpose of this utility model is achieved through the following technical solutions: a kind of Controller Area Network BUS data collector, comprise single-sheet miniature controller unit and the external switch signal input module and the switching signal output module that are connected with this single-sheet miniature controller unit, also comprise power supply detection and protected location, the detection of a CAN bus and protected location and a close-loop feedback network element of being connected with the single-sheet miniature controller unit respectively; Described power supply detects with protected location and comprises power protection module, power supply detection module and power transfer module, the input end of power protection module and power supply detection module is connected with external power source respectively, the output terminal of power supply detection module connects the power protection module, the output terminal of power protection module connects power transfer module and width modulation driver module respectively, and the output terminal of power transfer module connects the single-sheet miniature controller unit respectively and the CAN bus detects and protected location; Described CAN bus detects with protected location and comprises CAN bus detection module, CAN bus protection module and CAN communication module, CAN bus detection module is connected the CAN bus respectively with the input end of CAN bus protection module, the output terminal of CAN bus detection module connects CAN bus protection module, CAN bus protection module also links to each other with the input and output of CAN communication module, and the CAN communication module also links to each other with the input and output of single-sheet miniature controller unit; Described close-loop feedback network element comprises the pulse-width signal driver module, pulse width modulation electrical current feedback module and incremental encoder interface module, the input end of pulse-width signal driver module connects the single-sheet miniature controller unit, the input end of pulse width modulation electrical current feedback module connects the pulse-width signal driver module, the output terminal of pulse width modulation electrical current feedback module connects the single-sheet miniature controller unit, the input end of incremental encoder interface module links to each other with pulse-width signal driver module signal, and the output terminal of incremental encoder interface module connects the single-sheet miniature controller unit.
Described single-sheet miniature controller unit adopts 16 enhancement function type single-chip microcomputer XC164, and inside is integrated with DSP module, two road controller local area network control modules, pulse-width signal control module, incremental encoder processing module and AD modular converter.
Described power protection module adopts BTS660P.
Described power supply detection module adopts sluggish detection mode relatively.
Described switching signal output module adopts BSP78, and its maximum output current can reach 3A.
Adopted the AD4C331 solid-state relay in the described CAN protection module.
Described CAN bus detection module adopts duodiode and PNP triode to realize that the change in voltage of outside CAN bus detects.
Described external switch signal input module adopts inductance capacitance II mode filter and combined by the hysteresis comparator that LM2901 is designed to finishes collection to outside switching signal jointly.
The high-rise communications protocol of integrated CAN Open and two kinds of CAN buses of DeviceNet in the described CAN communication module.
Described pulse-width signal output module adopts the driving of BTS840S2 as pulse-width signal.
A kind of Controller Area Network BUS data collector of the utility model makes it compared with prior art owing to adopted above technical scheme, has following advantage and characteristics:
1, adopts superpower power supply detection module and power protection module, can prevent outside various unusual input voltage device to be caused the possibility of damage substantially.In the power protection module, adopted the power switch (Smart Highside High Current Power Switch) of wide region, big electric current; the maximum current of its operate as normal can reach 44 amperes, has temperature protection function, over-voltage protecting function and overcurrent protection function.The power protection module provides an effective signal by the power supply detection module and controls, and the two has superpower defencive function in conjunction with work, but safeguards system is not subjected to the influence of unusual power supply.
2, CAN bus detection module and CAN bus protection module have been adopted.When the voltage of CAN bus detection module on detecting bus surpasses rated voltage (design voltage is 9V); just send control signal and give CAN bus protection module; itself and external bus disconnection are connected realizes protecting inner CAN interface circuit not to be damaged; when bus recovery just often, the CAN detection module recovers its normal level again automatically works the CAN protection module normally.
3, the driving force of the width modulation of being adopted (PWM) signal driver module strong (0~4A), can directly drive direct current generator, solenoid valve and hydraulic valve, and also have PWM current feedback module to constitute the closed-loop control network can to prevent that electric current is excessive and damage external unit.By the frequency of current feedback module adjustment pwm signal and the suitable size of electric current that duty is recently regulated driving, good like this safety and the normal operation of having protected external unit.And be provided with the incremental encoder interface module, its function not only can the record coding device ruuning situation, also this function setting can be become the feedback network of PWM driver module, effect that the rotating speed in the time of so just can making pwm signal drive direct current generator is controlled and position control is well controlled.
4, the switching signal output module that is adopted have the big characteristics of drive current (0~3A), can not add the direct driving resistor load of external drive, inductive load and capacitive load, the non-constant width of the scope of application.
5, the high-rise communications protocol of simultaneously integrated CANOpen and two kinds of CAN buses of DeviceNet in the CAN communication module that is adopted, make the compatible better of CAN bus data collector, and very easy to use, two kinds of communications protocol can be used simultaneously and be independent of each other.
6, the external switch amount load module that is adopted has adopted filtering and the sluggish mode that compares to prevent outside undesired signal jointly, effectively prevent the mistake that reads external signal that the external input signal instability causes and the control mistake of the total system that causes, thereby improved the reliability and the interference free performance of total system.
Description of drawings
Fig. 1 is the structural representation of the utility model Controller Area Network BUS data collector.
Embodiment
The utility model is described in further detail below in conjunction with drawings and the specific embodiments.
Referring to Fig. 1; Controller Area Network BUS data collector of the present utility model; comprise single-sheet miniature controller unit 1, the external switch signal input module 2 that is connected with single-sheet miniature controller unit 1 and switching signal output module 3, comprise also that the power supply that is connected with single-sheet miniature controller unit 1 respectively detects with protected location 4, a CAN bus to detect and protected location 5 and a close-loop feedback network element 6.Power supply detects with protected location 4 and comprises power protection module 41, power supply detection module 42 and power transfer module 43; the input end of power protection module 41 and power supply detection module 42 is connected with external power source respectively; the output terminal of power supply detection module 42 connects power protection module 41; the output terminal of power protection module 41 connects power transfer module 43 and pulse-width signal driver module 61 respectively, and the output terminal of power transfer module 43 connects single-sheet miniature controller unit 1 respectively and the CAN bus detects and protected location 5.The CAN bus detects with protected location 5 and comprises CAN bus detection module 51, CAN bus protection module 52 and CAN communication module 53; CAN bus detection module 51 is connected the CAN bus respectively with the input end of CAN bus protection module 52; the output terminal of CAN bus detection module 51 connects CAN bus protection module 52; CAN bus protection module 52 also links to each other with 53 input and output of CAN communication module, and CAN communication module 53 also links to each other with 1 input and output of single-sheet miniature controller unit.Close-loop feedback network element 6 comprises pulse-width signal driver module 61, pulse width modulation electrical current feedback module 62 and incremental encoder interface module 63, the input end of pulse-width signal driver module 61 connects single-sheet miniature controller unit 1, the input end of pulse width modulation electrical current feedback module 62 connects pulse-width signal driver module 61, the output terminal of pulse width modulation electrical current feedback module 62 connects single-sheet miniature controller unit 1, the input end of incremental encoder interface module 63 links to each other with pulse-width signal driver module 62 signals, can be set at the motor FEEDBACK CONTROL of pulse-width signal output, the output terminal of incremental encoder interface module 63 connects single-sheet miniature controller unit 1.
Single-sheet miniature controller unit in the utility model can adopt 16 machines or 32 machines or 8 machines according to the requirement of system, and the control core component of 16 enhancement function type single-chip microcomputer XC164 of company of Infineon (infineon) as the entire I control device adopted in the consideration of comprehensive various aspects in the present embodiment.Its reliability height, fast operation (inside is integrated with the DSP module), the aboundresources that provides: inner integrated 2 road CAN control modules, PWM control module, incremental encoder processing module, AD modular converter and abundant input and output (IO) mouthful.
Power protection module in the utility model also is to adopt the BTS660P of company of Infineon (infineon); it has functions such as temperature protection, over-voltage over-current protection, overload protection; the load running current can be up to 44A, and its inner integrated current sensor can allow system detect total size of current of total system.
What the power supply detection module in the utility model adopted is sluggish mode relatively, just provides a signal and give protection module BTS660P when power supply surpasses 40V, thereby make its shutoff make high pressure can not destroy follow-up circuit.Being used in combination of power supply detection module and power protection module can reach good power protection effect.
That the switching signal output module in the utility model adopts is BSP78, it is directly controlled by the single-sheet miniature controller, the electric current of output big (normal maximum output current can reach 3A) can drive the load (as inductive load, capacitive load and resistive load) of any characteristic.
Adopted analog to digital converter 4C331 solid-state relay in the CAN bus protection module in the utility model; open or turn-off being connected of CAN external bus and inner CAN interface by control signal; realizing the connection and the turn-off function of CAN bus, thereby realize the disconnection of outside CAN bus and inner CAN interface or be connected.
CAN bus detection module in the utility model mainly is to use duodiode and PNP triode to realize the change in voltage situation of outside CAN bus.When external bus voltage is higher than when voltage 9V is set; just export the conducting of PNP triode; close the analog to digital converter 4C331 solid-state relay of CAN bus protection module, realize the disconnection of external bus, make outside high-tension electricity can not have influence on inner CAN interface chip.
Switching signal load module in the utility model has adopted inductance capacitance ∏ mode filter and has been finished the collection of external switch signal by the mode that the hysteresis comparator that LM2901 is designed to combines jointly, can change the threshold voltage of corresponding high and low level as required by the value that changes resistance, the high level threshold values that is provided with by system is 0.4 times of supply voltage, and the low level threshold voltage is 0.2 times of supply voltage.This module mainly is to gather outside switching signal amount, mainly adopted the filtering of external input signal and sluggish relatively mode are leached undesired signal and prevent the instability of external signal and the signal that occurs collecting is unreliable or unstable, sluggish threshold voltage relatively is not a fixing value but associated with the supply voltage of outside input, thus the uncertain possibility to the logic level of signal input that can not cause because of external input voltage is uncertain.
The utility model is gathered and some adopt the conversion of 4mA~20mA electric current loops analog quantity in order to satisfy in design, in the CAN bus data collector, adopted the AD modular converter, the signal form that each input port can be set in the application is current signal or voltage signal, and the precision of AD conversion is 10.The maximum voltage of present embodiment design is 30V, and the maximum current that input detects is 30mA, and the electric current of full reading is 23mA.
The generation of pwm signal is directly to adopt integrated PWM control module in the microcontroller in width modulation in the utility model (PWM) the signal driver module, adopt the driving of BTS840S2 as pwm signal, inner integrated 2 road PWM of BTS840S2 drive and current sensor output, and the function of this current sensor output is added outside treatment circuit and just constituted PWM current feedback module.Pulse width modulation electrical current feedback module (PWM current feedback module) is mainly used in the current feedback of some inductive loads and resistive load, adjust the dutycycle and the frequency of width modulation (PWM) in the practical application for the situation that adapts to load, effectively prevented the load of driven object little and cause damage and abnormal work of the driven object that electric current is excessive and cause; The unreasonable decline that causes driving force that in like manner also can prevent dutycycle causes can not driving and situation that can not normal reliable work big load.
Incremental encoder interface module in the utility model can direct external incremental encoder realizes that the automatic increase and decrease of pulse counts and writes down the rotation situation of tested rotating machinery, also can be arranged to the indirect feedback signal that width modulation (PWM) drives direct current generator, be provided with and in the occasion that control accuracy is had relatively high expectations, to use such as the velocity of rotation of controlling motor, the rotation number of turns.And the incremental encoder interface adopts hardware directly to count and judges the mode of traffic direction, has greatly improved the frequency and the reliability of numeration, has reduced simultaneously owing to adopt the occupation rate of the CPU of software numeration.
The high-rise communications protocol of integrated CANOpen and two kinds of CAN buses of DeviceNet in the CAN communication module in the utility model.These two kinds of agreements have adopted a CAN communication node in the CAN communication module separately, and all communications parameters are to finish by artificial setting of upper computer software, and parameter only is provided with once (communication module that does not resemble is that the toggle switch by the outside carries out the communications parameter setting).
Also be provided with temperature-measuring module in the device of the present utility model, this module can detect the size of internal temperature constantly, and the value of this temperature can offer controller outside.

Claims (9)

1, a kind of Controller Area Network BUS data collector, comprise single-sheet miniature controller unit and the external switch signal input module and the switching signal output module that are connected with this single-sheet miniature controller unit, it is characterized in that: also comprise power supply detection and protected location, the detection of a CAN bus and protected location and a close-loop feedback network element of being connected with the single-sheet miniature controller unit respectively; Described power supply detects with protected location and comprises power protection module, power supply detection module and power transfer module, the input end of power protection module and power supply detection module is connected with external power source respectively, the output terminal of power supply detection module connects the power protection module, the output terminal of power protection module connects power transfer module and width modulation driver module respectively, and the output terminal of power transfer module connects the single-sheet miniature controller unit respectively and the CAN bus detects and protected location; Described CAN bus detects with protected location and comprises CAN bus detection module, CAN bus protection module and CAN communication module, CAN bus detection module is connected the CAN bus respectively with the input end of CAN bus protection module, the output terminal of CAN bus detection module connects CAN bus protection module, CAN bus protection module also links to each other with the input and output of CAN communication module, and the CAN communication module also links to each other with the input and output of single-sheet miniature controller unit; Described close-loop feedback network element comprises the pulse-width signal driver module, pulse width modulation electrical current feedback module and incremental encoder interface module, the input end of pulse-width signal driver module connects the single-sheet miniature controller unit, the input end of pulse width modulation electrical current feedback module connects the pulse-width signal driver module, the output terminal of pulse width modulation electrical current feedback module connects the single-sheet miniature controller unit, the input end of incremental encoder interface module links to each other with pulse-width signal driver module signal, and the output terminal of incremental encoder interface module connects the single-sheet miniature controller unit.
2, Controller Area Network BUS data collector as claimed in claim 1, it is characterized in that: described single-sheet miniature controller unit adopts 16 enhancement function type single-chip microcomputer XC164, and inside is integrated with DSP module, two road controller local area network control modules, pulse-width signal control module, incremental encoder processing module and AD modular converter.
3, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: described power protection module adopts BTS660P.
4, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: described power supply detection module adopts sluggish detection mode relatively.
5, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: described switching signal output module adopts BSP78, and its maximum output current can reach 3A.
6, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: adopted the AD4C331 solid-state relay in the described CAN protection module.
7, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: described CAN bus detection module adopts duodiode and PNP triode to realize that the change in voltage of outside CAN bus detects.
8, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: described external switch signal input module adopts inductance capacitance ∏ mode filter and combined by the hysteresis comparator that LM2901 is designed to finishes collection to outside switching signal jointly.
9, Controller Area Network BUS data collector as claimed in claim 1 is characterized in that: described pulse-width signal output module adopts the driving of BTS840S2 as pulse-width signal.
CN 200520047893 2005-12-23 2005-12-23 Controller LAN bus data acquisition unit Expired - Lifetime CN2891132Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200520047893 CN2891132Y (en) 2005-12-23 2005-12-23 Controller LAN bus data acquisition unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200520047893 CN2891132Y (en) 2005-12-23 2005-12-23 Controller LAN bus data acquisition unit

Publications (1)

Publication Number Publication Date
CN2891132Y true CN2891132Y (en) 2007-04-18

Family

ID=38021796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200520047893 Expired - Lifetime CN2891132Y (en) 2005-12-23 2005-12-23 Controller LAN bus data acquisition unit

Country Status (1)

Country Link
CN (1) CN2891132Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501263A (en) * 2013-10-11 2014-01-08 深圳市汇川技术股份有限公司 CAN (controller area network) communication protection circuit
CN107631740A (en) * 2017-09-11 2018-01-26 珠海格力节能环保制冷技术研究中心有限公司 A kind of encoder opto-electronic compensation circuit, method and photoelectric encoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501263A (en) * 2013-10-11 2014-01-08 深圳市汇川技术股份有限公司 CAN (controller area network) communication protection circuit
CN107631740A (en) * 2017-09-11 2018-01-26 珠海格力节能环保制冷技术研究中心有限公司 A kind of encoder opto-electronic compensation circuit, method and photoelectric encoder

Similar Documents

Publication Publication Date Title
CN100585658C (en) CAN bus data collector
CN106487167B (en) Electronic pump
CN101841292B (en) Direct-current motor driver of wind generating variable-propeller control system
CN1536748A (en) Feedback bias control circuit of synchronous rectifier
CN106711954B (en) A kind of fast-response short circuit over-current protection circuit
CN104297562A (en) Intelligent identification type electric energy meter
CN2831607Y (en) Driving controller for brushless dynamo
CN215728707U (en) Three-phase power supply phase loss detection circuit and motor controller of BLDC motor
CN1657787A (en) Method and device for control speed of fan
CN2891132Y (en) Controller LAN bus data acquisition unit
CN2822024Y (en) DC/DC power module with low voltage regulation rate and negative regulation rate
CN203368316U (en) PWM dead-time protective circuit and air conditioner
CN101420198A (en) Five phase DC brushless motor controller
CN102237671B (en) Surpass in reverse spacing counting and timing control circuit extremely out of control comprehensively
CN209299166U (en) Permanent-magnet brushless DC electric machine speed regulation device
CN218920290U (en) Split half-bridge three-phase inverter circuit, control board and air conditioner
CN208673178U (en) It is a kind of list fire take electrical chip
CN217643193U (en) Time sequence dynamic braking circuit
CN2919683Y (en) Control device for permanent magnet brushless DC electromotor
CN203099030U (en) Intelligent frequency conversion electric actuating mechanism
CN203645299U (en) Hardware overload or short circuit protective circuit and DC power supply circuit
CN206149171U (en) Automobile -used high -power generator voltage regulator system
CN201523209U (en) Load over-current protection circuit for automobile electrical appliance
CN103956946A (en) Low-voltage high-power direct-current motor control circuit with overcurrent protection function
CN212034013U (en) High-rotating-speed brushless motor control circuit based on MP6532 chip

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Effective date of abandoning: 20100127

C25 Abandonment of patent right or utility model to avoid double patenting