Vehicle body CAN bus controlling system

A CAN bus, automobile body technology, applied in the field bus control system field, can solve the problem of no CAN technology, and achieve the effect of simple wiring, convenient function expansion, and improved equipment level

Inactive Publication Date: 2006-05-31
浙江中科正方电子技术有限公司
0 Cites 19 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0006] Auto parts technology adopting CAN bus network structure will be inevitable for future automobile development, but there is no independent and perfect ...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention consists of CAN-LIN gateway, CAN control module and LIN control module. The CAN-LIN gateway uses CAN bus and LIN bus protocol, and connects to CAN control module through CAM bus interface, and connects to peripherals through peripherals interface to implement signals collection and electronic component control in vehicle. The LIN control module connects to CAN-LIN gateway through LIN bus interface, and connects to peripherals through peripherals interface to implement signals collection and electronic component control in vehicle. The LIN bus protocol is saved in CAN-IN gateway and LIN control module, and the CAN bus protocol is saved in CAN-LIN gateway and CAN control module.

Application Domain

Technology Topic

Image

  • Vehicle body CAN bus controlling system
  • Vehicle body CAN bus controlling system
  • Vehicle body CAN bus controlling system

Examples

  • Experimental program(1)

Example Embodiment

[0066] The present invention will be further described in detail below in conjunction with the drawings.
[0067] Such as figure 1 As shown, the present invention includes three parts: CAN-LIN gateway, CAN control module and LIN control module, namely:
[0068] -CAN-LIN gateway, connect two physically independent CAN networks or LIN networks, and realize data exchange between high and low speed network systems, run CAN bus protocol and LIN bus protocol, and complete it through CAN control module or LIN control module Distributed control of automotive electronic components, transmitting LIN messages to the CAN network, where the LIN device works as a slave device, the received LIN messages will be transmitted to the CAN network, the LIN identifier is converted into a CAN identifier, LIN The data is transmitted through the CAN object; when the CAN-LIN gateway requests transmission, the CAN identifier is converted to the LIN identifier, and the data of the CAN object is stored in the buffer, and then transmitted as LIN data, which realizes the communication between LIN and CAN messages. At the same time, the CAN-LIN gateway, as the main controller of the LIN module, defines the transmission rate and sends the information frame header, and sends or receives data.
[0069] -CAN control module, there are multiple distributed in the car near the signal to be processed, access to various signals and process them, complete field data collection and control of electronic components. Each module has a unique address, and a CAN control module can be reinstalled when power is on, or a faulty CAN control module can be replaced during system operation, without affecting the normal operation of other modules.
[0070] -LIN control module, through the input and output interface, complete the field signal acquisition and conversion; each LIN module includes a configuration information memory (containing the serial number and other information); when composing the system, the module address is allocated in advance, each The modules have a unique address, so each module will be transparent in the bus; when a LIN control module is reinstalled, it can be performed under power; therefore, the faulty LIN control module can be replaced during system operation. Will not affect the normal operation of other modules.
[0071] The CAN bus protocol is stored in the CAN-LIN gateway and CAN control module, and the LIN bus protocol is stored in the CAN-LIN gateway and LIN control module.
[0072] in figure 1 A is the CAN control module, B is the CAN-LIN gateway (that is, the local control center), C is the LIN control module, D is the CAN bus, and E is the LIN bus. There should be a power line along D and E (in the figure Not shown), they constitute a control system (body CAN bus platform) to complete vehicle control.
[0073] Such as picture 2-1 , 2-2 , 2-3, 2-4, and 2-5, the CAN-LIN gateway of the present invention includes a gateway controller module, a CAN physical layer module, a LIN physical layer module, a power module, and a LIN power module. The specific connection structure is:
[0074] -Gateway controller module (see Figure 2-2 ) Consists of the first CAN microcontroller U1, the first bus latch U3, the first read-only memory U5, the first random access memory U7, and the first electrically erasable read-only memory U9. Among them: the first CAN microcontroller U1 Communicate with the first read only memory U5 and the first random access memory U7, the first CAN microcontroller U1 is connected to the first read only memory U5 and the first random access memory U7 via the first bus latch U3, and the first erasable Except the read-only memory U9 communicates with the first CAN microcontroller U1 through the SPI interface.
[0075] The first CAN microcontroller U1 is responsible for managing the CAN control module and the LIN control module, and sends data received from the CAN bus or LIN bus to the first random access memory U7, and the first random access memory U7 is used as the first CAN microcontroller U1 to work. The required memory, the first read-only memory U5 is used to store the operating system kernel, CAN bus and LIN bus protocol stack, and the first electrically erasable read-only memory U9 is used to store system configuration information;
[0076] -CAN physical layer module (see Figure 2-3 ) Consists of the first to third high-speed photocouplers U11 to U12, U14, and the first CAN transceiver U13. The input of the first to third photocouplers U11 to U13, U14 comes from the first CAN microcontroller U1, and the output passes through the 1 The CAN transceiver U13 is connected to an external module with a CAN bus interface through the CAN bus interface.
[0077] The first CAN transceiver U13 is the interface between the first CAN microcontroller U1 and the CAN physical bus.
[0078] -LIN physical layer module (see Figure 2-4 ) It is composed of the 4th to 8th photocouplers U15~U19 and the 2nd LIN transceiver U20. The input of the 4th to 8th ordinary photocouplers U15~U19 comes from the first CAN microcontroller U1, and the output is connected to the first LIN transceiver U20. Connection, the output of the second LIN transceiver U20 is connected to an external module with a LIN bus interface through the LIN bus interface.
[0079] The second LIN transceiver U20 is the interface between the first CAN microcontroller U1 and the LIN physical bus.
[0080] -Power module (see Figure 2-5 ) Includes a transformer B1 and a DC converter U22. The input of the transformer B1 and the DC converter U22 comes from an external +24V power supply, and the output is respectively supplied by the first CAN transceiver U13 and the gateway controller module.
[0081] -LIN power module (see Figure 2-6 ) Includes a first voltage converter U243 and a first voltage regulator D352, where: the input of the first voltage converter U243 is connected to an external +24V power supply, and the output is supplied to the second LIN transceiver U20, and is supplied by the first voltage converter D352 The 4th to 8th photoelectric couplers U15 to U19 in the LIN physical layer module supply power.
[0082] Such as Figure 3-1 , 3-2 , 3-3, 3-4, 3-5, 3-6, 3-7, 3-8, 3-9, 3-10, 3-11, 3-12, 3-13, 3-14, 3 As shown in -15, the CAN control module of the present invention consists of a CAN control module controller, an engine speed and mileage drive module, an engine parameter meter drive module, an engine parameter meter drive power module, an engine speed and mileage vehicle speed measurement module, and an engine AI parameter measurement module , Engine AI power module, engine logic processing module, engine IO isolation input module, engine IO isolation output module, instrument assembly IO drive logic processing module, instrument assembly IO power drive module, instrument assembly IO indicator alarm drive module, CAN Physical layer module (see Figure 2-3 ), LIN physical layer module (see Figure 2-4 ), power module (see Figure 2-5 ), LIN power module (see Figure 2-6 ), the specific connection structure is:
[0083] -CAN control module controller (see Figure 3-2 ) By the second CAN microcontroller U2, the second read-only memory U6, the second random access memory U8, the second electrically erasable read-only memory U10, the second bus latch U4, the first address decoder U33, the second 1 bus driver U34, in which: the second CAN microcontroller U2 communicates with the second read-only memory U6, the second random access memory U8, and the second electrically erasable read-only memory U10. The second CAN microcontroller U2 communicates through the second The bus latch U4 is respectively connected with the second read-only memory U6 ​​and the second random access memory U8. The input of the first bus driver U34 comes from the second CAN microcontroller U2 and the first address decoder connected to the second CAN microcontroller U2 The output to the 4th to 8th photocouplers U15 to U19 in the LIN physical layer module.
[0084] The second CAN microcontroller U2 is responsible for managing the CAN control module, sending the collected field data to the second random access memory U8, and controlling the output device. The second random access memory U8 is used as the second CAN microcontroller U2 for work. Internal memory, the second read-only memory U6 ​​is used to store the operating system kernel and CAN bus protocol stack, and the second electrically erasable read-only memory U10 is used to store system configuration information.
[0085] -Engine speed and mileage drive module (see Figure 3-3 ) Consists of the first programmable clock U38 and the first counter U47, where: the input of the first programmable clock U38 comes from the second CAN microcontroller U2 of the CAN controller module, the input of the first counter U47 comes from the external address configuration, and the output After passing through the first inverter U40B, it is connected to the first programmable clock U38.
[0086] -Engine parameter meter drive module (see Figure 3-4 ) Consists of the 9th to 14th photocouplers U49~U52, U64~65, D/A converter U58, and the first to third amplifiers U59~U61. The input of the 9th~12th photocouplers U49~U52 comes from CAN The output of the second CAN microcontroller U2 in the controller module is connected to the input of the D/A converter U58. The input of the 13th to 14th photocouplers U64 to U65 comes from the second CAN microcontroller U2 in the CAN controller module. The output is amplified by diodes and transistors and then connected to external devices, such as odometer, the output of D/A converter U58 is connected to the first to third amplifiers U59 to U61, and the output of the first to third amplifiers U59 to U61 is connected to external devices, such as : Water temperature gauge.
[0087] The engine parameter meter drive module is responsible for converting digital quantities into analog quantities.
[0088] -Engine parameter meter drive power module (see Figure 3-5 ) With the second voltage converter U240 as the core, its input comes from an external +24V power supply, and the output +5V supplies power to the engine parameter meter drive module.
[0089] -Engine speed and mileage and speed measurement module (see Figure 3-6 ) Consists of the second programmable clock U39, the second counter U48, and the first to 2D flip-flops U244 to U245. The input of the first to 2D flip-flops U244 to U245 comes from the first Schmier in the engine AI parameter measurement module Special inverter U250, the output is connected with the second programmable clock U39 and external devices (such as tachometer), the input of the second counter U48 comes from the second CAN microcontroller U2 and address configuration, and the output is connected with the second CAN microcontroller U2 The connected second programmable clock U39 is connected; it also includes a NAND gate and an inverter.
[0090] The engine speed and mileage vehicle speed measurement module is responsible for measuring the speed, vehicle speed and mileage.
[0091] -Engine AI parameter measurement module (see Figure 3-7 ) Including the fourth amplifier U247, A/D converter U248, 15th to 20th photocouplers U53-55, U57, U249, U251, and the first Schmitt inverter U250, among which: the input of the fourth amplifier U247 comes from external The input and output of equipment (such as oil pressure sensor) are connected to the input of A/D converter U248. The input of the 20th and 18th photoelectric couplers U251 and U57 come from the input and output of external equipment (such as mileage speed sensor). Connect with the input of U250B and U250C in the first Schmidt inverter U250, the input of the 17th photocoupler U55 is connected with the output of the A/D converter U248, and the output is connected with the second CAN microcontroller in the CAN controller module U2 is connected. The input of the 15th to 16th and 19th photocouplers U53 to 54 and U249 are connected to the second microcontroller U2 in the CAN controller module, and the output is connected to the input of the A/D converter U248.
[0092] The engine AI parameter measurement module is responsible for measuring the engine's fuel quantity, oil pressure, water temperature, mileage, speed and other parameters, and converting the collected analog quantities into digital quantities.
[0093] -Engine AI power module (see Figure 3-8 ) Including the third to fourth voltage converters U241 to U242, the input is an external +24V power supply, and the output is +5V and +12V respectively, and is responsible for powering the engine AI parameter measurement module.
[0094] -Engine logic processing module (see Figure 3-9 ) Responsible for the logic processing of input and output, including the second address decoder U256, the first to second data transceivers U252-U253, and the second bus driver U35. The input of the second address decoder U256 is NANDed The door is connected via the second CAN microcontroller U2 in the CAN controller module, and the output is connected to the input of the first to second data transceivers U252~U253 and the second bus driver U35, and the output of the first to second data transceivers U252~U253 Connect with the second CAN microcontroller U2 in the CAN controller module, the input of the second bus driver U35 comes from the second CAN microcontroller U2 in the CAN controller module, and output to the 37-40th photoelectric coupling in the engine IO isolation module module器U81~U84.
[0095] -Engine IO isolated input module (see Figure 3-10 ) Responsible for collecting external switch information, composed of the 21st to 36th photocouplers U65~U80, the input is the switch quantity collected from the outside, and the output is connected with the input of the first to second data transceivers U252~U253 of the engine logic processing module .
[0096] -Engine IO isolated output module (see Figure 3-11 ) Including the 37th to 40th photocouplers U81~U84, the 1st to 4th transistors T16~T17, T106~T107, the 1st to 4th field effect transistors T72~T75, of which: the 37th to 40th photocouplers U81~U84 The input comes from the second bus driver U35 in the engine logic processing module, and the output is connected to the collectors of the first to fourth transistors T16 to T17, T106 to T107 and the gates of the first to fourth field effect transistors T72 to T75, and the first to fourth The drain of FET T72~T75 is connected to external equipment, such as automatic lubrication.
[0097] -Instrument assembly IO drive logic processing module (see Figure 3-12 ) Responsible for logic processing of the output drive of the instrument assembly, composed of the third address decoder U257, the third to sixth bus drivers U258~U259, U36~U37, and the third NAND gate U25, among which: the third NAND gate The input of the gate U25 and the third address decoder U257 comes from the second microcontroller U2 in the CAN controller module, and the output of the third NAND gate U25 is connected to the input of the third address decoder U257, and the third to sixth buses The inputs of the drivers U258~U259 and U36~U37 come from the third address decoder U257 and the second CAN microcontroller U2 in the CAN controller module, respectively, and output to the 41st to 48th photocoupler U85 in the IO power drive module of the instrument assembly. ~U92 and instrument assembly IO indicate the 49th~66th photocouplers U93~100, U230~U239 in the alarm drive module.
[0098] -Instrument assembly IO power drive module (see Figure 3-13 ) Isolation power drive for external devices, including 41~48 photocouplers U85~U92, 5~15 transistors, 5~11 field effect tubes T76~T82, among which: 41~43 photocouplers U85~U87 input The signal is the 5th bus driver U36 in the IO drive logic processing module of the instrument assembly, and its output is through the 5th to 7th transistors T85~T87 to the 8th to 10th transistors T108~T109, T6, and the 8th to 10th transistors T108~109, T6. Connect to external equipment, such as: reverse control, the output of the 44th to 48th photocouplers U88~U92 are connected to the 11th to 15th transistors T18~T21, T23 and the 5th to 11th field effect transistors T76~T82 to external equipment.
[0099] -Instrument assembly IO indicator alarm drive module (see Figure 3-14) including 49-66th photocoupler U93~U100, U230~U239, 16th to 51st transistor T88~T105, T110~T113, T249~T255, T7 ~T13, among them: the input of the 49th to 66th photocouplers U93~U100, U230~U239 comes from the output of the 3rd~5th bus driver U258~U259, U36 of the IO drive logic processing module of the instrument assembly, and the output goes through the 16th~ 51 Transistor T88~T105, T110~T113, T249~T255, T7~T13 external equipment, such as fog lamps.
[0100] The instrument assembly IO indicator alarm drive module is used for fog lamp, turn signal, water temperature, oil pressure, fuel quantity and other alarm drive.
[0101] The circuit structure of CAN physical layer module, LIN physical layer module, power module, LIN power module is the same as CAN-LIN gateway module.
[0102] Such as Pic 4-1 , 4-2 , 4-3, 44, 4-5, 4-6, 4-7, 4-8, 4-9, 4-10, 4-11, 4-12, 4-13, 4-14, 4-15 , 4-16, 4-17, the LIN control module of the present invention includes the LIN control module physical layer and power supply module, light group LIN module controller, light group LIN module IO module, driver information input LIN module controller, driving Operator information input LIN module input module, top cover LIN module controller, top cover LIN module middle backplane module, top cover LIN module lower backplane module, ticket counter LIN module controller, right rear door LIN module controller, right back door LIN module backplane Module, wiper LIN module controller, wiper LIN module drive module, mid-chassis LIN module controller, mid-chassis LIN module backplane module, intelligent power drive module, the specific connections are:
[0103] -LIN control module physical layer and power module (see Figure 4-2 ) Including the fifth voltage converter U260, the 52nd to 53rd transistors T260~T261, the first voltage regulator tube D355, and the second LIN transceiver U261. The input of the fifth voltage converter U260 is +24V power supply and the output is +5V Supply power to other modules in the LIN control module. The 52nd transistor T260 outputs +12V to power the LIN transceiver. The input signal of the 53rd transistor T261 and the 2nd LIN transceiver U261 is the third microcontroller U262 of the LIN module controller of the lamp group. , Driver information input LIN module controller 4th microcontroller U263, top cover LIN module controller 5th microcontroller U273, ticket counter LIN module controller 6th microcontroller U274, right rear door LIN module controller module No. 7 Microcontroller U275, wiper LIN module controller 8th microcontroller U276, middle chassis LIN module controller 9th microcontroller U277 are connected, the signal is output to the 2nd LIN transceiver U261, the output of the 2nd LIN transceiver U261 is through LIN Bus interface and CAN-LIN gateway, the first LIN transceiver U20 of CAN control module.
[0104] The second LIN transceiver U261 is the interface between the microcontroller and the LIN transmission medium;
[0105] -Lamp group LIN module controller (see Figure 4-3 ) Consists of the third microcontroller U262, the first bus transceiver U265, and the seventh bus driver U264, among which: the first bus transceiver U265 and the seventh bus driver U264 output the first to the eighth of the LIN module IO module of the lamp group Smart power tubes T262 to T269, the output of the first bus transceiver U265 and the input of the seventh bus driver U264 are connected to the third microcontroller U262.
[0106] The third micro-controller U262 is responsible for the management of the light group equipment, and stores the LIN bus protocol stack and the memory required for work, and sends the collected field data to the memory.
[0107] -The IO module of the lamp group LIN module (see Figure 44) is composed of the 1st to 8th power tubes T262~T269, and the input of the 1st to 8th power tubes T262~T269 comes from the 7th bus driver U264 of the lamp group LIN module controller. The output is connected to external equipment, such as high beam headlights, etc.; responsible for the drive of the light group equipment and fault detection.
[0108] -Driver information input to the LIN module controller (see Figure 4-5 ) Consists of the fourth microcontroller U263, the fourth address decoder U272, and the first to sixth shift registers U266 to U271. The input of the fourth address decoder U272 is connected to the output of the fourth microcontroller U263. The output is connected to the input of the first to sixth shift registers U266 to U271, the output of the first to sixth shift registers U266 to U271 is connected to the fourth microcontroller U263, and the input comes from the driver's information input LIN module input module 1 to 48 The external switch value of diode D358~D399, such as reverse switch.
[0109] The fourth microcontroller U263 stores the LIN bus protocol stack and the memory needed for work, and sends the collected field data to the memory, and is responsible for the collection of the driver's switch value.
[0110] -Driver information input LIN module input module (see Figure 4-6 ) Consists of the first to 48 diodes D358 to D399, the cathode of which is connected to an external switch input, such as a reverse switch.
[0111] -Top cover LIN module controller (see Figure 4-7 ) Take the 5th microcontroller U273, the 2nd bus transceiver U254, the 8th to 9th bus drivers U278~U279 as the core, among which: the input of the 2nd bus transceiver U254 comes from the external switch input (such as: drop the passenger bell button ), the output is connected to the 5th microcontroller U273, the input of the 8th to 9th bus drivers U278~U279 is connected to the 5th microcontroller U273, and the output is to the base of the 54th to 60th transistors T270 to T276, and the 54th to 60th transistors T270 ~276 is output to the 9th to 10th power transistors T277~T280 of the backplane module in the top cover LIN module and the 61st to 67th transistors T24~T25, T29, T55~T58 of the bottom backplane module of the top cover LIN module.
[0112] The fifth microcontroller U273 stores the LIN bus protocol stack and the memory needed for work, and sends the collected field data to the memory. At the same time, it is responsible for the management of marker lights, street sign lights, front door solenoid valves, rear door solenoid valves and other equipment .
[0113] -Top cover LIN module, middle backplane module (see Figure 4-8 ) Consists of the 9th to 10th power tubes T277 to T280, the input of which comes from the 5th microcontroller U273 in the top cover LIN module controller, and the output is connected to external equipment, such as a marker lamp.
[0114] The bottom plate module in the top cover LIN module is responsible for driving the outline lights and street sign lamp equipment, and at the same time, fault detection.
[0115] -Top cover LIN module and lower backplane module (see Figure 4-9 ) Including the 61st to 67th transistors T24 to T25, T29, T55 to T58, the 12th to 25th field effect transistors T281 to T287, T294 to T300, of which: the 12th to 18th field effect transistors T281 to T287 use P-channels, which The gate is connected to the fifth microcontroller U273 in the top cover LIN module controller through a resistor, and the gate is connected to the 19th to 25th field effect transistors T294 to the bases of the 61st to 67th transistors T24 to T25, T29, T55 to T58. For T300, the sheds of the 19th to 25th field effect transistors T294 to T300 are connected to +24V power supply, and the drain is connected to external equipment, such as car lights.
[0116] The top cover LIN module and the lower bottom plate module are responsible for the driving of the front door electric valve, the rear door electric valve, and the car lights.
[0117] -Ticket desk LIN module controller (see Figure 4-10 ) Including the sixth micro-controller U274, the third bus transceiver U255, the tenth bus driver U280, and the 56-63 diodes D339-D346, among which: the output of the third bus transceiver U255 is connected to the input of the sixth microcontroller U274, The input is connected to the cathodes of the 56th to 63rd diodes D339 to D346, the anodes of the 56th to 63rd diodes D339 to D346 are connected to external devices (such as work light switches), and the input of the 10th bus driver U280 is connected to the output of the 6th microcontroller U274 , The output is amplified and driven by a transistor and then connected to external equipment.
[0118] -Right rear door LIN module controller (see Figure 4-11 ) Consists of the seventh microcontroller U275, 57-64th diodes D348-D351, D281-D284, and 68-71th transistors T312-T315. The anodes of the 57th-60th diodes D348-D351 are connected to external equipment (such as: Side position lamp), the cathode is connected to the input of the seventh microcontroller U275, the anodes of the 61st to 64th diodes D281 to D284 are connected to the output of the seventh microcontroller U275 via resistors, and the cathodes are connected to the bases of the 68th to 71st transistors T312 to T315. The input of the seventh microcontroller U275 passes through the external switching value of the diode (such as brake switch), and the 68-71 transistors T312-T315 output to the right rear door LIN module backplane module 72-73 transistors T59-T60 and The 28th to 29th field effect transistors T301 to T302.
[0119] The seventh microcontroller U275 stores the LIN bus protocol stack and the memory needed for work, and sends the collected field data to the memory, and is also responsible for managing the position lights and other equipment.
[0120] -Right rear door LIN module degree board module (see Figure 4-12 ) Including the 72nd to 73rd transistors T59~T60, the 26th to 29th FETs T288~T289, T301~T302, among which: the 26th to 27th FETs T288~T289 adopt P-channel, and their gate is connected to the right through a resistor. The seventh microcontroller U275 in the backdoor LIN module controller has its gate connected to the base of the 72nd to 73rd transistors T59 to T60, the 28th to 29th field effect transistors T301 to T302 are connected to the +24V power supply and the drain External equipment, such as rear door lights and other equipment.
[0121] -Wiper LIN module controller (see Figure 4-13 ) Composed of the 8th microcontroller U276, the 65th to 69th diodes D285~D289 and the 74th to 78th transistors T316~T320, among which the anodes of the 65th to 69th diodes D285~D289 are connected to the 8th microcontroller U276 via a resistor Output, the cathode passes through the 74th to 78th transistors T316 to T320 to the 30th to 37th field effect transistors T290 to T293 and T303 to T306 in the wiper LIN module drive module.
[0122] -Wiper LIN module drive module (see Figure 4-14 ) Including the 79th to 82nd transistors T61 to T64, the 30th to 37th field effect transistors T290 to T293, T303 to T306, among which: the 30th to 33rd field effect transistors T290 to T293 use P-channel, and the gate is connected to the wiper through a resistor The 8th microcontroller U276 in the LIN module controller, the gate is connected to the 79th to 82th transistors T61 to T64, the 38th to 41st field effect transistors T303 to T306, and the drain is connected to external equipment, such as wiper I, washing, etc. equipment.
[0123] -Mid chassis LIN module controller (see Figure 4-15 ) Consists of the ninth microcontroller U277, 70-73 diodes D290-D293, and 83-86 transistors T321-T324. The anodes of the 70-73 diodes D290-D293 are connected to the ninth microcontroller U277 via a resistor. Output, the cathode is connected to the base of the 83-86 transistors T321-T324, and the input of the 9th microcontroller U277 is connected to the interrupt line detection circuit and the short-circuit detection circuit of the intelligent power drive module.
[0124] -Mid chassis LIN module backplane module (see Figure 4-16 ) With the first to second relays J239 to J240 as the core, the input comes from the collectors of the 83 to 84 transistors T321 to T322 of the middle chassis LIN module controller, and the output is connected to solenoid valves and power switch devices.
[0125] -Intelligent power drive module (see Figure 4-17 ) Consists of an output drive circuit, a disconnection detection circuit, an overcurrent detection circuit, a short-circuit detection circuit, and an overcurrent and short-circuit protection circuit. The output drive circuit consists of the 1113th resistor R1113, the 1075th resistor R1075, the 1076th resistor R1076, and the 322 voltage regulator tube D322, 307th field effect tube T307, a node of the 1075th resistor and the 1113th resistor is the input terminal, which is connected to the output terminal of the 323th transistor T323 in the middle chassis LIN controller, and the 1075th resistor R1075 The other end of the 322 zener tube D322 is amplified by the power of the field effect tube T307 and connected to the external device position light; the disconnection detection circuit is composed of the sampling resistor R1118, the 87th triode T71, the 328th triode T328 and the 88th triode T69 The emitter of the 88th triode T69 is connected to one end of the sampling resistor R1118 through the 1115th resistor R1115, the base is connected to the base of the 87th triode T71, and the emitter of the 87th triode T71 is connected to the other end of the sampling resistor R1118, the collector The resistor R1124 is connected to the base of the 328th transistor T328, and the collector of the 328th transistor T328 is connected to the ninth microcontroller U277 in the middle chassis controller; when the external device is disconnected, the 87th transistor T71 is turned on, causing The 328th triode T328 is turned on, and the 328th triode T328 outputs a low level to the ninth microcontroller U277; ​​the overcurrent detection circuit consists of sampling resistor R1118, 89~91, 327, and 325 triodes T68, T70, T65, T327, T325 Composition, the emitter of the 89th transistor T68 is connected to one end of the sampling resistor R1118 through the resistor R1114, the base is connected to the base of the 90th transistor T70, the collector is connected to the base of the 327th transistor T327 through the resistor R1119, and the 90th transistor The emitter of T70 is connected to the other end of the sampling resistor R1118, the collector of the 327th transistor T327 is connected to the base of the 91st transistor T65 through the resistor R1104, and the collector of the 91st transistor T65 passes through the resistor R1103 and the base of the 325th transistor T325. Connected, the collector output is connected to the ninth microcontroller U277 in the middle chassis controller; when the external device is over-current, such as the position lamp, the voltage drop on the sampling resistor R1118 increases, causing the 327th transistor T327 to turn on. The output low level causes the 91st transistor T65 to be turned on, so that the 325th transistor T325 is turned on. The low level output from the 325th transistor T325 is sent to the ninth microcontroller U277 in the middle chassis controller; the short-circuit detection circuit is controlled by the first 91, 325~326 transistors T65, T325~T326, and the 406th zener tube D406, the cathode of the 406th zener tube D406 is connected to one end of the sampling resistor R1118 through the resistor R1116, and the anode is connected to the 326th transistor T32 6, the emitter of the 326th transistor T326 is connected to the base of the 91st transistor T65 through the 1074 resistor R1074, and the collector of the 91st transistor T65 is connected to the base of the 325th transistor T325 through the 1103 resistor R1103. The electrode output is connected to the ninth microcontroller U277 in the middle chassis controller; the overcurrent and short circuit protection circuit is composed of the 93rd transistor T67 and the 307th field effect transistor T307. The input of the 93rd transistor T67 comes from the 326th in the short circuit detection circuit. At the junction of the transistor T326 and the collector of the 327th transistor T327 in the overcurrent detection circuit, its output is connected to the 307th field effect transistor T307 in the output drive circuit; when there is overcurrent or short circuit, the 93rd transistor T67 is turned on, thus The 307th FET T307 is cut off, so the external equipment is turned off to prevent damage to the external equipment, such as turn signals.
[0126] The intelligent power drive module is responsible for managing the position lights, power driving the position lights, disconnection detection, overcurrent and short circuit protection.
[0127] In this embodiment, the first to second CAN microcontrollers U1 to U2 use P87C591 chips, the third to ninth microcontrollers U262 to U263, U273 to U277 use AT90S2313 chips, the first to second random access memories U7 to U8 use HY62WT081ED, the first to second 2 Read-only memories U5~U6 use 28F512, the first to second electrically erasable read-only memories U9~U10 use X5043, the first CAN transceiver U13 uses TJA1050 chip, and the first to second LIN transceivers U20 and U261 use TJA1020 chip.
[0128]The CAN bus protocol stack runs on the CAN-LIN gateway and the CAN control module, is responsible for processing CAN bus messages, is stored in the first read-only memory U5 and the second read-only memory U6, and is received by the CAN controller The data sent by the microcontroller in the control unit processes the data and transmits it to the CAN transceiver. The CAN transceiver converts the data provided by the CAN controller module into a CAN data stream and sends it out through the data bus. At the same time, the CAN transceiver receives the data on the bus. Data, and transfer the data to the CAN controller module, and then pass it to the microcontroller after being processed by the CAN controller module. The CAN transceiver and the CAN microcontroller perform the functions of the CAN protocol data link layer and the physical layer, and use the J1939 communication protocol on the application layer. This protocol specifies various parameters used in the car, and the parameter specifications comply with ISO11992 standard.
[0129] The CAN microcontroller has a CAN controller in the internal structure, which includes a CAN core module, a CAN interface module, a sending buffer module and a receiving filter. The CAN core module controls the sending and receiving of CAN frames according to the CAN2.0B specification; CAN The interface module contains the special function register that realizes the connection between the CAN microcontroller and the CAN controller. The access to the important CAN register is realized by the bit addressing of the special function register with the fast and automatic addressing feature; the sending buffer of the CAN controller Area, can save the complete CAN information standard or extended format frame. As long as the sending of information is started by the CAN microcontroller, the byte is transferred from the sending buffer to the CAN core module. When receiving a message, the CAN core module converts the serial bit stream into parallel data and inputs it to the receiving filter. Through the programmable receiving filter, the software screens and judges the information actually received, all of which are filtered by the receiving filter. The data received by the receiver is stored in the FIFO (64 bytes). Each receive filter has a 32-bit discriminator, a 32-bit code, and a 32-bit mask; all filter configurations can be changed during operation.
[0130] Such as Figure 5 As shown, the specific process is: first perform system initialization, such as the CAN physical layer, set the communication rate, after completion, open the CAN communication port and notify the bus that the device is ready, and then wait for data on the CAN bus. If data arrives, then receive CAN After the data on the bus, it is judged whether the received data stream is valid. If it is invalid, the data is invalidated and continue to wait; otherwise, the data is validly processed. After the data is processed, the IO status or the completion of the drive action is changed, and the LIN bus is also monitored. Data; if it is the data received by LIN, judge the validity of the data, return if it is invalid, perform data processing if it is correct, then perform response processing, if CAN transmission is required, perform CAN transmission, then write buffer, and finally return to waiting for reception CAN or LIN data, save the scene.
[0131] The LIN bus protocol runs on the CAN-LIN gateway and the LIN control module, and is responsible for processing the LIN bus messages, which are stored in the first to second CAN microcontrollers U1 to U2 and the third to ninth microcontrollers U262 to U263, U273 In ~U277, data is sent by the microcontroller, processed by the microcontroller and sent to the LIN transceiver. The LIN transceiver converts the data provided by the microcontroller into an electrical signal and sends it out through the data bus. At the same time, the LIN transceiver also receives the data on the bus. And transfer the received data to the microcontroller. The microcontroller and the LIN transceiver have implemented the functions of the LIN protocol data link layer and the physical layer to realize the mutual compatibility of the two LIN devices.
[0132] The microcontroller is responsible for implementing the LIN bus protocol, waiting for the frame header information of the host, including waiting for the synchronization interval, obtaining synchronization in the synchronization area, analyzing the identification code and taking corresponding actions-receiving data or sending data, checking/sending checksum; at the same time; This microcontroller is also responsible for the collection and conversion of field data and the control of auto parts.
[0133] Such as Figure 6 As shown, the specific process is: first perform system initialization, such as a timer, etc., and then receive the synchronization byte, and then determine whether it is synchronized. If it is not synchronized, it has been waiting for synchronization, otherwise the ID field byte is received, and the received ID Field byte performs ID field parity check and decode node number. After the node number is decoded, it is judged whether the node number is correct. If it is not correct, the data is discarded and returned to waiting for the synchronization byte. If the node number is correct, the direction word is received Section, according to the received direction byte to determine whether the action to be executed is the receiving mode or the sending mode, if it is the receiving mode, continue to receive the data field and checksum, and then perform task processing, such as reading and writing the port, if it is sending Mode, send the data field and checksum, and finally return to wait and save the scene.
[0134] By adopting the CAN bus control system of the automobile body of the present invention from equipment installation to operation and maintenance, it can realize:
[0135] 1. Cancel the traditional control wiring harness and control switchboard of the automobile, and replace the vehicle wiring harness with CAN and LIN buses.
[0136] 2. The electrical equipment of the automobile adopts electronic protection, which can restore the operation of the electrical equipment.
[0137] 3. Reduce the cost of automobile assembly and inspection.
[0138] 4. Auto electrical parts have a fault diagnosis function, online automatic monitoring, and the instrument panel automatically indicates the faulty equipment after failure, so that the driver can see it at a glance.
[0139] 5. The use of small control unit and small control unit jack can save space in the car.
[0140] 6. Minimize the sensor signal line, and the control unit can achieve high-speed data transmission.
[0141] 7. The data information can be arbitrarily expanded to meet the individual needs of users.
[0142] 8. The flexibility of design and modification of automobile electrical control system is enhanced, which is convenient for users to install equipment.
[0143] 9. The control logic of the car can be changed by software configuration, which is convenient for the research and update of car performance.
[0144] 10. Enhance the versatility of vehicle sensors and make matching easier.
[0145] 11. The integrated instrument control system facilitates the realization and operation of complex functions.
[0146] 12. The production process of the car is simplified, the inspection and maintenance of the car is more convenient, the time required is reduced, and the CAN bus inspection equipment is connected to automatically complete the vehicle inspection.
[0147] 13. The formation of automotive electrical platform technology is convenient for vehicle modification and multiple vehicles to share an automotive electronic platform, reducing the cost of automotive R&D and production.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Superheating arrester of music player

InactiveCN101093699AProtects against overheating and damageSimple wiringRecord information storageRecording signal processingMusic playerLoudspeaker
Owner:LEJIN GUANGDIAN ELECTRONIC CO LTD SHANGHAI

Automobile electronic composite starter

InactiveCN102042148AReasonable circuit designSimple wiringElectric motor startersMachines/enginesPositive powerElectromagnetic interference
Owner:XIAN SHENKE ELECTRONICS RES INST

Express cabinet and express system

InactiveCN109300259ASimple wiringFacilitate production and installationCabinetsApparatus for meter-controlled dispensingEmbedded system
Owner:SHENZHEN HIVE BOX TECHNOLOGY CO LTD

Classification and recommendation of technical efficacy words

  • Simple wiring
  • Reduce workload

Nested modulator

ActiveUS20080212915A1Reduce driving voltageSimple wiringNon-linear opticsLight waveVoltage
Owner:SUMITOMO OSAKA CEMENT CO LTD +1

Frame device and its message transmitting method

InactiveCN1937782ASimple wiringEasy installation and maintenance workSelection arrangementsComputer engineering
Owner:BEIJING HUAWEI DIGITAL TECH

Hospital gown

InactiveUS7181773B1Reduce workloadQuickly exposePyjamasUndergarmentsRight clavicleSurface plate
Owner:WILLIAM BEAUMONT HOSPITAL

Method and apparatus for directionally grabbing page resource

InactiveCN101452463AIncrease yield and recallReduce workloadSpecial data processing applicationsRegular expressionDatabase
Owner:ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products