CN105827554B - A kind of optimization method and device of FlexRay bus node build-out resistor - Google Patents
A kind of optimization method and device of FlexRay bus node build-out resistor Download PDFInfo
- Publication number
- CN105827554B CN105827554B CN201610136995.3A CN201610136995A CN105827554B CN 105827554 B CN105827554 B CN 105827554B CN 201610136995 A CN201610136995 A CN 201610136995A CN 105827554 B CN105827554 B CN 105827554B
- Authority
- CN
- China
- Prior art keywords
- flexray bus
- flexray
- node
- 10mhz
- bus node
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000005457 optimization Methods 0.000 title claims abstract description 15
- 230000006854 communication Effects 0.000 claims abstract description 18
- 238000004891 communication Methods 0.000 claims abstract description 16
- 238000005086 pumping Methods 0.000 claims abstract description 6
- 230000008878 coupling Effects 0.000 claims description 7
- 238000010168 coupling process Methods 0.000 claims description 7
- 238000005859 coupling reaction Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 claims description 6
- 239000003990 capacitor Substances 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 claims description 3
- 238000005070 sampling Methods 0.000 claims description 3
- 230000009977 dual effect Effects 0.000 claims description 2
- 238000005259 measurement Methods 0.000 claims description 2
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 238000012360 testing method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/0264—Arrangements for coupling to transmission lines
- H04L25/0278—Arrangements for impedance matching
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Dc Digital Transmission (AREA)
Abstract
The present invention relates to a kind of optimization method and devices of FlexRay bus node build-out resistor, belong to data bus communication technical field;In the present invention, pumping signal is applied to FlexRay bus by the device, by measuring and calculating the voltage signal of FlexRay bus node, and combines the distributed parameter model of FlexRay bus, obtains the best match impedance about FlexRay bus.The present invention can effectively improve the quality of FlexRay bus signals communication, reduce the bit error rate in data communication process, it is ensured that the Stability and dependability of FlexRay bus data communication.
Description
Technical field
The invention belongs to data bus communication technical fields, are related to a kind of optimization of FlexRay bus node build-out resistor
Method and device.
Background technique
Automotive electronics has become a staple market of automobile industry, and the maximum hot spot of Automobile Electronic Industry is exactly network
Change.Automobile of today is already a mobile massaging device, by in-vehicle network system, can receive, sends and handle
A large amount of data make necessary reaction to certain situations.Necessarily the degree of automation is increasingly for the development trend of future automobile
Height keeps automobile safer, more reliable, more comfortable, it means that use more sensors, transmission device and electronics control in the car
Unit processed, this will also put forward higher requirements In-vehicle networking.For the demand for development of future automobile In-vehicle networking, FlexRay
It comes into being.FlexRay is concerned with some core demands of current automobile industry, including faster data rate, more flexible
Data communication, more fully topology selection and fault-tolerant operation etc..The appearance of FlexRay compensates for existing bus protocol application
In automobile line control system or the deficiency too low with fault-tolerance when safety-related system and transmission rate, and will gradually replace
CAN bus becomes the automobile bus of a new generation.
Requirement to FlexRay is that reliable, real-time and very efficient number is provided between electrically and mechanically electronic component
According to transmission.The peak data transfer rate in each channel of FlexRay bus is 10MBit/s, therefore FlexRay is one very high
The system of speed.But it if the impedance matching of FlexRay bus does not design, will lead under data traffic signals quality
Drop, the excessively high bit error rate will lead to entire FlexRay bus system communication efficiency sharp fall, even result in entire
FlexRay bus cisco unity malfunction.
In conclusion urgent need invents one kind and can be improved FlexRay bus signals communication quality, the impedance of the bit error rate is reduced
Matched optimization method, to improve the reliability and stability of FlexRay bus comprehensively.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of optimization method of FlexRay bus node build-out resistor and
Device applies pumping signal to FlexRay bus by the device, by the voltage for measuring and calculating FlexRay bus node
Signal, and the distributed parameter model of FlexRay bus is combined, obtain the best match impedance about FlexRay bus.This method
It can effectively improve FlexRay bus signals communication quality, reduce the bit error rate in data communication process, it is ensured that FlexRay is total
The Stability and dependability of line data communication.
In order to achieve the above objectives, the invention provides the following technical scheme:
A kind of optimization method of FlexRay bus node build-out resistor, comprising the following steps:
S1: the Chirp code signal source of 1M~10MHz is successively motivated to each node of FlexRay bus;
S2: when Chirp code signal source forcing FlexRay some node of bus, speed A/D converter is in synchronization signal
Under the action of SYNC, the differential signal of other all FlexRay bus nodes is successively acquired;
S3: according to actual FlexRay physical bus Node distribution, the distributed parameter model of FlexRay bus is constructed;
S4: by the data of actual acquisition, the distributed parameter model of FlexRay bus is substituted into, calculates and obtains FlexRay bus
The terminal coupling resistance of each node.
Further, in step sl, it specifically includes:
S11: 1M~10MHz Chirp code signal source, the expression formula of the signal source are as follows:
Wherein the bandwidth B in Chirp code signal source is 10MHz, and duration T 10uS, t are time variable, and cos () is
Cosine function;
S12: when the Chirp code signal source output drive FlexRay bus node of 1M~10MHz, output is corresponding same
Walk signal SYNC.
Further, in step s 4, it specifically includes:
S41: according to the characteristic in Chirp code signal source, substituting into the measurement parameter of different FlexRay nodes respectively, by with
Lower formula (2) be calculated 1MHz, 2MHz, 3MHz ..., 10MHz amount to 10 groups of a, b numerical value: [a1,b1], [a2,b2] ...,
[a10,b10];
In formula (2), UocFor the voltage signal at FlexRay bus node, the Chirp code excited that U is 1MHz~10MHz is believed
Number, L is distance of the FlexRay bus node apart from pumping signal, and cosh () is hyperbolic cosine function, and cos () is cosine letter
Number;
S42: according to formula (3), 10 groups of a, b numerical value: [a is substituted into respectively1,b1], [a2,b2] ..., [a10,b10], it calculates
Obtain 10 groups of R0、L0、C0、G0Distribution parameter,It is denoted as [R respectively01,L01,C01,G01], [R02,L02,C02,G02] ..., [R010,
L010,C010,G010];
F is a, the corresponding frequency of b numerical value, R in formula (3)0For unit line segment resistance, L0For unit line segment inductance, C0For unit
Differential coupling capacitor, the G of line segment0For the leakage conductance of unit difference line segment;
S43: [a is substituted into respectively1,b1]、[a2,b2] and corresponding frequency f, equation group is established by formula (3), is asked
[R can be obtained in solution01,L01,C01,G01], then substitute into [a2,b2], [a3,b3], [R can be obtained in solution02,L02,C02,G02], with
This analogizes, and finally substitutes into [a10,b10], [a1,b1], [R can be obtained in solution010,L010,C010,G010];
S44: according to the communication frequency f of FlexRay bus, the corresponding R of respective communication frequency is substituted into0、L0、C0、G0Parameter,
Using the Dai Weinan principle of equal effects by the peripheral circuit equivalent predigesting of FlexRay bus node be two-port network model, to count
Calculation obtains the equivalent matched resistance of FlexRay bus node.
The present invention also provides a kind of optimization device of FlexRay bus node build-out resistor, including speed A/D converter,
High-speed DAC converter, high speed amplifier, field programmable logic device FPGA and microcontroller STM32F407;
The Chirp code letter of field programmable logic device FPGA output 1MHz~10MHz of FlexRay bus test device
Number through high-speed DAC converter and amplifier driving after, as the pumping signal of FlexRay bus, while exporting the synchronization of Chirp code
Signal SYNC;
Speed A/D converter carries out data by high-speed AD controller and adopts under the synchronization signal SYNC effect of Chirp code
Sample, sampled result are placed in the high speed dual port RAM inside field programmable logic device FPGA;
Microcontroller STM32F407 reads sampling data results, calculates in the internal distribution parameter for completing FlexRay bus
Optimization with node matching resistance calculates.
The beneficial effects of the present invention are: present invention employs a kind of sides of FlexRay bus node build-out resistor optimization
Method has the Chirp code signal of specific frequency by device transmitting, tests the voltage's distribiuting of FlexRay bus node, in conjunction with
The physical model of FlexRay bus calculates the distribution parameter for obtaining FlexRay bus, finally applies the Dai Weinan principle of equal effects pair
FlexRay bus is simplified, to calculate the equivalent matched impedance resistors for obtaining FlexRay bus.This method can obtain
The build-out resistor of accurate FlexRay bus node effectively improves the conventional method for rule of thumb selecting build-out resistor,
The problems such as to improve the communication quality of FlexRay bus, significantly reduce the bit error rate of FlexRay bus.
Detailed description of the invention
In order to keep the purpose of the present invention, technical scheme and beneficial effects clearer, the present invention provides following attached drawing and carries out
Illustrate:
Fig. 1 is the flow diagram of the method for the invention;
Fig. 2 is the distributed parameter model of FlexRay bus;
Fig. 3 is FlexRay bus distribution parameter test schematic diagram.
Specific embodiment
Below in conjunction with attached drawing, a preferred embodiment of the present invention will be described in detail.
Fig. 1 is the flow diagram of the method for the invention, as shown, excellent in FlexRay bus node build-out resistor
During change, comprising the following steps:
Step 1: each section of FlexRay bus is successively motivated in the Chirp code signal source of 1M~10MHz by test device
Point;
The expression formula in the Chirp code signal source of the 1M~10MHz used in step 1 for
Wherein the bandwidth B in Chirp code signal source is 10MHz, and duration T 10uS, t are time variable, and cos () is
Cosine function;When the Chirp code signal source output drive FlexRay bus node of 1M~10MHz, corresponding synchronous letter is exported
Number SYNC.
Step 2: when the node of Chirp code signal source forcing FlexRay bus, speed A/D converter is in synchronization signal
Under the action of SYNC, the differential signal of other all FlexRay bus nodes is successively acquired;
Step 3: according to actual FlexRay physical bus Node distribution, the distribution parameter mould of FlexRay bus is constructed
Type.Specific practice is to construct point of FlexRay bus according to actual FlexRay physical bus length, material and Node distribution
Cloth parameter model, R0For unit line segment resistance, L0For unit line segment inductance, C0For differential coupling capacitor, the G of unit line segment0For list
The leakage conductance of potential difference separated time section;Fig. 2 is the distributed parameter model of FlexRay bus.
Step 4: by the data of actual acquisition, the distributed parameter model of FlexRay bus is substituted into, calculates and obtains FlexRay
The terminal coupling resistance of each node of bus.Specific method is:
1) by following formula (2) be calculated 1MHz, 2MHz, 3MHz ..., 10MHz amount to 10 groups of a, b numerical value:
[a1,b1], [a2,b2] ..., [a10,b10];
In formula (2), UocFor the voltage signal at FlexRay bus node, the Chirp code excited that U is 1MHz~10MHz is believed
Number, L is distance of the FlexRay bus node apart from pumping signal, and cosh () is hyperbolic cosine function, and cos () is cosine letter
Number;
2): according to formula (3), substituting into 10 groups of a, b numerical value: [a respectively1,b1], [a2,b2] ..., [a10,b10], it calculates
To 10 groups of R0、L0、C0、G0Distribution parameter, be denoted as [R respectively01,L01,C01,G01], [R02,L02,C02,G02] ..., [R010,L010,
C010,G010];
F is a, the corresponding frequency of b numerical value, R in formula (3)0For unit line segment resistance, L0For unit line segment inductance, C0For unit
Differential coupling capacitor, the G of line segment0For the leakage conductance of unit difference line segment;
3): substituting into [a respectively1,b1]、[a2,b2] and corresponding frequency f, equation group is established by formula (3), is solved
[R can be obtained01,L01,C01,G01], then substitute into [a2,b2], [a3,b3], [R can be obtained in solution02,L02,C02,G02], with this
Analogize, finally substitutes into [a10,b10], [a1,b1], [R can be obtained in solution010,L010,C010,G010];
4): according to the communication frequency f of FlexRay bus, substituting into the corresponding R of respective communication frequency0、L0、C0、G0Parameter is answered
It by the peripheral circuit equivalent predigesting of FlexRay bus node is two-port network model with the Dai Weinan principle of equal effects, to calculate
Obtain the equivalent matched resistance of FlexRay bus node.Fig. 3 is FlexRay bus distribution parameter test schematic diagram.
Finally, it is stated that preferred embodiment above is only used to illustrate the technical scheme of the present invention and not to limit it, although logical
It crosses above preferred embodiment the present invention is described in detail, however, those skilled in the art should understand that, can be
Various changes are made to it in form and in details, without departing from claims of the present invention limited range.
Claims (4)
1. a kind of optimization method of FlexRay bus node build-out resistor, it is characterised in that: the following steps are included:
S1: the Chirp code signal source of 1M~10MHz is successively motivated to each node of FlexRay bus;
S2: when some node of Chirp code signal source forcing FlexRay bus, speed A/D converter is in synchronization signal SYNC
Under the action of, successively acquire the differential signal of other all FlexRay bus nodes;
S3: according to actual FlexRay physical bus Node distribution, the distributed parameter model of FlexRay bus is constructed;
The data of actual acquisition: being substituted into the distributed parameter model of FlexRay bus by S4, and it is each to calculate acquisition FlexRay bus
The terminal coupling resistance of node.
2. a kind of optimization method of FlexRay bus node build-out resistor according to claim 1, it is characterised in that:
In step S1, specifically include:
S11: 1M~10MHz Chirp code signal source, the expression formula of the signal source are as follows:
Wherein the bandwidth B in Chirp code signal source is 10MHz, and duration T 10uS, t are time variable, and cos () is cosine
Function;
S12: when the Chirp code signal source output drive FlexRay bus node of 1M~10MHz, corresponding synchronous letter is exported
Number SYNC.
3. a kind of optimization method of FlexRay bus node build-out resistor according to claim 1, it is characterised in that:
In step S4, specifically include:
S41: according to the characteristic in Chirp code signal source, the measurement parameter of different FlexRay nodes is substituted into respectively, passes through following public affairs
Formula (2) be calculated 1MHz, 2MHz, 3MHz ..., 10MHz amount to 10 groups of a, b numerical value: [a1,b1], [a2,b2] ..., [a10,
b10];
In formula (2), UocFor the voltage signal at FlexRay bus node, U is the Chirp code excited signal of 1MHz~10MHz, L
Distance for FlexRay bus node apart from pumping signal, cosh () are hyperbolic cosine functions, and cos () is cosine function;
S42: according to formula (3), 10 groups of a, b numerical value: [a is substituted into respectively1,b1], [a2,b2] ..., [a10,b10], it is calculated
10 groups of R0、L0、C0、G0Distribution parameter, be denoted as [R respectively01,L01,C01,G01], [R02,L02,C02,G02] ..., [R010,L010,
C010,G010];
F is a, the corresponding frequency of b numerical value, R in formula (3)0For unit line segment resistance, L0For unit line segment inductance, C0For unit line segment
Differential coupling capacitor, G0For the leakage conductance of unit difference line segment;
S43: [a is substituted into respectively1,b1]、[a2,b2] and corresponding frequency f, equation group, solution are established by formula (3)
Obtain [R01,L01,C01,G01], then substitute into [a2,b2], [a3,b3], [R can be obtained in solution02,L02,C02,G02], with such
It pushes away, finally substitutes into [a10,b10], [a1,b1], [R can be obtained in solution010,L010,C010,G010];
S44: according to the communication frequency f of FlexRay bus, the corresponding R of respective communication frequency is substituted into0、L0、C0、G0Parameter, using wearing
It is two-port network model that the southern principle of equal effects, which is tieed up, by the peripheral circuit equivalent predigesting of FlexRay bus node, to be calculated
The equivalent matched resistance of FlexRay bus node.
4. a kind of optimization device of FlexRay bus node build-out resistor, it is characterised in that: including speed A/D converter, high speed
DAC converter, high speed amplifier, field programmable logic device FPGA and microcontroller STM32F407;
Field programmable logic device FPGA for output data through high-speed DAC converter and amplifier driving after obtain 1MHz~
The Chirp code signal source of 10MHz FlexRay bus, while exporting the synchronization signal SYNC of Chirp code;
Speed A/D converter is used under the synchronization signal SYNC effect of Chirp code, carries out data by high-speed AD controller
Sampling, sampled result are placed in the high speed dual port RAM inside field programmable logic device FPGA;
Microcontroller STM32F407 is calculated for reading sampling data results in the internal distribution parameter for completing FlexRay bus
Optimization with node matching resistance calculates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610136995.3A CN105827554B (en) | 2016-03-10 | 2016-03-10 | A kind of optimization method and device of FlexRay bus node build-out resistor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610136995.3A CN105827554B (en) | 2016-03-10 | 2016-03-10 | A kind of optimization method and device of FlexRay bus node build-out resistor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105827554A CN105827554A (en) | 2016-08-03 |
CN105827554B true CN105827554B (en) | 2019-02-15 |
Family
ID=56987564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610136995.3A Expired - Fee Related CN105827554B (en) | 2016-03-10 | 2016-03-10 | A kind of optimization method and device of FlexRay bus node build-out resistor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105827554B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107356802B (en) * | 2017-07-03 | 2020-02-28 | 珠海格力电器股份有限公司 | Self-test circuit and circuit self-test method |
CN110336725B (en) * | 2019-07-11 | 2020-11-10 | 珠海格力电器股份有限公司 | Method and device for accurately positioning nodes in Controller Area Network (CAN) network |
CN112152883B (en) * | 2020-09-30 | 2022-02-01 | 中国核动力研究设计院 | Nuclear power plant field bus communication error rate testing device and testing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158868A (en) * | 2007-09-21 | 2008-04-09 | 江苏金智科技股份有限公司 | Double locomotive data interchange module based on bus low pressure differential signal transmission |
CN102490669A (en) * | 2011-12-09 | 2012-06-13 | 綦江齿轮传动有限公司 | Automobile CAN (Controller Area Network) bus adapter circuit and method thereof |
CN104394054A (en) * | 2014-12-16 | 2015-03-04 | 镇江中煤电子有限公司 | Arborescence remote communication bus system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102008057613A1 (en) * | 2008-11-10 | 2010-06-24 | Robert Bosch Gmbh | Circuit arrangement with a transceiver circuit for a bus system and nodes for a bus system |
-
2016
- 2016-03-10 CN CN201610136995.3A patent/CN105827554B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158868A (en) * | 2007-09-21 | 2008-04-09 | 江苏金智科技股份有限公司 | Double locomotive data interchange module based on bus low pressure differential signal transmission |
CN102490669A (en) * | 2011-12-09 | 2012-06-13 | 綦江齿轮传动有限公司 | Automobile CAN (Controller Area Network) bus adapter circuit and method thereof |
CN104394054A (en) * | 2014-12-16 | 2015-03-04 | 镇江中煤电子有限公司 | Arborescence remote communication bus system |
Non-Patent Citations (1)
Title |
---|
《差分对对信号完整性的分析》;刘定坤;《网络通信》;20131108;全文 |
Also Published As
Publication number | Publication date |
---|---|
CN105827554A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105827554B (en) | A kind of optimization method and device of FlexRay bus node build-out resistor | |
CN104569571B (en) | High-speed multichannel current-voltage multiplexing collection unit and data collection method | |
CN104849559B (en) | A kind of device and method of automatic testing conductive slip ring contact resistance | |
CN106817225A (en) | POE method and apparatus | |
CN101726664B (en) | Method, device and system for measuring signal phase difference | |
CN107948020A (en) | A kind of method and device of CAN bus sampled point test | |
CN109709420B (en) | Integrated cable testing method based on vector network analyzer | |
CN108498096A (en) | The detection method and system of bio-electrical impedance spectrum | |
CN103837836A (en) | Synchronous detection battery sensor | |
CN109782054B (en) | Alternating voltage commutation differential measurement device and method based on quantum voltage | |
KR102213691B1 (en) | Subscriber station for a bus system and method for improving the reception quality of messages in a subscriber station of a bus system | |
CN205959015U (en) | Multichannel analog quantity collector and water pump intelligent gateway who makes with this collector | |
CN104199309A (en) | Analog channel calibrating method of simulating and testing instrument of hydro turbine governor | |
CN106909137A (en) | A kind of diagnosis coverage rate analog quantity isolation distributor high | |
CN207819942U (en) | A kind of device of CAN bus sampled point test | |
CN102636192B (en) | A kind of I/O type is able to programme arranges intelligent transducer | |
CN111830539A (en) | 10kV line distance measuring method based on power line multi-carrier high clock precision | |
CN110598236B (en) | Signal integrity testing method and system based on simulation model and free topology structure | |
CN104243246A (en) | Method and device for Zigbee technology-based FlexRay bus test and optimization | |
CN111884915A (en) | Method for improving efficiency of acquiring modbus equipment by gateway | |
CN103578389B (en) | Compatible liquid crystal instrument and its implementation | |
CN104794358A (en) | Parameter estimation and fitting method for collecting supporting point frequency in vibrating wire mode | |
CN113625678B (en) | Automatic simulation test method for port impedance | |
CN108542381A (en) | A kind of data processing method and device | |
CN104753564B (en) | PLC (power-line communication) device with measuring mode and channel measuring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190215 |
|
CF01 | Termination of patent right due to non-payment of annual fee |