Control board, control system, control method, and computer program
By designing a general control substrate with rewritten circuit structures, and using component information to obtain control programs and wiring data, the problem of increasing number of substrates and cables in the prior art is solved, and flexible control and cost reduction of vehicle components are achieved.
Patent Information
- Application Number
- CN202380033252.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-21
- Filing Date
- 2023-04-03
- Publication Date
- 2024-11-22
AI Technical Summary
In the prior art, in order to control components on the vehicle, a dedicated control substrate and cable need to be prepared for each component in advance, resulting in an increase in the number of substrates and cable types, high management costs, and difficult to cope with the needs of rear-installation and replacement of components.
A general control substrate capable of rewriting the circuit structure is designed. By obtaining control programs and wiring data from component information, general control of different components can be achieved. A general cable can be used to reduce the number of cable types and restored when components are replaced. Pin configuration and delete stored programs.
It realizes universal control of vehicle components, reduces management costs, improves flexibility in component installation and replacement, reduces storage capacity requirements, and reduces the number of cables through general cables.
Smart Images

Figure CN119013657A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a control substrate, a control system, a control method, and a computer program. This application claims priority based on Japanese application No. 2022-070081 filed on April 21, 2022, and all the contents described in the Japanese application are cited by reference. Background Art
[0002] Control boards for controlling components (such as sensors and actuators) mounted on vehicles are known. For example, Patent Document 1 discloses an ECU (Electronic Control Unit) that generates and outputs control signals to vehicle-mounted devices such as optical sensors.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2021-132336 Summary of the invention
[0006] The control substrate disclosed herein is a control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein the substrate comprises: a connector connected to a second end on the opposite side of a cable that connects the first end to a component mounted on the vehicle; and a control unit that executes control of the component, wherein the control unit obtains wiring data related to the configuration of multiple pins included in the connector and a control program for controlling the component based on component information sent from the component via the cable.
[0007] The control method disclosed herein is a control method for a control substrate mounted on a vehicle and capable of rewriting a circuit structure, which includes: a receiving step, in which, when a component mounted on the vehicle and the control substrate are connected by a cable, component information sent from the component to the control substrate via the cable; and an acquiring step, in which, based on the component information, wiring data related to the configuration of multiple pins in the control substrate connected to the cable and a control program for controlling the component are acquired.
[0008] The computer program disclosed herein is a computer program for controlling a control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein the computer program causes the control substrate to execute: a receiving step, in which, when a component mounted on the vehicle and the control substrate are connected by a cable, component information sent from the component to the control substrate via the cable; and an acquisition step, in which, based on the component information, wiring data related to the configuration of multiple pins in the control substrate connected to the cable and a control program for controlling the component are acquired. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a diagram showing an example of a control system according to the embodiment.
[0010] Figure 2 It is a diagram schematically showing the arrangement of a plurality of pins according to an embodiment.
[0011] Figure 3 This is a flowchart showing an example of a control method according to the embodiment.
[0012] Figure 4 It is shown Figure 3 A subroutine for determining the contents of the capacity determination process.
[0013] Figure 5 This is a flowchart showing an example of a control method according to the embodiment. DETAILED DESCRIPTION
[0014] [Problems to be Solved by the Present Disclosure]
[0015] In the past, in order to control the components using the control substrate, it was necessary to pre-install a control program for controlling the components on the control substrate. In addition, for the cable used to connect the components and the control substrate, it was necessary to use a dedicated cable adjusted for the components.
[0016] Thus, it is necessary to prepare a control substrate and a cable for each component. Since there are many components mounted on a vehicle, the number of control substrates and cables increases according to the number of components, and management costs are incurred.
[0017] In view of the above-mentioned problems, an object of the present disclosure is to provide a control substrate, a control system, a control method, and a computer program that can be used more universally for components mounted on a vehicle.
[0018] [Effects of the present disclosure]
[0019] According to the present disclosure, the control substrate can be used more universally for components mounted on a vehicle.
[0020] [Description of Embodiments of the Present Disclosure]
[0021] The embodiments of the present disclosure include the following structures as the gist thereof.
[0022] (1) The control substrate disclosed in the present invention is a control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein the control substrate comprises: a connector connected to a second end on the opposite side of a cable that connects a first end to a component mounted on the vehicle; and a control unit that performs control of the component, wherein the control unit obtains wiring data related to the configuration of multiple pins included in the connector and a control program for controlling the component based on component information sent from the component via the cable.
[0023] With this configuration, the control substrate does not store the control program in advance, but acquires the control program based on component information provided from the component after the component is connected. Therefore, the control substrate can be used universally depending on the component.
[0024] (2) In the control substrate described in (1), the component information may include the control program and the wiring data.
[0025] With this configuration, the control substrate can immediately acquire the control program and wiring data from the component information.
[0026] (3) In the control substrate of (1), the component information may include identification information for identifying the component. In this case, the control unit may send the component information to an external device provided outside the vehicle via a network, and may obtain the control program sent from the external device based on the identification information.
[0027] Since the control unit obtains the control program from the external device based on the identification information, the component information only needs to include the identification information, which has a smaller capacity than the control program. Therefore, the capacity required for the storage unit of the component can be reduced.
[0028] (4) In the control substrate described in (3), the control unit may acquire the wiring data transmitted from the external device based on the identification information.
[0029] With this configuration, the component information need not include the control program and the wiring data, and thus the capacity required for the storage unit of the component can be further reduced.
[0030] (5) In any of the control substrates described in (1) to (4), the control unit may rewrite the configuration of the plurality of pins into a configuration for controlling the component based on the wiring data, and then execute control of the component based on the control program.
[0031] By configuring in this way, even when a universal cable is used as the cable, the components can be controlled. Thus, it is not necessary to prepare cables for each type of component, and the cost of management can be further reduced by reducing the number of types of cables.
[0032] (6) In the control substrate of (5), when the first end is removed from the component or the second end is removed from the connector, the control unit can restore the configuration of the plurality of pins to a state before the rewriting based on the wiring data is performed.
[0033] This allows freeing up the capacity of the storage unit included in the control substrate. Therefore, when another component is connected next time, capacity for storing component information transmitted from the other component in the storage unit can be ensured.
[0034] (7) In the control substrate described in (5) or (6), when the first end is removed from the component or the second end is removed from the connector, the control unit may delete the control program from the control substrate.
[0035] This allows freeing up the capacity of the storage unit included in the control substrate. Therefore, when another component is connected next time, capacity for storing component information transmitted from the other component in the storage unit can be ensured.
[0036] (8) The control system disclosed in the present invention includes any one of the control substrates (1) to (7), the cable, and the components.
[0037] (9) The control method disclosed in the present invention is a control method for a control substrate mounted on a vehicle and capable of rewriting a circuit structure, which includes: a receiving step of receiving component information sent from the component to the control substrate via the cable when a component mounted on the vehicle and the control substrate are connected by a cable; and an acquisition step of acquiring wiring data related to the configuration of multiple pins in the control substrate connected to the cable and a control program for controlling the component based on the component information.
[0038] With this configuration, the control substrate does not store the control program in advance, but acquires the control program based on component information provided from the component after the component is connected. Therefore, the control substrate can be used universally depending on the component.
[0039] (10) The computer program disclosed in the present invention is a computer program for controlling a control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein the computer program causes the control substrate to execute: a receiving step of receiving component information sent from the component to the control substrate via the cable when a component mounted on the vehicle and the control substrate are connected by a cable; and an acquisition step of acquiring wiring data related to the configuration of multiple pins in the control substrate connected to the cable and a control program for controlling the component based on the component information.
[0040] With this configuration, the control substrate does not store the control program in advance, but acquires the control program based on component information provided from the component after the component is connected. Therefore, the control substrate can be used universally depending on the component.
[0041] [1. Details of embodiments of the present disclosure]
[0042] Hereinafter, details of the embodiments of the present disclosure will be described with reference to the drawings.
[0043] [1.1 Control system structure]
[0044] Figure 1 It is a diagram showing a configuration example of a control system 1 according to an embodiment.
[0045] The control system 1 is a system mounted on a vehicle V1 such as an automobile. The control system 1 includes a control substrate 10, components 20, cables 30, and a control device 40. Each of these components 10, 20, 30, and 40 is mounted on the vehicle V1.
[0046] The control substrate 10 is a substrate capable of rewriting (reconfiguring) its internal circuit structure. The control substrate 10 is, for example, a PLD (Programmable Logic Device). The control substrate 10 may be a CPLD (Complex PLD) among PLDs, or an FPGA (Field Programmable Gate Array).
[0047] The control substrate 10 is connected to the component 20 via a cable 30. The control substrate 10 controls the component 20 based on a control program PR1 described later. Specifically, the control substrate 10 includes a control unit 11, a storage unit 12, a reading unit 13, a connector 14, and a port 15. These components 11, 12, 13, 14, and 15 are electrically connected by a bus B1, and can transmit and receive signals to each other.
[0048] The control unit 11 includes a circuit structure such as a processor. Specifically, the control unit 11 includes one or more CPUs (Central Processing Units). The processor included in the control unit 11 may also be a GPU (Graphics Processing Unit). In addition, the control unit 11 includes a programmable circuit that can rewrite its own internal circuit structure. The control unit 11 reads out the computer program stored in the storage unit 12 and performs various operations and controls.
[0049] The storage unit 12 has a volatile memory and a nonvolatile memory, and stores various data. The volatile memory includes, for example, a RAM (Random Access Memory). The nonvolatile memory includes, for example, a flash memory, a HDD (Hard Disk Drive), an SSD (Solid State Drive), or a ROM (Read Only Memory). The storage unit 12 stores, for example, computer programs and various parameters in the nonvolatile memory.
[0050] The reading unit 13 reads information from a computer-readable recording medium 16. The recording medium 16 is, for example, an optical disk such as a CD or a DVD or a USB flash memory. The reading unit 13 is, for example, an optical drive or a USB terminal. The recording medium 16 records a computer program and various parameters. By making the reading unit 13 read the recording medium 16, the computer program and various parameters are stored in the non-volatile memory of the storage unit 12.
[0051] The connector 14 is connected to the cable 30. More specifically, the cable 30 includes a first end 31 connected to the connector 22 of the component 20, a second end 32 opposite to the first end 31, and a wiring 33 connecting the first end 31 and the second end 32. The second end 32 of the cable 30 is connected to the connector 14.
[0052] Figure 2 1 is a diagram schematically showing the configuration (pin assignment) of a plurality of pins included in the connector 14. Figure 2 In the example, the connector 14 includes 10 pins, but the number of pins is not particularly limited. The plurality of pins are grouped according to their functions. Below, as an example of grouping, the first pin group X1, the second pin group X2, and the third pin group X3 are described, and the plurality of pins may also have groups other than these X1 to X3. In addition, the number of pins included in each of these groups X1 to X3 is an example, and may be other numbers.
[0053] For example, two pins P1 and P2 belong to the first pin group X1. The first pin group X1 is a dedicated pin group for basic communication between the control substrate 10 and the component 20. The first pin group X1 is commonly used regardless of the type of the component 20. Therefore, in the control method described below, the pin configuration in the first pin group X1 does not change.
[0054] For example, two pins P3 and P4 belong to the second pin group X2. The second pin group X2 is a pin group for initial communication used when the control substrate 10 and the component 20 perform initial communication (initial communication). The second pin group X2 is commonly used regardless of the type of the component 20. Therefore, in the control method described later, the pin configuration in the second pin group X2 does not change.
[0055] For example, six pins P5, P6, P7, P8, P9, and P10 belong to the third pin group X3. The third pin group X3 is a control pin group used to control the component 20. The third pin group X3 is a general configuration in an initial state, and cannot control the component 20 in the original configuration. Therefore, the control unit 11 changes the circuit structure based on the wiring data D2 described later, and rewrites the configuration of the plurality of pins P5, P6, P7, P8, P9, and P10 included in the third pin group X3 into a configuration for controlling the component 20.
[0056] Reference Figure 1 The port 15 is connected to the control device 40 via a communication line. The control device 40 is, for example, an ECU (Electronic Control Unit) that assists the operation of the control substrate 10. The control device 40 includes a control unit, a storage unit, and a communication unit (not shown).
[0057] The control unit of the control device 40 includes a circuit configuration such as a processor, similarly to the control unit 11. The storage unit of the control device 40 includes a volatile memory and a nonvolatile memory, similarly to the storage unit 12, and stores various data.
[0058] The communication unit of the control device 40 is an interface for wirelessly communicating with the external device 50 via a network N1 such as the Internet (a network outside the vehicle V1). The communication unit is, for example, a TCU (Telematics Communication Unit).
[0059] The external device 50 is a device installed outside the vehicle V1. The external device 50 is, for example, a server including a control unit, a storage unit, and a communication unit. The storage unit of the external device 50 stores, for example, programs or data for controlling each part of the control system 1 (for example, the control substrate 10 and the component 20).
[0060] For example, the manufacturer of the component 20 modifies the control program PR1 for controlling the component 20 as needed, and saves the modified control program PR1 to the storage unit of the external device 50 at any time. At this time, the identification information D3 for identifying the component 20 (for example, the serial number of the component 20) and the control program PR1 of the component 20 are stored in a state of being associated. The communication unit of the external device 50 transmits the modified control program PR1 to the control device 40 in response to a request from the control device 40. The external device 50 is also called an OTA (Over The Air) server.
[0061] The component 20 is, for example, a sensor for detecting the state of the vehicle V1. In this case, the component 20 may be an illumination sensor or a temperature sensor. In this case, the component 20 transmits the detected state of the vehicle V1 to the control board 10 via the cable 30 as a detection signal.
[0062] The component 20 may also be an actuator for driving various parts of the vehicle V1. In this case, the component 20 may be an opening and closing drive unit for opening and closing a sunroof or a door, or a seat heater for heating a seat. In this case, the component 20 is driven based on a control signal transmitted from the control substrate 10 via the cable 30.
[0063] The component 20 may also be a combination of a sensor and an actuator. For example, the component 20 is a combination of an illuminance sensor and an opening and closing drive unit for opening and closing a sunroof. In this case, the illuminance sensor included in the component 20 sends a detection signal to the control substrate 10 via the cable 30, and the control substrate 10 generates a control signal based on the detection signal and sends the control signal to the component 20 via the cable 30. Then, the opening and closing drive unit included in the component 20 opens and closes the sunroof based on the control signal. With such a configuration, the sunroof can be opened and closed according to the illuminance.
[0064] It should be noted that the component 20 may also be a set of a temperature sensor and a seat heater. In this case, the temperature sensor included in the component 20 sends a detection signal to the control substrate 10 via the cable 30, and the control substrate 10 generates a control signal based on the detection signal and sends the control signal to the component 20 via the cable 30. Then, the seat heater included in the component 20 heats the seat based on the control signal. With such a configuration, the seat can be heated according to the temperature.
[0065] The component 20 may be mounted on the vehicle V1 at the time of shipment of the vehicle V1. That is, the component 20 may be a component originally installed on the vehicle V1. In addition, the component 20 may be added to the vehicle V1 after the shipment of the vehicle V1. For example, the user of the vehicle V1 may add the component 20 by himself (or entrust a dealer, etc.) after the delivery of the vehicle V1. That is, the component 20 may be a component installed later on the vehicle V1.
[0066] The component 20 includes a microcontroller unit 21 (hereinafter referred to as “microcomputer 21 ”) and a connector 22 . The connector 22 is connected to a first end 31 of a cable 30 . The microcomputer 21 includes a control unit 23 and a storage unit 24 .
[0067] The control unit 23 includes a circuit structure such as a processor. Specifically, the control unit 23 includes one or more CPUs. The processor included in the control unit 23 may also be a GPU. The control unit 23 reads out a computer program stored in the storage unit 24 and executes various calculations and controls.
[0068] The storage unit 24 has a volatile memory and a nonvolatile memory, and stores various data. The volatile memory includes, for example, a RAM. The nonvolatile memory includes, for example, a flash memory or a ROM. The storage unit 24 stores computer programs, information related to the component 20, namely, component information D1, and other various data in the nonvolatile memory.
[0069] The component information D1 includes, for example, a control program PR1 and wiring data D2. The control program PR1 is a program for controlling the component 20. The wiring data D2 is data related to the configuration of a plurality of pins included in the connector 14. More specifically, the wiring data D2 is data for rewriting the configuration of the pins P5, P6, P7, P8, P9, and P10 included in the third pin group X3 into a configuration suitable for the control of the component 20, for example, including the designation of the pin allocation in the third pin group X3.
[0070] The cable 30 is a harness cable for a vehicle in which a plurality of communication lines are bundled. The cable 30 is not a dedicated line adjusted for the component 20, but a general-purpose cable in which a plurality of communication lines function as a general-purpose line.
[0071] Among the plurality of communication lines included in the cable 30 , the communication lines connected to the pins P1 and P2 (first pin group X1 ) of the connector 14 function as a communication line group (first communication line group) for basic communication between the control board 10 and the component 20 .
[0072] Among the plurality of communication lines included in the cable 30 , the communication lines connected to the pins P3 and P4 (second pin group X2 ) of the connector 14 function as a communication line group (second communication line group) for initial communication between the control board 10 and the component 20 .
[0073] Among the plurality of communication lines included in the cable 30 , the communication lines connected to the pins P5 , P6 , P7 , P8 , P9 , and P10 (third pin group X3 ) of the connector 14 function as a communication line group (third communication line group) for controlling the control component 20 .
[0074] [1.2 Issues of the present embodiment]
[0075] In order to control the component 20 using the control board 10, a control program PR1 for controlling the component 20 needs to be installed on the control board 10. Also, a cable 30 connecting the control board 10 and the component 20 needs to have a pin assignment corresponding to the component 20.
[0076] Conventionally, a control program PR1 is installed in advance on the control board 10 (that is, before the component 20 is connected to the control board 10 via the cable 30) to control the component 20. Conventionally, a cable 30 having a pin assignment corresponding to the component 20 (dedicated cable) is prepared in advance.
[0077] Therefore, it is necessary to prepare a control substrate 10 and a cable 30 for each type of component 20. Furthermore, since the components 20 mounted on the vehicle V1 are various, the number of control substrates 10 and cables 30 increases according to the number of components 20, and management costs are incurred.
[0078] In addition, there is a demand for retrofitting the component 20 after the vehicle V1 is shipped. Conventionally, in order to retrofit the component 20, in addition to the component 20, it is necessary to prepare a control substrate 10 and a cable 30 corresponding to the component 20. Therefore, the demand for retrofitting the component 20 may not be met because the retrofitting of the component 20 costs a lot or requires a lot of space.
[0079] In addition, there is also a need to replace the control substrate 10 with the component 20. For example, sometimes it is desired to replace the actuator that drives the sunroof to open and close with a combination of an illuminance sensor and an actuator. In the past, even if the control substrate 10 and the cable 30 remain unchanged and only the component 20 is replaced, the component 20 cannot be controlled.
[0080] Therefore, in the control system 1 of the present embodiment, the component information D1 is stored in advance in the storage unit 24 of the component 20, and when the component 20 is connected to the control substrate 10 via the cable 30, the component information D1 is transmitted from the component 20 to the control substrate 10. Then, the control substrate 10 obtains the wiring data D2 and the control program PR1 based on the component information D1. After the control substrate 10 rewrites the pin assignment of the connector 14 to a configuration suitable for the control of the component 20 based on the wiring data D2, the control substrate 10 executes the control of the component 20 based on the control program PR1.
[0081] In this way, the control substrate 10 does not store the control program PR1 in advance, but acquires the control program PR1 based on the component information D1 provided from the component 20 after the component 20 is connected, so that the control substrate 10 can be used universally according to the component 20. As a result, it is not necessary to prepare a control substrate 10 for each type of component 20, and by reducing the number of types of control substrates 10, the cost spent on management and the like can be reduced.
[0082] Furthermore, since the control program PR1 is acquired after the component 20 is connected, the control substrate 10 can also cope with the after-sales installation or replacement of the component 20. Therefore, it is possible to more flexibly cope with the needs of users that were difficult to respond to in the past.
[0083] Furthermore, since the control substrate 10 rewrites the pin assignment of the connector 14 to a configuration suitable for the control of the component 20 based on the wiring data D2, a universal cable can be used as the cable 30. Thus, it is not necessary to prepare a cable 30 for each type of component 20, and by reducing the number of types of cables 30, the cost spent on management and the like can be further reduced.
[0084] Hereinafter, the control method in the control system 1 will be described in detail.
[0085] [1.3 Control method]
[0086] [1.3.1 Control during component connection]
[0087] The control performed by the control substrate 10 when the component 20 is connected to the control substrate 10 will be described.
[0088] Figure 3 1 is a flowchart showing an example of a control method executed by the control system 1. Figure 3 , the control executed by the control substrate 10 is shown. The control executed by the control substrate 10 is realized by the control unit 11 reading a computer program from the storage unit 12 (or following a program written in advance in the control unit 11) and executing various calculations and processes. Figure 3 The steps shown may be reversed in order as appropriate. For example, the order of step S13 and step S14 described later may be reversed.
[0089] First, the control unit 11 detects that the component 20 is connected to the control substrate 10 via the cable 30 (step S11). Specifically, when the first end 31 of the cable 30 is connected to the connector 22 of the component 20 and the second end 32 of the cable 30 is connected to the connector 14 of the control substrate 10, connection information indicating that the connection is completed is sent from the component 20 to the control substrate 10 via the cable 30. The connection information is input to the first pin group X1 of the connector 14 via the first communication line group of the cable 30, for example. The connection information is continuously input to the first pin group X1 while the component 20 is connected. The control unit 11 detects that the component 20 is connected based on the input connection information.
[0090] The input of the connection information is common regardless of the type of the component 20. Therefore, the first pin group X1 of the connector 14 does not need to be adjusted for each component 20 and can be used universally.
[0091] Next, the component information D1 is transmitted from the component 20 to the control board 10 via the cable 30. The control unit 11 determines whether or not there is enough capacity for storing the component information D1 in the storage unit 12 (capacity determination process: step S12).
[0092] Figure 4 This is a subroutine that shows the content of the capacity determination process. Figure 4 The steps shown may be reversed in order. For example, the order of step S22 and step S23 described later may be reversed. Figure 4 The steps shown may be omitted as appropriate. For example, steps S21 to S24 described later may be omitted, and only step S20 described later may be executed.
[0093] First, the control board 10 receives the component information D1 (initial communication: step S20 ). The component information D1 is transmitted from the component 20 and input to the second pin group X2 of the connector 14 via the second communication line group of the cable 30 .
[0094] The input of the component information D1 is common regardless of the type of the component 20. Therefore, the second pin group X2 of the connector 14 does not need to be adjusted for each component 20 and can be used universally.
[0095] Next, the control unit 11 determines whether there is enough capacity to store the component information D1 in the storage unit 12 (step S21). If there is enough capacity (yes in step S21), the control unit 11 proceeds to the process of step S13.
[0096] In the case where there is no capacity (No in step S21), the control unit 11 notifies the user of the insufficient capacity (step S22). For example, the control unit 11 displays "Insufficient capacity" and the like on a display unit (such as a display) not shown in the figure connected to the control substrate 10. In this case, countermeasures such as "Do you want to refresh the memory?" and options such as "OK" and "No" asking whether the countermeasure can be executed may also be further displayed on the display unit. For example, if the user uses an input unit (such as a button) not shown in the figure connected to the control substrate 10 and selects "OK" displayed on the display unit, the control unit 11 refreshes the storage unit 12. For example, the control unit 11 deletes the control program used to control the components that are not currently connected from the storage unit 12.
[0097] After that, the control unit 11 temporarily stores the component information D1 in a storage device (external storage device) outside the control substrate 10 (step S23). The external storage device is, for example, a storage unit of the control device 40. In this case, the control unit 11 sends the component information D1 to the control device 40 via the port 15, and stores the component information D1 in the storage unit of the control device 40. It should be noted that another device may be prepared as the external storage device.
[0098] Next, after step S23, after a predetermined time has passed, the control unit 11 determines again whether there is capacity for storing the component information D1 in the storage unit 12 (step S24). If there is no capacity (No in step S24), the control unit 11 repeats step S24. If there is capacity (Yes in step S24), the control unit 11 proceeds to the process of step S13.
[0099] Reference Figure 3 The control unit 11 stores the component information D1 in the storage unit 12. The component information D1 includes the wiring data D2 and the control program PR1. Therefore, the control unit 11 acquires the wiring data D2 (step S13) and acquires the control program PR1 (step S14) by storing the component information D1 in the storage unit 12. That is, the control unit 11 installs the control program PR1 based on the component information D1.
[0100] Next, the control unit 11 rewrites the arrangement of the plurality of pins P5, P6, P7, P8, P9, and P10 included in the third pin group X3 into an arrangement for controlling the component 20 based on the wiring data D2 (rewriting process: step S15). Thus, even when a universal cable is used as the cable 30, a state in which the component 20 can be controlled can be achieved. Thus, it is not necessary to prepare a cable 30 for each type of the component 20, and by reducing the number of types of the cable 30, the cost spent on management and the like can be further reduced.
[0101] After that, the control unit 11 controls the component 20 based on the control program PR1 (step S16). In this way, the control substrate 10 does not store the control program PR1 in advance, but acquires the control program PR1 based on the component information D1 provided from the component 20 after the component 20 is connected, so the control substrate 10 can be used universally according to the component 20. As a result, it is not necessary to prepare a control substrate 10 for each type of component 20, and by reducing the number of types of control substrates 10, the cost spent on management and the like can be reduced.
[0102] [1.3.2 Control when taking out parts]
[0103] The control performed by the control board 10 when the component 20 is removed from the control board 10 will be described.
[0104] Figure 5 1 is a flowchart showing an example of a control method executed by the control system 1. Figure 5 , the control performed by the control substrate 10 is shown. Figure 5 The steps shown may be reversed in order as appropriate. For example, the order of step S33 and step S34 described later may be reversed.
[0105] First, the component 20 is removed from the control board 10 (step S31). For example, the first end 31 of the cable 30 is removed from the connector 22 of the component 20. It should be noted that the second end 32 of the cable 30 may also be removed from the connector 14 of the control board 10. In either case, the component 20 is removed from the control board 10.
[0106] Next, the control unit 11 detects that the component 20 is removed (step S32). Specifically, when the component 20 is removed from the control board 10, the connection information is no longer input from the component 20 to the control board 10. The control unit 11 detects that the component 20 is removed based on the interruption of the connection information.
[0107] After detecting that the component 20 has been removed, the control unit 11 initializes the configuration of the third pin group X3 (step S33). Specifically, the control unit 11 restores the configuration of the plurality of pins P5, P6, P7, P8, P9, and P10 included in the third pin group X3 to the configuration of executing step S15 ( Figure 3 ) is the state before the rewriting process. As a result, the third pin group X3 becomes a common configuration (initial state).
[0108] Next, the control unit 11 deletes (uninstalls) the control program PR1 stored in the storage unit 12 (step S34). Here, "deleting the control program PR1" may be to completely erase the control program PR1 from the storage unit 12, or to leave the control program PR1 in the storage unit 12 while covering the area in the storage unit 12 where the control program PR1 is stored. In either case, the capacity of the storage unit 12 can be freed. Therefore, when another component 20 is connected after the component 20 is removed, the capacity for storing the component information D1 sent from the other component 20 in the storage unit 12 can be ensured.
[0109] In step S34, the control unit 11 may also delete the wiring data D2 stored in the storage unit 12. As with the control program PR1, the control unit 11 may completely erase the wiring data D2 from the storage unit 12, or may leave the wiring data D2 in the storage unit 12 while covering the area in the storage unit 12 where the wiring data D2 is stored. That is, in step S34, the control unit 11 may also delete both the control program PR1 and the wiring data D2 (that is, the component information D1). In this way, the capacity of the storage unit 12 can be further freed, so that when other components 20 are connected next time, the capacity for storing the component information D1 sent from the other components 20 in the storage unit 12 can be more reliably ensured.
[0110] It should be noted that, in step S34, the control unit 11 may delete the wiring data D2 without deleting the control program PR1. Even in the case of such a configuration, the capacity of the storage unit 12 can be freed.
[0111] [2. Modifications]
[0112] Hereinafter, a modification of the embodiment will be described. In the modification, the same reference numerals are given to the same configuration as that of the above-described embodiment, and description thereof will be omitted.
[0113] [2.1 Modification 1 of component information]
[0114] In the above-mentioned embodiment, the component information D1 includes the wiring data D2 and the control program PR1, and the control unit 11 immediately obtains the wiring data D2 and the control program PR1 through the component information D1 sent from the component 20. In contrast, the component information D1 of this modification includes identification information D3 for identifying the component 20. The identification information D3 is, for example, the serial number of the component 20. In this case, the component information D1 may not include the wiring data D2 and the control program PR1.
[0115] Reference Figure 1 and Figure 3 .
[0116] The control board 10 of this modification executes steps S11 and S12 similarly to the embodiment. Then, the control board 10 acquires the wiring data D2 and the control program PR1 from the external device 50 via the network N1 based on the identification information D3 (steps S13 and S14).
[0117] Specifically, the control unit 11 receives the component information D1 including the identification information D3 from the component 20, and transmits the identification information D3 to the control device 40 via the port 15. The control device 40 transmits the identification information D3 to the external device 50 via the network N1. The wiring data D2 and the control program PR1 are stored in the external device 50 in association with the identification information D3.
[0118] The external device 50 transmits the wiring data D2 and the control program PR1 corresponding to the received identification information D3 to the control device 40 via the network N1. The control device 40 transmits the received wiring data D2 and the control program PR1 to the control substrate 10. The control unit 11 stores the received wiring data D2 and the control program PR1 in the storage unit 12. Thus, the control unit 11 acquires the wiring data D2 and the control program PR1.
[0119] In this case, since the control unit 11 obtains the wiring data D2 and the control program PR1 from the external device 50 based on the identification information D3, the component information D1 does not need to include the wiring data D2 and the control program PR1, and the component information D1 only needs to include the identification information D3 having a smaller capacity than the total of the wiring data D2 and the control program PR1. Therefore, the capacity required for the storage unit of the component 20 can be reduced.
[0120] The control program PR1 stored in the external device 50 is updated as needed. Therefore, the control substrate 10 can obtain the latest control program PR1 (for example, the control program PR1 corrected from the initial release version), and thus can control the component 20 more appropriately.
[0121] [2.2 Modification 2 of component information]
[0122] In the above modification, control unit 11 obtains both wiring data D2 and control program PR1 from external device 50 based on identification information D3. However, control unit 11 may obtain control program PR1 from external device 50 based on identification information D3 and obtain wiring data D2 from component information D1.
[0123] In this case, the component information D1 includes the wiring data D2 and the identification information D3. The control unit 11 extracts the wiring data D2 from the received component information D1 and stores it in the storage unit 12. Thus, the control unit 11 obtains the wiring data D2. In addition, the control unit 11 extracts the identification information D3 from the component information D1 and sends it to the external device 50 via the control device 40 and the network N1. In addition, the control unit 11 obtains the control program PR1 sent from the external device 50 by storing it in the storage unit 12.
[0124] In the case of this modification, the component information D1 does not need to include the control program PR1. Since the control unit 11 obtains the control program PR1 from the external device 50 based on the identification information D3, the component information D1 only needs to include the identification information D3 having a smaller capacity than the control program PR1 instead of the control program PR1. Therefore, the capacity required for the storage unit of the component 20 can be reduced.
[0125] It should be noted that the component information D1 may include the control program PR1 and the identification information D3. In this case, the control unit 11 acquires the control program PR1 included in the component information D1 and acquires the wiring data D2 from the external device 50 via the network N1 based on the identification information D3.
[0126] [2.3 Control by control device]
[0127] In the above-described embodiment, the control substrate 10 controls the component 20. However, when the control of the component 20 is more complicated, the calculation and processing executed by the control substrate 10 may be shared with the control device 40.
[0128] For example, when the component 20 is a set of an actuator and an illuminance sensor for driving the sunroof to open or close, the control device 40 may determine whether the sunroof needs to be opened or closed based on the detection signal of the illuminance sensor, and then instruct the control substrate 10 to open or close the sunroof, and the control substrate 10 generates and outputs a control signal for the actuator based on the instruction. Alternatively, the control device 40 may generate a control signal for the actuator and send it to the control substrate 10, and the control substrate 10 may relay the received control signal to the component 20 as it is.
[0129] With this configuration, the processing load on the control unit 11 can be reduced.
[0130] In this case, for example, the control program PR1 describes the processing executed by the control substrate 10 and the processing executed by the control device 40. After acquiring the control program PR1 in step S14, the control unit 11 copies the control program PR1 as it is and sends it to the control device 40, thereby installing the control program PR1 in the control device 40. It should be noted that the control unit 11 may extract only the portion of the processing shared by the control device 40 in the control program PR1 and send only this portion.
[0131] [3.Supplementary Note]
[0132] It should be noted that, with respect to the above-mentioned embodiments and various modifications, at least a part of them may be arbitrarily combined with each other. In addition, it should be considered that the embodiments and modifications disclosed this time are illustrative and non-restrictive in all aspects. The scope of the present disclosure is indicated by the claims, and is intended to include all changes within the meaning and scope equivalent to the claims.
[0133] Description of Reference Numerals
[0134] 1 Control system
[0135] 10 Control board
[0136] 11. Control Unit
[0137] 12 Storage
[0138] 13 Reading unit
[0139] 14 Connectors
[0140] 15 Ports
[0141] 16 Recording Media
[0142] 20 Components
[0143] 21 Microcontroller unit (microcomputer)
[0144] 22 Connectors
[0145] 23 Control Department
[0146] 24 Storage
[0147] 30 Cable
[0148] 31 First End
[0149] 32 Second End
[0150] 33 Wiring
[0151] 40 Control device
[0152] 50 External devices
[0153] V1 Vehicle
[0154] N1 Network
[0155] B1 Bus
[0156] P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 pins
[0157] X1 First pin group
[0158] X2 Second pin group
[0159] X3 Third pin group
[0160] D1 Component Information
[0161] D2 wiring data
[0162] D3 Identification Information
[0163] PR1 control program.
Claims
1. A control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein: have: a connector connected to a second end of a cable that connects a first end to a component mounted on the vehicle, the second end being connected to the second end opposite to the first end; and A control unit for executing control of the components, The control unit acquires wiring data related to the arrangement of a plurality of pins included in the connector and a control program for controlling the component based on component information transmitted from the component via the cable.
2. The control substrate according to claim 1, The component information includes the control program and the wiring data.
3. The control substrate according to claim 1, The component information includes identification information for identifying the component. The control unit transmits the component information to an external device provided outside the vehicle via a network. The control unit acquires the control program transmitted from the external device based on the identification information.
4. The control substrate according to claim 3, The control unit acquires the wiring data transmitted from the external device based on the identification information.
5. The control substrate according to any one of claims 1 to 4, The control unit rewrites the arrangement of the plurality of pins into an arrangement for controlling the component based on the wiring data, and then controls the component based on the control program.
6. The control substrate according to claim 5, When the first end is removed from the component or the second end is removed from the connector, the control unit restores the arrangement of the plurality of pins to a state before rewriting based on the wiring data.
7. The control substrate according to claim 5, When the first end is removed from the component or the second end is removed from the connector, the control unit deletes the control program from the control substrate.
8. A control system comprising: The control substrate according to any one of claims 1 to 4; the cable; and The components.
9. A control method for a control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein: include: a receiving step of receiving component information transmitted from the component to the control board via the cable when the component mounted on the vehicle and the control board are connected by a cable; and The acquisition step acquires, based on the component information, wiring data related to the arrangement of a plurality of pins connected to the cable in the control substrate and a control program for controlling the component.
10. A computer program for controlling a control substrate mounted on a vehicle and capable of rewriting a circuit structure, wherein: The computer program causes the control substrate to execute: a receiving step of receiving component information transmitted from the component to the control board via the cable when the component mounted on the vehicle and the control board are connected by a cable; and The acquisition step acquires, based on the component information, wiring data related to the arrangement of a plurality of pins connected to the cable in the control substrate and a control program for controlling the component.
