CN111324071A - Cable-installation-free data expansion box capable of networking and connected into CAN bus - Google Patents
Cable-installation-free data expansion box capable of networking and connected into CAN bus Download PDFInfo
- Publication number
- CN111324071A CN111324071A CN202010142964.5A CN202010142964A CN111324071A CN 111324071 A CN111324071 A CN 111324071A CN 202010142964 A CN202010142964 A CN 202010142964A CN 111324071 A CN111324071 A CN 111324071A
- Authority
- CN
- China
- Prior art keywords
- bus
- processor
- interface unit
- data expansion
- cable
- 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a cable-installation-free data expansion box capable of networking and accessed to a CAN bus, which comprises a box body, wherein a CAN bus interface unit, a processor, an Ethernet interface unit, a power carrier simulation front end and a power carrier processor are arranged in the box body; the CAN bus interface unit is connected with the processor; the processor is connected with the storage module and one end of the Ethernet interface unit, and the other end of the Ethernet interface unit is connected with the power carrier processor; the power carrier processor is connected with the power carrier analog front end. The invention aims to provide a CAN bus-accessed data expansion box which CAN be networked by a cable without installation, wherein the data expansion box is connected with external equipment through the input end of a CAN interface unit, and CAN data transmitted by the external equipment is transmitted to other data expansion boxes powered by the same group of power supply through carrier signals on a power line, so that the CAN bus data expansion function of networking by the cable without installation is realized.
Description
Technical Field
The invention relates to the technical field of data transmission, in particular to a data expansion box which is free of cable installation and CAN be connected with a CAN bus in a networking mode.
Background
Electronic control systems and communication systems used in automobiles are more and more, data exchange is needed between the systems and display instruments of the automobiles, so that the huge data exchange amount is needed, if a traditional data exchange mode is still adopted, data cannot be shared, wiring harnesses are complex, the failure rate is high, and the maintenance is inconvenient, so that the CAN bus system is generally adopted in the prior art to realize the data communication.
The CAN bus system in the prior art mainly comprises an instrument module, a vehicle body control module, a wireless terminal, an engine, a gearbox and an anti-lock brake system, wherein the vehicle body control module is connected with the instrument module through one CAN bus, the wireless terminal is connected with the instrument module through one CAN bus, and the engine, the gearbox and the anti-lock brake system are connected with the instrument module through one CAN bus. Numerous modules need to be connected with the CAN bus, and the space in the carriage is originally narrow and small, so that the staff needs to spend a large amount of time and energy to wire the CAN bus.
Disclosure of Invention
The invention aims to provide a cable-free data expansion box capable of networking and accessing a CAN bus, which does not need to carry out wiring of the CAN bus, CAN be added or deleted very conveniently in practical application, has the unique constraint that all the data expansion boxes share one group of power supply, is provided with a power supply output port, is connected with the power supply and simultaneously provides one path of output power supply, CAN be accessed to the data expansion boxes very conveniently, and does not need to add extra installation procedures or modify three-fork head and other operations.
The invention is realized by the following technical scheme:
the data expansion box which is free of cable installation and CAN be connected with a CAN bus in a networking mode comprises a box body, wherein a power supply input port and a power supply output port are formed in the outer portion of the box body; a CAN bus interface unit, a CAN processor, an Ethernet interface unit, an AFE analog front end, fpga and an SDRAM memory are arranged in the box body;
the input end of the CAN bus interface unit is arranged outside the box body, and the output end of the CAN bus interface unit is arranged inside the box body and connected with the CAN processor;
the CAN processor is connected with the SDRAM memory and one end of the Ethernet interface unit, and the other end of the Ethernet interface unit is connected with the fpga;
the fpga is connected to the AFE analog front end.
When the AFE data expansion box is used, the AFE analog front end is connected with a power line, and external equipment is connected with the data expansion box through the input end of the CAN bus interface unit.
When data needs to be sent, the external equipment sends CAN data to the expansion box through the CAN bus, the CAN processor caches the CAN data frames to the SDRAM connected with the CAN processor after receiving the CAN data frames, and meanwhile, the counter is started to count. When the counter exceeds the threshold time t1Not received data, or total data frame reaching threshold frame b1And the CAN processor packages the received CAN data, sends the group of CAN data to the fpga in an Ethernet mode, and the fpga sends the received CAN data to a power line through the AFE analog front end to finish the data sending process.
When receiving the data transmitted by the AFE analog front end, the fpga buffers the received data to the SDRAM on the fpga, and simultaneously, the fpga starts a counter to count. When the counter exceeds the threshold time t2Not received data, or total data frame reaching threshold frame b2And meanwhile, the fpga packages the received data, and sends the group of data to the CAN processor as a packet in an Ethernet mode, and the CAN processor sends the received data to the CAN physical layer to complete the data receiving process.
Furthermore, the system also comprises a power conversion module which is connected with the AFE analog front end, the fpga and the CAN processor.
The power supply of the system can be in a range of 9-28V, and the system is converted into a +5V power supply through a power supply conversion module, so that on one hand, the system is used for supplying power to each module in the box body; on the other hand is used for being connected with the power supply outlet, and the power supply of will inputing passes through power supply outlet direct output, convenient extension need not to increase extra installation procedure or repack operation such as trident head.
Furthermore, the CAN bus further comprises a matching resistor and an analog switch, wherein one end of the analog switch is connected with the CAN processor, and the other end of the analog switch is connected with the matching resistor.
The matching resistor is controlled by the CAN processor through the analog switch, and the CAN processor reads the configuration parameters during initialization and accesses the matching resistor or disconnects the matching resistor according to the configuration parameters.
The device further comprises a parameter configuration module, wherein the parameter configuration module comprises a memory and an Ethernet interface unit, the input end of the Ethernet interface unit is arranged outside the box body, the output end of the Ethernet interface unit is arranged inside the box body and is connected with the AFE analog front end, and the AFE analog front end is connected with the memory.
When parameter configuration is carried out, the input end of the Ethernet interface unit is connected with a computer, the parameter configuration is carried out on the computer, and the configured parameters are stored in a memory. By configuring the parameters, each data expansion box has an IP address parameter. Through the filtering of the IP address, other data frames on the CAN bus CAN be filtered out, so that the accuracy of the data is ensured.
For receiving data of the CAN bus, the CAN processor fills a destination IP address and a port number in a destination address area of a sending area, fills a source IP address and a port number in a source address area of the sending area, and then sends the data. At the receiving party, the CAN processor identifies the IP address and the port number of the source port, compares the IP address and the port number of the destination address with the IP address and the port number of the CAN processor, and only sends data meeting the rule to the CAN physical layer, otherwise, the data are filtered.
Further, the model of the CAN processor is AM335 x.
Further, the model number of fpga is XC3S400AN-4FG 400I.
Further, the memory is of type AT24C 64.
Further, the model of the SDRAM memory is D2516EC4 BXGGB.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) the data expansion box is connected with external equipment through the input end of the CAN interface unit, CAN data transmitted by the external equipment are transmitted to other data expansion boxes supplied with power by the same group of power supplies through carrier signals on a power line, and therefore the CAN bus data expansion function of networking without cables is achieved.
(2) The data expansion box has an independent IP address, and can filter other data frames on the bus by setting a filtering function so as to ensure the accuracy of data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a schematic diagram of the connection relationship of internal circuit modules according to the present invention;
FIG. 2 is a diagram illustrating a networking connection between modules according to the present invention;
FIG. 3 is a schematic diagram of the AFE analog front end according to the present invention;
FIG. 4 is a schematic diagram of the fpga circuit connection of the present invention;
FIG. 5 is a schematic diagram of the circuit connections of the CAN processor of the present invention;
FIG. 6 is a schematic diagram of the circuit connections of the CAN processor of the present invention;
FIG. 7 is a schematic diagram of the circuit connections of the CAN processor of the present invention;
FIG. 8 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 9 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 10 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 11 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 12 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 13 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 14 is a schematic diagram of the electrical connections of the CAN processor of the present invention;
FIG. 15 is a circuit diagram of an SDRAM according to the present invention;
FIG. 16 is a schematic diagram of the electrical connections of the CAN physical isolation layer of the present invention;
FIG. 17 is a schematic diagram of a circuit connection of a CAN physical isolation layer of the present invention;
FIG. 18 is a schematic diagram of the electrical connections of the CAN physical isolation layer of the present invention;
FIG. 19 is a schematic diagram of the electrical connections of the CAN physical isolation layer of the present invention;
FIG. 20 is a schematic diagram of the circuit connection of the matching resistor of the present invention;
fig. 21 is a circuit connection diagram of the power conversion module according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Examples
As shown in the figures 1-21 of the drawings,
the data expansion box which is free of cable installation and CAN be connected with the CAN bus in a networking mode comprises a box body with the length of 160mm, the width of 204mm and the height of 48mm, and a power supply input port and a power supply output port are formed in the side edge of the box body; a CAN bus interface unit, a CAN processor with the model of AM335x, an Ethernet interface unit with the model of LAN8710A, fpga with the model of XC3S400AN-4FG400I, SDRAM memory with the model of D2516EC4 BXGB and AFE analog front end are arranged in the box body;
the input end of the CAN bus interface unit is arranged outside the box body, and the output end of the CAN bus interface unit is arranged inside the box body and connected with the CAN processor; the CAN processor is connected with the SDRAM memory and one end of the Ethernet interface unit, and the other end of the Ethernet interface unit is connected with the fpga; fpga is connected to AFE analog front-end.
The power carrier analog front end in the embodiment is a broadband analog front end, the highest rate of a physical layer of the power carrier analog front end can reach 240Mbps, the carrier bandwidth is 2-28 MHz, and an OFDM modulation and demodulation technology is adopted. When the AFE data expansion box is used, the AFE analog front end is connected with a power line, and external equipment is connected with the data expansion box through the input end of the CAN bus interface unit.
When data needs to be sent, the external equipment sends CAN data to the expansion box through the CAN bus, the CAN processor caches the CAN data frames to the SDRAM connected with the CAN processor after receiving the CAN data frames, and meanwhile, the counting of a counter on the CAN processor is controlled. When the counter exceeds the threshold time t1Not received data, or total data frame reaching threshold frame b1And the CAN processor packages the received CAN data and sends the group of CAN data to the fpga in an Ethernet mode, and the fpga sends the received CAN data to a power line through the AFE analog front end to finish the data sending process.
When receiving the data transmitted by the AFE analog front end, the fpga buffers the received data to the SDRAM on the fpga, and controls the counter on the fpga to count. When the counter exceeds the threshold time t2Not received data, or total data frame reaching threshold frame b2And meanwhile, the fpga packages the received data, sends the group of data to the CAN processor in an Ethernet mode, and the CAN processor sends the received data to the CAN physical layer to complete the data receiving process.
The data extension box that this application provided need not to carry out the wiring of CAN bus, and in practical application, CAN be very convenient carry out the increase or the deletion of data extension box, and the only restraint is a set of power of all data extension box sharing, and data extension box itself has power outlet, provides output all the way again when inserting, so CAN be very convenient carry out the access of data extension box, need not to increase extra installation procedure or repack operation such as trident head.
Further, in this embodiment, a power conversion module is further included, as shown in fig. 21, and the power conversion module is connected to the AFE analog front end, fpga, and CAN processor.
The power supply of the system can be in a range of 9-28V, and the system is converted into a +5V power supply through a power supply conversion module, so that on one hand, the system is used for supplying power to each module in the box body; on the other hand is used for being connected with the power supply outlet, and the power supply of will inputing passes through power supply outlet direct output, convenient extension need not to increase extra installation procedure or repack operation such as trident head.
Further, in this embodiment, the device further includes a matching resistor and an analog switch, as shown in fig. 20, one end of the analog switch is connected to the CAN processor, and the other end of the analog switch is connected to the matching resistor.
The matching resistor is controlled by the CAN processor through the analog switch, and the CAN processor reads the configuration parameters during initialization and accesses the matching resistor or disconnects the matching resistor according to the configuration parameters.
Further, in this embodiment, the apparatus further includes a parameter configuration module, the parameter configuration module includes a memory with a model of AT24C64 and an ethernet interface module with a model of KSZ8041NL, an input end of the ethernet interface module is disposed outside the box body, an output end of the ethernet interface module is disposed inside the box body and connected to the AFE analog front end, and the AFE analog front end is connected to the memory.
When parameter configuration is carried out, the input end of the Ethernet interface unit is connected with the computer, the parameter configuration is carried out on the computer, and the configured parameters are stored in the memory. By configuring the parameters, each data expansion box has an IP address parameter. Through the filtering of the IP address, other data frames on the CAN bus CAN be filtered out, so that the accuracy of the data is ensured.
In this embodiment, for receiving data of the CAN bus, the CAN processor fills a destination IP address and a port number in a destination address area of the transmission area, fills a source IP address and a port number in a source address area of the transmission area, and then transmits the data. At the receiving party, the CAN processor identifies the IP address and the port number of the source port, compares the IP address and the port number of the destination address with the IP address and the port number of the CAN processor, and only sends data meeting the rule to the CAN physical layer, otherwise, the data are filtered.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (8)
1. A cable-installation-free data expansion box capable of being networked and accessed to a CAN bus is characterized by comprising a box body, wherein a power supply input port and a power supply output port are arranged outside the box body; a CAN bus interface unit, a CAN processor, an Ethernet interface unit, an AFE analog front end, fpga and an SDRAM memory are arranged in the box body;
the input end of the CAN bus interface unit is arranged outside the box body, and the output end of the CAN bus interface unit is arranged inside the box body and connected with the CAN processor;
the CAN processor is connected with the SDRAM memory and one end of the Ethernet interface unit, and the other end of the Ethernet interface unit is connected with the fpga;
the fpga is connected to the AFE analog front end.
2. The cable-less, network-enabled CAN bus-connected data expansion box of claim 1, further comprising a power conversion module, said power conversion module being connected to said AFE analog front end, said fpga, and said CAN processor.
3. The CAN bus-connected data expansion box capable of networking without an installation cable according to any one of claims 1 or 2, further comprising a matching resistor and an analog switch, wherein one end of the analog switch is connected with the CAN processor, and the other end of the analog switch is connected with the matching resistor.
4. The CAN-bus-capable installation-free data expansion box of claim 3, further comprising a parameter configuration module, wherein the parameter configuration module comprises a memory and an Ethernet interface module, an input end of the Ethernet interface module is disposed outside the box body, an output end of the Ethernet interface module is disposed inside the box body and connected to the AFE analog front end, and the AFE analog front end is connected to the memory.
5. The cable-less data expansion box with CAN bus access according to any of claims 1, 2 or 4, wherein the CAN processor is of type AM335 x.
6. The cable-less data expansion box with access to the CAN bus of claim 5, wherein the fpga is XC3S400AN-4FG 400I.
7. The cable-free networkable CAN bus-access data expansion box of claim 4, wherein the memory is of the type AT24C 64.
8. The cable-free data expansion box capable of networking and accessing the CAN bus according to any one of claims 6 or 7, wherein the SDRAM memory is of the type D2516EC4 BXGB.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010142964.5A CN111324071A (en) | 2020-03-04 | 2020-03-04 | Cable-installation-free data expansion box capable of networking and connected into CAN bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010142964.5A CN111324071A (en) | 2020-03-04 | 2020-03-04 | Cable-installation-free data expansion box capable of networking and connected into CAN bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111324071A true CN111324071A (en) | 2020-06-23 |
Family
ID=71169262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010142964.5A Pending CN111324071A (en) | 2020-03-04 | 2020-03-04 | Cable-installation-free data expansion box capable of networking and connected into CAN bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111324071A (en) |
-
2020
- 2020-03-04 CN CN202010142964.5A patent/CN111324071A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020063996A1 (en) | Pon network, method and device for pon network, and robot system | |
US20020041228A1 (en) | Apparatus for power line computer network system | |
US11611452B2 (en) | Gateway for data communication in a vehicle | |
CN113141306A (en) | Diagnostic message routing method and bus routing equipment thereof | |
CN106899327A (en) | The method and apparatus of data transfer | |
CN108063736A (en) | A kind of industrial ethernet switch that long-distance cable is supported to communicate and control method | |
JP2021521661A (en) | T-NET full-spec single-line multi-source data collection and transmission system | |
JP2018107533A (en) | On-vehicle network system, relay device | |
CN104991877B (en) | A kind of vehicle mounted guidance host efficiently unifies extended method | |
KR20140032566A (en) | Vehicle communication system for visible light communication and optical networking and communication method thereof | |
CN211528960U (en) | Installation-free cable networking data expansion box accessed to CAN bus | |
CN111324071A (en) | Cable-installation-free data expansion box capable of networking and connected into CAN bus | |
US11337184B2 (en) | Method and apparatus for transmitting and receiving data stream performed in vehicle network | |
CN202772912U (en) | Communication card based on VME bus | |
EP2930896B1 (en) | Ethernet network device and local ethernet network | |
CN103647627B (en) | Networking based on carrier wave time service narrows band power line carrier equipment | |
CN209627394U (en) | A kind of digital signal acquiring device and system | |
CN103179012A (en) | FlexRay network node adopting iCoupler magnetic isolation protecting measures | |
CN114039809A (en) | CAN remote communication system based on optical transceiver | |
CN208739138U (en) | A kind of car networking terminal for supporting CAN FD and Ethernet | |
CN208691401U (en) | A kind of web camera for supporting remote wired network communication | |
WO2020090361A1 (en) | Relay device for vehicle | |
CN219834181U (en) | IP adapter of HART instrument and network system thereof | |
CN111313620A (en) | Bus type integrated form motor based on optical fiber communication | |
CN220673779U (en) | Vehicle-mounted Ethernet simulation device |
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 |