CN111614530A - CAN data acquisition circuit of WIFI communication - Google Patents
CAN data acquisition circuit of WIFI communication Download PDFInfo
- Publication number
- CN111614530A CN111614530A CN201910138765.4A CN201910138765A CN111614530A CN 111614530 A CN111614530 A CN 111614530A CN 201910138765 A CN201910138765 A CN 201910138765A CN 111614530 A CN111614530 A CN 111614530A
- Authority
- CN
- China
- Prior art keywords
- circuit
- data acquisition
- wifi
- gnd
- communication
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
- H02M3/02—Conversion of dc power input into dc power output without intermediate conversion into ac
- H02M3/04—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Dc Digital Transmission (AREA)
Abstract
The invention provides a CAN data acquisition circuit for WIFI communication, which comprises a CPU circuit, a switch voltage reduction circuit, an isolation power supply circuit, a CAN interface circuit, a CAN communication isolation circuit and a WIFI interface circuit. CAN data in the circuit enters a CPU after being processed by a CAN processing chip and an isolation circuit, and the CPU performs corresponding data processing after receiving the data and then transmits the data to a WIFI module according to a custom protocol. The isolation power supply circuit supplies power to the CPU circuit and the WIFI interface circuit after optical coupling isolation. The circuit utilizes the WIFI mode to carry out data transmission, changes the traditional wired data acquisition method, and when the circuit is applied to the data acquisition of a driving automobile, the influence of an acquisition line on a driver is built, so that the safety of data acquisition in the driving process is enhanced.
Description
Technical Field
The invention relates to a CAN data acquisition circuit for WIFI communication, and belongs to the technical field of application electronics.
Background
In order to analyze the data of the CAN bus and analyze the parameters of various systems from the data, a wired CAN data collector is commonly used for collecting the data of the CAN bus. At present, a large number of automobile buses all adopt CAN buses, and in order to know the running condition of an automobile, various information of the automobile is analyzed and processed, and a large amount of data needs to be acquired in the running process of the automobile. Usually CAN data collection station CAN direct access driver steering wheel below the OBD interface carry out data acquisition, but wired connection back circuit CAN influence the driver and drive, and the interface that inserts the computer end simultaneously also needs dedicated drive. To the above problem, design the CAN data acquisition circuit of WIFI communication, solve the safety problem that wired data acquisition arouses at the in-process data acquisition that traveles, reduced the trouble of equipment drive installation simultaneously.
Disclosure of Invention
The invention aims to provide a CAN data acquisition circuit for WIFI communication, which solves the safety problem caused by data acquisition in the driving process of wired data acquisition and reduces the trouble of equipment driver installation.
The invention adopts the following specific technical scheme:
the utility model provides a CAN data acquisition circuit of WIFI communication, characterized by: the circuit comprises a CPU circuit with STM32F103 as a core, a switch voltage reduction circuit with LM3596 as a core, a WIFI interface circuit utilizing an ESP8266 module, a CAN communication isolation circuit with a photoelectric coupling chip as a core, a CAN interface circuit with TJA1040 as a core and an isolation power supply circuit with B0505S as a core.
The CPU circuit is shown in figure 2, two ends of C4-C7 are respectively connected with VCC and GND, and a stable power supply is provided for the work of an STM32F103 singlechip; r9 and R2 are connected with GND and BOOT0 and BOOT1 ends of the CPU, and the CPU is set to run from an internal FLASH; c3 is connected with NRST and GND to provide a reset capacitor for STM32F 103; c1, C2 and Y1 form a crystal oscillator circuit according to the connection mode shown in the figure 2, and provide an operation clock for the STM32F103 singlechip; the P3 is connected with SWCLK, SWDIO, GND and VCC of the STM32F103 singlechip and is a program downloading port; one end of the R4 and the DS1 are connected with VCC after being connected in series, and the other end of the R4 and the DS1 are connected with PA7 of an STM32 single chip microcomputer, so that a signal indicator lamp circuit is formed.
The switch voltage reduction circuit is shown in figure 2, wherein P6 and P7 are respectively from 12V and GND signals of a vehicle body and are connected with an LM2596 voltage reduction chip to provide a 12-volt power supply for the circuit; u5, D3, L1 and C10 form a BUCK voltage reduction circuit according to the connection method of the figure 2; an ON/OFF pin of the U5 is connected to GND, and the chip is started to work; the FB pin is connected with the +5V power supply output end and is a feedback signal of the chip to ensure the stable output of the voltage.
As shown in fig. 2, the WIFI interface circuits P1 and P2 are interface circuits of a WIFI module ESP8266, and the circuits provide VCC and GND to supply power for the operation of the module; the RX1 and TX1 of the interface are connected to the PA8 and PA9 of the STM32F103 singlechip and are communication ports of the singlechip and the module.
The CAN communication isolation circuit is shown in figure 2, U2 and U3 are isolation optocouplers, the left sides of the optocouplers are connected with TX and RX ends of an STM32F103 singlechip, and the right sides of the optocouplers after isolation are connected with TXD and RXD ends of a CAN interface circuit, so that the purpose of isolating communication signals is achieved; r5 and R8 are used as current limiting resistors of the optocoupler light-emitting diode; r6 and R7 are pull-up resistors for receiving the triode.
As shown in fig. 2, the CAN interface circuit uses TJA1040 as a core signal conversion circuit to convert the CAN level between TTL and differential pressure levels; VCC in the circuit is connected with a +5V power supply, and the CANH end and the CANL end are respectively connected with a C8 capacitor, a C9 capacitor, a D1 capacitor and a D2 capacitor in a hanging mode, so that the purposes of filtering and preventing the overvoltage of a CAN bus are achieved.
The isolation power supply circuit is shown in the figure, B0505S is an isolation power supply, REG1117-3.3 is a 5V to 3.3V buck chip, and C11, C12 and C13 are connected to the output end of the chip to achieve the purpose of power supply filtering.
This patent adopts above technical scheme to have following characteristics:
1. the circuit is provided with an isolation power supply, and different isolation voltage sources are connected according to the requirements of respective chips;
2. the circuit has a WIFI function and does not need to be connected in a wired mode;
3. the circuit is provided with an optical coupler to isolate CAN signals and protect a CAN bus circuit.
Drawings
Fig. 1 is a block diagram of a circuit mechanism of a CAN data acquisition circuit of WIFI communication.
Fig. 2 is a circuit diagram of a CAN data acquisition circuit of WIFI communication of this patent.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
The circuit comprises a CPU circuit with STM32F103 as a core, a switch voltage reduction circuit with LM3596 as a core, a WIFI interface circuit utilizing an ESP8266 module, a CAN communication isolation circuit with a photoelectric coupling chip as a core, a CAN interface circuit with TJA1040 as a core and an isolation power supply circuit with B0505S as a core.
The CPU circuit is shown in figure 2, two ends of C4-C7 are respectively connected with VCC and GND, and a stable power supply is provided for the work of an STM32F103 singlechip; r9 and R2 are connected with GND and BOOT0 and BOOT1 ends of the CPU, and the CPU is set to run from an internal FLASH; c3 is connected with NRST and GND to provide a reset capacitor for STM32F 103; c1, C2 and Y1 form a crystal oscillator circuit according to the connection mode shown in the figure 2, and provide an operation clock for the STM32F103 singlechip; the P3 is connected with SWCLK, SWDIO, GND and VCC of the STM32F103 singlechip and is a program downloading port; one end of the R4 and the DS1 are connected with VCC after being connected in series, and the other end of the R4 and the DS1 are connected with PA7 of an STM32 single chip microcomputer, so that a signal indicator lamp circuit is formed.
The switch voltage reduction circuit is shown in figure 2, wherein P6 and P7 are respectively from 12V and GND signals of a vehicle body and are connected with an LM2596 voltage reduction chip to provide a 12-volt power supply for the circuit; u5, D3, L1 and C10 form a BUCK voltage reduction circuit according to the connection method of the figure 2; an ON/OFF pin of the U5 is connected to GND, and the chip is started to work; the FB pin is connected with the +5V power supply output end and is a feedback signal of the chip to ensure the stable output of the voltage.
As shown in fig. 2, the WIFI interface circuits P1 and P2 are interface circuits of a WIFI module ESP8266, and the circuits provide VCC and GND to supply power for the operation of the module; the RX1 and TX1 of the interface are connected to the PA8 and PA9 of the STM32F103 singlechip and are communication ports of the singlechip and the module.
The CAN communication isolation circuit is shown in figure 2, U2 and U3 are isolation optocouplers, the left sides of the optocouplers are connected with TX and RX ends of an STM32F103 singlechip, and the right sides of the optocouplers after isolation are connected with TXD and RXD ends of a CAN interface circuit, so that the purpose of isolating communication signals is achieved; r5 and R8 are used as current limiting resistors of the optocoupler light-emitting diode; r6 and R7 are pull-up resistors for receiving the triode.
As shown in fig. 2, the CAN interface circuit uses TJA1040 as a core signal conversion circuit to convert the CAN level between TTL and differential pressure levels; VCC in the circuit is connected with a +5V power supply, and the CANH end and the CANL end are respectively connected with a C8 capacitor, a C9 capacitor, a D1 capacitor and a D2 capacitor in a hanging mode, so that the purposes of filtering and preventing the overvoltage of a CAN bus are achieved.
The isolation power supply circuit is shown in the figure, B0505S is an isolation power supply, REG1117-3.3 is a 5V to 3.3V buck chip, and C11, C12 and C13 are connected to the output end of the chip to achieve the purpose of power supply filtering.
Claims (6)
1. The utility model provides a CAN data acquisition circuit of WIFI communication, characterized by: the circuit comprises a CPU circuit with STM32F103 as a core, a switch voltage reduction circuit with LM3596 as a core, a WIFI interface circuit utilizing an ESP8266 module, a CAN communication isolation circuit with a photoelectric coupling chip as a core, a CAN interface circuit with TJA1040 as a core and an isolation power supply circuit with B0505S as a core.
2. According to the CPU circuit in the CAN data acquisition circuit for WIFI communication, as claimed in claim 1, the two ends from C4 to C7 are respectively connected with VCC and GND, so as to provide a stable power supply for the operation of the STM32F103 single chip microcomputer; r9 and R2 are connected with GND and BOOT0 and BOOT1 ends of the CPU, and the CPU is set to run from an internal FLASH; c3 is connected with NRST and GND to provide a reset signal for STM32F 103; c1, C2 and Y1 form a crystal oscillator circuit according to the connection mode of the attached figure 1, and provide an operation clock for an STM32F103 singlechip; the P3 is connected with SWCLK, SWDIO, GND and VCC of the STM32F103 singlechip and is a program downloading port; one end of the R4 and the DS1 are connected with VCC after being connected in series, and the other end of the R4 and the DS1 are connected with PA7 of an STM32 single chip microcomputer, so that a signal indicator lamp circuit is formed.
3. The switch voltage reduction circuit in the CAN data acquisition circuit of WIFI communication of claim 1, wherein the P6 and the P7 are respectively from 12V and GND signals of a car body, and are connected with an LM2596 voltage reduction chip to provide a 12-volt power supply for the circuit; u5, D3, L1 and C10 form a BUCK voltage reduction circuit according to the connection method of the figure 1; an ON/OFF pin of the U5 is connected to GND, and the chip is started to work; the FB pin is connected with the +5V power supply output end and is a feedback signal of the chip to ensure the stable output of the voltage.
4. The WIFI interface circuit in the CAN data acquisition circuit for WIFI communication of claim 1, wherein the P1 and P2 are interface circuits of a WIFI module ESP8266, and the circuits provide VCC and GND to supply power for the operation of the module; the RX1 and TX1 of the interface are connected to the PA8 and PA9 of the STM32F103 singlechip and are communication ports of the singlechip and the module.
5. The CAN communication isolating circuit in the CAN data acquisition circuit of WIFI communication of claim 1, wherein U2 and U3 are isolating optocouplers, the left side of each optocoupler is connected with the TX and RX ends of an STM32F103 singlechip, and the right side of each optocoupler after isolation is connected with the TXD and RXD ends of a CAN interface circuit, so that the purpose of isolating communication signals is achieved; r5 and R8 are used as current limiting resistors of the optocoupler light-emitting diode; r6 and R7 are pull-up resistors for receiving the triode.
6. The CAN interface circuit in the CAN data acquisition circuit for WIFI communication of claim 1, wherein the signal conversion circuit with TJA1040 as core converts the CAN level between TTL and differential pressure level; VCC in the circuit is connected with a +5V power supply, and the CANH end and the CANL end are respectively connected with a C8 capacitor, a C9 capacitor, a D1 capacitor and a D2 capacitor in a hanging mode, so that the purposes of filtering and preventing the overvoltage of a CAN bus are achieved.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910138765.4A CN111614530A (en) | 2019-02-25 | 2019-02-25 | CAN data acquisition circuit of WIFI communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910138765.4A CN111614530A (en) | 2019-02-25 | 2019-02-25 | CAN data acquisition circuit of WIFI communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111614530A true CN111614530A (en) | 2020-09-01 |
Family
ID=72197707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910138765.4A Pending CN111614530A (en) | 2019-02-25 | 2019-02-25 | CAN data acquisition circuit of WIFI communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111614530A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080177436A1 (en) * | 2006-11-22 | 2008-07-24 | Fortson Frederick O | Diagnostic and telematic system |
CN102426447A (en) * | 2011-11-30 | 2012-04-25 | 北京工业大学 | Wireless network monitoring system of welding production workshop |
CN204244276U (en) * | 2014-10-13 | 2015-04-01 | 中兴通讯股份有限公司 | The processing unit of information of vehicles and vehicle |
CN205017345U (en) * | 2015-07-15 | 2016-02-03 | 深圳市英威腾电动汽车驱动技术有限公司 | High -speed CAN communication circuit and electric automobile |
CN105391464A (en) * | 2015-10-22 | 2016-03-09 | 深圳市轱辘软件开发有限公司 | Vehicle-mounted terminal, vehicle data acquisition system and method |
CN207924662U (en) * | 2018-02-06 | 2018-09-28 | 广州市赛科自动化控制设备有限公司 | A kind of RS485 hubs and control system |
-
2019
- 2019-02-25 CN CN201910138765.4A patent/CN111614530A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080177436A1 (en) * | 2006-11-22 | 2008-07-24 | Fortson Frederick O | Diagnostic and telematic system |
CN102426447A (en) * | 2011-11-30 | 2012-04-25 | 北京工业大学 | Wireless network monitoring system of welding production workshop |
CN204244276U (en) * | 2014-10-13 | 2015-04-01 | 中兴通讯股份有限公司 | The processing unit of information of vehicles and vehicle |
CN205017345U (en) * | 2015-07-15 | 2016-02-03 | 深圳市英威腾电动汽车驱动技术有限公司 | High -speed CAN communication circuit and electric automobile |
CN105391464A (en) * | 2015-10-22 | 2016-03-09 | 深圳市轱辘软件开发有限公司 | Vehicle-mounted terminal, vehicle data acquisition system and method |
CN207924662U (en) * | 2018-02-06 | 2018-09-28 | 广州市赛科自动化控制设备有限公司 | A kind of RS485 hubs and control system |
Non-Patent Citations (1)
Title |
---|
徐辉等: "车载诊断系统OBD Ⅱ的汽车接口数据处理技术", 《单片机与嵌入式系统应用》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101339432B (en) | Finished automobile controller monitoring system and its implementing method | |
CN206664500U (en) | A kind of whole pure electric vehicle complex control system | |
CN104635690A (en) | Vehicle control unit of pure electric vehicle integrating gateway function | |
CN104354654A (en) | Integrated control device based on pure electric vehicle | |
CN206528429U (en) | CAN Bus in Electric entire car controller | |
CN201117091Y (en) | Automobile light state feedback device based on CAN bus | |
CN106740585A (en) | CAN Bus in Electric entire car controller | |
CN201114146Y (en) | Tandem type mixing power automobile control system | |
CN203643815U (en) | Vehicle controller based on safety function | |
CN205059307U (en) | Novel vehicle control unit suitable for pure electric vehicles | |
CN204998456U (en) | Master controller of pure electric car | |
CN202221526U (en) | Engineering machine vehicle bus extensive module | |
CN204279131U (en) | A kind of entire car controller of pure electric automobile | |
CN204440127U (en) | Vehicle control unit of pure electric vehicle integrating gateway function | |
CN201262707Y (en) | Monitoring system for entire car controller | |
CN203727307U (en) | Battery electric vehicle control module | |
CN111614530A (en) | CAN data acquisition circuit of WIFI communication | |
CN105974911B (en) | Wifi editions EOL tools and the diagnostic method for utilizing the tool | |
CN207281546U (en) | A kind of pure electric vehicle controller | |
CN203250340U (en) | Remote driving data recorder | |
CN103359106B (en) | New forms of energy whole car controller of hybrid electric car and analog signal output method thereof | |
CN103926852A (en) | Vehicle control unit for driving electric vehicle through hub motor | |
CN102955437A (en) | Bus expansion module of engineering machinery vehicle and bus data processing method | |
CN202502103U (en) | Tachometer based on CAN bus and J1939 protocol | |
CN203377902U (en) | On-board gateway used for industrial vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200901 |
|
WD01 | Invention patent application deemed withdrawn after publication |