The present disclosure relates to the technical field of toy gun accessories, and more particularly to a muzzle flash simulator and a light track generation method.
Currently, when playing Airsoft games, in order to simulate the muzzle flash effect of a real gun or to facilitate the observation of the flight trajectory of the projectile, a muzzle flash simulator for a toy gun is often used. The flash simulation source on the muzzle flash simulator is used to illuminate the flight trajectory of the projectile, or the ultraviolet lamp of a luminous charger is used to illuminate the luminous projectile that can absorb light energy, so that the luminous projectile continues to emit luminous light for a short period of time after leaving the luminous charger, thereby achieving the purpose of displaying the flight trajectory of the projectile.
However, traditional muzzle flash simulators usually have a single color and a single effect, and require the use of luminous projectile to produce a luminous effect, which is expensive.
Based on this, it is necessary to provide a muzzle flash simulator and a light track generation method to solve the above technical problems, so as to solve the problem in the existing technology that the light track has a single color and requires the use of luminous projectile to produce a luminous effect, thus leading to the problem of higher costs.
In order to achieve the above-mentioned purpose, the present disclosure provides a muzzle flash simulator configured to be installed at a muzzle of a toy air gun, and the muzzle flash simulator includes: a projectile channel provided inside the muzzle flash simulator, and the projectile channel coaxial with a flight trajectory of a projectile; a projectile sensor connected to a controller and configured to transmit a trigger signal to the controller when detecting the projectile passes through the projectile channel; in which the controller is preset to output at least two control signals that periodically change according to the trigger signal; and at least one group of flash simulation light sources connected to the controller, in which the at least one group of flash simulation light sources includes at least two light-emitting elements having different colors, and the light-emitting elements are configured to periodically emit lights having different colors to the projectile according to the control signals to form a light track.
In preferred embodiments, at least two projectile sensors are provided and configured to correspondingly transmit the trigger signals to the controller to trigger the controller to turn on control signals of different control channels, so as to correspondingly control turn on, turn off and luminous brightness of the light-emitting elements having different colors.
In preferred embodiments, the at least two projectile sensors are arranged in parallel in the projectile channel along a direction of the flight trajectory of the projectile, and a distance between adjacent projectile sensors is less than a predetermined distance threshold.
In preferred embodiments, at least two rows of projectile sensor group are provided in the projectile channel along an axis side of the flight trajectory of the projectile, and each of the at least two rows of projectile sensor group includes at least one projectile sensor.
In preferred embodiments, the controller includes: a signal generator circuit configured to output the at least two control signals that periodically change to correspondingly control turn on, turn off and luminous brightness of the light-emitting elements having different colors.
In preferred embodiments, a ratio of a positive voltage duration of the control signal to a period within a cycle is constant.
In preferred embodiments, the positive voltage duration is calculated by the following formula:
in which, T is the period, T is less than 0.1 seconds, n is a number of colors of the light-emitting element, and n is greater than 1.
In preferred embodiments, a phase difference between two adjacent control signals is calculated by the following formula:
in which, n is a number of colors of the light-emitting element, and n is greater than 1.
In order to achieve the above-mentioned purpose, the present disclosure further provides a light track generation method applied to the aforementioned muzzle flash simulator, including the following steps: generating, by the projectile sensor, the trigger signal when detecting the projectile passes through the projectile channel inside the muzzle flash simulator; receiving, by the controller, the trigger signal and outputting the at least two control signals that periodically change; and periodically emitting lights having different colors, by the light-emitting elements having different colors, to the projectile according to the control signals to generate a corresponding light track according to a flight trajectory of the projectile.
In preferred embodiments, multiple projectile sensors are provided, and the step of receiving, by the controller, the trigger signal and outputting the at least two control signals that periodically change includes: receiving, by the controller, the trigger signal transmitted by each of the multiple projectile sensors, triggering and opening different control channels according to the trigger signal transmitted by each of the multiple projectile sensors, and outputting corresponding control signals that periodically change through the different control channels to correspondingly control turn-on, turn-off and luminous brightness of the light-emitting elements having different colors.
In the present disclosure, the muzzle flash simulator and the light track generation method are provided. The muzzle flash simulator includes: the projectile channel provided inside the muzzle flash simulator, in which the projectile channel is coaxial with the flight trajectory of the projectile; the projectile sensor connected to the controller and configured to transmit the trigger signal to the controller when detecting the projectile passes through the projectile channel; in which the controller is preset to output the at least two control signals that periodically change according to the trigger signal; and the at least one group of flash simulation light sources connected to the controller, in which the at least one group of flash simulation light sources includes the at least two light-emitting elements having different colors, and the light-emitting elements are configured to periodically emit lights having different colors to the projectile according to the control signals to form a light track. The projectile passing through the projectile channel is detected by the projectile sensor, and when detecting the projectile passes through the projectile channel, the trigger signal is generated. After receiving the trigger signal, the controller generates periodically changing multi-channel signal waveforms by setting the period, phase difference and positive voltage duration of adjacent control signals, which is used to control the light-emitting elements having various colors to produce mixed colorful effects. Therefore, a control software can be simplified and requirements for controller performance can be reduced.
In order to explain the embodiments of the present disclosure or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present disclosure.
In one embodiment, as shown in
The toy air gun 1 can be one of a toy gun, a BB gun, a foam dart blaster, a gel ball gun, an air BB gun, an airsoft gun, and a paintball gun.
The muzzle flash simulator 2 can adopt a shape of muzzle accessories such as a flash hider, a suppressor, a muzzle brake or a silencer. The muzzle flash simulator 2 can be detachably connected to the muzzle of the toy air gun 1, that is, an end of a barrel. For example, the muzzle flash simulator 2 can be detachably connected to the muzzle of the toy air gun 1 through buckles, threaded connections, etc., so that replacement and maintenance can be made at any time.
The controller 7 can be a PCB control circuit board, on which is provided a control chip such as a MCU and a single-chip microcomputer, and is configured with a corresponding control circuit to achieve electrical connection with the flash simulation light source 8 and the projectile sensor 6, and can control luminous brightness, color, turn-on and turn-off of the flash simulation light source 8 through the control chip.
The projectile sensor 6 can be a Hall switch sensor, an infrared sensor, etc.
The flash simulation light source 8 can be used to generate lights having different colors, and the lights periodically change the color under the control of the controller 7. The flash simulation light source 8 can illuminate the projectile 4 away from the muzzle flash simulator 2 and flying along the flight trajectory 5, and uses a surface of the projectile 4 to reflect the lights having different colors into a human eye, causing richly colored light tracks 3 in the air due to a visual residual effect of the human eye.
In an implementation scenario, the muzzle flash simulator 2 is connected to the muzzle of the toy air gun and is located at the end of the barrel. The projectile channel 9 inside the muzzle flash simulator 2 is coaxial with the barrel. When the toy air gun 1 is launched, the projectile 4 passes through the projectile channel 9 and flies outward. The projectile sensor 6 detects the projectile 4 and transmits the trigger signal. Then the projectile 4 moves away from the projectile channel 9. At this time, when the controller 7 receives the trigger signal from the projectile sensor 6, the controller 7 can activate the control channel to generate the control signal. Under the control of the control signal, different light-emitting elements correspondingly generate strong light to illuminate the projectile 4 away from the projectile channel 9, the strong light is reflected into the human eye through the surface of the projectile 4, and the human eye will observe the flight trajectory of the projectile 4 in the air. Since the control signal generated by the controller 7 changes periodically, the luminous effects of the light-emitting elements having different colors change periodically under the control of the control signal while the projectile 4 is flying, and the color of the flight trajectory of the projectile 4 also changes accordingly. Due to the visual residual effect of the human eye, when the period of the control signal generated by the controller 7 is less than the residual time of the human eye's vision, the human eye will simultaneously observe a long light track in the air consisting of small light tracks of different colors connected in series, as if a rainbow.
In an embodiment of the present disclosure, at least two projectile sensors 6 are provided, which are used to correspondingly transmit the trigger signals to the controller 7. The trigger controller 8 is used to turn on the control signals of different control channels to control turn-on, turn-off and luminous brightness of the light-emitting elements having different colors. Reference is made to
It can be understood that a number of the projectile sensor 6 is the same as a number of the light-emitting element, and the number of the projectile sensor 6 is the same as a number of control signal output by different control channels of the controller 7.
As shown in
In an implementation scenario, the muzzle flash simulator 2 is connected to the muzzle of the toy air gun and is located at the end of the barrel. The projectile channel 9 inside the muzzle flash simulator 2 is coaxial with the barrel. When the toy air gun is launched, the projectile 4 is launched through the projectile channel, and multiple projectile sensors 6 are triggered one by one, then the projectile 4 moves away from the projectile channel. When the controller 7 receives the trigger signal of each projectile sensor 6, it generates a corresponding control signal according to the trigger signal, the light-emitting elements having different colors correspondingly generate a strong light under a control of the control signals transmitted by different control channels and illuminate the projectile 4 away from the projectile channel 9, the strong light is reflected into the human eye through the surface of the projectile 4, and the human eye will observe the flight trajectory of the projectile in the air. Since the projectile 4 flies fast enough, the time interval between the projectile 4 passing through the surfaces of the plurality of projectile sensors 6 and the delay time between triggering different sensors are short enough, almost as if the plurality of projectile sensors 6 are triggered at the same time, such that the control signals of multiple different channels are almost turned on at the same time. Since the control signals of different channels can control the light-emitting elements having different colors respectively, and the control signals generated by the controller 7 change periodically, the luminous effects of the light-emitting elements having different colors change periodically under the control of the control signal while the projectile 4 is flying, and the color of the flight trajectory of the projectile 4 also changes accordingly. Due to the visual residual effect of the human eye, when the period of the control signal generated by the controller 7 is less than the residual time of the human eye's vision, the human eye will simultaneously observe a long light track in the air consisting of small light tracks of different colors connected in series, as if a rainbow.
Referring to
In an embodiment of the present disclosure, when the multiple projectile sensors 6 are provided, at least two rows of projectile sensor group are provided on the axis side along the flight trajectory of the projectile 4 in the projectile channel 9, and each row of projectile sensor group has at least one projectile sensor 6, for example, on the inner wall of an axis side of the projectile channel 9. For example, when the number of projectile sensors in the projectile sensor group is the same, two rows of projectile sensor group can be arranged oppositely on upper and lower sides or front and rear sides of the projectile channel 9 or the two rows of projectile sensor group can be arranged oppositely. The projectile sensor group in the rows are arranged at a certain distance from each other, and in order to make the time when the projectile sensor group in the two rows detect the projectile 4 similar or the same, the projectile sensors in the projectile sensor group in the two rows can be arranged at equidistant distances, for example, the location is the same distance from the muzzle of the gun. By arranging the projectile sensor 6 on the inner wall of the projectile channel 9, the projectile 4 passing through the projectile channel 9 can be detected, and a block of the flight trajectory of the projectile 4 can be avoided. For example, when the projectile sensors 6 include the projectile sensor 6-1 and the projectile sensor 6-2, the projectile sensor 6-1 and the projectile sensor 6-2 can be relatively arranged on the upper and lower sides or the front and rear sides of the projectile channel 9. When the projectile 4 passes through the projectile channel, the projectile sensor 6-1 and the projectile sensor 6-2 can be triggered at the same time, and generate the trigger signals respectively to control different light-emitting elements to emit light through the controller 7.
It can be understood that the number of projectile sensors in each row of projectile sensor group can be different. For example, when the first row of projectile sensor group includes two projectile sensors and the second row of projectile sensor group includes one projectile sensor, taking the projectile sensor 6-1, the projectile sensor 6-2 and the projectile 6-3 as an example, two projectile sensors 6 can be provided on the upper side of the inner wall of the projectile channel 9 and one projectile sensor 6 can be provided on the lower side, or two projectile sensors 6 can be provided on the lower side and one projectile sensor 6 can be provided on the upper side. Alternatively, two projectile sensors 6 are provided on the front side of the projectile channel 9 and one projectile sensor 6 is provided on the rear side, or two projectile sensors 6 are provided on the rear side and one projectile sensor 6 is provided on the front side. Alternatively, the two rows of projectile sensor group may be arranged in parallel on the inner wall of the axis side of the projectile channel 9 or the like.
The front and rear sides refer to left and right sides of the projectile's flight trajectory, and the upper and lower sides refer to upper and lower sides of the projectile's flight trajectory.
In an implementation scenario of the present disclosure, when the projectile sensor group includes multiple rows, such as 4 rows or 8 rows, and each row includes the same number of projectile sensors 6, the projectile sensors 6 can be arranged equidistantly around the inner wall of the projectile channel 9. Since the distance of each projectile sensor 6 is the same, the time it takes to detect the projectile 4 is almost the same, so that the light-emitting element emits strong light to the projectile almost simultaneously.
In the embodiments of the present disclosure, the flash simulation light source 8 includes at least one group, and each group of the flash simulation light sources 8 can include at least two light-emitting elements disposed at the front end of the muzzle flash simulator 2, that is, close to one end of the gun and located outside the projectile channel 9. Reference is made to
The light-emitting element can be a light-emitting diode.
In the embodiments of the present disclosure, the controller 7 includes: a signal generator circuit configured to output the at least two control signals that periodically change and correspondingly used to control the luminous brightness, turn-on and turn-off of the light-emitting elements having different colors. For example, the light-emitting elements include the first color light-emitting element 8-1 and the second color light-emitting element 8-2, and the control signals include a first control signal and a second control signal, then the first control signal can be used to control luminous brightness, turn-on and turn-off of the first color light-emitting element 8-1, and the second control signal can be used to control luminous brightness, turn-on and turn-off of the second color light-emitting element 8-2.
It can be understood that the light-emitting elements may include at least two light-emitting elements having different colors. The greater number of light sources results in the greater illumination brightness. Further, the greater variety of colors of the light-emitting elements result in mixed colorful colors.
The output signal form of the control signal may be one or any combination of a rectangular wave, a triangular wave or a sine wave. The number of control signals is equal to the number of color types of the light-emitting elements.
The signal generator circuit can be a digital signal generator circuit or an analog signal generator circuit, which can be used to output at least two control signals that periodically change to correspondingly control the luminous brightness, turn-on and turn-off of the light-emitting elements having different colors.
In an embodiment of the present disclosure, the control signal output by the controller 7 changes periodically. Preferably, when the controller 7 generates n control signals, each control signal adopts the same signal period. For example, a period of the first control signal is equal to a period of the second control signal, the period of the second control signal is equal to a period of the third control signal . . . , a period of the n−1th control signal is equal to a period of the nth control signal, and n is a positive integer.
In an embodiment of the present disclosure, the control signal output by the controller 7 has a constant ratio between the positive voltage duration and the period within a cycle, that is, the positive voltage duration/T is constant. Preferably, the following formula is used to calculate the duration of the positive voltage: 3T/2n, where T is the period. Since the residual time is less than 0.1 to 0.4 seconds for human vision, T can be set to less than 0.1 seconds, n is the number of colors of the light-emitting element, and n is greater than 1.
In an embodiment of the present disclosure, a phase difference between two adjacent control signals of the control signal output by the controller 7 is between 0 and 180°, 180° is included, and can be calculated using the following formula: 360°/n, where n is the number of colors of the light-emitting elements, and n is greater than 1.
It can be understood that when the controller 7 generates n control signals, a phase difference between each adjacent control signal can be 360°/n. For example, a phase difference between the second control signal and the first control signal is 360°/n, a phase difference between the third control signal and the second control signal is 360°/n . . . , a phase difference between the nth control signal and the n−1th control signal is 360°/n, and n is a positive integer.
Since the visual residual time of the human eye is 0.1 seconds to 0.4 seconds, when the control signal period T is less than a lower limit of the human visual residual time, i.e., 0.1 seconds, the human eye can observe the regular luminous effect produced by the muzzle flame simulator within a complete control signal period T.
In an embodiment of the present disclosure, referring to
When the control signal can be a rectangular wave signal, the signal voltage has only two values, and the controlled light-emitting elements have only two light-emitting states.
As a preferred embodiment, the control signal can be a triangular wave signal or a sine wave signal. The voltages of the two signals will continue to change with time, so an infinite number of voltages can be generated, and the light-emitting states of the controlled light-emitting elements are countless. There are countless color combinations after mixing the light-emitting elements having different colors, and the colors of the light tracks produced are more colorful.
Reference is made to
Referring to
Referring to
In the embodiments of the present disclosure, by setting up a variety of light-emitting elements having different colors and emitting light having different brightness and colors to the projectile under the control of the controller, since the control signal generated by the controller changes periodically, the luminous effects of the light-emitting elements having different colors are reflected in the projectile while the projectile is flying, and the color of the projectile's flight trajectory also changes accordingly. Due to the visual residual effect of the human eye, when the period in which the controller generates the control signal is less than the visual residual time of the human eye, the human eye will simultaneously observe a long light track in the air consisting of small segments of light tracks having different colors connected in series, as if a rainbow. The control software can be simplified, the requirements for controller performance can be reduced, and there is no need to use a luminous projectile, which can reduce costs.
Each module in the above-mentioned muzzle flash simulator can be partially implemented through software, hardware and combinations thereof. Each of the above modules can be embedded in the processor of the computer device in the form of hardware or independent of it, and can be stored in the memory of the computer device in the form of software, so that the processor can invocate and execute the operations corresponding to the above modules.
Reference is made to
In the embodiments of the present disclosure, the projectile channel is detected in real time through the preset projectile sensor. When detecting the projectile passes through the projectile channel, the trigger signals are sent to the controller. At this time, the controller generates the at least two signals through the signal generator circuit. The light-emitting elements generate strong light under the control of the control signal and shines on the projectile flying away from the projectile channel. The strong light is reflected to the human eye through the surface of the projectile. The human eye will observe the flight trajectory of the projectile in the air. Since the control signals generated by the controller change periodically, the luminous effects of the light-emitting elements having different colors change periodically under the control of the control signal while the projectile is flying, and the color of the projectile's flight trajectory also changes accordingly. Due to the visual residual effect of the human eye, when the period in which the controller generates the control signals is less than the visual residual time of the human eye, the human eye will simultaneously observe a long light track in the air consisting of small segments of light tracks having different colors connected in series, as if a rainbow.
In the embodiments of the present disclosure, at least two control signals that periodically change being output according to the trigger signals include: presetting the period, phase difference and positive voltage duration of the control signal to generate and output the at least two control signals that periodically change according to the trigger signals.
Specifically, different types of toy air guns, as well as different types of projectile, lead to different flight trajectories of projectile. For example, flight height, flight length, flight arc, etc. are different. Therefore, when configuring the control signal, the type of toy air gun and the type of projectile launched can be obtained and used to configure the corresponding period, phase difference and positive voltage duration so that the light track can meet the flight trajectories of different projectiles.
In an embodiment of the present disclosure, of the multiple projectile sensors are provided, and the steps of the controller receiving the trigger signal and outputting at least two control signals that periodically change includes: the controller receiving different trigger signals transmitted by each of the multiple projectile sensors, and triggering and opening different control channels according to the different trigger signals for outputting corresponding control signals that periodically change to correspondingly control turn-on, turn-off and luminous brightness of the light-emitting elements having different colors.
Specifically, the projectile sensor may include one or more. When the number of projectile sensor is one and the projectile sensor detects the passage of the projectile, the projectile sensor can generate the trigger signal and transmit the trigger signal to the controller. The controller can generate the control signal according to the trigger signal, and control the light-emitting elements to periodically emit light having different colors based on the control signal. When the multiple projectile sensors are provided and the projectile passes through, each projectile sensor can detect the projectile and correspondingly generate the trigger signal, and transmit the trigger signal to the controller. At this time, the controller opens different control channels based on the plurality of trigger signals, and transmits different control signals to different light-emitting elements through the different control channels to control the different light-emitting elements to output periodically changing light to form an approximate rainbow light track 3.
In the embodiments of the present disclosure, by arranging the light-emitting elements having different colors and emitting light having different intensities and colors to the projectile under the control of the controller, since the control signal generated by the controller 7 changes periodically, the luminous effects of the light-emitting elements having different colors change periodically under the control of the control signals while the projectile is flying, and the color of the flight trajectory of the projectile also changes accordingly. Due to the visual residual effect of the human eye, when the period of the control signal generated by the controller 7 is less than the visual residual time of the human eye, the human eye will simultaneously observe a long light track in the air consisting of small light tracks having different colors connected in series, as if a rainbow. The control software is simplified, the requirements for controller performance are reduced, and there is no need to use luminous projectile, which can reduce costs.
It should be understood that the sequence number of each step in the above embodiment does not mean the order of execution. The execution order of each process should be determined by its function and projectile logic, and should not constitute any limitation on the implementation process of the embodiment of the present disclosure.
Those skilled in the art can clearly understand that for the convenience and simplicity of description, it is only exemplified in terms of the functional units and modules mentioned above. In actual applications, the above functions can be allocated to different functional units and modules according to needs. Module completion means dividing the projectile structure of the device into different functional units or modules to complete all or part of the functions described above.
The above-described embodiments are only used to illustrate the technical solutions of the present disclosure, but not to limit thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still implement the above-mentioned implementations. The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of each embodiment of the present disclosure, and should be included in within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202310613377.3 | May 2023 | CN | national |
202311426705.5 | Oct 2023 | CN | national |