WO2024001913A1 - 一种棋子检测装置、游戏设备及检测方法 - Google Patents

一种棋子检测装置、游戏设备及检测方法 Download PDF

Info

Publication number
WO2024001913A1
WO2024001913A1 PCT/CN2023/101826 CN2023101826W WO2024001913A1 WO 2024001913 A1 WO2024001913 A1 WO 2024001913A1 CN 2023101826 W CN2023101826 W CN 2023101826W WO 2024001913 A1 WO2024001913 A1 WO 2024001913A1
Authority
WO
WIPO (PCT)
Prior art keywords
chess piece
light
photosensitive
chess
piece detection
Prior art date
Application number
PCT/CN2023/101826
Other languages
English (en)
French (fr)
Inventor
闫瑾
杨欢
Original Assignee
首都经济贸易大学
北京大丞娱乐文化有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 首都经济贸易大学, 北京大丞娱乐文化有限公司 filed Critical 首都经济贸易大学
Publication of WO2024001913A1 publication Critical patent/WO2024001913A1/zh

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/00643Electric board games; Electric features of board games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/00643Electric board games; Electric features of board games
    • A63F2003/00646Electric board games; Electric features of board games with illumination of playing field or playing piece
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/00643Electric board games; Electric features of board games
    • A63F2003/00662Electric board games; Electric features of board games with an electric sensor for playing pieces

Definitions

  • the present disclosure relates to the technical field of chess equipment, and in particular to a chess piece detection device, game equipment and detection method.
  • chess games have different game rules. However, different chess games have in common that they are composed of a chessboard and chess pieces, and the position of the chess pieces on the chess board needs to be identified.
  • Existing non-electronic game devices such as Go, chess, Chinese chess, and word games, which are composed of pure physical chess pieces and chess boards, do not include chess piece identification functions.
  • Chess games or spelling software on PC or mobile phones can play Go, chess, or spelling games or competitions between two or more people online or in human-machine battles. They can also automatically time and score, determine victory or defeat, and retain history. Recording and reviewing, human-machine battles, giving tips and suggestions through AI, etc.
  • this type of game software does not contain physical chessboards and chess pieces, and lacks the touch of physical chessboards and chess pieces, which will lead to poor game experience.
  • Contact-type chess piece detection implemented through other methods, such as detection resistance or other electrical signal detection methods, will cause the contact points to wear out, resulting in low reliability.
  • Non-contact detection achieved through other methods such as detection methods based on radio frequency technology or machine vision technology, has problems such as complex antenna and sensor structures and high cost, and cameras installed high above the chessboard will also occupy additional space.
  • Non-electronic game devices do not include chess piece identification functions, and game software on PC or mobile phones does not contain physical chessboards and chess pieces, and lacks the tactile feel of physical chessboards and chess pieces, which will lead to poor game experience.
  • Contact detection implemented through other methods, such as detection resistance or other electrical signal detection methods, will cause wear and tear on the contact points, resulting in low reliability.
  • Non-contact detection achieved through other methods such as detection methods based on radio frequency technology or machine vision technology, has problems such as complex structure and high cost, and the camera installed high above the chessboard will also occupy additional space.
  • embodiments of the present disclosure provide a chess piece detection device, Game equipment and detection methods.
  • the present disclosure provides a chess piece detection device, including:
  • the chessboard includes a plurality of chess piece detection positions; each chess piece detection position is provided with a plurality of photosensitive units and at least one light-emitting unit; a plurality of the photosensitive units are electrically connected to the control unit;
  • the bottom of the chess piece is provided with a reflective surface and a mask structure
  • the light-emitting unit is used to emit light to the top of the chessboard; the photosensitive unit is used to receive the light reflected by the reflective surface of the chess piece and after passing through the mask structure; the control unit is configured according to the photosensitive unit The photosensitive state determines the type of chess piece.
  • the center of the bottom of the chess piece is recessed inward, and the reflective surface is provided at the recess; the mask structure is provided around the recess;
  • the light-emitting unit is located at the center of the chess piece detection position, and a plurality of the photosensitive units are arranged around the light-emitting unit.
  • the photosensitive unit includes a photosensitive element and a current limiting resistor connected in series; a connection node between the photosensitive element and the current limiting resistor is electrically connected to the control unit.
  • the method further includes: multiple shift registers; multiple shift registers correspond to multiple chess piece detection bits in one-to-one correspondence;
  • the data input end of the shift register is electrically connected to the output end of the photosensitive unit corresponding to the chess piece detection bit; a plurality of the shift registers are connected in series and electrically connected to the control unit.
  • it also includes: multiple lighting control units;
  • a plurality of the light-emitting control units correspond to a plurality of the chess piece detection positions in a one-to-one correspondence
  • the input end of the light-emitting control unit is electrically connected to the output ends of the plurality of photosensitive units corresponding to the chess piece detection position; the output end of the light-emitting control unit is electrically connected to the control end of the light-emitting unit corresponding to the chess piece detection position. connect;
  • the light-emitting control unit is used to control the turning on and off of the light-emitting unit.
  • the lighting control unit includes a NAND gate.
  • the light-emitting unit includes a driving light-emitting chip
  • the driving light-emitting chip is electrically connected to the control unit;
  • the control unit is used to determine whether there is a chess piece in each of the chess piece detection positions according to the photosensitive state of each of the photosensitive units when the driving light-emitting chip is not lit; and to control the chess piece detection positions with chess pieces. After the corresponding driving light-emitting chip is lit, the type of the chess piece on each of the chess piece detection positions is determined according to the photosensitive state of each of the photosensitive units.
  • all the driving light-emitting chips are connected in series and then electrically connected to the control unit.
  • the present disclosure also provides a game device, including the chess piece detection device according to any one of the first aspects.
  • the present disclosure also provides a chess piece detection method, which is suitable for the chess piece detection device as described in any one of the first aspects, including:
  • the type of the chess piece at each of the chess piece detection positions is determined according to the photosensitive state of each of the photosensitive units.
  • the chess piece detection device includes a chess board, chess pieces and a control unit; the chess board includes multiple chess piece detection positions; multiple photosensitive units and at least one light-emitting unit are provided on each chess piece detection position; the multiple photosensitive units are electrically connected to the control unit ;
  • the bottom of the chess piece is provided with a reflective surface and a mask structure; the light-emitting unit is used to emit light to the top of the chessboard; the photosensitive unit is used to receive the light reflected by the reflective surface of the chess piece and after passing through the mask structure; the control unit is based on the photosensitivity of the photosensitive unit The status determines the type of piece.
  • the photosensitive unit at the chess piece detection position will receive the light reflected through the bottom of the chess piece, and the bottom of the chess piece is equipped with a mask structure.
  • the photosensitive unit at the chess piece detection position will receive the light reflected through the bottom of the chess piece, and the bottom of the chess piece is equipped with a mask structure.
  • the photosensitive unit When the light irradiates the photosensitive unit through the mask structure, it will It presents different photosensitive states, and the type of chess piece can be determined according to the photosensitive status.
  • the present invention can automatically detect the type of physical chess pieces, has a good game experience, and can complete the detection without touching the chess pieces.
  • the detection points will not cause wear and tear, has high reliability, simple structure and low cost, and is conducive to home use and popularization.
  • Figure 1 is a schematic structural diagram of a chess piece detection device provided by an embodiment of the present disclosure
  • Figure 2 is a schematic structural diagram of a chess piece detection position provided by an embodiment of the present disclosure
  • Figure 3 is a schematic structural diagram of a chess piece provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of light between a chess piece and a chessboard provided by an embodiment of the present disclosure
  • Figure 5 is a schematic diagram of a mask structure provided by an embodiment of the present disclosure.
  • Figure 6 is a schematic diagram of a partial mask structure provided by an embodiment of the present disclosure.
  • Figure 7 is a regular layout diagram of a light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 8 is an isometric layout diagram of a light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 9 is an equidistant layout diagram of another light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 10 is a regular layout diagram of another light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 11 is a circuit connection diagram of a photosensitive unit provided by an embodiment of the present disclosure.
  • Figure 12 is another photosensitive unit circuit connection diagram provided by an embodiment of the present disclosure.
  • Figure 13 is a schematic diagram of the connection between a photosensitive unit and a shift register provided by an embodiment of the present disclosure
  • Figure 14 is a schematic diagram of the connection between a photodiode and a shift register provided by an embodiment of the present disclosure
  • Figure 15 is a schematic connection diagram of a lighting control unit provided by an embodiment of the present disclosure.
  • Figure 16 is a schematic connection diagram of another lighting control unit provided by an embodiment of the present disclosure.
  • Figure 17 is a circuit connection diagram of a chess piece detection position provided by an embodiment of the present disclosure.
  • Figure 18 is a circuit connection diagram of another chess piece detection position provided by an embodiment of the present disclosure.
  • FIG. 1 is a schematic structural diagram of a chess piece detection device provided by an embodiment of the present disclosure.
  • FIG. 2 is a schematic structural diagram of a chess piece detection position provided by an embodiment of the present disclosure.
  • the chess piece detection device includes: a chess board 10, chess pieces 20 and a control unit 30.
  • the chessboard 10 includes a plurality of chess piece detection positions 11 .
  • Each chess piece detection position 11 is provided with a plurality of photosensitive units 12 and at least one light-emitting unit 13 .
  • the plurality of photosensitive units 12 are electrically connected to the control unit 30 .
  • the bottom of the chess piece 20 is provided with a reflective surface and a mask structure.
  • the light-emitting unit 13 is used to emit light to the top of the chessboard 10
  • the photosensitive unit 12 is used to receive the light reflected by the reflective surface of the chess piece 20 and after passing through the mask structure, the control unit 30 determines the type of the chess piece 20 according to the photosensitive state of the photosensitive unit 12 .
  • a plurality of chess piece detection positions 11 are provided on the chessboard 10.
  • the chess pieces 20 When using the chessboard 10 and chess pieces 20, the chess pieces 20 will be placed at the chess piece detection positions 11, and then the chess piece detection positions 11 will detect whether there are chess pieces and the type of chess pieces. Different games will have different numbers and layouts of chess piece detection positions due to different chess size and layout.
  • Each chess piece detection position 11 is provided with multiple photosensitive units 12 and at least one light-emitting unit 13. The light-emitting unit 13 is used to emit light to the top of the chess board 10.
  • the bottom of the chess piece 20 is provided with a reflective surface and a mask structure, which can The light emitted by the light-emitting unit 13 is reflected back to the chess piece detection position 11, so that the plurality of photosensitive units 12 receive the reflected light.
  • the multiple photosensitive units 12 are located at different positions, and the reflected light needs to pass through the mask structure.
  • the photosensitive states of the multiple photosensitive units 12 of each chess piece detection position 11 are different, and the multiple photosensitive units 12 are electrically connected to the control unit 30 , the control unit 30 receives the photosensitive states of multiple photosensitive units 12, and determines the type of the chess piece 20 according to the different photosensitive states.
  • the control unit 30 can determine that there is no chess piece in the chess piece detection position 11 according to the photosensitive state of the photosensitive unit 12 . If a chess piece 20 is placed at the chess piece detection position 11, since the bottom of the chess piece 20 is provided with a reflective surface and a mask structure, the reflective surface can reflect light, and the mask structure can block part of the light.
  • the light-emitting unit 13 emits light to the top of the chessboard 10, and the light It is reflected to the photosensitive unit 12 through the reflective surface.
  • the mask structures at the bottom of different chess pieces are different, and the positions of the detection positions 11 of the chess pieces when light passes through the mask structures of the chess pieces are different.
  • the chess piece detection position 11 includes a plurality of photosensitive units 12. The light irradiates the chess piece detection position 11 at different positions. Therefore, the positions and numbers of the photosensitive units 12 that receive the light are different and present different photosensitive states.
  • the control unit 30 responds to the different photosensitive states. Determine the type of chess piece 20. It should be noted that the embodiments of the present disclosure do not limit the specific number of light-emitting units and photosensitive units.
  • the photosensitive unit at the chess piece detection position when the chess piece is placed at the chess piece detection position, the photosensitive unit at the chess piece detection position will receive the light reflected through the bottom of the chess piece, and the bottom of the chess piece is provided with a mask structure, and the light passes through the mask
  • the mold structure is illuminated by the photosensitive unit, it will show different photosensitive states, and the type of chess piece can be determined based on the photosensitive status.
  • the disclosed embodiment can automatically detect the type of physical chess pieces, providing a better game experience, and does not require contact with the chess pieces to complete the detection.
  • the detection points will not be worn, have high reliability, simple structure and low cost, and are conducive to home use and popularization.
  • the chessboard includes a chess piece placement plate and a handheld chess piece tray.
  • the chess piece placement board is used as the main chess board for playing chess games in chess games, and some chess games need to detect the number of chess pieces held by the player, so the handheld chess piece tray also needs to be set with a chess piece detection position.
  • each player holds a chess piece tray, which is used to place the chess pieces held by the player.
  • the number of chess pieces is 7.
  • the hand-held chess piece tray is also equipped with a chess piece detection position to identify the type of chess pieces held by the player.
  • FIG. 3 is a schematic structural diagram of a chess piece provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of the light between a chess piece and a chessboard provided by an embodiment of the present disclosure.
  • the center of the bottom of the chess piece 20 is recessed inward, and the reflective surface 21 is provided at the recess; the mask structure 22 is provided around the recess.
  • the light-emitting unit 13 is located at the center of the chess piece detection position 30 , and a plurality of photosensitive units 12 are arranged around the light-emitting unit 13 .
  • the center of the bottom of the chess piece 20 is recessed inward and is provided with a reflective surface 21 .
  • the reflective surface 21 is used to reflect the light emitted by the light-emitting unit 13 toward the chess piece 20 so that the photosensitive unit 12 receives the reflected light.
  • the bottom of the chess piece 20 also includes a mask structure 22, which is arranged around the depression. Since the function of the mask structure is to block part of the reflected light from reaching the chess piece detection position 11, the mask structure should be made of an opaque material. .
  • the light-emitting unit 13 is located at the center of the chess piece detection position 11.
  • the light-emitting unit 13 When the light-emitting unit 13 emits light upward, it illuminates the inward depression in the center of the bottom of the chess piece 20, and a reflective surface 21 is provided in the depression to reflect the light.
  • a plurality of photosensitive units 12 are arranged around the light-emitting unit 13. When receiving reflected light, due to different mask structures, the transmitted reflected light irradiates the chess piece detection position 11 at different positions, so the photosensitive unit 12 that receives the light will also have different.
  • the type of chess piece 20 can be determined through different photosensitive states of the photosensitive unit 12 .
  • the shape of the chess piece can be set according to actual needs, such as rectangle, circle, square, etc., and there is no specific limitation in the embodiment of the present disclosure.
  • the center of the bottom of the chess piece is recessed inward, and a reflective surface is provided. If other structures are selected that can reflect the light emitted by the light-emitting unit, the structure of the bottom of the chess piece can also be changed.
  • the embodiments of the present disclosure are also not specifically limited.
  • the mask structure corresponds to the chess piece type one-to-one.
  • the light-emitting unit emits light to the chess piece, and the light is reflected by the reflective surface provided at the bottom of the chess piece and passes through the mask structure, and is received by the photosensitive unit.
  • the control unit determines the type of chess piece based on the different photosensitive states presented by the photosensitive unit. When the chess pieces are placed on the chessboard, the placement direction of the chess pieces may not be unique, which will cause the mask structure to be placed in different directions.
  • FIG. 5 is a schematic diagram of each mask structure of a chess piece provided by an embodiment of the present disclosure.
  • each chess piece detection position uses 8 photosensitive units
  • each chess piece corresponds to 68 different mask structures.
  • Different chess piece types correspond to different mask structures, which can realize the identification of different chess piece types.
  • All possible chess piece mask structures are shown in Figure 5.
  • the filled black squares in the figure indicate that there is an opaque mask used to block light at that position, and the squares without filled colors indicate There is no mask blocking the light at this position.
  • the figure contains a total of 68 different mask structures, so a layout of 8 photosensitive units can be used to identify up to 68 different types of chess pieces.
  • Figure 5 only shows a layout of 8 photosensitive units.
  • other layouts of photosensitive units can also be used, or other numbers of photosensitive units can be used to form chess piece detection positions. If other layout methods and numbers of photosensitive units are used, The corresponding mask structures are also different. This is not limited in the embodiments of the present disclosure and is only given as an example.
  • FIG. 6 is a schematic diagram of a mask structure corresponding to different placement directions according to an embodiment of the present disclosure.
  • the chess pieces may be placed in multiple directions, and the photosensitive states of the photosensitive units also have multiple situations. Therefore, these situations are all set to correspond to the same chess piece type. If the chess piece is circular in shape, there will be more placement directions, but multiple photosensitive states should be recognized as the same mask structure. Therefore, the chess piece type can be identified based on the one-to-one correspondence between the mask structure and the chess piece type.
  • the light emitting unit includes a visible light emitting unit or an infrared light emitting unit.
  • the light-emitting unit is used to emit light to the top of the chessboard, and is reflected by the chess pieces to the chess piece detection position, so that the photosensitive unit located at the chess piece detection position receives it. Therefore, the light type of the light-emitting unit can be a variety of visible light or infrared light, as long as the photosensitive unit can receive it.
  • a variety of arrangement layouts are included between the photosensitive unit and the light-emitting unit. It includes regular layout and equidistant layout.
  • the regular layout means that the light-emitting unit is located in the center, and the photosensitive units are surrounding the light-emitting unit in turn;
  • the equidistant layout means that the light-emitting unit is located in the center, and the photosensitive units on the periphery are between the light-emitting units in the center.
  • the radial straight line distance between them is the same.
  • the layout methods are different, and the reflected light intensity received by each photosensitive unit is different. You can choose the layout according to actual needs.
  • Figure 7 is a regular layout diagram of a light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 8 is an equidistant layout diagram of a light-emitting unit provided by an embodiment of the present disclosure. Examples are shown in Figures 7-8, Figures 7 and 8 Both of them provide one light-emitting unit 13, which uses a light-emitting diode, and eight photosensitive units 12, which use photosensitive diodes.
  • the light-emitting units 13 are regularly arranged around the photosensitive unit 12 .
  • the radial distance between each light-emitting unit 13 and the photosensitive unit 12 is the same.
  • Figure 9 is an equidistant layout diagram of another light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 9 provides one light-emitting unit 13, which uses light-emitting diodes, and 12 photosensitive units 12, which uses photosensitive diodes. The radial distance between each light-emitting unit 13 and the photosensitive unit 12 in FIG. 9 is the same.
  • Figure 10 is a regular layout diagram of another light-emitting unit provided by an embodiment of the present disclosure.
  • Figure 10 provides a light-emitting unit 13 and 16 photosensitive units 12.
  • FIG. 11 is a circuit connection diagram of a photosensitive unit provided by an embodiment of the present disclosure.
  • the photosensitive unit 12 includes a photosensitive element 121 and a current limiting resistor 122 connected in series.
  • the connection node of the photosensitive element 121 and the current limiting resistor 122 is electrically connected to the control unit 30 .
  • the photosensitive unit 12 includes a photosensitive element 121 and a current limiting resistor 122 connected in series. At the same time, the photosensitive element 121 is powered by an external power supply. The photosensitive element 121 can generate a current after receiving the reflected light. The current passes through the current limiting resistor 122 and is A pressure drop occurs.
  • the connection node of the photosensitive element 121 and the current limiting resistor 122 is electrically connected to the control unit 30. The connection node outputs a signal to the control unit 30 and sends the photosensitive state of the photosensitive unit 12 to the control unit 30.
  • the control unit 30 determines the chess piece type.
  • the current limiting resistor 122 may be set as a pull-down resistor 123 or a pull-up resistor 124.
  • Figure 12 is another photosensitive unit circuit connection diagram provided by an embodiment of the present disclosure. As shown in Figure 12, the current limiting resistor 122 is a pull-down resistor 123. When the light intensity received by the photosensitive element 121 exceeds the set threshold, the photosensitive element 121 The signal output by the connection node between the photosensitive element 121 and the pull-down resistor 123 is high level, or when the light intensity received by the photosensitive element 121 is lower than the set threshold, the signal output by the connection node between the photosensitive element 121 and the pull-down resistor 123 is low level.
  • the current limiting resistor 122 is a pull-up resistor 124.
  • the signal output by the connection node between the photosensitive element 121 and the pull-up resistor 124 is low level, or when the photosensitive element 121 receives
  • the signal output by the connection node between the photosensitive element 121 and the pull-up resistor 124 is high level.
  • the signals output by the connection nodes are transmitted to the control unit, and the control unit determines the chess piece type.
  • the current limiting resistor 122 may be a pull-down resistor 123 or a pull-up resistor 124, which is not limited in the embodiment of the present disclosure.
  • the photosensitive unit can also adopt a circuit structure composed of other electronic components, such as a structure with an amplifier.
  • a structure with an amplifier such as a structure with an amplifier.
  • the above embodiments are only examples, and the embodiments of the present disclosure do not limit the circuit structure of the photosensitive unit.
  • FIG. 13 is a schematic diagram of the connection between a photosensitive unit and a shift register according to an embodiment of the present disclosure.
  • the chess piece detection bits also include: multiple shift registers 14 , and the multiple shift registers 14 correspond to the multiple chess piece detection bits 11 in one-to-one correspondence.
  • the data input end of the shift register 14 is electrically connected to the output end of the photosensitive unit 12 corresponding to the chess piece detection bit 11.
  • Multiple shift registers 14 are connected in series and then electrically connected to the control unit 30.
  • the chess piece detection device also includes multiple shift registers 14.
  • the multiple shift registers 14 correspond to the multiple chess piece detection bits 11 one-to-one. Each shift register 14 is used to transmit its corresponding chess piece detection bit 11. Photosensitive state.
  • the data input terminals of the shift register 14 are electrically connected to the output terminals of the plurality of photosensitive units 12 on the corresponding chess piece detection positions 11 to receive signals transmitted by the photosensitive units 12 . Since there are multiple chess piece detection bits 11, there are correspondingly multiple shift registers 14. After being connected in series, the multiple shift registers 14 are electrically connected to the control unit 30. Through the shift register 14, the control unit 30 can directly obtain the photosensitive state corresponding to each chess piece detection bit 11, and integrate and transmit the photosensitive status of each individual photosensitive unit 12, so that the control unit 30 can determine the chess piece type.
  • Figure 14 is a schematic diagram of the connection between a photosensitive unit and a shift register provided by an embodiment of the present disclosure.
  • the photosensitive unit selects a photosensitive diode
  • the light-emitting unit selects a light-emitting diode.
  • Each chess piece detection position is provided with a light-emitting diode and 8 photodiode. Every A light-emitting diode is connected to the power supply through a current-limiting resistor. In this case, the light-emitting diode is always on.
  • the eight photodiodes in Figure 14 are connected in series with pull-down resistors. Each chess piece detection position uses an 8-bit parallel and serial output shift register.
  • n shift registers For a chessboard with n chess piece detection positions, n shift registers will be set, and the n shift registers are connected to the control unit. Among them, n shift registers can be connected to each other in a serial manner, that is, the serial output of the previous shift register is used as the serial input of the current shift register, and the serial output of the current shift register is used as the next shift register. Serial input to bit register.
  • the connection nodes of the eight photodiodes and the pull-down resistors are electrically connected to the eight parallel input terminals of the shift register respectively, that is, the output of the photodiodes is used as the input of the shift register.
  • the number of input interfaces of the register is determined by the number of photosensitive units set in each chess piece detection bit.
  • FIG. 15 is a schematic connection diagram of a lighting control unit provided by an embodiment of the present disclosure.
  • the chess piece detection position further includes: a plurality of light-emitting control units 15 , and the plurality of light-emission control units 15 correspond to the plurality of chess piece detection positions 11 in one-to-one correspondence.
  • the input end of the light-emitting control unit 15 is electrically connected to the output ends of the plurality of photosensitive units 12 of the corresponding chess piece detection position 11
  • the output end of the light-emitting control unit 15 is electrically connected to the control end of the light-emitting unit 13 of the corresponding chess piece detection position 11 .
  • the lighting control unit 15 is used to control the turning on and off of the lighting unit 13 .
  • the chess piece detection device also includes a plurality of light-emitting control units 15, and the plurality of light-emitting control units correspond to the plurality of chess piece detection positions 11 in one-to-one correspondence.
  • Each light-emitting control unit 15 is used to control the light-emitting unit 13 on its corresponding chess piece detection position 11 .
  • the input end of the light-emitting control unit 15 is electrically connected to the output ends of the plurality of photosensitive units 12 of the corresponding chess piece detection position 11.
  • the light-emitting control unit 15 obtains the photosensitive state of the photosensitive unit 12, determines whether there are chess pieces in the chess piece detection position, and thereby controls Whether the lighting unit 13 needs to be turned on.
  • the light emitting control unit 15 Since the output end of the light emitting control unit 15 is electrically connected to the control end of the light emitting unit 13 of the corresponding chess piece detection position 11, after the light emitting control unit 15 determines whether there is a chess piece in the chess piece detection position, if there is a chess piece, the light emitting control unit 15 controls the light emission.
  • the unit 13 emits light to determine the type of chess piece; if there is no chess piece, the light-emitting control unit 15 controls the light-emitting unit not to emit light to control the light-emitting unit on and off, which can detect the type of chess piece and save power.
  • the light-emitting control unit can adopt a variety of circuit structures.
  • the specific circuits in the light-emitting control unit are not limited.
  • various logic circuits can be used.
  • the embodiments of the present disclosure do not limit the circuit structure of the photosensitive unit.
  • FIG. 16 is a schematic connection diagram of yet another lighting control unit provided by an embodiment of the present disclosure. As shown in FIG. 16 , the lighting control unit includes a NAND gate 151 .
  • the lighting control unit includes a NAND gate 151 , which is used to control the lighting unit 13 .
  • the input terminal of the NAND gate 151 is electrically connected to the connection node between the photosensitive element 121 and the current limiting resistor 122 in the photosensitive unit, and the output terminal of the NAND gate 151 is electrically connected to the input terminal of the light-emitting unit 13 .
  • the NAND gate 151 receives the signal output by the photosensitive unit, thereby outputting different control instructions to the light-emitting unit 13 to complete the control of the light-emitting unit.
  • Figure 16 provides 8 photosensitive diodes, and the output terminals of the 8 photosensitive diodes are connected to 8 input positions of a logic gate.
  • the logic gate is an 8-input NAND gate. It can also be designed as other more advanced gates. for complex logic circuits.
  • Table 1 shows the output of the corresponding NAND gate in different states. Table 1 shows the logical structure of the circuit. When no chess piece is placed When a certain chess piece on the chessboard detects a position, ideally, there is an external light source, which may be sunlight or indoor lighting, and the light intensity is greater than the preset threshold. Because the eight photodiodes at the chess piece detection position are illuminated by external light sources, their outputs are all high level.
  • the output of the eight-input NAND gate is low level.
  • all 8 photodiodes have low-level outputs.
  • the output of the 8-input NAND gate is high level. This low level can control the light-emitting diode to light up.
  • the light-emitting diode After the light-emitting diode is lit, due to the presence of the chess piece and according to the set mask structure, at least one photosensitive diode will be blocked, causing the photosensitive diode to be unable to receive reflected light, that is, the output of at least one photosensitive diode is low level, that is, the output of the 8-input NAND gate is still at a high level at this time, and the light-emitting diode can still remain lit.
  • the chess piece is removed, for example, after the piece is captured in chess, the output of the 8 photodiodes is high due to being illuminated by the external light source. At this time, the output of the 8-input NAND gate returns to low level, and the light-emitting diodes go out.
  • the output of the NAND gate is low level, and when there is a chess piece in the chess piece detection position, the output of the NAND gate is high level.
  • the light-emitting diode goes out.
  • the light-emitting diode lights up to avoid the situation where the light-emitting diode is always on.
  • the light-emitting control unit can also adopt a circuit structure composed of other logic circuits, such as other circuit structures using AND gates, NOT gates and other combinations of various logic circuits.
  • other logic circuits such as other circuit structures using AND gates, NOT gates and other combinations of various logic circuits.
  • the above embodiments are only examples.
  • the embodiments of the present disclosure There is no restriction on the circuit structure of the lighting control unit.
  • FIG. 17 is a circuit connection diagram of a chess piece detection position provided by an embodiment of the present disclosure.
  • the light-emitting unit includes a driving light-emitting chip 131 , and the driving light-emitting chip 131 is electrically connected to the control unit 30 .
  • the control unit 30 is used to drive the light emitting chip When 131 is not lit, it is determined according to the photosensitive state of each photosensitive unit 12 whether there is a chess piece in each chess piece detection position 11, and the drive light-emitting chip 131 corresponding to the chess piece detection position 11 with the chess piece 20 is controlled to light up, according to each The photosensitive state of the photosensitive unit 12 determines the type of chess piece on each chess piece detection position 11 .
  • the light-emitting unit includes a driving light-emitting chip 131.
  • the driving light-emitting chip 131 can be directly controlled by the control unit 30. Therefore, the driving light-emitting chip 131 is electrically connected to the control unit 30 and controls the driving light-emitting chip 131 to turn on and off.
  • the control unit 30 is electrically connected to each photosensitive unit 12 and acquires the photosensitive status of each photosensitive unit 12. When the driving light-emitting chip 121 is not lit, the control unit 30 determines whether the corresponding chess piece detection bit is present based on the acquired photosensitive status. piece.
  • the driving light-emitting chip 131 will not be lit; if there are chess pieces, the driving light-emitting chip 131 will be lit.
  • the photosensitive state of the photosensitive unit 12 will change and continue to be transmitted to the control unit 30.
  • the control unit 30 will change the light-sensing state according to real-time.
  • the photosensitive state determines the chess piece type.
  • the WS2812 is selected as the driving light-emitting chip.
  • the WS2812 can be directly electrically connected to the control unit, and the control unit chooses whether to light the driving light-emitting chip according to the actual situation.
  • WS2812 as the driving light-emitting chip here is only a possible implementation and does not limit the disclosure. In other embodiments, other models or types of driving light-emitting chips can also be used, or other circuits can be used to form the light-emitting unit. This is not limited by the embodiments of the present disclosure, and the above-mentioned embodiments are only examples.
  • all driving light-emitting chips are connected in series and then electrically connected to the control unit.
  • All driving light-emitting chips need to be electrically connected to the control unit. Therefore, the driving light-emitting chips can be connected in series and then electrically connected to the control unit. After receiving the photosensitive status of all photosensitive units, the control unit controls the driving light-emitting chips through serial connection. , can reduce the number of interfaces of the control unit and improve the control capability.
  • the driving light-emitting chip includes multiple light-emitting diodes of different colors.
  • the driving light-emitting chip is electrically connected to the control unit.
  • the control unit can control the multiple light-emitting diodes of different colors and can control their luminous intensity. Under the control of the control unit, multiple light-emitting diodes of different colors driving the light-emitting chip can achieve multiple levels of brightness and can be dimmed to achieve full-color display.
  • FIG. 18 is a circuit connection diagram of yet another chess piece detection bit provided by an embodiment of the present disclosure.
  • the driving light-emitting chip 131 can select the WS2812 chip, and set up multiple shift registers 14 and multiple photosensitive units 12.
  • the multiple driving light-emitting chips 131 are connected in series in sequence and are electrically connected to the control unit 30.
  • the plurality of shift registers 14 are also connected in series and are electrically connected to the control unit 30 .
  • the control unit 30 determines whether to light the driving light-emitting chip 131.
  • a Scrabble game might be 15 ⁇ 15
  • a Chinese chess game might be 9 ⁇ 10
  • each handheld tile tray for a Scrabble game might be 1 ⁇ 7.
  • 16 WS2812s are driven serially, and the status of 128 photosensitive units 12 is read serially.
  • the control unit 30 reads the status of all photosensitive units 12, and then controls the WS2812 array through the control unit 30.
  • the control unit reads the status of the photosensitive units 12 again to determine the chess piece type.
  • the control unit first reads the status of the 128 photosensitive units 12 in a serial manner, as shown in Table 2. Table 2 shows that all WS2812s are not lit, and the control unit first reads the status of the 128 photosensitive units 12 in a serial manner. Read the status of the photosensitive unit. If the status of the eight photosensitive units 12 on a certain chess piece detection position is all high level, that is, there is no chess piece placed at this position, and the output of the photosensitive units 12 is all high level due to external ambient light, it indicates that this position There are no chess pieces. On the contrary, it means there is a chess piece here.
  • the control unit will record the status of each chess piece detection position after reading the status of the photosensitive unit 12 for the first time. Subsequently, the control unit drives the WS2812 array in a serial manner, causing the WS2812 with the chess piece position to light up. Finally, Table 3 shows that after the control unit reads the status of the photosensitive unit, the WS2812 controlling the position of the chess piece is lit, and the status of the photosensitive unit is read again. As shown in Table 3, the control unit 30 then reads 128 in a serial manner.
  • the photosensitive state of the photosensitive unit 12 obtained at this time is the mask structure corresponding to the chess piece at each position. According to the corresponding relationship between the mask structure and the chess piece type, the chess piece types at all positions on the chessboard can be determined.
  • control unit After the control unit reads the status of the photosensitive unit, it controls the WS2812 with the chess piece position to light up and reads the status of the photosensitive unit again.
  • the embodiment provides 68 different chess pieces, but the actual game may not include all 68 different chess pieces. Therefore, if the control unit reads the status of the 128 photosensitive units in a serial manner for the first time, all WS2812s will not emit light, and a non-existent chess piece type will be read, such as a mask structure other than the 14 types of Chinese chess pieces. , it means that there is no chess piece here, but not all of the 8 photosensitive units are high level due to insufficient external light or interference from external light sources. See the row with interference in Table 2. At this time, driving WS2812 When in array, the corresponding WS2812 will not be lit.
  • the control unit When the control unit reads the status of the 128 photosensitive units in a serial manner for the first time, a certain chess piece is read at the chess piece detection position. Due to insufficient external light or interference from external light sources, etc. , at this time the control unit can determine that there is no chess piece in this position. Because if there are chess pieces, the WS2812 will not emit light when reading for the first time, and the external light source is completely blocked by the chess pieces. All the 8 photosensitive units should read low level.
  • the 8 photosensitive units should read out All are high levels, the only possibility is that there are no chess pieces, but the external lighting is insufficient or there is interference from external light sources. Therefore, after the control unit determines which positions have chess pieces and which positions do not have chess pieces, the control unit can control the WS2812 corresponding to the positions with chess pieces to light up, thereby reading the type of chess pieces.
  • connection method of the relevant circuit is not unique.
  • the WS2812 array is connected serially, and the shift register is also connected serially.
  • an S-shaped connection method is used, which can also be used in actual systems.
  • Other connection methods such as clockwise or counterclockwise spirals, or other connection methods.
  • An embodiment of the present disclosure also provides a game device, including the chess piece detection device as described in any of the above embodiments. It can be a two-person or multi-player electronic game device including a chess piece detection device, including but not limited to Chinese chess, international chess, spelling games, etc.
  • the aforementioned explanations of the embodiments applied to the chess piece detection device are also applicable to the game equipment of this embodiment. have the same or corresponding beneficial effects, and will not be repeated here to avoid repetition.
  • the types of chess pieces detected by the chess piece detection device are also different.
  • the types of chess pieces detected by the chess piece detection device include the letters represented by the chess pieces, the meanings represented by the chess pieces, the scores represented by the chess pieces, etc. The number of chess pieces can also be detected.
  • the chess piece detection device when used to detect Chinese chess, the chess piece is initially placed at a fixed position on the chess board, and then both parties holding the chess piece alternately move the chess piece to a blank position or a non-blank position, that is, to capture the opponent's chess piece, and finally capture the chess piece. Losing the opponent's general/cosmic is the winning condition, and there may also be a draw. At this time, the chess piece detection device is used to detect the status of the chess pieces, such as how to move or be captured.
  • the chess piece detection device When the chess piece detection device is used to detect a spelling game, the chess board is initially empty and chess pieces need to be added to the chess board. The chess pieces represent different letters, and the chess pieces with different letters have different scores. At this time, the chess piece detection device is used to detect the placement of the chess pieces. The position, the letter represented by the piece, and the score represented by the piece.
  • the game equipment provided by the embodiments of the present disclosure can generally also implement functions such as timing, scoring, and victory or defeat determination.
  • the game device provided by the embodiment of the present disclosure can also be equipped with a communication module to enable the chessboard and the chess piece tray to communicate with each other, and to use Bluetooth or WiFi technology to enable the chessboard to communicate with other electronic devices, such as mobile phones, computers, servers located in the cloud, etc. Connect to achieve functions such as saving history and reviewing disks.
  • An embodiment of the present disclosure also provides a chess piece detection method, which is suitable for the chess piece detection device described in any of the above embodiments, including:
  • the chess piece detection position includes multiple photosensitive units.
  • the photosensitive unit receives the light reflected from the chess piece to the chess piece detection position.
  • the chess piece type corresponds to the mask structure one-to-one. After obtaining the photosensitive state of each photosensitive unit, the mask structure of the chess piece corresponding to the photosensitive state can be determined. According to the mask structure, the Determine the corresponding chess piece type. Whether there is a chess piece in the chess piece detection position, the corresponding photosensitive state will be different. Therefore, it can be determined whether there is a chess piece in the chess piece detection position, and the specific type of chess piece present.
  • the photosensitive unit at the chess piece detection position will receive the light reflected through the bottom of the chess pieces, and the bottoms of the chess pieces are equipped with a mask structure, and the light passes through the mask structure
  • the photosensitive unit is illuminated, different photosensitive states will appear, and the type of chess piece can be determined based on the photosensitive state.
  • the present invention can automatically detect the type of physical chess pieces, has a better game experience, and does not need to touch the chess pieces to complete the detection.
  • the detection points will not be worn, have high reliability, simple structure and low cost, are conducive to home use and popularization, and have great advantages. Strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本公开涉及一种棋子检测装置、游戏设备及检测方法,棋子检测装置,包括:棋盘、棋子以及控制单元;所述棋盘包括多个棋子检测位;每个所述棋子检测位上设置有多个感光单元以及至少一个发光单元;多个所述感光单元与所述控制单元电连接;所述棋子底部设置有反光面以及掩模结构;所述发光单元用于向所述棋盘的上方发射光线;所述感光单元用于接收由所述棋子的反光面反射并经过所述掩膜结构后的光线;所述控制单元根据所述感光单元的感光状态确定所述棋子的类型。本公开能够自动检测实体棋子的类型,游戏体验感较好,并且无需接触棋子完成检测,检测点不会产生磨损,可靠性高,并且结构简单成本低,有利于家庭使用和推广普及。

Description

一种棋子检测装置、游戏设备及检测方法
本公开要求于2022年6月30日提交中国专利局、申请号为202210772471.9、发明名称为“一种棋子检测装置、游戏设备及检测方法”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及棋具技术领域,尤其涉及一种棋子检测装置、游戏设备及检测方法。
背景技术
不同类型的棋类游戏具有不同的游戏规则,但是,不同棋类游戏共同点在于都是由棋盘和棋子构成,且需要识别棋子在棋盘上的位置。现有的由纯实体棋子和棋盘构成的围棋、国际象棋、中国象棋、拼词游戏等非电子游戏装置,不包含棋子识别功能。
而PC端或手机端的棋类游戏或拼词类软件,虽可进行两人或多人在线或人机对战的围棋、象棋或拼词游戏或比赛,也能够自动计时记分,胜负判定,保留历史记录和复盘,人机对战,通过AI给出提示和建议等,但这类游戏软件不包含实体的棋盘和棋子,缺乏实体棋盘和棋子的触感,会导致游戏体验性不好。通过其它方式实现的接触式棋子检测,如检测电阻或其它电信号的检测方式,会造成接触点由于出现磨损,导致可靠性不高。通过其它方式实现的非接触式检测,如基于射频技术或机器视觉技术的检测方法,其存在天线和传感器结构复杂、成本高等问题,并且高位安装于棋盘上方的摄像头也会占据额外的空间。
发明内容
(一)要解决的技术问题
非电子游戏装置,不包含棋子识别功能,以及PC端或手机端的游戏软件不包含实体的棋盘和棋子,缺乏实体棋盘和棋子的触感,会导致游戏体验性不好。通过其它方式实现的接触式检测,如检测电阻或其它电信号的检测方式,会造成接触点由于出现磨损,导致可靠性不高的问题。通过其它方式实现的非接触式检测,如基于射频技术或机器视觉技术的检测方法,其存在结构复杂、成本高等问题,并且高位安装于棋盘上方的摄像头也会占据额外的空间。
(二)技术方案
为了解决上述技术问题,本公开实施例提供了一种棋子检测装置、 游戏设备及检测方法。
第一方面,本公开提供一种棋子检测装置,包括:
棋盘、棋子以及控制单元;
所述棋盘包括多个棋子检测位;每个所述棋子检测位上设置有多个感光单元以及至少一个发光单元;多个所述感光单元与所述控制单元电连接;
所述棋子底部设置有反光面以及掩模结构;
所述发光单元用于向所述棋盘的上方发射光线;所述感光单元用于接收由所述棋子的反光面反射并经过所述掩膜结构后的光线;所述控制单元根据所述感光单元的感光状态确定所述棋子的类型。
在一些实施例中,所述棋子底部中心向内凹陷,所述反光面设置于所述凹陷处;所述掩模结构围绕所述凹陷设置;
所述发光单元位于所述棋子检测位的中心位置,多个所述感光单元围绕所述发光单元设置。
在一些实施例中,所述感光单元包括串联连接的感光元件和限流电阻;所述感光元件和所述限流电阻的连接节点与所述控制单元电连接。
在一些实施例中,还包括:多个移位寄存器;多个所述移位寄存器与多个所述棋子检测位一一对应;
所述移位寄存器的数据输入端与对应所述棋子检测位的感光单元输出端电连接;多个所述移位寄存器串行连接后与所述控制单元电连接。
在一些实施例中,还包括:多个发光控制单元;
多个所述发光控制单元与多个所述棋子检测位一一对应;
所述发光控制单元的输入端与对应的所述棋子检测位的多个感光单元的输出端电连接;所述发光控制单元的输出端与对应的所述棋子检测位的发光单元的控制端电连接;
所述发光控制单元用于控制所述发光单元的开启与关断。
在一些实施例中,所述发光控制单元包括与非门。
在一些实施例中,所述发光单元包括驱动发光芯片;
所述驱动发光芯片与所述控制单元电连接;
所述控制单元用于在所述驱动发光芯片未点亮状态下,根据每一个所述感光单元的感光状态确定每一个所述棋子检测位是否有棋子;并控制有棋子的所述棋子检测位对应的所述驱动发光芯片点亮后,根据每一个所述感光单元的感光状态确定每一个所述棋子检测位上所述棋子的类型。
在一些实施例中,所有所述驱动发光芯片串行连接后与所述控制单元电连接。
第二方面,本公开还提供一种游戏设备,包括如第一方面中任一项所述的棋子检测装置。
第三方面,本公开还提供一种棋子检测方法,适用于如第一方面中任一项所述的棋子检测装置,包括:
获取棋子检测位上每一个感光单元的感光状态;
根据每一个所述感光单元的感光状态确定每一个所述棋子检测位上所述棋子的类型。
(三)有益效果
本公开实施例提供的上述技术方案与现有技术相比具有如下优点:
本公开提供的棋子检测装置包括棋盘、棋子以及控制单元;棋盘包括多个棋子检测位;每个棋子检测位上设置有多个感光单元以及至少一个发光单元;多个感光单元与控制单元电连接;棋子底部设置有反光面以及掩模结构;发光单元用于向棋盘的上方发射光线;感光单元用于接收由棋子的反光面反射并经过掩膜结构后的光线;控制单元根据感光单元的感光状态确定棋子的类型。由于,将棋子放置到棋子检测位时,棋子检测位处的感光单元会接收到经由棋子底部反射的光线,而棋子底部均设置有掩模结构,光线经过掩模结构照射到感光单元时,会呈现不同的感光状态,根据感光状态可以确定棋子的类型。本公开能够自动检测实体棋子的类型,游戏体验感较好,并且无需接触棋子即可完成检测,检测点不会产生磨损,可靠性高,并且结构简单成本低,有利于家庭使用和推广普及。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种棋子检测装置的结构示意图;
图2为本公开实施例提供的一种棋子检测位的结构示意图;
图3为本公开实施例提供的一种棋子结构示意图;
图4为本公开实施例提供的一种棋子与棋盘之间的光线示意图;
图5为本公开实施例提供的一种掩模结构示意图;
图6为本公开实施例提供的一种部分掩模结构示意图;
图7为本公开实施例提供的一种发光单元的规则布局图;
图8为本公开实施例提供的一种发光单元的等距离布局图;
图9为本公开实施例提供的又一种发光单元的等距离布局图;
图10为本公开实施例提供的又一种发光单元的规则布局图;
图11为本公开实施例提供的一种感光单元电路连接图;
图12为本公开实施例提供的又一种感光单元电路连接图;
图13为本公开实施例提供的一种感光单元与移位寄存器的连接示意图;
图14为本公开实施例提供的一种光敏二极管与移位寄存器的连接示意图;
图15为本公开实施例提供的一种发光控制单元的连接示意图;
图16为本公开实施例提供的又一种发光控制单元的连接示意图;
图17为本公开实施例提供的一种棋子检测位的电路连接图;
图18为本公开实施例提供的又一种棋子检测位的电路连接图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开实施例提供一种棋子检测装置,图1为本公开实施例提供的一种棋子检测装置的结构示意图,图2为本公开实施例提供的一种棋子检测位的结构示意图。如图1和图2所示,棋子检测装置包括:棋盘10、棋子20以及控制单元30。棋盘10包括多个棋子检测位11,每个棋子检测位11上设置有多个感光单元12以及至少一个发光单元13,多个感光单元12与控制单元30电连接。棋子20底部设置有反光面以及掩模结构。发光单元13用于向棋盘10的上方发射光线,感光单元12用于接收由棋子20的反光面反射并经过掩膜结构后的光线,控制单元30根据感光单元12的感光状态确定棋子20的类型。
具体地,棋盘10上设置多个棋子检测位11,在使用棋盘10和棋子20时,会将棋子20放置到棋子检测位11,进而通过棋子检测位11检测是否存在棋子以及棋子的类型。不同游戏由于棋类尺寸和布局的不同,会具有不同数量、不同布局的棋子检测位。每个棋子检测位11上都设置有多个感光单元12以及至少一个发光单元13,其中,发光单元13用于向棋盘10的上方发射光线,棋子20底部设置有反光面和掩模结构,能够将发光单元13发射的光线反射回棋子检测位11,从而使多个感光单元12接收到反射回的光线。而多个感光单元12位于不同位置,且反射光线需要经过掩模结构,最终每个棋子检测位11的多个感光单元12的感光状态不同,而多个感光单元12又与控制单元30电连接,控制单元30接收多个感光单元12的感光状态,根据感光状态不同,从而确定棋子20的类型。
若没有棋子20放置到棋子检测位11,发光单元13向棋盘10的上方发射光线,光线无法接触到反光面,不会反射回到感光单元12,因此多个感光单元12均不会接收到光线,控制单元30可根据感光单元12的感光状态确定棋子检测位11没有棋子。若有棋子20放置到棋子检测位11,由于棋子20底部设置有反光面和掩模结构,反光面能够反射光线,掩模结构能够遮挡部分光线,发光单元13向棋盘10的上方发射光线,光线经反光面反射到感光单元12。而不同棋子底部的掩模结构不同,光线透过棋子的掩模结构照射到棋子检测位11的位置不同。棋子检测位11包括多个感光单元12,光线照射到棋子检测位11的位置不同,因此接收到光线的感光单元12位置和数量都不同,呈现不同的感光状态,控制单元30根据不同的感光状态确定棋子20的类型。 需要说明的是,本公开实施例对于发光单元以及感光单元具体的数量不做限制。
本公开实施例提供的棋子检测装置,在将棋子放置到棋子检测位时,棋子检测位处的感光单元会接收到经由棋子底部反射的光线,而棋子底部均设置有掩模结构,光线经过掩模结构照射到感光单元时,会呈现不同的感光状态,根据感光状态可以确定棋子的类型。本公开实施例能够自动检测实体棋子的类型,游戏体验感较好,并且无需接触棋子完成检测,检测点不会产生磨损,可靠性高,并且结构简单成本低,有利于家庭使用和推广普及。
可选地,棋盘包括棋子放置盘和手持棋子托盘。不同类型的棋类游戏,所使用的棋盘类型也不同。棋子放置盘在棋类游戏中作为进行棋类游戏的主要棋盘,而有些棋类游戏需要检测玩家手中持有的棋子数量,因此手持棋子托盘也需要设置棋子检测位。例如,拼词游戏中每个玩家手持棋子托盘,用于放置玩家持有的棋子,一般棋子数量为7,手持棋子托盘上也设置棋子检测位,用于识别玩家所持有的棋子类型。
在一些实施例中,图3为本公开实施例提供的一种棋子结构示意图,图4为本公开实施例提供的一种棋子与棋盘之间的光线示意图。如图3所示,棋子20底部中心向内凹陷,反光面21设置于凹陷处;掩模结构22围绕凹陷设置。如图4所示,发光单元13位于棋子检测位30的中心位置,多个感光单元12围绕发光单元13设置。
具体地,棋子20的底部中心向内凹陷,设置有反光面21,反光面21用于反射发光单元13向棋子20发射的光线,以使感光单元12接收到反射的光线。而棋子20的底部还包括掩模结构22,掩模结构围绕凹陷设置,由于掩模结构的作用在于阻挡部分反射光线照射到棋子检测位11上,因此,掩模结构应选择不透光的材料。而发光单元13位于棋子检测位11的中心位置,当发光单元13向上方发射光线,照射到棋子20底部中心向内凹陷处,而凹陷处设置有反光面21,能够反射光线。多个感光单元12围绕发光单元13设置,在接收反射光线的时候,由于掩模结构不同,透过的反射光线照射到棋子检测位11的位置不同,因此接收到光线的感光单元12也会有所不同。通过感光单元12不同的感光状态,能够确定棋子20的类型。
需要说明的是,棋子的形状可以根据实际需求设置,如长方形、圆形、正方形等等,本公开实施例不做具体限制。棋子底部中心向内凹陷,设置反光面,若选用其他结构能够反射发光单元发射的光线,也可以改变棋子底部结构,本公开实施例同样不做具体限制。
可选地,掩模结构与棋子类型一一对应。
具体地,发光单元向棋子发射光线,光线经棋子底部设置的反光面反射并经过掩模结构,被感光单元接收,控制单元根据感光单元呈现的不同感光状态确定棋子类型。而棋子在放置于棋盘上时,棋子的放置方向可能是不唯一的,这将导致掩模结构放置的方向也会有所不同,因此对于同一个棋子,由于放置棋子时的方向的不同,会导致感光单元的感光状态不同,因此存在多个感光状态对应一个掩模结构的情况,而一个掩模结构一定对应一个棋子类型。
示例性地,图5为本公开实施例提供的棋子的各掩模结构示意图。棋子检测位采用8个感光单元时,各棋子对应68种不同的掩模结构。不同棋子类型对应不同的掩膜结构,可以实现不同棋子类型的识别。采用上述8个感光单元的布局方式,所有可能的棋子掩模结构见图5所示,图中填充有黑色方块的表示在该位置有用于遮挡光线的不透明掩模遮挡,没有填充颜色的方块表示在该位置没有用于遮挡光线的掩模遮挡,图中总共包含了68种不同的掩模结构,因此采用8个感光单元的布局可以用于识别最多68种不同类型的棋子。作为示例,图5只是以8个感光单元的布局,实际上也可以采用其它方式的感光单元的布局,或者采用其它数量的感光单元构成棋子检测位,若采用其它布局方式和数量的感光单元,则对应的掩模结构也不相同,本公开实施例对此不做限定,仅做举例说明。
当棋子放置于棋盘上时,由于棋子的放置方向不同,对应掩模结构的放置方向也可能会不相同。图6为本公开实施例提供的一种掩模结构对应不同放置方向的示意图。如图6所示,棋子可能有多种放置方向,感光单元的感光状态也存在多种情况,因此将这几种情况均设置对应同一个棋子类型。若棋子形状为圆形,会存在更多种放置方向,但多种感光状态应当被识别为同一种掩模结构,因此,根据掩模结构与棋子类型一一对应,即可识别得到棋子类型。
可选地,发光单元包括可见光发光单元或红外光发光单元。发光单元用于向棋盘的上方发射光线,经棋子反射到棋子检测位,使位于棋子检测位上的感光单元接收。因此发光单元的光线种类可以为多种可见光,也可以为红外光线,感光单元能够接收到即可。
可选地,感光单元与发光单元之间包括多种排列布局。包括规则布局和等距离布局,其中,规则布局表示发光单元位于中心位置,感光单元依次环绕于发光单元周围;等距离布局表示发光单元位于中心位置,***的各感光单元与中心位置的发光单元之间的径向直线距离相同。布局方式不同,每个感光单元接收到的反射光线强度不同,根据实际需要选择布局即可。
图7为本公开实施例提供的一种发光单元的规则布局图,图8为本公开实施例提供的一种发光单元的等距离布局图,示例性如图7-8,图7和图8中均提供一个发光单元13,发光单元13采用发光二极管,以及8个感光单元12,感光单元12采用光敏二极管。图7中发光单元13规则环绕排列在感光单元12周围,图8中每个发光单元13与感光单元12之间的径向距离均相同。图9为本公开实施例提供的又一种发光单元的等距离布局图,图9提供一个发光单元13,发光单元13采用发光二极管,以及12个感光单元12,感光单元12采用光敏二极管。图9中每个发光单元13与感光单元12之间的径向距离均相同。图10为本公开实施例提供的又一种发光单元的规则布局图,图10提供一个发光单元13以及16个感光单元12,4个感光单元12位于发光单元13的周围,其余12个感光单元12距离发光单元13较远,但较近的4个感光单元12与发光单元13的径向距离相同,较远的12个感光单元12与发光单元13的径向距离相同。因此,发光单元13与感光单元12的 布局存在多种排列方式。
在一些实施例中,图11为本公开实施例提供的一种感光单元电路连接图。如图11所示,感光单元12包括串联连接的感光元件121和限流电阻122,感光元件121和限流电阻122的连接节点与控制单元30电连接。
具体地,感光单元12包括串联连接的感光元件121和限流电阻122,同时感光元件121外接电源为其供电,感光元件121接收到反射的光线后能够产生电流,该电流通过限流电阻122并产生压降。而感光元件121和限流电阻122的连接节点与控制单元30电连接,该连接节点向控制单元30输出信号,将感光单元12的感光状态发送至控制单元30,控制单元30确定棋子类型。
可选地,限流电阻122可设置为下拉电阻123或上拉电阻124。图12为本公开实施例提供的又一种感光单元电路连接图,如图12所示,限流电阻122为下拉电阻123,当感光元件121接受的光照强度超过设定阈值时,感光元件121和下拉电阻123的连接节点输出的信号为高电平,或者当感光元件121接受的光照强度低于设定阈值时,感光元件121和下拉电阻123的连接节点输出的信号为低电平。限流电阻122为上拉电阻124,当感光元件121接受的光照强度超过设定阈值时,感光元件121和上拉电阻124的连接节点输出的信号为低电平,或者当感光元件121接受的光照强度低于设定阈值时,感光元件121和上拉电阻124的连接节点输出的信号为高电平。连接节点输出的信号均传输至控制单元,由控制单元确定棋子类型。限流电阻122可以为下拉电阻123,也可以为上拉电阻124,本公开实施例对此不做限制。
需要说明的是,感光单元也可以采用其他电子元件构成的电路结构,例如使用带有放大器的结构,上述实施例仅做举例说明,本公开实施例对于感光单元的电路结构不做限制。
在一些实施例中,图13为本公开实施例提供的一种感光单元与移位寄存器的连接示意图。如图13所示,棋子检测位还包括:多个移位寄存器14,多个移位寄存器14与多个棋子检测位11一一对应。移位寄存器14的数据输入端与对应棋子检测位11的感光单元12输出端电连接,多个移位寄存器14串行连接后与控制单元30电连接。
具体地,棋子检测装置还包括多个移位寄存器14,多个移位寄存器14与多个棋子检测位11一一对应,每个移位寄存器14都用于传输其对应的棋子检测位11的感光状态。移位寄存器14的数据输入端均与对应的棋子检测位11上的多个感光单元12的输出端电连接,接收感光单元12传输的信号。由于存在多个棋子检测位11,也相对应的存在多个移位寄存器14,将多个移位寄存器14串行连接后,与控制单元30电连接。通过移位寄存器14,控制单元30能够直接获取每个棋子检测位11对应的感光状态,将各个单独的感光单元12的感光状态整合传输,便于控制单元30进行确定棋子类型。
示例性如图14,图14为本公开实施例提供的一种感光单元与移位寄存器的连接示意图,感光单元选择光敏二极管,发光单元选择发光二极管,每个棋子检测位设置一个发光二极管和8个光敏二极管。每 个发光二极管通过限流电阻与电源连接,该情况下发光二极管常亮。图14中的8个光敏二极管分别串接了下拉电阻。每个棋子检测位使用一个8位的并入串出移位寄存器,对于具有n个棋子检测位置的棋盘,将会设置n个移位寄存器,n个移位寄存器连接控制单元。其中,n个移位寄存器相互之间可以使用串行的方式连接,即上一个移位寄存器的串行输出作为当前移位寄存器的串行输入,当前移位寄存器的串行输出作为下一个移位寄存器的串行输入。8个光敏二极管与下拉电阻的连接节点分别与移位寄存器的8个并行输入端电连接,即光敏二极光的输出作为移位寄存器的输入。
需要说明的是以为寄存器的输入端接口数量由每个棋子检测位设置的感光单元数量决定。
在一些实施例中,图15为本公开实施例提供的一种发光控制单元的连接示意图。如图15所示,棋子检测位还包括:多个发光控制单元15,多个发光控制单元15与多个棋子检测位11一一对应。发光控制单元15的输入端与对应的棋子检测位11的多个感光单元12的输出端电连接,发光控制单元15的输出端与对应的棋子检测位11的发光单元13的控制端电连接。发光控制单元15用于控制发光单元13的开启与关断。
具体地,棋子检测装置还包括多个发光控制单元15,多个发光控制单元与多个棋子检测位11一一对应。每个发光控制单元15都用于控制与其相对应的棋子检测位11上的发光单元13。其中,发光控制单元15的输入端与对应的棋子检测位11的多个感光单元12的输出端电连接,发光控制单元15获取感光单元12的感光状态,确定棋子检测位是否存在棋子,从而控制发光单元13是否需要打开。由于发光控制单元15的输出端与对应的棋子检测位11的发光单元13的控制端电连接,在发光控制单元15确定棋子检测位是否存在棋子之后,若存在棋子,发光控制单元15则控制发光单元13发光,从而确定棋子类型;若不存在棋子,发光控制单元15则控制发光单元不发光,以实现控制发光单元的亮灭,既能检测棋子类型,又能节省电量。
需要说明的是,发光控制单元可以采用多种电路结构,发光控制单元内的具体电路不做限制,如各种逻辑电路均可,本公开实施例对于感光单元的电路结构不做限制。
在一些实施例中,图16为本公开实施例提供的又一种发光控制单元的连接示意图。如图16所示,发光控制单元包括与非门151。
具体地,发光控制单元包括与非门151,与非门151用于控制发光单元13。与非门151的输入端与感光单元中的感光元件121和限流电阻122的连接节点电连接,与非门151的输出端与发光单元13的输入端电连接。与非门151接收感光单元输出的信号,从而向发光单元13输出不同的控制指令,完成对发光单元的控制。
示例性地,图16提供了8个光敏二极管,8个光敏二极管的输出端连接到一个逻辑门的8个输入位置上,例如该逻辑门为8输入与非门,也可以设计为其它的更为复杂的逻辑电路。表1为不同状态下对应的与非门的输出,表1给出了该电路的逻辑结构,当没有棋子放在 棋盘上的某个棋子检测位时,理想情况下,即有外部光源,可能为日光,也可能为室内照明光,且光强大于预设阈值的情况。该棋子检测位的8个光敏二极管由于受到外部光源的照射,输出均为高电平,此时8输入与非门的输出为低电平。而当有棋子放在棋盘上,且发光二极管没有被点亮时,由于棋子遮挡外部光源,8个光敏二极管均为低电平的输出,此时8输入与非门的输出为高电平,该低电平可以控制发光二极管点亮。在发光二极管点亮后,由于棋子的存在,且按照设置的掩模结构,将至少有1个光敏二极管被遮挡,导致该光敏二极管无法接收到反射光,即至少1个光敏二极管的输出为低电平,即此时8输入与非门的输出仍为高电平,发光二极管仍可以维持点亮的状态。当棋子移除,例如象棋中的吃子之后,8个光敏二极管由于受到外部光源的照射,输出均为高电平,此时8输入与非门的输出恢复为低电平,发光二极管熄灭。
因此在棋子检测位没有棋子时,与非门的输出为低电平,棋子检测位有棋子时,与非门的输出为高电平。将与非门的输出端与串接在发光二极管上的电阻相连即可以控制发光二极管的亮灭。棋子检测位没有棋子时,发光二极管灭,棋子检测位有棋子时,发光二极管亮,避免发光二极管常亮的情况。
需要说明的是,发光控制单元也可以采用其他逻辑电路构成的电路结构,例如使用与门、非门等各种逻辑电路相互组合的其他电路结构,上述实施例仅做举例说明,本公开实施例对于发光控制单元的电路结构不做限制。
表1不同状态下对应的与非门的输出
在一些实施例中,图17为本公开实施例提供的一种棋子检测位的电路连接图,如图17所示,发光单元包括驱动发光芯片131,驱动发光芯片131与控制单元30电连接。控制单元30用于在驱动发光芯片 131未点亮状态下,根据每一个感光单元12的感光状态确定每一个棋子检测位11是否有棋子,并控制有棋子20的棋子检测位11对应的驱动发光芯片131点亮后,根据每一个感光单元12的感光状态确定每一个棋子检测位11上棋子的类型。
具体地,发光单元包括驱动发光芯片131,驱动发光芯片131可以直接由控制单元30控制,因此驱动发光芯片131与控制单元30电连接,控制驱动发光芯片131的亮灭。控制单元30与每一个感光单元12电连接,获取每一个感光单元12的感光状态,控制单元30在驱动发光芯片121未点亮的情况下,根据获取的感光状态确定对应的棋子检测位是否有棋子。若没有棋子,则不点亮驱动发光芯片131;若有棋子,则点亮驱动发光芯片131,此时感光单元12的感光状态会发生改变,并且继续传输至控制单元30,控制单元30根据实时的感光状态确定棋子类型。例如,驱动发光芯片选择WS2812,WS2812能够直接与控制单元电连接,由控制单元根据实际情况选择是否点亮驱动发光芯片。此处以WS2812作为驱动发光芯片只是一种可能的实施方式,并不对本公开构成限制。在其它一些实施例中,也可以使用其它型号或类型的驱动发光芯片,或使用其它电路构成发光单元,本公开实施例对此不做限制,上述实施例仅做举例说明。
在一些实施例中,所有驱动发光芯片串行连接后与控制单元电连接。
所有驱动发光芯片均需要与控制单元电连接,因此可以将驱动发光芯片串行连接后与控制单元电连接,控制单元在接收到所有感光单元的感光状态之后,通过串行连接方式控制驱动发光芯片,能够减少控制单元的接口数,并且提高控制能力。
可选地,驱动发光芯片包括多个不同颜色的发光二极管,驱动发光芯片与控制单元电连接,控制单元能够控制多个不同颜色的发光二极管,且能够控制其发光强度。驱动发光芯片的多个不同颜色的发光二极管在控制单元的控制下,能够实现多个等级的亮度,并且能够调光,实现全彩色的显示。
示例性地,图18为本公开实施例提供的又一种棋子检测位的电路连接图。如图18所示,驱动发光芯片131可以选择WS2812芯片,并且设置多个移位寄存器14,以及多个感光单元12,多个驱动发光芯片131依次串行连接,并与控制单元30电连接,多个移位寄存器14同样依次串行连接,并与控制单元30电连接。控制单元30接收感光单元12的输出信号后,确定是否点亮驱动发光芯片131。
实际中阵列的数目取决于具体的游戏,例如拼词游戏可以为15×15,中国象棋为9×10,每个拼词游戏的手持棋子托盘可能为1×7。图18中通过串行的方式驱动16个WS2812,并通过串行的方式读取128个感光单元12的状态。首先由控制单元30读取全部感光单元12的状态,之后通过控制单元30控制WS2812阵列,控制单元最后再次读取感光单元12的状态,以实现棋子类型的确定。具体原理如下:
表2全部WS2812未点亮,控制单元初次读取感光单元的状态
初始时,图18中全部16个WS2812均不发光,控制单元首先通过串行的方式读取128个感光单元12的状态,如表2所示,表2为全部WS2812未点亮,控制单元初次读取感光单元的状态。若某个棋子检测位上的8个感光单元12的状态全部为高电平,即上述的没有棋子放在该位置,由于外部环境光使得感光单元12输出全为高电平,则表明此位置没有棋子。反之,则表示此处有棋子。控制单元在初次读取感光单元12的状态后会记录每个棋子检测位的状态。随后,控制单元通过串行的方式驱动WS2812阵列,使得有棋子位置的WS2812点亮。最后,表3为在控制单元读取感光单元状态之后,控制有棋子位置的WS2812点亮,再次读取感光单元的状态,如表3所示,控制单元30再通过串行的方式读取128个感光单元12的状态,此时获得的感光单元12的感光状态即为各个位置棋子对应的掩模结构,根据掩模结构和棋子类型的对应关系,即可确定棋盘所有位置的棋子类型。
表3在控制单元读取感光单元状态之后,控制有棋子位置的WS2812点亮,再次读取感光单元的状态
实施例中给出了68种不同的棋子,但实际游戏中可能不会包含全部68种不同的棋子。因此,若在控制单元初次通过串行的方式读取128个感光单元的状态,为所有的WS2812都没有发光,读取到不存在的棋子类型,如中国象棋14种棋子之外的掩模结构时,则表示此处并没有棋子,但可能由于外部光照不足或外部光源干扰等原因导致8个感光单元并非全为高电平,见表2中存在干扰的一行。此时在驱动WS2812 阵列时,对应的WS2812不会被点亮。
或者,某个位置并没有放置棋子,在控制单元初次通过串行的方式读取128个感光单元的状态时,在该棋子检测位读到了某种棋子,由于外部光照不足或外部光源干扰等原因,此时控制单元能够判定出该位置是没有棋子。因为若有棋子,初次读取时WS2812不发光,外部光源完全被棋子遮挡,8个感光单元应该读出的全部为低电平,若没有棋子,假设外部光源充足,8个感光单元应该读出的全部为高电平,唯一的可能就是没有棋子,但外部光照是不足的或者存在外部光源的干扰。因此,控制单元判断出那些位置有棋子,以及哪些位置没有棋子之后,控制单元即可控制有棋子位置对应的WS2812点亮,从而读取棋子的类型。
需要说明的是,有关电路的连接方式并不是唯一的,图18中WS2812阵列串行连接,移位寄存器也采用串行连接,图10中采用了S形的连接方式,实际***中也可以采用其它的连接方式,例如顺时针或逆时针螺旋线,或者其他连接方式。
本公开实施例还提供一种游戏设备,包括如上述任意实施例所述的棋子检测装置。可以为包括棋子检测装置的两人或多人电子游戏设备,包括但不限于中国象棋、国际象棋、拼词游戏等。
需要说明的是,前述对应用于棋子检测装置的实施例的解释说明也适用于本实施例的游戏设备。具有相同或相应的有益效果,为避免重复,在此不再赘述。可选地,由于游戏设备类型不同,棋子检测装置所检测的棋子类型也不同。棋子检测装置检测的棋子类型包括棋子所代表的字母、棋子所代表的含义、棋子所代表的分数等,也可以检测棋子数量。
示例性地,当棋子检测装置用于检测中国象棋时,棋子初始放置于棋盘上的固定位置,随后持棋双方交替移动棋子到空白位置,或非空白位置,即吃掉对方棋子,最终以吃掉对方将/帅为获胜条件,也可能出现和棋的情况,这时棋子检测装置用于检测棋子的状态,例如如何移动或被吃掉等状态。当棋子检测装置用于检测拼词游戏时,初始时棋盘为空,需要往棋盘上添加棋子,而棋子代表不同字母,不同字母的棋子分数不同,这时,棋子检测装置用于检测棋子放置的位置、棋子所代表的字母以及棋子所代表的分数。
本公开实施例提供的游戏设备中除了棋子检测装置外,一般还能够实现计时、记分、胜负判定等功能。本公开实施例提供的游戏设备也可以设置通信模块,使棋盘与棋子托盘之间能够相互通讯,以及借助蓝牙或者WiFi技术使棋盘和其他电子设备,如手机、电脑、位于云端的服务器等进行通信连接,以实现保存历史记录、复盘等功能。
本公开实施例还提供一种棋子检测方法,适用于如上述任意实施例所述的棋子检测装置,包括:
S100、获取棋子检测位上每一个感光单元的感光状态。
棋子检测位上包括多个感光单元,感光单元接受棋子反射到棋子检测位的光线,而棋子底部存在掩模结构,棋子接收光线后,光线反射到棋子检测位上的各感光单元,而反射时需要经过掩模结构,掩模 结构会阻挡部分光线,因此,能够得到每一个感光单元的感光状态。
S200、根据每一个感光单元的感光状态确定每一个棋子检测位上棋子的类型。
由于不同棋子类型设置的掩模结构不同,棋子类型与掩模结构一一对应,获取到每一个感光单元的感光状态之后,能够确定该感光状态对应的棋子的掩模结构,根据掩模结构能够确定对应的棋子类型。而棋子检测位是否存在棋子,对应的感光状态也会不同,所以,可以确定棋子检测位是否存在棋子,以及存在棋子的具体类型。
需要说明的是,前述对应用于棋子检测装置实施例的解释说明也适用于本实施例的棋子检测方法。具有相同或相应的有益效果,为避免重复,在此不再赘述。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
工业实用性
本公开提供的棋子检测装置,当将棋子放置到棋子检测位时,棋子检测位处的感光单元会接收到经由棋子底部反射的光线,而棋子底部均设置有掩模结构,光线经过掩模结构照射到感光单元时,会呈现不同的感光状态,根据感光状态可以确定棋子的类型。本公开能够自动检测实体棋子的类型,游戏体验感较好,并且无需接触棋子完成检测,检测点不会产生磨损,可靠性高,并且结构简单成本低,有利于家庭使用和推广普及,具有很强的工业实用性。

Claims (10)

  1. 一种棋子检测装置,其特征在于,包括:
    棋盘、棋子以及控制单元;
    所述棋盘包括多个棋子检测位;每个所述棋子检测位上设置有多个感光单元以及至少一个发光单元;多个所述感光单元与所述控制单元电连接;
    所述棋子底部设置有反光面以及掩模结构;
    所述发光单元用于向所述棋盘的上方发射光线;所述感光单元用于接收由所述棋子的反光面反射并经过所述掩膜结构后的光线;所述控制单元根据所述感光单元的感光状态确定所述棋子的类型。
  2. 根据权利要求1所述的棋子检测装置,其特征在于,所述棋子底部中心向内凹陷,所述反光面设置于所述凹陷处;所述掩模结构围绕所述凹陷设置;
    所述发光单元位于所述棋子检测位的中心位置,多个所述感光单元围绕所述发光单元设置。
  3. 根据权利要求1所述的棋子检测装置,其特征在于,所述感光单元包括串联连接的感光元件和限流电阻;所述感光元件和所述限流电阻的连接节点与所述控制单元电连接。
  4. 根据权利要求1所述的棋子检测装置,其特征在于,还包括:多个移位寄存器;多个所述移位寄存器与多个所述棋子检测位一一对应;
    所述移位寄存器的数据输入端与对应所述棋子检测位的感光单元输出端电连接;多个所述移位寄存器串行连接后与所述控制单元电连接。
  5. 根据权利要求1所述的棋子检测装置,其特征在于,还包括:多个发光控制单元;
    多个所述发光控制单元与多个所述棋子检测位一一对应;
    所述发光控制单元的输入端与对应的所述棋子检测位的多个感光单元的输出端电连接;所述发光控制单元的输出端与对应的所述棋子检测位的发光单元的控制端电连接;
    所述发光控制单元用于控制所述发光单元的开启与关断。
  6. 根据权利要求5所述的棋子检测装置,其特征在于,所述发光控制单元包括与非门。
  7. 根据权利要求1所述的棋子检测装置,其特征在于,所述发光单元包括驱动发光芯片;
    所述驱动发光芯片与所述控制单元电连接;
    所述控制单元用于在所述驱动发光芯片未点亮状态下,根据每一个所述感光单元的感光状态确定每一个所述棋子检测位是否有棋子;并控制有棋子的所述棋子检测位对应的所述驱动发光芯片点亮后,根据每一个所述感光单元的感光状态确定每一个所述棋子检测位上所述棋子的类型。
  8. 根据权利要求7所述的棋子检测装置,其特征在于,所有所述 驱动发光芯片串行连接后与所述控制单元电连接。
  9. 一种游戏设备,其特征在于,包括如权利要求1-8中任一项所述的棋子检测装置。
  10. 一种棋子检测方法,其特征在于,适用于如权利要求1-8中任一项所述的棋子检测装置,包括:
    获取棋子检测位上每一个感光单元的感光状态;
    根据每一个所述感光单元的感光状态确定每一个所述棋子检测位上所述棋子的类型。
PCT/CN2023/101826 2022-06-30 2023-06-21 一种棋子检测装置、游戏设备及检测方法 WO2024001913A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210772471.9A CN115068925A (zh) 2022-06-30 2022-06-30 一种棋子检测装置、游戏设备及检测方法
CN202210772471.9 2022-06-30

Publications (1)

Publication Number Publication Date
WO2024001913A1 true WO2024001913A1 (zh) 2024-01-04

Family

ID=83258635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101826 WO2024001913A1 (zh) 2022-06-30 2023-06-21 一种棋子检测装置、游戏设备及检测方法

Country Status (2)

Country Link
CN (1) CN115068925A (zh)
WO (1) WO2024001913A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115068925A (zh) * 2022-06-30 2022-09-20 首都经济贸易大学 一种棋子检测装置、游戏设备及检测方法

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1167954A (zh) * 1996-06-07 1997-12-17 陈伟煌 一种自动棋类裁判机及其执行方法
CN101022863A (zh) * 2004-09-21 2007-08-22 皇家飞利浦电子股份有限公司 游戏板、棋子、粘附物和用于检测游戏板上的棋子的***
US20080237983A1 (en) * 2007-03-29 2008-10-02 Industrial Technology Research Institute Portable robotic board game playing system
CN102872586A (zh) * 2012-10-22 2013-01-16 赵姝颖 一种多功能智能象棋
CN105233493A (zh) * 2015-10-17 2016-01-13 林丽 带电子裁判的四国军棋
CN105854280A (zh) * 2016-03-23 2016-08-17 山东大学 一种基于光纤识别的自动记谱棋盘
CN108389231A (zh) * 2018-03-19 2018-08-10 刘想德 基于棋盘表面图像的棋子定位识别方法及***
CN111840974A (zh) * 2020-06-29 2020-10-30 上海纪烨物联网科技有限公司 适用于棋类游戏的智能识别方法及***
CN115068925A (zh) * 2022-06-30 2022-09-20 首都经济贸易大学 一种棋子检测装置、游戏设备及检测方法

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1167954A (zh) * 1996-06-07 1997-12-17 陈伟煌 一种自动棋类裁判机及其执行方法
CN101022863A (zh) * 2004-09-21 2007-08-22 皇家飞利浦电子股份有限公司 游戏板、棋子、粘附物和用于检测游戏板上的棋子的***
US20080237983A1 (en) * 2007-03-29 2008-10-02 Industrial Technology Research Institute Portable robotic board game playing system
CN102872586A (zh) * 2012-10-22 2013-01-16 赵姝颖 一种多功能智能象棋
CN105233493A (zh) * 2015-10-17 2016-01-13 林丽 带电子裁判的四国军棋
CN105854280A (zh) * 2016-03-23 2016-08-17 山东大学 一种基于光纤识别的自动记谱棋盘
CN108389231A (zh) * 2018-03-19 2018-08-10 刘想德 基于棋盘表面图像的棋子定位识别方法及***
CN111840974A (zh) * 2020-06-29 2020-10-30 上海纪烨物联网科技有限公司 适用于棋类游戏的智能识别方法及***
CN115068925A (zh) * 2022-06-30 2022-09-20 首都经济贸易大学 一种棋子检测装置、游戏设备及检测方法

Also Published As

Publication number Publication date
CN115068925A (zh) 2022-09-20

Similar Documents

Publication Publication Date Title
JP6571125B2 (ja) 発光ダイオード・スイッチ素子ならびにアレイ
JP5160431B2 (ja) プログラム可能な発光セグメントを備えるゲーム
CN101721804B (zh) 一种电子象棋棋盘及其行棋处理方法
WO2024001913A1 (zh) 一种棋子检测装置、游戏设备及检测方法
CN101022863B (zh) 游戏板、棋子、粘附物和用于检测游戏板上的棋子的***
CN101332357A (zh) 一种电子围棋棋盘
CN107185226B (zh) 一种具有设定和检测状态的智能魔方
CN102157091A (zh) 一种钢琴学习机和一种钢琴学习信息生成处理方法
CN100579614C (zh) 互动电子游戏***
CN104654189A (zh) 智能骰子游戏灯
CN102266661A (zh) 毽子
CN111433787A (zh) 手写输入装置及其输入提示方法
CN202223850U (zh) 能发声发光计数的毽子
CN219185801U (zh) 一种智能闯关游戏机
CN218729465U (zh) 一种多功能早教机及内容卡
CN211462041U (zh) 一种八键游戏机
JPH10258180A (ja) ゲ−ム装置
RU2799731C1 (ru) Интерактивные шахматы
CN213936198U (zh) 光电封装体和键盘
CN115064018A (zh) 一种多功能早教机及内容卡
CN114602156A (zh) 一种基于触觉交互的体验设备及体验方法
CN112531033A (zh) 光电封装体和键盘
KR20100051300A (ko) 온/오프라인 이용 가능한 전자보드
JP2003172658A (ja) 三原則色発光led反射型フォトカラーセンサー

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23830092

Country of ref document: EP

Kind code of ref document: A1