Electric shutter device
The electric shutter device uses PWM control and learning algorithms to manage DC motor speed, addressing position recognition inaccuracies and preventing high-speed collisions by setting adaptive speed thresholds, ensuring safe and precise operation.
Patent Information
- Application Number
- JP2023074675
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-11-08
AI Technical Summary
Existing electric shutter devices face issues where the control unit may inaccurately recognize the position of the shutter curtain, leading to potential high-speed collisions with the upper limit position during manual operation, causing damage.
The device employs PWM control to manage the DC motor's power supply, setting different speed thresholds and using learning algorithms to adjust motor speed based on encoder outputs, integrating multiple detection methods to ensure accurate positioning and prevent collisions.
This approach effectively prevents the shutter curtain from reaching the upper limit position at high speed, minimizing damage by adjusting speed thresholds and incorporating multiple detection mechanisms for precise control.
Smart Images

Figure 2024158983000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an electric shutter device. [Background technology]
[0002] There is known an electric shutter device that uses a DC motor driven by a direct current as a motor to open and close a shutter curtain. Patent Document 1 discloses that, for example, in order to reduce the impact and vibration noise during the opening operation of the shutter curtain, the speed is decelerated just before the winding is stopped. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Utility Model Application Publication No. 01-162587 Summary of the Invention [Problem to be solved by the invention]
[0004] When the shutter curtain is changed to a low speed before it reaches the upper limit position, a threshold value for the distance between the upper limit position and the current position of the shutter curtain is set, and the current position of the shutter curtain is recognized, and when the distance between the upper limit position and the current position of the shutter curtain becomes equal to or less than the threshold value during the opening operation of the shutter curtain, the operating speed is decelerated from high to low.
[0005] The current position of the shutter curtain is recognized by the control unit using, for example, the output of an encoder built into the motor, but when the shutter curtain is operated manually while powered in manual mode, etc., the current position of the shutter curtain recognized by the control unit may deviate from the actual position. If the shutter curtain is opened at high speed with the current position of the shutter curtain recognized by the control unit deviating from the actual position, if the actual position is at a distance smaller than the threshold value and close to the upper limit position, the shutter curtain may reach the upper limit position and collide before reaching a high speed, but if the actual position is at a distance larger than the threshold value and closer to the upper limit position than the recognized current position, the shutter curtain may reach the upper limit position at high speed.
[0006] The present disclosure has been made in consideration of the above points, and aims to provide an electric shutter device that can prevent the shutter curtain from reaching its upper limit position at high speed. [Means for solving the problem]
[0007] A first aspect of the present disclosure is an electric shutter device comprising: a DC motor that drives a shutter curtain to open and close using a direct current; and a control unit that PWM controls the power supply to the DC motor, wherein the control unit sets a first speed threshold as an upper limit speed when driving the DC motor at a first speed, and sets a second speed threshold different from the first speed threshold as the upper limit speed when driving the DC motor at a second speed different from the first speed. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a schematic configuration of a shutter system according to an embodiment of the present invention. [Diagram 2] 1 is a schematic configuration diagram of a shutter control device according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a functional block diagram of a control unit. [Figure 4] FIG. 2 is a diagram illustrating an example of first learning data and second learning data stored as a set. [Diagram 5]5A to 5C are diagrams illustrating the operation of a moving average calculation unit according to the present embodiment. [Figure 6] 5A to 5C are diagrams illustrating the operation of a moving average calculation unit according to the present embodiment. [Figure 7] FIG. 13 is a diagram illustrating a load difference value according to the present embodiment. [Figure 8] 5A to 5C are diagrams illustrating the operation of an integrating unit according to the present embodiment. [Figure 9] 5A to 5C are diagrams illustrating the operation of a determination unit according to the present embodiment. [Figure 10] 5A to 5C are diagrams illustrating the operation of an integrating unit according to the present embodiment. [Figure 11] 5A to 5C are diagrams illustrating the operation of a determination unit according to the present embodiment. [Figure 12] FIG. 13 is a diagram showing a motor speed and a speed threshold value at a low speed. [Figure 13] FIG. 13 is a diagram showing a motor speed and a speed threshold value at a high speed. [Figure 14] FIG. 13 is a diagram showing a motor speed and a speed threshold value at a high speed. [Figure 15] FIG. 11 is a flow diagram of a speed setting method by PWM control during an opening operation. [Figure 16] FIG. 11 is a flow diagram of a speed setting method by PWM control during an opening operation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the electric shutter device of the present disclosure will be described with reference to Figures 1 to 7. The following embodiment shows one aspect of the present disclosure, does not limit the disclosure, and can be modified as desired within the scope of the technical idea of the present disclosure. In addition, in the following drawings, the scale of each structure is different from the actual structure in order to make each configuration easier to understand.
[0010] As shown in FIG. 1, the shutter system 1 includes an electric shutter device 2 and an operation device 3.
[0011] The electric shutter device 2 is an electric shutter device that opens or closes an opening 2A such as a window or door of a building. The electric shutter device 2 includes a shutter curtain 4. The electric shutter device 2 can open or close the opening 2A by opening or closing the shutter curtain 4 based on an operation signal from an operation device 3.
[0012] The operation device 3 is connected by wire or wirelessly to the electric shutter device 2 to be operated, and is capable of mutual communication with the electric shutter device 2. The operation device 3 can be operated by a user or an operator. The operation device 3 is, for example, a remote control device, which has a means for inputting an operation signal to the electric shutter device 2.
[0013] When a user presses any of the switches of the operation device 3, the operation device 3 outputs to the electric shutter device 2 an operation signal that is a signal corresponding to the switch.
[0014] For example, the operating device 3 has an open switch SWo, a close switch SWc, and a stop switch SWt. When the open switch SWo is operated, the operating device 3 transmits a first operation signal to the electric shutter device 2 instructing the opening operation of the shutter curtain 4. When the close switch SWc is operated, the operating device 3 transmits a second operation signal to the electric shutter device 2 instructing the closing operation of the shutter curtain 4. When the stop switch SWt is operated, the operating device 3 transmits a stop signal to the electric shutter device 2 instructing the stopping of the opening operation or closing operation of the shutter curtain 4.
[0015] When a predetermined operation is performed by a user, the operation device 3 transmits a setting signal to the electric shutter device 2. For example, the predetermined operation is an operation other than a short press of one of the open switch SWo, close switch SWc, and stop switch SWt. The predetermined operation is a simultaneous press of two or more switches of the open switch SWo, close switch SWc, and stop switch SWt, or a long press of one or more switches.
[0016] The predetermined operation is not limited to pressing two or more of the open switch SWo, close switch SWc, and stop switch SWt simultaneously, or pressing and holding one or more of the switches. For example, the operation device 3 may be provided with an initial setting button. The predetermined operation may be pressing the initial setting button. For example, the initial setting button may be provided on the front or rear of the operation device 3. When the initial setting button is provided on the rear of the operation device 3, for example, the initial setting button is covered by a rear cover and becomes operable by removing the rear cover. The initial setting button is provided in a position that is exposed when the rear cover is removed.
[0017] The initial setting button may be provided in a battery box that houses a battery. When the initial setting button is provided in the battery box, the initial setting button is configured to be operable by a user by removing a battery cover that is configured to be attachable to the main body case of the operating device 3 so as to cover the battery box from the rear side of the operating device 3. The initial setting button is provided in a position that is exposed when the battery cover is removed.
[0018] The operation device 3 may be a mobile information terminal such as a smartphone or a tablet terminal. When the operation device 3 is a mobile information terminal, the predetermined operation may be, for example, a command operation for initial setting in an application of the mobile information terminal, such as a smartphone application.
[0019] An example of a schematic configuration of an electric shutter device 2 according to this embodiment will be described below. As shown in Fig. 1, the electric shutter device 2 includes a shutter curtain 4, guide rails 5a and 5b, and a shutter box 6.
[0020] The shutter curtain 4 has a plurality of long slats 4a connected in the vertical direction and a baseboard portion 4b provided at the bottom end.
[0021] The baseboard portion 4b is a long member having a rectangular cross section connected to the lowest slat 4a. The baseboard portion 4b is formed to protrude so as to come into contact with the slat or shutter box 6 (not shown) when the shutter curtain 4 is in the fully open state, which is the upper limit position. The baseboard portion 4b comes into contact with the slat or shutter box 6 when the shutter curtain 4 is in the fully open state. The baseboard portion 4b comes into contact with the lower frame of the frame body of the electric shutter device 2 or the floor surface when the shutter curtain 4 is in the fully closed state, which is the lower limit position. The slat is a parting member of the opening of the electric shutter device 2 formed by the rise of the shutter curtain 4, and may be provided at the bottom of the shutter box 6.
[0022] The guide rails 5a and 5b are provided as a pair at both ends in the width direction of the shutter curtain 4. The guide rails 5a and 5b are provided vertically to the bottom surface. The guide rails 5a and 5b regulate the lateral displacement of each slat 4a constituting the shutter curtain 4.
[0023] An example of a schematic configuration of the shutter box 6 will be described. The shutter box 6 is provided on the upper part of the electric shutter device 2. The shutter box 6 rewinds the shutter curtain 4 when the shutter curtain 4 is closed, and rewinds the shutter curtain 4 when the shutter curtain 4 is opened. The shutter box 6 includes a shaft 7, a DC motor 8, an output unit 9, and a shutter control device 10.
[0024] The shaft 7 is connected to the upper end of the shutter curtain 4 and a DC motor 8. The shaft 7 is driven to rotate in forward and reverse directions by the DC motor 8. The shutter curtain 4 is unwound or wound in response to the rotation of the shaft 7. The shutter curtain 4 wound around the shaft 7 is accommodated in the shutter box 6.
[0025] The DC motor 8 is a drive source that drives and rotates the shaft 7 to open and close the shutter curtain 4. The DC motor 8 drives and opens and closes the shutter curtain 4 by a direct current. The DC motor 8 rotates forward, reverse, or stops rotating based on a drive signal from the shutter control device 10.
[0026] The output unit 9 has a function of outputting the driving status of the DC motor 8. The output unit 9 is, for example, an encoder built into the DC motor 8. The output unit 9 outputs a position pulse, which is a pulse signal corresponding to the rotation of the DC motor 8, to the shutter control device 10. For example, the output unit 9 outputs one position pulse to the shutter control device 10 every time the DC motor 8 makes one rotation. The output unit 9 is not limited to an encoder, and can be arbitrarily selected as long as it has a configuration capable of grasping the amount of rotation of the winding shaft and the DC motor 8, for example, by measuring the amount of rotation angle of the DC motor 8.
[0027] 2, the shutter control device 10 includes a communication unit 11, a drive unit 12, and a control unit 13. The communication unit 11 transmits and receives information by communicating with the operation device 3. The communication method of the communication unit 11 is not particularly limited, but may be, for example, a wireless communication method such as the short-range wireless communication standard RF4CE (Radio Frequency for Consumer Electronics) or Bluetooth (registered trademark).
[0028] The drive unit 12 generates a drive signal in response to a command from the control unit 13 and outputs the drive signal to the DC motor 8 to drive or stop the DC motor 8 .
[0029] The control unit 13 is composed of a microprocessor such as a CPU or an MPU, a microcontroller such as an MCU, a storage device, and the like, and performs PWM control of the drive of the DC motor 8 in response to the operation of the switch of the operation device 3.
[0030] The control unit 13 performs an opening or closing operation of the shutter curtain 4 between an upper limit position Pu and a lower limit position Pl by driving the DC motor through PWM control of the power supply to the DC motor based on an operation signal from the operating device 3. The opening or closing operation of the shutter curtain 4 is referred to as an opening / closing operation in the following description. The upper limit position Pu is a fully open position where the shutter curtain 4 is fully open. The lower limit position Pl is a fully closed position where the shutter curtain 4 is fully closed.
[0031] When the control unit 13 receives a first operation signal from the operating device 3 via the communication unit 11, the control unit 13 outputs an opening command to the drive unit 12 to wind the shutter curtain 4 around the shaft 7 and perform an opening operation. The drive unit 12 rotates the DC motor 8 in the forward direction to perform an opening operation of the shutter curtain 4.
[0032] When the control unit 13 receives an operation signal instructing a closing operation from the operating device 3 via the communication unit 11, the control unit 13 outputs a closing command to the drive unit 12 to unwind the shutter curtain 4 from the shaft 7 and perform a closing operation. The drive unit 12 reverses the DC motor 8 to perform a closing operation of the shutter curtain 4.
[0033] When the control unit 13 receives a stop signal from the operation device 3, it outputs a stop command to the drive unit 12 to stop the operation of the shutter curtain 4. The drive unit 12 stops the rotation of the DC motor 8 to stop the opening and closing operation.
[0034] The control unit 13 executes a speed control process for the shutter curtain 4. The control unit 13 controls the opening and closing speed of the shutter curtain 4 by PWM controlling the speed of the DC motor 8. The control unit 13 drives the DC motor 8 at a first speed or a second speed by PWM control. The first speed is a low speed, and the second speed is a high speed that is greater than the first speed.
[0035] When the control unit 13 receives a setting signal from the operating device 3, it transitions to a setting mode in which an upper limit position Pu and a lower limit position Pl are set. The setting modes include an upper limit detection mode and a lower limit detection mode. The upper limit detection mode is executed not only when a setting signal is received from the operating device 3, but also when the abnormality detection unit 160, which will be described later, detects an abnormality related to the opening and closing of the shutter curtain 4. In this embodiment, "an abnormality related to the opening and closing of the shutter curtain" includes any abnormality that interferes with the opening and closing operation of the shutter curtain 4 (for example, after an obstacle is detected, a power outage occurs, a motor failure, an encoder failure, an abnormal temperature, etc.).
[0036] In the following, the functional units of the control unit 13 including the abnormality detection unit 160 will be described with reference to Fig. 3. As shown in Fig. 3, the control unit 13 includes a drive control unit 14, a load detection unit 15, a processing unit 16, and a storage unit 17. The processing unit 16 includes an abnormality detection unit 160, a learning function unit 165, a moving average calculation unit 166, a difference value calculation unit 167, an integrating unit 168, a determination unit 169, and a conversion unit 170. The abnormality detection unit 160 includes a first processing unit 160A, a second processing unit 160B, a third processing unit 160C, a fourth processing unit 160D, and a fifth processing unit 160E.
[0037] The first processing unit 160A performs primary detection shown in Table 1 below using a learning function unit 165, a moving average calculation unit 166, a difference value calculation unit 167, an integrator 168, a judgement unit 169 and a converter 170. In the primary detection, high-sensitivity obstacle detection is performed by learning and waveform processing based on the output of the encoder. In the primary detection, switching between the first speed and the second speed does not involve switching of the threshold value.
[0038] The second processing unit 160B performs secondary detection shown in Table 1 below using a learning function unit 165, a moving average calculation unit 166, a difference value calculation unit 167, an integrator 168, a judgement unit 169 and a converter 170. In the secondary detection, an obstacle detection corresponding to a learning abnormality is performed only by waveform processing based on the output of the encoder. In the secondary detection, the threshold value is not changed when the first speed and the second speed are switched.
[0039] The third processing unit 160C performs tertiary detection shown in Table 1 below. In the tertiary detection, an equipment protection device detects an obstacle when the speed becomes equal to or lower than a certain speed without performing waveform processing based on the output of the encoder. In the tertiary detection, the threshold value is switched when the first speed and the second speed are switched.
[0040] The fourth processing unit 160D performs the fourth detection shown in Table 1 below. In the fourth detection, the device is protected by the current value based on the motor current value to deal with an abnormality in the encoder. In the fourth detection, the threshold value is switched when the first speed and the second speed are switched.
[0041] The fifth processing unit 160E performs the fifth detection shown in Table 1 below. In the fifth detection, the device is protected by a control circuit such as a fuse in response to a software abnormality based on the circuit current. In the fifth detection, the threshold value is not changed when the first speed and the second speed are switched.
[0042] [Table 1]
[0043] [Primary detection] The primary detection by the first processing unit 160A will be described.
[0044] The storage unit 17 stores, as first learning data, position information n and the pulse width of the position pulse calculated based on the output of the encoder for each full-open operation in which the shutter curtain 4 changes over time from a fully closed state to a fully open state by driving the DC motor 8 at a first speed, which is a low speed, or for each closing operation in which the shutter curtain 4 changes from a fully open state to a fully closed state. The storage unit 17 stores, as first learning data, past data of the past position information n and the pulse width of the position pulse at the low speed. The past data is stored in the storage unit 17 only when no obstacle is detected during the full-open operation or the full-close operation. The past data stored in the storage unit 17 is, for example, past position information n and the pulse width of the position pulse at the time of the past four full-open operations or the full-close operation based on the current time. The control unit 13 causes the storage unit 17 to store the past data at either the first speed or the second speed, as described later. The control unit 13 causes the storage unit 17 to store the past data at the first speed, which is a low speed, as the first learning data.
[0045] The conversion unit 170 converts the first learning data of the load information corresponding to the first speed into second learning data of the load information corresponding to the second speed, based on the first learning data of the load information corresponding to the first speed stored in the storage unit 17. The conversion unit 170 converts the pulse width An of the position pulse in the first learning data into the pulse width An of the position pulse in the second learning data corresponding to the second speed, using the ratio between the first PWM value corresponding to the first speed and the second PWM value corresponding to the second speed, for each piece of position information n in the first learning data.
[0046] As shown in Fig. 4, the conversion unit 170 stores the second learning data converted based on the first learning data in a set for each piece of position information n corresponding to the position of the shutter curtain, for example. Fig. 4 shows data on the rotation time required for the DC motor 8 to rotate half a revolution when the second high speed is twice as fast as the first low speed and the ratio of the first PWM value to the second PWM value is 1:2. Since the first learning data and the second learning data are stored in the storage unit 17 in a set, it is possible to reduce the storage area and suppress an increase in costs compared to the case where the first learning data and the second learning data are stored individually for each piece of position information n.
[0047] The learning function unit 165 has a function of determining a reference value load Bn based on past data stored in the storage unit 17. For example, the learning function unit 165 has a learning function of determining the pulse width of a position pulse at a high second speed corresponding to position information n based on the past four pieces of past data. The learning function unit 165 acquires the pulse width of a position pulse corresponding to position information n from the past four pieces of past data. The learning function unit 165 selects the data group with the second smallest standard deviation from among the four data groups. The learning function unit 165 stores the pulse width of a position pulse at a high second speed corresponding to position information n selected from the data group as a reference value load Bn.
[0048] The horizontal axis in Fig. 5 represents position information n acquired by the moving average calculation unit 166. The vertical axis in Fig. 5 represents pulse width. Fig. 5 shows pulse width An and reference value load Bn corresponding to position information n acquired by the moving average calculation unit 166.
[0049] The moving average calculation unit 166 acquires the position information n and the pulse width An of the position pulse corresponding to the position information n from the load measurement unit 152. The moving average calculation unit 166 acquires the reference value load Bn corresponding to the acquired position information n from the learning function unit 165. The moving average calculation unit 166 calculates the moving average value of each of the pulse width An and the reference value load Bn for each position information n. The moving average value for the pulse width An for the position information n is expressed as the moving average value ave_An, and the moving average value for the reference value load Bn for the position information n is expressed as the moving average value ave_Bn. For the moving average, the load of the DC motor 8 corresponding to a predetermined interval of the position information (for example, between the position information n-300 and the position information n) is used.
[0050] The moving average calculation unit 166 corrects and normalizes the pulse width An and the reference value load Bn using the following equations (1) and (2). Normalization is performed to minimize the difference Δd between the pulse width An and the reference value load Bn shown in Fig. 5, and to align the amplitude reference values by comparing the pulse width An and the reference value load Bn with approximately the same standard. Normalization removes fluctuations in the amplitude standards of the pulse width An and the reference value load Bn due to the surrounding environment, measurement environment, etc., that is, so-called offsets.
[0051] αn = An - ave_An … (1)
[0052] βn = Bn - ave_Bn … (2)
[0053] The correction value αn is a correction value of the pulse width An corresponding to the position information n. The correction value βn is a correction value of the reference value load Bn corresponding to the position information n. FIG. 6 shows the correction value αn and the correction value βn corresponding to the position information n calculated by the moving average calculation unit 166. The pulse width An and the reference value load Bn are compared with each other using 0 as a reference, which is approximately the same reference. The moving average calculation unit 166 outputs the calculated correction value αn and correction value βn to the difference value calculation unit 167.
[0054] The differential value calculation unit 167 obtains the correction values αn and βn from the moving average calculation unit 166. The differential value calculation unit 167 calculates the load differential value Cn by using the following equation (3).
[0055] Cn = αn - βn … (3)
[0056] The differential value calculation unit 167 calculates the load differential value Cn by subtracting the correction value βn from the correction value αn. In FIG. 7, the vertical axis indicates the pulse width, the horizontal axis indicates the position information n, and the calculated load differential value Cn is shown. As shown in area Y in FIG. 7, the differential value calculation unit 167 can remove noise with high reproducibility from the load of the DC motor 8. In other words, the load differential value Cn can be regarded as the load of the DC motor 8 from which noise with high reproducibility has been removed. The differential value calculation unit 167 outputs the calculated load differential value Cn to the integrating unit 168.
[0057] The accumulator 168 acquires the load difference value Cn from the difference value calculator 167. When the load difference value Cn exceeds the accumulation threshold P, the accumulator 168 calculates a load accumulated value Dn, which is a load evaluation value, by using the following equation (4).
[0058] Dn = Dn-1 + Cn … (4)
[0059] When the load difference value Cn is equal to or smaller than the integration threshold value P, the integration unit 168 sets the load integration value Dn to 0 as shown in the following equation (5).
[0060] Dn=0 …(5)
[0061] The integration threshold P is a preset value, and is a threshold for determining whether or not to integrate the load difference value Cn. The load integration value Dn-1 is a load integration value corresponding to the position information n-1. When the load difference value Cn exceeds the integration threshold P, the integration unit 168 calculates the load integration value Dn by adding the load difference value Cn to the load integration value Dn-1 corresponding to the position information n-1, which is the position information immediately before the current position information n, and updates it to a new load integration value. When the load difference value Cn is equal to or less than the integration threshold P, the integration unit 168 does not add the load difference value Cn to the load integration value Dn-1, and sets the load integration value Dn to 0.
[0062] The upper side in FIG. 8 shows the load differential value Cn that the integrating unit 168 acquires from the differential value calculation unit 167. The lower side in FIG. 8 shows the load integrated value Dn that the integrating unit 168 calculates. For example, as shown in the upper side in FIG. 8, the load integrated value Dn will be described when the load differential values C1=12, C2=12, C3=-13, C4=6, and C5=10, and the integration threshold P is 0. When the position information n=1, the integrating unit 168 sets the load integrated value D1 to 12. Next, when the position information n=2, the integrating unit 168 sets the load integrated value D2 to 24, which is the value obtained by adding the load differential value C2 to D1. When the position information n=3, the integrating unit 168 sets D3 to 0 because C3 is equal to or less than 0. When the position information n=4, the integrating unit 168 sets D4 to 6, which is the value obtained by adding the load differential value C4 to D3. When the position information n=5, the integrator 168 sets D5 to 16, which is the value obtained by adding the load difference value C5 to D4.
[0063] The integration threshold P will be described. When the baseboard portion 4b comes into contact with an obstacle, the load on the DC motor 8 increases. Therefore, the correction value αn>the correction value βn, and the load difference value Cn becomes a positive value. Therefore, when it is detected that the baseboard portion 4b comes into contact with an obstacle, the integration unit 168 can amplify the load on the DC motor 8 by integrating the load difference value Cn that is 0 or more. In general, the integration threshold P is set to 0. When there is noise in the load difference value Cn that is 0 or more, the integration threshold P is adjusted to a value larger than 0. The integration unit 168 can remove the noise in the load difference value Cn by integrating the load difference value Cn that is equal to or greater than the noise, and can amplify the load on the DC motor 8. The integration unit 168 outputs the integrated load integration value Dn to the determination unit 169.
[0064] FIG. 9 shows the load integrated value Dn corresponding to the position information n acquired by the moving average calculation unit 166. The vertical axis in FIG. 9 shows the pulse width, and the horizontal axis shows the position information n. The determination unit 169 acquires the load integrated value Dn supplied from the integrator 168. The determination unit 169 acquires the judgment threshold Q from the storage unit 17. Then, as shown in FIG. 9, the determination unit 169 detects whether the baseboard part 4b of the shutter curtain 4 has come into contact with an obstacle by judging whether the acquired load integrated value Dn exceeds the judgment threshold Q. The judgment threshold Q is a value for judging whether the baseboard part 4b has come into contact with an obstacle, and is, for example, the load integrated value when a load of 4 kg is applied to the DC motor 8. nx shown in FIG. 9 is the position information when the baseboard part 4b comes into contact with an obstacle.
[0065] The determination unit 169 determines that the baseboard portion 4b has come into contact with an obstacle when the determination number x of times that the acquired load integrated value Dn has exceeded the determination threshold Q reaches a specified number of times. When the determination unit 169 determines that the baseboard portion 4b has come into contact with an obstacle, it outputs a control signal to the drive control unit 14. The determination number x is a value used only to reduce the influence of noise on the load integrated value Dn. The determination unit 169 determines that the baseboard portion 4b has come into contact with an obstacle when the load integrated value Dn has exceeded the determination threshold Q x times in a row. The x times is, for example, 2 or more times.
[0066] [Secondary detection] Secondary detection by the second processing unit 160B will be described. In the secondary detection, the same processes as in the primary detection are omitted or simplified. The secondary detection is a mechanism in which the reference value load Bn in the primary detection is deleted. By not using the reference value load Bn in the learning data, the system is designed to be able to detect an obstacle even if an abnormality occurs in the learning data.
[0067] Specifically, C'n=αn is used.
[0068] The accumulator 168 acquires the load differential value C'n from the differential value calculator 167. When the load differential value C'n exceeds the integration threshold P, the accumulator 168 calculates a load integrated value D'n, which is a load evaluation value, by using the following equation (6).
[0069] D'n = D'n-1 + C'n ... (6)
[0070] When the load difference value C'n is equal to or smaller than the integration threshold value P, the integration unit 168 sets the load integration value D'n to 0 as shown in the following equation (7).
[0071] D'n=0 …(7)
[0072] The integration threshold P is a preset value, and is a threshold for determining whether or not to integrate the load difference value C'n. The load integration value D'n-1 is a load integration value corresponding to the location information n-1. When the load difference value C'n exceeds the integration threshold P, the integration unit 168 calculates the load integration value D'n by adding the load difference value C'n to the load integration value D'n-1 corresponding to the location information n-1, which is the location information immediately before the current location information n, and updates it to a new load integration value. When the load difference value C'n is equal to or less than the integration threshold P, the integration unit 168 does not add the load difference value C'n to the load integration value D'n-1, and sets the load integration value D'n to 0.
[0073] The upper part of FIG. 10 shows the load differential value C'n that the integrator 168 acquires from the differential value calculator 167. The lower part of FIG. 10 shows the load integrated value D'n that the integrator 168 calculates. For example, as shown in the upper part of FIG. 10, the load integrated value D'n will be described when the load differential values C'1=12, C'2=12, C'3=-13, C'4=6, and C'5=10, and the integration threshold P is 0. When the location information n=1, the integrator 168 sets the load integrated value D'1 to 12. Next, when the location information n=2, the integrator 168 sets D'2 to 24, which is the value obtained by adding the load differential value C'2 to D'1. When the location information n=3, the integrator 168 sets D'3 to 0 because C'3 is equal to or less than 0. When the position information n=4, the integrator 168 calculates D4 by adding the load difference value C'4 to D'3, which is 6. When the position information n=5, the integrator 168 calculates D'5 by adding the load difference value C'5 to D'4, which is 16.
[0074] The integration threshold P will be described. When the baseboard portion 4b comes into contact with an obstacle, the load on the DC motor 8 increases. Therefore, the load difference value C'n becomes a positive value. Therefore, when it is detected that the baseboard portion 4b comes into contact with an obstacle, the integration unit 168 can amplify the load on the DC motor 8 by integrating the load difference value C'n that is 0 or more. In general, the integration threshold P is set to 0. When there is noise in the load difference value C'n that is 0 or more, the integration threshold P is adjusted to a value greater than 0. The integration unit 168 can remove the noise in the load difference value C'n by integrating the load difference value C'n that is equal to or greater than the noise, and can amplify the load on the DC motor 8. The integration unit 168 outputs the integrated load integration value D'n to the determination unit 169.
[0075] FIG. 11 shows the load integrated value D'n corresponding to the position information n acquired by the moving average calculation unit 166. The vertical axis in FIG. 11 shows the pulse width, and the horizontal axis shows the position information n. The determination unit 169 acquires the load integrated value D'n supplied from the integration unit 168. The determination unit 169 acquires the judgment threshold Q' from the storage unit 17. Then, as shown in FIG. 9, the determination unit 169 detects whether the baseboard part 4b of the shutter curtain 4 has come into contact with an obstacle by judging whether the acquired load integrated value D'n exceeds the judgment threshold Q'. The judgment threshold Q' is a value for judging whether the baseboard part 4b has come into contact with an obstacle, and is, for example, the load integrated value when a load of 8 kg is applied to the DC motor 8. nx shown in FIG. 11 is the position information when the baseboard part 4b comes into contact with an obstacle.
[0076] The judgment unit 169 judges that the baseboard portion 4b has come into contact with an obstacle when the judgment number x" at which the acquired load accumulated value D'n has exceeded the judgment threshold Q' reaches a specified number. When the judgment unit 169 judges that the baseboard portion 4b has come into contact with an obstacle, it outputs a control signal to the drive control unit 14. The judgment number x' is a value used only to reduce the influence of noise on the load accumulated value D'n. The judgment unit 169 judges that the baseboard portion 4b has come into contact with an obstacle when the load accumulated value D'n has exceeded the judgment threshold Q' x' times in a row. x' times is, for example, two or more times.
[0077] [Third detection] The tertiary detection by the third processing unit 160C will now be described. In the tertiary detection, the third processing unit 160C compares the value of the pulse width An of the position pulse output from the output unit 9 with a fixed threshold, and determines that an abnormality has occurred if the pulse width An exceeds the threshold four times.
[0078] Unlike the first processing unit 160A and the second processing unit 160B, the third processing unit 160C does not perform waveform processing such as αn=An-ave_An or Dn. Therefore, even if adverse effects due to waveform processing occur and the first processing unit 160A and the second processing unit 160B do not detect it, it becomes possible to detect abnormal operation of the shutter curtain 4.
[0079] The control unit 13 executes a speed control process for the shutter curtain 4. In Fig. 12 and Fig. 13, the horizontal axis represents the position of the shutter curtain 4, and the vertical axis represents the time it takes for the DC motor 8 to make a half rotation as a value related to the speed of the DC motor 8. In Fig. 12 and Fig. 13, the larger the value on the vertical axis, the slower the motor speed. If the PWM value is small, the motor speed will be slower as shown in Fig. 12, and if the PWM value is large, the motor speed will be faster as shown in Fig. 13.
[0080] The first speed threshold K1 for tertiary detection is a fixed value that does not undergo learning or waveform processing, and therefore is an appropriate threshold for low speeds, but at high speeds it takes time for an abnormality to be determined, increasing the load on the shutter curtain 4. In the electric shutter device 2 of the embodiment, during high-speed operation, the threshold for tertiary detection is changed to a second speed threshold K2 that is faster than the first speed threshold K1, as shown in Fig. 14.
[0081] [Quaternary detection] The fourth detection by the fourth processing unit 160D will be described. The first processing unit 160A, the second processing unit 160B, and the third processing unit 160C make a judgment based on the motor speed information from the encoder. However, while the motor speed is normal data, the current value alone may become abnormal due to motor deterioration, etc., and continued operation may cause a fire. Therefore, the fourth processing unit 160D performs a judgment process for abnormal operation based on the current value. The fourth processing unit 160D judges an abnormality when the current value exceeds a certain threshold value for X ms continuously.
[0082] As with tertiary detection, quaternary detection also determines values without waveform processing as fixed values, so it is appropriate to vary the current threshold value according to the motor speed. Since the current value increases as the PWM value increases, in quaternary detection, the second current threshold value for the high speed range is set to a value higher than the first current threshold value for the low speed range.
[0083] [5th detection] The fifth detection by the fifth processing unit 160E will be described. The first processing unit 160A, the second processing unit 160B, the third processing unit 160C, and the fourth processing unit 160D are all software processes in the processing unit 16. The fifth processing unit 160E performs an abnormal stop by a circuit such as a fuse in order to stop operation due to an abnormality in the shutter curtain 4 even if an abnormality occurs in the software.
[0084] A method for setting the speed of the shutter curtain 4 by PWM control during the opening operation will be described with reference to FIG.
[0085] As shown in FIG. 15, when an operation instruction for an opening operation is received in step S1, if there is an abnormality detection flag in step S2, the control unit 13 sets the PWM output reference value to a first speed, which is a low speed in a closing operation, in step S3. If there is no abnormality detection flag in step S2, the control unit 13 determines whether or not the distance between the current position of the shutter curtain 4 and the upper limit position in the fully open state is equal to or greater than a predetermined threshold in step S10. The control unit 13 determines whether or not the current position of the shutter curtain 4 is, for example, 5 cm or more from the upper limit position in the fully open state in step S10. If the distance between the current position of the shutter curtain 4 and the upper limit position in the fully open state is equal to or greater than a predetermined threshold in step S10, the control unit 13 sets the PWM output reference value to a second speed, which is a high speed in a closing operation, in step S4. If the distance between the current position of the shutter curtain 4 and the upper limit position in the fully open state is less than a predetermined threshold in step S10, the control unit 13 sets the PWM output reference value to the first speed, which is a low speed in a closing operation, in step S3. The control unit 13 sets the variable "StandardPwm", which is the PWM output reference value, to "HIGHSpeedPwm" in step S4, and to "LowSpeedPwm" in step S3.
[0086] In step S5, the control unit 13 reads the current power supply voltage AD port value, and sets the read power supply voltage AD port value to the variable "Current Volt."
[0087] In step S6, the control unit 13 determines the PWM control value to be output based on the current power supply voltage AD port value and the reference voltage of 100 V. If the reference voltage stored during factory inspection or the like is set as "Reference Volt", the control unit 13 calculates the PWM value using the following formula and sets the duty ratio corresponding to the calculated "PWM value".
[0088] PWM = StandardPwm × Reference Volt / Current Volt
[0089] After 20 msec has elapsed in step S7, the control unit 13 determines whether or not there is a stop command in step S8. If there is no stop command in step S8, the control unit 13 executes the processes in steps S2 and after. If there is a stop command in step S8, the control unit 13 stops the process in step S9.
[0090] The electric shutter device 2 is equipped with a manual release switching clutch that allows escape in the event of a power outage. If the shutter curtain 4 is manually opened or closed by operating this clutch while power is being supplied, the position information recognized by the control unit 13 may differ from the actual position.
[0091] When the actual position is shifted, the speed is usually low near the full open position, so the third processing unit 160C is generally designed on the assumption of low speed in the opening direction. However, in the case of step S3 shown in Fig. 15, if the speed threshold K1 is set, the shutter curtain 4 may collide at high speed. When the shutter curtain 4 collides at high speed, the difference between the actual position of the shutter curtain 4 and the first speed threshold K1 is too large, and the shutter may be damaged. To avoid this, a second speed threshold for high speed is set during high-speed operation.
[0092] The fourth processing unit 160D also determines the value not to be subjected to waveform processing based on a fixed value, similar to the third processing unit 160C, and therefore the threshold value must be varied depending on the speed. Since the current value increases as the PWM value increases, the second current threshold value determined in the high speed region is greater than the first current threshold value at low speed.
[0093] In the opening operation of the shutter curtain 4 in step S102, the control unit 13 sets a duty ratio at which the shutter curtain 4 opens at a higher second speed until the distance between the current position of the shutter curtain 4 and its upper limit position becomes a predetermined position threshold, and sets a duty ratio at which the shutter curtain 4 opens at a lower first speed when the distance between the current position of the shutter curtain 4 and its upper limit position becomes equal to or less than the predetermined position threshold.
[0094] A method for setting the speed of the shutter curtain 4 in an opening operation by PWM control will be described with reference to the flow chart shown in Fig. 16. In the flow chart shown in Fig. 16, the same configurations and procedures as those in the flow chart shown in Fig. 15 are given the same reference numerals, and their description will be omitted or simplified.
[0095] As shown in Fig. 16, when an instruction to open the shutter curtain 4 is received in step S1, the control unit 13 determines in step S2 whether or not there is an abnormality detection flag. If there is no abnormality detection flag in step S2, the control unit 13 determines in step S10 whether or not the distance between the current position of the shutter curtain 4 and the upper limit position in the fully open state is equal to or greater than a predetermined threshold. In step S10, the control unit 13 determines whether or not the current position of the shutter curtain 4 is, for example, 5 cm or more from the upper limit position in the fully open state. If the distance between the current position of the shutter curtain 4 and the upper limit position in the fully open state is equal to or greater than the predetermined threshold in step S10, the control unit 13 sets the PWM output reference value to a second speed, which is a higher speed, in step S4.
[0096] The control unit 13 sets the PWM output reference value to the second speed, which is a high speed, in step S4, and sets the threshold of the third processing unit 160C to the second speed threshold for high speed in step S11, and sets the threshold of the fourth processing unit 160D to the second current threshold for high speed in step S12.
[0097] If there is an abnormality detection flag in step S2 and if the distance between the current position of the shutter curtain 4 and the upper limit position in the fully open state is less than a predetermined threshold in step S10, the control unit 13 sets the PWM output reference value to a first speed, which is a low speed, in step S3. Having set the PWM output reference value to the first speed, which is a low speed, in step S3, the control unit 13 sets the threshold of the third processing unit 160C to the first speed threshold for low speed in step S13, and sets the threshold of the fourth processing unit 160D to the first current threshold for low speed in step S14.
[0098] After setting the threshold of the fourth processing unit 160D to the second current threshold for high speed in step S12, or after setting the threshold of the fourth processing unit 160D to the first current threshold for low speed in step S14, the control unit 13 determines whether or not there is a stop command in step S8. If there is no stop command in step S8, the control unit 13 executes the processes from step S2 onwards. If there is a stop command in step S8, the control unit 13 stops the process in step S9.
[0099] In the embodiment of the electric shutter device 2, a first speed threshold is set as the upper limit speed when the DC motor 8 is driven at a low first speed, and a second speed threshold different from the first speed threshold is set as the upper limit speed when the DC motor 8 is driven at a high second speed, so that the DC motor 8 can be restricted to an upper limit speed according to the speed, and damage can be prevented when the shutter curtain 4 reaches the upper limit position faster than expected and collides.
[0100] In the embodiment of the electric shutter device 2, a first current threshold is set as the upper limit current value when the DC motor 8 is driven at a first speed, and a second current threshold different from the first current threshold is set as the upper limit current value when the DC motor 8 is driven at a second speed.Therefore, by monitoring the current value in addition to monitoring the speed value, it is possible to prevent damage when the shutter curtain 4 reaches the upper limit position faster than expected and causes a collision.
[0101] Although the preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, it goes without saying that the present disclosure is not limited to the examples. The shapes and combinations of the components shown in the above examples are merely examples, and various modifications can be made based on design requirements, etc., without departing from the spirit of the present disclosure.
[0102] For example, in the electric shutter device 2 of the embodiment, the shutter curtain 4 has two operating speeds, a first speed and a second speed, but the present invention is not limited to this configuration. For example, three or more set speeds may be provided, or a threshold value may be constantly changed according to the speed as a variable speed.
[0103] For example, in the electric shutter device 2 of the embodiment, a configuration has been exemplified in which a first current threshold is set as the upper limit current value when driving the DC motor 8 at a first speed, and a second current threshold different from the first current threshold is set as the upper limit current value when driving the DC motor 8 at a second speed, but this configuration is not limited to this. For example, a configuration may be used in which a first speed threshold and a second speed threshold are set without setting the first current threshold and the second current threshold, and the speed of the DC motor 8 is PWM controlled.
[0104] The whole or part of the control unit 13 in the embodiment may be realized by a computer. In this case, the computer may include a processor such as a CPU or a GPU, and a computer-readable recording medium. The whole or part of the functions of the control unit 13 may be realized by recording a program for realizing the functions of the computer in a computer-readable recording medium, and reading and executing the program recorded in the recording medium into the processor. The "computer-readable recording medium" refers to a portable medium such as a flexible disk, an optical magnetic disk, a ROM, a CD-ROM, and a storage device such as a hard disk built into a computer system. The "computer-readable recording medium" may also include a medium that dynamically holds a program for a short period of time, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line, and a medium that holds a program for a certain period of time, such as a volatile memory inside a computer system that is a server or a client in that case. The program may be a program for realizing a part of the functions described above, may be a program that can realize the functions described above in combination with a program already recorded in the computer system, or may be a program that is realized using a programmable logic device such as an FPGA. [Explanation of symbols]
[0105] 1...shutter system, 2...electric shutter device, 4shutter curtain, 8...DC motor, 10...shutter control device, 13...control unit, 17...storage unit, 160...abnormality detection unit
Claims
1. A DC motor that drives the shutter curtain to open and close using a direct current; A control unit that PWM controls the power supply to the DC motor; Equipped with The control unit sets a first speed threshold as an upper limit speed when driving the DC motor at a first speed, and sets a second speed threshold different from the first speed threshold as the upper limit speed when driving the DC motor at a second speed different from the first speed.
2. the control unit operates the shutter curtain at a first speed when a distance between a current position and an upper limit position of the shutter curtain is equal to or less than a position threshold, and operates the shutter curtain at a second speed higher than the first speed when the distance is greater than the position threshold. The electric shutter device according to claim 1.
3. An abnormality detection unit that detects an abnormality related to the opening and closing of the shutter curtain, In an opening operation, the control unit operates the shutter curtain at the first speed when the distance is equal to or less than the position threshold, and operates the shutter curtain at the second speed when the distance is greater than the position threshold. The electric shutter device according to claim 1.
4. The control unit is setting a first current threshold as an upper limit current value when driving the DC motor at the first speed; a second current threshold value different from the first current threshold value is set as an upper limit current value when the DC motor is driven at the second speed; The electric shutter device according to claim 1.
5. The second current threshold is greater than the first current threshold. The electric shutter device according to claim 4.
6. The second speed threshold is greater than the first speed threshold. The electric shutter device according to claim 1.
7. The control unit executes a plurality of types of detection processes for detecting an abnormality related to opening and closing of the shutter curtain using a threshold value related to the drive of the DC motor, The plurality of types of detection processes include a threshold switching process for switching the threshold when the speed of the DC motor is switched; and a threshold non-switching process for not switching the threshold when the speed of the DC motor is switched. The electric shutter device according to any one of claims 1 to 6.
8. The threshold non-switching process includes a process of detecting the abnormality based on learning data based on past information regarding the drive of the DC motor and data obtained by waveform processing when the DC motor is driven. The electric shutter device according to claim 7.
9. The threshold non-switching process includes a process of detecting the abnormality based on data obtained by waveform processing during driving of the DC motor. The electric shutter device according to claim 7.
10. The threshold non-switching process includes a process of detecting the abnormality based on a current value flowing through a circuit when the DC motor is driven. The electric shutter device according to claim 7.
Citation Information
Patent Citations
JP1989162587U
