CN203759537U - CAN bus based automatic detection system of automobile instrument sensor - Google Patents

CAN bus based automatic detection system of automobile instrument sensor Download PDF

Info

Publication number
CN203759537U
CN203759537U CN201420119104.XU CN201420119104U CN203759537U CN 203759537 U CN203759537 U CN 203759537U CN 201420119104 U CN201420119104 U CN 201420119104U CN 203759537 U CN203759537 U CN 203759537U
Authority
CN
China
Prior art keywords
bus
sensor
input end
controller
motor
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
CN201420119104.XU
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.)
Anhui Polytechnic University
Original Assignee
Anhui Polytechnic 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 Anhui Polytechnic University filed Critical Anhui Polytechnic University
Priority to CN201420119104.XU priority Critical patent/CN203759537U/en
Application granted granted Critical
Publication of CN203759537U publication Critical patent/CN203759537U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model provides a CAN bus based automatic detection sensor of an automobile instrument sensor. The automatic detection system comprises a controller, a motor driver, a motor exciter, a sensor detector, a CAN bus interface and a host PC. The CAN bus employs a two-line serial communication manner, the capability of error detection is strong, the CAN bus can work in an environment with high noise interference, and the reliability and instantaneity are greatly higher than those of common communication technology. The controller, a performer and the sensor are connected via the CAN bus, cables are fewer and easy to lay, and the cost is low. The automatic detection system is more flexible, signal transmission is more reliable, and the anti-interference capability is strong.

Description

A kind of automobile instrument sensor automatic checkout system based on CAN bus
Technical field
The utility model relates to auto parts machinery technical field, especially relates to a kind of automobile instrument sensor automatic checkout system based on CAN bus.
Background technology
CAN bus is one of the focus in nowadays automatic field, is described as the LAN (Local Area Network) of automatic field.CAN bus is to realize the production CAN system of bidirectional linked list between Microcomputer measuring and controlling equipment, multinode digital communication, is also referred to as the bottom control network of open, digitizing, multi-point.Its signal transmission medium is general twisted-pair power cable or optical cable etc., and traffic rate reaches as high as 1Mbps/40m, and transmission range can reach 10km/5kbps farthest.In the time of node gross error, there is the function of automatically closing, to cut off contacting of this node and bus, make other node machine communications on order wire unaffected, there is stronger antijamming capability.
Along with the develop rapidly of automotive electronic technology, increasing of electronic control device for vehicle, makes to connect wire between electronic control device for vehicle and also becomes more complicated.The wiring method of traditional point-to-point, vehicle body cloth line length, complexity, and operational reliability is low, breakdown maintenance difficulty is large.Therefore, exchanges data problem between numerous control device and electronic instrument in solution Hyundai Motor, it is more and more important that the data communication between car-mounted electronic device becomes, automobile instrument technical networkization has become the inexorable trend of automobile industry development.
Utility model content
Technical problem to be solved in the utility model is, for the deficiencies in the prior art, a kind of automobile instrument sensor automatic checkout system based on CAN bus is provided, not only can improve precision and the efficiency of test, make development and maintenance become easier, more meet the development trend of Hyundai Motor instrumentation tap.
For solving the problems of the technologies described above, the utility model provides a kind of automobile instrument sensor automatic checkout system based on CAN bus, comprise: controller, motor driver, motor actuator, sensor detector, CAN bus interface, PC host computer, the output terminal of described sensor detector is connected to the input end of CAN bus interface, the output terminal of CAN bus interface is connected to the input end of controller and the input end of PC host computer, the output terminal of controller is connected to the input end of CAN bus interface and the input end of motor driver, the output terminal of described motor driver is connected to the input end of motor actuator, the output terminal of motor actuator is connected to the input end of sensor detector, the output terminal of PC host computer is connected to the input end of CAN bus interface.
Sensor detector mainly gathers rotating speed, water tank temperature and the automobile oil mass signal of automobile, and process to controller by CAN bus transfer, signal is sent into the treatment circuit with CAN interface after treatment, is then uploaded to the data of host computer display measurement by CAN bus.Meanwhile, host computer is sent out operational order and is given the controller that DSP is core, controls motor driver by it, the work of motor driver drive motor driver, and motor actuator gives corresponding sensor excitation; The output signal of last sensor is passed to host computer by CAN interface module by bus, and host computer compares by known standard and the result of sending test back and shows result.
Described controller has adopted TMS320F2407, is the control core of whole system, and it is responsible for processing gathering the signal coming, and controls motor driver, communicates with PC host computer simultaneously.
Described motor driver, that native system is selected is step motor control chip PMM8713, the 8713rd, belong to unipolar control, for controlling three-phase and four-phase stepper motor.8713 receive the control signal from DSP, thereby realize the driving to motor.
Described motor actuator, what this module adopted is single-phase type stepper motor, after control signal Driving Stepping Motor, stepper motor will give corresponding sensor excitation.
Described sensor detector, has comprised three kinds of automobile sensors, is respectively radiator temperature sensor, fuel-quantity transducer, speed pickup.Radiator temperature sensor is for detection of radiator water temperature, and it adopts thermistor (temperature) sensor, and automobile oil mass sensor is mainly how many in order to test oil mass in fuel tank, and automotive speed sensor, is mainly the speed for measured automobiles.
Described CAN bus interface, is mainly made up of 3 parts: be integrated in the microcontroller P87C591 of sheet CAN, CAN bus transceiver PCA82C250 and high-speed photoelectric coupler 6N137.
Described PC host computer, utilize Visual C Plus Plus to create visual interface, by CAN bus, PC is to the order of DSP issuing control, the data of tested sensor are sent back to host computer simultaneously and compare and finally provide result of determination with known standard, this interface is simple, workable in addition.
Compared with prior art, the utility model beneficial effect is as follows: 1, CAN bus adopts two-wire serial communication mode, and error detecing capability is strong, can in strong noise interference environment, work, and reliability and real-time are far above the common communication technology.2, between controller, actuator and sensor, connect by CAN bus, cable is few, easily lay, to realize cost low.3, system more flexibly, signal transmission reliability is high, antijamming capability is strong.
Brief description of the drawings
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiment more of the present utility model, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is structured flowchart of the present utility model.
Fig. 2 is 8713 pulsqe distributors and TMS320F2407 interface schema in an embodiment of the present utility model.
Fig. 3 is PC-CAN interface schema in embodiment of the utility model.
Wherein: 1, controller, 2, motor driver, 3, motor actuator, 4, sensor detector, 5, CAN bus interface, 6, PC host computer.
Embodiment
In order to deepen understanding of the present utility model, below in conjunction with embodiment, the invention will be further described, and this embodiment only, for explaining the present invention, does not form limiting the scope of the present invention.
As shown in Figure 1, the present embodiment provides the automatic checkout system of the automobile instrument sensor based on CAN bus, and as shown in Figure 1, this system comprises: controller, motor driver, motor actuator, sensor detector, CAN bus interface, PC host computer.Sensor detector mainly gathers rotating speed, water tank temperature and the automobile oil mass signal of automobile, and process to controller by CAN bus transfer, signal is sent into the treatment circuit with CAN interface after treatment, is then uploaded to the data of host computer display measurement by CAN bus.Meanwhile, host computer is sent out operational order and is given the controller that DSP is core, controls motor driver by it, the work of motor driver drive motor driver, and motor actuator gives corresponding sensor excitation; The output signal of last sensor is passed to host computer by CAN interface module by bus, and host computer compares by known standard and the result of sending test back and shows result.The utility model has been realized the automatic detection of automobile instrument sensor, has improved the accuracy of system, and antijamming capability is strong.
Controller: adopted 32 fixed-point DSP chip TMS320F2407 as master controller, it is received and is gathered the signal of coming by the AD resource of self, and after simulating signal is converted to digital signal and processes, by the GPIO mouth motor driver that transmits control signal, communicate by CAN bus interface and PC host computer simultaneously;
Motor driver: that native system is selected is step motor control chip PMM8713, the 8713rd, belong to unipolar control, for controlling three-phase and four-phase stepper motor.It receives the control signal from DSP, thereby realizes the driving to motor;
Motor actuator: what this module adopted is single-phase type stepper motor, and after control signal Driving Stepping Motor, stepper motor will give corresponding sensor excitation;
Sensor detector: having comprised three kinds of automobile sensors, is respectively radiator temperature sensor, fuel-quantity transducer, speed pickup.Radiator temperature sensor is for detection of radiator water temperature, and it adopts thermistor (temperature) sensor, and automobile oil mass sensor is mainly how many in order to test oil mass in fuel tank, and automotive speed sensor, is mainly the speed for measured automobiles;
CAN bus interface: mainly formed by 3 parts: be integrated in the microcontroller P87C591 of sheet CAN, CAN bus transceiver PCA82C250 and high-speed photoelectric coupler 6N137.PCA82C250 is the interface between CAN protocol controller and physical bus.In order to strengthen the antijamming capability of CAN bus node, P87C591 is connected with 82C250 by after high speed photo coupling 6N137, has so just well realized the internodal electrical isolation of each CAN in bus.
PC host computer: utilize Visual C Plus Plus to create visual interface, by CAN bus, PC, to the order of DSP issuing control, sends the data of tested sensor back to host computer simultaneously and compares and finally provide result of determination with known standard, and this interface is simple, workable in addition.
According to embodiment of the utility model, as shown in Figure 2,
8713 3 pin are step-by-step impulse input end, and 4 pin are for turning to control end, and the input of these two pins all can be provided and be controlled by the PWM1 of TMS320F2407 and PWM2.Wherein the 92nd pin GPIOA0 of TMS320F2407, the 93rd pin GPIOA1 are multiplexed with PWM1, PWM2.
According to embodiment of the utility model, as shown in Figure 3,
In figure, PCA82C250T is the interface driving between CAN controller and physical bus, differential transmission and connection function to bus are provided, the peripheral hardware resource of TMS320F2407 comprises a CAN bus interface, the 87th pin is CAN_TXD, the 89th pin is CAN_RXD, and these two pins are connected with RXD with the TXD of PCA82C250T respectively.

Claims (3)

1. the automobile instrument sensor automatic checkout system based on CAN bus, it is characterized in that, comprise: controller (1), motor driver (2), motor actuator (3), sensor detector (4), CAN bus interface (5), PC host computer (6), the output terminal of described sensor detector (4) is connected to the input end of CAN bus interface (5), the output terminal of CAN bus interface (5) is connected to the input end of controller (1) and the input end of PC host computer (6), the output terminal of controller (1) is connected to the input end of CAN bus interface (5) and the input end of motor driver (2), the output terminal of described motor driver (2) is connected to the input end of motor actuator (3), the output terminal of motor actuator (3) is connected to the input end of sensor detector (4), the output terminal of PC host computer (6) is connected to the input end of CAN bus interface (5).
2. a kind of automobile instrument sensor automatic checkout system based on CAN bus as claimed in claim 1, is characterized in that, described motor driver (2) uses chip PMM8713 to control, for controlling three-phase and four-phase stepper motor.
3. a kind of automobile instrument sensor automatic checkout system based on CAN bus as claimed in claim 1, it is characterized in that, described sensor detector (4) has detected three kinds of automobile sensors, is respectively radiator temperature sensor, fuel-quantity transducer, speed pickup.
CN201420119104.XU 2014-03-17 2014-03-17 CAN bus based automatic detection system of automobile instrument sensor Expired - Fee Related CN203759537U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420119104.XU CN203759537U (en) 2014-03-17 2014-03-17 CAN bus based automatic detection system of automobile instrument sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420119104.XU CN203759537U (en) 2014-03-17 2014-03-17 CAN bus based automatic detection system of automobile instrument sensor

Publications (1)

Publication Number Publication Date
CN203759537U true CN203759537U (en) 2014-08-06

Family

ID=51254790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420119104.XU Expired - Fee Related CN203759537U (en) 2014-03-17 2014-03-17 CAN bus based automatic detection system of automobile instrument sensor

Country Status (1)

Country Link
CN (1) CN203759537U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218153A (en) * 2018-08-30 2019-01-15 四川智中能源互联网科技有限公司 It is a kind of with it is anti-interference and self detection control area network system
CN110132340A (en) * 2019-05-24 2019-08-16 安徽扬远信息科技有限公司 A kind of instrument and meter operation conditions testing and analysis system
CN110879550A (en) * 2019-11-29 2020-03-13 湖北汽车工业学院 Motor control system and CAN communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218153A (en) * 2018-08-30 2019-01-15 四川智中能源互联网科技有限公司 It is a kind of with it is anti-interference and self detection control area network system
CN110132340A (en) * 2019-05-24 2019-08-16 安徽扬远信息科技有限公司 A kind of instrument and meter operation conditions testing and analysis system
CN110879550A (en) * 2019-11-29 2020-03-13 湖北汽车工业学院 Motor control system and CAN communication method

Similar Documents

Publication Publication Date Title
CN203759537U (en) CAN bus based automatic detection system of automobile instrument sensor
CN203054557U (en) A position sensor interface servo control device supporting multiple sensor communication protocols
CN206575438U (en) A kind of vehicle-mounted ethernet test modular converter and test system based on BroadR Reach
CN102393731A (en) On-board monitoring and diagnosis device based on OBD-II (On-Board Diagnostics-II)
CN1949734B (en) Power supply two-line system real-time bus communication method
CN100498611C (en) Programmable logic controller and its communication interface device
CN209305503U (en) A kind of automobile instrument system based on can bus
CN114401501A (en) Time service device and time service method for vehicle-mounted unit of V2X, vehicle V2X device and vehicle
CN101992733A (en) Automobile fault real-time prompt system
CN105974911B (en) Wifi editions EOL tools and the diagnostic method for utilizing the tool
CN201619536U (en) Fault diagnosis device supporting multiple protocols and OBD II automobile
CN104730274A (en) Programmed multifunctional rotation speed signal conversion device
CN203901673U (en) Temperature monitoring system for injection molding machine
CN214335548U (en) Whole vehicle pair mapping test system
CN208094572U (en) A kind of more CAN bus network monitor terminals based on USB
CN103176435A (en) Device and method of interface for achieving connection of distributed control system and measuring device
CN106774036B (en) Vehicle body control system and method
CN202541459U (en) Vehicle body control system adopting Bluetooth technology
CN112148321B (en) Anti-interference upgrading system and method for automobile intelligent electronic equipment microcontroller
CN107707558B (en) Data transmission system of multi-industry bus
CN205725807U (en) Automobile CAN protocol boards
CN104773121B (en) A kind of bus control unit for car steering tube column
CN104181828A (en) CAN bus controller adaptor
CN213693739U (en) IO-Link repeater long-line transceiver supporting SIO function
CN203982293U (en) USB-LIN interconnecting device

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: 20140806

Termination date: 20150317

EXPY Termination of patent right or utility model