Electronic device and abnormality detection method

The system uses a detection circuit to invert signal levels when power is cut off, enabling accurate detection of power loss to peripheral control boards without additional signal lines, addressing the inability of conventional methods to distinguish power cutoff from other communication failures.

JP2024135371APending Publication Date: 2024-10-04RICOH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023046009
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Conventional methods fail to detect power cutoff to peripheral control boards due to blown fuses, as they do not account for communication failures without additional signal lines.

Method used

A system that includes a detection circuit on the peripheral control board to invert the signal level when power is cut off, allowing the main control board to detect this condition without additional signal lines by monitoring the signal level for a predetermined time.

Benefits of technology

Enables detection of power cutoff to peripheral control boards on the main control board side, distinguishing it from other communication errors, thus improving fault detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135371000001_ABST
    Figure 2024135371000001_ABST
Patent Text Reader

Abstract

To provide an electronic device and an abnormality detection method capable of detecting that power supply to a peripheral device control board has been cut off on a side of a main body control board without adding a new signal line between the main body control board and the peripheral device control board.SOLUTION: An electronic device includes: a first board; a second board that receives power supply from the first board; a first control device that controls operation of the first board; a second control device that performs serial communication with the first control device; cutoff means that cuts off the power supply from the first board when an overcurrent occurs in the second board; and a logic inversion circuit that inverts a logic of a signal level of a communication line transmitted from the second control device to the first control device in the serial communication when the power supply from the first board to the second board is cut off by the cutoff means. If the serial communication with the second control device becomes impossible, when it is determined that the signal level of the communication line has been inverted for a predetermined time, the first control device detects that the power supply from the first board to the second board has been cut off by the cutoff means.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic device and an anomaly detection method. [Background technology]

[0002] When an electronic device is equipped with optional devices, the main body control board that controls the electronic device main body may supply power to another control board (peripheral device control board) that controls the optional devices, etc., and perform data communication via serial communication, etc. For example, when the electronic device is an image forming device, the main body control board that controls the image forming device main body supplies power to, for example, a finisher device as an optional device, or another control board (peripheral device control board) mounted on an operation panel, etc., and a technology is known in which data communication is performed via serial communication, etc.

[0003] As a technology for data communication between such a main control board and a peripheral control board, a technology has been disclosed in which a sub-SoC (System on a Chip) mounted on the peripheral control board (sub-board) is reset when the sub-SoC enters an abnormal state (see, for example, Patent Document 1). Summary of the Invention [Problem to be solved by the invention]

[0004] However, with the conventional technology, when a fuse provided to protect the circuit in the event of a power supply abnormality blows in the peripheral control board that receives power from the main control board, there is a problem in that the main control board cannot detect that the power supply to the peripheral control board has been cut off if data communication is not possible because the peripheral control board is not powered.

[0005] The present invention has been made in consideration of the above, and aims to provide an electronic device and an abnormality detection method that can detect that the power supply to a peripheral device control board has been cut off on the main body control board side without adding a new signal line between the main body control board and the peripheral device control board. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems and achieve the object, the present invention provides a power supply device comprising a first board, a second board receiving power from the first board, a first control device mounted on the first board and controlling the operation of the first board, a second control device mounted on the second board and controlling the operation of the second board and performing serial communication with the first control device, a cut-off means provided on the second board for cutting off the power supply from the first board when an overcurrent occurs on the second board, and a logic inversion circuit provided on the second board for inverting the logic of the signal level of a communication line transmitted from the second control device to the first control device in the serial communication when the power supply from the first board to the second board is cut off by the cut-off means, wherein when the serial communication with the second control device becomes impossible, the first control device determines whether the signal level of the communication line has been inverted for a predetermined period of time, and when it is determined that the signal level of the communication line has been inverted for the predetermined period of time, it detects that the power supply from the first board to the second board has been cut off by the cut-off means. Effect of the Invention

[0007] According to the present invention, it is possible to detect that the power supply to the peripheral device control board has been cut off on the main body control board side without adding a new signal line between the main body control board and the peripheral device control board. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram showing an example of a circuit configuration of a main body control board and a peripheral device control board of an electronic device according to a first embodiment. [Diagram 2]FIG. 2 is a timing chart showing an example of an operation of serial communication between a main body control board and a peripheral device control board of the electronic device according to the first embodiment. [Diagram 3] FIG. 3 is a flowchart showing an example of the flow of a communication error detection process of the electronic device according to the first embodiment. [Figure 4] FIG. 4 is a diagram showing an example of a circuit configuration of a main body control board and a peripheral device control board of an electronic device according to a modified example of the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of a circuit configuration of a main body control board and a peripheral device control board of an electronic device according to the second embodiment. [Figure 6] FIG. 6 is a flowchart showing an example of the flow of a communication error detection process of the electronic device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, with reference to the drawings, an embodiment of an electronic device and an anomaly detection method according to the present invention will be described in detail. Furthermore, the present invention is not limited to the following embodiments, and the components in the following embodiments include those that a person skilled in the art can easily conceive, those that are substantially the same, and those that are within the scope of what is called equivalent. Furthermore, various omissions, substitutions, modifications, and combinations of the components can be made without departing from the spirit of the following embodiments.

[0010] [First embodiment] (Circuit configuration of electronic devices) Fig. 1 is a diagram showing an example of the circuit configuration of a main body control board and a peripheral device control board of an electronic device according to the first embodiment. With reference to Fig. 1, the circuit configuration of a main body control board 10 and a peripheral device control board 20 of an electronic device 1 according to the present embodiment will be described.

[0011] The electronic device 1 shown in Fig. 1 includes a main body control board 10 for controlling the main body of the electronic device 1, and a peripheral device control board 20 for controlling other devices mounted on the electronic device 1, such as optional devices. As the electronic device 1, for example, general electronic devices such as an image forming device, an image reading device, a projector device, etc. are assumed. The main body control board 10 corresponds to the "first board" of the present invention, and the peripheral device control board 20 corresponds to the "second board" of the present invention.

[0012] As shown in Fig. 1, the main control board 10 includes a main SoC 101, a switching element 111, an IC circuit 112, connectors 121, 122, 131, and 132, and a resistor R1. The main control board 10 may include other components in addition to the components shown in Fig. 1. The main SoC 101 corresponds to the "first control device" of the present invention.

[0013] The main SoC 101 is a computing device that controls the entire main body control board 10. The main SoC 101 operates by receiving power supply from a power supply 140. Among the input / output ports of the main SoC 101, a port Tx_M which is a transmission port (Tx) and a port Rx_M which is a reception port (Rx) are assigned to perform serial communication with the peripheral device control board 20. That is, the main SoC 101 and a sub-SoC 201 (described later) of the peripheral device control board 20 perform data communication by two-wire asynchronous serial communication (hereinafter, sometimes simply referred to as serial communication). Examples of asynchronous serial communication include UART (Universal Asynchronous Receiver Transmitter) and RS232C.

[0014] Note that an arithmetic device such as a microcontroller (MCU: Micro Control Unit) may be used instead of the main SoC 101. Furthermore, the serial communication between the main SoC 101 and the sub SoC 201 is not limited to asynchronous serial communication, and may be three-wire synchronous serial communication.

[0015] The switching element 111 is driven by the output of the port Tx_M of the main SoC 101 and has an open drain or open collector output type. For example, when the switching element 111 is a FET (Field Effect Transistor), the output type is an open drain, and when the switching element 111 is a transistor, the output type is an open collector. The output terminal (drain or collector) of the switching element 111 is connected to the connector 121.

[0016] The IC circuit 112 has an input side connected to the connector 122 and an output side connected to the port Rx_M of the main SoC 101, and is an IC circuit that performs buffering and noise reduction of signals received from the sub SoC 201, etc.

[0017] The connector 121 is a transmitting connector for outputting a signal transmitted from a port Tx_M of the main SoC 101 from the main body control board 10 in serial communication between the main SoC 101 and the sub SoC 201. The connector 121 is connected to a connector 221 (described later) of the peripheral device control board 20 by a communication line.

[0018] The connector 122 is a receiving connector for inputting a signal received at a port Rx_M of the main SoC 101 from the peripheral device control board 20 in serial communication between the main SoC 101 and the sub SoC 201. The connector 121 is connected to a connector 222 (described later) of the peripheral device control board 20 by a communication line.

[0019] The connector 131 is a power connector for supplying power from a power supply 140, which is a 5V power supply in the main body control board 10, to the peripheral device control board 20. The connector 131 is connected to a connector 231 (described later) of the peripheral device control board 20 by a power line.

[0020] The connector 132 is a connector for FG (frame ground) and is connected to a connector 232 (described later) of the peripheral device control board 20 by an FG line.

[0021] Resistor R1 is a pull-up resistor for pulling up the receive line of port Rx_M of main SoC 101 with a 5V power supply based on power supply 140.

[0022] The power supply 140 is a 5 [V] power supply for supplying power to each device of the main body control board 10. The power supply 140 may be formed by being supplied with a voltage of 5 [V] directly from the outside, or may be formed by stepping down a predetermined voltage (e.g., 24 [V], etc.) to 5 [V] by a DC converter or the like mounted on the main body control board 10.

[0023] 1, the peripheral device control board 20 includes a sub-SoC 201, an IC circuit 211, a switching element 212, a connector 221, a connector 222, a connector 231, a connector 232, a fuse 250, a detection circuit 260, and a resistor R2. Note that the peripheral device control board 20 may be equipped with other components in addition to the components shown in FIG.

[0024] The sub-SoC201 is a calculation device that controls the entire peripheral device control board 20. The sub-SoC201 operates by receiving power from a power supply 241, which will be described later. Of the input / output ports that the sub-SoC201 has, a port Tx_S that is a transmission port (Tx) and a port Rx_S that is a reception port (Rx) are assigned to perform serial communication with the main body control board 10. In other words, the main SoC101 of the main body control board 10 and the sub-SoC201 perform data communication by two-wire asynchronous serial communication.

[0025] It should be noted that a calculation device such as a microcomputer may be used instead of the sub-SoC 201. The sub-SoC 201 corresponds to a "second control device" of the present invention.

[0026] The IC circuit 211 has an input side connected to the connector 221 and an output side connected to the port Rx_S of the sub SoC 201, and is an IC circuit that performs buffering and noise reduction of signals received from the main SoC 101, etc.

[0027] The switching element 212 is a switching element that is driven by the output of the port Tx_S of the sub SoC 201 and has an open drain or open collector output type. For example, when the switching element 212 is a FET, the output type is an open drain, and when the switching element 212 is a transistor, the output type is an open collector. The output terminal (drain or collector) of the switching element 212 is connected to the connector 222.

[0028] The connector 221 is a receiving connector for inputting a signal received at the port Rx_S of the sub SoC 201 from the main body control board 10 in serial communication between the main SoC 101 and the sub SoC 201. The connector 221 is connected to the connector 121 of the main body control board 10 by a communication line.

[0029] The connector 222 is a transmission connector for outputting a signal transmitted from the port Tx_S of the sub SoC 201 from the peripheral device control board 20 in serial communication between the main SoC 101 and the sub SoC 201. The connector 222 is connected to the connector 122 of the main body control board 10 by a communication line.

[0030] The connector 231 is a power connector that receives 5V power from the main body control board 10 and forms the power supply 240. The connector 231 is connected to the connector 131 of the main body control board 10 by a power line.

[0031] The connector 232 is a connector for FG (frame ground). The connector 232 is connected to the connector 132 of the main body control board 10 by an FG line.

[0032] The fuse 250 is a power supply cut-off means for protecting the circuit when an overcurrent occurs due to a short circuit caused by a foreign object or the like on the peripheral device control board 20, and is a member that forms a power supply 241 ("+5V_F") that ensures circuit protection based on the power supply 240. The fuse 250 melts when a short circuit caused by a foreign object or the like occurs on the peripheral device control board 20, thereby protecting the circuit of the peripheral device control board 20.

[0033] The detection circuit 260 is a circuit for enabling the main body control board 10 to detect that a short circuit or the like has occurred in the peripheral device control board 20 due to a foreign object or the like, causing the fuse 250 to melt. The detection circuit 260 has a transistor 261, a transistor 262, and a resistor R3. The transistor 261 has a common emitter, a collector connected to the output side of the open drain of the switching element 212, and a base connected to a connection line between the resistor R3 and the collector of the transistor 262. The transistor 262 has a common emitter, a collector connected to the base of the transistor 261 and one end of the resistor R3, and a base connected to the power supply 241. The resistor R3 has one end connected to the base of the transistor 261 and the collector of the transistor 262, and the other end connected to the power supply 240.

[0034] In this case, if the fuse 250 is not blown, the power supply from the power supply 241 is valid, so the transistor 262 is turned on, and the transistor 261 is not driven by the power supply 240 and is turned off. Therefore, in the default state without communication, the transmission line from the port Tx_S of the peripheral device control board 20 to the port Rx_M of the main body control board 10 is pulled up by the resistor R1 on the main body control board 10 side and is in a high level state. On the other hand, if the fuse 250 is blown, the transistor 262 is not driven by the power supply 241 and is turned off, so the transistor 261 is driven by the power supply 240 and is turned on. Therefore, the detection circuit 260 inverts the logic of the signal level of the transmission line from the port Tx_S of the peripheral device control board 20 to the port Rx_M of the main body control board 10 to set it to a low level state. Therefore, when the main SoC 101 of the main body control board 10 determines that the signal level (voltage level) input to the port Rx_M is at a low level for a predetermined time, it can detect that the fuse 250 of the peripheral device control board 20 has been blown. Note that the transmission line from the port Tx_S of the peripheral device control board 20 to the port Rx_M of the main body control board 10 corresponds to the "communication line" of the present invention.

[0035] 1 is merely an example, and any circuit may be used as long as it can realize the above-described functions. Moreover, the detection circuit 260 is an example of the "logic inversion circuit" of the present invention.

[0036] Resistor R2 is a pull-up resistor for pulling up the receive line of port Rx_S of sub-SoC201 with a 5V power supply based on power supply 241.

[0037] The power supply 240 is a 5V power supply for forming the power supply 241 via the fuse 250 .

[0038] The power supply 241 is a 5V power supply for supplying power to each device of the peripheral device control board 20. Therefore, when the fuse 250 blows, the power supply from the power supply 241 stops, so that the sub SoC 201 stops operating and becomes unable to perform serial communication with the main SoC 101. In this case, the main SoC 101 becomes unable to perform serial communication with the sub SoC 201, but by determining the signal level input to the port Rx_M as described above, it is possible to determine whether the cause of the inability to perform serial communication is due to the blowing of the fuse 250 or due to some other reason.

[0039] (Overview of electronic device operation) 2 is a timing chart showing an example of the operation of serial communication between the main body control board and the peripheral device control board of the electronic device according to the first embodiment. An overview of the operation of the electronic device 1 according to the present embodiment will be described with reference to FIG.

[0040] First, FIG. 2(a) shows a timing chart of the operation of a conventional electronic device. The "5V_F" power supply corresponding to the above-mentioned power supply 241 supplies power to each device mounted on the peripheral control board as a 5[V] power supply unless the fuse of the peripheral control board is blown. "Tx_M" of the main control board is a one-way signal transmitted from the port Tx_M of the main SoC of the main control board to the port Rx_S of the sub SoC of the peripheral control board, and "Rx_M" of the main control board is a one-way signal received by the port Rx_M of the main SoC from the port Tx_S of the sub SoC. Similarly, "Rx_S" of the peripheral control board is a one-way signal received by the port Rx_S of the sub SoC from the port Tx_M of the main SoC, and "Tx_S" of the peripheral control board is a one-way signal transmitted from the port Tx_S of the sub SoC to the port Rx_M of the main SoC. Under normal conditions, "Tx_M" and "Rx_S" will be in the same signal state, and "Rx_M" and "Tx_S" will be in the same signal state. If serial communication is UART, it is specified that the signal level is set to High when communication is not taking place.

[0041] In such a conventional electronic device as shown in Fig. 2(a), when the fuse of the peripheral control board is blown, the power supplied to the peripheral control board is lost, so that the port Tx_S of the peripheral control board becomes indefinite, the switching element corresponding to the switching element 212 cannot be driven, and the signal state of the port Rx_M of the main body control board is fixed at a high level because it is pulled up. In other words, since the signal state of the port Rx_M of the main body control board is at a high level, it is in a state similar to a state in which no communication is being performed, and no response is received even if data is transmitted. Therefore, when the main SoC of the main body control board is unable to communicate with the sub SoC of the peripheral control board, it cannot determine whether the communication error is due to the fuse being blown or due to some other cause.

[0042] On the other hand, in the electronic device 1 according to this embodiment, as shown in FIG. 2(b), when the fuse 250 of the peripheral device control board 20 melts and the power supply 241 disappears, the signal level of the port Rx_M of the main body control board 10 ("Rx_M" shown in FIG. 2(b)) becomes low level due to the function of the detection circuit 260 described above. Therefore, unlike the case of FIG. 2(a) described above, it is possible to set the state to a state other than the state where there is no communication. Therefore, when the main SoC 101 of the main body control board 10 is unable to communicate with the sub SoC 201 of the peripheral device control board 20 and detects that the signal level of the port Rx_M is low level, it can determine that the communication error is due to the fuse 250 being melted.

[0043] (Details of electronic device operation) 3 is a flowchart showing an example of the flow of a communication error detection process of the electronic device according to embodiment 1. The flow of the communication error detection process will be described as the details of the operation of the electronic device 1 according to this embodiment with reference to FIG.

[0044] <Step S11> The main SoC 101 of the main body control board 10 determines whether or not a communication error (communication failure) has occurred in serial communication with the sub SoC 201 of the peripheral device control board 20. If a communication error has occurred in serial communication (step S11: Yes), the process proceeds to step S12, and if a communication error has not occurred (step S11: No), the process continues to determine whether or not a communication error has occurred.

[0045] <Step S12> The main SoC 101 changes the port Rx_M used for serial communication with the sub SoC 201 to a general-purpose I / O port. This is because, in general SoC specifications, if the port is set as a port for serial communication, it is not possible to determine the signal level of the port. In this way, by changing the port Rx_M to a general-purpose I / O port, it becomes possible to determine the signal level of the port Rx_M. Note that this change process is a specific process based on the SoC specifications, and may be skipped if not necessary. Then, the process proceeds to step S13.

[0046] <Step S13> Then, the main SoC 101 determines whether the signal level (logic) of the port Rx_M changed to a general-purpose I / O port remains at a low level for a predetermined time. If it remains at a low level for the predetermined time (step S13: Yes), the process proceeds to step S14. If it does not remain at a low level for the predetermined time (step S13: No), the process proceeds to step S16.

[0047] <Step S14> When the main SoC 101 determines that the signal level of the port Rx_M remains at a low level for a predetermined time, it detects that the fuse 250 of the peripheral device control board 20 has been blown (that the fuse 250 has been blown as a blowing means), and then proceeds to step S15.

[0048] <Step S15> The main SoC 101 notifies that the fuse 250 has been blown. Examples of the notification method include lighting a lamp or issuing a voice notification via any port output from the main SoC 101, or sending an email to an administrator if the electronic device 1 has a network function. This completes the communication error detection process.

[0049] <Step S16> When the main SoC 101 determines that the signal level of the port Rx_M does not remain at a low level for the predetermined time, it detects that a communication error has occurred due to a factor other than the blowing of the fuse 250. Factors that may cause a communication error other than the blowing of the fuse 250 include the inclusion of static electricity noise or a hang-up of the sub-SoC 201 of the peripheral device control board 20. Then, the process proceeds to step S17.

[0050] <Step S17> The main SoC 101 notifies that a communication error has occurred due to a cause other than the blowing of the fuse 250. The notification method is as described above. With this, the communication error detection process ends.

[0051] As described above, in the electronic device 1 according to this embodiment, the peripheral control board 20 receives power supply from the main control board 10, the main SoC 101 is mounted on the main control board 10 and controls the operation of the main control board 10, the sub SoC 201 is mounted on the peripheral control board 20 and controls the operation of the peripheral control board 20 and performs serial communication with the main SoC 101, the fuse 250 is provided on the peripheral control board 20 and cuts off the power supply from the main control board 10 when an overcurrent occurs on the peripheral control board 20, and the detection circuit 260 is provided on the peripheral control board 20. When the power supply from the main body control board 10 to the peripheral device control board 20 is cut off by the fuse 250, the logic of the signal level of the transmission line transmitted from the sub SoC 201 to the main SoC 101 in serial communication is inverted, and when serial communication with the sub SoC 201 becomes impossible, the main SoC 101 determines whether the signal level of the transmission line has been inverted for a predetermined time, and when it determines that the signal level of the transmission line has been inverted for the predetermined time, it detects that the power supply from the main body control board 10 to the peripheral device control board 20 has been cut off by the fuse 250. This makes it possible to detect that the power supply to the peripheral device control board 20 has been cut off on the main body control board 10 side without adding a new signal line between the main body control board 10 and the peripheral device control board 20.

[0052] (Modification) The electronic device according to the modification will be described, focusing on the differences from the electronic device 1 according to the above-described first embodiment.

[0053] FIG. 4 is a diagram showing an example of the circuit configuration of the main body control board and the peripheral device control board of an electronic device according to a modified example of the first embodiment. With reference to FIG. 4, the circuit configuration of the peripheral device control board 20a of the electronic device 1a according to this modified example will be described. Note that the circuit configuration of the main body control board 10 of the electronic device 1a is similar to the circuit configuration of the main body control board 10 of the electronic device 1 according to the above-mentioned first embodiment. Also, the main body control board 10 corresponds to the "first board" of the present invention, and the peripheral device control board 20a corresponds to the "second board" of the present invention.

[0054] 4, the peripheral device control board 20a includes a sub-SoC 201, an IC circuit 211, a switching element 212, connectors 221, 222, 231, and 232, a load switch IC 250a, and a resistor R2. That is, the peripheral device control board 20a includes a load switch IC 250a instead of the fuse 250 included in the peripheral device control board 20 shown in FIG. 1, and a FAULT terminal of the load switch IC 250a is connected to the output side of the open drain of the switching element 212 instead of the detection circuit 260. The other configurations are the same as those of the peripheral device control board 20.

[0055] The load switch IC250a is an IC circuit that stops the output of the 5V power supply 241 and outputs a FAULT signal (abnormal signal) from the FAULT terminal when it detects that an abnormality such as a short circuit has occurred in the peripheral device control board 20a and an overcurrent has flowed. That is, the load switch IC250a also functions as a power supply cutoff means, similar to the fuse 250. The output specification of the FAULT terminal of the load switch IC250a is, for example, an open-drain output format, and outputs a High level in a normal state and outputs a Low level in an abnormal state. As described above, the output line of the FAULT signal of the load switch IC250a is connected to the output side of the open drain of the switching element 212. Therefore, when the load switch IC250a detects an overcurrent and stops the output of the 5V power supply 241, the logic of the signal level of the transmission line from the port Tx_S of the peripheral device control board 20a to the port Rx_M of the main body control board 10 is inverted and becomes a Low level state. Therefore, when the main SoC 101 of the main body control board 10 determines that the signal level (voltage level) input to the port Rx_M is at a low level for a predetermined time, it can detect that the power supply has been cut off by the load switch IC 250a of the peripheral device control board 20a. The output line of the FAULT signal of the load switch IC 250a, which is connected to the output side of the open drain of the switching element 212, is an example of the "logic inversion circuit" of the present invention. Since the specifications of the load switch IC 250a may differ depending on the manufacturer, it is also possible to configure it to have a similar output format by adding a logic inversion circuit or an open drain buffer.

[0056] In this way, by using the load switch IC 250a instead of the fuse 250, when the main SoC 101 determines that the signal level (voltage level) input to the port Rx_M is at a low level for a predetermined period of time, it can detect that the power supply has been cut off by the load switch IC 250a due to the occurrence of an abnormality such as a short circuit.

[0057] [Second embodiment] The electronic device according to the second embodiment will be described, focusing on the differences from the electronic device 1 according to the first embodiment. In the first embodiment, an operation for detecting a blown fuse on the main control board 10 side when a fuse is blown on the peripheral device control board 20 side has been described. In this embodiment, an operation for attempting to restore the peripheral device control board by temporarily turning off the power supply from the main control board to the peripheral device control board and then starting the power supply again when a communication error occurs due to a factor other than the fuse being blown will be described.

[0058] (Circuit configuration of electronic devices) FIG. 5 is a diagram showing an example of the circuit configuration of the main body control board and the peripheral device control board of the electronic device according to the second embodiment. With reference to FIG. 5, the circuit configuration of the main body control board 10b of the electronic device 1b according to this embodiment will be described. The circuit configuration of the peripheral device control board 20 of the electronic device 1b is similar to the circuit configuration of the peripheral device control board 20 of the electronic device 1 according to the above-mentioned first embodiment. The main body control board 10b corresponds to the "first board" of the present invention, and the peripheral device control board 20 corresponds to the "second board" of the present invention.

[0059] 5, the main body control board 10b includes a main SoC 101b, a switching element 111, an IC circuit 112, connectors 121, 122, 131, and 132, a resistor R1, and a switching circuit 150. That is, the main body control device 10b includes the switching circuit 150 in addition to the components included in the main body control board 10 shown in FIG. 1 above, and is otherwise similar in configuration to the main body control board 10. The main SoC 101b corresponds to the "first control device" of the present invention.

[0060] The switching circuit 150 is a switching element or circuit for switching on and off the power supply from the power supply 140 to the peripheral device control board 20. The switching circuit 150 is connected to the port P1 of the main SoC 101b, and switches the on and off operation of the switching circuit 150 by switching the output of the port P1. When the switching circuit 150 is turned on (conductive) by the output from the port P1 of the main SoC 101b, a power supply 140b ("+5V_IN") is formed, and power is supplied to the peripheral device control board 20 via the connector 131 and the connector 231. The power supply on the peripheral device control board 20 side formed by receiving power supply from the power supply 140b on the main body control device 10b side is shown as a power supply 240b in FIG. 5. That is, the main SoC 101b can switch on and off the power supply to the peripheral device control board 20 by switching on and off the switching circuit 150. The switching circuit 150 corresponds to the "switching means" of the present invention.

[0061] As described above, when a communication error occurs due to the blown fuse 250, power supply from the main body control device 10b to the peripheral device control board 20 becomes impossible, and power cannot be supplied to the peripheral device control board 20 again unless the blown fuse 250 is replaced. On the other hand, when a communication error occurs due to a factor other than the blown fuse 250 (for example, the inclusion of static electricity noise or a hang-up of the sub-SoC 201), the peripheral device control board 20 may be restored by temporarily turning off the power supply from the main body control board 10b to the peripheral device control board 20 and then starting the power supply again. Details of the communication error detection process including the restoration operation of the peripheral device control board 20 will be described below.

[0062] (Details of electronic device operation) Fig. 6 is a flowchart showing an example of the flow of a communication error detection process of the electronic device according to the embodiment 2. The flow of the communication error detection process will be described as the details of the operation of the electronic device 1b according to the present embodiment with reference to Fig. 6.

[0063] <Steps S21 to S25> The processes in steps S21 to S25 are similar to the processes in steps S11 to S15 shown in FIG.

[0064] <Step S26> When the main SoC 101b of the main body control device 10b determines that the signal level of the port Rx_M does not remain at a low level for the predetermined time, it detects that a communication error has occurred due to a factor other than the blowing of the fuse 250. Factors that may cause a communication error other than the blowing of the fuse 250 include the inclusion of static electricity noise or a hang-up of the sub SoC 201 of the peripheral device control board 20. Then, the process proceeds to step S27.

[0065] <Step S27> The main SoC 101b shuts off the switching circuit 150 and turns off the power supply to the peripheral device control board 20. Then, the process proceeds to step S28.

[0066] <Step S28> After a predetermined time has elapsed since the power supply to the peripheral device control board 20 was turned off, the main SoC 101b turns on the switching circuit 150 (conductive state) and resumes the power supply to the peripheral device control board 20. Then, the process proceeds to step S29.

[0067] <Step S29> After a predetermined time has elapsed since the power supply to the peripheral device control board 20 is restarted and serial communication becomes possible, the main SoC 101b starts serial communication with the sub SoC 201 of the peripheral device control board 20. Then, the process proceeds to step S30.

[0068] <Step S30> The main SoC 101b determines whether or not a communication error has occurred in the serial communication with the sub SoC 201 of the peripheral device control board 20. If a communication error has occurred in the serial communication (step S30: Yes), the process proceeds to step S31, and if a communication error has not occurred (step S30: No), the process terminates the communication error detection process assuming that normal data communication with the sub SoC 201 of the peripheral device control board 20 has been restored.

[0069] <Step S31> The main SoC 101b determines that recovery by turning the power supply off and on is difficult, and notifies that a communication error has occurred in serial communication. The notification method is as described above. This completes the communication error detection process.

[0070] As described above, in the electronic device 1b according to this embodiment, the switching circuit 150 is provided in the main body control board 10b and switches the power supply from the main body control device 10b to the peripheral device control board 20, and when the main SoC 101b determines that the signal level of the transmission line has not been inverted for a predetermined time after serial communication has become impossible, the switching circuit 150 stops the power supply from the main body control board 10b to the peripheral device control board 20, and then resumes the power supply by the switching circuit 150. As a result, when a communication error occurs due to a factor other than the blowing of the fuse 250, it may be possible to restore the operation of the peripheral device control board 20.

[0071] In each of the above-mentioned embodiments, when at least one of the functions of the main body control board 10, 10b and the peripheral device control board 20, 20a is realized by executing a program, the program is provided by being pre-installed in a ROM or the like. In each of the above-mentioned embodiments, the program executed by the main body control board 10, 10b and the peripheral device control board 20, 20a may be provided by being recorded in a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), a flexible disk (FD), a CD-R (Compact Disk-Recordable), or a DVD (Digital Versatile Disc) in an installable or executable format file. In each of the above-mentioned embodiments, the program executed by the main body control board 10, 10b and the peripheral device control board 20, 20a may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. In each of the above-mentioned embodiments, the program executed by the main body control board 10, 10b and the peripheral device control board 20, 20a may be provided or distributed via a network such as the Internet. In addition, in each of the above-mentioned embodiments, the programs executed on the main body control boards 10, 10b and the peripheral device control boards 20, 20a are modular in structure, including at least one of the functions, and in terms of actual hardware, the calculation devices (main SoCs 101, 101b, sub SoC 201) read the programs from the memory devices and execute them, so that each function is loaded onto the main memory device and generated.

[0072] The aspects of the present invention are as follows. <1> A first substrate; a second substrate that receives power from the first substrate; A first control device mounted on the first substrate and configured to control an operation of the first substrate; a second control device mounted on the second board, controlling an operation of the second board, and performing serial communication with the first control device; a cutoff means provided on the second board for cutting off the power supply from the first board when an overcurrent occurs on the second board; a logic inversion circuit provided on the second board, which inverts a logic of a signal level of a communication line transmitted from the second control device to the first control device in the serial communication when the power supply from the first board to the second board is interrupted by the interruption means; Equipped with The first control device is When the serial communication with the second control device becomes impossible, it is determined whether or not a signal level of the communication line is inverted for a predetermined time; When it is determined that the signal level of the communication line has been inverted for a predetermined period of time, the electronic device detects that the power supply from the first board to the second board has been cut off by the cutoff means. <2> when detecting that the power supply from the first board to the second board has been cut off by the cut-off means, the first control device notifies that the power supply has been cut off. <1> The electronic device is as described above. <3> when it is determined that the signal level of the communication line is not inverted for a predetermined time after the serial communication is disabled, the first control device notifies that the serial communication is disabled due to a factor other than the interruption of the power supply from the first board to the second board by the interruption means. <2> The electronic device is as described above. <4> the cutoff means is a fuse that cuts off the power supply from the first substrate by melting when the overcurrent occurs; <1> ~ <3> 1 is an electronic device according to any one of claims 1 to 9. <5> the cutoff means is a load switch IC that cuts off the power supply from the first board and outputs an abnormality signal when the overcurrent occurs; The logic inversion circuit includes an output line of the abnormal signal of the load switch IC connected to the communication line. <1> ~ <3> 1 is an electronic device according to any one of claims 1 to 9. <6> The first control device is SoC (System on a Chip) When the serial communication with the second control device becomes impossible, the receiving port used for the serial communication is changed to a general-purpose I / O port. <1> ~ <5> 1 is an electronic device according to any one of claims 1 to 9. <7> A switching means is provided on the first board and switches the power supply from the first board to the second board, when it is determined that the signal level of the communication line is not inverted for a predetermined time after the serial communication becomes impossible, the first control device stops the power supply from the first board to the second board by the switching means, and then resumes the power supply by the switching means. <1> ~ <6> 1 is an electronic device according to any one of claims 1 to 9. <8> the first control device notifies the user that the serial communication is not possible when the serial communication is not possible after the switching means resumes the power supply from the first board to the second board; <7> The electronic device is as described above. <9> A method for detecting an abnormality in an electronic device including a first substrate and a second substrate receiving power from the first substrate, comprising: a communication step in which a first control device mounted on the first board and controlling an operation of the first board and a second control device mounted on the second board and controlling an operation of the second board perform serial communication; a cut-off step in which a cut-off means provided on the second board cuts off the power supply from the first board when an overcurrent occurs on the second board; a logic inversion step in which a logic inversion circuit provided on the second board inverts a logic of a signal level of a communication line transmitted from the second control device to the first control device in the serial communication when the power supply from the first board to the second board is interrupted by the interruption means; a determination step of determining whether or not a signal level of the communication line is inverted for a predetermined period of time when the first control device is unable to perform the serial communication with the second control device; a detection step of detecting that the power supply from the first board to the second board has been cut off by the cutoff means when the first control device determines that the signal level of the communication line has been inverted for a predetermined time; The anomaly detection method has the following features. [Explanation of symbols]

[0073] 1, 1a, 1b electronic equipment 10, 10b Main control board 20, 20a Peripheral device control board 101, 101b Main SoC 111 Switching element 112 IC circuit 121, 122 Connectors 131, 132 Connectors 140, 140b power supply 150 Switching Circuits 201 Sub-SoC 211 IC circuit 212 Switching element 221, 222 Connectors 231, 232 Connectors 240, 240b, 241 power supply 250 Fuse 250a Load Switch IC 260 Detection Circuit 261, 262 Transistors R1~R3 ​​resistance Rx_M, Rx_S ports Tx_M, Tx_S ports P1 Port [Prior art documents] [Patent documents]

[0074] [Patent Document 1] JP 2018-094720 A

Claims

1. A first substrate; a second substrate receiving power from the first substrate; A first control device mounted on the first substrate and configured to control an operation of the first substrate; a second control device mounted on the second board, controlling an operation of the second board, and performing serial communication with the first control device; a cutoff means provided on the second board for cutting off the power supply from the first board when an overcurrent occurs on the second board; a logic inversion circuit provided on the second board, which inverts a logic of a signal level of a communication line transmitted from the second control device to the first control device in the serial communication when the power supply from the first board to the second board is interrupted by the interruption means; Equipped with The first control device is When the serial communication with the second control device becomes impossible, it is determined whether or not a signal level of the communication line is inverted for a predetermined time period; When it is determined that the signal level of the communication line has been inverted for a predetermined period of time, the electronic device detects that the power supply from the first board to the second board has been cut off by the cut-off means.

2. 2 . The electronic device according to claim 1 , wherein the first control device notifies the user that the power supply has been cut off when the first control device detects that the power supply from the first board to the second board has been cut off by the cut-off means.

3. The electronic device described in claim 2, wherein when the first control device determines that the signal level of the communication line is not inverted for a predetermined period of time after the serial communication becomes impossible, it notifies that the serial communication has become impossible due to a factor other than the interruption of the power supply from the first board to the second board by the interruption means.

4. 4. The electronic device according to claim 1, wherein the cutoff means is a fuse that cuts off the power supply from the first substrate by melting when the overcurrent occurs.

5. the cutoff means is a load switch IC that cuts off the power supply from the first board and outputs an abnormality signal when the overcurrent occurs; 4. The electronic device according to claim 1, wherein an output line of the abnormal signal of the load switch IC is connected to the communication line as the logic inversion circuit.

6. The first control device is SoC (System on a Chip), 4. The electronic device according to claim 1, wherein, when the serial communication with the second control device becomes impossible, a receiving port used for the serial communication is changed to a general-purpose I / O port.

7. A switching unit is provided on the first board and switches the power supply from the first board to the second board. The electronic device described in any one of claims 1 to 3, wherein when the first control device determines that the signal level of the communication line is not inverted for a predetermined time after the serial communication becomes impossible, the first control device stops the power supply from the first board to the second board using the switching means, and then resumes the power supply using the switching means.

8. The electronic device according to claim 7 , wherein the first control device notifies the user that the serial communication is not possible after the switching means resumes power supply from the first board to the second board, if the serial communication is not possible.

9. A method for detecting an abnormality in an electronic device including a first substrate and a second substrate receiving power from the first substrate, the method comprising: a communication step in which a first control device mounted on the first board and controlling an operation of the first board and a second control device mounted on the second board and controlling an operation of the second board perform serial communication; a cut-off step in which a cut-off means provided on the second board cuts off the power supply from the first board when an overcurrent occurs on the second board; a logic inversion step in which a logic inversion circuit provided on the second board inverts a logic of a signal level of a communication line transmitted from the second control device to the first control device in the serial communication when the power supply from the first board to the second board is cut off by the cutoff means; a determination step of determining whether or not a signal level of the communication line is inverted for a predetermined period of time when the first control device is unable to perform the serial communication with the second control device; a detection step of detecting that the power supply from the first board to the second board has been cut off by the cutoff means when the first control device determines that the signal level of the communication line has been inverted for a predetermined period of time; The anomaly detection method includes the steps of:

Citation Information

Patent Citations

  • Fault detection system for serial communication circuit

    JP1995131505A

  • Relay hub and information communication system

    JP2008311955A

  • Host device

    JP2012137918A

  • Power supply device

    JP2017127119A

  • Electronic apparatus

    JP2018094720A