COMMUNICATION APPARATUS, IMAGE FORMING APPARATUS, AND METHOD FOR CONTROLLING COMMUNICATION APPARATUS

The communication device adjusts USB emphasis levels based on CPU temperature to prevent errors, ensuring stable communication and reducing recovery processes due to temperature changes.

JP7543842B2Active Publication Date: 2024-09-03RICOH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020178806
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-26
Publication Date
2024-09-03
Estimated Expiration
2040-10-26

AI Technical Summary

Technical Problem

Existing communication devices do not effectively adjust the emphasis level of USB output signals in response to temperature changes, leading to repeated recovery processes when communication errors occur due to environmental temperature fluctuations.

Method used

A communication device that includes a USB communication circuit, a signal driver, a CPU, a setting control unit, an abnormality determination unit, a temperature detection unit, and a memory unit to associate internal CPU temperature with optimal emphasis levels, allowing the device to set the appropriate emphasis level based on detected temperature to prevent communication errors.

Benefits of technology

The device can maintain optimal USB communication by adjusting emphasis levels according to CPU temperature, reducing the need for repeated recovery processes and minimizing downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007543842000002
    Figure 0007543842000002
  • Figure 0007543842000003
    Figure 0007543842000003
  • Figure 0007543842000009
    Figure 0007543842000009
Patent Text Reader

Abstract

To set an optimum emphasis level according to an internal temperature of a CPU in the CPU even if a communication error occurs due to change in an environmental temperature.SOLUTION: A communication device 16 is a communication device including a USB communication circuit unit 40, a signal drive unit 42, a CPU 16a, and a setting control unit 44, and further includes: an abnormality determination unit 48 that determines whether an abnormality that a USB output signal goes out of a range of an emphasis level during USB communication has occurred; a temperature detection unit 46 that detects an internal temperature of the CPU 16a; and a memory unit 50 that stores a setting table 53 that associates the internal temperature of the CPU 16a with an optimum emphasis level corresponding to the internal temperature. When the abnormality determination unit 48 determines that an abnormality has occurred, the setting control unit 44 performs control so as to set the CPU 16a to the optimum emphasis level read out from the setting table 53 on the basis of the internal temperature of the CPU 16a detected by the temperature detection unit 46.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, an image forming device, and a method for controlling the communication device. [Background technology]

[0002] Conventionally, in a communication device, an emphasis level related to a USB output signal transmitted during USB communication is set in a CPU to maintain communication. Patent Document 1 discloses a technology that, when a communication error occurs, such as a disconnection of a USB signal, automatically switches the emphasis level (signal level) and implements a recovery process that sets it to a level at which communication is successful, thereby minimizing the effort and time required for recovery. However, the technology disclosed in Patent Document 1 does not deal with temperature changes, and therefore has the problem that even if recovery processing has been performed in the past, if an error occurs due to a temperature change, the recovery processing will be performed again. Summary of the Invention [Problem to be solved by the invention]

[0003] One embodiment of the present invention has been made in consideration of the above, and its purpose is to be able to set an optimal emphasis level in a CPU according to the internal temperature of the CPU, even if a communication error occurs due to a change in environmental temperature. [Means for solving the problem]

[0004] In order to solve the above problem, the invention described in claim 1 is a communication device comprising: a USB communication circuit section which performs USB communication with a USB communication device; a signal driving section which generates a USB output signal in accordance with an emphasis level and outputs it to the USB communication circuit section and receives a USB input signal from the USB communication circuit section; a CPU which controls the USB communication by the signal driving section in accordance with the emphasis level; and a setting control section which controls the emphasis level to be set to the CPU, wherein the communication device further comprises: an abnormality judgment section which judges whether or not an abnormality has occurred during the USB communication in which the USB output signal falls outside the range of the emphasis level; a temperature detection section which detects an internal temperature of the CPU; and a memory section which stores a setting table which associates the internal temperature of the CPU with an optimal emphasis level in accordance with the internal temperature, and wherein the setting control section controls the CPU to set the optimal emphasis level read from the setting table based on the internal temperature of the CPU detected by the temperature detection section when it is judged by the abnormality judgment section that an abnormality has occurred. Effect of the Invention

[0005] According to the present invention, even if a communication error occurs due to a change in the environmental temperature, it is possible to set an optimum emphasis level in the CPU according to the internal temperature of the CPU. [Brief description of the drawings]

[0006] [Figure 1] 1 is a diagram illustrating a hardware configuration of an image forming apparatus according to an embodiment of the present invention. [Diagram 2] 2 is a diagram illustrating a hardware configuration of a communication device provided in the image forming apparatus according to the embodiment of the present invention. [Diagram 3] 5 is a first process flowchart showing the operation of a communication device provided in the image forming apparatus according to the embodiment of the present invention. [Figure 4] 11 is a process flowchart showing the second and subsequent operations of the communication device included in the image forming apparatus according to the embodiment of the present invention. [Diagram 5]1 is a table (part 1) showing a first relationship example between the internal temperature of a CPU 16a provided in a communication device according to an embodiment of the present invention, a communication test result, a setting table, and a counter value. [Figure 6] 13 is a table (part 2) showing a second relationship example between the internal temperature of a CPU 16a provided in a communication device according to an embodiment of the present invention, a communication test result, a setting table, and a counter value. [Figure 7] 13A and 13B are diagrams (part 3) showing a third relationship example between the internal temperature of a CPU 16a provided in a communication device according to an embodiment of the present invention, a communication test result, a setting table, and a counter value. [Figure 8] 1 is a process flow chart used in the prior art. [Figure 9] 4 is a process flowchart showing the operation of a communication device provided in the image forming apparatus according to the embodiment of the present invention. [Figure 10] 4 is a process flowchart showing the operation of a communication device provided in the image forming apparatus according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, the present invention will be described in detail with reference to the embodiments shown in the drawings. The present invention has the following configuration in order to set an optimum emphasis level in a CPU according to the internal temperature of the CPU even when a communication error occurs due to a change in the environmental temperature. In other words, the communication device of the present invention is a communication device comprising a USB communication circuit section which performs USB communication with a USB communication device, a signal driving section which generates a USB output signal in accordance with an emphasis level and outputs it to the USB communication circuit section, and receives a USB input signal from the USB communication circuit section, a CPU which controls the USB communication by the signal driving section in accordance with the emphasis level, and a setting control section which controls the emphasis level to be set in the CPU, and is further characterized by comprising an abnormality judgment section which judges whether an abnormality has occurred during USB communication in which the USB output signal falls outside the range of the emphasis level, a temperature detection section which detects the internal temperature of the CPU, and a memory section which stores a setting table which associates the internal temperature of the CPU with an optimal emphasis level in accordance with the internal temperature, and the setting control section controls the CPU to set the optimal emphasis level read from the setting table based on the internal temperature of the CPU detected by the temperature detection section when it is judged by the abnormality judgment section that an abnormality has occurred. With the above configuration, even if a communication error occurs due to a change in the environmental temperature, it is possible to set the optimum emphasis level for the CPU according to the internal temperature of the CPU. The features of the present invention described above will be described in detail with reference to the following drawings. However, unless otherwise specified, the components, types, combinations, shapes, relative arrangements, etc. described in the embodiments are merely illustrative examples and do not intend to limit the scope of the present invention. The above-mentioned features of the present invention will be described in detail below with reference to the drawings.

[0008] <Hardware configuration> FIG. 1 is a diagram showing the hardware configuration of an image forming apparatus according to an embodiment of the present invention. <Hardware configuration of the main unit> First, the hardware configuration of the main unit 10 will be described. As shown in FIG. 1, the main body 10 has a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a storage unit 14, a network I / F (Interface) 15, a communication device 16, an engine unit 17, a mobile sensor 18, and a system bus 19, etc.

[0009] The CPU 11 uses the RAM 13 as a work area to execute programs stored in the ROM 12 or the storage unit 14, thereby controlling the overall operation of the main body 10. For example, the CPU 11 uses the engine unit 17 to realize various functions such as the copy function, scanner function, fax function, and printer function described above.

[0010] The ROM 12 is a non-volatile memory that stores, for example, a BIOS (Basic Input / Output System) executed when the main body 10 is started, various settings, etc. The RAM 13 is a volatile memory used as a work area for the CPU 11, etc. The storage unit 14 is a non-volatile storage device that stores, for example, an OS (Operating System), application programs, various data, etc., and is composed of, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), etc.

[0011] The network I / F 15 is a network interface, such as a wireless LAN or a wired LAN, for connecting the main body 10 to a network N and communicating with an external device connected to the network N. The communication device 16 is a communication interface for communicating between the main body 10 and the operation unit 20 via a USB cable 30. The communication device 16 performs USB communication via USB ports P1 to P3, and is controlled by a CPU 16a provided inside.

[0012] The engine unit 17 is hardware that performs general-purpose information processing and processing other than communication in order to realize functions such as a copy function, a scanner function, a fax function, and a printer function. The engine unit 17 includes, for example, a scanner (image reading unit) that scans and reads an image of a document, a plotter (image forming unit) that prints on a sheet material such as paper, a fax unit that performs fax communication, etc. Furthermore, the engine unit 17 may include specific options such as a finisher that sorts printed sheet materials and an ADF (automatic document feeder) that automatically feeds documents.

[0013] The moving object sensor 18 is a sensor that detects a moving object such as a human body within a detection range around the image forming apparatus 1, and may be, for example, a pyroelectric sensor. Note that in this embodiment, the image forming apparatus 1 does not necessarily have to have the moving object sensor 18.

[0014] A system bus 19 is connected to each of the above components, and transmits address signals, data signals, various control signals, and the like.

[0015] <Hardware configuration of the operation unit> Next, a description will be given of a hardware configuration of the operation unit 20. As shown in Fig. 1, the operation unit 20 includes a CPU 21, a ROM 22, a RAM 23, a flash memory 24, a network I / F 25, an operation panel 26, a communication device 27, an external connection I / F 28, an RF tag reader 103, a camera 104, and a system bus 29.

[0016] The CPU 21 controls the overall operation of the operation unit 20 by executing programs stored in the ROM 22, the flash memory 24, or the like using the RAM 23 as a work area.

[0017] The ROM 22 is a non-volatile memory that stores, for example, a BIOS executed when the operation unit 20 is started up, various settings, etc. The RAM 23 is a volatile memory used as a work area, etc. for the CPU 21. The flash memory 24 is a non-volatile storage device that stores, for example, an OS, application programs, various data, etc.

[0018] The network I / F 25 is a network interface such as a wireless LAN or a wired LAN for connecting the operation unit 20 to the network N and communicating with external devices connected to the network N.

[0019] Operation panel 26 accepts various inputs according to user operations and displays various information. Operation panel 26 is configured, for example, by a liquid crystal display (LCD) equipped with a touch panel function, but is not limited to this. The operation panel 26 may be configured, for example, with an organic EL (Electro Luminescence) display device equipped with a touch panel function. Furthermore, the operation panel 26 may be provided with an operation unit such as hardware keys and a display unit such as a lamp in addition to or instead of the operation panel 26.

[0020] The communication device 27 is an interface for communicating between the operation unit 20 and the main body 10 via a USB cable 30, and is, for example, a USB communication device. The external connection I / F 28 is an interface such as a USB for connecting an external device. A system bus 29 is connected to each of the above components, and transmits address signals, data signals, various control signals, and the like.

[0021] <Main unit communication device> FIG. 2 is a hardware configuration diagram of a communication device provided in the image forming apparatus according to one embodiment of the present invention. The communication device 16 includes a CPU 16 a , a USB communication circuit unit 40 , a signal driving unit 42 , a setting control unit 44 , an abnormality determination unit 48 , a temperature detection unit 46 , and an optimum value determination unit 56 . The USB communication circuit unit 40 has a port P1 that connects to the communication device 27 provided in the operation unit 20 via a USB cable 30, and performs USB communication within the electronic device. The USB communication circuit unit further has a port P2 that connects to, for example, a USB communication device 32, and a port P3 that connects to, for example, a USB host 36. The USB communication circuit section 40 receives a USB output signal generated by the signal driving section according to the emphasis level, and outputs the signal to the port P1. The USB communication circuit section 40 outputs a USB input signal received from the port P1 to the signal driving section .

[0022] The CPU 16a controls USB communication by the signal driver 42 in accordance with the emphasis level. The CPU 16a is provided with a DTS (Digital Thermal Sensor) that detects the temperature of the CPU core. The signal driver 42 generates a USB output signal according to the emphasis level and outputs it to the USB communication circuit unit 40 , and also receives a USB input signal from the USB communication circuit unit 40 . The setting control unit 44 sets the emphasis level at the time of USB connection in a USB control register inside the CPU 16a. The setting control unit 44 switches the emphasis level to one of a plurality of levels when a communication abnormality occurs.

[0023] The abnormality determination unit 48 determines whether an abnormality occurs during USB communication, in which the USB output signal falls outside the range of the emphasis level. When an abnormality occurs in which the communication level falls outside the range of the emphasis level, the abnormality determination unit 48 determines that a communication error has occurred. The temperature detector 46 detects the internal temperature from the DTS provided inside the CPU 16a. A memory unit 50 is connected to the communication device 16, and an emphasis level setting value 52, a setting table 53, and a recovery process count 54 are stored inside the memory unit 50. The memory unit 50 has a function of storing in the setting table 53 the internal temperature of the CPU 16a and an optimum emphasis level corresponding to the internal temperature in association with each other.

[0024] When the abnormality judgment unit 48 judges that an abnormality has occurred, the setting control unit 44 controls the CPU 16a to set the optimal emphasis level read from the setting table 53 based on the internal temperature of the CPU 16a detected by the temperature detection unit 46.

[0025] The optimum value determination unit 56 determines whether or not an optimum value corresponding to the internal temperature of the CPU 16a is stored in the setting table 53. When the optimum value determination unit 56 determines that the optimum value corresponding to the internal temperature of the CPU 16a is not stored in the setting table 53, the setting control unit 44 controls so as to rewrite the emphasis level corresponding to the internal temperature of the CPU 16a detected in the past in the setting table 53. The optimum value determination unit 56 stores in the memory unit 50 the recovery process count 54 associated with the internal temperature of the CPU 16a and the setting value of the emphasis level.

[0026] The setting control unit 44 determines whether the number of recovery processes is on the rise, and if the number of recovery processes is on the rise, performs control to issue an abnormality notification. In addition, the communication device 16 may be such that the CPU 16a and the setting control unit are integrated together.

[0027] Each function of the above-described embodiments can be realized by one or more processing circuits. Here, the term "processing circuit" in this specification includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and a device such as an ASIC (Application Specific Integrated Circuit), a DSP (digital signal processor), an FPGA (field programmable gate array), or a conventional circuit module designed to execute each function described above.

[0028] <First Processing> FIG. 3 is a first processing flowchart showing the operation of the communication device provided in the image forming apparatus according to the embodiment of the present invention. In step S5, the setting control unit 44 reads out a value that has been set in advance inside the CPU 16a as an initial value when the power is turned on for the first time. That is, the setting control unit 44 reads out the emphasis level value that has been set in the internal USB control register of the CPU 16a to the memory unit 50. In step S10, the setting control unit 44 sets the value read out in step S5 as the setting value of the emphasis level in the CPU 16a. At this time, the CPU 16a controls the USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives the USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB communication circuit unit 40 outputs the USB input signal received from the port P1 to the signal driving unit 42.

[0029] In step S15, the temperature detector 46 detects the internal temperature of the CPU 16a. In step S20, the abnormality determination unit 48 determines whether or not a communication error has occurred. If a communication error has not occurred (S20: No), the process proceeds to step S30. In step S25, when a communication error occurs (S20: YES), the setting control unit 44 performs a communication test using the emphasis levels in sequence using the seven emphasis levels that are stored in the internal USB control register of the CPU 16a as communication-compatible emphasis levels, and makes adjustments to set an emphasis level at which no communication error occurs. In step S30, the setting control unit 44 stores in the memory unit 50 the setting value of the communicable emphasis level and the internal temperature of the CPU 16a at that time in association with each other.

[0030] In step S35, the setting control unit 44 sets the communicable emphasis level in the USB control register of the CPU 16a. After the setting process in step S35, the CPU 16a controls the USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives the USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB communication circuit unit 40 outputs the USB input signal received from the port P1 to the signal driving unit 42.

[0031] <Processing from the second time onwards> FIG. 4 is a process flowchart showing the second and subsequent operations of the communication device provided in the image forming apparatus according to the embodiment of the present invention. In step S105, the setting control section 44 reads out the setting value of the emphasis level stored in the memory section 50, and sets it in the internal USB control register of the CPU 16a. After the setting process in step S105, the CPU 16a controls the USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives the USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB communication circuit unit 40 outputs the USB input signal received from the port P1 to the signal driving unit 42. In step S110, the temperature detector 46 detects the internal temperature of the CPU 16a. In step S115, the optimum value determination unit 56 determines whether or not the optimum value corresponding to the detected internal temperature of the CPU 16a is in the setting table 53 in the memory unit 50.

[0032] In step S120, if the optimal value corresponding to the internal temperature of CPU 16a is not in the setting table 53 in the memory unit 50 (S115: NO), the optimal value determination unit 56 determines whether or not there are values ​​around the temperature corresponding to the detected internal temperature of CPU 16a in the setting table 53. In step S125, if there are values ​​before and after the detected internal temperature of the CPU 16a in the setting table 53 (S120: YES), the setting control unit 44 sets a communicable estimated value from the setting table 53 before and after the temperature.

[0033] On the other hand, in step S130, if there are no values ​​before and after the temperature corresponding to the detected internal temperature of CPU 16a in the setting table 53 (S120: NO), the setting control unit 44 reads out an initial value that was previously set in the USB control register inside CPU 16a and sets it in CPU 16a. On the other hand, in step S135, if the optimal value corresponding to the internal temperature of CPU 16a is in setting table 53 of memory unit 50 (S115: YES), setting control unit 44 reads out the setting value corresponding to the relevant temperature from setting table 53 already stored in memory unit 50, and sets it in the USB control register inside CPU 16a. After any one of the setting processes in steps S125, S130, and S135, the CPU 16a controls USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives a USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB communication circuit unit 40 outputs a USB input signal received from the port P1 to the signal driving unit 42.

[0034] In step S140, the abnormality determination unit 48 determines whether or not a communication error has occurred. In step S145, when a communication error occurs (S140: YES), the setting control unit 44 performs adjustment by setting the communicable emphasis level to one of seven levels. That is, the setting control unit 44 performs a communication test using the emphasis levels in sequence using the seven levels of emphasis levels stored in the internal USB control register of the CPU 16a as the communicable emphasis levels, and performs adjustment to set an emphasis level at which no communication error occurs. In step S150, the optimum value determination unit 56 determines whether or not the optimum value corresponding to the internal temperature of the CPU 16a is present in the setting table 53 of the memory unit 50. In step S155, if there is an optimal value corresponding to the internal temperature of the CPU 16a (S150: YES), the setting control unit 44 rewrites the setting table 53 in the memory unit 50 to the setting value corresponding to the detected temperature.

[0035] In step S160, if there is no optimal value corresponding to the internal temperature of CPU 16a (S150: NO), the optimal value determination unit 56 stores in the memory unit 50 the setting value of the communicable emphasis level and the internal temperature of CPU 16a at that time. In step S165, the setting control unit 44 sets the emphasis level in the internal USB control register of the CPU 16a. In step S170, the optimum value determination section 56 stores in the memory section 50 the number of times a communication error has occurred and the recovery process has been performed to adjust the emphasis level at which communication is possible.

[0036] In step S175, the optimum value determination unit 56 determines whether or not the number of recovery processes has increased even with the same temperature setting. In step S180, if the number of recovery processes has increased even with the same temperature setting (S175: YES), the setting control unit 44 notifies the service person of the abnormality. As an example, the setting control unit 44 notifies the abnormality by having the CPU 16a send an email to an email address accessible by the service person via the network, notifying that the number of processes has increased with the same temperature setting. By having the service person make preparations such as part replacement before displaying an error to the user, downtime on the user side can be reduced.

[0037] <Example 1 of the relationship between internal temperature, communication test results, setting table, and counter value> FIG. 5 is a table (part 1) showing a first relationship example between the internal temperature of the CPU provided in the communication device according to the embodiment of the present invention, the communication test result, the setting table, and the counter value. It should be noted that A to G in FIG. 5 represent the seven internal emphasis levels. As an example, when the internal temperature of the CPU 16a detected by the temperature detection unit 46 is 35° C. to 39° C., there is no upper or lower limit for the temperature, and an initial value or recovery process is performed on the internal temperature of the CPU 16a. (1) There is no lower limit for the temperature, so if no communication error occurs for the detected internal temperature of the CPU 16a, the emphasis level is set to the initial value "D" and the counter becomes "0." If a communication error occurs, a communication test and setting are performed and the counter becomes "1."

[0038] (2) As a result of the communication test, communication is possible with emphasis levels of "A" and "B," and "B," which is close to the initial value, corresponds to 35°C. If one communication error occurs, the counter becomes "1." (3) As a result of the communication test, communication is possible with emphasis levels of "B," "C," and "D," and the median value is determined. Therefore, "C" becomes the setting value corresponding to 36°C. If one communication error occurs, the counter becomes "1." (4) As a result of the communication test, communication is possible with emphasis levels of “C” and “D”, and D, which is the same as the initial value, corresponds to 37°C. If one communication error occurs, the counter becomes “1”.

[0039] (5) As a result of the communication test, communication is possible with emphasis levels of "D," "E," "F," and "G," and "E," which is close to the initial value, corresponds to 38°C. If one communication error occurs, the counter becomes "1." After that, recovery processing occurred four times even with the same settings, so the counter becomes "5." In this case, since there is a tendency for recovery processing to increase even when the optimum value corresponding to the temperature is set, a hardware failure other than that caused by the environment is suspected, and therefore the communication device 16 needs to be replaced. (6) As a result of the communication test, communication is possible with the emphasis level set to "F" and "G", F, which is closest to the initial value, corresponds to 39°C, and if one communication error occurs, the counter becomes "1". (7) Since there is no upper limit, if no communication error occurs for the detected temperature, the initial value "D" will be set and the counter will become "0." If a communication error occurs, a communication test will be performed and the counter will become "1."

[0040] <Relationship example 2 between internal temperature, communication test result, setting table, and counter value> FIG. 6 is a table (part 2) showing a second relationship example between the internal temperature of the CPU provided in the communication device according to the embodiment of the present invention, the communication test result, the setting table, and the counter value. As an example, a case will be described where the internal temperature of the CPU 16a detected by the temperature detection unit 46 changes in the order of 35° C.→38° C.→42° C. Note that the setting table for this period has not yet been stored. When 36° C. is detected as the internal temperature of the CPU 16a, an estimate is made from the results before and after, and a setting is made (setting example: C). If there are no previous or next results, the initial value will be used until a communication error occurs (setting example: D). If a communication error still occurs, perform a communication test. Settings are also made for internal temperatures below 35°C, but the initial values ​​are used until a communication error occurs. When the internal temperature of the CPU 16a is detected to be 36° C., 37° C., or 39 to 41° C., if there is no setting table 53 for that temperature, the temperature is estimated from the results before and after the temperature setting.

[0041] <Relationship example 3 between internal temperature, communication test result, setting table, and counter value> 7(a) and (b) are diagrams (part 3) showing a third relationship example between the internal temperature of a CPU provided in a communication device according to an embodiment of the present invention, a communication test result, a setting table, and a counter value. Fig. 7 shows an example of estimation when the setting table 53 based on the internal temperature of the CPU is not filled in. FIG. 7(a) shows an example of an inference, where there are before and after results (when the setting table is stored). When making an inference, for example, if the detected internal temperature of CPU 16a is 36°C, the before and after results are "B" and "E", and the inference range is "C" to "D". If the median value cannot be determined within the estimated range and the "D" side is set, the result of 38°C may be NG, so set it to the "C" side (example setting: C). FIG. 7(b) shows an example of an inference, in which there are before and after results (a state in which the setting table 53 is stored). When making an inference, for example, if the detected internal temperature of the CPU 16a is 40° C., the before and after results are “E” and “D”, and the inference range is “D” to “E”. If the median value cannot be determined within the estimated range and the "D" side is set, the result of 38°C may be NG, so set it to the "E" side (setting example: E).

[0042] <Conventional Technology> FIG. 8 is a process flow chart used in the prior art. In step S205, it is determined whether a communication error has occurred. In step S210, if a communication error occurs (S205: YES), a communication test (adjustment of the emphasis level to seven levels at which communication is possible) is performed. In step S215, the communicable emphasis level information is stored in the memory unit. In step S220, the emphasis level is set.

[0043] <Temperature detection and resetting> FIG. 9 is a process flowchart showing the operation of the communication device provided in the image forming apparatus according to the embodiment of the present invention. Temperature detection and resetting (processing that is performed continuously) will be described with reference to FIG. In step S305, the setting control unit 44 first reads out and sets the setting values ​​that have been set internally in advance as initial values. In step S310, the temperature detector 46 detects the internal temperature of the CPU 16a. In step S315, the setting control unit 44 reads out from the setting table 53 stored in the memory unit 50 a setting value that corresponds to the internal temperature of the CPU 16a.

[0044] In step S320, the setting control unit 44 sets the emphasis level read out in step S315 in the CPU 16a. After the setting process in step S320, the CPU 16a controls the USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives the USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB communication circuit unit 40 outputs the USB input signal received from the port P1 to the signal driving unit 42. In this manner, by repeating the processes in steps S310 to S320, an optimal value corresponding to the internal temperature detected by the CPU 16a is always set in the CPU 16a, which has the effect of preventing communication errors from occurring.

[0045] <Communication error occurs and setting table / optimal value is rewritten> FIG. 10 is a process flowchart showing the operation of the communication device provided in the image forming apparatus according to the embodiment of the present invention. The occurrence of a communication error and rewriting of the setting table / optimum value (processing when a communication error occurs) will be described with reference to FIG. In step S405, the temperature detector 46 detects the internal temperature of the CPU 16a. In step S410, the setting control unit 44 reads out from the setting table 53 stored in the memory unit 50 a setting value that corresponds to the internal temperature of the CPU 16a detected in step S405. In step S415, the setting control unit 44 sets the emphasis level read out in step S410 in the CPU 16a.

[0046] In step S420, USB communication is performed. That is, after the setting process in step S415, the CPU 16a controls the USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives the USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB input signal received from the port P1 is output to the signal driving unit 42.

[0047] In step S425, the abnormality determination unit 48 determines whether or not a communication error has occurred. In step S430, if a communication error occurs (S425: YES), the setting control unit 44 performs a communication test (adjusting the emphasis level to seven levels at which communication is possible). In step S435, the setting control unit 44 stores in the memory unit 50 the communicable emphasis level / detected internal temperature of the CPU 16a.

[0048] In step S440, the setting control section 44 reads out the setting information stored in the memory section 50 in step S435, and sets the emphasis level in the CPU 16a. After the setting process in step S440, the CPU 16a controls the USB communication by the signal driving unit 42 according to the emphasis level. The USB communication circuit unit 40 receives the USB output signal generated by the signal driving unit 42 according to the emphasis level and outputs it to the port P1. The USB communication circuit unit 40 outputs the USB input signal received from the port P1 to the signal driving unit 42. In this way, by storing the optimum value of the emphasis level associated with the internal temperature of the CPU 16a in the memory unit 50, there is an advantage that recovery processing for the communication test is not required.

[0049] <Summary of the functions and effects of the embodiment> <First aspect> The communication device 16 of this embodiment is a communication device comprising a USB communication circuit section 40 which performs USB communication with the USB communication device 32, a signal driving section 42 which generates a USB output signal in accordance with an emphasis level and outputs it to the USB communication circuit section 40, and receives a USB input signal from the USB communication circuit section 40, a CPU 16a which controls the USB communication by the signal driving section 42 in accordance with the emphasis level, and a setting control section 44 which controls the emphasis level to be set to the CPU 16a, and is characterized in that the communication device 16 comprises an abnormality judgment section 48 which judges whether an abnormality has occurred during USB communication in which the USB output signal falls outside the range of the emphasis level, a temperature detection section 46 which detects the internal temperature of the CPU 16a, and a memory section 50 which stores a setting table 53 which associates the internal temperature of the CPU 16a with an optimal emphasis level in accordance with the internal temperature, and the setting control section 44 controls the CPU 16a to set the optimal emphasis level read out from the setting table 53 based on the internal temperature of the CPU 16a detected by the temperature detection section 46 when it is judged by the abnormality judgment section 48 that an abnormality has occurred. According to this embodiment, when the abnormality judgment unit 48 judges that an abnormality has occurred, the optimal emphasis level read from the setting table 53 can be controlled to be set in the CPU 16a based on the internal temperature of the CPU 16a detected by the temperature detection unit 46. This allows the CPU 16a to be set to an optimum emphasis level according to the internal temperature of the CPU 16a even if a communication error occurs due to a change in the environmental temperature, thereby reducing the number of times the CPU 16a needs to go through a recovery process.

[0050] <Second aspect> The communication device 16 of this embodiment is characterized in that it includes an optimum value determination unit 56 which determines whether or not an optimum value corresponding to the internal temperature of the CPU 16a is stored in the setting table 53, and when the optimum value determination unit 56 determines that an optimum value corresponding to the internal temperature of the CPU 16a is not stored in the setting table 53, the setting control unit 44 controls the setting table 53 to rewrite the emphasis level corresponding to the internal temperature of the CPU 16a detected in the past. According to this embodiment, it is possible to always maintain optimal information by determining whether an optimal value corresponding to the temperature of CPU 16a is stored in setting table 53 and rewriting and updating the contents of setting table 53.

[0051] <Third aspect> The optimum value determination section 56 of this embodiment is characterized in that it stores in the memory section 50 the internal temperature of the CPU 16a and the number of recovery processes associated with the set value of the emphasis level. According to this aspect, in addition to the second aspect, the recovery process count is stored with a set value corresponding to the temperature of the CPU 16a, so that the tendency of communication errors to occur can be estimated in the setting table 53.

[0052] <Fourth aspect> The setting control unit 44 of this embodiment is characterized in that it determines whether the number of recovery processes is on the rise, and if the number of recovery processes is on the rise, it controls so as to issue an abnormality notification. According to this aspect, in addition to the third aspect, by determining an increasing trend in the number of recovery processes due to communication errors and notifying the user of an abnormality, the device status can be grasped before the user and measures such as part replacement can be taken before an error is displayed.

[0053] <Fifth aspect> The communication device 16 of this embodiment is characterized in that the CPU 16a and the setting control unit are integrated together. According to this embodiment, the CPU 16a and the setting control unit are integrated, so that the configuration of the communication device 16 can be simplified.

[0054] <Sixth aspect> The image forming apparatus 1 of this aspect is characterized by including a communication device 16 according to any one of claims 1 to 5. According to this aspect, the image forming apparatus 1 is provided with the communication device 16, and the occurrence of errors can be prevented, thereby reducing recovery processing and saving the user's time and effort.

[0055] <Seventh aspect> The communication device 16 of this embodiment comprises a USB communication circuit section 40 which performs USB communication with the USB communication device 32, a signal driving section 42 which generates a USB output signal in accordance with an emphasis level and outputs it to the USB communication circuit section 40, and receives a USB input signal from the USB communication circuit section 40, and a CPU 16a which controls the USB communication by the signal driving section 42 in accordance with the emphasis level. The control method for the communication device is a control method for executing a setting control step of controlling so that the emphasis level is set to the CPU 16a, and executes an abnormality determination step of determining whether or not an abnormality has occurred during USB communication in which the USB output signal falls outside the range of the emphasis level, a temperature detection step of detecting the internal temperature of the CPU 16a, and a storage step of storing in a memory section a setting table 53 which associates the internal temperature of the CPU 16a with an optimal emphasis level in accordance with the internal temperature. The setting control step is characterized in that when it is determined by the abnormality determination section that an abnormality has occurred, the optimal emphasis level read out from the setting table 53 is controlled to be set to the CPU 16a based on the internal temperature of the CPU 16a detected by the temperature detection section. According to this embodiment, when it is determined in the abnormality judgment step that an abnormality has occurred, the optimal emphasis level read out from the setting table 53 can be controlled to be set in the CPU 16a based on the internal temperature of the CPU 16a detected in the temperature detection step. This allows the CPU to be set to the optimum emphasis level according to the CPU's internal temperature even if a communication error occurs due to a change in the environmental temperature, reducing the number of times the system needs to go into recovery processing. [Explanation of symbols]

[0056] 1...image forming apparatus, 11...CPU, 12...ROM, 13...RAM, 14...storage section, 15...network I / F, 16...communication device, 16a...CPU, 17...engine section, 18...mobile sensor, 19...system bus, 20...operation section, 21...CPU, 22...ROM, 23...RAM, 24...flash memory, 25...network I / F, 26...operation panel, 27...communication device, 28...external connection I / F, 29...system bus, 30...USB cable, 32...USB communication device, 36...USB host, 40...USB communication circuit section, 42...signal drive section, 44...setting control section, 46...temperature detection section, 48...abnormality determination section, 50...memory section, 52...setting value, 53...setting table, 54...recovery processing count, 56...optimum value determination section [Prior art documents] [Patent documents]

[0057] [Patent Document 1] Patent Publication No. 2019-009778

Claims

1. a USB communication circuit section for performing USB communication with a USB communication device; a signal driver that generates a USB output signal according to an emphasis level and outputs the USB output signal to the USB communication circuit, and receives a USB input signal from the USB communication circuit; a CPU that controls USB communication by the signal driver in accordance with the emphasis level; A setting control unit that controls the emphasis level to be set in the CPU, an abnormality determination unit that determines whether or not an abnormality has occurred during the USB communication, in which the USB output signal falls outside the range of the emphasis level; a temperature detection unit for detecting an internal temperature of the CPU; a memory unit that stores a setting table that associates an internal temperature of the CPU with an optimum emphasis level according to the internal temperature, The setting control unit controls the CPU to set the optimal emphasis level read from the setting table based on the internal temperature of the CPU detected by the temperature detection unit when the abnormality judgment unit determines that an abnormality has occurred.

2. an optimum value determination unit that determines whether an optimum value corresponding to the internal temperature of the CPU is stored in the setting table; The communication device according to claim 1, characterized in that the setting control unit controls the setting table to rewrite an emphasis level corresponding to a previously detected internal temperature of the CPU when the optimal value determination unit determines that an optimal value corresponding to the internal temperature of the CPU is not stored in the setting table.

3. 3. The communication device according to claim 2, wherein the optimum value determination unit stores in the memory unit a recovery process count associated with the internal temperature of the CPU and the setting value of the emphasis level.

4. 4. The communication device according to claim 3, wherein the setting control unit determines whether the number of recovery processes is on the rise, and, if the number of recovery processes is on the rise, controls to issue an abnormality notification.

5. 5. The communication device according to claim 1, wherein the CPU and the setting control unit are integrated.

6. An image forming apparatus comprising the communication device according to claim 1 .

7. a USB communication circuit section for performing USB communication with a USB communication device; a signal driver that generates a USB output signal according to an emphasis level and outputs the USB output signal to the USB communication circuit, and receives a USB input signal from the USB communication circuit; a CPU that controls USB communication by the signal driver in accordance with the emphasis level; A control method for a communication device that executes a setting control step of controlling a CPU to set the emphasis level, an abnormality determination step of determining whether or not an abnormality has occurred during the USB communication, in which the USB output signal falls outside the range of the emphasis level; a temperature detection step of detecting an internal temperature of the CPU; a storage step of storing in a memory unit a setting table in which the internal temperature of the CPU and an optimum emphasis level according to the internal temperature are associated with each other; The control method for a communication device, characterized in that the setting control step controls so that the optimal emphasis level read from the setting table is set in the CPU based on the internal temperature of the CPU detected in the temperature detection step when it is determined that an abnormality has occurred in the abnormality judgment step.

Citation Information

Patent Citations

  • Communication device, communication setting change method and communication setting change program

    JP2012004796A

  • Systems and methods for restoring faster communication between devices

    JP2016527742A

  • Communication device, communication system, communication method, and program

    JP2019009778A