This application claims priority under 35 U.S.C. § 119(a) to and the benefit of Chinese Patent Application No. 202310613377.3, filed May 27, 2023, the entire disclosure of which is incorporated herein by reference.
This disclosure relates to the field of toy gun fittings, and in particular to a muzzle flame simulator and a method for generating a light trail.
At present, in an airsoft survival game/wargame, in order to simulate a muzzle flame effect of a real gun or to facilitate observation of a projectile flight trajectory, a muzzle flame simulator for a toy gun is often used to light up the projectile flight trajectory by a simulating flame light source on the muzzle flame simulator, or a tracer charger is used to light up by an ultraviolet lamp a tracer projectile that can absorb light energy such that the tracer projectile up can continue to glow for a while after the tracer projectile leaves the tracer charger, so as to achieve the purpose of displaying the projectile flight trajectory.
However, the traditional muzzle flame simulator usually has a single color with a single effect and requires the use of the tracer projectile to produce a luminous effect, which is costly.
In a first aspect, a muzzle flame simulator is provided. The muzzle flame simulator is installed at a muzzle of a toy air gun. The muzzle flame simulator includes a projectile passage, a projectile sensor, a controller, and at least one simulating flame light source. The projectile passage is disposed inside the muzzle flame simulator and coaxial with a projectile flight trajectory. The projectile sensor is coupled to a controller and configured to send a trigger signal to the controller in response to detecting a projectile passing through the projectile passage. The controller includes a signal generator circuit, the signal generator circuit is configured to output at least two preset periodically changing control signals, and the at least two preset periodically changing control signals are respectively configured to control brightness, an on state, and an off state of at least two illuminating components with different colors. The signal generator circuit is a digital signal generator circuit or an analog signal generator circuit. The at least one simulating flame light source is coupled to the controller, where the at least one simulating flame light source each includes the at least two illuminating components with different colors. The at least two illuminating components are configured to periodically emit light of different colors and different intensities to the projectile based on the control signals, the light of different colors and different intensities are used to form a corresponding light trail based on a projectile flight trajectory. The controller is configured to start the signal generator circuit in response to detecting the trigger signal sent by the projectile sensor to enable the signal generator circuit to output the at least two preset periodically changing control signals and further enable the at least two illuminating components with different colors periodically emit light of different colors and intensities to the projectile based on the control signals.
In a second aspect, a method for generating a light trail is provided. The method for generating the light trail is applicable to a muzzle flame simulator. The muzzle flame simulator is installed at a muzzle of a toy air gun. The muzzle flame simulator includes a projectile passage, a projectile sensor, a controller, and at least one simulating flame light source. The projectile passage is disposed inside the muzzle flame simulator and coaxial with a projectile flight trajectory. The projectile sensor is coupled to a controller and configured to send a trigger signal to the controller in response to detecting a projectile passing through the projectile passage. The controller includes a signal generator circuit, the signal generator circuit is configured to output at least two preset periodically changing control signals, and the at least two preset periodically changing control signals are respectively configured to control brightness, an on state, and an off state of at least two illuminating components with different colors. The signal generator circuit is a digital signal generator circuit or an analog signal generator circuit. The at least one simulating flame light source is coupled to the controller, where the at least one simulating flame light source each includes the at least two illuminating components with different colors. The at least two illuminating components are configured to periodically emit light of different colors and different intensities to the projectile based on the control signals, the light of different colors and different intensities are used to form a corresponding light trail based on a projectile flight trajectory. The controller is configured to start the signal generator circuit in response to detecting the trigger signal sent by the projectile sensor to enable the signal generator circuit to output the at least two preset periodically changing control signals and further enable the at least two illuminating components with different colors periodically emit light of different colors and intensities to the projectile based on the control signals. The method for generating the light trail includes: generating, by the projectile sensor, a trigger signal in response to detecting a projectile passing through a projectile passage inside the muzzle flame simulator; stating the signal generator circuit in response to detecting, by the controller, the trigger signal sent by the projectile sensor, to output at least two preset periodically changing control signals, where the at least two preset periodically changing control signals are respectively configured to control brightness, an on state, and an off state of the at least two illuminating components with different colors; and the signal generator circuit is a digital signal generator circuit or an analog signal generator circuit; and periodically emitting, by the at least two illuminating components with different colors of each of the at least one simulating flame, light of different colors and intensities to the projectile based on the control signals, to form a corresponding light trail based on a projectile flight trajectory.
In order to describe technical solutions in implementations of the disclosure more clearly, the following will give a brief introduction to the accompanying drawings required for describing implementations. Apparently, the accompanying drawings hereinafter described are merely some implementations of the disclosure. Based on these drawings, those of ordinary skill in the art can also obtain other drawings without creative effort.
The following will clearly and accurately illustrate technical solutions for implementations of the present disclosure with reference to accompanying drawings of implementations of the present disclosure. Apparently, implementations described herein are merely some implementations, rather than all implementations, of the disclosure. Based on the implementations of the disclosure, all other implementations obtained by those of ordinary skill in the art without creative effort shall fall within the protection scope of the disclosure.
In an implementation, as illustrated in
The toy air gun 1 may be one of a toy gun, a ball bullet (BB) gun, a foam dart blaster, a gel ball blaster, an air BB gun, a soft-air gun, or a paintball gun.
The muzzle flame simulator 2 may adopt a shape of a muzzle fitting such as a flash hider, a suppressor, a muzzle brake, or a silencer. The muzzle flame simulator 2 can be detachably connected to the muzzle, namely, an end of the barrel, of the toy air gun 1, for example, by means of clips, threaded connections, or the like, so as to allow for replacement and maintenance at any time.
The controller may be a printed circuit board (PCB) control circuit board, on which a control chip such as a microcontroller unit (MCU) and a single-chip microcomputer is arranged and configured with a corresponding control circuit. The controller is electrically connected with the simulating flame light source 8 and the projectile sensor 6, and may be able to control brightness, an on state, and an off state of the simulating flame light source 8 through the control chip.
The projectile sensor 6 may be a laser sensor, an optical fiber sensor, a thermal sensor, or the like.
In implementations of the present disclosure, the simulating flame light source 8 is configured to generate light of different colors, to periodically change the color of light under the control of the controller 7, and to illuminate light on the projectile 4 which is away from the muzzle flame simulator 2 and passes along the flight trajectory 5. Light of different colors is reflected into human eyes by the surface of the projectile 4. In this way, the light trail 3 with different colors can be obtained by an afterimage phenomenon on eyes.
The muzzle flame simulator 2 includes at least one simulating flame light source 8 which may be disposed at the front end of the muzzle flame simulator 2, namely, the end close to the muzzle, and is disposed outside a projectile passage 9. Refer to
The illuminating component may be a light-emitting diode (LED).
In implementations of the present disclosure, the controller 7 includes a signal generator circuit configured to output the at least two periodically changing control signals which are respectively configured to control brightness, an on state, and an off state of illuminating components with different colors. For example, the illuminating components include a first color illuminating component 8-1 and a second color illuminating component 8-2. The control signals include a first control signal and a second control signal. The first control signal is configured to the brightness, an on state, and an off state of the first color illuminating component 8-1. The second control signal is configured to the brightness, an on state, and an off state of the second color illuminating component 8-2.
It can be understood that the illuminating components may include at least two illuminating components with different colors. If the number of illuminating components is greater and the illumination brightness is greater, and if the number of colors of illuminating components is be greater, a combined colors effect will be richer.
The control signal may have a waveform of any 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 colors of illuminating components.
In an implementation scenario, when the toy air gun 1 is triggered, the projectile 4 is shoot to pass through the projectile passage 9, the projectile sensor 6 is triggered, then the projectile 4 is away from the projectile passage. When the controller 7 receives a trigger signal from the projectile sensor 6, control signals are generated by the signal generator circuit. Under the control of the control signals, illuminating components illuminate strong light on the projectile 4 away from the projectile passage 9. The strong light is reflected into human eyes by the surface of the projectile 4. In this way, the projectile light trajectory can be seen in the air. Since the control signals generated by the controller 7 change periodically, the luminous effect of illuminating components with different colors changes periodically under the control of the control signals while the projectile is flying, and the color of the projectile light trajectory also changes correspondingly. Due to the afterimage phenomenon on eyes, when a period of the control signal generated by the controller 7 is less than time of afterimage phenomenon on eyes, human can observe a long light trail consisting of small segments of different colors in series in the air, just like a rainbow.
The signal generator circuit may be a digital signal generator circuit or an analog signal generator circuit, which is configured to send at least two periodically changing control signals respectively configured to control brightness, an on state, and an off state of illuminating components with different colors. Control signals each periodically change and are output by a digital signal generator circuit or the analog signal generator circuit, which can be implemented more easily and save storage space compared with a technical solution implemented through more software instructions. The signal generator circuit is predesigned to at least two periodically changing control signals. When the controller 7 detects the trigger signal sent by the projectile sensor 6, the controller 7 starts the signal generator circuit, and the signal generator circuit output at least two preset periodically changing control signals according to presettings.
In an implementation of the present disclosure, control signals output by the controller 7 change periodically. Exemplarily, when the controller 7 generates n control signals, the n control signals adopt the same signal period, for example, a period of the first control signal is equal to a period of the second control signal, a period of the second control signal is equal to a period of the third control signal, or the like, and a period of the (n−1)-th control signal is equal to a period of the nth control signal, where n is a positive integer.
In an implementation of the present disclosure, a proportion of a positive voltage duration to a period of the control signal remains constant in one period, namely, a positive voltage duration/T is constant.
Exemplarily, the positive voltage duration is calculated by a following formula:
3T/2n
In an implementation of the present disclosure, two adjacent control signals generated by the controller 7 have a phase difference between 0 and 180°, including 180°. These phase difference may be calculated by a following formula:
It can be understood that, when the controller 7 generates n control signals, the phase difference between every two adjacent control signals may all be
for example, the phase difference between the second control signal and the first control signal is
the phase difference between the third control signal and the second control signal is
or the like, and the phase difference between the nth control signal and the (n−1)-th control signal is
where n is a positive integer.
Since the time of the afterimage phenomenon on eyes is 0.1 to 0.4 seconds, when a period T of the control signal is less than the minimum time of the afterimage phenomenon on eyes, namely 0.1 seconds, human can observe the luminous effect generated by the muzzle flame simulator based on a rule in a period T of the control signal.
Referring to
When the control signal may be the rectangular wave signal, the signal voltage has only two values, and the illuminating component controlled by the control signal has only two luminous states.
As an exemplary implementation, the control signal may be the triangular wave signal or the sine wave signal. The voltages of these two signals may change continuously over time, and countless voltage values can be generated. Therefore, the illuminating component controlled has countless luminous states. A color combination after mixing different colors of illuminating components is also countless, thus generating a more colorful light trail.
Referring to
the principle that the number of control signals is equal to the number of colors of illuminating components, and n being equal to 3, it can be calculated that the positive voltage durations of the control signal 7-1, the control signal 7-2, and the control signal 7-3 each are T/2, and the phase differences of the control signal 7-1, the control signal 7-2, and the control signal 7-3 each are 120°. Specifically, the phase difference between the control signal 7-2 and the control signal 7-1 is 120° and the positive voltage duration period of the control signal 7-1 is 0 to 3T/6T. The phase difference between the control signal 7-3 and the control signal 7-2 is 120° and the positive voltage duration period of the control signal 7-2 is 2T/6 to 5T/6. The phase difference between the control signal 7-1 and the control signal 7-3 is 120° and the positive voltage duration period of the control signal 7-3 is 4T/6 to T/6 in the next period.
Referring to
Referring to
In the present disclosure, by arranging multiple illuminating components with different colors, the multiple illuminating components emit light with different colors and intensities to the projectile under the control of the controller. Since the control signals generated by the controller changes periodically, luminous effects of illuminating components with different colors change periodically under the control of the control signals while the projectile is flying, and the color of the projectile light trajectory also changes with time. Due to the afterimage phenomenon on eyes, when a period of the control signal generated by the controller is less than the time of afterimage phenomenon on eyes, human can simultaneously observe a long light trail consisting of small segments of different colors in series in the air, just like a rainbow, thus simplifying a control software, reducing the requirements for the controller performance, and reducing costs without using the tracer projectile.
Each module of the muzzle flame stimulator may be implemented wholly or partly by software, hardware, and combinations thereof. Each module may be embedded in or independent of a processor of the electronic device in the form of hardware or may be stored in a memory of the electronic device in the form of software so that the processor invokes the operations corresponding to the above modules.
Referring to
At S110, a trigger signal is generated in response to detecting a projectile passing through a projectile passage inside the muzzle flame simulator.
At S120, a signal generator circuit is started based on the trigger signal, and at least two preset periodically changing control signals are output by the signal generator circuit.
The signal generator circuit is configured, in advance, as a circuit that can output the at least two preset periodically changing control signals. When the controller detects the trigger signal sent by the projectile sensor, the controller starts the signal generator circuit, and the signal generator circuit output at least two preset periodically changing control signals according to presetting.
At S130, light of different colors and intensities is periodically emitted to the projectile based on the control signals, so as to form a corresponding light trail based on a projectile flight trajectory.
In implementations of the present disclosure, the pre-set projectile sensor is configured to detect the projectile passage in real-time and send the trigger signal to the controller in response to detecting a projectile passing through the projectile passage. At the same time, the controller outputs at least two periodically changing control signals by the signal generator circuit. Under the control of the control signals, illuminating components illuminate strong light on the projectile away from the projectile passage. The strong light is reflected into human eyes by the surface of the projectile. In this way, the projectile light trajectory can be seen in the air. Since the control signals generated by the controller each change periodically, the luminous effect of illuminating components with different colors changes periodically under the control of the control signals while the projectile is flying, and the color of the projectile light trajectory also changes with time. Due to the afterimage phenomenon on eyes, when a period of the control signal generated by the controller is less than the time of afterimage phenomenon on eyes, human can simultaneously observe a long light trail of a small segment of different colors in series in the air, just like a rainbow.
In implementations of the present disclosure, at least two periodically changing control signals are output based on the trigger signal, including that periods, phase differences, and positive voltage durations of the control signals are configured based on the trigger signal, so as to generate and output at least two periodically changing control signals.
Specifically, different types of toy air guns and different types of projectiles may result in different projectile flight trajectories, for example, the difference in flight height, flight length, flight arc, or the like. Therefore, when control signals are configured, types of toy air guns and types of projectiles can be obtained, and the periods, phase differences, and positive voltage durations are configured correspondingly so that the light trail can have different flight trajectories adapted to different projectiles.
In the present disclosure, by arranging multiple illuminating components with different colors, the multiple illuminating components with different colors emit light with different colors and intensities to the projectile under the control of the controller. Since the control signals generated by the controller each change periodically, the luminous effect of illuminating components with different colors changes periodically under the control of the control signal while the projectile is flying, and the color of the projectile light trajectory also changes with time. Due to the afterimage phenomenon on eyes, when a period of the control signal generated by the controller is less than the time of afterimage phenomenon on eyes, human can simultaneously observe a long light trail consisting of a small segment of different colors in series in the air, just like a rainbow, thus simplifying a control software, reducing the requirements for the controller performance, and reducing costs without using the tracer projectile.
It should be understood that, in various implementations described herein, the magnitude of a sequence number of each step does not mean an order of execution, and the order of execution of each process should be determined by its function and internal logic and shall not constitute any limitation to an implementation process of implementations.
It will be evident to those skilled in the art that, for the sake of convenience and simplicity, the above division of functional units and modules described herein is just illustrative. In an actual implementation, the foregoing functions may be allocated to and implemented by different functional units and modules according to actual needs. In other words, an internal structure of the apparatus is divided into different functional units or modules to implement all or a part of the functions described herein.
The above implementations are only used for illustrating technical solutions of the disclosure and are not intended to limit technical solutions of the disclosure. Although the present disclosure is described in detail with reference to the foregoing implementations, those skilled in the art should understand that they may still make modifications to technical solutions described in the foregoing implementations or make equivalent replacements to some technical features described in the foregoing implementations. Any modifications or replacements made within the spirit and scope of the disclosure shall also fall within the protection scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202310613377.3 | May 2023 | CN | national |