A kind of signal converting method of onboard diagnostic system Signal transfer box
Technical field
A kind of on-board automatic diagnosis system Signal transfer box of the present invention and its signal converting method are related to a kind of signal converting
Box, especially a kind of Signal transfer box for on-board automatic diagnosis system OBD.
Background technology
Onboard diagnostic system OBD monitors the operation conditions of engine and the working condition of exhaust gas aftertreatment system at any time, and one
Denier is found it is possible that the situation for causing discharge exceeded, can send warning at once.When system breaks down, trouble light (MIL) or
Check that engine (Check Engine) emergency warning lamp is bright, while fault message can be stored in memory by OBD system, pass through standard
Diagnostic instrments and diagnosis interface can read relevant information in the form of error code.According to the prompting of error code, maintenance personal's energy
Quickly and accurately determine property and the position of failure.But the interface of current vehicle, which defines disunity, to be led to not believe an OBD
Number box is applied to any one vehicle, and OBD signal box product needs is caused to re-design, waste many manpower and materials.
The content of the invention
The purpose of the present invention is part provides a kind of onboard diagnostic system Signal transfer box and its signal against the above deficiency
Forwarding method, the defects of existing onboard diagnostic system OBD signal boxes is overcome to be unable to wildcard, the interconnecting device can pass through connection and turn
It connects box and receives the instruction that interconnecting device issues and change relay on-off array to reach the arbitrary vehicle onboard diagnostic system OBD of adaptation
The purpose of port definition.
A kind of onboard diagnostic system Signal transfer box of the present invention and its signal converting method are to take following technical scheme real
Existing:
Onboard diagnostic system Signal transfer box has box body, and box body both sides are respectively equipped with an OBD male connector and mother OBD
Head is equipped with a printed circuit board in box body, is welded with CPU, relay, peripheral control circuits and row on a printed circuit
The printed circuit board (PCB) of needle interface;CPU is connected with relay, OBD females and peripheral control circuits;ODB females and ODB male connectors
It is connected respectively with relay.
The signal converting method of onboard diagnostic system Signal transfer box, includes the following steps:
1)After computer is connected onboard diagnostic system Signal transfer box, answered by the way that the OBD of installation on computers is mating
With program, the vehicle information for wanting switching is sent to onboard diagnostic system OBD signals box;
2)After onboard diagnostic system OBD signal boxes receive the vehicle information of computer transmission, by data/address bus from vehicle
The vehicle information is transmitted to the OBD mothers of onboard diagnostic system Signal transfer box by the OBD male connectors for carrying diagnostic system OBD signal boxes
The vehicle information is transmitted to onboard diagnostic system Signal transfer box by head, the OBD females of onboard diagnostic system Signal transfer box
CPU;
3)After the CPU of onboard diagnostic system Signal transfer box receives vehicle information, reading is stored in CPU internal storages
In the vehicle information binary code corresponding with relay that prestores, low and high level is exported by the pin of CPU come control respectively after
The break-make of electric appliance, so as to form the required communication channel access of signal transmission.
Step 1)The connection mode of onboard diagnostic system OBD signals box and computer is USB or WIFI.
Step 3)Described in binary code include the break-make information of relay, wherein 0 represents relay and does not act,
1, which represents relay, redirects action.
By using onboard diagnostic system Signal transfer box, onboard diagnostic system OBD boxes can be conveniently applied to appoint
Meaning vehicle avoids needing to redesign onboard diagnostic system OBD boxes due to vehicle changes, saves great amount of cost and time.
Description of the drawings
Below with reference to attached drawing, the invention will be further described:
Fig. 1 is the fundamental diagram of onboard diagnostic system Signal transfer box of the present invention;
Fig. 2 is the inside catenation principle figure of onboard diagnostic system Signal transfer box of the present invention.
In figure:1st, onboard diagnostic system Signal transfer box.
Specific embodiment
Referring to the drawings 1 ~ 2, onboard diagnostic system Signal transfer box has box body, and box body both sides are respectively equipped with an OBD public affairs
Head and an OBD female are equipped with a printed circuit board in box body, are welded with CPU, relay, periphery on a printed circuit
Control circuit and the printed circuit board (PCB) for arranging needle interface;CPU is connected with relay, OBD females and peripheral control circuits;ODB
Female and ODB male connectors are connected respectively with relay.
Vehicle information is transmitted to CPU by OBD females;The pin output low and high level of CPU controls the break-make of each relay, from
And the required communication channel access of signal transmission is formed, realize the wildcard of onboard diagnostic system OBD signal boxes.
The signal converting method of onboard diagnostic system Signal transfer box, includes the following steps:
1)After computer is connected onboard diagnostic system Signal transfer box, answered by the way that the OBD of installation on computers is mating
With program, the vehicle information for wanting switching is sent to onboard diagnostic system OBD signals box;
2)After onboard diagnostic system OBD signal boxes receive the vehicle information of computer transmission, by data/address bus from vehicle
The vehicle information is transmitted to the OBD mothers of onboard diagnostic system Signal transfer box by the OBD male connectors for carrying diagnostic system OBD signal boxes
The vehicle information is transmitted to onboard diagnostic system Signal transfer box by head, the OBD females of onboard diagnostic system Signal transfer box
CPU;
3)After the CPU of onboard diagnostic system Signal transfer box receives vehicle information, reading is stored in CPU internal storages
In the vehicle information binary code corresponding with relay that prestores, low and high level is exported by the pin of CPU come control respectively after
The break-make of electric appliance, so as to form the required communication channel access of signal transmission.
Step 3)Described in binary code include the break-make information of relay, wherein 0 represents relay and does not act,
1, which represents relay, redirects action.
Onboard diagnostic system Signal transfer box by the OBD male connectors of onboard diagnostic system Signal transfer box in use, be inserted in vehicle
Onboard diagnostic system OBD signal boxes OBD females on, the ODB females of onboard diagnostic system Signal transfer box are inserted in vehicle
Onboard diagnostic system OBD signal boxes OBD male connectors on.