A chess piece state recognition system for intelligent chessboard flipping
Through the induction module and magnetic field detection component, combined with the control module to adjust the magnetic field generator and power supply, the accuracy problem caused by magnetic field changes in the intelligent flipping chessboard chess piece recognition system is solved, and the accuracy and stability of chess piece status recognition are improved.
Patent Information
- Application Number
- CN202410402371.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-03
AI Technical Summary
In the existing chess piece identification system for intelligent flipping chessboards, due to the aging structure of the magnetic field generator, the electric field intensity of the chessboard changes, which affects the accuracy of chess piece identification.
Using the induction module, magnetic field detection component and control module, by obtaining the error rate of chess piece positioning, the proportion of missing electrical signals and the vibration intensity of the chessboard, adjust the working mode of the magnetic field generator and the power supply frequency of the built-in power supply, and reduce the magnetic field detection component The filtering method improves the accuracy of chess piece state identification.
It effectively reduces the accuracy decline caused by the aging of the magnetic field generator and electromagnetic interference, and improves the accuracy of chess piece status recognition and power supply stability.
Smart Images

Figure CN118286668B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electrical data processing, and in particular to a chess piece state recognition system for intelligently flipping a chessboard. Background Art
[0002] The chess piece status recognition system is a technology used to automatically identify and track the position and status of chess pieces on the board. This system can monitor the movement of chess pieces on the board in real time and provide information about the position, type and movement trajectory of the chess pieces. This system is often used in the automation and intelligence of chess games.
[0003] Chinese Patent Publication No.: CN113457114A discloses a multi-antenna chess piece recognition system, a chess board and an automatic chess-playing robot, including a signal transmission module, a plurality of chess piece recognition modules and a main control module; the signal transmission module is arranged in the chess piece; the chess piece recognition module includes a card reader chip, a plurality of antenna drive switching circuits and a plurality of antennas; each antenna drive switching circuit corresponds to an antenna, which is used to control the connection state between the antenna and the card reader chip, and the antenna is arranged at the chess position; the main control module is respectively connected to the plurality of antenna drive switching circuits in each chess piece recognition module, and controls the connection state between each antenna drive switching circuit and the corresponding antenna, so as to control the card reader chip in the chess piece recognition module to be connected to the plurality of antennas in sequence at different times; the card reader chip in each chess piece recognition module is respectively electrically connected to each antenna and the main control module, and the present application can recognize the change of chess pieces at each chess position in real time, and the number of card reader chips used is relatively small, so it can be seen that the multi-antenna chess piece recognition system, the chess board and the automatic chess-playing robot have the problem that the electric field strength of the chess board changes due to the aging structure change of the magnetic field generator, thereby causing the accuracy of chess piece recognition to decrease. Summary of the invention
[0004] To this end, the present invention provides an intelligent chessboard device and a chess piece status recognition system for an intelligently flipped chessboard, so as to overcome the problem in the prior art that the electric field strength of the chessboard changes due to changes in the aging structure of the magnetic field generator, thereby reducing the accuracy of chess piece recognition.
[0005] To achieve the above-mentioned object, the present invention provides a chess piece state recognition system for intelligently flipping a chessboard, comprising: a sensing module for obtaining the positions of a plurality of chess pieces, comprising a magnetic field generator arranged inside a chessboard shell for generating a magnetic field, a magnetic field detection component arranged below the magnetic field generator for detecting the magnetic field strength at a corresponding position, and a magnetic field sensing component arranged inside the chess piece shell for sensing the magnetic field strength of the chessboard, wherein a vibration sensor for detecting the vibration strength of the chessboard is arranged on the chessboard shell; a power supply module connected to the sensing module, comprising a built-in power supply connected to the magnetic field detection component for respectively powering the magnetic field detection component and the magnetic field generator, and a magnetic field sensing component connected to the inner shell through wires. an oscillator connected to a built-in power supply for adjusting the power supply frequency of the built-in power supply; a control module, which is respectively connected to the sensing module, the power supply module and the detection module, and is used to determine the first working mode of the magnetic field generator according to the error rate of chess piece positioning, or, to determine the corresponding filtering mode of the magnetic field detection component according to the error rate of chess piece positioning and the proportion of missing electrical signals, and, to determine the corresponding power supply frequency of the built-in power supply according to the proportion of missing electrical signals and the average delay time of chess piece positioning, and, to determine the second working mode of the magnetic field generator according to the vibration intensity of the chessboard; wherein the power-on current in the first working mode of the magnetic field generator is greater than the power-on current in the second working mode.
[0006] Furthermore, the control module obtains the number of chess piece positioning errors in a single monitoring cycle and the number of chess piece positionings in a single monitoring cycle, respectively, and calculates the chess piece positioning error rate according to the number of chess piece positioning errors in the single monitoring cycle and the number of chess piece positionings in the single monitoring cycle.
[0007] The control module determines that the accuracy of chess piece recognition does not meet the requirement under the first error rate condition, and controls the magnetic field generator to operate in the first working mode;
[0008] Among them, the first error rate condition is that the error rate of the chess piece positioning is greater than a preset second error rate.
[0009] Furthermore, the first working mode is that the magnetic field generator generates a magnetic field with a first corresponding current, wherein the first corresponding current is determined by the difference between the error rate of the chess piece positioning and the preset second error rate.
[0010] Furthermore, the calculation formula of the error rate of chess piece positioning is:
[0011]
[0012] Among them, M is the error rate of chess piece positioning, A1 is the number of chess piece positioning errors in a single monitoring cycle, and A2 is the number of chess piece positioning times in a single monitoring cycle.
[0013] Furthermore, the control module preliminarily determines that the conversion effectiveness of the electrical signal does not meet the requirements under the second error rate condition, and obtains the standard output voltage of the Hall element and the output voltage of the Hall element after converting the magnetic field signal into the electrical signal to calculate the missing amount ratio of the electrical signal.
[0014] The control module secondarily determines that the conversion validity of the electrical signal does not meet the requirements under the first proportion condition, and controls the magnetic field detection component to perform filtering with a corresponding filtering amplitude;
[0015] Among them, the second error rate condition is that the error rate of the chess piece positioning is greater than the preset first error rate and less than or equal to the preset second error rate; the first proportion condition is that the missing amount proportion of the electrical signal is greater than the preset second proportion.
[0016] Furthermore, the corresponding filtering amplitude is determined by the difference between the missing amount ratio of the electrical signal and the preset second ratio.
[0017] Further, the control module preliminarily determines that the stability of the power supply does not meet the requirements under the second proportion condition, and obtains the delay time of a single positioning process of the chess piece and the number of chess pieces respectively to calculate the average delay time of chess piece positioning.
[0018] The control module determines for the second time that the stability of the power supply does not meet the requirement under the preset time condition, and controls the built-in power supply to supply power to the magnetic field detection component and the magnetic field generator at the corresponding power supply frequency;
[0019] Among them, the second proportion condition is that the proportion of the missing amount of the electrical signal is greater than the preset first proportion and less than or equal to the preset second proportion; the preset duration condition is that the average delay duration of the chess piece positioning is greater than the preset duration.
[0020] Furthermore, the corresponding power supply frequency is determined by the difference between the average delay time of chess piece positioning and the preset delay time.
[0021] Furthermore, the data acquisition module acquires the vibration intensity of the chessboard under the first condition,
[0022] The control module determines that the structural stability of the chessboard does not meet the requirements under the preset vibration intensity condition, and controls the magnetic field generator to operate in the second working mode;
[0023] Among them, the preset vibration intensity condition is that the vibration intensity of the chessboard is greater than the preset vibration intensity; the first condition is that the oscillator completes the adjustment of the first corresponding power-on current.
[0024] Furthermore, the second working mode is that the magnetic field generator generates the magnetic field with a second corresponding current, wherein the second corresponding current is determined by the difference between the vibration intensity of the chessboard and the preset vibration intensity.
[0025] Compared with the prior art, the beneficial effects of the present invention lie in that the state recognition system of the present invention determines the first working mode of the magnetic field generator according to the error rate of chess piece positioning by setting a sensing module, a detection module and a control module, thereby reducing the influence of the change in the magnetic field strength of the chessboard due to the change in the structure of the magnetic field generator due to aging, thereby reducing the influence of the decrease in the accuracy of chess piece recognition caused by the change in the magnetic field strength of the chessboard due to aging; determines the corresponding filtering mode of the magnetic field detection component according to the proportion of the missing amount of the electrical signal, thereby reducing the influence of the fluctuation of the output signal of the magnetic field detection component due to electromagnetic interference, thereby reducing the influence of the decrease in the conversion effectiveness of the electrical signal; determines the corresponding power supply frequency of the built-in power supply according to the average delay time of chess piece positioning, thereby reducing the influence of the fluctuation of the power supply voltage due to the poor contact of the built-in power supply due to aging of the line, thereby reducing the influence of the decrease in the stability of the power supply, thereby further improving the accuracy of chess piece state recognition.
[0026] Furthermore, the state recognition system of the present invention sets a preset first error rate and a preset second error rate, and determines the first working mode of the magnetic field generator according to the error rate of chess piece positioning, thereby reducing the impact of changes in the magnetic field strength of the chessboard due to changes in the structure of the magnetic field generator due to aging, thereby reducing the impact of decreased accuracy in chess piece recognition, thereby further improving the accuracy of chess piece state recognition.
[0027] Furthermore, the state recognition system of the present invention sets a preset first ratio and a preset second ratio, and determines the corresponding filtering method of the magnetic field detection component according to the missing amount ratio of the electrical signal, thereby reducing the impact of fluctuations in the output signal of the magnetic field detection component due to electromagnetic interference, which leads to a decrease in the conversion effectiveness of the electrical signal, and further achieves an improvement in the accuracy of chess piece state recognition.
[0028] Furthermore, the state recognition system of the present invention determines the power supply frequency of the built-in power supply according to the average delay time of chess piece positioning by setting a preset duration, thereby reducing the impact of fluctuations in the power supply voltage caused by poor contact of the built-in power supply due to aging lines, thereby reducing the stability of the power supply, and further achieving improved accuracy in chess piece state recognition.
[0029] Furthermore, the state recognition system of the present invention determines the second working mode of the magnetic field generator according to the vibration intensity of the chessboard by setting a preset vibration intensity, thereby reducing the influence of the magnetic field strength being too large due to excessive current, which causes the magnetic field to produce a magnetic force on surrounding objects and causes the chessboard to vibrate, thereby reducing the structural stability of the chessboard, thereby further achieving improved accuracy in chess piece state recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 The overall structural block diagram of the chess piece state recognition system for intelligently flipping a chessboard according to an embodiment of the present invention;
[0031] Figure 2 This is a structural block diagram of a power supply module of a chess piece state recognition system for intelligently flipping a chessboard according to an embodiment of the present invention;
[0032] Figure 3 This is a schematic diagram of the overall structure of an intelligent flip chessboard according to an embodiment of the present invention;
[0033] Figure 4 A schematic diagram of a chessboard structure for intelligently flipping a chessboard according to an embodiment of the present invention;
[0034] Figure 5 This is an enlarged view of the structure in which chess pieces and a chessboard are connected for intelligently flipping a chessboard according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0036] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0037] It should be pointed out that the data in this embodiment are obtained by the chess piece state recognition system for intelligently flipping chessboards of the present invention before the current recognition based on historical data and data statistics, experiments and comprehensive analysis based on experimental results in the corresponding recognition process; the chess piece state recognition system for intelligently flipping chessboards of the present invention is cumulatively counted, detected and calculated within 90 days for 1364 cases of chess piece positioning error rate, proportion of missing amount of electrical signals, average delay time of chess piece positioning and vibration intensity of chessboard, and comprehensively determines the values of various preset parameter standards for the recognition machine of the chess piece state recognition system for intelligently flipping chessboards. It can be understood by those skilled in the art that the determination method of the chess piece state recognition system for intelligently flipping chessboards of the present invention for a single parameter can be to select the value with the highest proportion as the preset standard parameter according to the data distribution, as long as the recognition system of the present invention can clearly define different specific situations in the single judgment process through the obtained values.
[0038] See also Figure 1 , Figure 2 , Figure 3 , Figure 4 as well as Figure 5 As shown, they are respectively an overall structural block diagram of a chess piece state recognition system for an intelligently flipping chessboard according to an embodiment of the present invention, an overall structural schematic diagram of an intelligently flipping chessboard according to an embodiment of the present invention, a chess piece structure schematic diagram of an intelligently flipping chessboard, a chessboard structure schematic diagram, and an enlarged diagram of a structure in which chess pieces and a chessboard are connected. A chess piece state recognition system for an intelligently flipping chessboard according to the present invention comprises:
[0039] The sensing module is used to obtain the positions of the chess pieces 1, including a magnetic field generator 8 arranged inside the chessboard housing 2 to generate a magnetic field, a magnetic field detection component 7 arranged above the magnetic field generator 8 to detect the magnetic field strength at the corresponding position, and a magnetic field sensing component 10 arranged inside the chess piece housing to sense the magnetic field strength of the chessboard.
[0040] Wherein, a vibration sensor 9 for detecting the vibration intensity of the chessboard is provided on the chessboard housing;
[0041] a power supply module connected to the induction module, comprising a built-in power supply 4 connected to the magnetic field detection component for respectively powering the magnetic field detection component and the magnetic field generator 8, and an oscillator 6 connected to the built-in power supply through a wire for adjusting the power supply frequency of the built-in power supply;
[0042] A control module 5, which is respectively connected to the sensing module, the power supply module and the detection module, and is used to determine the first working mode of the magnetic field generator according to the error rate of chess piece positioning, or to determine the corresponding filtering mode of the magnetic field detection component according to the error rate of chess piece positioning and the missing amount ratio of the electric signal, and to determine the corresponding power supply frequency of the built-in power supply according to the missing amount ratio of the electric signal and the average delay time of chess piece positioning, and to determine the second working mode of the magnetic field generator according to the vibration intensity of the chessboard;
[0043] The current of the magnetic field generator in the first working mode is greater than the current of the magnetic field generator in the second working mode.
[0044] Specifically, the calculation formula for the missing amount ratio of the electrical signal is:
[0045]
[0046] Among them, G is the missing amount ratio of the electrical signal, V is the standard output voltage of the Hall element, and B is the output voltage of the Hall element after converting the magnetic field signal into an electrical signal.
[0047] Specifically, the missing amount of the electrical signal is the difference between the output voltage of the Hall element after the Hall element converts the magnetic field signal into the electrical signal and the standard output voltage of the Hall element.
[0048] Specifically, the calculation formula for the average delay time of chess piece positioning is:
[0049]
[0050] Among them, R is the average delay time of chess piece positioning, K t is the delay time of the single positioning process of the t-th chess piece, and L is the number of chess pieces.
[0051] Specifically, the delay duration of a single positioning process of the chess piece is the difference between the actual positioning duration of a single positioning process of the chess piece by the magnetic field detection component and the standard positioning duration of a single positioning process of the chess piece by the magnetic field detection component.
[0052] Specifically, the error in chess piece positioning means that there is a difference of one or more chess squares between the chess piece position identified by the magnetic field detection component and the actual position of the chess piece.
[0053] Specifically, the magnetic field sensing component 10 includes:
[0054] A positioning magnet, which is arranged at the center of the chess piece housing to provide position information of the chess piece on the chessboard;
[0055] The induction magnet is arranged above the positioning magnet to generate a change in the magnetic field.
[0056] Specifically, the magnetic field change may be a change in magnetic field intensity or a change in magnetic field direction.
[0057] Specifically, each side of the chess piece is equipped with a positioning magnet and an induction magnet.
[0058] Specifically, the chessboard includes 2*3 grids, 3*3 grids and 4*4 grids.
[0059] Specifically, a single chess piece can have up to 6 faces and each face is a different color.
[0060] Specifically, no matter how the chess pieces are placed, all the chess pieces on the chess board can be of the same color.
[0061] Specifically, when the surface of the chess piece is concave, the chessboard housing 2 is provided with a convex surface matching the shape of the chess piece.
[0062] Specifically, when the surface of the chess piece is convex, the chessboard housing 2 is provided with a concave surface matching the shape of the chess piece.
[0063] Specifically, the magnetic field detection assembly 7 includes a plurality of Hall elements arranged inside the chessboard housing.
[0064] Specifically, the number of Hall elements is one more than the number of chess pieces.
[0065] Specifically, a coordinate system is established with the first chess square in the lower left corner of the chessboard as the origin, the chess square in the bottom row of the chessboard as the X coordinate, and the chess square in the leftmost column of the chessboard as the Y coordinate. The position information of the chess piece includes the initial coordinates of the chess piece on the chessboard and the final coordinates of the chess piece on the chessboard.
[0066] Specifically, the internal power supply frequency is defined as the number of cycles per second that the AC power changes.
[0067] Specifically, the intelligent flip chessboard includes a chessboard function setting button 3 for setting chessboard levels and guiding the user to set chess pieces.
[0068] Specifically, the principle of identifying the state of chess pieces is that the magnetic field generator generates a magnetic field. When the chess pieces move on the chessboard, the magnetic field inside the chessboard changes. The Hall element captures the changes in the magnetic field and converts the changes in the magnetic field into electrical signals. The position state information of the chess pieces is obtained based on the electrical signals.
[0069] The state recognition system of the present invention determines the first working mode of the magnetic field generator according to the error rate of chess piece positioning by setting a sensing module, a detection module and a control module, thereby reducing the influence of the change of the magnetic field strength of the chessboard due to the change of the structure of the magnetic field generator due to aging, thereby reducing the influence of the decrease in the accuracy of chess piece recognition; determines the corresponding filtering mode of the magnetic field detection component according to the proportion of the missing amount of the electric signal, thereby reducing the influence of the fluctuation of the output signal of the magnetic field detection component due to electromagnetic interference, thereby reducing the influence of the decrease in the conversion effectiveness of the electric signal; determines the corresponding power supply frequency of the built-in power supply according to the average delay time of chess piece positioning, thereby reducing the influence of the fluctuation of the power supply voltage due to the poor contact of the built-in power supply due to aging of the line, thereby reducing the influence of the decrease in the stability of the power supply, thereby further improving the accuracy of chess piece state recognition.
[0070] Please continue reading Figure 1 As shown, the control module obtains the number of chess piece positioning errors in a single monitoring cycle and the number of chess piece positioning times in a single monitoring cycle, and calculates the chess piece positioning error rate according to the number of chess piece positioning errors in the single monitoring cycle and the number of chess piece positioning times in the single monitoring cycle.
[0071] The control module determines that the accuracy of chess piece recognition does not meet the requirement under the first error rate condition, and controls the magnetic field generator to operate in the first working mode;
[0072] Among them, the first error rate condition is that the error rate of the chess piece positioning is greater than a preset second error rate.
[0073] Please continue reading Figure 1 As shown, the magnetic field generator generates a magnetic field with a first corresponding current, wherein the first corresponding current is determined by the difference between the error rate of the chess piece positioning and the preset second error rate.
[0074] Please continue reading Figure 1 As shown, the calculation formula of the error rate of chess piece positioning is:
[0075]
[0076] Among them, M is the error rate of chess piece positioning, A1 is the number of chess piece positioning errors in a single monitoring cycle, and A2 is the number of chess piece positioning times in a single monitoring cycle.
[0077] Specifically, the specific process of determining the first corresponding energized current is:
[0078] If △M≤△M0, the control module uses a preset first current adjustment coefficient to adjust the standard current to the first current;
[0079] If ΔM>ΔM0, the control module uses a preset second current adjustment coefficient to adjust the standard current to the second current.
[0080] Specifically, the first corresponding power-on current includes a first current and a second current.
[0081] Specifically, the error rate of chess piece positioning is recorded as M, the preset first error rate is recorded as M1, the preset second error rate is recorded as M2, M1=3 times, M2=5 times, the difference between the error rate of chess piece positioning and the preset second error rate is recorded as △M, △M=M-M2 is set, △M0 is the preset error rate difference, △M0=2 times, the preset first current adjustment coefficient is recorded as α1, the preset second current adjustment coefficient is recorded as α2, wherein 1<α1<α2, M1<M2, α1=1.1, α2=1.2, the standard current is recorded as E, the first corresponding power-on current is recorded as E', and E'=E×(1+αh) / 2 is set, wherein αh is the preset hth current adjustment coefficient, and h is set as 1,2.
[0082] The state recognition system of the present invention sets a preset first error rate and a preset second error rate, and determines the first working mode of the magnetic field generator according to the error rate of chess piece positioning, thereby reducing the impact of changes in the magnetic field strength of the chessboard due to changes in the structure of the magnetic field generator due to aging, thereby reducing the impact of reduced accuracy in chess piece recognition, and further improving the accuracy of chess piece state recognition.
[0083] Please continue reading Figure 2 As shown, the control module preliminarily determines that the conversion effectiveness of the electrical signal does not meet the requirements under the second error rate condition, and obtains the standard output voltage of the Hall element and the output voltage of the Hall element after converting the magnetic field signal into the electrical signal to calculate the missing amount ratio of the electrical signal.
[0084] The control module secondarily determines that the conversion validity of the electrical signal does not meet the requirements under the first proportion condition, and controls the magnetic field detection component to perform filtering with a corresponding filtering amplitude;
[0085] Among them, the second error rate condition is that the error rate of the chess piece positioning is greater than the preset first error rate and less than or equal to the preset second error rate; the first proportion condition is that the missing amount proportion of the electrical signal is greater than the preset second proportion.
[0086] Please continue reading Figure 2 As shown, the corresponding filtering amplitude is determined by the difference between the missing amount ratio of the electrical signal and the preset second ratio.
[0087] Specifically, the specific process of determining the corresponding filtering amplitude is:
[0088] If △G≤△G0, the control module uses a preset first amplitude adjustment coefficient to adjust the standard filtering amplitude of the magnetic field detection component to a first amplitude;
[0089] If ΔG>ΔG0, the control module uses a preset second amplitude adjustment coefficient to adjust the standard filtering amplitude of the magnetic field detection component to the second amplitude.
[0090] Specifically, the corresponding filtering amplitude includes a first amplitude and a second amplitude.
[0091] Specifically, the missing amount ratio of the electrical signal is recorded as G, the preset first ratio is recorded as G1, the preset second ratio is recorded as G2, G1=0.2, G2=0.5, the difference between the missing amount ratio of the electrical signal and the preset second ratio is recorded as △G, △G=G-G2 is set, △G0 is the preset ratio difference, △G0=0.3, the preset first amplitude adjustment coefficient is recorded as β1, the preset second amplitude adjustment coefficient is recorded as β2, wherein, 1<β1<β2, G1<G2, β1=1.1, β2=1.2, the standard filtering amplitude of the magnetic field detection component is recorded as T, the corresponding filtering amplitude is recorded as T', T'=T×βp is set, wherein βp is the preset pth amplitude adjustment coefficient, and p is set as 1,2.
[0092] The state recognition system of the present invention sets a preset first ratio and a preset second ratio, and determines the corresponding filtering method of the magnetic field detection component according to the missing amount ratio of the electrical signal, thereby reducing the impact of fluctuations in the output signal of the magnetic field detection component due to electromagnetic interference, which leads to a decrease in the conversion effectiveness of the electrical signal, and further improves the accuracy of chess piece state recognition.
[0093] Please continue reading Figure 1 As shown, the control module preliminarily determines that the stability of the power supply does not meet the requirements under the second proportion condition, and obtains the delay time of a single positioning process of the chess piece and the number of chess pieces respectively to calculate the average delay time of chess piece positioning.
[0094] The control module determines for the second time that the stability of the power supply does not meet the requirement under the preset time condition, and controls the built-in power supply to supply power to the magnetic field detection component and the magnetic field generator at the corresponding power supply frequency;
[0095] Among them, the second proportion condition is that the proportion of the missing amount of the electrical signal is greater than the preset first proportion and less than or equal to the preset second proportion; the preset duration condition is that the average delay duration of the chess piece positioning is greater than the preset duration.
[0096] Please continue reading Figure 1 As shown, the corresponding power supply frequency is determined by the difference between the average delay time of chess piece positioning and the preset delay time.
[0097] Specifically, the specific process of determining the corresponding power supply frequency is:
[0098] If ΔR≤ΔR0, the control module uses a preset first power supply frequency adjustment coefficient to adjust the standard power supply frequency of the built-in power supply to the first power supply frequency;
[0099] If ΔR>ΔR0, the control module uses a preset second power supply frequency adjustment coefficient to adjust the standard power supply frequency of the built-in power supply to the second power supply frequency.
[0100] Specifically, the corresponding power supply frequency includes a first power supply frequency and a second power supply frequency.
[0101] Specifically, the average delay time for chess piece positioning is denoted as R, the preset delay time is denoted as R0, R0=5s, the difference between the average delay time for chess piece positioning and the preset delay time is denoted as △R, △R=R-R0 is set, △R0 is the preset delay time difference, △R0=3s, the preset first power supply frequency adjustment coefficient is denoted as γ1, the preset second power supply frequency adjustment coefficient is denoted as γ2, wherein 1<γ1<γ2, γ1=1.1, γ2=1.2, the standard power supply frequency of the built-in power supply is denoted as H, the corresponding power supply frequency is denoted as H', H'=H×γu is set, wherein γu is the preset uth power supply frequency adjustment coefficient, and u is set as 1,2.
[0102] The state recognition system of the present invention determines the power supply frequency of the built-in power supply according to the average delay time of chess piece positioning by setting a preset time, thereby reducing the impact of fluctuations in the power supply voltage caused by poor contact of the built-in power supply due to aging of the line, thereby reducing the stability of the power supply, and further improving the accuracy of chess piece state recognition.
[0103] Please continue reading Figure 1 As shown, the data acquisition module acquires the vibration intensity of the chessboard under the first condition,
[0104] The control module determines that the structural stability of the chessboard does not meet the requirements under the preset vibration intensity condition, and controls the magnetic field generator to operate in the second working mode;
[0105] Among them, the preset vibration intensity condition is that the vibration intensity of the chessboard is greater than the preset vibration intensity; the first condition is that the oscillator completes the adjustment of the first corresponding power-on current.
[0106] Please continue reading Figure 1 As shown, the second working mode is that the magnetic field generator generates the magnetic field with a second corresponding current, wherein the second corresponding current is determined by the difference between the vibration intensity of the chessboard and the preset vibration intensity.
[0107] Specifically, the specific process of determining the second corresponding energized current is:
[0108] Specifically, if ΔQ≤ΔQ0, the control module uses a preset fourth current adjustment coefficient to adjust the first corresponding power-on current to a third current;
[0109] If ΔQ>ΔQ0, the control module uses a preset third current adjustment coefficient to adjust the first corresponding power-on current to a fourth current.
[0110] Specifically, the second corresponding energizing current includes a third current and a fourth current.
[0111] Specifically, the vibration intensity of the chessboard is recorded as Q, the preset vibration intensity is recorded as Q0, Q0=4mm / s, the difference between the vibration intensity of the chessboard and the preset vibration intensity is recorded as △Q, △Q=Q0-Q is set, the preset vibration intensity difference is recorded as △Q0, △Q0=4mm / s, the preset third current adjustment coefficient is recorded as β3, the preset fourth amplitude adjustment coefficient is recorded as α4, wherein 0<α3<α4<1, α3=0.8, α4=0.9, the second corresponding current is recorded as E", and E”=E'×αi is set, wherein αi is the preset i-th current adjustment coefficient, and i is set to 3,4.
[0112] The state recognition system of the present invention determines the second working mode of the magnetic field generator according to the vibration intensity of the chessboard by setting a preset vibration intensity, thereby reducing the influence of excessive magnetic field intensity due to excessive current, which causes the magnetic field to produce magnetic force on surrounding objects and causes the chessboard to vibrate, thereby reducing the structural stability of the chessboard, and further improving the accuracy of chess piece state recognition.
[0113] Example 1
[0114] In the first embodiment of the present invention, the control module adjusts the standard power supply frequency H of the built-in power supply according to the difference △R between the average delay time of chess piece positioning and the preset delay time when R>R0; the average delay time of chess piece positioning is recorded as R, the preset delay time is recorded as R0, the difference between the average delay time of chess piece positioning and the preset delay time is recorded as △R, △R=R-R0, △R0 is the preset delay time difference, the preset first power supply frequency adjustment coefficient is recorded as γ1, and the preset second power supply frequency adjustment coefficient is recorded as γ2, wherein 1<γ1<γ2, the standard power supply frequency of the built-in power supply is recorded as H, and the corresponding power supply frequency is recorded as H', R0=5s, γ1=1.1, γ2=1.2, △R0=3s, H=50Hz, R=10s in the first embodiment of the present invention,
[0115] In the present embodiment 1, ΔR=10s-5s=5s, it is determined that ΔR>ΔR0 and the standard power supply frequency of the built-in power supply is adjusted to H' using the preset first power supply frequency adjustment coefficient denoted as γ1, and H'=50Hz×1.1=55Hz is calculated.
[0116] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A chess piece state recognition system for intelligently flipping a chessboard, characterized in that: include: The sensing module is used to obtain the positions of several chess pieces, including a magnetic field generator arranged inside the chessboard shell to generate a magnetic field, a magnetic field detection component arranged below the magnetic field generator to detect the magnetic field strength at the corresponding position, and a magnetic field sensing component arranged inside the chess piece shell to sense the magnetic field strength of the chessboard. Wherein, a vibration sensor for detecting the vibration intensity of the chessboard is provided on the chessboard housing; a power supply module connected to the induction module, comprising a built-in power supply connected to the magnetic field detection component for respectively powering the magnetic field detection component and the magnetic field generator, and an oscillator connected to the built-in power supply through a wire for adjusting a power supply frequency of the built-in power supply; A control module, which is connected to the sensing module and the power supply module respectively, and is used to determine the first working mode of the magnetic field generator according to the error rate of chess piece positioning, or to determine the corresponding filtering mode of the magnetic field detection component according to the error rate of chess piece positioning and the missing amount ratio of the electric signal, and to determine the corresponding power supply frequency of the built-in power supply according to the missing amount ratio of the electric signal and the average delay time of chess piece positioning, and to determine the second working mode of the magnetic field generator according to the vibration intensity of the chess board; The current of the magnetic field generator in the first working mode is greater than the current of the magnetic field generator in the second working mode.
2. The chess piece state recognition system for intelligently flipping a chessboard according to claim 1, characterized in that: The control module obtains the number of chess piece positioning errors in a single monitoring cycle and the number of chess piece positionings in a single monitoring cycle, respectively, and calculates the chess piece positioning error rate according to the number of chess piece positioning errors in the single monitoring cycle and the number of chess piece positionings in the single monitoring cycle. The control module determines that the accuracy of chess piece recognition does not meet the requirement under the first error rate condition, and controls the magnetic field generator to operate in the first working mode; Among them, the first error rate condition is that the error rate of the chess piece positioning is greater than a preset second error rate.
3. The chess piece state recognition system for intelligently flipping a chessboard according to claim 2, characterized in that: The first working mode is that the magnetic field generator generates a magnetic field with a first corresponding current, wherein the first corresponding current is determined by the difference between the error rate of the chess piece positioning and the preset second error rate.
4. The chess piece state recognition system for intelligently flipping a chessboard according to claim 3, characterized in that: The calculation formula of the error rate of chess piece positioning is: Among them, M is the error rate of chess piece positioning, is the number of chess piece positioning errors in a single monitoring cycle, and A2 is the number of chess piece positioning times in a single monitoring cycle.
5. The chess piece state recognition system for intelligently flipping a chessboard according to claim 4, characterized in that: The control module preliminarily determines that the conversion effectiveness of the electrical signal does not meet the requirements under the second error rate condition, and obtains the standard output voltage of the Hall element and the output voltage of the Hall element after converting the magnetic field signal into the electrical signal to calculate the missing amount ratio of the electrical signal. The control module secondarily determines that the conversion validity of the electrical signal does not meet the requirements under the first proportion condition, and controls the magnetic field detection component to perform filtering with a corresponding filtering amplitude; Among them, the second error rate condition is that the error rate of the chess piece positioning is greater than the preset first error rate and less than or equal to the preset second error rate; the first proportion condition is that the missing amount proportion of the electrical signal is greater than the preset second proportion.
6. The chess piece state recognition system for intelligently flipping a chessboard according to claim 5, characterized in that: The corresponding filtering amplitude is determined by the difference between the missing amount ratio of the electrical signal and the preset second ratio.
7. The chess piece state recognition system for intelligently flipping a chessboard according to claim 6, characterized in that: The control module preliminarily determines that the stability of the power supply does not meet the requirements under the second proportion condition, and obtains the delay time of a single positioning process of the chess piece and the number of chess pieces respectively to calculate the average delay time of chess piece positioning. The control module determines for the second time that the stability of the power supply does not meet the requirement under the preset time condition, and controls the built-in power supply to supply power to the magnetic field detection component and the magnetic field generator at the corresponding power supply frequency; Among them, the second proportion condition is that the proportion of the missing amount of the electrical signal is greater than the preset first proportion and less than or equal to the preset second proportion; the preset duration condition is that the average delay duration of the chess piece positioning is greater than the preset delay duration.
8. The chess piece state recognition system for intelligently flipping a chessboard according to claim 7, characterized in that: The corresponding power supply frequency is determined by the difference between the average delay time of chess piece positioning and the preset delay time.
9. The chess piece state recognition system for intelligently flipping a chessboard according to claim 8, characterized in that: The control module obtains the vibration intensity of the chessboard under the first condition, The control module determines that the structural stability of the chessboard does not meet the requirements under the preset vibration intensity condition, and controls the magnetic field generator to operate in the second working mode; Among them, the preset vibration intensity condition is that the vibration intensity of the chessboard is greater than the preset vibration intensity; the first condition is that the oscillator completes the adjustment of the first corresponding power-on current.
10. The chess piece state recognition system for intelligently flipping a chessboard according to claim 9, characterized in that: The second working mode is that the magnetic field generator generates the magnetic field with a second corresponding current, wherein the second corresponding current is determined by the difference between the vibration intensity of the chessboard and the preset vibration intensity.
