CN212413178U - Be used for power-assisted steering CAN communication testing arrangement - Google Patents
Be used for power-assisted steering CAN communication testing arrangement Download PDFInfo
- Publication number
- CN212413178U CN212413178U CN202021232755.1U CN202021232755U CN212413178U CN 212413178 U CN212413178 U CN 212413178U CN 202021232755 U CN202021232755 U CN 202021232755U CN 212413178 U CN212413178 U CN 212413178U
- Authority
- CN
- China
- Prior art keywords
- controller
- relay
- module
- terminal
- pin
- 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
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The utility model discloses a be used for power-assisted steering CAN communication testing arrangement overcomes the problem that prior art test cost is high and be difficult for function configuration, including card box, a plurality of CAN bus signal box, CAN interface and pilot lamp, the CAN interface sets up in the card box outside, and the pilot lamp setting is connected with the CAN bus signal box that corresponds on the card box, and CAN bus signal box inside includes power supply circuit module, singlechip, CAN interface module, operating panel module and LCD display, and the singlechip is connected with power supply circuit module, CAN interface module, operating panel module and LCD display respectively. The utility model discloses low-cost, small, convenient to carry, greatly reduced occuping of space, it is more convenient to use the operation, the utility model discloses stability, security, test range are wide has, both can the exclusive use also can the integrated use, and scalability is strong, and the hardware utilization efficiency height can carry out the multinomial test simultaneously.
Description
Technical Field
The utility model belongs to the technical field of auto-parts technique and specifically relates to a be used for helping hand CAN communication testing arrangement that turns to of low cost, small and be convenient for operation and functional configuration.
Background
With the intelligent development and energy-saving requirements of automobiles, the power-assisted steering of automobiles has been gradually developed from electronic hydraulic power assistance to electric power assistance. In the electric power-assisted system, the EPS system must acquire required vehicle signals, such as engine state, vehicle speed signal, angle instruction signal, torque instruction signal, vehicle state and many other signals, from a chassis CAN bus of the vehicle, and these signals CAN enable the EPS to acquire the state information of the whole vehicle, thereby ensuring the normal operation of the EPS. In the development and test processes, an EPS system CAN be separated from a whole vehicle to perform independent bench test, and the EPS system CAN be mounted on the whole vehicle to perform real vehicle function test, so that equipment CAN independently simulate a whole chassis CAN bus signal and CAN independently simulate a chassis CAN bus signal with a certain function to be sent to the EPS. Typically the signals of the chassis CAN buses of different manufacturers are different and the signals of the chassis CAN buses of vehicles of different platforms of the same manufacturer are also different. Thus the requirements for small devices simulating the transmission of chassis CAN signals vary.
The EPS has multiple functions, and the CAN bus signals required by each function are independent. When the bench test is carried out, an application scene that a certain function is tested independently or a plurality of functions are tested independently is provided. When the EPS is installed on a whole vehicle, only a certain function test is carried out, the ECU which sends the function of the original vehicle is required to be separated from a CAN network, the CAN signal is simulated to be sent to the EPS, the CAN bus of the whole chassis is not required to be sent, otherwise, the bus CAN conflict. When the vehicle is configured with the relevant function, the function is opened through the configuration word, and the bench test of the function is needed.
Disclosure of Invention
The utility model relates to an overcome prior art test cost height and be difficult for the problem of function configuration, provide one kind and be used for turning to helping hand CAN communication testing arrangement, the utility model has the advantages of with low costs, small, convenient to use, function configuration and extension convenience.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
the utility model provides a be used for turning to helping hand CAN communication testing arrangement, includes card box, a plurality of CAN bus signal box, CAN interface and pilot lamp, the CAN interface sets up in the card box outside, and the pilot lamp setting is connected with the CAN bus signal box that corresponds on the card box, and CAN bus signal box inside includes power supply circuit module, the singlechip, CAN interface module, operating panel module and LCD display, the singlechip respectively with power supply circuit module, CAN interface module, operating panel module and LCD display are connected, the singlechip be used for with the CAN interface module between carry out data interaction and feed back to the LCD display.
Preferably, the CAN interface module includes a transceiver module and a controller module, and the transceiver module is connected with the controller module through a transmitting end and a receiving end.
Preferably, the transceiver module includes a resistor R2, a relay J1, a relay J2, a relay J3 and a transceiver U1, the power VCC is connected to the VCC terminal of the transceiver U1, the TXD terminal of the transceiver U1 is connected to the transmitting terminal of the controller module, the RXD terminal of the transceiver U1 is connected to the receiving terminal of the controller module, the S terminal of the transceiver U1 is grounded, the CANH terminal of the transceiver U1 is connected to one terminal of the resistor R2, the second pin of the relay J3 and the second pin of the relay J2, the CANL terminal of the transceiver U1 is connected to the second pin of the relay J1, the first pin of the relay J3 and the first pin of the relay J2, and the other terminal of the resistor R2 is connected to the first pin of the relay J1.
Preferably, the controller module includes a controller U2, a capacitor C3, a capacitor C4, a resistor R3 and a relay J4, a TXCAN terminal of the controller U2 is connected to a transmitting terminal of the transceiver module, an RXCAN terminal of the controller U2 is connected to a receiving terminal of the transceiver module, an OSC1 terminal of the controller U2 is connected to one terminal of the capacitor C4 and one terminal of the crystal oscillator X1, respectively, an OSC2 terminal of the controller U2 is connected to one terminal of the capacitor C3 and the other single phase of the crystal oscillator X1, a power source VCC is connected to a VCC terminal of the controller U2, one terminal of the resistor R2 and a first pin of the relay J2, a RESET terminal of the controller U2 is connected to the other terminal of the resistor R2, a CS terminal of the controller U2 is connected to a third pin of the relay J2, a MISO terminal of the controller U2 is connected to a fourth pin of the relay J2, a MOSI terminal of the controller U2 is connected to a sixth pin of the relay J2, the INT end of the controller U2 is connected with the seventh pin of the relay J4, and the other end of the capacitor C3 and the other end of the capacitor C4 of the second pin of the relay J4 are both grounded.
Preferably, the single-chip microcomputer is a 51 single-chip microcomputer.
Preferably, the transceiver U1 is of model TJA 1050.
Preferably, the controller U2 is of the MCP2515 model.
Preferably, the card box is connected with the CAN bus signal box in a clamping mode. The clamping connection is compact, the CAN bus signal box CAN be conveniently detached and replaced, and the test time is saved.
Preferably, the card box is provided with a plurality of first clamping blocks, and the CAN bus signal box is provided with corresponding bayonets. When the installation is carried out, the corresponding bayonet is clamped into the first clamping block, and then the installation can be completed.
Preferably, the card box is provided with a first card edge, the CAN bus signal box is provided with a second card edge, and a sealing ring is arranged between the first card edge and the second card edge. The sealing washer sets up in card box and CAN bus signal box junction, plays waterproof dustproof effect.
Therefore, the utility model discloses following beneficial effect has:
1. the cost is low, only one single chip microcomputer and a CAN interface are needed, and the cost is far lower than that of the original mode of using a computer and a CAN;
2. the power circuit module supplies power to the device, the operation panel module is responsible for inputting a desired analog signal instruction, the LCD displays the current password return-to-zero state and the EPS state, the single chip microcomputer is responsible for performing data interaction with the CAN and feeding back to the LCD, the test process of the device is simple and convenient to operate, and the circuit structure is simple and easy to realize;
3. after the device is started, the 51 SCM connected with the controller U2MCP2515 takes out data to be transmitted from a data storage area of the 51 SCM, the data and the ID address form an information frame according to a CAN message structure and are transmitted to a transmission buffer, a transmission request mark is set, after the controller U2MCP2525 receives a transmission request of the 51 SCM, the corresponding data is transmitted to a CAN network through the transceiver U1TJA1050, and the device has the advantages of stability, safety and wide test range, CAN be used independently or integrally, is high in expandability, high in hardware utilization efficiency and CAN be used for simultaneously carrying out multiple tests.
Drawings
Fig. 1 is a schematic structural diagram of the present invention.
Fig. 2 is a block diagram of the CAN bus signal box of the present invention.
Fig. 3 is a circuit diagram of the CAN interface module of the present invention.
Fig. 4 is the schematic view of the connection structure of the card box and the CAN bus signal box of the present invention.
In the figure: 1. card box 11, first fixture block 12, first card edge 2, CAN bus signal box 21, power supply circuit module 22, singlechip 23, CAN interface module 231, transceiver module 232, controller module 24, operating panel module 25, LCD display 26, bayonet 27, second card edge 3, CAN interface 4, pilot lamp.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description.
In the embodiment shown in fig. 1-4, a CAN communication testing device for power steering comprises a card box 1, four CAN bus signal boxes 2, a CAN interface 3 and an indicator light 4, wherein the CAN interface 3 is arranged outside the card box 1, the indicator light 4 is arranged on the card box 1 and is connected with the corresponding CAN bus signal box 2, the card box 1 is connected with the CAN bus signal box 2 in a clamping manner, a plurality of first clamping blocks 11 are arranged on the card box 1, corresponding clamping openings 26 are arranged on the CAN bus signal boxes 2, a first clamping edge 12 is arranged on the card box 1, a second clamping edge 27 is arranged on the CAN bus signal box 2, and a sealing ring is arranged between the first clamping edge 12 and the second clamping edge 27; the CAN bus signal box 2 comprises a power circuit module 21, a single chip microcomputer 22, a CAN interface module 23, an operation panel module 24 and an LCD display 25, the single chip microcomputer 22 is respectively connected with the power circuit module 21, the CAN interface module 23, the operation panel module 24 and the LCD display 25, the single chip microcomputer 22 is used for data interaction with the CAN interface module 23 and feeding back to the LCD display 25, and the single chip microcomputer 22 is a 51 single chip microcomputer.
The CAN interface module 23 includes a transceiver module 231 and a controller module 232, and the transceiver module 231 and the controller module 232 are connected through a transmitting end and a receiving end; the transceiver module 231 comprises a resistor R2, a relay J1, a relay J2, a relay J3 and a transceiver U1, the model of the transceiver U1 is TJA1050, a power supply VCC is connected with a VCC end of the transceiver U1, a TXD end of the transceiver U1 is connected with a transmitting end of the controller module 232, a RXD end of the transceiver U1 is connected with a receiving end of the controller module 232, an S end of the transceiver U1 is grounded, a CANH end of the transceiver U1 is respectively connected with one end of a resistor R2, a second pin of the relay J3 and a second pin of the relay J2, a CANL end of the transceiver U1 is respectively connected with a second pin of the relay J1, a first pin of the relay J3 and a first pin of the relay J2, and the other end of the resistor R2 is connected with a first pin of the relay J1; the controller module 232 comprises a controller U2, a capacitor C3, a capacitor C4, a resistor R3 and a relay J4, the model of the controller U2 is MCP2515, a TXCAN terminal of the controller U2 is connected with the transmitting terminal of the transceiver module 231, an RXCAN terminal of the controller U2 is connected with the receiving terminal of the transceiver module 231, an OSC1 terminal of the controller U2 is connected with one terminal of the capacitor C4 and one terminal of the crystal oscillator X1, an OSC2 terminal of the controller U2 is connected with one terminal of the capacitor C2 and the other single phase of the crystal oscillator X2, a power source VCC is connected with a VCC terminal of the controller U2, one terminal of the resistor R2 and the first pin of the relay J2, a RESET terminal of the controller U2 is connected with the other terminal of the resistor R2, a CS terminal of the controller U2 is connected with the third pin of the relay J2, a MISO terminal of the controller U2 is connected with the fourth pin of the relay J2, a sixth pin of the relay J2 is connected with the control terminal of the relay J2, and a control terminal of the relay J2 is connected with the scj 2, the INT end of the controller U2 is connected with the seventh pin of the relay J4, and the other end of the capacitor C3 and the other end of the capacitor C4 of the second pin of the relay J4 are both grounded.
The working process of the utility model is as follows: the power supply circuit module supplies power to the device, the operation panel module is responsible for inputting a desired analog signal instruction, the LCD display displays a current password return-to-zero state and an EPS state, and the single chip microcomputer is responsible for interacting data with the CAN and feeding back the data to the LCD display.
After the device is started, a 51 single chip microcomputer connected with the controller U2MCP2515 takes out data to be transmitted from a data storage area of the 51 single chip microcomputer, forms an information frame together with an ID address according to a CAN message structure and transmits the information frame to a transmission buffer, sets a transmission request mark, and transmits corresponding data to a CAN network through a transceiver U1TJA1050 transceiver after the controller U2MCP2525 receives a transmission request of the 51 single chip microcomputer; after the boot, the software will first: and 1, initializing a timer: to trigger interrupt usage; 2. initialization of the interrupt: for changing the transmit flag bit; 3. initialization of the controller U2MCP 2515: the CAN controller is initialized to receive data sent by the single chip microcomputer and control the CAN transmitter to send the data; 4. initialization of transmission data: providing a set of data that enables the EPS to accurately provide basic assistance; after the initialization is finished, a while dead cycle is entered, the cycle is a state that whether a sending mark is set or not is judged, if so, a sending function is entered to send data in a memory, and the flag bit is cleared after the sending is finished; in the timer interrupt function, when the timing is reached, the sent mark position 1 is used for while circulation in the main function to send data; the connection mode of the CAN module and the 51 single chip microcomputer is as follows:
P2^3 -> MCP2515_SCK;
P2^2 -> MCP2515_MOSI;
P2^1 -> MCP2515_MISO;
P2^0 -> MCP2515_CS;
P3^3 -> MCP2515_INT。
the utility model discloses it is wide to have stability, security, test range, both can the exclusive use also can the integrated use, and scalability is strong, and the hardware utilization efficiency height can carry out the multinomial test simultaneously.
The above embodiments are only used for further explanation of the present invention, and it is not understood that the present invention is limited by the protection scope of the present invention, and the technical engineers in the field are right according to the above contents of the present invention.
Claims (10)
1. The utility model provides a be used for turning to helping hand CAN communication testing arrangement, characterized by, including card box (1), a plurality of CAN bus signal box (2), CAN interface (3) and pilot lamp (4), CAN interface (3) set up in card box (1) outside, pilot lamp (4) set up on card box (1) and are connected with the CAN bus signal box (2) that correspond, CAN bus signal box (2) are inside to be included power supply circuit module (21), singlechip (22), CAN interface module (23), operating panel module (24) and LCD display (25), singlechip (22) are connected with power supply circuit module (21), CAN interface module (23), operating panel module (24) and LCD display (25) respectively, singlechip (22) are used for carrying out data interaction and feeding back LCD display (25) between CAN interface module (23).
2. The CAN communication test device for the power steering, according to claim 1, wherein the CAN interface module (23) comprises a transceiver module (231) and a controller module (232), and the transceiver module (231) and the controller module (232) are connected through a transmitting end and a receiving end.
3. The CAN communication test device for the steering power assistance according to claim 2, wherein the transceiver module (231) comprises a resistor R2, a relay J1, a relay J2, a relay J3 and a transceiver U1, a power VCC is connected with a VCC end of the transceiver U1, a TXD end of the transceiver U1 is connected with a transmitting end of the controller module (232), a RXD end of the transceiver U1 is connected with a receiving end of the controller module (232), an S end of the transceiver U1 is grounded, a CANH end of the transceiver U1 is connected with a second pin of the resistor R2, a second pin of the relay J3 and a second pin of the relay J2, a CANL end of the transceiver U1 is connected with a second pin of the relay J1, a first pin of the relay J3 and a first pin of the relay J2, and the other end of the resistor R2 is connected with a first pin of the relay J1.
4. The CAN communication test device for the steering power assistance according to claim 2, wherein the controller module (232) comprises a controller U2, a capacitor C3, a capacitor C4, a resistor R3 and a relay J4, a TXCAN terminal of the controller U2 is connected with a transmitting terminal of the transceiver module (231), an RXCAN terminal of the controller U2 is connected with a receiving terminal of the transceiver module (231), an OSC1 terminal of the controller U2 is respectively connected with one terminal of the capacitor C4 and one terminal of the crystal oscillator X1, an OSC2 terminal of the controller U2 is respectively connected with one terminal of the capacitor C3 and the other single phase of the crystal oscillator X1, a power supply VCC is respectively connected with a VCC terminal of the controller U2, one terminal of the resistor R3 and a first pin of the relay J4, a RESET terminal of the controller U2 is connected with the other terminal of the resistor R3, a CS terminal of the controller U2 is connected with a third pin of the relay J4, and a fourth pin of the MISO 2 of the controller U4, the MOSI end of the controller U2 is connected with the fifth pin of the relay J4, the SCK end of the controller U2 is connected with the sixth pin of the relay J4, the INT end of the controller U2 is connected with the seventh pin of the relay J4, and the other end of the capacitor C3 and the other end of the capacitor C4 of the second pin of the relay J4 are both grounded.
5. The CAN communication test device for the steering power, which is characterized in that the single chip microcomputer (22) is a 51 single chip microcomputer.
6. The CAN communication test device for the steering power, as claimed in claim 3, wherein the transceiver U1 is model TJA 1050.
7. The CAN communication test device for the steering power, as claimed in claim 4, wherein the controller U2 is model MCP 2515.
8. The CAN communication test device for the steering power assistance according to claim 1, wherein the card box (1) is connected with the CAN bus signal box (2) in a clamping manner.
9. The CAN communication test device for the steering power assistance according to claim 8, wherein a plurality of first clamping blocks (11) are arranged on the clamping box (1), and corresponding clamping openings (26) are arranged on the CAN bus signal box (2).
10. The CAN communication test device for the steering power assistance according to claim 1 or 8, wherein a first clamping edge (12) is arranged on the card box (1), a second clamping edge (27) is arranged on the CAN bus signal box (2), and a sealing ring is arranged between the first clamping edge (12) and the second clamping edge (27).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021232755.1U CN212413178U (en) | 2020-06-29 | 2020-06-29 | Be used for power-assisted steering CAN communication testing arrangement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021232755.1U CN212413178U (en) | 2020-06-29 | 2020-06-29 | Be used for power-assisted steering CAN communication testing arrangement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212413178U true CN212413178U (en) | 2021-01-26 |
Family
ID=74405337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202021232755.1U Active CN212413178U (en) | 2020-06-29 | 2020-06-29 | Be used for power-assisted steering CAN communication testing arrangement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212413178U (en) |
-
2020
- 2020-06-29 CN CN202021232755.1U patent/CN212413178U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101937205B (en) | Novel portable PLC (Programmable Logic Controller) programming device | |
CN203658834U (en) | General self-setting instruction automobile diagnostic equipment | |
CN102120421A (en) | Pure liquid crystal display combination instrument of pure electric vehicle based on CAN (controller area network) bus | |
CN101782778A (en) | Multifunctional testing platform of vehicle-mounted information system and control structure of main controller | |
CN201583832U (en) | Novel portable PLC programming device | |
CN104503424A (en) | New energy automobile overall controller and battery controller joint test system | |
CN204576254U (en) | Driver's simulator stand that a kind of remote power controls | |
CN113347273B (en) | Vehicle-mounted Ethernet data conversion method, device, equipment and medium | |
CN105372619B (en) | A kind of safety chip power failure test equipment | |
CN105159284A (en) | Automobile engine fault diagnose and calibrate apparatus | |
CN101603843A (en) | Testing system for CAN bus digital instrument of passenger vehicle | |
CN117075571B (en) | Test method, test system, test equipment and readable storage medium | |
CN202975630U (en) | Production line terminal flash device supporting multiple protocols | |
CN212413178U (en) | Be used for power-assisted steering CAN communication testing arrangement | |
CN114911732A (en) | Vehicle-mounted Ethernet adapter plate and multi-path vehicle-mounted Ethernet equipment communication system | |
CN113934192A (en) | Simulation debugging system and method for vehicle information system | |
CN202261347U (en) | TCN-based train network simulation experimental system | |
CN102507208A (en) | Vehicle impact sensor simulation device and method | |
CN201435007Y (en) | Testing system for CAN bus digital instruments in passenger vehicles | |
CN203241812U (en) | Configurable switch | |
CN203552054U (en) | Test bench based on PEPS system | |
CN207965640U (en) | A kind of Hardware-in-the-loop simu- lation system suitable for new energy vehicle RMU tests | |
CN204515525U (en) | A kind of controller of new energy automobile and battery controller combined test system | |
CN203250340U (en) | Remote driving data recorder | |
CN206819127U (en) | A kind of data collecting system based on panzer simulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |