CN208999823U - Automobile-used detection controller - Google Patents

Automobile-used detection controller Download PDF

Info

Publication number
CN208999823U
CN208999823U CN201821912795.3U CN201821912795U CN208999823U CN 208999823 U CN208999823 U CN 208999823U CN 201821912795 U CN201821912795 U CN 201821912795U CN 208999823 U CN208999823 U CN 208999823U
Authority
CN
China
Prior art keywords
circuit
control chip
main control
signal acquisition
analog
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
CN201821912795.3U
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.)
Jilin Da Qian Electronic Technology Co Ltd
Original Assignee
Jilin Da Qian Electronic Technology 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 Jilin Da Qian Electronic Technology Co Ltd filed Critical Jilin Da Qian Electronic Technology Co Ltd
Priority to CN201821912795.3U priority Critical patent/CN208999823U/en
Application granted granted Critical
Publication of CN208999823U publication Critical patent/CN208999823U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The utility model provides a kind of automobile-used detection controller, power supply, analogue signal acquisition circuit, switching signal Acquisition Circuit, switching signal output circuit and the CAN interface circuit connecting including main control chip and respectively with main control chip;Main control chip exports analog- and digital- control signal for acquiring analog signal, while to controlled device;Analogue signal acquisition circuit is used to acquire the analog signal of controlled plant output;Switching signal Acquisition Circuit is used to acquire the switching signal of controlled plant output;Switching signal output circuit is used for external controlled device output drive signal;CAN interface circuit is for realizing CAN communication;Power supply is used to power to main control chip, analogue signal acquisition circuit, switching signal Acquisition Circuit, switching signal output circuit and CAN interface circuit.The utility model achievees the purpose that weakening conflicts, enhancing allomeric function by the various information of CAN bus acquisition, use, distribution and shared interior all electronic systems.

Description

Vehicle detection controller
Technical Field
The utility model relates to the field of automotive technology, more specifically relates to an automobile-used detection controller.
Background
Vehicle controllers are important components of vehicles, and their operating conditions directly affect the performance of the vehicle. When the vehicle controller is designed according to the traditional design concept, the performance of the system is improved by adopting a way of accumulating various subsystems, so that the subsystems in the vehicle are purely task-oriented without considering the global relationship. With the increasing number of subsystems and devices, the conventional design method encounters a series of problems: increased wiring, complex wiring, increased electromagnetic interference, reduced system reliability, difficult inspection and maintenance, etc.
SUMMERY OF THE UTILITY MODEL
In view of the above problems, an object of the present invention is to provide a vehicle detection controller to solve the problems of increased circuits, complicated wiring, increased electromagnetic interference, decreased system reliability, and difficulty in inspection and maintenance due to the accumulation of subsystems.
The utility model provides a vehicle detection controller, which comprises a main control chip, a power supply, an analog signal acquisition circuit, a switch signal output circuit and a CAN bus interface circuit; the main control chip is C8051F040 in model, is integrated with a CAN controller and an AD converter, and is used for collecting analog signals and outputting analog and digital control signals to controlled equipment; the analog signal acquisition circuit is connected with the main control chip and is used for acquiring analog signals output by the controlled equipment and transmitting the analog signals to the main control chip; the analog signal acquisition circuit comprises an SPI bus AD converter with the model of MCP3208, an analog signal adjusting circuit connected with the SPI bus AD converter, two photocouplers with the model of 2801 connected with the SPI bus AD converter and a peripheral circuit of the photocouplers; the switching signal acquisition circuit is connected with the main control chip and is used for acquiring switching signals output by the controlled equipment and transmitting the switching signals to the main control chip; the switch signal acquisition circuit comprises a model 2801 photoelectric coupler and a peripheral circuit of the photoelectric coupler; the switch signal output circuit is connected with the main control chip and used for outputting a driving signal to an external controlled object; the switching signal output circuit comprises a photocoupler with the model number of 2801; the CAN bus interface circuit is connected with the main control chip and is used for realizing CAN communication; the CAN bus interface circuit comprises a CAN bus transceiver with the model number of VP251, two photocouplers with the model number of 0211 connected with the CAN bus transceiver and peripheral circuits of the photocouplers; the power supply is used for supplying power to the main control chip, analog signal acquisition circuit, switching signal output circuit and CAN bus interface circuit, power supply includes that two models are PWB 2405's power module, the model is CXDB 2's power filter and the three terminal regulator that the model is AMS1117, power filter is connected with two power modules respectively, one of them power module is connected with CAN bus transceiver, another power module respectively with three terminal regulator, analog signal acquisition circuit, switching signal output circuit and CAN bus interface circuit are connected, three terminal regulator and the inside integrated CAN controller of main control chip, the AD converter is connected.
Compared with the prior art, the utility model discloses a various information of all electronic systems in CAN bus collection, use, distribution and the sharing car reach the purpose that weakens the contradiction, strengthen whole function.
Drawings
Other objects and results of the invention will be more apparent and readily appreciated by reference to the following description taken in conjunction with the accompanying drawings, and as the invention is more fully understood. In the drawings:
fig. 1 is a schematic diagram of a logic structure of a vehicle detection controller according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of an analog signal acquisition circuit according to an embodiment of the present invention;
fig. 3 is a schematic circuit diagram of a switching signal acquisition circuit according to an embodiment of the present invention;
fig. 4 is a circuit schematic diagram of a switching signal output circuit according to an embodiment of the present invention;
fig. 5 is a schematic circuit diagram of a CAN bus interface circuit according to an embodiment of the present invention;
fig. 6 is a schematic circuit diagram of the interior of the power supply according to the embodiment of the present invention.
Wherein the reference numerals include: the device comprises a main control chip 1, an analog signal acquisition circuit 2, a switch signal acquisition circuit 3, a switch signal output circuit 4, a CAN bus interface circuit 5 and a power supply 6.
Detailed Description
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. It may be evident, however, that such embodiment(s) may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing one or more embodiments.
Fig. 1 shows a logical structure of a detection controller for a vehicle according to an embodiment of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an automobile-used detection controller, including: the device comprises a main control chip 1, an analog signal acquisition circuit 2, a switch signal acquisition circuit 3, a switch signal output circuit 4, a CAN bus interface circuit 5 and a power supply 6; the main control chip 1, the analog signal acquisition circuit 2, the switch signal acquisition circuit 3, the switch signal output circuit 4 and the CAN bus interface circuit 5 are respectively connected with the power supply 6, and the power supply 6 is used for supplying power to the main control chip 1, the analog signal acquisition circuit 2, the switch signal acquisition circuit 3, the switch signal output circuit 4 and the CAN bus interface circuit 5.
The model of the main control chip 1 is C8051F040, a CAN controller is integrated with the main control chip and is compatible with CAN2.0A and CAN2.0B, and CAN communication CAN be completed after the main control chip is matched with a bus transceiver; in addition, an AD converter is integrated inside the main control chip 1, and is used for completing the acquisition of analog signals and outputting analog and digital control signals to the controlled device.
The analog signal acquisition circuit 2 is connected with the main control chip 1 and used for acquiring analog signals output by the controlled equipment and transmitting the analog signals to the CAN controller. As shown in fig. 2, the analog signal acquisition circuit includes an SPI bus AD converter of model MCP3208, an analog signal adjustment circuit connected to the SPI bus AD converter, two photocouplers of model 2801 connected to the SPI bus AD converter, and a peripheral circuit of the photocouplers.
The analog signal conditioning circuit may be used to measure an analog voltage signal, an analog current signal, and a resistance signal. Take the circuit connected to MCP3208 channel 1 as an example: when R2 is disconnected and R4 and R1 are connected with resistors with proper resistance values, the circuit can be used for measuring analog voltage signals; when R2 is disconnected, R4 is short-circuited, and R1 is connected with a sampling resistor, the circuit can be used for measuring an analog current signal; when R1 is open, R4 is short-circuited, and R2 is connected to a resistor of appropriate resistance, the circuit can be used to measure the resistance signal. R5 and diodes D1 and D2 form a protection circuit. R6, R9 and C4 form a voltage division and filter circuit.
In order to ensure stable and reliable operation of the system, the digital and analog fields of the control module are strictly separated. Thus, instead of using an internal integrated AD converter of C8051F040, the module uses an external SPI bus AD converter MCP 3208. MCP3208 is a 12-bit successive approximation analog-to-digital converter with on-chip sample and hold circuitry. The AD converter is connected with a main control chip by using a simple serial port compatible with an SPI protocol, and the conversion rate can be as high as 100 ksps. The main control chip C8051F040 is an 8-bit single chip microcomputer, and the SPI port thereof requires to transmit and receive data with 8-bit data as a group. Meanwhile, in order to communicate with the MCP3208, the SPI port of the master chip is set to a master mode, data is output by a clock falling edge, and data is latched by a clock rising edge.
In the design, 8 analog signals are adjusted and connected to 8 analog inputs of MCP 3208. The power supply and reference voltage input end of the AD converter are connected with a 5V power supply through an inductor L1, and the analog ground is connected with a 5V power supply ground through an inductor L2, so that the influence of power supply disturbance on the AD conversion is reduced. Meanwhile, a photoelectric coupler is also used for isolating the SPI interface of the MCP3208 from the single chip microcomputer, so that the strict separation of a digital ground and an analog ground is ensured. The figure only shows a schematic diagram of optical coupling isolation of MOSI and MISO, and the principle of isolation of SCLK and CS is the same.
The switch signal acquisition circuit 3 is connected with the main control chip 1 and used for acquiring the switch signals output by the controlled equipment and transmitting the switch signals to the main control chip 1. As shown in fig. 3, the switching signal collecting circuit includes a photocoupler of 2801 type and a peripheral circuit of the photocoupler, when a high level signal of an external switching signal is connected to an input terminal of the switching signal collecting circuit, a light emitting diode inside the photocoupler is operated, the phototriode is turned on, and the photocoupler outputs a low level signal. The main control chip 1 can acquire the switching signal by scanning the output end of the photoelectric coupler through the I/O port. And the R1, the R2 and the C1 form an input voltage division filter circuit.
The switch signal output circuit 4 is connected with the main control chip 1 and is used for outputting a driving signal to an external controlled object. As shown in fig. 4, the switching signal output circuit includes a photocoupler of type 2801, and when the switching signal output circuit receives a low level signal sent from the main control chip 1 through the I/O port, the light emitting diode inside the photocoupler operates, the phototriode is turned on, and the photocoupler outputs the low level signal.
The CAN bus interface circuit 5 is connected with the main control chip 1 and used for realizing CAN communication. As shown in fig. 5, the CAN bus interface circuit includes a CAN bus transceiver with a model VP251, two photocouplers with a model 0211 connected to the CAN bus transceiver, and a peripheral circuit of the photocoupler.
Because the CAN bus controller is integrated in the C805lF040, the communication CAN be completed only by arranging the bus transceiver in the external circuit. The CAN bus interface circuit adopts VP251 as a bus transceiver which is mainly used for the interconversion between single-ended signals and differential signals. In addition, the minimum control circuit of the C805lF040 is isolated from the bus transceiver by a photoelectric coupler, so that the reliability of the system operation is improved. The photoelectric coupler adopts 2 photoelectric couplers, 1 photoelectric coupler is used for receiving, and 1 photoelectric coupler is used for transmitting.
As shown in fig. 6, the power supply 6 includes two power modules with PWB2405 model, a power filter with CXDB2 model, and a three-terminal regulator with AMS1117 model, the power filter is connected to the two power modules respectively, one of the power modules is connected to the CAN bus transceiver, the other power module is connected to the three-terminal regulator, the analog signal acquisition circuit, the switching signal output circuit, and the CAN bus interface circuit, and the three-terminal regulator is connected to the CAN controller and the AD converter integrated in the main control chip.
To limit conducted interference, the power supply module uses an electromagnetic interference (EMI) filter CXDB2 to suppress conducted noise in the power supply input. The input power is filtered and then sent into 2 independent power modules PWB2405 to obtain 3 groups of 5V power. 5V-2 is the analog signal input and AD conversion circuit provides the power, 5V-1 is the CAN bus transceiver power supply, 5VG is the analog power, ground connection. VCC provides power to the digital circuit using 5V voltage while providing power to the three terminal regulator module AMSlll 7. AMSlll7 converts VCC to 2 sets of 3.3V supplies, 3.3V-1 provides supply and reference voltages for the C8051F040 internal AD converter, and 3.3V-2 provides digital power for the C8051F040 minimum control circuit.
The above embodiments are only specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention, and all should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (1)

1. A vehicle detection controller, comprising: the system comprises a main control chip, a power supply, an analog signal acquisition circuit, a switch signal output circuit and a CAN bus interface circuit; wherein,
the main control chip is C8051F040 in model, is integrated with a CAN controller and an AD converter, and is used for collecting analog signals and outputting analog and digital control signals to controlled equipment;
the analog signal acquisition circuit is connected with the main control chip and is used for acquiring analog signals output by the controlled equipment and transmitting the analog signals to the main control chip; the analog signal acquisition circuit comprises an SPI bus AD converter with the model of MCP3208, an analog signal adjusting circuit connected with the SPI bus AD converter, two photocouplers with the model of 2801 connected with the SPI bus AD converter and a peripheral circuit of the photocouplers;
the switch signal acquisition circuit is connected with the main control chip and is used for acquiring a switch signal output by the controlled equipment and transmitting the switch signal to the main control chip; the switch signal acquisition circuit comprises a model 2801 photoelectric coupler and a peripheral circuit of the photoelectric coupler;
the switch signal output circuit is connected with the main control chip and is used for outputting a driving signal to an external controlled object; the switch signal output circuit comprises a photoelectric coupler with the model number of 2801;
the CAN bus interface circuit is connected with the master control chip and is used for realizing CAN communication; the CAN bus interface circuit comprises a CAN bus transceiver with the model number of VP251, two photocouplers with the model number of 0211 connected with the CAN bus transceiver and a peripheral circuit of the photocoupler;
the power supply is used for to master control chip analog signal acquisition circuit switching signal output circuit with CAN bus interface circuit power supply, power supply includes that two models are PWB 2405's power module, model are CXDB 2's power filter and model are AMS 1117's three terminal regulator, power filter is connected with two power module respectively, one of them power module with CAN bus transceiver connects, another power module respectively with three terminal regulator analog signal acquisition circuit switching signal output circuit with CAN bus interface circuit connects, three terminal regulator with master control chip internal integration's CAN controller, AD converter are connected.
CN201821912795.3U 2018-11-20 2018-11-20 Automobile-used detection controller Active CN208999823U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821912795.3U CN208999823U (en) 2018-11-20 2018-11-20 Automobile-used detection controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821912795.3U CN208999823U (en) 2018-11-20 2018-11-20 Automobile-used detection controller

Publications (1)

Publication Number Publication Date
CN208999823U true CN208999823U (en) 2019-06-18

Family

ID=66807858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821912795.3U Active CN208999823U (en) 2018-11-20 2018-11-20 Automobile-used detection controller

Country Status (1)

Country Link
CN (1) CN208999823U (en)

Similar Documents

Publication Publication Date Title
CN201117091Y (en) Automobile light state feedback device based on CAN bus
CN101509960A (en) Battery voltage and temperature monitoring device
EP3401152A1 (en) Electric vehicle and electromagnetic interference suppression circuit thereof
CN101201619B (en) General module for bus vehicle mounted network and information integration control system
CN110031700A (en) A kind of satellite load universal grounding detection board based on PXI bus
CN104090154A (en) Leak current detection module for train power supply monitoring subsystem
CN101470151B (en) CAN bus isolation circuit
CN208999823U (en) Automobile-used detection controller
CN103488111A (en) Automobile general switching collecting system
CN102490669A (en) Automobile CAN (Controller Area Network) bus adapter circuit and method thereof
CN109613373B (en) Electric automobile high-voltage loop protection diagnosis system and method and vehicle
CN102279109B (en) Universal test device for signal of military vehicle chassis part
CN201613866U (en) Controller of whole electric vehicle
CN204086381U (en) Train power supply monitoring subsystem leakage current test module
CN104122816B (en) Electric vehicle high-speed digital input circuit
CN215867590U (en) Crossing gate state acquisition device
TWI444819B (en) Metohd and circuit for converting logical pulse signal
CN202345583U (en) Controller area network (CAN) bus adaptation circuit for automobile
CN202608764U (en) Parking controlling device based on local interconnect network (LIN) communication
CN207798877U (en) Acceleration detection device and automobile
CN210881688U (en) Universal ECU control system for mining new energy transport vehicle
CN205304767U (en) Analog to digital conversion circuit with two reference sources
CN201142019Y (en) Universal module used for passenger car vehicle-mounted network and information integration control system
CN209842023U (en) Automobile battery current and voltage detection equipment based on isolation coupling device
CN212921403U (en) Wireless vehicle speed extraction system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant