Electrical equipment control system

Abstract: [OBJECT] The present invention provides an electrical equipment control system for controlling the electrical equipment of a vehicle, capable of reducing the manufacturing costs of the electrical equipment and facilitating the modification and development of the electrical system of the vehicle. [CONSTITUTION] An electrical equipment control system (10) has a central control unit (12) comprising a microcomputer (20) and a communication circuit (22). The microcomputer (20) exchanges data through the communication circuit (22) and a communication network (19) with the respective communication circuits (34, 44, 54) of an ignition I/O unit (14), a meter I/O unit (16) and a flasher relay I/O unit (18) to control the I/O units (14, 16 and 18). The electrical equipment control system (10) needs only a single microcomputer (20) and a simple I/O port and is capable of reducing the manufacturing costs of the electrical equipment.

Description: The present invention relates to an electrical equipment control system and, more specifically, to an electrical equipment control system having a single central processing unit capable of controlling a plurality of electric devices of a vehicle. A vehicle is provided with a plurality of electric devices including ignition plugs, a speed meter and winkers, and these electric devices are controlled by a microcomputer. As shown in Fig. 11 by way of example, a conventional control system for controlling the electric devices of a vehicle has a plurality of control units each provided with a microcomputer. As shown in Fig. 12, in a control system provided with a single microcomputer for controlling a plurality of electrical units, the output terminals of sensors and the input terminals of actuators are connected to the input/output port (hereinafter referred to as "I/O port") of the microcomputer. The conventional control system having a plurality of control units each provided with a microcomputer needs a plurality of microcomputers which increases the costs of the control system. The conventional control system provided with a single microcomputer for controlling a plurality of electrical units needs a large-scale I/O port and hence a large printed wiring board, and many lines connecting the sensors and the controlled devices to the I/O port concentrate in areas around the microcomputer to make the layout of a connector for connecting the I/O port and the lines difficult. In most cases, the central control unit having such a configuration must be changed entirely when the control system is modified or electric devices are added, which reduces the efficiency of developing activities. The generic GB-2142175 A shows a data transmission system between a central control unit and a plurality of local control units in an automobile. The central control unit sequentielly selects one of the local control units without any priority over other local control units. The EP-467 512 A2 shows a similar communication network for a vehicle between a central control unit and a plurality of peripheral control units. The present invention has been made to solve such problems in the conventional control systems and it is therefore an object of the present invention to provide an electrical equipment control system capable of suppressing the increase of the manufacturing costs of the electrical equipment of a vehicle, of readily coping with changes in the specifications of the electrical equipment and of facilitating the development of the system. To achieve the object, the present invention provides an electrical equipment control system for controlling a plurality of electric units incorporated into a vehicle, comprising: a plurality of I/O means comprising: sensor output read means for reading the outputs of the sensors of the electrical equipment, input data producing means for producing input data on the basis of the outputs of the sensor output read means, first communication means which transform the outputs of the input data producing means into signals of a predetermined transmission format, deliver the signals of a predetermined transmission format to a data communication network and extract driving signals for driving the electrical equipment from input signals given thereto by the data communication network, and driving means for driving the electrical equipment on the basis of the driving signals extracted by the first communication means; and a central control means comprising: second communication means connected through the data communication network respectively to the first communication means for mutual data communication with the first communication means, and control means for controlling the electrical equipment through the second communication means, according to claim 1. In the electrical equipment control system in accordance with the present invention, the input data producing means produces input data on the basis of the outputs of the sensors read by the sensor output read means of each I/O means, and the first communication means transforms the input data into signals of a predetermined transmission format and delivers the signal of a predetermined transmission format to the data communication network. The control means of the central control means reads the signal through the second communication means and produces control signals for controlling the electrical equipment on the basis of the signal and gives the control signals through the second communication means to the data communication network. The first communication means extract driving signals for driving the electrical equipment from the signals received from the data communication network and gives the driving signal to the driving means. Accordingly, the central control means is able to communicate through the data communication network with the plurality of I/O means for data communication. In the electrical equipment control system in accordance with the present invention for controlling the electrical equipment of a vehicle, the central control means communicates through the data communication network with the plurality of I/O means. Therefore, the electrical equipment control system does not need a plurality of microcomputers and reduces the manufacturing cost of the electrical equipment of the vehicle. Since the I/O means provided with the communication means are disposed separately, the I/O port of the central control means and the I/O means can be interconnected by a comparatively small number of lines and the central control means can be miniaturized. Since the I/O means can readily be replaced with another I/O means by disconnecting the former from the I/O port and connecting the latter to the I/O port, the efficiency of research activities for the development of an electrical equipment control system is improved. An electrical equipment control system in a preferred embodiment according to the present invention will be described in detail hereinafter with reference to the accompanying drawings. Fig. 1 is a block diagram of an electrical equipment control system embodying the present invention for controlling the electrical equipment of a vehicle. Fig. 2 is a block diagram of the communication circuit included in each of I/O units included in the electrical equipment control system of Fig. 1. Fig. 3 is a block diagram of a transmitter included in the communication circuit of Fig. 2. Fig. 4 is a block diagram of a receiver included in the communication circuit of Fig. 2. Fig. 5 is a block diagram of a central control unit. Fig. 6 is a flow chart of a main routine to be executed by the single central control unit of the electrical equipment control system of Fig. 1 to control a plurality of I/O units. Fig. 7 is a flow chart of a routine to be executed by the central control unit of the electrical equipment control system of Fig. 1 to control a meter I/O unit. Fig. 8 is a timing chart of assistance in explaining the operation of the transmitter of Fig. 3. Fig. 9 is a diagrammatic view of assistance in explaining the format of signals to be delivered from the central control unit and the I/O units to a communication network. Fig. 10 is a timing chart of assistance in explaining the operation of the receiver of Fig. 4. Fig. 11 is a block diagram of a conventional electrical equipment control system for controlling the electrical equipment of a vehicle. Fig. 12 is a block diagram of another conventional electrical equipment control system for controlling the electrical equipment of a vehicle. Fig. 1 is a block diagram of an electrical equipment control system 10 embodying the present invention. The electrical equipment control system 10 for a vehicle comprises a central control unit 12, I/O units, i.e., an ignition I/O unit 14, a meter I/O unit 16 and a flasher relay I/O unit 18, and a communication network 19 connecting the central control unit 12 and the I/O units 14, 16 and 18, for communication. The central control unit 12 comprises a microcomputer 20 and a communication circuit 22. The ignition I/O unit 14 comprises a rotational frequency measuring timer 26 which records period signals representing the rotational frequency of the crankshaft provided by a crank position sensor 24, a timing signal producing circuit 28 which produces an ignition timing signal for timing the igniting operation of the spark plugs, an ignition timer 32 which applies an ignition signal to the ignition coil on the basis of the ignition timing signal provided by the timing signal producing circuit 28, and a communication circuit 34 which converts a crankshaft speed signal provided by the rotational frequency measuring timer 26 into a signal of a predetermined transmission format, delivers the signal of a predetermined transmission format to the communication network 19, and receives signals from the communication network 19. The meter I/O unit 16 comprises a traveling speed measuring timer 38 which records a traveling speed signal provided by a traveling speed sensor 36, a digital-to-analog converter (hereinafter, referred to as "D/A converter") 42 which converts a digital signal for driving the indicator of a speedometer 40 into a corresponding analog signal, and a communication circuit 44 which transforms the traveling speed signal provided by the traveling speed measuring timer 38 into a signal of a predetermined transmission format, gives the signal of a predetermined transmission format to the communication network 19, and receives signals from the communication network 19. The winker I/O unit 18 comprises an analog-to-digital converter (hereinafter referred to as "A/D converter") 48 which converts a steering angle signal provided by a steering angle sensor 46 into a corresponding digital signal, a winker driver 52 for driving a flasher relay 50 for turning on and off the winker lamps, and a communication circuit 54 which transforms the steering angle signal into a signal of a predetermined transmission format, delivers the signal of a predetermined transmission format to the communication network 19 and receives signals from the communication network 19. The output signal of a manual winker switch 56 for actuating and stopping the flasher relay 50 is given to the winker driver 52. Fig. 2 is a block diagram of the communication circuit 44. The communication circuits 34 and 54 are the same as the communication circuit 44 in configuration. The communication circuit 44 comprises a transmitter 60 which transmits the traveling speed signal provided by the traveling speed measuring timer 38 to the communication network 19, and a receiver 62 which receives a signal to be delivered to the communication network 19 provided by the central control unit 12. The transmitter 60 has an output terminal through which to give a receive inhibit signal to the receiver 62, and the receiver 62 has an output terminal through which to give a transmitter start signal to the transmitter 60. An NPN transistor T r1 has a base terminal connected through a resistor R1 to the output terminal of the transmitter 60, a collector terminal connected to a communication signal I/O terminal A, and an emitter terminal connected to the negative terminal of the power supply. The base terminal is connected through a resistor R2 to the negative terminal of a power supply. A PNP transistor T r2 has a collector terminal connected to the input terminal of the receiver 62, an emitter terminal connected to the positive terminal of the power supply, and a base terminal connected through a resistor R5 to the communication signal I/O terminal A. A resistor R3 is connected across the emitter terminal and the base terminal of the transistor T r2 . A resistor R4 has one end connected to the positive terminal of the power supply and the other end connected to the communication signal I/O terminal A. Fig. 3 is a block diagram of the traveling speed measuring timer 38 and the communication circuit 44. The traveling speed measuring timer 38 comprises an L-capture register 64 which stores the lower eight bits of a traveling speed signal provided by the traveling speed sensor 36, an H-capture register 66 which stores the upper eight bits of the traveling speed signal provided by the traveling speed sensor 36, and a 16-bit automatic timer 68. The transmitter 60 comprises a register 70 which stores a communication address signal consisting of a start bit, a receive address signal and a transmit address signal, a register 72 which stores a parallel signal provided by the L-capture register 64, a register 74 which stores a parallel signal provided by the H-capture register 66, a shift register 76 which transforms the communication address signal stored in the register 70 and the traveling speed signals stored in the registers 72 and 74 into a serial signal and delivers the serial signal to the communication network 19, and a parity signal generator 78 which provides a parity signal to the shift register 76. A transmission signal U to be delivered from the meter I/O unit 16 to the communication network 19 consists of the communication address signal and the traveling speed signals. The transmitter 60 comprises further a transmission clock generator 80 which generates a transmission clock upon the reception of a transmission start signal from the receiver 62, and a data select circuit 82 which gives a receive inhibit signal to the receiver 62 upon the reception of the transmission clock from the transmission clock generator 80 and gives a clock signal to the registers 70, 72 and 74. The transfer of the contents of the registers 70, 72 and 74 to the shift register 76 is controlled by the clock signal provided by the data select circuit 82. The shift register 76 delivers the transmission signal U to the communication network 19 in synchronism with the transmission clock provided by the transmission clock generator 80. Fig. 4 is a block diagram of the receiver 62. The receiver 62 comprises a sampling circuit 84 which receives signals from the communication network 19, a shift register 86 which transforms the input signals into parallel signals, a data select circuit 88, a register 90 which receives the communication address signal from the shift register 86 and stores the same upon the reception of a select signal from the data select circuit 88, a register 92 which receives the lower eight bits of an angular deflection signal representing the angular deflection of the indicator of the speedometer 40 from the shift register 86 in response to the select signal provided by the data select circuit 88 and stores the same, and a register 94 which stores the upper eight bits of the angular deflection signal from the shift register 86 in response to the select signal provided by the data select circuit 88. The receiver 62 further comprises a receive address comparator 96 which compares the receive address signal of the communication address signal provided by the register 90 with a given receive address signal and gives a signal representing the results of comparison to the data select circuit 88, and a transmission request comparator 98 which gives a transmission start signal to the transmitter 60 when the register 90 does not provide any transmission address signal for a predetermined time. The receiver 62 further comprises a receive clock generator 100 and a data check circuit 102. The receive clock generator 100 generates a receive clock upon the reception of a receive start signal, the data check circuit 102 tests the parity of the signal given to the shift register 86. The D/A converter 42 has a D/A converter 104 for converting the digital signal provided by the register 92 into a corresponding analog signal, and a D/A converter 106 for converting the digital signal provided by the register 94 into a corresponding analog signal. Fig. 5 is a block diagram of the communication circuit 22 included in the central control unit 12. The communication circuit 22 comprises a shift register 108 which transforms the parallel data provided by the microcomputer 20 into serial data and delivers the serial data to the communication network 19, a shift register 110 which transforms the serial data received from the communication network 19 into parallel data and delivers the parallel data to the microcomputer, and a clock generator 112 which gives a clock signal to the shift registers 108 and 110. A centralized control procedure for controlling the ignition I/O unit 14, the meter I/O unit 16 and the flasher relay I/O unit 18 by the central control unit 12 in this electrical equipment control system 10 having the foregoing configuration will be described hereinafter with reference to a main flow chart shown in Fig. 6. After the engine has been started, the crank position sensor 24 gives a reference crank position signal to the rotational frequency measuring timer 26 of the ignition I/O unit 14. The crank position signal is given through the communication circuit 34 to the communication network 19. The central control unit 12 reads the reference crank position signal from the communication network 19 and calculates an engine speed on the basis of the reference crank position signal in step S1. Then, the central control unit 12 calculates an ignition time at which the spark plug is to pass an electrical discharge, and a spark duration in step S2 by using the calculated engine speed. The results of calculation are delivered to the communication network 19 in step S3. Then, the central control unit 12 reads the traveling speed signal provided by the traveling speed sensor 36 and delivered to the communication network 19 by the meter I/O unit 16 and calculates the traveling speed of the vehicle by using the traveling speed signal in step S4. Then, the central control unit 12 calculates the angular deflection of the indicator of the speedometer 40 by using the traveling speed in step S5 and delivers the results of calculation to the communication network 19 in step S6. Then, the central control unit 12 reads a steering angle signal and a steering duration signal provided by the steering angle sensor 46 and delivered to the communication network 19 by the flasher relay I/O unit 18 and calculates a steering angle by using the steering angle signal in step S7. Then, the central control unit 12 examines the steering duration to decide whether or not the winker is to be stopped in step S8, and then gives a winker control signal according to the decision made in step S8 to the communication network 19 in step S9. A query is made in step S10 to see if a control termination signal is given. Step S1 and the following steps are repeated if the response in step S10 is negative, or the centralized control procedure is terminated when the response in step S10 is affirmative. Thus, the single central control unit 12 performs the centralized control of the plurality of I/O units. A manner of communication between the central control unit 12 and the meter I/O unit 16 will be described as a typical example of manners of communication between the central control unit 12 and the I/O units 14, 16 and 18 will be described. A transmission request signal requesting the meter I/O unit 16 to transmit a signal and delivered to the communication network 19 by the central control unit 12 is given to the receiver 62 of the meter I/O unit 16 in step S20. Then, the receiver 62 gives a transmission start signal to the transmitter 60 in response to the transmission request signal, and then in step S21 the transmitter 60 delivers a transmission signal U obtained by adding a communication address signal to the traveling speed signal provided by the traveling speed measuring timer 38 to the communication network 19. Upon the reception of the transmission signal U from the communication network 19, the central control unit 12 calculates an angular deflection signal representing the angular deflection of the indicator of the speedometer 40 by using the transmission signal U and delivers a transmission signal C obtained by adding a communication address signal to the angular deflection signal to the communication network 19 in step S22. Upon the reception of the transmission signal C from the communication network 19, the receiver 62 of the meter I/O unit 16 extracts the angular deflection signal from the transmission signal C and gives the same to the D/A converter 42, and then, the D/A converter 42 converts the angular deflection signal into a corresponding analog signal and gives the same to the speedometer 40 in step S23. A procedure by which the transmitter 60 delivers the transmission U to the communication network 19 in step S20 will be described hereinafter with reference to Figs. 3 and 8. A transmission start signal (Fig. 8(a)) provided by the receiver 62 is applied to the registers 72 and 74 of the transmitter 60 and the control input terminal of the transmission clock generator 80. Upon the reception of the transmission start signal, the register 72 stores the lower eight bits of the traveling speed signal stored in the L-capture register 64, and the register 74 stores the upper eight bits of the traveling speed signal stored in the H-capture register 66. Upon the reception of the transmission start signal, the transmission clock generator 80 generates a transmission clock signal (Fig. 8(b)) synchronous with a transmission clock signal generated by the microcomputer 20 of the central control unit 12 and applies the transmission clock signal to the data select circuit 82 and the transmission shift register 76. The data select circuit 82 gives signals sequentially to the registers 70, 72 and 74, the register 70 gives the communication address signal (Fig. 8(c)) stored beforehand therein to the shift register 76, the register 72 gives the lower eight bits of the traveling speed signal (Fig. 8(d)) to the shift register 76, and the register 74 gives the upper eight bits of the traveling speed signal (Fig. 8(e)) to the shift register 76. The shift register 76 transforms the received signals into a serial signal, adds a parity bit provided by the parity signal producing circuit 78 to the serial signal to obtain a transmission signal U (Fig. 8(f)) and delivers the transmission signal U to the communication network 19. Fig. 9 shows the format of the transmission signal U thus produced. The first byte of the transmission signal U represents the communication address signal and consists of start bits, a receive address signal and a transmit address signal. Each of the second byte and the third byte of the transmission signal U consists of traveling speed data, a parity bit and a stop bit. Suppose that the start bit is "1", the address signal for the receiving central control unit 12 is "0 0 1" and the address signal for the transmitting meter I/O unit 16 is "0 1 0", and the word length is eight bits. Then, the address signal for the transmission signal U is "1 0 0 1 0 1 0 0". The operation of the central control unit for receiving the transmission signal U from the communication network 19 and delivering the angular deflection signal representing the angular deflection of the indicator of the speedometer 40 to the communication network 19 will be described hereinafter with reference to Fig. 5. The first byte of the transmission signal U provided by the meter I/O unit 16 is delivered from the communication network 19 to the receiving shift register 110 of the central control unit 12. Upon the identification of the transmission signal U provided by the meter I/O unit 16, the microcomputer 20 reads the speed data represented by the second byte and the third byte from the shift register 110, and calculates the angular deflection of the indicator of the speedometer 40 by using the speed data. A communication address signal, a parity bit and a stop bit are added to an angular deflection signal representing the calculated angular deflection to produce a transmission signal C, the shift register 108 transforms the transmission signal C of a parallel format into that of a serial format, and then the central control unit 12 delivers the serial transmission signal C to the communication network 19. The operation of the meter I/O unit 16 for receiving the transmission signal C delivered by the central control unit 12 to the communication network 19 and driving the indicator of the speedometer 40 will be described hereinafter with reference to Figs. 4 and 10. When the transmission signal C received from the communication network 19 goes LOW (Fig. 10(a)), the sampling circuit 84 of the communication circuit 44 gives a receive start signal (Fig. 10(b)) to the receive clock generator 100. Upon the reception of the receive start signal, the receive clock generator 100 generates a receive clock (Fig. 10(c)) and applies the same to the sampling circuit 84, the data select circuit 88 and the shift register 86. The receive clock generated by the receive clock generator 100 is synchronous with the transmission clock signal generated by the microcomputer 20. The sampling circuit 84 operates in synchronism with the receive clock to receive the transmission signal C in the LOW state and gives the transmission signal C to the shift register 86. The shift register 86 gives the communication address signal included in the transmission signal C to the register 90, the register 90 receives the communication address signal (Fig. 10(d)) in response to the select signal (Fig. 10(g)) provided by the data select circuit 88 and gives a receive address signal included in the communication address signal to the receive address comparator 96. The receive address comparator 96 compares the input receive address signal with a predetermined receive address signal. If both the receive address signals coincide with each other, decides that the destination of the transmission signal C is the unit to which the receive address comparator 96 belongs and gives a coincidence signal to the data select circuit 88. Upon the reception of the coincidence signal, the data select circuit 88 gives a data select signal (Fig. 10(h)) to the register 94 and gives a data select signal (Fig. 10(i)) to the register 94. Then, the register 92 reads the lower eight bits of a parallel signal (Fig. 10(e)) representing the angular deflection of the indicator from the shift register 86 and gives the same to the D/A converter 104, and the register 94 reads the upper eight bits of the parallel signal (Fig. 10(f)) representing the angular deflection of the indicator from the shift register 86 and gives the same to the D/A converter 106. The D/A converter 104 converts the input 8-bit digital signal into a corresponding analog signal and gives the analog signal to the speedometer 40, and the D/A converter 106 converts the upper 8-bit digital signal into a corresponding analog signal and gives the same to the speedometer 40. The indicator of the speedometer 40 is turned according to the input analog signals. The central control unit 12 communicates through the communication network 19 with the meter I/O unit 16 to control the angular deflection of the indicator of the speedometer 40. The central control unit communicates also with the ignition I/O unit 14 and the flasher relay I/O unit 18 to control the ignition coil 30 and the flasher relay 50. As is apparent from the foregoing description, in this embodiment, the central control unit 12 is provided with the communication circuit 22, the I/O units 14, 16 and 18 are provided respectively with the communication circuits 34, 44 and 54, and the communication circuit 22, 34, 44 and 54 are interconnected by the communication network 19 for data communication, so that the centralized control of the plurality of I/O units can be achieved by the single central control unit 12.

Claims: An electrical equipment control system for controlling the electrical equipment (30, 40, 50) of a vehicle having an engine, the system comprising: a plurality of input/output means (14, 16, 18) comprising: sensor output read means (26, 38, 48) for reading the outputs of the sensors (24, 36, 46) of the electrical equipment, input data producing means (26, 38, 48) for producing input data on the basis of the outputs of the sensor output read means (26, 38, 48), first communication means (34, 44, 54) which transforms the outputs of the input data producing means (26, 38, 48) into signals of a predetermined transmission format, deliver the signals of a predetermined transmission format to a data communication network (19) and extract driving signals for driving the electrical equipment (30, 40, 50) from input signals given thereto by the data communication network (19), and driving means (32, 42, 52) for driving the electrical equipment (30, 40, 50) on the basis of the driving signals extracted by the first communication means (34, 44, 54); and a central control means (12) comprising: second communication means (22) connected through the data communication network (19) respectively to the first communication means (34, 44, 54) for mutual data communication with the first communication means (34, 44, 54), and control means (20) for controlling the electrical equipment (30, 40, 50) through the second communication means (22), characterized in that the central control means (12) initially processes the ignition control of the engine of the vehicle. Control system according to claim 1, wherein the plurality of input/output means (14, 16, 18) include an ignition input/output means (14) and other input/output means (16, 18) and wherein the central control means (12) initially communicates with the ignition input/output means (14). Control system according to claim 2, wherein the central control means (12) communicates, initially after the start of the engine, with the ignition input/output means (14) for processing the ignition control and then successively with the other input/output means (16, 18). Control system according to claim 2 or 3, wherein the central control means (12) reads, initially after the start of the engine, a crank position of the engine from a crank position sensor (24) connected with the ignition input/output means (14) and then calculates an ignition time and delivers the ignition time to the ignition input/output means (14). Control system according to one of claims 2 - 4, wherein the ignition input/output means (14) includes a timing signal generator (28) for receiving signals from a crank position sensor (24) and an ignition timer (32) for applying ignition signals to an ignition coil (30), wherein said ignition timer (32) applies said ignition signals on the basis of an ignition timing signal provided by the timing signal generator (28) and, after the engine has been started, on the basis of an ignition time calculated by the central control unit (12) and transmitted through the communication network (19). Control system according to one of claims 2 - 5, wherein the central control unit (12), initially after the start of the engine, calculates the ignition time and transmits the calculated ignition time data to the ignition input/output means (14) and then calculates and transmits other calculated data to the other input/output means (16, 18).

Inventors: SATO MORIO, SATO, MORIO, SATO, MORIO, C/O K.K. HONDA GIJUTSU KENKYUSHO
Applicants: HONDA MOTOR CO LTD, HONDA GIKEN KOGYO KABUSHIKI KAISHA
Application year: 1994
Main classification: B60R16
IPC codes: H04Q9, B60R16