Current estimation device, abnormality detection device, and encoder
The current estimation device addresses the inefficiencies of conventional methods by using a diode-based voltage drop detection to calculate current consumption in load circuits, providing a non-invasive and cost-effective solution for monitoring and detecting abnormalities.
Patent Information
- Application Number
- PCT/JP2023/007077
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
AI Technical Summary
Conventional methods for checking current consumption in load circuits are cumbersome, especially when the wiring is deep within a machine, and involve either disconnecting the power supply or increasing current consumption with measurement resistors, making them costly and inefficient.
A current estimation device that detects voltage drops across a diode preventing reverse current flow, allowing for the calculation of current flowing between the power supply and load circuit without the need for direct measurement or disconnection, using a detection unit and estimation unit based on voltage-current characteristics of the diode.
Enables easy and cost-effective monitoring of current consumption without disrupting the power supply or adding measurement resistors, allowing for accurate and efficient detection of load circuit abnormalities.
Smart Images

Figure JP2023007077_06092024_PF_FP
Abstract
Description
Current estimation device, abnormality detection device, and encoder
[0001] The present disclosure relates to a current estimation device, an abnormality detection device, and an encoder.
[0002] Conventionally, various methods for checking the consumption current flowing from a power supply to a load circuit have been known.
[0003] JP 2015-100158 A JP 2001-356139 A JP 09-084280 A JP 2019-004553 A
[0004] To check the current consumption flowing from the power supply to the load circuit, inserting a current measuring device such as a tester in series between the power supply and the load circuit requires temporarily disconnecting the wiring between the power supply and the load circuit, which is cumbersome. Furthermore, if the wiring between the power supply and the load circuit is located deep inside the machine, inserting the current measuring device is difficult. Another method involves installing a current measuring resistor between the power supply and the load circuit in advance and measuring the voltage across the resistor to check the current consumption. However, this resistor increases the current consumption and increases the cost of the components, which creates problems. Therefore, a technology that can easily and inexpensively check the current consumption flowing through a load circuit is desired.
[0005] According to one aspect of the present disclosure, a current estimation device includes a detection unit that detects a voltage drop across a diode provided to prevent reverse flow of current flowing from a power source toward a load circuit, and an estimation unit that calculates an estimate of a current flowing between the power source and the load circuit based on the voltage drop detected by the detection unit.
[0006] 1 is a diagram illustrating a current estimation device, an abnormality detection device, and an encoder according to a first embodiment of the present disclosure. FIG. 2 is a diagram illustrating the voltage-current characteristics of a diode. FIG. 3 is a diagram illustrating a current estimation device, an abnormality detection device, and an encoder according to a second embodiment of the present disclosure. FIG. 4 is a flowchart illustrating the operation of the abnormality detection devices according to the first and second embodiments of the present disclosure. FIG. 5 is a diagram illustrating the voltage-current characteristics accompanying temperature changes of a diode. FIG. 6 is a diagram illustrating a current estimation device, an abnormality detection device, and an encoder according to a third embodiment of the present disclosure. FIG. 7 is a diagram illustrating a current estimation device, an abnormality detection device, and an encoder according to a fourth embodiment of the present disclosure. FIG. 8 is a flowchart illustrating the operation of the abnormality detection devices according to the third and fourth embodiments of the present disclosure. FIG. 9 is a timing chart illustrating the operation of a low-power consumption encoder. FIG. 10 is a diagram illustrating a current estimation device, an abnormality detection device, and an encoder according to a fifth embodiment of the present disclosure. FIG. 11 is a diagram illustrating a current estimation device, an abnormality detection device, and an encoder according to a sixth embodiment of the present disclosure. FIG. 12 is a flowchart illustrating the operation of the abnormality detection devices according to the fifth and sixth embodiments of the present disclosure. FIG. 13 is a diagram illustrating a current estimation device and a higher-level control device according to a seventh embodiment of the present disclosure. FIG. 14 is a flowchart illustrating the operation of the current estimation device according to the seventh embodiment of the present disclosure.
[0007] The current estimation device, the abnormality detection device, and the encoder according to the embodiments will be described below with reference to the drawings. In the following description, components having the same or similar functions are denoted by the same reference numerals. Duplicate descriptions of these components may be omitted. The scale of the drawings has been changed as appropriate to facilitate understanding. Here, "potential" refers to the voltage at any point when viewed from a reference potential of 0 V, and "voltage" refers to the potential difference between any two points.
[0008] Here, as an example, a description will be given of a case where the load circuit, the current to be measured, is a circuit (e.g., an encoder main circuit) provided within an encoder. The encoder is attached to a rotating body, such as the rotating shaft of a motor provided in a machine tool or robot, or the moving part of a robot, and generates rotational position information, such as the rotational position (rotation angle) and rotational speed of the rotating body. The encoder according to each embodiment of the present disclosure may be optical or magnetic.
[0009] <Configuration of First Embodiment> FIG. 1 is a diagram illustrating a current estimating device, an abnormality detecting device, and an encoder according to a first embodiment of the present disclosure.
[0010] The encoder 1000 according to the first embodiment of the present disclosure is attached to a rotating body, such as a motor or a rotating shaft provided in a machine tool or a robot, or a moving part of the robot, and detects the rotational position of the rotating body. The encoder 1000 includes an abnormality detection device 100, a load circuit 300, a diode 400, and other processing circuits (e.g., a control circuit that controls the operation of the encoder 1000). The load circuit 300 is an encoder main circuit unit that receives a DC voltage from a power supply 200. The encoder main circuit unit includes, for example, a control circuit (not shown) that controls the operation of the encoder 1000, various circuits that perform rotational position detection processing by the encoder 1000 based on the voltage supplied from the power supply 200, and a memory for storing various information including detected rotational position information and origin information.
[0011] A constant DC voltage (e.g., 5 V) is applied to load circuit 300 from power supply 200. Power supply 200 is, for example, the main power supply of a machine in which encoder 1000 is installed, and its output potential (output potential relative to a reference potential of 0 V) is always constant. The main power supply of a machine is sometimes called a control power supply depending on the machine to which it is applied. Examples of power supply 200 include the main power supply of a servo amplifier for driving a motor in which encoder 1000 is installed, the main power supply of a numerical control device of a machine tool having a motor in which encoder 1000 is installed, and the main power supply of a robot controller of a robot having a motor in which encoder 1000 is installed, but other main power supplies are also possible.
[0012] Diode 400 has the function of preventing reverse current flow from power supply 200 toward load circuit 300. The anode of diode 400 is connected to the output terminal of power supply 200, and the cathode of diode 400 is connected to the input terminal of load circuit 300. For example, if power supply 200 is mistakenly connected to encoder 1000 with the positive and negative terminals reversed, there is a risk that the circuits within encoder 1000 may be damaged, and therefore diode 400 is connected to the load circuit to prevent this.
[0013] The abnormality detection device 100 detects whether or not an abnormality exists in the load circuit 300 by using the voltage drop (forward voltage) across the diode 400 .
[0014] The abnormality detection device 100 includes a current estimation device 1, a storage unit 21, a comparison unit 22, and a determination unit 23.
[0015] The current estimation device 1 estimates the value of the current flowing from the power supply 200 to the load circuit 300 using the voltage drop (forward voltage) across the diode 400. FIG. 2 is a diagram illustrating the voltage-current characteristics of a diode. When a current flows from the anode to the cathode of a diode, a voltage drop occurs between the anode and cathode of the diode. The voltage drop (forward voltage) across the diode 400 depends on the current flowing through the diode 400 and the temperature of the diode 400. In the forward region, the larger the voltage drop across the diode 400, the larger the current flowing through the diode 400 (forward current). The equivalent resistance of the diode 400 changes depending on the magnitude of the voltage drop, but there is a one-to-one relationship between the voltage drop across the diode 400 and the current flowing through the diode 400. For example, if the voltage drop across the diode 400 at a certain temperature is V 1 When [V], the current flowing through the diode 400 is I 1 The voltage drop across the diode 400 depends not only on the current flowing through the diode 400 but also on the temperature of the diode 400. The temperature of the diode 400 can be approximated to the temperature of the environment in which the encoder 1000 is installed.
[0016] In the first embodiment and the second embodiment described below, in a situation where the temperature of the environment in which the encoder 1000 is installed changes little and is almost constant, the voltage-current characteristics of the diode 400 corresponding to the temperature of the environment in which the encoder 1000 is installed are used to estimate the value of the current flowing through the diode 400 based on the voltage drop (forward voltage) across the diode 400. The voltage-current characteristics of the diode 400 may be those specified in a specification table for the diode 400, for example.
[0017] The current estimation device 1 includes a detection unit 11 and an estimation unit 12 .
[0018] The detector 11 detects the voltage drop across the diode 400. The cathode potential of the diode 400 (cathode potential relative to a reference potential of 0 V) is input to the detector 11. The detector 11 includes an AD converter 14. The detector 11 converts the input cathode potential of the diode 400 into digital data using the AD converter 14. In the first embodiment, the detector 11 detects the value of the voltage drop across the diode 400 by subtracting the cathode potential of the diode 400 from the value of the output potential of the power supply 200 in digital data format. As described above, the output potential of the power supply 200 is a constant value, but the detector 11 stores the value of this output potential in advance. The value of the output potential of the power supply 200 may be stored in, for example, a memory unit (not shown) within the current estimation device 1 or in the memory unit 21. Digital data regarding the value of the voltage drop across the diode 400 is sent to the estimation unit 12.
[0019] The estimation unit 12 calculates an estimate of the current flowing from the power supply 200 to the load circuit 300 based on the voltage drop detected by the detection unit 11 and using the voltage-current characteristics of the diode 400. The estimation unit 12 stores in advance a voltage-current conversion table corresponding to the voltage-current characteristics of the diode 400. The voltage-current conversion table of the diode 400 may be stored, for example, in a storage unit (not shown) within the current estimation device 1 or in the storage unit 21. Digital data relating to the estimated value of the current calculated by the estimation unit 12 is sent to the comparison unit 22.
[0020] The memory unit 21 stores a threshold value used for determining an abnormality. The threshold value is set to a value, for example, several tens of percent higher than the value of the current that flows through the load circuit 300 when a voltage is supplied from the power supply 200 to the encoder 1000 while the load circuit 300 is normal. Note that the numerical values given here are merely examples, and other numerical values may be used. The magnitude of the set threshold value can be determined in advance based on the magnitude of the current that is expected to flow through the normal load circuit 300 based on a specification table for the diode 400, experiments, etc. The memory unit 21 may be a rewritable memory unit, which allows the threshold value to be changed to an appropriate value as needed even after it has been set.
[0021] The comparison unit 22 compares the estimated value calculated by the estimation unit 12 with the threshold value stored in the storage unit 21. Data relating to the result of the comparison by the comparison unit 22 is sent to the determination unit .
[0022] If the comparison result by the comparison unit 22 shows that the estimated current value is greater than the threshold value, the determination unit 23 determines that there is an abnormality in the load circuit 300. If the comparison result by the comparison unit 22 shows that the estimated current value is equal to or less than the threshold value, the determination unit 23 determines that there is an abnormality in the load circuit 300. If there is an abnormality in the load circuit 300, the determination unit 23 may output an alarm signal.
[0023] Furthermore, multiple thresholds may be provided to identify the degree of abnormality in the load circuit 300. For example, the memory unit 21 stores a first threshold and a second threshold greater than the first threshold. The comparison unit 22 compares the estimated value calculated by the estimation unit 12 with the first and second thresholds stored in the memory unit 21. If the comparison result by the comparison unit 22 shows that the estimated value of the current is greater than the first threshold and equal to or less than the second threshold, the determination unit 23 may determine that the load circuit 300 is deteriorated and output a warning signal. If the comparison result by the comparison unit 22 shows that the estimated value of the current is greater than the second threshold, the determination unit 23 may determine that the load circuit 300 is abnormal and output an alarm signal.
[0024] The determination result by the determination unit 23 may be displayed on, for example, a display device. Examples of display devices include a standalone display device, a display device attached to a higher-level control device to which the encoder 1000 is connected, and a display device attached to a personal computer or a mobile terminal. For example, when the display device receives an alarm signal from the determination unit 23, it displays "abnormality in load circuit." When the display device receives a warning signal from the determination unit 23, it displays "deterioration in load circuit." The above-mentioned display example by the display device is merely an example, and "abnormality in load circuit" or "deterioration in load circuit" may be displayed using other expressions or pictures.
[0025] The determination result by the determination unit 23 may be output by an audio device (not shown) that emits a sound such as a voice, a speaker, a buzzer, or a chime. For example, a tone, a scale, a rhythm, or a melody may be set so that the difference between "load circuit is normal", "abnormal load circuit", and "deteriorated load circuit" can be distinguished. Furthermore, the audio device may be silent when "load circuit is normal", and emit a sound when "abnormal load circuit" or "deteriorated load circuit" is detected.
[0026] The determination result by the determination unit 23 may be printed out and displayed on paper or the like using a printer.
[0027] The above describes examples of notifying the operator of the diagnosis results by the determination unit 23, but these may be realized in appropriate combinations. Furthermore, each time a diagnosis result is obtained by the determination unit 23, it may be stored and accumulated in memory, and may be made into a database, which may be used for failure prediction and preventive maintenance.
[0028] The worker can quickly and reliably grasp the state of the load circuit 300 based on the notified determination result by the determination unit 23. Therefore, if the worker finds that the load circuit 300 is faulty based on the determination result by the determination unit 23, the worker can take action such as replacing or repairing the encoder 1000, for example.
[0029] The encoder 1000 includes at least one processor, which is an arithmetic processing device. Examples of the arithmetic processing device include an IC, an LSI, a CPU, an MPU, and a DSP. The arithmetic processing device includes a detection unit 11, an estimation unit 12, a comparison unit 22, a determination unit 23, and other processing circuits. Each of these units in the arithmetic processing device is a functional module implemented by a program executed on the processor. For example, if the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits are implemented in a program format, the functions of each unit can be realized by operating the arithmetic processing device in accordance with the program. The programs for executing the processes of the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits may be provided in a form recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. Alternatively, the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits may be implemented as a semiconductor integrated circuit onto which programs for implementing the functions of each unit are written.
[0030] The encoder 1000 also includes at least one memory serving as a storage device. The memory includes a storage unit 21. Examples of the memory include electrically erasable and recordable nonvolatile memory such as an EEPROM (registered trademark), or high-speed read / write random access memory such as a DRAM or SRAM. The memory may store programs for operating the detection unit 11, estimation unit 12, comparison unit 22, determination unit 23, and other processing circuits. The memory may also store the value of the voltage drop across the diode 400 acquired by the detection unit 11. The memory may also store the determination result by the determination unit 23. The memory may also store various data related to the encoder 1000.
[0031] In the first embodiment described above, the abnormality detection device 100 is provided inside the encoder 1000. As a modification of this, the abnormality detection device 100 may be provided inside various host control devices, such as a servo amplifier for driving a motor provided with the encoder 1000, a numerical control device for a machine tool having a motor provided with the encoder 1000, or a robot controller for a robot having a motor provided with the encoder 1000.
[0032] In this modification, at least one processor serving as an arithmetic processing unit is provided within the host control device. Examples of the arithmetic processing unit include an IC, an LSI, a CPU, an MPU, and a DSP. The arithmetic processing unit includes a detection unit 11, an estimation unit 12, a comparison unit 22, a determination unit 23, and other processing circuits. Each of these units included in the arithmetic processing unit is a functional module implemented by a program executed on the processor. For example, if the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits are implemented in a program format, the functions of each unit can be realized by operating the arithmetic processing unit in accordance with the program. The programs for executing the processes of the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits may be provided in a form recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. Alternatively, the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits may be implemented as a semiconductor integrated circuit onto which a program for implementing the functions of each unit is written.
[0033] In this modification, at least one memory serving as a storage device is provided within the upper control device. The memory includes a storage unit 21. Examples of the memory include electrically erasable and recordable nonvolatile memory such as an EEPROM (registered trademark), or high-speed read / write random access memory such as a DRAM or SRAM. The storage device may also have a configuration such as an HDD or SSD. The memory may store programs for operating the detection unit 11, the estimation unit 12, the comparison unit 22, the determination unit 23, and other processing circuits. The memory may also store the value of the voltage drop across the diode 400 acquired by the detection unit 11. The memory may also store the determination result by the determination unit 23. The memory may also store various data related to the encoder 1000.
[0034] According to the first embodiment, the current consumption flowing through the load circuit 300 can be easily and inexpensively confirmed. According to the first embodiment, there is no need to disconnect the power supply 200 from the load circuit 300 and insert a current measuring device such as a tester in series between them to confirm the current consumption, making it easy to confirm the current consumption. When the power supply 200 is disconnected from the encoder 1000, the origin information used for the rotation detection process stored in the memory of the encoder 1000 is lost. However, according to the first embodiment, the current flowing through the load circuit 300 can be estimated without disconnecting the power supply 200 from the load circuit 300, eliminating the risk of the origin information being lost. Furthermore, according to the first embodiment, there is no need to previously install a resistor for current measurement between the power supply 200 and the load circuit 300, making it easy to confirm the current consumption accurately and inexpensively. Furthermore, according to the first embodiment, an abnormality in the load circuit 300 can be detected easily and inexpensively.
[0035] <Configuration of Second Embodiment> FIG. 3 is a diagram illustrating a current estimating device, an abnormality detecting device, and an encoder according to a second embodiment of the present disclosure.
[0036] As described above, in the first embodiment, the value of the voltage drop across the diode 400 is detected by subtracting the cathode potential of the diode 400 from the value of the output potential of the power supply 200. However, when the power supply 200 is a battery, the output voltage gradually decreases over time, so in the first embodiment, the voltage drop gradually decreases and the accuracy of the estimated value of the current flowing through the diode 400 decreases. Therefore, in the second embodiment, the value of the voltage drop is detected based on the potential difference before and after passing through the diode 400.
[0037] According to the second embodiment, the encoder 1000 includes an abnormality detection device 100, a load circuit 300, a diode 400, and other processing circuits (e.g., a control circuit that controls the operation of the encoder 1000). The abnormality detection device 100 includes a current estimation device 1, a storage unit 21, a comparison unit 22, and a determination unit 23. The current estimation device 1 includes a detection unit 11 and an estimation unit 12.
[0038] The load circuit 300, the diode 400, the estimation unit 12, the storage unit 21, the comparison unit 22, and the determination unit 23 are as described in the first embodiment with reference to Figures 1 and 2. Also, in Figure 3, for example, a control circuit that controls the operation of the encoder 1000 is not shown.
[0039] According to the second embodiment, the anode potential of the diode 400 (anode potential relative to a reference potential of 0 V) and the cathode potential of the diode 400 (cathode potential relative to a reference potential of 0 V) are input to the AD converter 14 of the detection unit 11 and are each converted into digital data format by the AD converter 14. The detection unit 11 detects the voltage drop across the diode 400 by subtracting the cathode potential of the diode 400 from the anode potential of the diode 400 in the digital data format. Digital data relating to the value of the voltage drop across the diode 400 is sent to the estimation unit 12.
[0040] According to the second embodiment, it is possible to achieve the same effects as those of the first embodiment described above. Furthermore, when the power supply 200 is a battery, an abnormality in the load circuit 200 causes the battery to drain abnormally quickly. Conventionally, an abnormality in the load circuit 300 could not be detected until the battery drained abnormally quickly, but according to the second embodiment, an abnormality in the load circuit 300 can be detected easily and at low cost.
[0041] <Operation of First and Second Embodiments> FIG. 4 is a flowchart showing the operation of the abnormality detection device according to the first and second embodiments of the present disclosure.
[0042] In step S101, the detection unit 11 detects the voltage drop across the diode 400. Digital data relating to the detected voltage drop across the diode 400 is sent to the estimation unit 12.
[0043] In step S102, an estimate of the current flowing from power supply 200 to load circuit 300 is calculated based on the voltage drop detected by detector 11 and using the voltage-current characteristics of diode 400. Digital data relating to the estimated current value calculated by estimator 12 is sent to comparator 22.
[0044] In step S103, the comparison unit 22 compares the estimated value calculated by the estimation unit 12 with the threshold value stored in the storage unit 21, and the determination unit 23 determines whether the estimated value of the current is greater than the threshold value based on the comparison result by the comparison unit 22. Note that if multiple threshold values are set, the magnitude relationship between the estimated value of the current and each threshold value is compared.
[0045] If it is determined in step S103 that the estimated current value is greater than the threshold value, the determination unit 23 determines in step S104 that there is an abnormality in the load circuit 300. If it is determined in step S103 that the estimated current value is equal to or less than the threshold value, the determination unit 23 determines in step S105 that the load circuit 300 is normal.
[0046] Steps S101 to S105 are repeatedly executed at a predetermined interval.
[0047] <Configuration of Third Embodiment> Fig. 5 is a diagram illustrating the voltage-current characteristics of a diode as the temperature changes. In the forward region, the larger the voltage drop (forward voltage) in the diode 400, the larger the current (forward current) flowing through the diode 400. However, the voltage-current characteristics of the diode 400 also change depending on the ambient temperature of the diode 400. As shown in Fig. 5, for example, if the voltage-current characteristics of the diode 400 at a first temperature are P B When the voltage-current characteristic of the diode 400 at a second temperature lower than the first temperature is expressed as P A The voltage-current characteristic of the diode 400 at a third temperature higher than the first temperature is represented by P C The voltage drop across the diode 400 at the second temperature is V 3 The current flowing through the diode 400 when [V] is expressed as the voltage-current characteristic P A According to I 3 The voltage drop across the diode 400 at the third temperature is V 2 The current flowing through the diode 400 when [V] is expressed as the voltage-current characteristic P C According to I 2 [A]. In this way, the voltage drop (forward voltage) of the diode 400 depends on the current flowing through the diode 400 and the temperature of the diode 400. If the temperature of the environment in which the encoder 1000 is installed changes frequently, the accuracy of the current estimate may decrease in the current estimation device 1 according to the first embodiment. Therefore, in the third embodiment, the voltage-current characteristics of the diode 400 are appropriately selected in consideration of the temperature of the diode 400, and the current estimate is calculated.
[0048] FIG. 6 is a diagram illustrating a current estimating device, an abnormality detecting device, and an encoder according to a third embodiment of the present disclosure.
[0049] According to the third embodiment, the encoder 1000 includes an abnormality detection device 100, a load circuit 300, a diode 400, and other processing circuits (e.g., a control circuit that controls the operation of the encoder 1000). The abnormality detection device 100 includes a current estimation device 1, a storage unit 21, a comparison unit 22, and a determination unit 23. The current estimation device 1 includes a detection unit 11, an estimation unit 12, and a temperature sensor 13.
[0050] The load circuit 300, the diode 400, the detection unit 11, the storage unit 21, the comparison unit 22, and the determination unit 23 are as described in the first embodiment with reference to Fig. 1. Also, in Fig. 6, for example, a control circuit that controls the operation of the encoder 1000 is not shown.
[0051] Temperature sensor 13 detects the temperature in the vicinity of diode 400. Although temperature sensor 13 is shown in a position away from diode 400 because Fig. 6 is a functional block diagram, it is preferable that temperature sensor 13 be placed in a position as physically close to diode 400 as possible.
[0052] The estimation unit 12 calculates an estimated value of the current based on the voltage drop across the diode 400 detected by the detection unit 11 and the temperature of the diode 400 detected by the temperature sensor 13. That is, the estimation unit 12 calculates an estimated value of the current flowing through the diode 400 based on the voltage drop across the diode 400, using the voltage-current characteristics of the diode 400 corresponding to the temperature detected by the temperature sensor 13. The estimation unit 12 stores in advance multiple voltage-current conversion tables corresponding to the voltage-current characteristics of the diode 400 at multiple temperatures. The voltage-current conversion tables for the diode 400 may be stored in, for example, a storage unit (not shown) within the current estimation device 1 or in the storage unit 21. Digital data related to the estimated value of the current calculated by the estimation unit 12 is sent to the comparison unit 22.
[0053] According to the third embodiment, it is possible to achieve the same effects as those of the first embodiment described above. Furthermore, according to the third embodiment, it is possible to calculate a current estimate with high accuracy even in a situation where the temperature of the environment in which the encoder 1000 is installed changes frequently. Furthermore, according to the first embodiment, it is possible to detect an abnormality in the load circuit 300 with high accuracy, easily, and at low cost.
[0054] <Configuration of Fourth Embodiment> FIG. 7 is a diagram illustrating a current estimating device, an abnormality detecting device, and an encoder according to a fourth embodiment of the present disclosure.
[0055] If the temperature of the environment in which the encoder 1000 is installed changes frequently, the accuracy of the current estimation value decreases in the current estimation device 1 according to the second embodiment. Therefore, in the fourth embodiment, the voltage-current characteristics of the diode 400 are appropriately selected in consideration of the temperature of the diode 400, and the current estimation value is calculated.
[0056] According to the fourth embodiment, the encoder 1000 includes an abnormality detection device 100, a load circuit 300, a diode 400, and other processing circuits (e.g., a control circuit that controls the operation of the encoder 1000). The abnormality detection device 100 includes a current estimation device 1, a storage unit 21, a comparison unit 22, and a determination unit 23. The current estimation device 1 includes a detection unit 11, an estimation unit 12, and a temperature sensor 13.
[0057] The load circuit 300, the diode 400, the detection unit 11, the storage unit 21, the comparison unit 22, and the determination unit 23 are as described in the second embodiment with reference to Fig. 3. Also, in Fig. 7, for example, a control circuit that controls the operation of the encoder 1000 is not shown.
[0058] Temperature sensor 13 detects the temperature in the vicinity of diode 400. Although temperature sensor 13 is shown in a position away from diode 400 because Fig. 7 is a functional block diagram, it is preferable that temperature sensor 13 be placed in a position as physically close to diode 400 as possible.
[0059] The estimation unit 12 calculates an estimated value of the current based on the voltage drop across the diode 400 detected by the detection unit 11 and the temperature of the diode 400 detected by the temperature sensor 13. That is, the estimation unit 12 calculates an estimated value of the current flowing through the diode 400 based on the voltage drop across the diode 400, using the voltage-current characteristics of the diode 400 corresponding to the temperature detected by the temperature sensor 13. The estimation unit 12 stores in advance multiple voltage-current conversion tables corresponding to the voltage-current characteristics of the diode 400 at each temperature. The voltage-current conversion tables for the diode 400 may be stored in, for example, a storage unit (not shown) within the current estimation device 1 or in the storage unit 21. Digital data related to the estimated value of the current calculated by the estimation unit 12 is sent to the comparison unit 22.
[0060] According to the fourth embodiment, it is possible to achieve the same effects as those of the third embodiment described above.
[0061] <Operation of Third and Fourth Embodiments> FIG. 8 is a flowchart showing the operation of the abnormality detection device according to the third and fourth embodiments of the present disclosure.
[0062] In step S201, the detection unit 11 detects the voltage drop across the diode 400. Digital data relating to the detected voltage drop across the diode 400 is sent to the estimation unit 12.
[0063] In step S202, the temperature sensor 13 detects the temperature in the vicinity of the diode 400. Data relating to the detected temperature of the diode 400 is sent to the estimation unit 12.
[0064] In step S203, the estimation unit 12 calculates an estimate of the current flowing through the diode 400 based on the voltage drop across the diode 400, using the voltage-current characteristics of the diode 400 that correspond to the temperature detected by the temperature sensor 13. Digital data relating to the estimated current value calculated by the estimation unit 12 is sent to the comparison unit 22.
[0065] In step S204, the comparison unit 22 compares the estimated value calculated by the estimation unit 12 with the threshold value stored in the memory unit 21, and the judgment unit 23 judges whether the estimated value of the current is greater than the threshold value as a result of the comparison by the comparison unit 22.
[0066] If it is determined in step S204 that the estimated current value is greater than the threshold value, the determination unit 23 determines in step S205 that there is an abnormality in the load circuit 300. If it is determined in step S204 that the estimated current value is equal to or less than the threshold value, the determination unit 23 determines in step S206 that the load circuit 300 is normal.
[0067] Steps S201 to S206 are repeatedly executed at a predetermined interval.
[0068] <Configuration of Fifth Embodiment> FIG. 9 is a timing chart illustrating the operation of a low-power consumption encoder.
[0069] Some low-power encoders installed in machines such as machine tools and robots change the operating speed (clock) of the circuits within the encoder to reduce power consumption of the power supply 200 when the machine is not in use. In a low-power encoder, as shown in FIG. 9 , the operating speed of the circuits within the low-power encoder increases when the machine is in use, resulting in increased power consumption, while the operating speed of the circuits within the low-power encoder decreases when the machine is not in use, resulting in reduced power consumption. In other words, in a low-power encoder, the current flowing through the load circuit differs when the machine is in use and when it is not in use. In the fifth embodiment, a threshold value corresponding to each type of operating speed of the load circuit of a low-power encoder is used to determine an abnormality in the load circuit.
[0070] FIG. 10 is a diagram illustrating a current estimating device, an abnormality detecting device, and an encoder according to a fifth embodiment of the present disclosure.
[0071] According to the fifth embodiment, the encoder 1000 includes an abnormality detection device 100, a load circuit 300, a diode 400, and other processing circuits (e.g., a control circuit that controls the operation of the encoder 1000). The abnormality detection device 100 includes a current estimation device 1, a storage unit 31, an acquisition unit 32, a comparison unit 33, and a determination unit 34. The current estimation device 1 includes a detection unit 11, an estimation unit 12, and a temperature sensor 13.
[0072] The power supply 200 and the diode 400 are as described in the first embodiment with reference to FIG. 1 and the third embodiment with reference to FIG.
[0073] The current estimation device 1 is as described in the third embodiment with reference to Fig. 6. Note that if it is assumed that the temperature of the environment in which the encoder 1000 is installed will change little and be substantially constant, the temperature sensor 13 may be omitted, and in this case the current estimation device 1 is as described in the first embodiment with reference to Fig. 1.
[0074] The load circuit 300 can be set to a high operating speed corresponding to when the encoder 1000 is in use and a low operating speed corresponding to when the encoder 1000 is not in use. The operating speed of the load circuit 300 is set by the control circuit 500. Whether the encoder 1000 is in use or not is determined by a host control device of the machine in which the encoder 1000 is installed. The control circuit 500 receives information on whether the encoder 1000 is in use or not, and sets the operating speed of the load circuit 300 based on this information. Note that in the fifth embodiment, as an example, two operating speeds, high speed and low speed, can be set as the operating speed of the load circuit 300, but three or more operating speeds may be set. For example, in addition to a high operating speed and a constant operating speed, a medium operating speed between high speed and low speed may be set.
[0075] The memory unit 31 stores threshold values corresponding to different operating speeds. Since the load circuit 300 can be configured with two operating speeds, for example, high speed and low speed, a high-speed threshold value corresponding to the high operating speed and a low-speed threshold value corresponding to the low operating speed are stored. The high-speed threshold value is set to a value higher than the low-speed threshold value. The high-speed threshold value is set to a value, for example, several tens of percent higher than the value of the current flowing through the load circuit 300 when a voltage is supplied from the power supply 200 to the encoder 1000 while the load circuit 300 is operating normally and the encoder 1000 is not in use. The low-speed threshold value is set to a value, for example, several tens of percent higher than the value of the current flowing through the load circuit 300 when a voltage is supplied from the power supply 200 to the encoder 1000 while the load circuit 300 is operating normally and the encoder 1000 is not in use. Note that the numerical values given here are merely examples, and other numerical values may be used. The magnitudes of the high-speed threshold and the low-speed threshold to be set can be determined in advance according to the magnitude of the current expected to flow through a normal load circuit 300 based on a specification table for the diode 400, prior experiments, etc. The storage unit 21 may be a rewritable storage unit, which allows the high-speed threshold and the low-speed threshold to be changed to appropriate values as needed even after they have been set. Note that if three or more operating speeds can be set for the load circuit, three or more thresholds corresponding to the operating speeds are stored in the storage unit 31.
[0076] The acquiring unit 32 acquires a threshold value corresponding to the operating speed set for the load circuit 300 from the storage unit 31 based on information regarding the operating speed set for the load circuit 300 by the control circuit 500, and sends the threshold value to the comparing unit 33. When a high operating speed is set for the load circuit 300 by the control circuit 500, the acquiring unit 32 acquires a high-speed threshold value from the storage unit 31 and sends the high-speed threshold value to the comparing unit 33. When a low operating speed is set for the load circuit 300 by the control circuit 500, the acquiring unit 32 acquires a low-speed threshold value from the storage unit 31 and sends the low-speed threshold value to the comparing unit 33.
[0077] The comparison unit 33 compares the estimated value calculated by the estimation unit 12 in the current estimation device 1 with the threshold value acquired by the acquisition unit 32. Data on the result of the comparison by the comparison unit 33 is sent to the determination unit .
[0078] When the comparison by the comparison unit 33 shows that the estimated current value is greater than the threshold value acquired by the acquisition unit 32, the determination unit 34 determines that the load circuit 300 is abnormal. When a high operating speed is set for the load circuit 300 by the control circuit 500, the determination unit 34 determines that the load circuit 300 is abnormal if the estimated current value is greater than the high-speed threshold, and determines that the load circuit 300 is normal if the estimated current value is equal to or less than the high-speed threshold. When a low operating speed is set for the load circuit 300 by the control circuit 500, the determination unit 34 determines that the load circuit 300 is abnormal if the estimated current value is greater than the low-speed threshold, and determines that the load circuit 300 is normal if the estimated current value is equal to or less than the low-speed threshold. As described above, in the low-power-consumption encoder 1000, the operating speed of the load circuit differs when the machine is in use and when it is not in use, and therefore the current flowing through the load circuit also differs. In the fifth embodiment, an abnormality in the load circuit 300 is determined using a threshold value corresponding to each type of operating speed of the load circuit 300 of the low power consumption type encoder 1000, so that an accurate determination result can be obtained.
[0079] The determination result by the determination unit 34 may be displayed on, for example, a display device. Examples of the display device include a standalone display device, a display device attached to a higher-level control device to which the encoder 1000 is connected, and a display device attached to a personal computer or a mobile terminal. For example, the display device displays "load circuit abnormality" when the estimated current value is greater than the threshold value acquired by the acquisition unit 32. The above-described display example by the display device is merely an example, and "load circuit abnormality" may be displayed using other expressions or pictures.
[0080] The determination result by the determination unit 34 may be output by an audio device (not shown) that emits a sound such as a voice, speaker, buzzer, or chime. For example, a tone, scale, rhythm, or melody may be set so that the difference between "load circuit is normal" and "abnormal load circuit" can be distinguished. Furthermore, the audio device may be silent when "load circuit is normal" and emit a sound when "abnormal load circuit" occurs.
[0081] The determination result by the determination unit 34 may be printed out and displayed on paper or the like using a printer.
[0082] The above describes examples of notifying the operator of the diagnosis results by the determination unit 34, but these may be realized in appropriate combinations. Furthermore, each time a diagnosis result is obtained by the determination unit 34, it may be stored and accumulated in memory, and may be made into a database, which may be used for failure prediction and preventive maintenance.
[0083] The worker can quickly and reliably grasp the state of the load circuit 300 based on the notified determination result by the determination unit 34. Therefore, if the worker finds that the load circuit 300 is faulty based on the determination result by the determination unit 34, the worker can take action such as replacing or repairing the low-power-consumption encoder 1000, for example.
[0084] The low-power encoder 1000 includes at least one processor, which is an arithmetic processing device. Examples of the arithmetic processing device include an IC, an LSI, a CPU, an MPU, and a DSP. The arithmetic processing device includes a detection unit 11, an estimation unit 12, an acquisition unit 32, a comparison unit 33, a determination unit 34, a control circuit 500, and other processing circuits. Each of these units included in the arithmetic processing device is a functional module implemented by a program executed on the processor. For example, if the detection unit 11, the estimation unit 12, the acquisition unit 32, the comparison unit 33, the determination unit 34, the control circuit 500, and other processing circuits are implemented in a program format, the functions of each unit can be realized by operating the arithmetic processing device in accordance with the program. The programs for executing the processes of the detection unit 11, the estimation unit 12, the acquisition unit 32, the comparison unit 33, the determination unit 34, the control circuit 500, and other processing circuits may be provided in a form recorded on a computer-readable recording medium, such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. Alternatively, the detection unit 11, estimation unit 12, acquisition unit 32, comparison unit 33, judgment unit 34, control circuit 500 and other processing circuits may be realized as a semiconductor integrated circuit in which a program that realizes the functions of each unit is written.
[0085] The encoder 1000 also includes at least one memory serving as a storage device. The memory includes a storage unit 31. Examples of the memory include electrically erasable and recordable nonvolatile memory such as an EEPROM (registered trademark), or high-speed read / write random access memory such as a DRAM or SRAM. The memory may store programs for operating the detection unit 11, estimation unit 12, acquisition unit 32, comparison unit 33, determination unit 34, control circuit 500, and other processing circuits. The memory may also store the value of the voltage drop across the diode 400 acquired by the detection unit 11. The memory may also store the determination result by the determination unit 34. The memory may also store various data related to the low-power encoder 1000.
[0086] In the above-described fifth embodiment, the abnormality detection device 100 is provided inside the low-power-consumption encoder 1000. As a variation of this, the abnormality detection device 100 may be provided inside a host control device such as a control device of a servo amplifier for driving a motor provided with the low-power-consumption encoder 1000, a numerical control device of a machine tool having a motor provided with the low-power-consumption encoder 1000, or a robot controller of a robot having a motor provided with the low-power-consumption encoder 1000.
[0087] In this modification, at least one processor serving as an arithmetic processing unit is provided within the host control device. Examples of the arithmetic processing unit include an IC, an LSI, a CPU, an MPU, and a DSP. The arithmetic processing unit includes a detection unit 11, an estimation unit 12, an acquisition unit 32, a comparison unit 33, a determination unit 34, and other processing circuits. Each of these units included in the arithmetic processing unit is a functional module implemented by a program executed on the processor. For example, if the detection unit 11, the estimation unit 12, the acquisition unit 32, the comparison unit 33, the determination unit 34, and other processing circuits are implemented in a program format, the functions of each unit can be realized by operating the arithmetic processing unit in accordance with the program. The programs for executing the processes of the detection unit 11, the estimation unit 12, the acquisition unit 32, the comparison unit 33, the determination unit 34, and other processing circuits may be provided in a form recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. Alternatively, the detection unit 11, estimation unit 12, acquisition unit 32, comparison unit 33, determination unit 34 and other processing circuits may be realized as a semiconductor integrated circuit in which a program for realizing the functions of each unit is written.
[0088] In this modification, at least one memory serving as a storage device is provided within the host control device. The memory includes a storage unit 31. Examples of the memory include electrically erasable and recordable nonvolatile memory such as an EEPROM (registered trademark), or high-speed read / write random access memory such as a DRAM or SRAM. The storage device may also have a configuration such as an HDD or SSD. The memory may store programs for operating the detection unit 11, estimation unit 12, acquisition unit 32, comparison unit 33, determination unit 34, and other processing circuits. The memory may also store the value of the voltage drop across the diode 400 acquired by the detection unit 11. The memory may also store the determination result by the determination unit 34. The memory may also store various data related to the low-power encoder 1000.
[0089] According to the fifth embodiment, it is possible to achieve the same effects as those of the first embodiment described above. Furthermore, according to the fifth embodiment, it is possible to calculate a current estimate with high accuracy even in a low current consumption encoder 1000 whose operating speed fluctuates. Furthermore, according to the fifth embodiment, it is possible to detect an abnormality in the load circuit 300 with high accuracy, easily, and at low cost.
[0090] <Configuration of Sixth Embodiment> FIG. 11 is a diagram illustrating a current estimating device, an abnormality detecting device, and an encoder according to a sixth embodiment of the present disclosure.
[0091] The sixth embodiment is the fourth embodiment described with reference to FIG. 7, but is adapted to a low power consumption encoder 1000 like the fifth embodiment.
[0092] According to the sixth embodiment, the encoder 1000 includes an abnormality detection device 100, a load circuit 300, a diode 400, and other processing circuits (e.g., a control circuit that controls the operation of the encoder 1000). The abnormality detection device 100 includes a current estimation device 1, a storage unit 31, an acquisition unit 32, a comparison unit 33, and a determination unit 34. The current estimation device 1 includes a detection unit 11, an estimation unit 12, and a temperature sensor 13.
[0093] The load circuit 300, the control circuit 500, the storage unit 31, the acquisition unit 32, the comparison unit 33, and the determination unit 34 are as described in the fifth embodiment with reference to FIG.
[0094] The current estimation device 1 is as described in the fourth embodiment with reference to Fig. 7. Note that if it is assumed that the temperature of the environment in which the encoder 1000 is installed will change little and be substantially constant, the temperature sensor 13 may be omitted, and in this case the current estimation device 1 is as described in the second embodiment with reference to Fig. 3.
[0095] The power supply 200 and the diode 400 are as described in the first embodiment with reference to FIG. 1 and the second embodiment with reference to FIG.
[0096] According to the sixth embodiment, it is possible to achieve the same effects as those of the fifth embodiment described above.
[0097] <Operation of Fifth and Sixth Embodiments> FIG. 12 is a flowchart showing the operation of the abnormality detection device according to the fifth and sixth embodiments of the present disclosure.
[0098] In step S301, the voltage drop across the diode 400 is detected. Digital data relating to the detected voltage drop across the diode 400 is sent to the estimation unit 12.
[0099] In step S302, the temperature sensor 13 detects the temperature in the vicinity of the diode 400. Data relating to the detected temperature of the diode 400 is sent to the estimation unit 12.
[0100] In step S303, the estimation unit 12 calculates an estimate of the current flowing through the diode 400 based on the voltage drop across the diode 400, using the voltage-current characteristics of the diode 400 that correspond to the temperature detected by the temperature sensor 13. Digital data relating to the estimated current value calculated by the estimation unit 12 is sent to the comparison unit 33.
[0101] In step S304, the acquisition unit 32 acquires a threshold value corresponding to the operating speed set for the load circuit 300 from the storage unit 31 based on information about the operating speed set for the load circuit 300 by the control circuit 500, and sends the threshold value to the comparison unit 33. When a high operating speed has been set for the load circuit 300 by the control circuit 500, the acquisition unit 32 acquires a high-speed threshold value from the storage unit 31 and sends the high-speed threshold value to the comparison unit 33. When a low operating speed has been set for the load circuit 300 by the control circuit 500, the acquisition unit 32 acquires a low-speed threshold value from the storage unit 31 and sends the low-speed threshold value to the comparison unit 33.
[0102] In step S305, the comparison unit 33 compares the estimated value calculated by the estimation unit 12 with the threshold value acquired by the acquisition unit 32, and the judgment unit 34 judges whether the estimated value of the current is greater than the threshold value as a result of the comparison by the comparison unit 33.
[0103] When the control circuit 500 sets a high operating speed for the load circuit 300, if it is determined in step S305 that the estimated current value is greater than the high-speed threshold value, the judgment unit 34 determines in step S306 that the load circuit 300 is abnormal, and if it is determined in step S305 that the estimated current value is less than or equal to the high-speed threshold value, the judgment unit 34 determines in step S307 that the load circuit 300 is normal.
[0104] When the control circuit 500 sets a low operating speed for the load circuit 300, if it is determined in step S305 that the estimated current value is greater than the low-speed threshold value, the judgment unit 34 determines in step S306 that there is an abnormality in the load circuit 300, and if it is determined in step S305 that the estimated current value is equal to or less than the low-speed threshold value, the judgment unit 34 determines in step S307 that the load circuit 300 is normal.
[0105] Steps S301 to S307 are repeatedly executed at a predetermined interval.
[0106] <Configuration of Seventh Embodiment> FIG. 13 is a diagram illustrating a current estimating device and a higher-level control device according to a seventh embodiment of the present disclosure.
[0107] In the seventh embodiment, a battery 201 is connected to a plurality of load circuits 300-1 to 300-n (where n is an integer equal to or greater than 2; the same applies below), and the value of the current flowing through the load circuits 300-1 to 300-n within an encoder is estimated. Each of the load circuits 300-1 to 300-n is, for example, a circuit (e.g., an encoder main circuit) provided within each of a plurality of encoders. The load circuits 300-1 to 300-n preferably have the same configuration, but even if they have different configurations, they may have approximately the same impedance. Furthermore, FIG. 13 does not illustrate, for example, the control circuits within each encoder having the load circuits 300-1 to 300-n. The following description is applicable even if the load circuits 300-1 to 300-n are circuits within devices other than encoders.
[0108] In order to prevent current from flowing in the reverse direction in load circuits 300-1 to 300-n when battery 201 is mistakenly connected with the positive and negative terminals reversed, each of load circuits 300-1 to 300-n is provided with diodes 400-1 to 400-n that prevent reverse current flow from power supply 200 toward load circuit 300. The anode of each of diodes 400-1 to 400-n is connected to the output terminal of power supply 200, and the cathode of each of diodes 400-1 to 400-n is connected to the input terminal of each of load circuits 300-1 to 300-n.
[0109] The host control device 3 is, for example, a control device for a servo amplifier for driving a motor equipped with an encoder, a numerical control device for a machine tool having a motor equipped with an encoder, or a robot controller for a robot having a motor equipped with an encoder. The host control device 3 includes the current estimating device 2 and other processing circuits.
[0110] The current estimation device 2 includes a cathode potential detection unit 41, a voltage drop detection unit 42, an estimation unit 43, and a display unit 44. Temperature sensors (not shown) are provided near each of the load circuits 300-1 to 300-n in correspondence with each of the load circuits 300-1 to 300-n.
[0111] The cathode potential detection unit 41 detects the cathode potential of each of the diodes 400-1 to 400-n provided corresponding to each of the plurality of load circuits 300-1 to 300-n. The cathode potential detection unit 41 has an AD converter (not shown). The cathode potential detection unit 41 converts the input cathode potential of each of the diodes 400-1 to 400-n into digital data using the AD converter. The digital data relating to the value of the cathode potential of each of the diodes 400-1 to 400-n is sent to the voltage drop detection unit 42.
[0112] The voltage drop detection unit 42 detects the value of the voltage drop across each of the diodes 400-1 to 400-n by subtracting the cathode potential of each of the diodes 400-1 to 400-n from the value of the output potential of the battery 201, which is in the form of digital data. The voltage drop detection unit 42 stores the value of the output potential of the battery 201 in advance. The value of the output potential of the battery 201 is stored, for example, in a storage unit (not shown) within the current estimation device 2. The digital data relating to the value of the voltage drop across each of the diodes 400-1 to 400-n is sent to the estimation unit 43.
[0113] The estimation unit 43 calculates an estimated value of the current based on the voltage drop in each of the diodes 400-1 to 400-n detected by the voltage drop detection unit 42 and the temperature of each of the diodes 400-1 to 400-n detected by each temperature sensor. That is, the estimation unit 43 uses the voltage-current characteristics of the diode corresponding to the temperature detected by the temperature sensor to calculate an estimated value of each current flowing between the battery 201 and each of the plurality of load circuits 300-1 to 300-n based on the voltage drop in each of the diodes 400-1 to 400-n detected by the voltage drop detection unit 42. Digital data related to the estimated value of each current calculated by the estimation unit 43 is sent to the display unit 44.
[0114] The output voltage of the battery 201 gradually decreases over time. For example, even if the output voltage of the battery 201, which had an output voltage of 5 V when new, drops to a certain level (e.g., 3 V), if the current estimation device 2 is designed to operate at an even lower voltage (e.g., 2 V), the current estimation device 2 can operate up to that voltage (e.g., 2 V), and therefore an estimated current value can be calculated. Note that the numerical values given here are merely examples, and other numerical values may also be used.
[0115] The display unit 44 displays the estimated values of each current estimated by the estimation unit 43. Examples of the display unit 44 include a display device attached to the upper control device 3, a standalone display device, and a display device attached to a personal computer or a mobile terminal. If all load circuits 300-1 to 300-n connected to a single battery 201 and having the same configuration are normal, the estimated values of the current flowing through the load circuits 300-1 to 300-n will be approximately the same. However, if there is an abnormality in any of the load circuits 300-1 to 300-n (either one or more), the estimated value of the current flowing through the abnormal load circuit will be significantly larger than the estimated value of the current flowing through the normal load circuits other than the abnormal load circuit. Based on the estimated values of each current displayed on the display unit 44, the operator can quickly and reliably determine whether or not there is an abnormality in the load circuits 300 to 300-n. Therefore, if an operator can confirm from the display on the display unit 44 that a load circuit has failed, the operator can take action such as replacing or repairing the encoder having the load circuit.
[0116] The current estimation device 2 or the upper control device 3 includes at least one processor serving as an arithmetic processing device. Examples of the arithmetic processing device include an IC, an LSI, a CPU, an MPU, and a DSP. The arithmetic processing device includes a cathode potential detection unit 41, a voltage drop detection unit 42, an estimation unit 43, and other processing circuits. Each of these units included in the arithmetic processing device is a functional module implemented by a program executed on the processor. For example, if the cathode potential detection unit 41, the voltage drop detection unit 42, the estimation unit 43, and other processing circuits are implemented in a program format, the functions of each unit can be realized by operating the arithmetic processing device in accordance with the program. The programs for executing the processes of the cathode potential detection unit 41, the voltage drop detection unit 42, the estimation unit 43, and other processing circuits may be provided in the form of a computer-readable recording medium, such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. Alternatively, the cathode potential detection unit 41, the voltage drop detection unit 42, the estimation unit 43, and other processing circuits may be implemented as a semiconductor integrated circuit in which programs for implementing the functions of each unit are written.
[0117] The current estimation device 2 or the upper control device 3 is provided with at least one memory serving as a storage device. Examples of the memory include electrically erasable and recordable nonvolatile memory such as EEPROM (registered trademark), or high-speed read / write random access memory such as DRAM or SRAM. The storage device may also have a configuration such as an HDD or SSD. The memory may store programs for operating the cathode potential detection unit 41, the voltage drop detection unit 42, the estimation unit 43, and other processing circuits. The memory may also store the cathode potential values of the diodes 400-1 to 400-n acquired by the cathode potential detection unit 41 and the output potential value of the battery 201. The memory may also store estimated values of each current acquired by the estimation unit 43. Various data related to the upper control device 3 may also be stored in the memory.
[0118] <Operation of Seventh Embodiment> FIG. 14 is a flowchart showing the operation of the current estimating device according to the seventh embodiment of the present disclosure.
[0119] In step S401, the cathode potential detector 41 detects the cathode potential of each of the diodes 400-1 to 400-n provided corresponding to each of the plurality of load circuits 300-1 to 300-n. Digital data relating to the value of the cathode potential of each of the diodes 400-1 to 400-n is sent to the voltage drop detector 42.
[0120] In step S402, voltage drop detector 42 subtracts the cathode potential of each of diodes 400-1 to 400-n from the value of the output potential of battery 201 to detect the value of the voltage drop across each of diodes 400-1 to 400-n.
[0121] In step S403, each temperature sensor detects the temperature in the vicinity of each of the diodes 400-1 to 400-n. Data relating to the detected temperature of each of the diodes 400-1 to 400-n is sent to the estimation unit 43.
[0122] In step S404, estimation unit 43 uses the voltage-current characteristics of the diodes corresponding to the temperatures detected by the temperature sensors to calculate estimated values of the currents flowing between battery 201 and each of the plurality of load circuits 300-1 to 300-n based on the voltage drop in each of diodes 400-1 to 400-n detected by voltage drop detection unit 42. Digital data relating to the estimated values of the currents calculated by estimation unit 43 is sent to display unit 44.
[0123] In step S405 , the display unit 44 displays the estimated values of the currents estimated by the estimation unit 43 .
[0124] Steps S401 to S405 are repeatedly executed at a predetermined interval.
[0125] FIG. 15 is a diagram illustrating an example of the content displayed by the display unit in the seventh embodiment of the present disclosure. As shown in FIG. 15, the screen 600 of the display unit 44 displays the estimated values of the currents flowing through the load circuits 300-1 to 300-n obtained by the estimation unit 43 for each encoder having each of the load circuits 300-1 to 300-n. For example, as shown in FIG. 15, while the estimated current values for many encoders are between 1.04 mA and 1.06 mA, the estimated current value for the fourth encoder is 4.05 mA, allowing the operator to determine that the fourth encoder is abnormal. Note that the values given here are merely examples, and other values may also be used.
[0126] According to the seventh embodiment, the current consumption flowing through the multiple load circuits 300-1 to 300-n connected to a single battery 201 can be easily and inexpensively confirmed. According to the seventh embodiment, there is no need to disconnect the battery 201 from each of the multiple load circuits 300-1 to 300-n and insert a current measuring device such as a tester in series between them to confirm the current consumption, making it easy to confirm the current consumption. Disconnecting the battery 201 from each encoder causes the origin information used for the rotation detection process stored in the encoder's memory to be lost. However, according to the seventh embodiment, the current flowing through the load circuit 300 can be estimated without disconnecting the battery 201 from each of the multiple load circuits 300-1 to 300-n, eliminating the risk of losing the origin information. Furthermore, according to the seventh embodiment, there is no need to previously install a current measurement resistor between the battery 201 and each of the multiple load circuits 300-1 to 300-n, making it easy to confirm the current consumption accurately and at low cost. Furthermore, although the positions of the multiple encoders connected to the battery 201 vary, according to the seventh embodiment, the estimated current value of each encoder is displayed on the screen 600 of the display unit 44, making it easy to identify which encoder is abnormal.
[0127] In the above-described embodiments of the present disclosure, the load circuit, the current of which is to be measured, is a circuit (e.g., an encoder main circuit) provided within an encoder. The embodiments of the present disclosure are not limited to encoders and can also be applied to devices configured such that a diode is connected to a load circuit.
[0128] Although the present disclosure has been described in detail above, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values or mathematical expressions are used in the description of the above-described embodiments.
[0129] <Supplementary Notes> The following supplementary notes are further disclosed regarding the above-described embodiment and modifications.
[0130] (Supplementary Note 1) A current estimation device 1 includes: a detector 11 that detects a voltage drop across a diode 400 that is provided to prevent a reverse flow of a current flowing from a power source 200 toward a load circuit 300; and an estimator 12 that calculates an estimate of a current flowing between the power source 200 and the load circuit 300 based on the voltage drop detected by the detector 11. (Supplementary Note 2) The current estimation device 1 according to Supplementary Note 1, wherein the detector 11 detects the voltage drop based on a difference between an output potential of the power source 200 and a cathode potential of the diode 400. (Supplementary Note 3) The current estimation device 1 according to Supplementary Note 1, wherein the detector 11 detects the voltage drop based on a difference between an anode potential of the diode 400 and a cathode potential of the diode 400. (Supplementary Note 4) The current estimation device 1 according to any one of Supplements 1 to 3, further includes a temperature sensor 13 that detects a temperature in the vicinity of the diode 400, and the estimator 12 calculates an estimate based on the voltage drop detected by the detector 11 and the temperature detected by the temperature sensor 13. (Supplementary Note 5) An abnormality detection device 100 includes: a current estimation device 1 according to any one of Supplementary Notes 1 to 4; a memory unit 21 that stores a predetermined threshold value; a comparison unit 22 that compares an estimated value calculated by the current estimation device 1 with the threshold value stored in the memory unit 21; and a determination unit 23 that determines that an abnormality exists in the load circuit 300 when the comparison by the comparison unit 22 shows that the estimated value is greater than the threshold value. (Supplementary Note 6) An abnormality detection device 100 includes: a current estimation device 1 according to any one of Supplementary Notes 1 to 4, which calculates an estimated value of a current flowing through a diode 400 provided between a power supply 200 and a load circuit 300 that can be set to at least two types of operating speed; a memory unit 31 which stores thresholds corresponding to the types of operating speed; an acquisition unit 32 which acquires, from the memory unit 31, the thresholds corresponding to the operating speeds set for the load circuit 300; a comparison unit 33 which compares the estimated value calculated by the current estimation device 1 with the thresholds acquired by the acquisition unit 32; and a determination unit 34 which determines that an abnormality exists in the load circuit 300 when the comparison by the comparison unit 33 shows that the estimated value is greater than the thresholds.(Supplementary Note 7) An encoder 1000 comprising: the abnormality detection device 100 according to Supplementary Note 5 or 6; an encoder main circuit which is a load circuit 300; and a diode 400 provided between the power supply 200 and the load circuit 300, for preventing reverse flow of current flowing from the power supply 200 toward the load circuit 300. (Supplementary Note 8) A current estimation device 2 includes: a cathode potential detection unit 41 that detects the cathode potential of each of diodes 400-1 to 400-n provided corresponding to each of a plurality of load circuits 300-1 to 300-n in order to prevent backflow of each current flowing from the battery toward the plurality of load circuits 300-1 to 300-n; a voltage drop detection unit 42 that detects a voltage drop in each of diodes 400-1 to 400-n based on a difference between the output potential of the battery and each cathode potential; an estimation unit 43 that calculates an estimate of each current flowing between the battery and each of the plurality of load circuits 300-1 to 300-n based on the voltage drop in each of diodes 400-1 to 400-n detected by voltage drop detection unit 42; and a display unit 44 that displays each estimate estimated by estimation unit 43.
[0131] REFERENCE SIGNS LIST 1 Current estimation device 2 Current estimation device 3 Upper control device 11 Detection unit 12 Estimation unit 13 Temperature sensor 14 AD converter 21 Memory unit 22 Comparison unit 23 Determination unit 31 Memory unit 32 Acquisition unit 33 Comparison unit 34 Determination unit 41 Cathode potential detection unit 42 Voltage drop detection unit 43 Estimation unit 44 Display unit 100 Abnormality detection device 200 Power supply 201 Battery 300, 300-1 to 300-n Load circuit 400, 400-1 to 400-n Diode 500 Control circuit 600 Screen 1000 Encoder
Claims
1. A current estimation device comprising: a detection unit that detects a voltage drop in a diode provided to prevent reverse flow of current flowing from a power source to a load circuit; and an estimation unit that calculates an estimate of a current flowing between the power source and the load circuit based on the voltage drop detected by the detection unit.
2. The current estimating device according to claim 1, wherein the detection section detects the voltage drop based on a difference between an output potential of the power supply and a cathode potential of the diode.
3. The current estimating device according to claim 1, wherein the detection section detects the voltage drop based on a difference between an anode potential of the diode and a cathode potential of the diode.
4. A current estimation device as claimed in any one of claims 1 to 3, further comprising a temperature sensor that detects the temperature in the vicinity of the diode, wherein the estimation unit calculates the estimated value based on the voltage drop detected by the detection unit and the temperature detected by the temperature sensor.
5. An abnormality detection device comprising: a current estimation device according to any one of claims 1 to 4; a memory unit for storing a predetermined threshold value; a comparison unit for comparing the estimated value calculated by the current estimation device with the threshold value stored in the memory unit; and a judgment unit for judging that an abnormality has occurred in the load circuit when the comparison by the comparison unit shows that the estimated value is greater than the threshold value.
6. An abnormality detection device comprising: a current estimation device according to any one of claims 1 to 4, which calculates the estimated value of a current flowing through the diode provided between the power supply and the load circuit, which can be set to at least two types of operating speed; a memory unit which stores threshold values corresponding to the types of operating speed; an acquisition unit which acquires from the memory unit a threshold value corresponding to the operating speed set for the load circuit; a comparison unit which compares the estimated value calculated by the current estimation device with the threshold value acquired by the acquisition unit; and a judgment unit which judges that an abnormality has occurred in the load circuit when the comparison by the comparison unit shows that the estimated value is greater than the threshold value.
7. An encoder comprising: an abnormality detection device as defined in claim 5 or 6; an encoder main circuit which is the load circuit; and a diode provided between a power source and the load circuit for preventing reverse flow of current flowing from the power source toward the load circuit.
8. A current estimation device comprising: a cathode potential detection unit that detects the cathode potential of each of a plurality of diodes provided corresponding to each of a plurality of load circuits to prevent reverse flow of each current flowing from a battery to the plurality of load circuits; a voltage drop detection unit that detects a voltage drop in each of the diodes based on a difference between the output potential of the battery and each of the cathode potentials; an estimation unit that calculates an estimate of each current flowing between the battery and each of the plurality of load circuits based on the voltage drop in each of the diodes detected by the voltage drop detection unit; and a display unit that displays each of the estimates estimated by the estimation unit.
Citation Information
Patent Citations
Power supply monitor circuit
JP1997084280A
Encoder and its backup method
JP2000014047A
Control device and power supply control method
JP2006101592A
Encoder
JP2006292491A
Power supply control system
JP2009081948A
