CN-121986039-A - Control device, vehicle lamp, and program
Abstract
Control variation in controlling a light source having a plurality of light emitting elements by using a plurality of control circuits is suppressed. The control device includes a plurality of control circuits communicatively connected to the control instruction device that transmits control instructions of the plurality of light sources, and controls each of the plurality of light sources in accordance with the control instructions. The control instruction means repeatedly transmits, to each of the control circuits, a common control instruction instructing the lighting modes of the plurality of light sources at a first cycle. The plurality of control circuits each receive the control instruction, control the light source based on the lighting mode designated by the control instruction based on the timing generated by the timer built in each control instruction, and repeatedly synchronize the respective timers based on the timing at which the control instruction is received in a second period longer than a unit control period which is a period required for controlling the control unit of the lighting mode, and the length is n times (n is a natural number) the first period.
Inventors
- HARUKI TAKAYUKI
- Haraki Kazuhiro
- YOKOYAMA MAKOTO
- ITO YASUO
Assignees
- 株式会社小糸制作所
Dates
- Publication Date
- 20260505
- Application Date
- 20241003
- Priority Date
- 20231102
Claims (15)
- 1. A control device includes a plurality of control circuits communicatively connected to a control instruction device that transmits control instructions of a plurality of light sources, and controlling each of the plurality of light sources according to the control instructions, wherein, The control instruction means repeatedly transmits, to each of the control circuits, a common control instruction indicating the lighting modes of the plurality of light sources at a first cycle, The plurality of control circuits respectively The control indication is received and the control information is received, Based on the timing generated by the respective built-in timers, the light source is controlled based on the lighting mode specified by the control instruction, And repeatedly synchronizing the respective timers with respect to a timing at which the control instruction is received, with respect to a second period longer than a unit control period which is a period required for controlling a control unit of the lighting mode, the length being n times the first period, wherein n is a natural number.
- 2. The control device according to claim 1, wherein, The time difference between the unit control period and the second period is set to a length such that the unit control period does not become equal to or longer than the second period due to an error of the timer of the control circuit.
- 3. The control device according to claim 1, wherein, The control circuits of the plurality of control circuits switch to control to synchronize the timer with respect to the second period with respect to a timing at which the control instruction is received when the control instruction is received from the control instruction device to designate a lighting mode different from a lighting mode at which the light source is currently controlled.
- 4. The control device according to claim 1, wherein, The control circuit is communicatively connected with the control indication means via a LIN, i.e. a local interconnect network.
- 5. The control device according to claim 1, wherein, The control instruction device and the control circuit are integrated circuits each having an arithmetic circuit.
- 6. A vehicle lamp, comprising: A plurality of light sources that constitute a display that displays a state of charge of a secondary battery mounted on a vehicle; a plurality of control circuits communicatively connected to a control instruction means that transmits control instructions of the plurality of light sources, and controlling each of the plurality of light sources according to the control instructions, The control instruction means repeatedly transmits, to each of the control circuits, a common control instruction indicating the lighting modes of the plurality of light sources at a first cycle, The plurality of control circuits respectively The control indication is received and the control information is received, Based on the timing generated by the respective built-in timers, the light source is controlled based on the lighting mode specified by the control instruction, And repeatedly synchronizing the respective timers with respect to a timing at which the control instruction is received, with respect to a second period longer than a unit control period which is a period required for controlling a control unit of the lighting mode, the length being n times the first period, wherein n is a natural number.
- 7. A program for causing each of a plurality of control circuits in a control device to realize a function, wherein, The control device is configured to include the plurality of control circuits communicatively connected to a control instruction device that transmits control instructions of a plurality of light sources, and to control each of the plurality of light sources in accordance with the control instructions, The control instruction means repeatedly transmits, to each of the control circuits, a common control instruction indicating the lighting modes of the plurality of light sources at a first cycle, The plurality of control circuits respectively The control indication is received and the control information is received, Based on the timing generated by the respective built-in timers, the light source is controlled based on the lighting mode specified by the control instruction, And repeatedly synchronizing the respective timers with respect to a timing at which the control instruction is received, with respect to a second period longer than a unit control period which is a control period of the lighting mode, the length being n times the first period, where n is a natural number, The functions include: performing control of the light source based on the lighting mode specified by the control instruction based on the timing generated by the built-in timer, and And repeatedly synchronizing the timers with respect to a timing at which the control instruction is received, with respect to a second period longer than a unit control period which is a period required for controlling a control unit in the lighting mode, the length being n times the first period, wherein n is a natural number.
- 8. A control device includes a plurality of control circuits communicatively connected to a control instruction device that transmits control instructions of a plurality of light sources, and controlling each of the plurality of light sources according to the control instructions, wherein, The control instruction means repeatedly transmits a common control instruction for instructing the lighting modes of the plurality of light sources at a predetermined cycle to each of the control circuits, The plurality of control circuits respectively receive the control indications, A first control circuit of the plurality of control circuits Controlling the light source according to the lighting mode designated by the received control instruction based on the timing generated by the built-in timer, In communication with a second control circuit of the plurality of control circuits, And transmitting a control signal indicating on or off of the light source to the second control circuit according to the on mode, The second control circuit receives the control signals and controls the respective control objects, i.e., the light sources, to be turned on or off based on the received control signals.
- 9. The control device according to claim 8, wherein, The control circuits each have a general purpose input/output port, The control signal is sent from the general purpose input output port of the first control circuit to the general purpose input output port of the second control circuit.
- 10. The control device according to claim 8, wherein, The control circuit has a LIN i.e. communication port of the local interconnect network, The control signal is sent from a communication port of the LIN of the first control circuit to the communication port of the second control circuit.
- 11. The control device according to claim 8, wherein, The second control circuit controls the lighting modes other than the lighting mode and the extinguishing mode according to the lighting modes specified by the control instructions received by the second control circuit.
- 12. The control device according to claim 8, wherein, The control instruction device and the control circuit are integrated circuits including an arithmetic circuit.
- 13. A vehicle lamp, comprising: A plurality of light sources that constitute an indicator that displays a state of charge of a secondary battery mounted on a vehicle; a plurality of control circuits communicatively connected to a control instruction means that transmits control instructions of the plurality of light sources, and controlling each of the plurality of light sources according to the control instructions, The control instruction means repeatedly transmits a common control instruction for instructing the lighting modes of the plurality of light sources at a predetermined cycle to each of the control circuits, The plurality of control circuits respectively receive the control indications, A first control circuit of the plurality of control circuits Controlling the light source according to the lighting mode designated by the received control instruction based on the timing generated by the built-in timer, In communication with a second control circuit of the plurality of control circuits, And transmitting a control signal indicating on or off of the light source to the second control circuit according to the on mode, The second control circuit receives the control signals and controls the respective control objects, namely the light sources to be turned on or turned off according to the received control signals.
- 14. A program for causing a first control circuit in a control device to realize a function, wherein, The control device includes a plurality of control circuits communicatively connected to a control instruction device that transmits control instructions of a plurality of light sources, and controls each of the plurality of light sources according to the control instructions, The control instruction means repeatedly transmits a common control instruction for instructing the lighting modes of the plurality of light sources at a predetermined cycle to each of the control circuits, The plurality of control circuits respectively receive the control indications, A first control circuit of the plurality of control circuits Controlling the light source according to the lighting mode designated by the received control instruction based on the timing generated by the built-in timer, In communication with a second control circuit of the plurality of control circuits, And transmitting a control signal indicating on or off of the light source to the second control circuit according to the on mode, The second control circuit receives the control signals and controls the respective control objects, i.e. the light sources to be turned on or off based on the received control signals, The functions include: controlling the light source according to the lighting mode designated by the received control instruction by taking the timing generated by the built-in timer as a reference; And in communication with a second control circuit of the plurality of control circuits And transmitting a control signal indicating the on or off of the light source to the second control circuit according to the on mode.
- 15. A program for causing a second control circuit in a control device to function, wherein, The control device includes a plurality of control circuits communicatively connected to a control instruction device that transmits control instructions of a plurality of light sources, and controls each of the plurality of light sources according to the control instructions, The control instruction means repeatedly transmits a common control instruction for instructing the lighting modes of the plurality of light sources at a predetermined cycle to each of the control circuits, The plurality of control circuits respectively receive the control indications, A first control circuit of the plurality of control circuits Controlling the light source according to the lighting mode designated by the received control instruction based on the timing generated by the built-in timer, In communication with a second control circuit of the plurality of control circuits, And transmitting a control signal indicating on or off of the light source to the second control circuit according to the on mode, The second control circuit receives the control signals and controls the respective control objects, i.e. the light sources to be turned on or off based on the received control signals, The functions are as follows: and receiving the control signals, and controlling the respective control objects, namely the light sources to be turned on or turned off according to the received control signals.
Description
Control device, vehicle lamp, and program Technical Field The invention relates to a control device, a vehicle lamp, and a program. Background The present application claims priority based on Japanese patent applications, japanese patent application No. 2023-188668 and Japanese patent application No. 2023-188669, both filed on month 11 of 2023, the disclosures of which are incorporated herein by reference in their entireties. Patent document 1 describes a vehicle headlamp (hereinafter referred to as a "lamp") provided with a lamp ECU (ECU: electronic Control Unit, electronic control unit) that performs control for displaying the charge amount of a battery on a communication lamp during parking. The communication lamp includes an elongated light guide body that extends continuously along a straight line or a curved line, and a plurality of light emitting elements (hereinafter, referred to as "light sources") that are arranged at intervals in the longitudinal direction of the light guide body. The lamp ECU controls the light output of each light emitting element so that the light emitting range of the light guide body changes according to the charge amount of the battery. Prior art literature Patent literature Patent document 1 International publication No. WO2019/159828A1 Disclosure of Invention First, the technical problem to be solved In the lamp described in patent document 1, when a light source having a plurality of light emitting elements is controlled so as to function as a communication lamp, it is necessary to control the light source using a plurality of control circuits (integrated circuits (ICs: INTEGRATED CIRCUIT)). The plurality of control circuits individually control the lighting of the light sources with reference to the timing generated by the respective built-in timers. However, if the timing of each control circuit is offset and accumulated due to an error (tolerance) of the timer of each control circuit, there is a possibility that a deviation of a human-recognizable degree occurs in control as a whole of the light source. The present invention has been made in view of the above circumstances, and an object thereof is to provide a control device, a vehicle lamp, and a program capable of suppressing control variations when a plurality of control circuits are used to control a light source having a plurality of light emitting elements. (II) technical scheme In order to achieve the above object, one aspect of the present invention is a control device including a plurality of control circuits communicably connected to a control instruction device that transmits control instructions of a plurality of light sources, and controlling each of the plurality of light sources in accordance with the control instructions, wherein the control instruction device repeatedly transmits a common control instruction that instructs a lighting mode of the plurality of light sources to each of the control circuits in a first period, the plurality of control circuits respectively receive the control instructions, control the light sources based on the lighting mode designated by the control instruction based on timing generated by each of the built-in timers, and repeatedly synchronize each of the timers in a second period based on timing at which the control instruction is received, wherein the second period is longer than a unit control period that is a period required for a control unit of the lighting mode (n is a natural number). In order to achieve the above object, another aspect of the present invention is a control device including a plurality of control circuits communicably connected to a control instruction device that transmits control instructions of a plurality of light sources, and controlling each of the plurality of light sources in accordance with the control instructions, wherein the control instruction device repeatedly transmits a common control instruction that instructs a lighting mode of the plurality of light sources to each of the control circuits at a predetermined cycle, the plurality of control circuits respectively receive the control instructions, a first control circuit among the plurality of control circuits controls the light sources in accordance with the lighting mode designated by the received control instruction based on a timing generated by a built-in timer, and a second control circuit among the plurality of control circuits, which receives the control signal, and controls the respective control object, that is, lighting or lighting off of the light sources, in accordance with the lighting mode, and controls the second control circuit to transmit a control signal that instructs the lighting or the lighting off of the light sources based on the received control signal. Further, the technical problems and solutions thereof disclosed by the present application are further clarified by the description of the embodiments and the drawings. (III) beneficial effects According to