1. Field of the Invention
This invention relates to an air gun in the form of a model gun, and particularly to the electronic control of an air gun that is suitable for performing control so that the position of the piston after shooting returns to a specified position regardless of whether shooting was single-shot mode or repeating mode.
2. Description of the Related Art
An air gun in the form of a model gun that is patterned after an automatic rifle is used as a toy or for shooting practice. Particularly, in the case of being used for shooting practice, it is desired that the air gun have the same appearance and be capable of being handled the same as a real gun. Prior art for this kind of air gun has been disclosed in Japanese Examined Patent Publication H7-43238.
In this prior art, by pulling the trigger, a motor drives a pump comprising a piston and cylinder, and discharges compressed air though a discharge hole, while at the same time a bullet is fed in synchronization with this, and that bullet is shot. In this prior art, the mechanism that shoots the bullet is electrically powered so that it can be driven by a motor, however, the bullet shooting mechanism is a mechanical mechanism such as a cam. Also, switching between single-shot mode and repeating mode is performed by a mechanical mechanism comprising a mechanical tappet arm or switching lever. Moreover, the power to the motor is turned ON/OFF by a mechanical contact switch. Also, in this prior art it is possible to switch between single-shot mode and repeating mode by switching a lever, and in the case of repeating mode, the motor operates as long as the trigger is pulled, and the series of operations related to repeating mode are repeatedly performed, and by releasing the trigger, the operations stop.
In the aforementioned prior art, starting and stopping the shooting operation was performed by turning ON/OFF a mechanical switch to the power supply of the motor, so there was a problem in reliability in that defective operation due to burnt contacts or incomplete contacting occurs easily. Also, switching between single-shot mode and repeating mode is performed by a mechanism comprising a mechanical cam and lever, so defective operation occurs easily due to wear or fatigue.
Moreover, in the repeating mode operation of this prior art, it was not possible to control how many times the gun was shot.
Also, in this prior art, there was no way for checking whether or not there were bullets in the magazine, and particularly during continuous shooting, even after the last bullet was shot, there was a problem in that in a state of having no bullets, useless blank shooting continued.
In this prior art, the trigger was released at arbitrary timing, so in accordance to this, the motor also stopped at arbitrary timing. Therefore, there was a problem in that the rotating shaft (sector gear) also stopped at an arbitrary position, and stopped while still being meshed with the rack formed on the piston. The following problems occur when the rotating shaft (sector gear) stops while still being meshed with the rack:
(1) The air gun is left for a long period of time in the stopped state with stress still being applied to the rotating shaft and rack, which causes mechanical failure of the deceleration mechanism and piston unit to occur.
(2) The air gun is left for a long period of time in the stopped state when the spring compressed. Therefore, the spring effect of the spring becomes weak.
(3) The air gun is stopped with stress still being applied to the rotating shaft and rack, so the meshing between the rotating shaft and rack cannot be easily released. Therefore, it is not possible to easily open up the inside when performing internal inspection such as during maintenance.
In order to solve the aforementioned problems, the object of the present invention is to improve the reliability of the mechanical mechanism of the gun, prevent degradation of the spring effect of the spring and make it possible to easily open the inside of the gun to perform maintenance by performing control after any number of shootings so that the rotating shaft (sector gear) and rack do not stop in the meshed state.
The invention according to a first claim of the invention is an air gun that uses compressed air generated by a piston to shoot bullets, comprising: a means for detecting an operation reference position of a drive system that drives the piston, and stopping the operation of the drive system at a specified position when the operation reference position is detected.
Also, the invention according to a second claim of the invention is an air gun that uses compressed air generated by a piston to shoot bullets, comprising: a means for detecting an operation reference position of a drive system that drives the piston, and stopping the operation of the drive system when the operation reference position is detected, so that it always returns to the starting position of the shooting operation.
Moreover, the invention according to a third claim of the invention is an air gun having a cylinder and a piston that is housed inside the cylinder, and that uses air that is compressed by the cylinder and piston to shoot bullets, and comprising: a rack that is located so that it is integrated with the piston; a sector gear having a toothed section on part of its circumference that meshes with the rack, and a non-toothed section that does not mesh with the rack; a motor that drives the sector gear by way of a deceleration-gear mechanism; a rotation-reference position that is located on the sector gear; and a sensor that detects the rotation-reference position; where when the sensor detects the rotation-reference position, power to the motor is turned OFF; the sector gear stops at a position where the non-toothed section of the sector gear faces the rack; and the piston always returns to the starting position of the shooting operation.
The invention according to a fourth claim of the invention is the air gun of claim 3 wherein detection of the rotation-reference position is performed by a photo detector detecting a hole for the rotation-reference position formed on part of the drive system.
Also, the invention according to a fifth claim of the invention is the air gun of claim 4 wherein the detection signal from the photo detector is input to a microcomputer, and when the rotation-reference position is detected, the microcomputer generates and outputs an OFF signal for the motor that turns OFF the power to the motor.
Moreover, the invention according to a sixth claim of the invention is the air gun of any of the claims 3 to 5 wherein the drive power supply of the motor comprises: a battery, motor, and MOS-FET that turns the power from the battery ON/OFF.
The invention according to a seventh claim of the invention is an air gun comprising: a piston that is housed inside a cylinder; a spring that applies a force to the piston in the direction of a cylinder head that is located on one end of the cylinder; a rack that is fastened to the bottom of the piston so that it is integrated with the rack; a sector gear having a toothed section formed around its circumference that meshes with the rack, and a non-toothed section that does not mesh with the rack, and when the toothed section is meshed with the teeth of the rack, moves the rack against the force of the spring in a direction opposite that of the cylinder head; a motor that drives and rotates the sector gear; a rotation-reference-position-detection hole for detecting a rotation-reference position of the sector gear; a sensor that detects the rotation-reference-position-detection hole; and a method of cutting off the power to the motor when the sensor detects the rotation-reference-position-detection hole; wherein by having the rotation-reference-position-detection hole rotate to a specified position from the detected position so that the non-toothed section of the sector gear stops at a position that faces the rack, the spring force moves the piston in the direction of the cylinder head, and air that is compressed between a piston head located on the piston and the cylinder head is discharged from a center hole in the cylinder head in the direction of the barrel, and shoots a bullet through the barrel.
Also, the invention according to an eighth embodiment of the invention is the air gun of claim 1 or claim 2 wherein when the operation reference position is detected and the air gun is in the shooting stopped state, it is possible to open the gun body of the air gun around a hinge, so that it is possible to see at least part of the piston and the sector gear.
Moreover, the invention according to a ninth embodiment of the invention is the air gun of any one of the claims 3 to 7 wherein when the operation reference position is detected and the air gun is in the shooting stopped state, it is possible to open the gun body of the air gun around a hinge, so that it is possible to see at least part of the piston and the sector gear.
The invention according to a tenth embodiment of the invention is a control method for an air gun that uses compressed air generated by a piston to shoot bullets that: detects an operation reference position of a drive system that drives the piston, and stops the operation of the drive system at a specified position when the operation reference position is detected.
Also, the invention according to an eleventh embodiment of the invention is a control method for an air gun that uses compressed air generated by a piston to shoot bullets, that: detects an operation reference position of a drive system that drives the piston, and stops the operation of the drive system when the operation reference position is detected, so that it always returns to the starting position of the shooting operation.
Moreover, the invention according to a twelfth embodiment of the invention is a control method for an air gun having a cylinder and a piston that is housed inside the cylinder, and that uses air that is compressed by the cylinder and piston to shoot bullets, and comprising: a rack that is located so that it is integrated with the piston; a sector gear having a toothed section on part of its circumference that meshes with the rack, and a non-toothed section that does not mesh with the rack; a motor that drives the sector gear by way of a deceleration-gear mechanism; a rotation-reference position that is located on the sector gear; and a sensor that detects the rotation-reference position; and that when the sensor detects the rotation-reference position, turns OFF power to the motor; stops the sector gear at a position where the non-toothed section of the sector gear faces the rack; and always returns the piston to the starting position of the shooting operation.
The invention according to a thirteenth embodiment of the invention is the control method for an air gun of claim 12 that performs detection of the rotation-reference position by a photo detector detecting a hole for the rotation-reference position formed on part of the drive system.
Also, the invention according to a fourteenth embodiment of the invention is the control method for an air gun of claim 13 that inputs the detection signal from the photo detector to a microcomputer, and when the rotation-reference position is detected, the microcomputer generates and outputs an OFF signal for the motor that turns OFF the power to the motor.
Moreover, the invention according to a fifteenth embodiment is a control method of an air gun comprising: a piston that is housed inside a cylinder; a spring that applies a force to the piston in the direction of a cylinder head that is located on one end of the cylinder; a rack that is fastened to the bottom of the piston so that it is integrated with the rack; a sector gear having a toothed section formed around it circumference that meshes with the rack, and a non-toothed section that does not mesh with the rack, and when the toothed section is meshed with the teeth of the rack, moves the rack against the force of the spring in a direction opposite that of the cylinder head; a motor that drives and rotates the sector gear; a rotation-reference-position-detection hole for detecting a rotation-reference position of the sector gear; a sensor that detects the rotation-reference-position-detection hole; and a means for cutting off the power to the motor when the sensor detects the rotation-reference-position-detection hole; and performs control so that by having the rotation-reference-position-detection hole rotate to a specified position from the detected position so that the non-toothed section of the sector gear stops at a position that faces the rack, the spring force moves the piston in the direction of the cylinder head, and air that is compressed between a piston head located on the piston and the cylinder head is discharged from a center hole in the cylinder head in the direction of the barrel, and shoots a bullet through the barrel.
First, each part of the air gun shown in
As shown in
Also, as will be described later, with the air gun of this invention, it is possible to open the gun body 1 using the hinge 9 as a rotating shaft as shown in
In the figure, 47 is an electronic-control circuit that comprises a microcomputer 49 and other electronic parts. Also, 27 is a battery that is used as the drive power source for the motor 22, and is the control power source for the electronic-control circuit 47. Moreover, 28 is a motor-power-supply-control unit that turns the motor ON/OFF according to an ON/OFF instruction from the microcomputer 49, and turns ON/OFF the power supplied to the motor 22 from the battery 27. There is a switch in the motor-power-supply-control unit 28, and taking into consideration the controllability and life of the switch, a semiconductor switch is used for this switch, and particularly in this invention, power saving is taken into consideration, so an MOS-FET (MOS field-effect transistor) is used. In the figure, 29 and 30 are power lines for supplying power to the motor 22 from the battery 27. Also, 31 is a control line that transmits an ON/OFF signal from the electronic-control unit 47 to the motor-power-supply-control unit 28. Moreover, 32 is a control-circuit-housing case that houses the deceleration mechanism, which rotates the sector gear 25 to decelerate the rotation from the motor 22, and the electronic-control unit 47.
In
In the figure, 45 and 46 are installation holes for attaching the control-circuit-housing case 32 to the gun body 1. Here, 47 indicates the electronic-control circuit.
Next, the bullet shooting operation will be explained.
In
When the rotation reference position of the sector gear 25 is detected and the shooting operation is stopped in this way, it is possible to always stop the non-toothed section 34 of the sector gear 25 so that it faces the rack 18. Also, the piston 12 always returns to the starting position of the shooting operation.
Even though the rotation reference position of the sector gear 25 is detected as shown in
Next, the construction of the electronic-control circuit 47 that controls the repeating mode operation will be explained.
In
A contact signal from the trigger switch 37 is input to the microcomputer 49, making it possible to detect whether the trigger 3 has been pulled. Also, a contact signal from the bullet-detection switch 41 is input, making it possible to detect whether there are any bullets 19 in the magazine 4.
Also, the single-shot mode/repeating mode and single-shot mode/N-repeating mode switch 52 is constructed so that it is possible to insert a jumper wire on the printed-circuit board of the control circuit. For example, depending on whether a jumper wire has been inserted in the switch 52, when a jumper wire has been inserted, single-shot mode/repeating mode is designated, and when a jumper wire is not inserted, it is possible to switch so that single-shot mode/N-repeating mode is designated. Needless to say, distinguishing between single-shot mode/repeating mode and single-shot mode/N-repeating mode according to the state of the jumper wire can be performed opposite that of the example described above.
In the figure, 51 is a selector switch and is a 3-point switch. This switch can switch to each respective contact position, ‘single-shot mode’, ‘repeating mode’ and ‘safety’. Here, when ‘safety’ is selected, the shooting operation is not performed even when the trigger 3 is pulled.
Also, 53 is an amplifier that amplifies the motor ON/OFF signal that is output from the microcomputer 49. The output from the amplifier 53 is input to the gate of the MOS-FET of the motor-power-supply-control unit 28. The MOS-FET functions as a switch that switches the motor 22 voltage ON/OFF. Therefore, when the MOS-FET is turned ON by the motor ON signal from the microcomputer 49, voltage is applied to the motor 22 and power is supplied from the battery 27 causing the motor 22 to operate. Also, by turning OFF the MOS-FET in accordance to a motor OFF signal from the microcomputer 49, power from the battery 27 is cut off and the motor 22 stops operating. A deceleration gear 24 is formed on the output shaft of the motor 22, and it rotates and drives the sector gear 25.
Next, control flowcharts will be used to explain the bullet shooting control in detail.
First, control is started in step 100, and in step 101 a check is performed to determine whether the trigger switch 37 has been pressed. When the trigger switch 37 has not been pressed, a watchdog timer WDT is cleared in step 102, and operation returns to step 101.
When the microcomputer 49 is operating properly, this watchdog timer WDT is periodically reset in order that an error signal is not output, however, when the microcomputer 49 is not operating properly, the watchdog timer WDT is no longer reset periodically, but outputs an error signal and stops operation by causing a safety apparatus to function, etc. The timer value of the watchdog timer WDT is set to 1000 ms for example when the power to the microcomputer 49 is initially turned ON. The technology for a watchdog timer is well known, so an explanation of it will be omitted here.
In step 101, when it is detected that the trigger switch 37 has been pressed, a check is performed in step 103 to determine whether there is a bullet in the magazine 4. This check is executed by inputting the signal from the bullet-detection switch 41 to the microcomputer 49 and determining whether the signal is ON or OFF. When there is a bullet 19 in the magazine 4, the bullet-detection switch 41 is pressed upward by the pressure member 42 for the pressure-detection switch, and turns the bullet-detection switch 41 OFF.
In step 103, when it is detected that there are no bullets 19 in the magazine 4, the operation advances to step 104 and the power to the motor 22 is turned OFF. At this time, the microcomputer 49 outputs a motor OFF signal to the signal amplifier 53, and the amplifier 53 amplify the signal and send it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives this signal, and by a switch cuts off the power that is supplied from the battery 27 to a motor 22. A semiconductor switch can be used for the switch of the motor-power-supply-control unit 28. A bipolar transistor can be used as the semiconductor switch, however, from the aspect of conserving energy, it is preferred that a MOS-FET be used. By using a MOS-FET (MOS field-effect transistor) it is possible to lengthen the life of the battery 27.
Next, operation advances to step 105, and after waiting a wait time of 20 ms, returns to step 101. This wait time is used to stabilize control, and is not limited to 20 ms.
In step 103, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 106 and the motor power is turned ON. At this time, the microcomputer 49 outputs the motor-power ON signal to the signal amplifier 53, and the amplifier 53 amplifies the signal and sends it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives the signal and turns the MOS-FET signal ON, and supplies power from the battery 27 to the motor 22. From this, the motor 22 starts operating and rotates the sector gear 25 by way of a deceleration mechanism such as a deceleration gear 24.
Next, in step 107, a check is performed to determine whether the rotation reference position of the sector gear 25 was detected. The rotation reference position is detected when the hole 40 for detecting the rotation reference position of the sector gear 25 passes the position where a photo detector formed by a photodiode 39 and phototransistor 44 is located, and light that is emitted from the photodiode 39 passes through the hole 40 for detecting the rotation reference position of the sector gear 25 and is received by the phototransistor 44, and then this signal is amplified by an operational amplifier 54 and input to the microcomputer 49. When the photo detector is not in the position of the hole 40 for detecting the rotation reference position of the sector 25, the phototransistor 44 does not receive light, so the rotation-reference-position-detection signal is not input to the microcomputer 49. As the motor 22 begins to operate, it is located in a rotation position as shown in
In step 107, when the rotation reference position of the sector gear 25 is detected, operation advances to step 108, and a signal is output to turn the motor power OFF. At this time, the hole 40 for detecting the rotation reference position of the sector gear 25 is located in the position of the photo detector as shown in
The motor 22 whose power is cut off does not immediately stop, but due to inertia rotates a certain amount to a position as shown in
The amount of rotation from after the rotation reference position of the sector gear 25 has been detected until the motor 22 stops changes according to the motor 22 inertia, friction loss of the gear mechanism, etc., however, the amount of rotation is determined to the extent that the motor 22 inertia or friction loss of the gear mechanism is determined, so the amount of rotation can be measured using a test apparatus, and the hole 40 for detecting the rotation reference position can be adjusted so that the sector gear 25 stops in a position where it does not mesh with the rack 18. Also, the stopped position changes depending on fluctuation in voltage from the battery 27, however, by detecting the battery 27 voltage and using a safety apparatus that stops operation when the voltage drops below a threshold value, it is possible to further keep the fluctuating range of the stopped position to a minimum. In regards to voltage drop of the battery 27 voltages, it is possible to install a display that will indicate that the battery 27 needs recharging just before or just when the battery voltage reaches the threshold value.
In step 108, after a signal is output to turn the motor power OFF, operation advances to step 109 and a check is performed to determine whether the trigger switch 37 is ON. When the trigger switch 37 is ON, operation advances to step 110 and the watchdog timer is reset, after which operation returns to step 109.
In step 109, when it is detected that the trigger switch 37 is OFF, operation advances to step 105, and after waiting a wait time of 20 ms, operation returns to step 101 and the operation described above continues.
With the operation shown in the flowchart described above, it is possible to perform the single-shot mode operation by pulling the trigger 3 one time, and so that the single-shot mode operation is performed in the same way the next time the trigger 3 is pulled, it is possible to perform the single-shot mode operation of shooting one bullet each time the trigger 3 is pulled one time.
With this embodiment, single-shot mode operation is stopped by detecting the rotation reference position of the sector gear 25, so it is possible to stop operation at a position where the sector gear 25 does not mesh with the rack 18. Therefore, it is possible to easily open the gun body 1 as shown in
First, control is started in step 120, and in step 121 a check is performed to determine whether the trigger switch 37 is pressed. When the trigger switch 37 is not being pressed, then in step 122 a watchdog timer WDT is cleared and operation returns to step 121.
In step 121, when it is detected that the trigger switch 37 is being pressed, then in step 123 a check is performed to determine whether there are bullets 19 in the magazine 4. This check is executed by inputting a signal from the bullet-detection switch 41 to the microcomputer 49 and checking whether the signal is ON or OFF. When there are bullets 19 in the magazine 4, the pressure member 42 for the bullet-detection switch pushes the bullet-detection switch 41 upward so that the switch is OFF.
In step 123 when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 124 and the power to the motor 22 is turned OFF. At this time, the microcomputer 49 outputs a motor-OFF signal to the signal amplifier 53, and the amplifier 53 amplifies the signal and sends it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives the signal, and by way of a MOS-FET, cuts off the power that is supplied to the motor 22 from the battery 27.
Next, operation advances to step 125, and after waiting a wait time of 20 ms, operation returns to step 121. This wait time is for stabilizing control and is not limited to 20 ms.
In step 123 when it is detected that there are bullets 19 in the magazine 4, operation advances to step 126 and the power to the motor is turned ON. At this time, the microcomputer 49 outputs a motor-ON signal to the signal amplifier 53, and the amplifier amplifies the signal and sends it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives the signal, and turns ON the MOS-FET to supply power from the battery 27 to the motor 22. By doing this, the motor 22 begins to operate and turns the sector gear 25 by way of a deceleration mechanism comprising the motor shaft 23 and deceleration gear 24.
Next, in step 127 a check is performed to determine whether the rotation reference position of the sector gear 25 has been detected. When the rotation reference position of the sector gear 25 has not been detected, operation returns to the beginning of step 127, and step 127 is repeated until the rotation reference position of the sector gear 25 is detected.
In step 127, when the rotation reference position of the sector gear 25 is detected, operation advances to step 128, and in step 128 when the trigger switch 37 is not ON, operation advances to step 129 and outputs a signal to turn the motor power OFF. At this time, the hole 40 for detecting the rotation reference position of the sector gear 25 is located in the position of the photo detector as shown in
In step 129, after outputting a signal to turn the motor power OFF, operation advances to step 125, and after waiting a wait time of 20 ms, operation advances to step 121 and the operation described above continues.
In step 128, when the trigger switch 37 is ON, operation advances to step 130, and a check is performed to determine whether there are any bullets 19 in the magazine 4. When it is detected that there are bullets 19 in the magazine 4, operation advances to step 131, the watchdog timer WDT is cleared, and operation returns to step 127.
In step 130, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 129 and turns the power to the motor 22 OFF. In step 129, after outputting a signal to turn the motor power OFF, operation advances to step 125, and after waiting a wait time of 20 ms, operation returns to step 101, after which the operation described above continues.
With this embodiment, it is possible to shoot bullets 19 continuously while the trigger 3 is pulled, and by releasing the trigger 3 to stop the shooting operation, after the trigger 3 is released, the rotation reference position of the sector gear 25 is detected and the stop operation starts. Therefore, the final stopped position of the repeating mode operation can be controlled with good precision in the same was as in the single-shot mode operation of the first embodiment, and it is possible to always have the sector gear 25 stop in a state where it does not mesh with the rack 18.
Therefore, as in the first embodiment, it is possible to easily open the gun body 1 as shown in
First, control is started in step 140, and in step 141 a check is performed to determine whether the trigger switch 37 is being pressed. When the trigger switch 37 is not being pressed, then in step 122, the watchdog timer WDT is cleared and operation returns to step 121.
In step 141, when it is detected that the trigger switch 37 is being pressed, then in step 143 a check is performed to determine whether there are bullets 19 in the magazine 4. This check is executed by inputting a signal from the bullet-detection switch 41 to the microcomputer 49, and checking whether this signal is ON or OFF. When there are bullets 19 in the magazine 4, the pressure member 42 for the bullet-detection switch pushes the bullet-detection switch 41 upward to turn the switch OFF.
In step 143, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 144, and the power to the motor 22 is turned OFF. At this time, the microcomputer 49 outputs a motor-OFF signal to the signal amplifier 53, and the amplifier 53 amplifies the signal and sends it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives this signal, and by way of a MOS-FET, cuts off the power being supplied to the motor 22 from the battery 27.
Next, operation advances to step 145, and after waiting a wait time of 20 ms, operation returns to step 141. This wait time is for stabilizing control and is not limited to 20 ms.
In step 143, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 146, and a counter CNT1 is set to N. N is the number of shootings, and is a positive integer 2 or greater.
Next, operation advances to step 147, and the motor power is turned ON. At this time, the microcomputer 49 outputs a motor-ON signal to the signal amplifier 53, and the amplifier 53 amplifies the signal and sends it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives this signal and turns ON the MOS-FET and supplies power from the battery 27 to the motor 22. By doing this, the motor 22 begins to operate, and rotates the sector gear 25 by way of a deceleration mechanism that comprises a motor shaft 23, deceleration gear 24 or the like.
Next, in step 148, a check is performed to determine whether the rotation reference position of the sector gear 25 has been detected. When the rotation reference position of the sector gear 25 is not detected, operation returns to the start of step 148, and step 148 is repeated until the rotation reference position of the sector gear 25 is detected.
In step 148, when the rotation reference position of the sector gear 25 is detected, operation advances to step 149, and in step 149 a check is performed to determine whether there are bullets 19 in the magazine 4. When it is detected that there are no bullets 19 in the magazine 4, operation advances to step 129 and the power to the motor 22 is turned OFF. In step 129, after a signal to turn the motor power OFF is output, operation advances to step 125, and after waiting a wait time of 20 ms, operation returns to step 101 and the operation described above continues.
In step 149, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 151, and 1 is subtracted from the value of the counter CNT1. Next, a check is performed to determine whether the result became 0 after 1 was subtracted. If the value is not 0, operation returns to step 148 and processing from step 148 to step 151 is repeated unit the value becomes 0.
In step 151, when it is detected that the value of the counter CNT1 has become 0, operation advances to step 152 and the power to the motor 22 is turned OFF.
Next, operation advances to step 153, and when the trigger switch 37 is ON, the watchdog timer WDT is cleared and operation returns to the beginning of step 153.
When the trigger switch 37 is not ON, operation advances to step 145, and after waiting a wait time of 20 ms, operation returns to step 141, and the operation described above continues.
With this embodiment, it is possible to perform repeating mode an arbitrary number of times N, and by releasing the trigger 3 during N-shot mode, it is possible to stop the N-repeating mode operation. Also, in the same way as in the single-shot mode operation of the first embodiment, the last operation is capable of detecting the rotation reference position of the sector gear 25 and stopping. Therefore, as in the case of the single-shot mode operation of the first embodiment, it is possible to accurately control the final stopping position of the N-continuous operation, and it is possible for the sector gear 25 to always stop in a state in which it does not mesh with the rack 18. Moreover, as in the first embodiment, it is possible to easily open the gun body 1 as shown in
First, control is started in step 160, and then in step 161 a check is performed to determine whether the trigger switch 37 is being pressed. When the trigger switch 37 is not being pressed, in step 162, the watchdog timer WDT is cleared and operation returns to step 161.
In step 161, when it is detected that the trigger switch 37 is being pressed, then in step 163 a check is performed to determine whether there are any bullets 19 in the magazine 4. This check is executed by inputting a signal from the bullet-detection switch 41 to the microcomputer 49, and checking whether this signal is ON or OFF.
In step 163, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 164, and the power to the motor 22 is turned OFF. At this time, the microcomputer 49 outputs a motor-OFF signal to the signal amplifier 53, and the amplifier amplifies the signal and sends it to the motor-power-supply-control unit 28. The motor-power-supply-control unit 28 receives the signal, and by way of a MOS-FET, cuts off the power being supplied to the motor 22 from the battery 27.
Next, operation advances to step 165, and after waiting a wait time of 20 ms, operation returns to step 161. This waiting time is for stabilizing control, and is not limited to 20 ms.
In step 163, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 166, and a check is performed to determine whether the operation is single-shot mode or repeating mode.
Switching between single-shot mode and repeating mode is performed by a selector switch 51. The selector switch 51 is located on the side surface of the gun body 1 as shown in
In step 166, when it is determined that the operation is single-shot mode, operation advances to step 167. Step 167 performs processing of the single-shot mode operation of block S1 indicated by the dashed line in
In step 166, when it is determined that operation is repeating mode, operation advances to step 168. Step 168 performs processing of the repeating mode operation of block C1 indicated by the dashed line in
With this embodiment, it is possible to easily switch between single-shot mode and repeating mode operation. Also, since the single-shot mode operation is based on the first embodiment 1, and the repeating mode operation is based on the second embodiment, at the end of either the single-shot mode or repeating mode operation, the rotation reference position of the sector gear 25 is detected, and operation stops. Therefore, it is possible to obtain the effect of both the first and second embodiments.
With this embodiment it is possible to easily switch between single-shot mode operation and N-repeating mode operation. Also, the single-shot mode operation is based on the first embodiment and the N-repeating mode operation is based on the third embodiment, so after the single-shot mode or N-repeating mode operation is complete, the rotation reference position of the sector gear 25 is detected and operation stops. Therefore, it is possible to also obtain the same effects as in the first and third embodiments.
First, control starts in step 190, and in step 191 a check is performed to determine whether the operation is single-shot mode and repeating mode, or single-shot mode and N-shot mode. This is performed by inputting a signal from the single-shot mode and repeating mode/single-shot mode and N-shot mode selection unit 52 shown in
With this embodiment, ultimately it is possible to switch operation among single-shot mode, repeating mode and N-shot mode. Also, since the single-shot mode operation is based on the first embodiment, the repeating mode operation is based on the second embodiment and the N-repeating mode operation is based on the third embodiment, regardless of whether single-shot mode, repeating mode or N-shot mode is selected, operation ends by detecting the rotation reference position of the sector gear 25 and stopping. Therefore, it is possible to obtain the effect of the first thru fifth embodiments as well.
In the operation flow shown in
First, control starts in step 200, and in step 201 a check is performed to determine whether the trigger switch 37 is being pressed. When the trigger switch 37 is not being pressed, in step 202 the watchdog timer WDT is cleared and operation returns to step 201.
In step 201 when it is detected that the trigger switch 37 is being pressed, then in step 203 a check is performed to determine whether there are any bullets 19 in the magazine 4. This check is performed by inputting a signal from the bullet-detection switch 41 to the microcomputer 49 and determining whether the signal is ON or OFF.
In step 203, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 204 and power to the motor 22 is turned OFF.
Next, operation advances to step 205, and after waiting a wait time of 20 ms, operation returns to step 101.
In step 203, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 206 and a check is performed to determine which of single-shot mode, repeating mode and N-shot mode is selected. This is executed by determining the switching state of a 3-contact selection switch (not shown in the figure). Depending on the determination result in step 206, the processing of step 207, 208 or 209 is executed. Step 207 is the processing of block S1 shown by the dashed line in
The operation flow shown in
With this seventh embodiment, ultimately it is possible to switch operation among single-shot mode, repeating mode or N-shot mode. Also, since the single-shot mode operation is based on the first embodiment, the repeating mode operation is based on the second embodiment and the N-repeating mode operation is based on the third embodiment, regardless of whether single-shot mode, repeating mode or N-shot mode is selected, operation ends by detecting the rotation reference position of the sector gear 25 and stopping. Therefore, it is possible to obtain the effect of the first thru fifth embodiments as well.
In the operation flow shown in
First, control starts in step 220, and then in step 221 a check is performed to determine whether the trigger switch 37 is being pressed. When the trigger switch 37 is not being pressed, then in step 222 the watchdog timer WDT is cleared and operation returns to step 221.
In step 221, when it is detected that the trigger switch 37 is being pressed, then in step 223 a check is performed to determine whether there are any bullets 19 in the magazine 4. This check is executed by inputting a signal from the bullet-detection switch 41 to the microcomputer 49 and determining whether the signal is ON or OFF.
In step 223, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 224 and the power to the motor 22 is turned OFF.
Next, operation advances to step 225, and after waiting a wait time of 20 ms, operation returns to step 221.
In step 223 when it is detected that there are bullets 19 in the magazine 4, operation advances to step 226 and determines whether the operation is single-shot mode or repeating mode/N-shot mode. This determination can be executed by using a selector switch as in
In step 226, when operation is determined to be single-shot mode, operation advances to step 227 and the processing block Si shown by the dashed line in
In step 226, when operation is determined to be repeating mode/N-shot mode, operation advances to step 228, and a check is performed to determine whether operation is repeating mode or N-shot mode. This check is performed by using the single-shot mode/repeating mode and single-shot mode/N-repeating mode switch 52 shown in
As in the case of the seventh embodiment, in this eighth embodiment operation flow is simplified so that processing of checking the ON/OFF state of the trigger switch 37 and checking whether there are any bullets 19 in the magazine 4, which is common with other embodiments, are lumped together and performed.
With this eighth embodiment, ultimately it is possible to switch operation among single-shot mode, repeating mode or N-shot mode. Also, since the single-shot mode operation is based on the first embodiment, the repeating mode operation is based on the second embodiment and the N-repeating mode operation is based on the third embodiment, regardless of whether single-shot mode, repeating mode or N-shot mode is selected, operation ends by detecting the rotation reference position of the sector gear 25 and stopping. Therefore, it is possible to obtain the effect of the first thru fifth embodiments as well.
FIGS. 18 to 20 show a ninth embodiment of control. Operation will be explained with reference to the drawings.
Control starts in step 240 shown in
Next, operation advances to step 242 and a check to determine whether the operation is single-shot mode/repeating mode, or single-shot mode/N-shot mode is performed. This check is performed by using the single-shot mode/repeating mode and single-shot mode/N-repeating mode switch 52, and having the microcomputer 49 determine the switching state.
In step 242, when operation is determined to be single-shot mode/repeating mode, operation advances to step 243 shown in
In step 243 when it is detected that the trigger switch 37 is being pressed, operation advances to step 245 and a check is performed to determine whether operation is single-shot mode or repeating mode. This check can be executed by inputting the switching state of the selector switch 51 to the microcomputer 49. In step 245, when it is determined that operation is single-shot mode, operation advances to step 246 and a check is performed to determine whether there are any bullets 19 in the magazine 4. This check is performed by inputting a signal from the bullet-detection switch 41 to the microcomputer 49, and determining whether the signal is ON or OFF. When there are bullets 19 in the magazine 4, the pressure member 42 for the bullet-detection switch pushes the bullet-detection switch 41 and turns the switch ON.
In step 246, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 249 and the power to the motor 22 is turned OFF.
Next, operation advances to step 248, and after waiting a wait time of 20 ms, operation returns to step 243.
In step 246, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 247. This step 247 indicates the single-shot mode process of block S1 shown by the dashed line in
In step 245, when operation is determined to be repeating mode, operation advances to step 250 and a check is performed to determine whether there are any bullets 19 in the magazine 4. In step 250, when it is detected that there are no bullets 19 in the magazine 4, operation advances to step 249 and the power to the motor 22 is turned OFF, after which operation advances to step 248, and after waiting a wait time of 20 ms, operation returns to step 243.
In step 250, when it is detected that there are bullets 19 in the magazine 4, operation advances to step 251. This step 251 is the repeating mode process of block C1 shown by the dashed line in
In
First, control starts in step 100, and in step 300 the value n1 of the counter C2 is reset to 0. Next, operation advances to step 101, and processing up to step 107 is the same as in the first embodiment shown in
In step 107, when the rotation reference position of the sector gear 25 is detected, operation advances to step 301. Here, 1 is added to the value n1 of the counter C2. In the case of single-shot mode, only one bullet 19 has been shot, so the value n1 of the counter C2 becomes n1=0+1.
Next, operation advances to step 108 and outputs a signal to turn the power to the motor 22 OFF. Passing steps 109, 110 and 105, operation returns to step 101.
Furthermore, when the trigger switch is ON, the operation described above is repeated, and 1 is further added to the value n1 of the counter C2 so that n1=1+1=2.
Each time the trigger switch 37 goes ON and a bullet 19 is shot, the value n1 of the counter C2 is counted up. In other words, after a bullet 19 is shot, correspondingly the value n1 of the counter C2 is counted up.
Similarly, in the case of repeating mode, it is possible to count the number of bullet 19 that have been shot. In other words, taking the counter to be C3 in the case of repeating mode, as shown in
Also, similarly, in the case of N-shot mode as well, it is possible to count the number of bullets that have been shot. In other words, by taking the counter in the case of N-shot mode to be C4, as shown in
The embodiment shown in
First, control starts in step 200, and in step 400 the values n1, n2 and n3 of the counters C2, C3 and C4 are reset to 0. Next, operation advances to step 201 and the process to step 406 is the same as in the seventh embodiment shown in
After passing the processing of steps 401 to 403, step 404 is executed. Step 404 calculates and displays the total of n1 to n3 that were counted by the counters C2 to C4 in steps 401 to 403. The display is not shown in the figure, however, it can be easily made using control technology that uses a normal microcomputer, for example a liquid-crystal display or the like can be used, and it is possible to use this liquid-crystal display to display the total value of the number of bullets 19 shot. In this embodiment, separate counters were used for single-shot mode, repeating mode and N-shot mode, making it possible to perform counting for single-shot mode, repeating mode and N-shot mode, respectively, however, it is also possible to perform counting using a common counter. In this case, regardless of the route, single-shot mode, repeating mode or N-shot mode passed, the total value for single-shot mode, repeating mode and N-shot mode is counted. Step 404 is not necessary in this case, and it is possible for step 400 to just reset the common counter.
Also, the count value described above counted the number of bullets 19 shot, however, by initially setting the number bullets 19 loaded and counting down as the bullets 19 are shot, it is possible to know how many bullets 19 are remaining. In this case, it is possible to input a numerical value, however, since the number of new bullets 19 in a magazine 4 is known, by detecting that value when a magazine is set, it is possible to automatically set that value as the initial value of the number of bullets 19. When the initial value is set, then the initial value when a new magazine 4 is set is stored in internal memory. Also, when it is desired to set an arbitrary value as the initial setting, it is possible to use key input for entering numerical values. This key input is not shown in the figures, however, could be easily formed by using control technology that uses a normal microcomputer.
In the tenth embodiment described above, the method of counting the number of bullets 19 shot was performed by having the photo detector count the number of times the rotation reference hole on the sector gear 25 passes, however, the means of counting is not limited to this. For example, it is possible to perform the same counting by counting the movement of the piston 12 or hammer that goes through one cycle in correspondence to the operation of shooting one bullet 19.
It is preferred that the ON/OFF state of the trigger switch 37, bullet-detection switch 41, selector switch 51 and single-shot mode/repeating mode and single-shot mode/N-repeating mode switch 52 explained in the various embodiments above be determined according to the fail-safe means, however it is not limited to this. The ON/OFF states can be opposite this, and what is important is that it be possible to determine the switch state.
Also, the electronic-control circuit and control flow are not limited to that explained above, and can be changed within the main scope of the invention.
Also, in the explanation above, a free run stop occurred after the rotation reference position of the sector gear 25 was detected. This means was used because inexpensive construction of the invention was taken into consideration, however if expensive construction is allowable, it is also possible to employ a servomotor as the means for positioning the sector gear 25.
Moreover, as mentioned above, it is possible for the value N in N-shot mode to be set to any arbitrary positive integer 2 or greater. The invention manufactured a gun with N as 3, however the invention is not limited to this.
This invention can be used in the place of a real gun for shooting practice or maintenance training. Also, it can be used as a model gun for a toy.
Moreover, with this invention, in any kind of shooting operation, it is possible to control the resting position of the rotating wheel (sector gear) and rack so they do not stop in the meshed state, and this makes it possible to improve reliability of the mechanical mechanism of the gun and to prevent degradation of the spring effect of the spring.
Furthermore, the rotating wheel (sector gear) and rack do not come to stop in a meshed state, so it is possible to easily open the inside of the gun and to perform maintenance easily.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP03/17055 | Dec 2003 | US |
Child | 11425742 | Jun 2006 | US |