CN115167534B - Multidirectional steering control system and method for recreation game equipment - Google Patents
Multidirectional steering control system and method for recreation game equipment Download PDFInfo
- Publication number
- CN115167534B CN115167534B CN202210809542.8A CN202210809542A CN115167534B CN 115167534 B CN115167534 B CN 115167534B CN 202210809542 A CN202210809542 A CN 202210809542A CN 115167534 B CN115167534 B CN 115167534B
- Authority
- CN
- China
- Prior art keywords
- time
- steering
- real
- module
- control
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D3/00—Control of position or direction
- G05D3/12—Control of position or direction using feedback
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/24—Electric games; Games using electronic circuits not otherwise provided for
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Multimedia (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a multidirectional steering control system and method for recreation equipment, and belongs to the technical field of recreation equipment. In order to solve the problems of low control efficiency, poor control of steering process and influence on the accuracy of subsequent steering operation due to deviation, a logic control module determines a steering compiling logic program of steering equipment arranged in the game equipment according to a feedback signal and performs steering control, so that the aim of equipment steering interaction control is simplified, the problem of low rotation control efficiency when the game equipment is controlled to steer is solved, the experience of a user is improved, a coordinate generation module and a steering simulation module can verify and refresh coordinates of the game equipment after steering, the accuracy of the game equipment during steering control is improved, and a fault diagnosis module sends and processes a diagnosis result under the condition that abnormal errors are diagnosed, so that the equipment steering process is monitored and controlled, and better process control is realized.
Description
Technical Field
The invention relates to the technical field of recreation equipment, in particular to a multidirectional steering control system and method of recreation equipment.
Background
The use of intelligent control in toys and amusement devices is increasing, and existing amusement devices tend to suffer from the following drawbacks when controlling direction:
1. when the game equipment performs steering control operation, the equipment steering interaction control is complex, so that the rotation control efficiency is low, and the user experience is influenced.
2. Errors in steering control may occur, resulting in poor control of the steering process, and thus steering errors may occur during operation of the game device.
3. The accuracy of the subsequent steering operation can be affected due to the deviation of the first steering in the steering process, so that the deviation is brought to the subsequent steering every time, and the accuracy of the whole game equipment on steering control is affected.
Disclosure of Invention
The invention aims to provide a multidirectional steering control system and method for recreational game equipment, which have the advantages of high control efficiency, good control over steering process, avoidance of deviation and improvement of the accuracy of subsequent steering operation, and are used for solving the problems in the prior art.
In order to achieve the above purpose, the present invention provides the following technical solutions: a multidirectional steering control system of recreational game equipment is characterized by comprising an application layer, a real-time scheduling layer, a real-time control layer and electronic equipment;
the application layer is used for generating steering control data and sending signals to realize communication and man-machine interface interaction functions;
the real-time scheduling layer is used for running the steering control data signals of the application layer in real time, scheduling the operation instructions on the real-time control layer in real time and operating the game equipment;
the real-time control layer is used for executing the steering compiler generated by the real-time scheduling layer to finish steering operation instructions;
the electronic equipment is used for storing, running and implementing the application layer, the real-time scheduling layer and the real-time control layer system, and when the electronic equipment works, the application layer, the real-time scheduling layer and the real-time control layer are run to realize a multidirectional steering control system of the game equipment;
the real-time scheduling layer comprises a coordinate generation module, a data reading module, a steering simulation module, a fault diagnosis module, a data interaction module and a control sending module;
the coordinate generation module is used for generating an initial direction virtual coordinate before steering control is performed on the real-time control layer, and generating a secondary direction virtual coordinate again by matching with the steering simulation module after steering control is performed on the real-time control layer;
the data reading module is used for reading the manual operation compiler data sent by the application layer and reading the steering angle and direction data;
the steering simulation module is used for performing steering simulation according to the initial direction virtual coordinate generated by the coordinate generation module and generating a secondary direction virtual coordinate after steering control is performed by the real-time control layer;
the fault diagnosis module is used for carrying out real-time monitoring diagnosis on the operation of the real-time scheduling layer and the real-time control layer, and sending a fault diagnosis signal to the application layer when an abnormality or a fault occurs in cooperation with the data interaction module;
the data interaction module is used for carrying out data interaction connection on the application layer and the real-time control layer;
the control transmitting module is used for generating a control instruction into a digital steering angle signal, a digital torque signal and a digital displacement signal and transmitting a control instruction signal to the real-time control layer;
the fault diagnosis module is used for carrying out real-time monitoring diagnosis on the operation of the real-time scheduling layer and the real-time control layer, and comprises the following steps:
when the electronic equipment is in a working state and no new secondary direction virtual coordinates are generated by the real-time scheduling layer in a preset time interval period, determining whether steering control data signals are generated by the application layer in the current time period;
if not, judging that the operation of the real-time scheduling layer and the real-time control layer is normal;
if yes, acquiring data generation time corresponding to the latest signal data generated by the steering control data signal and data reading time corresponding to the latest reading result of the data reading module;
obtaining a first time difference based on the data generation time and the data reading time;
meanwhile, acquiring historical operation instruction response time of a system, establishing a response time data set, and acquiring change characteristics of the historical operation instruction response time based on the response time data set;
judging whether the system has response delay according to the change characteristics, if so, determining a response delay coefficient of the multi-azimuth steering control system based on the response time data set, and determining the current response time of the system according to the response delay coefficient and the standard response time of the system;
if not, taking the standard response time of the system as the current response time;
when the first time difference is larger than the current response time, judging that the application layer signal is abnormal in transmission, generating a first fault signal, and transmitting the first fault signal to a data interaction module;
when the first time difference is smaller than or equal to the current response time, acquiring data transmission time corresponding to the latest transmission data of the control transmission module;
obtaining a second time difference based on the data reading time and the data transmitting time;
when the second time difference is larger than the current response time, judging that the real-time scheduling layer works abnormally, generating a second fault signal, and sending the second fault signal to a data interaction module;
when the second time difference is smaller than or equal to the current response time, judging that the real-time scheduling layer works normally, and predicting the execution time of the operation instruction of the real-time control layer based on the response time difference range of the system signal and the first transmission time to serve as the predicted operation execution time;
acquiring the latest operation execution time according to the operation instruction execution record of the real-time control layer, and judging that the real-time control layer works normally when the time difference between the latest operation execution time and the predicted operation execution time is within a preset error;
when the time difference between the latest operation execution time and the predicted execution time is not within a preset error, judging that the real-time control layer works abnormally, generating a third fault signal, and sending the third fault signal to a data interaction module;
the real-time control layer comprises a steering control module and a logic control module;
the steering control module is used for generating a steering control instruction according to the steering angle signal, the moment signal and the displacement signal and sending the instruction to the logic control module;
the logic control module is used for completing logic control operation according to the steering control instruction sent by the steering control module to realize multidirectional steering of the game equipment.
Further, the application layer comprises a man-machine interaction module, an I/O configuration module and a data interface module;
the human-computer interaction module is used for generating a human-computer interaction interface, displaying real-time control information and real-time conditions of operation instructions of the real-time scheduling layer and the real-time control layer through the human-computer interaction module, and simultaneously, controlling the real-time scheduling layer and the real-time control layer in real time by an operator through the human-computer interaction module to control steering of the game equipment;
the I/O configuration module is used for digitizing signals, configuring analog configuration information and sending the configuration information to the real-time scheduling layer for processing;
the data interface module is used for translating the operation instruction generated by the application layer into a readable data format of the real-time scheduling layer.
Further, the coordinate generation module generates an initial direction virtual coordinate according to initial orientation information of the game device, steering operation data is generated according to steering operation actually performed by the real-time control layer after the real-time control layer completes an operation instruction sent by the application layer, the steering simulation module rotates the initial direction virtual coordinate according to the steering operation data, a secondary direction virtual coordinate is generated according to coordinate information of the rotated initial direction virtual coordinate after the rotation operation is completed, the coordinate generation module matches the secondary direction virtual coordinate with new orientation information of the game device, and after the matching is successful, the secondary direction virtual coordinate is updated to be a new initial direction virtual coordinate and is sent to the application layer through the data interaction module.
Further, the steering control module responds to the steering operation of the real-time dispatching layer, generates steering operation data, digitizes the first steering angle signal, the first torque signal and the first displacement signal according to the steering operation data, takes the digitized first steering angle signal, the digitized first torque signal and the digitized first displacement signal as feedback signals, and the logic control module determines a steering compiling logic program of the steering equipment arranged in the game equipment according to the feedback signals and performs steering control.
Further, the electronic device comprises at least one processor, a computer program product, and a memory communicatively coupled to the at least one processor, the memory having a computer-readable storage medium disposed therein;
the computer program product having instructions stored therein that, when executed on a computer, cause the computer to implement the multi-directional steering control system of a game play apparatus described above;
the memory stores instructions executable by the at least one processor, by executing the instructions stored by the memory, causing the electronic device to control a multi-directional steering system of the game device by executing the above-described multi-directional steering system;
the computer readable storage medium is for storing instructions that, when executed, cause the multi-directional steering control system of the amusement gaming device described above to be implemented.
Another technical problem to be solved by the present invention is to provide a method for using a multidirectional steering control system of a game apparatus, comprising the steps of:
step one: the method comprises the steps that a human-computer interaction module is used for sending a steering instruction, and an I/O configuration module and a data interface module are used for processing the instruction and sending the instruction to a real-time scheduling layer;
step two: generating an initial direction virtual coordinate through a coordinate generating module, reading the steering angle and direction data by a data reading module, and transmitting a digitized steering angle signal, a torque signal and a displacement signal to a real-time control layer by a control transmitting module;
step three: generating a steering control instruction by a steering control module through a steering angle signal, a moment signal and a displacement signal, and completing logic control operation by a logic control module according to the steering control instruction to realize multidirectional steering of the game equipment;
step four: the method comprises the steps that rotation operation is carried out on an initial direction virtual coordinate through a steering simulation module, and a coordinate generation module regenerates a new initial direction virtual coordinate according to the situation after steering;
step five: and the fault diagnosis module monitors and diagnoses the operation of the real-time scheduling layer and the real-time control layer in real time in the steering process.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the multidirectional steering control system and method for the game equipment, the steering control module generates the feedback signal, the logic control module determines the steering compiling logic program of the steering equipment arranged in the game equipment according to the feedback signal and performs steering control, the purpose of equipment steering interaction control is simplified, the problem of low rotation control efficiency when the game equipment is controlled to steer is solved, and the experience of a user is improved.
2. According to the multidirectional steering control system and method for the game equipment, the coordinate generation module generates the initial direction virtual coordinate before steering control is performed on the real-time control layer, and the coordinate generation module and the steering simulation module are matched with the steering simulation module to regenerate the secondary direction virtual coordinate after steering control is performed on the real-time control layer, so that the coordinates of the game equipment after steering can be verified and refreshed, the accuracy of the follow-up steering control on the game equipment is improved, and the influence of primary steering on the accuracy of follow-up steering is avoided.
3. According to the multidirectional steering control system and method for the recreation game equipment, the fault diagnosis module monitors and diagnoses the operation of the real-time scheduling layer and the real-time control layer in real time, the fault diagnosis module can monitor and diagnose the operation state of the recreation game equipment in real time in the process of programming and loading operation, and the diagnosis result is sent to the man-machine interaction module for processing under the condition that an abnormal error is diagnosed, so that the steering process of the equipment is monitored and controlled, and better process control is realized.
Drawings
FIG. 1 is a schematic diagram of an overall system module of the present invention;
FIG. 2 is a schematic diagram of an application layer module according to the present invention;
FIG. 3 is a schematic diagram of a real-time scheduling layer module according to the present invention;
FIG. 4 is a schematic diagram of a real-time control layer module according to the present invention;
fig. 5 is a schematic diagram of an electronic device module according to the present invention.
In the figure: 1. an application layer; 11. a man-machine interaction module; 12. an I/O configuration module; 13. a data interface module; 2. a real-time scheduling layer; 21. a coordinate generation module; 22. a data reading module; 23. a steering simulation module; 24. a fault diagnosis module; 25. a data interaction module; 26. a control transmitting module; 3. a real-time control layer; 31. a steering control module; 32. a logic control module; 4. an electronic device; 41. a processor; 42. a computer program product; 43. a memory; 44. computer readable storage media.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a multidirectional steering control system of a game device includes an application layer 1, a real-time scheduling layer 2, a real-time control layer 3 and an electronic device 4;
the application layer 1 is used for generating steering control data and sending signals to realize communication and man-machine interface interaction functions; the real-time scheduling layer 2 is used for running the control data signals of the application layer 1 in real time, scheduling the operation instructions on the real-time control layer 3 in real time and operating the game equipment; the real-time control layer 3 is used for executing the steering compiler generated by the real-time scheduling layer 2 to finish steering operation instructions; the electronic device 4 is used for storing, running and implementing the system of the application layer 1, the real-time scheduling layer 2 and the real-time control layer 3, and when the electronic device 4 works, the system of the application layer 1, the real-time scheduling layer 2 and the real-time control layer 3 is run, and a multidirectional steering control system of the game device is realized.
Referring to fig. 2, the application layer 1 includes a man-machine interaction module 11, an I/O configuration module 12, and a data interface module 13;
the human-computer interaction module 11 is used for generating a human-computer interaction interface, displaying real-time control information and real-time conditions of operation instructions of the real-time scheduling layer 2 and the real-time control layer 3 through the human-computer interaction module 11, and simultaneously controlling the real-time scheduling layer 2 and the real-time control layer 3 in real time through the human-computer interaction module 11 by an operator so as to control steering of the game equipment; the I/O configuration module 12 is used for digitizing signals, configuring analog configuration information and sending the configuration information to the real-time scheduling layer 2 for processing; the data interface module 13 is used for translating the operation instruction generated by the application layer 1 into a readable data format of the real-time scheduling layer 2.
Specifically, the I/O configuration module 12 and the data interface module 13 may be configured to convert the control instruction sent by the man-machine interaction module 11 into a configuration simulation configuration, so that the steering or control manner may be performed more flexibly and more openly.
In order to solve the technical problem that an error may occur in the process of steering control to cause poor control of the steering process, so that steering errors may be caused in the running process of the game device, and meanwhile, the accuracy of the subsequent steering operation may be affected due to deviation caused by the first steering in the steering process, referring to fig. 3, the present embodiment provides the following technical scheme:
the real-time scheduling layer 2 comprises a coordinate generation module 21, a data reading module 22, a steering simulation module 23, a fault diagnosis module 24, a data interaction module 25 and a control sending module 26;
the coordinate generating module 21 is configured to generate an initial direction virtual coordinate before the real-time control layer 3 performs steering control, and to cooperate with the steering simulation module 23 to regenerate a secondary direction virtual coordinate after the real-time control layer 3 performs steering control; the data reading module 22 is used for reading the manual operation compiler data sent by the application layer 1 and reading the steering angle and direction data; the steering simulation module 23 is used for performing steering simulation according to the initial direction virtual coordinates generated by the coordinate generation module 21 after the real-time control layer 3 performs steering control; the fault diagnosis module 24 is used for performing real-time monitoring diagnosis on the operation of the real-time scheduling layer 2 and the real-time control layer 3, and sending a fault diagnosis signal to the application layer 1 when an abnormality or a fault occurs in cooperation with the data interaction module 25; the data interaction module 25 is used for performing data interaction connection on the application layer 1 and the real-time control layer 3; the control transmitting module 26 is used for generating a digitized steering angle signal, a torque signal and a displacement signal from the control command and transmitting the control command signal to the real-time control layer 3.
The coordinate generation module 21 generates initial direction virtual coordinates according to initial direction information of the game device, after the real-time control layer 3 completes an operation instruction sent by the application layer 1, steering operation data is generated according to steering operation actually performed by the real-time control layer 3, the steering simulation module 23 rotates the initial direction virtual coordinates according to the steering operation data, after the rotation operation is completed, the coordinate generation module 21 matches the secondary direction virtual coordinates with new direction information of the game device, updates the secondary direction virtual coordinates to new initial direction virtual coordinates after the matching is successful, and sends the new initial direction virtual coordinates to the application layer 1 through the data interaction module 25.
Specifically, the fault diagnosis module 24 can monitor and diagnose the running state of the device in real time during the programming loading running process, and send the diagnosis result to the man-machine interaction module 11 for processing under the condition of diagnosing abnormal errors, so as to monitor and control the device steering process, thereby realizing better process control. The coordinate generating module 21 and the steering simulation module 23 can verify and refresh the coordinates of the game device after steering, thereby improving the accuracy of the subsequent steering control of the game device and avoiding the influence of the first steering on the accuracy of the subsequent steering.
The fault diagnosis module 24 is configured to perform real-time monitoring diagnosis on the operation of the real-time scheduling layer 2 and the real-time control layer 3, and includes:
when the electronic equipment 4 is in a working state and no new secondary direction virtual coordinates are generated by the real-time scheduling layer 2 in a preset time interval period, determining whether steering control data signals are generated by the application layer 1 in the current time period;
if not, judging that the operation of the real-time scheduling layer 2 and the real-time control layer 3 is normal;
if so, acquiring the data generation time corresponding to the latest signal data generated by the steering control data signal and the data reading time corresponding to the latest reading result of the data reading module 22;
obtaining a first time difference based on the data generation time and the data reading time;
meanwhile, acquiring historical operation instruction response time of a system, establishing a response time data set, and acquiring change characteristics of the historical operation instruction response time based on the response time data set;
judging whether the system has response delay according to the change characteristics, if so, determining a response delay coefficient of the multi-azimuth steering control system based on the response time data set, and determining the current response time of the system according to the response delay coefficient and the standard response time of the system;
if not, taking the standard response time of the system as the current response time;
when the first time difference is greater than the current response time, determining that the application layer 1 signal transmission is abnormal, generating a first fault signal, and transmitting the first fault signal to a data interaction module 25;
when the first time difference is less than or equal to the current response time, acquiring a data transmission time corresponding to the latest transmission data of the control transmission module 26;
obtaining a second time difference based on the data reading time and the data transmitting time;
when the second time difference is greater than the current response time, judging that the real-time scheduling layer 2 works abnormally, generating a second fault signal, and sending the second fault signal to a data interaction module 25;
when the second time difference is smaller than or equal to the current response time, judging that the real-time scheduling layer 2 works normally, and predicting the execution time of the operation instruction of the real-time control layer 3 based on the response time difference range of the system signal and the first sending time to serve as the predicted operation execution time;
acquiring the latest operation execution time according to the operation instruction execution record of the real-time control layer 3, and judging that the real-time control layer 3 works normally when the time difference between the latest operation execution time and the predicted operation execution time is within a preset error;
when the time difference between the latest operation execution time and the predicted execution time is not within a preset error, the real-time control layer 3 is judged to work abnormally, a third fault signal is generated, and the third fault signal is sent to the data interaction module 25.
The data generation time refers to the time when the application layer 1 generates the steering control data signal.
The data reading time is the latest reading result corresponding time of the data reading module 22.
The first time difference is a time difference obtained by subtracting the data reading time and the data generating time; the second time difference is a time difference obtained by subtracting the data transmission time and the data reading time.
The data transmission time refers to the time when the control transmission module 26 transmits the latest received data to the real-time control layer 3.
The response time data set refers to a data set constructed of a plurality of historical operating instruction response times.
The change characteristic refers to whether the change time length of the historical operation instruction response time of the system changes along with the time, and the operation instruction response time refers to the time from the generation time of the control data signal to the completion time of the execution of the operation instruction.
The response delay coefficient refers to the ratio of the average response duration of a plurality of historical operation instruction response times of the system to the standard response time, and is used for representing the response delay degree of the system.
The first fault signal is a fault signal generated by a fault diagnosis module when the application layer 1 works abnormally; the second fault signal is a fault signal generated by the fault diagnosis module when the real-time scheduling layer 2 works abnormally; the third fault signal is a fault signal generated by the fault diagnosis module when the real-time control layer 3 works abnormally.
The operation instruction execution time refers to the time when the real-time control layer 3 executes the steering control instruction.
Specifically, when the electronic device is started to work, the fault diagnosis module 24 detects the generation condition of the generation of the secondary direction virtual coordinates of the real-time scheduling layer according to the set frequency (preset time interval), so that the autonomous fault detection of the system is realized, the fault of the system is found in time, the user experience is improved, and meanwhile, the execution condition of the steering operation instruction of the system in the preset time interval period is also quickly determined;
the working principle and the beneficial effects of the technical scheme are as follows: when no new steering operation instruction is executed (namely no secondary direction virtual coordinate is generated) in the current period and the application layer 1 does not generate steering control data signals in a preset time interval, confirming that the real-time scheduling layer 2 and the real-time control layer 3 run normally; when no new steering operation instruction is executed (i.e. no secondary direction virtual coordinates are generated) in the current period and the application layer 1 generates steering control data signals in a preset time interval, the fault diagnosis module 24 compares steering control data processing time (data generation time, data reading time, data sending time and prediction execution time) among the application layer 1, the real-time scheduling layer 2 and the real-time control layer 3 with the current response time of the system, quickly determines the abnormal operation position of the system, generates different fault signals according to the different abnormal positions, is convenient for system management personnel to quickly determine the operation faults and fault reasons of the system, and is beneficial to improving the rush-repair efficiency of the system; meanwhile, when the abnormal position is judged, the current response time of the system is updated, the situation that the abnormal operation position is not judged to be prepared due to the fact that the current response time of the system is prolonged as the system response time is prolonged due to the problems of equipment aging, network delay and the like is avoided, and the accuracy of the abnormal operation position judgment of the system is ensured.
In order to solve the technical problems of low rotation control efficiency and influence on user experience caused by complex device steering interaction control when the game device performs steering control operation, referring to fig. 4, the present embodiment provides the following technical scheme:
the real-time control layer 3 comprises a steering control module 31 and a logic control module 32;
the steering control module 31 is configured to generate a steering control command according to the steering angle signal, the torque signal and the displacement signal, and send the command to the logic control module 32; the logic control module 32 is used for completing logic control operation according to the steering control instruction sent by the steering control module 31 to realize multidirectional steering of the game device.
The steering control module 31 generates steering operation data in response to the steering operation of the real-time scheduling layer 2, digitizes the first steering angle signal, the first torque signal, and the first displacement signal according to the steering operation data, uses the digitized first steering angle signal, first torque signal, and first displacement signal as feedback signals, and the logic control module 32 determines a steering compiling logic program of a steering device built in the game device according to the feedback signals and performs steering control.
Specifically, the arrangement of the steering control module 31 and the logic control module 32 simplifies the purpose of device steering interaction control, solves the problem of low rotation control efficiency when controlling the steering of the game device, and improves the experience of users.
Referring to fig. 5, the electronic device 4 includes at least one processor 41, a computer program product 42, and a memory 43 communicatively connected to the at least one processor 41, the memory 43 having a computer readable storage medium 44 disposed therein;
wherein the computer program product 42 has stored therein instructions that, when executed on a computer, cause the computer to execute a multi-directional steering control system of a game play apparatus; the memory 43 stores instructions executable by the at least one processor 41, by executing the instructions stored by the memory 43, causing the electronic device 4 to control a system for multi-directional steering of a game device by executing the game device; the computer readable storage medium 44 is for storing instructions that, when executed, cause a multi-directional steering control system of a game play apparatus to be implemented.
In particular, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the specified functions.
In order to better show the multidirectional steering control system of the game device, the embodiment now provides a use method of the multidirectional steering control system of the game device, which comprises the following steps:
step one: the human-computer interaction module 11 is used for sending a steering instruction, and the I/O configuration module 12 and the data interface module 13 are used for processing the instruction and sending the instruction to the real-time scheduling layer 2;
step two: the coordinate generating module 21 generates an initial direction virtual coordinate, the data reading module 22 reads the steering angle and direction data, and the control transmitting module 26 transmits the digitized steering angle signal, torque signal and displacement signal to the real-time control layer 3;
step three: generating a steering control command by the steering control module 31 through the steering angle signal, the moment signal and the displacement signal, and completing logic control operation by the logic control module 32 according to the steering control command to realize multidirectional steering of the game equipment;
step four: the steering simulation module 23 rotates the virtual coordinate of the initial direction, and the coordinate generation module 21 regenerates the new virtual coordinate of the initial direction according to the situation after steering;
step five: the operation of the real-time scheduling layer 2 and the real-time control layer 3 is monitored and diagnosed in real time in the steering process by the fault diagnosis module 24.
In summary, the multidirectional steering control system and method for the game device simplify the purpose of device steering interaction control, solve the problem of low rotation control efficiency when controlling the steering of the game device, improve the experience of a user, and enable the coordinate generation module 21 and the steering simulation module 23 to verify and refresh the coordinates of the game device after steering, thereby improving the accuracy of the game device when steering is controlled subsequently, avoiding the influence of the first steering on the accuracy of the subsequent steering, enabling the fault diagnosis module 24 to monitor and diagnose the running state of the game device in real time during programming and loading operation, and sending the diagnosis result to the man-machine interaction module 11 for processing under the condition of diagnosing abnormal errors, thereby monitoring and controlling the steering process of the game device to realize better process control.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, shall cover the scope of the present invention by equivalent substitution or modification according to the technical scheme and the inventive concept of the present invention.
Claims (6)
1. A multidirectional steering control system of recreational game equipment is characterized by comprising an application layer (1), a real-time scheduling layer (2), a real-time control layer (3) and electronic equipment (4);
the application layer (1) is used for generating steering control data and sending signals to realize communication and man-machine interface interaction functions;
the real-time scheduling layer (2) is used for running steering control data signals of the application layer (1) in real time and scheduling operation instructions on the real-time control layer (3) in real time to operate the game equipment;
the real-time control layer (3) is used for executing the steering compiling program generated by the real-time scheduling layer (2) to finish steering operation instructions;
the electronic equipment (4) is used for storing, running and implementing the systems of the application layer (1), the real-time scheduling layer (2) and the real-time control layer (3), and when the electronic equipment (4) works, the application layer (1), the real-time scheduling layer (2) and the real-time control layer (3) are run, and a multidirectional steering control system of the recreation game equipment is realized;
the real-time scheduling layer (2) comprises a coordinate generation module (21), a data reading module (22), a steering simulation module (23), a fault diagnosis module (24), a data interaction module (25) and a control sending module (26);
the coordinate generation module (21) is used for generating an initial direction virtual coordinate before the real-time control layer (3) performs steering control and generating a secondary direction virtual coordinate again by matching with the steering simulation module (23) after the real-time control layer (3) performs steering control;
the data reading module (22) is used for reading the manual operation compiler data sent by the application layer (1) and reading the steering angle and direction data;
the steering simulation module (23) is used for performing steering simulation according to the initial direction virtual coordinate generated by the coordinate generation module (21) and generating a secondary direction virtual coordinate after the real-time control layer (3) performs steering control;
the fault diagnosis module (24) is used for carrying out real-time monitoring diagnosis on the operation of the real-time scheduling layer (2) and the real-time control layer (3), and sending a fault diagnosis signal to the application layer (1) when an abnormality or a fault occurs in cooperation with the data interaction module (25);
the data interaction module (25) is used for carrying out data interaction connection on the application layer (1) and the real-time control layer (3);
the control transmitting module (26) is used for generating a digital steering angle signal, a digital torque signal and a digital displacement signal from a control instruction and transmitting the control instruction signal to the real-time control layer (3);
the fault diagnosis module (24) is used for performing real-time monitoring diagnosis on the operation of the real-time scheduling layer (2) and the real-time control layer (3), and comprises the following components:
when the electronic equipment (4) is in a working state and no new secondary direction virtual coordinates are generated by the real-time scheduling layer (2) in a preset time interval period, determining whether steering control data signals are generated by the application layer (1) in the current time period;
if not, judging that the real-time scheduling layer (2) and the real-time control layer (3) are normal in operation;
if so, acquiring the data generation time corresponding to the latest signal data generated by the steering control data signal and the data reading time corresponding to the latest reading result of the data reading module (22);
obtaining a first time difference based on the data generation time and the data reading time;
meanwhile, acquiring historical operation instruction response time of a system, establishing a response time data set, and acquiring change characteristics of the historical operation instruction response time based on the response time data set;
judging whether the system has response delay according to the change characteristics, if so, determining a response delay coefficient of the multi-azimuth steering control system based on the response time data set, and determining the current response time of the system according to the response delay coefficient and the standard response time of the system;
if not, taking the standard response time of the system as the current response time;
when the first time difference is larger than the current response time, judging that the signal transmission of the application layer (1) is abnormal, generating a first fault signal, and transmitting the first fault signal to a data interaction module (25);
when the first time difference is smaller than or equal to the current response time, acquiring data transmission time corresponding to the latest transmission data of the control transmission module (26);
obtaining a second time difference based on the data reading time and the data transmitting time;
when the second time difference is larger than the current response time, judging that the real-time scheduling layer (2) works abnormally, generating a second fault signal, and sending the second fault signal to a data interaction module (25);
when the second time difference is smaller than or equal to the current response time, judging that the real-time scheduling layer (2) works normally, and predicting the execution time of the operation instruction of the real-time control layer (3) based on the response time difference range of the system signal and the first transmission time to serve as the predicted operation execution time;
acquiring the latest operation execution time according to the operation instruction execution record of the real-time control layer (3), and judging that the real-time control layer (3) works normally when the time difference between the latest operation execution time and the predicted operation execution time is within a preset error;
when the time difference between the latest operation execution time and the predicted execution time is not within a preset error, judging that the real-time control layer (3) works abnormally, generating a third fault signal, and sending the third fault signal to a data interaction module (25);
the real-time control layer (3) comprises a steering control module (31) and a logic control module (32);
the steering control module (31) is used for generating a steering control instruction according to the steering angle signal, the moment signal and the displacement signal and sending the instruction to the logic control module (32);
the logic control module (32) is used for completing logic control operation according to the steering control instruction sent by the steering control module (31) to realize multidirectional steering of the game equipment.
2. A multi-directional steering control system for a game play apparatus as set forth in claim 1, wherein: the application layer (1) comprises a man-machine interaction module (11), an I/O configuration module (12) and a data interface module (13);
the human-computer interaction module (11) is used for generating a human-computer interaction interface, displaying real-time control information and real-time conditions of operation instructions of the real-time scheduling layer (2) and the real-time control layer (3) through the human-computer interaction module (11), and simultaneously, controlling the real-time scheduling layer (2) and the real-time control layer (3) in real time by an operator through the human-computer interaction module (11) to control the steering of the game equipment;
the I/O configuration module (12) is used for digitizing signals, configuring analog configuration information and sending the configuration information to the real-time scheduling layer (2) for processing;
the data interface module (13) is used for translating the operation instruction generated by the application layer (1) into a readable data format of the real-time scheduling layer (2).
3. A multi-directional steering control system for a game play apparatus as set forth in claim 1, wherein: the coordinate generation module (21) generates initial direction virtual coordinates according to initial direction information of the game equipment, steering operation data are generated according to steering operation actually performed by the real-time control layer (3) after the real-time control layer (3) completes an operation instruction sent by the application layer (1), the steering simulation module (23) rotates the initial direction virtual coordinates according to the steering operation data, the coordinate information of the rotated initial direction virtual coordinates generates secondary direction virtual coordinates after the rotation operation is completed, the coordinate generation module (21) matches the secondary direction virtual coordinates with new direction information of the game equipment, and after the matching is successful, the secondary direction virtual coordinates are updated to be new initial direction virtual coordinates and are sent to the application layer (1) through the data interaction module (25).
4. A multi-directional steering control system for a game play apparatus as set forth in claim 1, wherein: the steering control module (31) responds to the steering operation of the real-time dispatching layer (2), generates steering operation data, digitizes and generates a first steering angle signal, a first moment signal and a first displacement signal according to the steering operation data, takes the digitized first steering angle signal, the first moment signal and the first displacement signal as feedback signals, and the logic control module (32) determines a steering compiling logic program of a steering device arranged in the game device according to the feedback signals and performs steering control.
5. A multi-directional steering control system for a game play apparatus as set forth in claim 1, wherein: the electronic device (4) comprises at least one processor (41), a computer program product (42) and a memory (43) communicatively connected to the at least one processor (41), wherein a computer readable storage medium (44) is arranged in the memory (43);
the computer program product (42) having instructions stored therein that, when run on a computer, cause the computer to perform the multi-directional steering control system of the amusement game device according to any one of claims 1-4;
-the memory (43) stores instructions executable by the at least one processor (41), the at least one processor (41) causing the electronic device (4) to control the steering of the game device in multiple directions by executing the instructions stored by the memory (43);
the computer readable storage medium (44) is for storing instructions that, when executed, cause a multi-directional steering control system of a game play apparatus as claimed in any one of claims 1-4 to be implemented.
6. A method of using a multi-directional steering control system of a game play apparatus according to any one of claims 1-5, characterized in that: the method comprises the following steps:
step one: the method comprises the steps that a human-computer interaction module (11) is used for sending a steering instruction, and an I/O configuration module (12) and a data interface module (13) are used for processing the instruction and sending the instruction to a real-time scheduling layer (2);
step two: the initial direction virtual coordinates are generated through the coordinate generation module (21), the data reading module (22) reads the steering angle and direction data, and the control transmission module (26) transmits the digitized steering angle signals, torque signals and displacement signals to the real-time control layer (3);
step three: the steering control module (31) generates steering control instructions from steering angle signals, moment signals and displacement signals, and the logic control module (32) completes logic control operation according to the steering control instructions to realize multidirectional steering of the game equipment;
step four: the initial direction virtual coordinates are rotated through a steering simulation module (23), and a coordinate generation module (21) regenerates new initial direction virtual coordinates according to the situation after steering;
step five: the fault diagnosis module (24) is used for carrying out real-time monitoring diagnosis on the operation of the real-time scheduling layer (2) and the real-time control layer (3) in the steering process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210809542.8A CN115167534B (en) | 2022-07-11 | 2022-07-11 | Multidirectional steering control system and method for recreation game equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210809542.8A CN115167534B (en) | 2022-07-11 | 2022-07-11 | Multidirectional steering control system and method for recreation game equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115167534A CN115167534A (en) | 2022-10-11 |
CN115167534B true CN115167534B (en) | 2023-06-20 |
Family
ID=83492748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210809542.8A Active CN115167534B (en) | 2022-07-11 | 2022-07-11 | Multidirectional steering control system and method for recreation game equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115167534B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533263B (en) * | 2009-02-17 | 2011-01-26 | 固高科技(深圳)有限公司 | Computer programmable autocontrol system and control method thereof |
CN109908581B (en) * | 2019-03-21 | 2022-11-08 | 网易(杭州)网络有限公司 | Game operation method, device and equipment |
CN112308910B (en) * | 2020-10-10 | 2024-04-05 | 达闼机器人股份有限公司 | Data generation method, device and storage medium |
CN112148622B (en) * | 2020-10-15 | 2022-02-25 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, electronic equipment and storage medium |
CN112612387B (en) * | 2020-12-18 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Method, device and equipment for displaying information and storage medium |
-
2022
- 2022-07-11 CN CN202210809542.8A patent/CN115167534B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115167534A (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023125852A1 (en) | Remote diagnosis method and apparatus, and electronic device and storage medium | |
WO2023125591A1 (en) | Remote diagnosis method, apparatus and system, and electronic device and storage medium | |
WO2023125590A1 (en) | Remote diagnosis method and apparatus, and electronic device and storage medium | |
CN111830940A (en) | Engineering machine fault diagnosis method, terminal, system and electronic equipment | |
CN103680655B (en) | Nuclear plant digital I&C system default value method to set up and system | |
CN110989403B (en) | Comprehensive energy regulation and control system, control method thereof and server | |
CN112737936A (en) | Edge computing gateway for equipment pre-maintenance | |
CN115437339A (en) | Remote diagnosis method and device, electronic equipment and storage medium | |
CN115167347A (en) | Remote diagnosis method for vehicle-end Ethernet node based on SOA service | |
CN115167534B (en) | Multidirectional steering control system and method for recreation game equipment | |
CN113341937B (en) | Signal injection method for hardware-in-loop test of electronic gear shifting system | |
CN113064618A (en) | System and method for simulating new energy vehicle conformance detection | |
WO1990002366A1 (en) | System for diagnosing cnc | |
CN111505977A (en) | Function auxiliary debugging method, device, system and medium | |
CN112356818A (en) | Function safety monitoring method for range extender control system | |
CN109483536A (en) | Additional axis adding method and device for robot, storage medium and robot | |
CN106965181B (en) | Robot control method and system based on ROS and OROCOS | |
CN113220345A (en) | Instruction block processing method, device, equipment and storage medium | |
CN102157209B (en) | On-line monitoring method and system thereof for rod control system of nuclear power station | |
KR100685443B1 (en) | Remote Terminal Unit for integrated ship automation control | |
CN114193459B (en) | Control system of mechanical arm and test method thereof | |
CN110244188A (en) | Power grid fault diagnosis method and device and power distribution switch monitoring terminal | |
CN110751873B (en) | Method for interconnecting whole vehicle electric control practical training platform of new energy automobile and actual vehicle | |
CN117134508B (en) | Multi-data fusion monitoring system of power distribution one-key centralized control device | |
JPS6184936A (en) | Remote supervisory control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |