CN100579829C - Switch state reading machine based on vehicle local internet bus - Google Patents

Switch state reading machine based on vehicle local internet bus Download PDF

Info

Publication number
CN100579829C
CN100579829C CN200810116810A CN200810116810A CN100579829C CN 100579829 C CN100579829 C CN 100579829C CN 200810116810 A CN200810116810 A CN 200810116810A CN 200810116810 A CN200810116810 A CN 200810116810A CN 100579829 C CN100579829 C CN 100579829C
Authority
CN
China
Prior art keywords
signal
switch
bus
resistance
isolated chip
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
Application number
CN200810116810A
Other languages
Chinese (zh)
Other versions
CN101323281A (en
Inventor
连小珉
杨殿阁
陆良
张新丰
薛雯
罗禹贡
李克强
郑四发
王建强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN200810116810A priority Critical patent/CN100579829C/en
Publication of CN101323281A publication Critical patent/CN101323281A/en
Application granted granted Critical
Publication of CN100579829C publication Critical patent/CN100579829C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a switch state reader based on an automobile intranet bus, which belongs to an automobile electronic control technical field. The reader comprises a bonding switch detecting circuit used for detecting the state of the automobile bonding switch, a grounding switch detecting circuit used for detecting the state of the automobile grounding switch, a micro processing unit provided with a bus communication module which is used for reading the output signals of the switch detecting circuits and converting the read signals into message frame codes and signal levels and sending the converted signals to the interface of the bus, and an interface of the bus used for building up communication relationship between the micro processing unit provided with the bus communication module and the communication bus. The reader of the invention has the advantages of being suitable for ordinary switches of the automobile, switch sensors and switch indicators, realizing the real-time detection of the switch state and the signal output of the switch state, and providing a scheme easy to be realized for the intelligent design of automobile-bone electrical apparatuses.

Description

A kind of switch state reading machine based on vehicle local internet bus
Technical field
The present invention relates to a kind of switch state reading machine, belong to the auto electronic control technology field based on vehicle local internet bus.
Background technology
In the orthodox car body electrical system, the automobile electrical load is connected with switch, or load is connected with the relay of switch institute control apparatus.By the make-break operation of shift knob, realize power electricity break-make control to load.
In the modern automobile body electrical system, bussing technique is employed more and more.Use the automobile of bussing technique, its electrical equipment and switch no longer are traditional series relationship, send by bus but switch state is a digital signal, and current consumer receives control signal and carries out its due mode of operation from bus.The application of bussing technique makes body harness greatly simplify, and has reduced the wire harness cost, for automobile is reserved greater room; Simultaneously, coordinate to substitute traditional connection in series-parallel by the control of ECU controller and realize the vehicle mounted electrical apparatus restriction relation, manage more convenient.Local internet (Local InterconnectNetwork is hereinafter to be referred as LIN) is a kind of with low cost, widely used automobile bus technology.
Summary of the invention
The objective of the invention is to propose a kind of switch state reading machine based on vehicle local internet bus, based on the LIN bussing technique to taking electricity, taking ground switch, Switch sensor and the Switch indicating device designs, detect the state of vehicle switch in real time, and with the total wire joint of vehicle body LIN, on off state is sent by the LIN bus.
The on off state reader based on vehicle local internet bus that the present invention proposes comprises:
Take the electric switch testing circuit, be used to detect the state that automobile is taken electric switch, and switch state signal is converted to the signal that can read of microprocessing unit of band bus communication module, by photoelectric isolated chip (U1), resistance (R1), resistance (R2) is formed, the high-end pin of control of photoelectric isolated chip (U1) by resistance (R1) with take the electric switch signal and be connected, the control low side pin of photoelectric isolated chip (U1) with take earth signal and be connected, the controlled low side pin of photoelectric isolated chip (U1) is connected with signal digitally, the controlled high-end pin of photoelectric isolated chip (U1) is connected with digital electric signal by resistance, and the signal output after will changing simultaneously is to microprocessing unit;
Take ground switch testing circuit, be used to detect the state that automobile is taken the ground switch, and switch state signal is converted to the signal that can read of microprocessing unit of band bus communication module, by photoelectric isolated chip (U2), resistance (R3), resistance (R4) is formed, the high-end pin of control of photoelectric isolated chip (U2) is electrically connected with power by resistance (R3), the control low side pin of photoelectric isolated chip (U2) with take ground on-off signal be connected, the controlled low side pin of photoelectric isolated chip (U2) is connected with signal digitally, the controlled high-end pin of photoelectric isolated chip (U2) is connected with digital electric signal by resistance, exports the microprocessing unit discernible signal to microprocessing unit simultaneously;
The microprocessing unit of band bus communication module, be used to read above-mentioned electric switch testing circuit output signal and the above-mentioned ground switch testing circuit output signal of taking taken, according to host-host protocol the signal that reads is carried out the message frame coding, and according to the vehicle local internet bus agreement level signal of message frame coding is changed, at last change over signal is sent to bus interface;
Bus interface is used to make the microprocessing unit of above-mentioned band bus communication module and communication bus to set up correspondence.
The switch state reading machine that the present invention proposes based on vehicle local internet bus, its characteristics and advantage are: be applicable to automobile regular tap, Switch sensor and Switch indicating device, realization is to the real-time detection of on off state, and is sent to communication bus by bus interface.Reader of the present invention is used for man-machine interactive operation, electrical equipment control and the failure warning system of automotive electrical system, the interface of total linearize makes a large amount of switch and Switch sensor on the automobile, indicating device can be advantageously connected to bus, provide corresponding electric appliance work needed control signal, make that automotive electrical system control is simple, wire harness optimization, space saves, for the intelligentized design of vehicle mounted electrical apparatus provides a kind of embodiment that is easy to realize.
Description of drawings
The circuit block diagram that Fig. 1 proposes for the present invention based on the switch state reading machine of vehicle local internet bus.
Fig. 2 is the schematic circuit diagram of taking the electric switch testing circuit in the reader of the present invention.
Fig. 3 is the schematic circuit diagram of taking ground switch testing circuit in the reader of the present invention.
The specific embodiment
The on off state reader that the present invention proposes based on vehicle local internet bus, its circuit block diagram comprises as shown in Figure 1:
Take the electric switch testing circuit, be used to detect the state that automobile is taken electric switch, and switch state signal is converted to the signal that can read of microprocessing unit of band bus communication module.The schematic circuit diagram of taking the electric switch testing circuit are made up of photoelectric isolated chip U1, resistance R 1, resistance R 2 as shown in Figure 2, the high-end pin of the control of photoelectric isolated chip U1 by resistance R 1 with take electric switch signal SHi and be connected; The control low side pin of photoelectric isolated chip U1 with take earth signal and be connected; The controlled low side pin of photoelectric isolated chip is connected with signal digitally; The controlled high-end pin of photoelectric isolated chip is connected with digital electric Vcc by resistance, and the microprocessing unit of pin output simultaneously discernible signal PHi is to microprocessing unit.
Take ground switch testing circuit, be used to detect the state that automobile is taken the ground switch, and convert switch state signal to signal that the microprocessing unit of band bus communication module can read.The schematic circuit diagram of taking ground switch testing circuit are made up of photoelectric isolated chip U2, resistance R 3, resistance R 4 as shown in Figure 3.Its annexation is: the high-end pin of the control of photoelectric isolated chip U2 is electrically connected with power by resistance R 3; The control low side pin of photoelectric isolated chip U2 with take ground on-off signal SLi and be connected; The controlled low side pin of photoelectric isolated chip is connected with signal digitally; The controlled high-end pin of photoelectric isolated chip is by resistance and digital electric signal Vcc.
The microprocessing unit of band bus communication module, be used to read above-mentioned electric switch testing circuit output signal and the above-mentioned ground switch testing circuit output signal of taking taken, according to host-host protocol the signal that reads is carried out the message frame coding, and according to the vehicle local internet bus agreement level signal of message frame coding is changed, at last change over signal is sent to bus interface.Microprocessing unit among the present invention adopts a kind of system of micro controller system and the bus signals transceiver module with the bus transmission-receiving function.
Bus interface is used to make the microprocessing unit of above-mentioned band bus communication module and communication bus to set up correspondence, is a kind of common interface that patches.
Reader of the present invention is applicable to that reading various automobiles takes electric switch, takes ground switch, regular tap and the sensor of on-off principle and the on off state of indicating device, as engine start switch, engine off switch, the cue button switch of getting off, BK Brake Switch, Parking switch biography, reversing switch, neutral position switch, reverse gear switch, water-level alarm switch, air pressure alarm switch, the indication of vehicle door status feedback, the indication of automobile current generator neutral etc.
In the reader of the present invention take the ground switch and take electric switch can respectively have a plurality of, for example can be m take the electric switch testing circuit with n take the switch testing circuit be connected with microprocessing unit respectively, m, n are natural number.
Wherein take electric switch, be exactly an end and power power-supply bonded assembly switch, when switch closure, the output switch state signal is a high level signal; When switch disconnected, output switching signal was unsettled signal; What is called is taken the ground switch, exactly an end with take earth signal bonded assembly switch.When switch closure, the output switch state signal is for taking earth signal; When switch disconnected, output switching signal was unsettled signal.
Wherein take the ground switch, exactly an end with take earth signal bonded assembly switch.When switch closure, the output switch state signal is for taking earth signal; When switch disconnected, output switching signal was unsettled signal.Take ground switches set output switch state signal SL1~SLn to control circuit.
In one embodiment of the present of invention, photoelectric isolated chip U1 selects TLP521 model chip for use, is produced by Toshiba; R1, R2 are conventional, electric-resistance.Photoelectric isolated chip U2 selects TLP521 model chip for use, is produced by Toshiba; R3, R4 are conventional, electric-resistance.It is the micro controller system of MC68HC908QL4 and the LIN transceiving chip that model is MC33399 that the microprocessing unit of band bus communication module is selected the model of band LIN function for use, produces by Freescale company.Bus interface is a common interface that patches, and is used for being connected with communication bus.

Claims (1)

1, a kind of on off state reader based on vehicle local internet bus is characterized in that this reader comprises:
Take the electric switch testing circuit, be used to detect the state that automobile is taken electric switch, and switch state signal is converted to the signal that can read of microprocessing unit of band bus communication module, take the electric switch testing circuit by first photoelectric isolated chip (U1), first resistance (R1), second resistance (R2) is formed, the high-end pin of control of first photoelectric isolated chip (U1) by first resistance (R1) with take the electric switch signal and be connected, the control low side pin of first photoelectric isolated chip (U1) with take earth signal and be connected, the controlled low side pin of first photoelectric isolated chip (U1) is connected with signal digitally, the controlled high-end pin of first photoelectric isolated chip (U1) is connected with digital electric signal by second resistance (R2), takes signal output after the electric switch testing circuit will be changed simultaneously to microprocessing unit;
Take ground switch testing circuit, be used to detect the state that automobile is taken the ground switch, and switch state signal is converted to the signal that can read of microprocessing unit of band bus communication module, take ground switch testing circuit by second photoelectric isolated chip (U2), the 3rd resistance (R3), the 4th resistance (R4) is formed, the high-end pin of control of second photoelectric isolated chip (U2) is electrically connected with power by the 3rd resistance (R3), the control low side pin of second photoelectric isolated chip (U2) with take ground on-off signal be connected, the controlled low side pin of second photoelectric isolated chip (U2) is connected with signal digitally, the controlled high-end pin of second photoelectric isolated chip (U2) is connected with digital electric signal by the 4th resistance (R4), takes signal output after ground switch testing circuit will be changed simultaneously to microprocessing unit;
The microprocessing unit of band bus communication module, be used to read above-mentioned electric switch testing circuit output signal and the above-mentioned ground switch testing circuit output signal of taking taken, according to host-host protocol the signal that reads is carried out the message frame coding, and according to the vehicle local internet bus agreement level signal of message frame coding is changed, at last change over signal is sent to bus interface;
Bus interface is used to make the microprocessing unit of above-mentioned band bus communication module and communication bus to set up correspondence.
CN200810116810A 2008-07-18 2008-07-18 Switch state reading machine based on vehicle local internet bus Active CN100579829C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810116810A CN100579829C (en) 2008-07-18 2008-07-18 Switch state reading machine based on vehicle local internet bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810116810A CN100579829C (en) 2008-07-18 2008-07-18 Switch state reading machine based on vehicle local internet bus

Publications (2)

Publication Number Publication Date
CN101323281A CN101323281A (en) 2008-12-17
CN100579829C true CN100579829C (en) 2010-01-13

Family

ID=40187035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810116810A Active CN100579829C (en) 2008-07-18 2008-07-18 Switch state reading machine based on vehicle local internet bus

Country Status (1)

Country Link
CN (1) CN100579829C (en)

Also Published As

Publication number Publication date
CN101323281A (en) 2008-12-17

Similar Documents

Publication Publication Date Title
CN203335820U (en) Control module of automatic automobile shifting device and corresponding automatic automobile shifting device
CN201829385U (en) Press switch with diagnosis function and press key switch device
CN204921962U (en) Position sensor and position sensing system
CN101342890A (en) Assembled switch based on local internet bus line of controller of automobile
CN101474983B (en) Heavy-duty car CAN bus control system with auxiliary central control function
CN101797908A (en) Control system of wiper and headlight
CN201301754Y (en) Device and switch for changing power of engine
CN101973269B (en) Control system for mine electric wheel dump truck by using fieldbus technology
CN101873955B (en) Device for the electric actuation of a safety-critical system
CN207424565U (en) Car OBD interface switching at runtime equipment
CN100569555C (en) Vehicle mounted electrical apparatus driving circuit module with fault diagnosis functions
CN104565343B (en) Split electronic transmission range selection systems and methods with electronic button shifter
CN208233038U (en) Operation switch, electronic brake system and the vehicle of electronic brake system
CN100579829C (en) Switch state reading machine based on vehicle local internet bus
CN111660959B (en) Physical gear acquisition system and method for pure electric light commercial vehicle
JPH10247292A (en) Field unit
CN205376672U (en) Electric vehicle battery management system framework of communicating based on CAN bus
CN101324634B (en) Vehicle speed sensor with bus interface for vehicle
CN101447663B (en) A hardware protection circuit
CN201307061Y (en) Diagnosis and processing device of load failure of automotive electric equipment based on CAN bus
CN208636402U (en) Detect the electron assistant contact circuit of high-voltage relay contact on-off
CN202327065U (en) Neutral gear signal detection device for vehicle
CN102826083A (en) Brake signal controller and control method
CN101293518A (en) Controller and control method for electric eddy speed damper based on wired or wireless digital communication
CN201830191U (en) Vehicle variable-frequency speed regulation control system based on photoelectric encoder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant