Motor driver and motor control system
The motor driver superimposes transmission signals onto encoder signals, allowing efficient information transfer within the motor control system without additional lines or signal modifications, addressing the need for enhanced motor status and fault reporting.
Patent Information
- Application Number
- JP2023054601
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing motor control systems lack an efficient method to transmit additional information, such as motor status or fault signals, without requiring additional signal lines or modifying the encoder signal characteristics.
A motor driver that superimposes transmission signals onto the speed detection signals from an encoder, allowing the motor controller to separate and process both signals without additional interfaces or signal lines, using an information superimposition circuit to combine the transmission signal with the encoder signal.
Enables efficient transmission of motor status and fault information to the controller without increasing signal lines or altering the encoder signal characteristics, simplifying the motor control system and enhancing its operational reliability.
Smart Images

Figure 2024142459000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor driver, a motor control system, and the like. [Background technology]
[0002] Patent Document 1 discloses a method in which an encoder signal having a frequency corresponding to the rotation speed of a vertical conveying motor is generated by an encoder, the duty ratio of the encoder signal is modulated based on the logical state of the sensor, the modulated encoder signal is output, and the encoder signal is demodulated to obtain the logical state of the sensor. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2012-244793 A Summary of the Invention [Problem to be solved by the invention]
[0004] Patent Document 1 discloses a method of transmitting the logical state of a sensor by modulating the duty ratio using an encoder signal as a carrier wave, but does not disclose or suggest a technology for transmitting a transmission signal from a motor driver to a controller by superimposing the transmission signal on the speed detection signal of the encoder. [Means for solving the problem]
[0005] One aspect of the present disclosure relates to a motor driver that includes a drive circuit that drives a motor based on a control signal from a controller, and an information superposition circuit that receives a speed detection signal from an encoder that detects the speed of the motor, superimposes a transmission signal for transmission information to the controller on the speed detection signal, and transmits a superimposed signal, which is the speed detection signal after superposition, to the controller.
[0006] Yet another aspect of the present disclosure relates to a motor driver including a drive circuit that drives a motor based on a control signal from a controller, and an information superposition circuit that receives as input a first speed detection signal from an encoder that detects the speed of the motor, and a second speed detection signal that is out of phase with the first speed detection signal, and sets either the first speed detection signal or the second speed detection signal to a fixed logic level according to information transmitted to the controller.
[0007] Yet another aspect of the present disclosure relates to a motor control system including any one of the motor drivers described above and the controller. [Brief description of the drawings]
[0008] [Figure 1] Configuration example of a motor control system when this embodiment is not used [Diagram 2] Robot system configuration example [Diagram 3] First configuration example of a motor control system [Figure 4] Waveform examples of speed detection signal, transmission signal and superimposed signal [Diagram 5] First detailed configuration example of a motor driver [Figure 6] Detailed configuration example of the transmission signal generation circuit [Figure 7] Detailed configuration example of timing generation circuit [Figure 8] Signal waveform examples explaining the operation of an exclusive OR circuit, an AND circuit, and a delay circuit [Figure 9] Detailed configuration example of pattern generation circuit [Figure 10] Signal waveform examples explaining the operation of the pattern generator and the pattern generation circuit [Figure 11] Detailed configuration example of information superimposition circuit [Figure 12] Signal waveform examples explaining the operation of the information superimposition circuit [Figure 13] First controller configuration example [Figure 14]Signal waveform examples explaining the operation of the controller [Figure 15] Second controller configuration example [Figure 16] Second detailed configuration example of the motor driver [Figure 17] Signal waveform examples explaining the operation of the second detailed configuration example of the motor driver [Figure 18] Motor driver third detailed configuration example [Figure 19] Signal waveform example explaining the operation of the third detailed configuration example of the motor driver [Figure 20] Second Configuration Example of Motor Control System [Figure 21] Signal waveform examples explaining the operation of the second configuration example of the motor control system [Figure 22] Signal waveform examples explaining the operation of the third configuration example of the motor control system [Figure 23] Signal waveform examples explaining the operation of the third configuration example of the motor control system DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] A preferred embodiment of the present disclosure will be described in detail below. Note that the embodiment described below does not unduly limit the contents described in the claims, and all of the configurations described in the embodiment are not necessarily essential configurations.
[0010] 1.Motor Control System 1 shows an example of the configuration of a motor control system when this embodiment is not used. The motor control system 5 includes a controller 201 and a driving unit 401. The driving unit 401 includes a motor driver 301, a motor 11, a sensor 21, and an encoder 101.
[0011] The sensor 21 detects the rotation etc. of the motor 11. The encoder 101 receives a detection signal SENQ1 from the sensor 21 and outputs a speed detection signal ENCQ1 indicating the rotation speed of the motor 11. The controller 201 outputs a control signal MCNT1 to the motor driver 301 based on the detection result ISEN1 of the motor drive current by the sense resistor and the speed detection signal ENCQ. The motor driver 301 outputs a drive signal SDRV1 to the motor 11 based on the control signal MCNT1.
[0012] The motor driver 301 transmits information to the controller 201 by transmitting a transmission signal TS1 to the controller 201. Information included in the transmission signal TS1 is, for example, the result of detecting the temperature of the motor or the motor driver, the result of detecting an abnormality in the drive current, the result of detecting an operational abnormality by a watchdog timer or the like, or the result of self-diagnosis of the motor driver.
[0013] Fig. 2 shows an example of the configuration of a robot system to which the motor control system can be applied. The robot system 2 includes a robot 500, a controller 200, and a cable 250. The motor control system is not limited to being applied to robot systems, but may be applied to any system that controls mechanical operations using a motor, such as a printing device. Fig. 2 shows an example in which the controller 200 is a single device housed in a housing, but the controller 200 may be a plurality of devices or a cloud system that are communicatively connected to each other.
[0014] The robot 500 includes joints 510 that connect the base and the arm or the arms and a communication circuit 550 that communicates with the controller 200. Although an example of a one-arm robot is shown in FIG. 2, a two-arm robot may also be used. The number of joints may be one or more. Each joint 510 is provided with a drive unit 400, and the arm is operated by the motor of the drive unit 400 rotating the joint.
[0015] When the motor control system 5 of Fig. 1 is applied to the robot system 2 of Fig. 2, the controller 201 and the driving unit 401 of Fig. 1 are respectively applied to the controller 200 and the driving unit 400 of Fig. 2. At this time, in addition to the control signal MCNT1, the motor driving current detection result ISEN1, and the speed detection signal ENCQ, a transmission signal TS1 is exchanged between the controller 201 and the driving unit 401 via the cable 250. For this reason, it is necessary to increase the number of signal lines in the cable 250 in order to transmit the transmission signal TS1, or to make the interfaces of the controller 201 and the communication circuit 550 compatible with the transmission signal TS1.
[0016] Fig. 3 shows a first configuration example of a motor control system in this embodiment. The motor control system 1 includes a controller 200 and a driving unit 400. The driving unit 400 includes a motor driver 300, a motor 10, a sensor 20, and an encoder 100. Although Fig. 3 shows an example in which the motor control system 1 includes one driving unit, the motor control system 1 may include multiple driving units.
[0017] The motor 10 is rotated by being driven by the motor driver 300, and the rotation moves an object to be driven. The object to be driven may move in various ways, such as rotation or linear motion. The motor 10 is, for example, a DC motor, an AC motor, or a stepping motor.
[0018] The motor driver 300 outputs a drive signal SDRV to the motor 10 based on a control signal MCNT from the controller 200. The motor driver 300 also detects the current that drives the motor 10 using a sense resistor or the like. The current detection result ISEN is input to the controller 200. The motor driver 300 is, for example, an integrated circuit device in which a plurality of circuit elements are integrated on a semiconductor substrate. However, the sense resistor may be provided outside the integrated circuit device.
[0019] The sensor 20 is a sensor for an encoder, and detects the speed of the motor 10. The sensor 20 may be installed either on the motor 10 itself or on an object driven by the motor 10, and in either case, a detection signal SENQ corresponding to the speed of the motor 10 is obtained. The sensor 20 is an optical or magnetic speed sensor. An optical sensor includes, for example, a light source, a slit plate fixed to the object to be detected, and a light receiving sensor that detects light that has passed through the slit plate from the light source. A magnetic sensor includes, for example, a magnet fixed to the object to be detected, and a Hall sensor that detects the magnetic field received from the magnet. The detection signal SENQ output by the sensor 20 is a periodic signal such as a sine wave, and the period of the detection signal SENQ becomes shorter as the speed of the motor 10 increases.
[0020] The encoder 100 receives the detection signal SENQ from the sensor 20 and outputs a speed detection signal ENCQ to the motor driver 300. The speed detection signal ENCQ is a binarized signal of the analog detection signal SENQ from the sensor 20, and is a periodic pulse signal. The faster the speed of the motor 10, the shorter the period of the speed detection signal ENCQ. The encoder 100 is, for example, an integrated circuit device in which a plurality of circuit elements are integrated on a semiconductor substrate, or a circuit board in which a plurality of circuit components are mounted on a printed circuit board or the like.
[0021] The motor driver 300 superimposes the transmission signal on the speed detection signal ENCQ and transmits the superimposed signal as a superimposed signal ENTS to the controller 200. The controller 200 separates the superimposed signal ENTS into a speed detection signal and a transmission signal. Then, based on the speed detection signal separated from the superimposed signal ENTS and the current detection result ISEN, the controller 200 outputs a control signal MCNT to the motor driver 300 so that the motor 10 generates a given torque or rotation speed, etc. The given torque or rotation speed, etc. are set so that a driven object such as a robot arm performs a given operation. That is, the controller 200 controls the motor 10 so that a desired operation of the driven object is obtained based on the speed indicated by the speed detection signal ENCQ or the position, etc. obtained by integrating the speed. The controller 200 also performs processing based on the transmission signal separated from the superimposed signal ENTS. For example, when the controller 200 receives a transmission signal from the motor driver 300 indicating a temperature abnormality, an abnormality in the drive current, or an operational abnormality, the controller 200 stops the motor 10, performs an abnormality notification process, or restarts the motor driver 300.
[0022] FIG. 4 shows example waveforms of the speed detection signal, the transmission signal, and the superimposed signal. The transmission signal TS is a pulse signal that represents bits or data that represent transmission information. One pulse represents one bit of the bit or data, and in the example of FIG. 4, a high pulse represents that the bit is "1". If the bit is "0", no pulse is generated. Although FIG. 4 shows the transmission signal TS having one pulse per period of the speed detection signal ENCQ, the transmission signal TS may include multiple pulses per period of the speed detection signal ENCQ. All information may be transmitted in one period of the speed detection signal ENCQ, with the same information being transmitted in each period. Alternatively, information may be transmitted over multiple periods, in which case different information is transmitted in each of the multiple periods.
[0023] The pulse width of one pulse of the transmission signal TS is sufficiently shorter than the pulse width of the speed detection signal ENCQ. The pulse width of the speed detection signal ENCQ is determined by the period of the speed detection signal ENCQ. Since the period of the speed detection signal ENCQ changes according to the rotational speed of the motor 10, the pulse width of the transmission signal TS is shorter than the pulse width corresponding to the minimum period. The minimum period of the speed detection signal ENCQ is determined by the specifications of the encoder. For example, if the maximum detectable speed is determined in the specifications of the encoder, the period of the speed detection signal ENCQ representing that maximum detectable speed becomes the minimum period.
[0024] The superimposed signal ENTS is a signal in which a pulse signal of the transmission signal TS is superimposed on the speed detection signal ENCQ. That is, in this embodiment, "superimposition" means adding a pulse contained in the transmission signal TS to the speed detection signal ENCQ. When a high pulse is added to the low level section of the speed detection signal ENCQ as shown in FIG. 4, the superimposed signal ENTS is, for example, a logical sum of the speed detection signal ENCQ and the transmission signal TS. Alternatively, a low pulse may be added to the high level section of the speed detection signal ENCQ. In this case, the superimposed signal ENTS is, for example, a logical sum of the speed detection signal ENCQ and the inverted signal of the transmission signal TS. Alternatively, a pulse may be added to the low level section and the high level section of the speed detection signal ENCQ. In this case, the superimposed signal ENTS is, for example, an exclusive logical sum of the speed detection signal ENCQ and the transmission signal TS.
[0025] 2. Motor driver 5 shows a first detailed configuration example of the motor driver 300. The motor driver 300 includes a control signal processing circuit 310, a drive circuit 320, an information superimposing circuit 330, and a transmission signal generating circuit 340.
[0026] The control signal processing circuit 310 receives a control signal MCNT from the controller 200 and controls the drive circuit 320. The drive circuit 320 is an inverter circuit, a bridge circuit, or the like that drives the motor 10. As an example, the control signal MCNT is a PWM signal, and the control signal processing circuit 310 converts or buffers the PWM signal to generate a signal that controls the inverter circuit or the bridge circuit. The drive circuit 320 operates according to a signal from the control signal processing circuit 310, and outputs a drive signal SDRV to the motor 10.
[0027] The transmission signal generating circuit 340 generates the transmission signal TS from transmission information to be transmitted to the controller 200. The transmission signal generating circuit 340 controls the generation timing of a pulse signal in the transmission signal TS by using the speed detection signal ENCQ. In the following, an example will be described in which the transmission signal generating circuit 340 generates a pulse signal of the transmission signal TS in a low-level section of the speed detection signal ENCQ, but the pulse signal of the transmission signal TS may also be generated in a high-level section of the speed detection signal ENCQ as described above.
[0028] The information superimposing circuit 330 superimposes the transmission signal TS on the speed detection signal ENCQ, and transmits the superimposed signal to the controller 200 as a superimposed signal ENTS.
[0029] 6 shows an example of a detailed configuration of the transmission signal generation circuit 340. The transmission signal generation circuit 340 includes a timing generation circuit 348 and a pattern generation circuit 349. The transmission signal generation circuit 340 also includes a temperature detection circuit 341, a drive current detection circuit 342, a watchdog timer 343, and a self-diagnosis information acquisition circuit 344 as an example of a circuit that acquires transmission information.
[0030] The temperature detection circuit 341 is a temperature sensor that detects the temperature of the motor driver 300. Alternatively, the temperature detection circuit 341 may be a circuit that receives a sensor signal from a temperature sensor provided in the motor 10 or the motor driver 300 and detects the temperature from the sensor signal. For example, the temperature detection circuit 341 compares the temperature with a threshold value, and determines that a temperature abnormality has occurred when the temperature exceeds the threshold value. The temperature detection circuit 341 outputs the detection result as a signal DSC1.
[0031] The drive current detection circuit 342 detects the current with which the drive circuit 320 drives the motor 10. The drive current detection circuit 342 detects the drive current based on, for example, the voltage at one end of a sense resistor. The drive current detection circuit 342 compares the drive current with a given current range, and determines that the drive current is abnormal if the drive current is outside the given current range. The drive current detection circuit 342 outputs the detection result as a signal DSC2.
[0032] The watchdog timer 343 monitors whether the motor driver 300 is operating normally. For example, a logic unit in the motor driver 300 periodically generates a pulse signal and inputs it to the watchdog timer 343. The watchdog timer 343 checks whether the pulse signal is being periodically input, and determines that an abnormality has occurred if the pulse signal is not input for a certain period of time or longer. The watchdog timer 343 outputs the detection result as a signal DSC3.
[0033] The self-diagnosis information acquisition circuit 344 performs self-diagnosis of the motor driver 300. For example, the self-diagnosis information acquisition circuit 344 performs a fault diagnosis of each part of the motor driver 300. The diagnostic circuit may be provided outside the transmission signal generation circuit 340, in which case the self-diagnosis information acquisition circuit 344 acquires the diagnostic result from the diagnostic circuit. The self-diagnosis information acquisition circuit 344 outputs the detection result as a signal DSC4.
[0034] The timing generation circuit 348 generates a timing control signal for controlling the pulse generation timing of the transmission signal TS based on the edge timing of the speed detection signal ENCQ.
[0035] The pattern generation circuit 349 generates a transmission signal TS based on the signals DSC1 to DSC4 and the timing control signal. That is, the pattern generation circuit 349 generates a pulse signal corresponding to each of the signals DSC1 to DSC4 at a timing controlled by the timing control signal.
[0036] In the following, an example will be described in which each of the signals DSC1 to DSC4 is a 1-bit signal, but each of the signals DSC1 to DSC4 may be a multi-bit signal.
[0037] 7 shows a detailed configuration example of the timing generation circuit 348. The timing generation circuit 348 includes an exclusive OR circuit 361, a logical AND circuit 362, a delay circuit 363, and a pattern generator 364.
[0038] The pattern generator 364 generates a clock signal CLK and enable signals EN1 to EN4, and outputs these signals to the pattern generation circuit 349. The enable signals EN1 to EN4 are output enable signals for pulse signals corresponding to the signals DSC1 to DSC4, that is, signals that define the output timing of the pulse signals. Examples of the waveforms of the clock signal CLK and the enable signals EN1 to EN4 will be described later with reference to FIG.
[0039] FIG. 8 shows an example of signal waveforms for explaining the operation of an exclusive OR circuit, an AND circuit, and a delay circuit.
[0040] The delay circuit 363 is a plurality of buffer circuits connected in series. The speed detection signal ENCQ is input to the delay circuit 363, and the delay circuit 363 outputs a signal S1 with a delayed edge timing of the speed detection signal ENCQ. The exclusive OR circuit 361 outputs a signal S2 which is the exclusive OR of the speed detection signal ENCQ and the signal S1. The logical AND circuit 362 outputs a signal which is the logical AND of the signals S1 and S2 to the pattern generation circuit 349 as a reset signal RST. The reset signal RST is a pulse signal which becomes high level for the delay time of the delay circuit 363 from the falling edge of the speed detection signal ENCQ.
[0041] 9 shows a detailed configuration example of the pattern generating circuit 349. The pattern generating circuit 349 includes a first pattern output circuit 371, a second pattern output circuit 372, a third pattern output circuit 373, a fourth pattern output circuit 374, and a logical OR circuit 379.
[0042] The first pattern output circuit 371 generates a pattern signal PT1, which is a pulse signal corresponding to the signal DSC1, based on the enable signal EN1, the signal DSC1, the clock signal CLK, and the reset signal RST. The first pattern output circuit 371 includes a logical product circuit 381, a logical sum circuit 382, a latch circuit 383, and a latch circuit 384. The logical product circuit 381 outputs the logical product of the enable signal EN1 and the signal DSC1. The logical sum circuit 382 outputs the logical sum of the reset signal RST and the non-inverted output signal of the latch circuit 384. The clock signal CLK is input to the clock terminals of the latch circuits 383 and 384, and the output signal of the logical sum circuit 382 is input to the reset terminals. The output signal of the logical product circuit 381 is input to the data terminal of the latch circuit 383. The non-inverted output signal of the latch circuit 383 is input to the data terminal of the latch circuit 384. The non-inverted output signal of the latch circuit 383 becomes the pattern signal PT1.
[0043] The second pattern output circuit 372 generates a pattern signal PT2, which is a pulse signal corresponding to the signal DSC2, based on the enable signal EN2, the signal DSC2, the clock signal CLK, and the reset signal RST. The third pattern output circuit 373 generates a pattern signal PT3, which is a pulse signal corresponding to the signal DSC3, based on the enable signal EN3, the signal DSC3, the clock signal CLK, and the reset signal RST. The fourth pattern output circuit 374 generates a pattern signal PT4, which is a pulse signal corresponding to the signal DSC4, based on the enable signal EN4, the signal DSC4, the clock signal CLK, and the reset signal RST. The configurations of these pattern output circuits are similar to the configuration of the first pattern output circuit 371.
[0044] The logical sum circuit 379 outputs the logical sum of the pattern signals PT1 to PT4 as a transmission signal TS.
[0045] Fig. 10 shows an example of signal waveforms for explaining the operation of the pattern generator and the pattern generating circuit when the signal DSC1 is at a high level and the signals DSC2 to DSC4 are at a low level.
[0046] Let i be an integer greater than or equal to 1 and less than or equal to 4. After the reset signal RST falls, the pattern generator 364 changes the enable signal ENi from low level to high level at the rising edge of the (2i-1)th clock signal CLK, and changes it from high level to low level at the rising edge of the 2ith clock signal CLK.
[0047] The first pattern output circuit 371 outputs a low-level pattern signal PT1 when the enable signal EN1 is at a low level, and outputs a pattern signal PT1 at the same logic level as the signal DSC1 when the enable signal EN1 is at a high level. The second pattern output circuit 372 outputs a low-level pattern signal PT2 when the enable signal EN2 is at a low level, and outputs a pattern signal PT2 at the same logic level as the signal DSC2 when the enable signal EN2 is at a high level. The third pattern output circuit 373 outputs a low-level pattern signal PT3 when the enable signal EN3 is at a low level, and outputs a pattern signal PT3 at the same logic level as the signal DSC3 when the enable signal EN3 is at a high level. The fourth pattern output circuit 374 outputs a low-level pattern signal PT4 when the enable signal EN4 is at a low level, and outputs a pattern signal PT4 at the same logic level as the signal DSC4 when the enable signal EN4 is at a high level. The logical OR circuit 379 outputs the logical OR of the pattern signals PT1 to PT4 as a transmission signal TS.
[0048] Fig. 11 is a detailed configuration example of the information superimposing circuit. The information superimposing circuit 330 includes a logical OR circuit 331. Fig. 12 is a signal waveform example for explaining the operation of the information superimposing circuit. Note that the reset signal RST is not used in the information superimposing circuit 330, but is illustrated for the purpose of explanation.
[0049] The logical sum circuit 331 outputs the logical sum of the speed detection signal ENCQ and the transmission signal TS as the superposition signal ENTS. This logical sum causes a high pulse of the transmission signal TS to be superimposed on a low-level section of the speed detection signal ENCQ. The timing generation circuit 348 determines the pulse timing of the transmission signal TS using the reset signal RST as a starting point. Therefore, the information superposition circuit 330 does not need to perform timing control, and the transmission signal TS can be superimposed on the speed detection signal ENCQ with a simple circuit.
[0050] In addition, in Fig. 12, the reset signal RST is generated starting from the falling edge of the speed detection signal ENCQ, so that the high pulse of the transmission signal TS is superimposed on the low level section of the speed detection signal ENCQ. However, the low pulse of the transmission signal TS may be superimposed on the high level section of the speed detection signal ENCQ. For example, in Fig. 7, the reset signal RST is generated starting from the rising edge of the speed detection signal ENCQ by inputting the inverted signal of the speed detection signal ENCQ to the timing generation circuit 348. As a result, a pulse signal of the transmission signal TS is generated on the high level section of the speed detection signal ENCQ. Then, the information superimposing circuit 330 outputs the logical product of the speed detection signal ENCQ and the inverted signal of the transmission signal TS, so that the low pulse of the transmission signal TS is superimposed on the high level section of the speed detection signal ENCQ.
[0051] In the embodiment described above, the motor driver 300 includes a drive circuit 320 that drives the motor 10 based on a control signal MCNT from the controller 200, and an information superimposing circuit 330. A speed detection signal ENCQ from the encoder 100 that detects the speed of the motor 10 is input to the information superimposing circuit 330. The information superimposing circuit 330 superimposes a transmission signal TS of information to be transmitted to the controller 200 on the speed detection signal ENCQ, and transmits a superimposed signal ENTS, which is the speed detection signal after superimposition, to the controller 200.
[0052] According to this embodiment, the speed detection signal ENCQ and the transmission signal TS can be transmitted as a superimposed signal ENTS from the motor driver 300 to the controller 200. This eliminates the need to provide a new interface for transmitting the transmission signal TS. For example, when the motor driver 300 is applied to the robot system 2 of FIG. 2, it is not necessary to increase the number of signal lines in the cable 250, or to make the interfaces of the controller 200 and the communication circuit 550 compatible with the transmission signal TS. In addition, since the transmission signal TS is superimposed on the speed detection signal ENCQ, it is not necessary to perform signal processing that changes the characteristics of the speed detection signal ENCQ, such as the duty modulation in the above-mentioned Patent Document 1.
[0053] Furthermore, in this embodiment, the information superimposing circuit 330 superimposes a transmission signal TS having a pulse width shorter than the pulse width of the speed detection signal ENCQ onto the speed detection signal ENCQ.
[0054] According to this embodiment, the information superimposing circuit 330 superimposes a pulse signal on the speed detection signal ENCQ, so that the transmission signal TS can be superimposed on the speed detection signal ENCQ. Since the pulse width of the transmission signal TS is shorter than the pulse width of the speed detection signal ENCQ, the controller 200 can separate the speed detection signal ENCQ and the transmission signal TS from the superimposed signal ENTS using a filter circuit or the like. The method of separation will be described later with reference to FIG. 13 and the like.
[0055] In this embodiment, the information superimposing circuit 330 superimposes a high-level pulse signal as the transmission signal TS on the low-level section of the speed detection signal ENCQ. The information superimposing circuit 330 may superimpose a low-level pulse signal as the transmission signal TS on the high-level section of the speed detection signal ENCQ.
[0056] According to this embodiment, the information superimposing circuit 330 can superimpose a high-level pulse signal on a low-level section of the speed detection signal ENCQ, thereby superimposing the transmission signal TS on the speed detection signal ENCQ. Alternatively, the information superimposing circuit 330 can superimpose a low-level pulse signal on a high-level section of the speed detection signal ENCQ, thereby superimposing the transmission signal TS on the speed detection signal ENCQ. The pulse width of the pulse signal in the low-level section or high-level section of the speed detection signal ENCQ is shorter than the pulse width of the speed detection signal ENCQ. This allows the controller 200 to separate the speed detection signal ENCQ and the transmission signal TS from the superimposed signal ENTS using a filter circuit or the like.
[0057] 3. Controller Fig. 13 shows a first configuration example of the controller. The controller 200 includes a filter circuit 210, an extraction circuit 220, and a processing circuit 230. Fig. 14 shows example signal waveforms for explaining the operation of the controller.
[0058] The filter circuit 210 extracts a speed detection signal from the superimposed signal ENTS by performing low-pass filtering on the superimposed signal ENTS. The extracted speed detection signal is designated as ENCQ_EX. The cutoff frequency of the low-pass filtering is lower than the frequency corresponding to the pulse width of the transmission signal TS and higher than the maximum frequency of the speed detection signal ENCQ. This removes the pulse of the transmission signal TS from the superimposed signal ENTS, and extracts the speed detection signal ENCQ_EX. The filter circuit 210 is a passive low-pass filter using a resistor and a capacitor, or an active low-pass filter using an operational amplifier. Alternatively, the filter circuit 210 may perform digital low-pass filtering on the superimposed signal ENTS after converting it into a digital signal.
[0059] The extraction circuit 220 includes an exclusive OR circuit 221. The exclusive OR circuit 221 extracts a transmission signal from the superimposed signal ENTS by performing a logical OR on the superimposed signal ENTS and the speed detection signal ENCQ_EX. The extracted transmission signal is designated as TS_EX.
[0060] The processing circuit 230 performs processing using the extracted speed detection signal ENCQ_EX and transmission signal TS_EX. The processing circuit 230 generates a control signal MCNT to the motor driver 300 based on, for example, the speed detection signal ENCQ_EX. Alternatively, the processing circuit 230 performs processing to stop the motor 10, processing to notify an abnormality, or processing to restart the motor driver 300 based on the transmission signal TS_EX.
[0061] 15 shows a second configuration example of the controller. The controller 200 includes a filter circuit 210 and a processing circuit 230. This configuration example is a configuration example in which the controller 200 does not use the transmission signal TS_EX, and the extraction circuit 220 is omitted.
[0062] In the embodiment described above, the motor control system 1 includes the motor driver 300 and the controller 200. The controller 200 includes a filter circuit 210. The filter circuit 210 extracts the speed detection signal ENCQ_EX by performing low-pass filtering on the superimposed signal ENTS.
[0063] According to this embodiment, the filter circuit 210 performs low-pass filtering on the superimposed signal ENTS, thereby removing the transmission signal TS from the superimposed signal ENTS, thereby extracting the speed detection signal ENCQ_EX from the superimposed signal ENTS.
[0064] In this embodiment, the controller 200 may also include an extraction circuit 220. The extraction circuit 220 extracts the transmission signal TS_EX based on the superimposed signal ENTS and the speed detection signal ENCQ_EX extracted by the filter circuit 210.
[0065] The superimposed signal ENTS contains a speed detection signal ENCQ and a transmission signal TS, and the speed detection signal ENCQ contained in the superimposed signal ENTS is known from the speed detection signal ENCQ_EX extracted by the filter circuit 210. This enables the extraction circuit 220 to extract the transmission signal TS_EX from the superimposed signal ENTS.
[0066] 4. Other examples of motor driver configurations Fig. 16 is a second detailed configuration example of the motor driver. The motor driver 300 includes a control signal processing circuit 310, a drive circuit 320, an information superimposing circuit 330, a transmission signal generating circuit 340, and a comparator 350. The same components as those in Fig. 5 are given the same reference numerals as in Fig. 5, and descriptions of those components will be omitted as appropriate.
[0067] 17 shows an example of signal waveforms for explaining the operation of a second detailed configuration example of the motor driver. In this configuration example, the encoder 100 outputs a sine wave speed detection signal ENCQ. The comparator 350 compares the speed detection signal ENCQ with a reference voltage to binarize the speed detection signal ENCQ. The binarized speed detection signal is designated as ENCQ_CMP. The reference voltage is, for example, the center voltage of the speed detection signal ENCQ.
[0068] The transmission signal generating circuit 340 generates a transmission signal TS based on the speed detection signal ENCQ_CMP. The information superimposing circuit 330 superimposes the transmission signal TS on the speed detection signal ENCQ_CMP, and transmits the superimposed signal to the controller 200 as a superimposed signal ENTS.
[0069] Fig. 18 shows a third detailed configuration example of the motor driver. The motor driver 300 includes a control signal processing circuit 310, a drive circuit 320, an information superimposing circuit 330, a transmission signal generating circuit 340, and a noise removal circuit 355. The same components as those in Fig. 5 are given the same reference numerals as in Fig. 5, and descriptions of those components will be omitted as appropriate.
[0070] 19 shows an example of signal waveforms for explaining the operation of the third detailed configuration example of the motor driver. The motor driver 300 drives the motor 10, generating a drive current IDRV. This drive current IDRV changes suddenly at the edge of the drive signal SDRV, and spike-like noise occurs in the speed detection signal ENCQ of the encoder 100 at the timing of this sudden change. For example, noise occurs from a signal line through which the motor driver 300 drives the motor 10, or from a signal line from the sense resistor to the controller 200, and the noise propagates to the signal line of the speed detection signal ENCQ.
[0071] The noise elimination circuit 355 removes noise from the speed detection signal ENCQ caused by the motor drive, and outputs the speed detection signal ENCQ_NR after the noise is removed. The noise elimination circuit 355 removes noise from the speed detection signal ENCQ based on the drive signal SDRV. For example, the noise elimination circuit 355 removes noise from the speed detection signal ENCQ by masking the speed detection signal ENCQ with a mask signal having a predetermined width from the edge timing of the drive signal SDRV. Alternatively, the noise elimination circuit 355 may remove noise from the speed detection signal ENCQ by low-pass filtering the speed detection signal ENCQ without using the drive signal SDRV.
[0072] The transmission signal generating circuit 340 generates a transmission signal TS based on the speed detection signal ENCQ_NR. The information superimposing circuit 330 superimposes the transmission signal TS on the speed detection signal ENCQ_NR, and transmits the superimposed signal to the controller 200 as a superimposed signal ENTS.
[0073] In the embodiment described above, the information superimposing circuit 330 includes a noise removal circuit 355. The noise removal circuit 355 removes noise generated by driving the motor 10 from the speed detection signal ENCQ. The information superimposing circuit 330 superimposes the transmission signal TS on the speed detection signal ENCQ_NR after the noise has been removed.
[0074] A large current flows when driving the motor 10, which may cause noise in the speed detection signal ENCQ. According to this embodiment, the noise removal circuit 355 removes noise, and the information superimposition circuit 330 can superimpose the transmission signal TS on the speed detection signal ENCQ_NR from which noise caused by driving the motor 10 has been removed.
[0075] Furthermore, in this embodiment, the drive circuit 320 outputs a drive signal SDRV based on the control signal MCNT to the motor 10. The noise removal circuit 355 removes noise from the speed detection signal ENCQ in a period defined by the edge timing of the drive signal SDRV.
[0076] Noise caused by driving the motor 10 occurs at the edge timing of the drive signal SDRV. According to this embodiment, the noise removal circuit 355 removes noise in a period defined by the edge timing of the drive signal SDRV, thereby removing noise from the speed detection signal ENCQ.
[0077] Fig. 20 shows a second configuration example of the motor control system. Note that the same components as those in Fig. 3 are given the same reference numerals as in Fig. 3, and the description of those components will be omitted as appropriate.
[0078] In this configuration example, the encoder 100 outputs a two-phase first speed detection signal ENCQA and a two-phase second speed detection signal ENCQB. The phase of the second speed detection signal ENCQB leads or lags the phase of the first speed detection signal ENCQA by 90 degrees.
[0079] 21 shows an example of signal waveforms for explaining the operation of the second configuration example of the motor control system. Here, an example is shown in which the phase of the second speed detection signal ENCQB leads the phase of the first speed detection signal ENCQA by 90 degrees.
[0080] The transmission signal generating circuit 340 generates a transmission signal TS based on the first speed detection signal ENCQA, which is the one with a delayed phase. The information superimposing circuit 330 outputs a first superimposed signal ENTSA by superimposing the transmission signal TS on the first speed detection signal ENCQA, and outputs a second superimposed signal ENTSB by superimposing the transmission signal TS on the second speed detection signal ENCQB. Specifically, the information superimposing circuit 330 outputs the logical sum of the first speed detection signal ENCQA and the transmission signal TS as the first superimposed signal ENTSA, and outputs the logical sum of the second speed detection signal ENCQB and the transmission signal TS as the second superimposed signal ENTSB.
[0081] In the present embodiment described above, the first speed detection signal ENCQA and the second speed detection signal ENCQB, which is out of phase with the first speed detection signal ENCQA, are input to the information superimposing circuit 330 from the encoder 100. The information superimposing circuit 330 superimposes the transmission signal TS on the first speed detection signal ENCQA and the second speed detection signal ENCQB, and transmits to the controller 200 a first superimposed signal ENTSA, which is the first speed detection signal after superimposition, and a second superimposed signal ENTSB, which is the second speed detection signal after superimposition.
[0082] According to this embodiment, when a two-phase speed detection signal is used, the transmission signal TS can be superimposed on the speed detection signal of each phase. For example, when the same transmission signal TS is superimposed on the speed detection signal of each phase, the transmission of the transmission signal TS is duplicated, so that noise resistance and the like are improved.
[0083] FIG. 22 shows example signal waveforms illustrating the operation of the third example configuration of the motor control system. In this configuration example, the transmission signal generating circuit 340 generates a data signal TS_DT and a clock signal TS_CK as the transmission signal TS. For example, the transmission signal TS in Fig. 10 may be the data signal TS_DT in this configuration example. Also, the logical product of the logical sum of the enable signals EN1 to EN4 in Fig. 10 and the clock signal CLK may be the clock signal TS_CK in this configuration example.
[0084] The information superimposing circuit 330 outputs a first superimposed signal ENTSA by superimposing the data signal TS_DT on the first speed detection signal ENCQA, and outputs a second superimposed signal ENTSB by superimposing the clock signal TS_CK on the second speed detection signal ENCQB. Specifically, the information superimposing circuit 330 outputs the logical sum of the first speed detection signal ENCQA and the data signal TS_DT as the first superimposed signal ENTSA, and outputs the logical sum of the second speed detection signal ENCQB and the clock signal TS_CK as the second superimposed signal ENTSB.
[0085] In the present embodiment described above, the information superimposing circuit 330 superimposes the data signal TS_DT of the transmission signal TS on the first speed detection signal ENCQA, and superimposes the clock signal TS_CK of the transmission signal TS on the second speed detection signal ENCQB.
[0086] According to this embodiment, the controller 200 can obtain the transmission information contained in the transmission signal TS by sampling the data signal TS_DT extracted from the first superimposed signal ENTSA using the clock signal TS_CK extracted from the second superimposed signal ENTSB. Since the timing of the data signal TS_DT is indicated by the clock signal TS_CK, the controller 200 does not need to control the sampling timing.
[0087] FIG. 23 shows example signal waveforms illustrating the operation of the fourth example configuration of the motor control system. In this configuration example, the information superimposing circuit 330 fixes the logic level of the second superimposed signal ENTSB according to the logic level of the transmission signal TS. For example, the transmission signal generating circuit 340 outputs the logical sum of the signals DSC1 to DSC4 as the transmission signal TS. When the transmission signal TS is at a low level, the information superimposing circuit 330 outputs the second speed detection signal ENCQB as the second superimposed signal ENTSB, and when the transmission signal TS is at a high level, the information superimposing circuit 330 fixes the second superimposed signal ENTSB to a high level.
[0088] The information superimposing circuit 330 may output the first speed detection signal ENCQA as the first superimposed signal ENTSA when the transmission signal TS is at a low level, and may fix the first superimposed signal ENTSA to a high level when the transmission signal TS is at a high level.
[0089] When the transmission signal TS is at a high level, the information superimposing circuit 330 may fix the first superimposed signal ENTSA or the second superimposed signal ENTSB to a low level.
[0090] When the transmission signal TS is multiple bits, the information superimposing circuit 330 may output the first speed detection signal ENCQA or a fixed logic level as the first superimposed signal ENTSA in accordance with each bit for one or more periods of the first speed detection signal ENCQA. Alternatively, the information superimposing circuit 330 may output the second speed detection signal ENCQB or a fixed logic level as the second superimposed signal ENTSB in accordance with each bit for one or more periods of the second speed detection signal ENCQB.
[0091] In the embodiment described above, the motor driver 300 includes a drive circuit 320 that drives the motor 10 based on a control signal MCNT from the controller 200, and an information superimposing circuit 330. A first speed detection signal ENCQA from the encoder 100 that detects the speed of the motor 10, and a second speed detection signal ENCQB that is out of phase with the first speed detection signal ENCQA are input to the information superimposing circuit 330. The information superimposing circuit 330 sets either the first speed detection signal ENCQA or the second speed detection signal ENCQB to a fixed logic level in accordance with information transmitted to the controller 200.
[0092] According to this embodiment, the information superimposing circuit 330 sets either the first speed detection signal ENCQA or the second speed detection signal ENCQB to a fixed logic level, thereby enabling transmission information to be transmitted to the controller 200. The controller 200 can obtain the transmission information by detecting that either the first speed detection signal ENCQA or the second speed detection signal ENCQB is not a periodic signal but is at a fixed logic level.
[0093] Although the present embodiment has been described in detail as above, it will be easily understood by those skilled in the art that many modifications are possible without substantially departing from the novel matters and effects of the present disclosure. Therefore, all such modifications are intended to be included in the scope of the present disclosure. For example, a term described at least once in the specification or drawings together with a different term having a broader meaning or synonymy can be replaced with that different term anywhere in the specification or drawings. In addition, all combinations of the present embodiment and modifications are also included in the scope of the present disclosure. In addition, the configurations and operations of the motor, motor driver, sensor, encoder, drive unit, controller, motor control system, robot system, etc. are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]
[0094] 1...motor control system, 2...robot system, 10...motor, 20...sensor, 100...encoder, 200...controller, 210...filter circuit, 220...extraction circuit, 230...processing circuit, 250...cable, 300...motor driver, 310...control signal processing circuit, 320...drive circuit, 330...information superimposition circuit, 340...transmission signal generation circuit, 341...temperature detection circuit, 342...drive current detection circuit, 343...watchdog timer, 344...self-diagnosis information acquisition circuit, 348...timing generation circuit, 349...pattern generation circuit, 350...comparison 355...noise removal circuit, 364...pattern generator, 371...first pattern output circuit, 372...second pattern output circuit, 373...third pattern output circuit, 374...fourth pattern output circuit, 400...drive unit, 500...robot, 510...joint, 550...communication circuit, ENCQ...speed detection signal, ENCQA...first speed detection signal, ENCQB...second speed detection signal, ENTS...superimposed signal, ENTSA...first superimposed signal, ENTSB...second superimposed signal, MCNT...control signal, SDRV...drive signal, TS...transmission signal, TS_CK...clock signal, TS_DT...data signal
Claims
1. A drive circuit that drives the motor based on a control signal from the controller; an information superposition circuit which receives a speed detection signal from an encoder that detects the speed of the motor, superimposes a transmission signal of information to be transmitted to the controller on the speed detection signal, and transmits a superimposed signal, which is the speed detection signal after superposition, to the controller; A motor driver comprising:
2. 2. The motor driver according to claim 1, The information superimposing circuit includes: A motor driver comprising: a transmission signal having a pulse width shorter than a pulse width of the speed detection signal, the transmission signal being superimposed on the speed detection signal.
3. 2. The motor driver according to claim 1, The information superimposing circuit includes: A motor driver comprising: a first input terminal for inputting a first pulse signal to a first output terminal of the first motor;
4. 2. The motor driver according to claim 1, The information superimposing circuit includes: A motor driver comprising: a first input terminal for inputting a first pulse signal to a first output terminal of the first motor;
5. 2. The motor driver according to claim 1, The information superimposing circuit includes: a first speed detection signal and a second speed detection signal having a different phase from the first speed detection signal are input from the encoder, the transmission signal is superimposed on the first speed detection signal and the second speed detection signal, and a first superimposed signal which is the first speed detection signal after superimposition and a second superimposed signal which is the second speed detection signal after superimposition are transmitted to the controller.
6. 6. The motor driver according to claim 5, The information superimposing circuit includes: superimposing a data signal of the transmission signal on the first speed detection signal; A motor driver comprising: a clock signal of the transmission signal superimposed on the second speed detection signal.
7. 2. The motor driver according to claim 1, a noise elimination circuit that eliminates noise generated by driving the motor from the speed detection signal; The information superimposing circuit includes: A motor driver comprising: a first input section for inputting a first signal to a first output section of the speed detection signal;
8. 8. The motor driver according to claim 7, The drive circuit includes: outputting a drive signal based on the control signal to the motor; The noise removal circuit includes: A motor driver which removes the noise from the speed detection signal during a period defined by edge timing of the drive signal.
9. A drive circuit that drives the motor based on a control signal from the controller; an information superimposing circuit that receives a first speed detection signal from an encoder that detects the speed of the motor and a second speed detection signal that is out of phase with the first speed detection signal, and sets either the first speed detection signal or the second speed detection signal to a fixed logic level in response to information transmitted to the controller; A motor driver comprising:
10. A motor driver according to any one of claims 1 to 9; The controller; A motor control system comprising:
11. A motor driver according to any one of claims 1 to 8; The controller; Including, The controller, A motor control system comprising: a filter circuit that extracts the speed detection signal by performing low-pass filter processing on the superimposed signal.
12. 12. The motor control system of claim 11, The controller, a filter circuit for extracting the transmission signal based on the superimposed signal and the speed detection signal extracted by the filter circuit,
Citation Information
Patent Citations
Image formation device, control method of image formation device and control program of image formation device
JP2012244793A
Cited By
Fault diagnosis and protection method and device for driving circuit and medium
CN121656807A
