Multi-turntable intelligent sampling logic control and light synchronous control method
By combining optocoupler sensors and MCU control chips, the lighting synchronization control of the game turntable is realized, which solves the problem of insufficient lighting functions of existing turntables, improves user experience and reduces power consumption.
Patent Information
- Application Number
- CN202410562712.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2025-11-11
AI Technical Summary
The existing game wheel lacks effective lighting assistance, which fails to improve the user experience.
The system employs a multi-disc intelligent sampling logic control and lighting synchronization control method. It uses optocoupler sensors to detect the status of the discs and generates control signals through an MCU control chip to control the on/off mode of the LED light strips, thereby achieving accurate positioning and independent control of the disc positions.
It achieves accurate positioning and independent control of the turntable, with the lights synchronized with the turntable's movement, reducing power consumption and improving the user experience.
Smart Images

Figure CN120935898A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of turntable lighting control, and more particularly to a method for multi-turntable intelligent sampling logic control and lighting synchronization control. Background Technology
[0002] With the continuous progress of the times, people's entertainment methods have undergone tremendous changes, and many novel entertainment methods are constantly enriching people's spiritual world. In the past, people mostly relaxed through entertainment such as dance, comedy, or concerts, but with the development of technology, many intelligent entertainment products are also being produced. Online, people can enjoy music, watch movies, or play games to relax through computers and mobile phones. There are also VR virtual reality and AR augmented reality devices that allow people to immerse themselves in games and experience realistic game interaction scenarios. Offline, there are many intelligent entertainment devices, such as automated mahjong machines, which enhance people's entertainment and portability.
[0003] As an emerging entertainment toy, the game wheel requires two or more users to play together. There are various ways to play. For example, multiple numbers can be set on the wheel, and after each user spins the wheel, the numbers that land on a designated spot are compared, or a random number can be designated as a "number bomb." If the user lands on the designated number, the game is considered lost. Depending on the number of wheels and the numbers on them, a variety of ways to play can be created. However, currently, most game wheels only have simple lighting decorations and cannot provide any practical and effective assistance or improve the user experience. Summary of the Invention
[0004] To address the shortcomings of the aforementioned technologies, where lighting cannot provide effective assistance, this invention provides a method for multi-disc intelligent sampling logic control and lighting synchronization control.
[0005] To achieve the above objectives, the present invention provides a method for multi-disc intelligent sampling logic control and lighting synchronization control, characterized in that it includes: The detection module detects whether the turntable is in working condition and generates the corresponding acquisition signal. The control module responds to the acquired signals and generates control signals; The lighting module receives control signals and displays or turns off the lights according to the corresponding control signals.
[0006] As a novel technical solution of the present invention, the detection module includes a first optocoupler sensor and a second optocoupler sensor, the control module includes an MCU control chip and a sensor power management circuit, and the lighting module includes a turntable positioning indicator circuit, a light strip ring control circuit, a lighting interface, and LED lights.
[0007] As a new technical solution of the present invention, one end of the first optocoupler sensor is coupled to the battery BAT2+, and the other end is connected to ground and the first detection and acquisition pin of the MCU control chip. One end of the second optocoupler sensor is coupled to the battery BAT3+, and the other end is connected to the second detection and acquisition pin of the MCU control chip.
[0008] As a novel technical solution of the present invention, the sensor power management circuit includes a first MOSFET and a second MOSFET. One end of the first MOSFET is coupled to the battery BAT2+, and the other end is coupled to the battery BAT1+ and the control signal pin of the MCU control chip. One end of the second MOSFET is coupled to the battery BAT3+, and the other end is coupled to the battery BAT1+ and the control acquisition pin of the MCU control chip. The first MOSFET is used to control the first optocoupler sensor, and the second MOSFET is used to control the second optocoupler sensor.
[0009] As a new technical solution of the present invention, the turntable positioning indicator circuit includes a light-emitting diode, one end of which is connected to the light enable pin of the MCU control chip, and the other end is connected to the battery BAT1+.
[0010] As a novel technical solution of the present invention, the LED strip ring control circuit includes a ring control interface and a transistor. The light interface includes a first light output pin, a second light output pin, a third light output pin, and a fourth light output pin. One end of at least one LED is coupled to the first light output pin, the second light output pin, and the battery BAT1+, and the other end is coupled to the collector of the transistor, the third light output pin, and the fourth light output pin. The base of the transistor is coupled to the light signal pin of the ring control interface and the light control pin of the MCU control chip. The emitter of the transistor is grounded.
[0011] As a new technical solution of the present invention, the MCU control chip is model STC8HK64-45I-LQFP64.
[0012] The beneficial effects of this invention are as follows: Compared with the prior art, the method for intelligent sampling logic control and synchronous lighting control of multiple turntables provided by this invention is a completely new and original design, as no similar design has appeared on the market. When the turntable is manually rotated, the optocoupler sensor is triggered and provides sampling data on the frequency and speed of the turntable's movement. The MCU control chip provides corresponding trigger signals based on the data returned by the optocoupler sensor, controlling the operation of the LED light strip, using multiple modes such as flashing and constant light to represent different movement trajectories. When the turntable stops, the optocoupler sensor provides sampling signals to the MCU control chip. The MCU control chip judges the working state of the turntable through the optocoupler sensor and synchronously outputs corresponding control signals to the lighting module to control the lighting to turn on. The combination of lighting and turntable accurately determines the number of the turntable's stopping position. Furthermore, multiple turntables are independent of each other, and there are no crosstalk or interference problems between the optocoupler sensor and data processing software. Attached Figure Description
[0013] Figure 1 This is a circuit diagram of the MCU control chip of the present invention; Figure 2 This is a circuit diagram of the optocoupler sensor of the present invention; Figure 3 This is a circuit diagram of the sensor power management circuit of the present invention; Figure 4 This is a circuit diagram of the turntable positioning indicator light of the present invention; Figure 5 This is a circuit diagram of the LED strip ring control system of the present invention; Figure 6 This is a circuit diagram showing the connection between the light interface and the LED light in this invention; Figure 7 This is the circuit logic diagram of the present invention. Detailed Implementation
[0014] To more clearly illustrate the present invention, the invention will be further described below with reference to the accompanying drawings.
[0015] Please see Figures 1-7 The method for multi-disc intelligent sampling logic control and lighting synchronization control of the present invention is characterized by comprising: The detection module detects whether the turntable is in working condition and generates the corresponding acquisition signal. The control module responds to the acquired signals and generates control signals. The lighting module receives control signals and displays or turns off the lights according to the corresponding control signals.
[0016] The power supply module supplies power to the detection module, control module, and lighting module.
[0017] The detection module is used to detect whether the turntable is in a rotating working state and generates a corresponding acquisition signal to the control module. The control module makes a judgment based on the data collected by the detection module and generates a corresponding control signal. The lighting module receives the control signal and turns the light on or off.
[0018] The working principle of this invention is: Rotating the turntable triggers the optocoupler sensor in the detection module to collect light. The optocoupler sensor sends the collected signal to the MCU control chip U3 in the main control module. Since the optocoupler sensor switches between high and low level signals in light-blocking and light-absorbing states (controlling the opening and closing of its own circuit), the MCU control chip U3 determines the turntable's working state by observing the high and low level signal switching of the optocoupler sensor. It can also determine the turntable's rotation speed by the frequency of the high and low level signal switching. Simultaneously, upon detecting the optocoupler sensor's operation, the MCU control chip U3 generates a control signal according to the settings and sends it to the lighting module, synchronously controlling the turntable positioning indicator circuit and the light strip ring control circuit within the lighting module. When the LED light is powered on, it emits light. After the optocoupler sensor stops working, it maintains a high or low level signal. If the MCU control chip U3 does not detect any change in the level signal of the optocoupler sensor, and the level signal does not switch for a long time, after the set standby time is reached, the MCU control chip U3 sends a control signal to the light module to simultaneously control the power supply of the light to turn off and the power supply of the second optocoupler sensor to disconnect. After that, the turntable of the first optocoupler sensor needs to be rotated again to wake up the second optocoupler sensor so that the MCU control chip U3 can start collecting data. The MCU control chip U3 is a low-power chip, model STC8HK64-45I-LQFP64.
[0019] Please see Figures 1-2As a preferred embodiment of the present invention, the number of optocouplers provided here is only for one practical application scenario. In another embodiment, all the technical features of the above embodiments are included. The first detection pin of pin 59, the second detection pin of pin 60, the third detection pin of pin 61, the fourth detection pin of pin 62, the fifth detection pin of pin 16, the sixth detection pin of pin 12, and the seventh detection pin of pin 13 of MCU control chip U3 are respectively connected to one end of the first optocoupler U9 and U101, and one end of the second optocoupler U8, U7, U6, U5, and U4; the other end of the first optocoupler U9 and U101 is coupled to the battery BAT2+, and the other end of the second optocoupler U8, U7, U6, U5, and U4 is coupled to the battery BAT3+. Each optocoupler sensor is individually controlled by a pin of the MCU control chip U3, and they operate independently without interfering with each other. When one of the turntables is rotated, the corresponding detection pin on the MCU control chip U3 receives the acquisition signal generated by the optocoupler sensor of that turntable and generates a control signal to the lighting module, synchronously controlling the lights on that turntable to illuminate. When the turntable stops, the first optocoupler sensor connected to the battery BAT2+ continues to operate normally. When the optocoupler sensor connected to the battery BAT3+ is in a sleep state, the battery BAT3+ does not receive a control signal from the MCU control chip U3, and even if the turntable is rotated, the optocoupler sensor cannot be woken up. The optocoupler sensor connected to the battery BAT2+ needs to be rotated to allow the MCU control chip U3 to send a control signal in order to wake up the optocoupler sensor.
[0020] Please see Figure 3To ensure a long battery life during normal use, the sensor power management circuit includes a first MOSFET Q39 and a second MOSFET Q37. Pin 8 of the MCU control chip U3 is the first control enable pin, coupled to the base of NPN transistor Q40, BAT1+, and one end of the first MOSFET Q39. The other end of the first MOSFET Q39 is connected to BAT3+. Pin 7 of the MCU control chip U3 is the second control enable pin, coupled to the base of NPN transistor Q40, BAT1+, and one end of the first MOSFET Q39. The other end of the first MOSFET Q39 is connected to BAT3+. The MOSFETs act as circuit switches. When the turntable stops working, the MCU control chip U3 issues a corresponding control signal, which is input to the circuit through the first control enable pin. When the first MOSFET Q39 receives a low-level input signal, it disconnects. At this time, the second optocoupler sensor enters standby mode because there is no voltage input to BAT3+. When a high-level input is received, the first MOSFET Q39 closes again, allowing the voltage of BAT3+ to pass through it, and the second optocoupler sensor is powered on and operates normally. By controlling the power output through the first MOSFET Q39, power consumption can be saved. Similarly, the second MOSFET Q37 plays the same role as the first MOSFET Q39, controlling the output of power supply BAT2+. Based on the high / low level switching state of the optocoupler sensor, the MCU control chip sends a signal to the sensor power management circuit, which then controls the power supply to the optocoupler sensor.
[0021] Please see Figure 1When any turntable rotates, its internal optocoupler sensor will block the light source once per revolution, according to the baffle inside the turntable. If the optocoupler sensor cannot detect the light source, it will repeatedly open and close, transmitting continuously switching high and low level signals to the MCU control chip U3. The MCU control chip U3 determines the working state by judging the changes in the high and low level transmitted by the optocoupler sensor and sends a control signal to control the lighting module. Furthermore, the rotation speed of the turntable can be calculated from the switching speed of the high and low level of the optocoupler sensor. If the turntable stops rotating and the optocoupler sensor does not switch high and low levels, the MCU control chip U3 will not receive the acquisition signal from the optocoupler sensor and will determine that the turntable has stopped rotating. After the standby test time set by the MCU control chip U3 is reached, the MCU control chip U3 will issue a... The corresponding control signals are sent to the power supply of the optocoupler sensor and the light on the intermediate turntable, commanding the intermediate turntable to enter standby mode to save power consumption. The first optocoupler sensor is powered by battery BAT2+, so it does not enter standby mode. However, after the turntable where the first optocoupler sensor is located stops rotating, the MCU control chip will cut off the power supply of its corresponding light according to the set program, but maintain the power input of the first optocoupler sensor. When the turntable where the second optocoupler sensor is located enters standby mode, rotating the turntable cannot wake up the internal second optocoupler sensor. The turntable of the first optocoupler sensor needs to be rotated so that the control module can collect the level change of the first optocoupler sensor and send a signal to wake up the turntable of the second optocoupler sensor. At this time, rotating the turntable will start the second optocoupler sensor and send a collection signal to the MCU control chip U3. The MCU control chip U3 will control the turntable light to turn on.
[0022] Please see Figure 4 In another embodiment, all the technical features of the above embodiments are included. The turntable positioning indicator circuit includes 7 light-emitting diodes, and one end of each light-emitting diode is connected to the light enable pin of the MCU control chip U3 (corresponding to pins 1, 2, 4, 32, 58, 63 and 64 of the MCU control chip U3 respectively), and the other end is connected to the battery BAT1+. When the turntable is in working state, the MCU control chip U3 continuously collects the level changes of the optocoupler sensor, and controls the turntable positioning indicator circuit to keep it constantly lit or flashing through the light enable pin. In actual application scenarios, after the turntable stops rotating, the turntable positioning indicator will remain constantly lit until the time set by the MCU control chip U3 is reached before it goes into sleep mode and turns off. The turntable positioning indicator is used to display the number that is stopped at the designated display point of the turntable, prompting the user to the number that has been rotated.
[0023] Please see Figures 5-6In practical applications, the LED strip control circuit includes a control interface, which includes a first control interface and a second control interface. The light interface includes a first light output pin, a second light output pin, a third light output pin, and a fourth light output pin (corresponding to pins 1, 2, 3, and 4 of the light interface, respectively). As mentioned earlier, one end of each of the seven LEDs is individually coupled to the first light output pin, the second light output pin, and the battery BAT1+ of the seven light interfaces. The other end is coupled to the collector, the third light output pin, and the fourth light output pin of the transistor. The base of the transistor is coupled to the light signal pin of the control interface and the light control pin of the MCU control chip U3 (corresponding to pins 3, 6, 34, 45, 47, 51, and 53 of the MCU control chip U3). The emitter of the transistor is grounded. The MCU control chip sends a control signal to the LED strip control circuit to control the switching on and off of the transistor. The MCU control chip synchronously controls the LEDs to turn on and off.
[0024] In another embodiment, all the technical features of the above embodiments are included. The MCU control chip U3 is model STC8HK64-45I-LQFP64. This chip has strong anti-interference capability, is not affected by the current signals of other circuits, and ensures the stable operation of the overall circuit. It also has the characteristics of fast instruction execution speed, high-efficiency computing power and ultra-low power consumption.
[0025] The technical effects achieved by the above embodiments are entirely new and independently developed designs, and there are no similar products on the market.
[0026] The advantages of this invention are: 1. The on / off state of the light module is synchronously controlled by the optocoupler sensor, and the standby time is set to put the optocoupler sensor and the light module into standby state, thereby reducing power consumption.
[0027] The above-disclosed embodiments are merely a few specific examples of the present invention, but the present invention is not limited thereto. Any variations that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A method for multi-disc intelligent sampling logic control and lighting synchronization control, characterized in that, include: The detection module detects whether the turntable is in working condition and generates the corresponding acquisition signal. The control module responds to the acquired signals and generates control signals; The lighting module receives control signals and displays or turns off the lights according to the corresponding control signals.
2. The method for multi-disc intelligent sampling logic control and lighting synchronization control according to claim 1, characterized in that, The detection module includes a first optocoupler sensor and a second optocoupler sensor; the control module includes an MCU control chip and a sensor power management circuit; and the lighting module includes a turntable positioning indicator circuit, a light strip ring control circuit, a lighting interface, and LED lights.
3. The method for multi-disc intelligent sampling logic control and lighting synchronization control according to claim 2, characterized in that, The other end of the first optocoupler sensor is coupled to the battery BAT2+, and the other end is connected to ground and the first detection and acquisition pin of the MCU control chip. One end of the second optocoupler sensor is coupled to the battery BAT3+, and the other end is connected to the second detection and acquisition pin of the MCU control chip.
4. The method for multi-disc intelligent sampling logic control and lighting synchronization control according to claim 2, characterized in that, The sensor power management circuit includes a first MOSFET and a second MOSFET. One end of the first MOSFET is coupled to the battery BAT2+, and the other end is coupled to the battery BAT1+ and the control signal pin of the MCU control chip. One end of the second MOSFET is coupled to the battery BAT3+, and the other end is coupled to the battery BAT1+ and the control acquisition pin of the MCU control chip. The first MOSFET is used to control the first optocoupler sensor, and the second MOSFET is used to control the second optocoupler sensor.
5. The method for multi-disc intelligent sampling logic control and lighting synchronization control according to claim 2, characterized in that, The turntable positioning indicator circuit includes a light-emitting diode. One end of the light-emitting diode is connected to the light enable pin of the MCU control chip, and the other end is connected to the battery BAT1+.
6. The method for multi-disc intelligent sampling logic control and lighting synchronization control according to claim 2, characterized in that, The LED strip control circuit includes a control interface and a transistor. The LED interface includes a first light output pin, a second light output pin, a third light output pin, and a fourth light output pin. One end of at least one LED is coupled to the first light output pin, the second light output pin, and the battery BAT1+, and the other end is coupled to the collector of the transistor, the third light output pin, and the fourth light output pin. The base of the transistor is coupled to the light signal pin of the control interface and the light control pin of the MCU control chip. The emitter of the transistor is grounded.
7. The method for multi-disc intelligent sampling logic control and lighting synchronization control according to claim 2, characterized in that, The MCU control chip is model STC8HK64-45I-LQFP64.
Citation Information
Patent Citations
Triaxial rotation mechanism control apparatus with real-time fault monitoring capability
CN104967371A
Motor monitoring device and motor monitoring control method
CN105277882A
Control circuit and control method of intelligent lock
CN109356460A
Intelligent light compensation solar optical fiber lighting system
CN112097213A
Fire control part photoelectric acquisition mechanism for tank simulation training
CN215895715U