Carriage separation control method, device and equipment of electric train model and medium
By introducing carriage connection components and a control system into the electric train model, automatic uncoupling and connection are achieved, solving the problem of automatic uncoupling in existing technologies and meeting the needs of players for complex scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-15
- Publication Date
- 2026-04-14
AI Technical Summary
Existing electric train models cannot automatically uncouple and connect train carriages, failing to meet players' needs for complex scenarios.
By introducing carriage connection components into the electric train model, including the mounting body, coupler connectors, and drive modules, and utilizing the coordinated control of the main controller and slave controller, the electric train model can achieve automatic uncoupling and connection.
It achieves automatic unhooking and reconnection of electric train models, meeting players' needs for diverse scenarios, especially the unhooking gameplay on slopes.
Smart Images

Figure CN121846691A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric train model technology, and in particular to a method, device, equipment and medium for controlling the separation of carriages in an electric train model. Background Technology
[0002] Electric train models are replicas of all the mechanical structures and functions of real trains, capable of running on model tracks. Within the electric train model industry, enthusiasts are increasingly demanding more ways to play with their models. They hope to replicate the routes of real trains using electric train models.
[0003] Currently, electric train model enthusiasts place a track model on the ground, freely setting its direction and height according to their own ideas, and then place the electric train model on the track model, allowing the electric train model to move on the track model. However, due to the reduction in size from real trains, it is difficult to ensure the precision of each component of the electric train model. The current electric train models can only meet the requirements of electric train model enthusiasts in terms of appearance and structure; when it is necessary to detach parts of the train carriages, enthusiasts can only manually separate the carriages one by one, which cannot meet the scenario of automatically detaching parts of the train carriages. Summary of the Invention
[0004] The present invention aims to at least solve one of the technical problems existing in the prior art. To this end, the present invention proposes a method, device, equipment, and medium for controlling the separation of carriages of an electric train model, which can realize the automatic uncoupling and automatic connection of the electric train model.
[0005] In a first aspect, embodiments of the present invention provide a carriage separation control method for an electric train model, applicable to an electric train model including carriage connecting components. The electric train model includes a first train model and a second train model. Each electric train model includes at least one carriage. At least one carriage connecting component is installed at both the front and rear ends of the carriage. The carriage connecting component includes an installation body, a coupler connector, a fastener, and a drive module. The installation body is fixed to the carriage. One end of the coupler connector is provided with a hook, and the other end is installed to the installation body. The fastener is hinged to the installation body at one end near the carriage body. The drive module is fixed to the installation body and is used to control the height of the fastener at the end furthest from the carriage body. The method includes: The hook of the first carriage group is located inside the buckle of the end of the first train model, and the hook of the end of the first train model is located inside the buckle of the first carriage group. When the first train model receives a release command, it controls the buckle of the end of the first carriage group and the first train model to lift up, so that the first carriage group is detached from the first train model. The first carriage group is stationary, and the end of the second train model is close to the first carriage group. When the second train model and the first carriage group receive a connection command, the first carriage group and the fastener located at the end of the second train model are controlled to rise, the second train model is controlled to move closer to the first carriage group, and the fastener of the first carriage group of the second train model is controlled to fall, so that the first carriage group is connected to the second train model.
[0006] According to some embodiments of the present invention, the electric train model further includes a main controller, the carriage includes a slave controller, a locomotive decoder, a control circuit board and the drive module connected in sequence, the drive module includes a motor, the motor is fixed to the mounting body, and the main controller is connected in communication with all the slave controllers; Before the lifting of the buckle at the end of the first carriage group and the first train model, the method further includes: The main controller of the first train model generates the uncoupling command and sends the uncoupling command to all the slave controllers of the first carriage group and the slave controllers connected to the carriage located at the end of the first train model; For any slave controller that receives the uncoupling command, the slave controller sends the uncoupling command to the locomotive decoder. The locomotive decoder generates a uncoupling signal based on the uncoupling command. The control circuit board sends the acquired uncoupling signal to the motor to control the rotation direction and speed of the motor.
[0007] According to some embodiments of the present invention, the drive module further includes a gear, the gear being fixed to the rotating shaft of the motor, the buckle being mounted on one end of the drive module and having an arc-shaped gear tooth segment that meshes with the gear, and the carriage body being provided with a speed sensor, the speed sensor being communicatively connected to the slave controller; Controlling the lifting of the fasteners at the ends of the first carriage assembly and the first train model, so that the first carriage assembly detaches from the first train model, includes: For any slave controller that receives the unhooking command, the slave controller controls the motor to rotate forward, and the motor drives the buckle body to rotate along the hinge point with the mounting body through the gear and the arc-shaped gear tooth segment, and the height of the end of the buckle body that is not hinged to the mounting body increases; When the height of the end of the buckle not hinged to the mounting body is greater than the height of the hook, the first carriage group is disengaged from the first train model, and the main controller of the first train model controls the speed of the first train model to be constant. When the speed signal fed back by the speed sensor of the first carriage group indicates that the speed of the first carriage group is less than a preset threshold, for the first carriage group and the slave controller located at the end of the first train model, the slave controller controls the motor to reverse, and the motor drives the height of the buckle body not hinged to the mounting body to decrease until the buckle body is in a horizontal position through the gear and the arc-shaped gear tooth segment. The slave controller of the first carriage group disconnects the communication connection with the master controller of the first train model, wherein the speed signal is used to characterize the movement speed of the first carriage group.
[0008] According to some embodiments of the present invention, the coupler connector is hinged to the mounting body via a hinge block, the arc-shaped wheel tooth segment is provided with a limiting through hole, and the hinge block is provided with a positioning protrusion on the side near the limiting through hole. The positioning protrusion can move inside the limiting through hole. When the buckle body is in a horizontal position, the positioning protrusion is located at the bottom of the limiting through hole. The controller controls the motor to rotate forward, and the motor drives the buckle body to rotate along the hinge point with the mounting body through the gear and the arc-shaped gear tooth segment. The height of the end of the buckle body not hinged to the mounting body increases, including: The motor drives the gear to rotate forward, and the gear drives the buckle body to rotate forward through the arc-shaped gear tooth segment, raising the height of the end of the buckle body near the hook body; As the height of the limiting through hole increases, the limiting through hole drives the positioning protrusion to rise, drives the hinge block to rotate, and the height of the hook body to decrease.
[0009] According to some embodiments of the present invention, a first track model, a second track model, and a platform model are arranged on the same horizontal plane. One end of the platform model is connected to the first track model and the second track model respectively. A first grating is provided at one end of the platform model connected to the first track model and the second track model, and a second grating is provided at the other end. The main controller is communicatively connected to the first grating and the second grating respectively. Before connecting the first carriage group to the second train model, the method further includes: When the first train model passes the first grating, the first grating sends a first electrical signal to the main controller of the first train model. The main controller of the first train model controls the braking of the first train model based on the first electrical signal. When the first train model passes the second grating, the second grating sends a second electrical signal to the main controller of the first train model. The main controller of the first train model generates the uncoupling command based on the second electrical signal and sends the uncoupling command to the first carriage group and the slave controller located at the end of the first train model. The first train model is decoupled from the first carriage group, and the first carriage group is stationary on the platform model. When the first train model passes the first grating, the first grating sends a third electrical signal to the main controller of the second train model. The main controller of the second train model controls the second train model to move closer to the first carriage group on the second track model based on the third electrical signal.
[0010] According to some embodiments of the present invention, a first track model, a horizontal platform model, and a second track model are arranged sequentially from top to bottom. One end of the platform model is connected to the first track model and the second track model respectively. A first grating is provided at one end of the platform model connected to the first track model and the second track model, and a second grating is provided at the other end. The main controller is communicatively connected to the first grating and the second grating respectively. Before connecting the first carriage group to the second train model, the method further includes: After the first carriage group detaches from the first train model, the first carriage group slides down along the first track model to the platform model. When the first carriage group moves past the first grating, the first grating sends a fourth signal to the main controller of the second train model. The main controller of the second train model controls the second train model to move from the second track model to the platform model based on the fourth signal. When the first carriage group moves past the second grating, it controls the second train model to move to the end of the first carriage group, and the first carriage group is connected to the end of the second train model.
[0011] According to some embodiments of the present invention, the slave controller, the first grating, and the second grating of the first carriage group are communicatively connected to the master controller of the second train model; Controlling the lifting of the fasteners at the ends of the first carriage group and the second train model, controlling the second train model to move closer to the first carriage group, and controlling the fasteners of the first carriage group of the second train model to fall down, so that the first carriage group is connected to the second train model, includes: The main controller of the second train model establishes a communication connection with the slave controller of the first carriage group. When the speed signal indicates that the speed of the first carriage group is zero, the main controller of the second train model controls the second train model to move to the platform model. When the second train model passes the first grating, the first grating generates a fourth electrical signal. The main controller of the second train model generates the connection command based on the acquired fourth electrical signal and sends the connection command to the slave controller at the end of the second train model and the slave controller of the first carriage group. For any slave controller that receives the lifting command, the slave controller controls the motor to rotate forward, controls the buckle to lift, controls the distance between the first carriage group and the second train model to shorten, and when the hook of one carriage connecting component is located inside the buckle of another carriage connecting component, the slave controller controls the motor to drive the height of the section of the buckle close to the hook to decrease until the buckle is in a horizontal position.
[0012] In a second aspect, embodiments of the present invention provide a carriage separation control device for an electric train model, comprising at least one control processor and a memory for communicatively connecting to the at least one control processor; the memory stores instructions executable by the at least one control processor, the instructions being executed by the at least one control processor to enable the at least one control processor to perform the carriage separation control method for an electric train model as described in the first aspect above.
[0013] Thirdly, embodiments of the present invention provide an electronic device including a carriage separation control device for an electric train model as described in the second aspect above.
[0014] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions for performing the carriage separation control method for an electric train model as described in the first aspect above.
[0015] The carriage separation control method for an electric train model according to an embodiment of the present invention has at least the following beneficial effects: the hook of the first carriage group is located inside the buckle of the end of the first train model, and the hook of the end of the first train model is located inside the buckle of the first carriage group. When the first train model receives a disengagement command, the first carriage group and the buckle of the end of the first train model are controlled to rise, so that the first carriage group is detached from the first train model. When the first carriage group is stationary and the end of the second train model is close to the first carriage group, when the second train model and the first carriage group receive a connection command, the first carriage group and the buckle of the end of the second train model are controlled to rise, the second train model is controlled to move closer to the first carriage group, and the buckle of the first carriage group of the second train model is controlled to fall, so that the first carriage group is connected to the second train model. According to the technical solution of the present invention, by controlling the carriage connecting parts of the interconnected first train model and the first carriage group, the height of the end of the carriage connecting part away from the carriage body is raised by the drive module, so that the first train model and the first carriage group are separated, and then the fastener of the first train model and the first carriage group is reset; by controlling the carriage connecting parts of the first carriage group and the second train model after they have come to rest, the height of the end of the carriage connecting part away from the carriage body is lowered by the drive module, so that the second train model and the first carriage group are brought closer to each other, and then the fastener of the second train model and the first carriage group is reset, so that the connection between the first carriage group and the second train model is realized; in this application, by controlling the rotation of the fastener by the drive model, the automatic uncoupling and automatic connection of the electric train model is realized, which meets the needs of electric train players for the automatic uncoupling of some train carriages of the electric train model. Attached Figure Description
[0016] Figure 1 This is a cross-sectional schematic diagram of an electric train model provided in one embodiment of the present invention; Figure 2 This is an anatomical diagram of a carriage connection component provided in another embodiment of the present invention; Figure 3 This is a flowchart of a carriage separation control method for an electric train model provided in another embodiment of the present invention; Figure 4 This is a structural diagram of a carriage separation control device for an electric train model provided in another embodiment of the present invention. Detailed Implementation
[0017] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0018] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.
[0019] In the description of this invention, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0020] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0021] This invention provides a method, apparatus, device, and medium for controlling the separation of carriages in an electric train model. The method for controlling the separation of carriages in an electric train model includes: the hook of the first carriage group is located inside the fastener at the end of the first train model; the hook at the end of the first train model is located inside the fastener of the first carriage group; when the first train model receives a disengagement command, the first carriage group and the fastener at the end of the first train model are raised, causing the first carriage group to detach from the first train model; the first carriage group is stationary, and the end of the second train model is close to the first carriage group; when the second train model and the first carriage group receive a connection command, the first carriage group and the fastener at the end of the second train model are raised, the second train model is moved closer to the first carriage group, and the fastener of the first carriage group of the second train model is lowered, causing the first carriage group to connect to the second train model. According to the technical solution of the present invention, by controlling the carriage connecting parts of the interconnected first train model and the first carriage group, the height of the end of the carriage connecting part away from the carriage body is raised by the drive module, so that the first train model and the first carriage group are separated, and then the fastener of the first train model and the first carriage group is reset; by controlling the carriage connecting parts of the first carriage group and the second train model after they have come to rest, the height of the end of the carriage connecting part away from the carriage body is lowered by the drive module, so that the second train model and the first carriage group are brought closer to each other, and then the fastener of the second train model and the first carriage group is reset, so that the connection between the first carriage group and the second train model is realized; in this application, by controlling the rotation of the fastener by the drive model, the automatic uncoupling and automatic connection of the electric train model is realized, which meets the needs of electric train players for the automatic uncoupling of some train carriages of the electric train model.
[0022] First, the method of this embodiment of the invention is applied to an electric train model including a carriage connecting component 200, referring to... Figure 1 and Figure 2The electric train model of this embodiment includes an electric train model applied to a carriage connecting component 200. The electric train model includes a first train model and a second train model. The electric train model includes at least one carriage 100. At least one carriage connecting component 200 is installed at the first and last ends of the carriage 100. The carriage connecting component 200 includes an installation body 210, a coupler connector 220, a buckle 230, and a drive module 240. The installation body 210 is fixed to the carriage 100. One end of the coupler connector 220 is provided with a hook 221, and the other end is installed on the installation body 210. The end of the buckle 230 near the carriage body is hinged to the installation body 210. The drive module 240 is fixed to the installation body 210 and is used to control the height of the end of the buckle 230 away from the carriage body.
[0023] It should be noted that the first train model includes a first locomotive, and the first carriage group includes at least one carriage 100. The first carriage group is directly connected to the end of the first locomotive, or at least one carriage 100 is connected between the first locomotive and the first carriage group.
[0024] It should be noted that during the use of the carriage connecting components 200, when the carriage connecting components 200 need to be connected to each other, the drive module 240 controls the height of the end of the buckle 230 away from the carriage 100 to rise. For any carriage connecting component 200, the distance between the carriage connecting components 200 is shortened, so that the hook 221 enters below the buckle 230 of another carriage connecting component 200, that is, the hook 221 is located within the limiting range of the buckle 230 of another carriage connecting component 200. The drive module 240 drives the height of the end of the buckle 230 away from the carriage 100 to drop, so that the hook 221 is located inside the buckle 230, thereby realizing the limiting of the buckle 230 on the hook 221 and completing the interconnection between the carriage connecting components 200.
[0025] In addition, such as Figure 1 and Figure 2 As shown, the electric train model also includes a main controller. The carriage 100 includes a slave controller, a locomotive decoder, a control circuit board 300, and a drive module 240, which are connected in sequence. The drive module 240 includes a motor 241, which is fixed to the mounting body 210. The main controller is connected in communication with all the slave controllers.
[0026] It should be noted that the main controller of the electric train model is used to control all the carriages 100 of the electric train model. The main controller controls each carriage 100 through slave controllers. Each carriage 100 is equipped with a slave controller, which can precisely control an individual carriage 100. In the control process of the electric train model, the main controller sends instructions to the designated slave controllers. The locomotive decoder of the corresponding carriage 100 decodes the instructions and then sends them to the control circuit board 300. Thus, the control circuit board 300 controls the motor 241 of the drive module 240 through the via.
[0027] In addition, the drive module 240 also includes a gear 242, which is fixed to the rotating shaft of the motor 241. The buckle body 230 is installed at one end of the drive module 240 and is provided with an arc-shaped gear tooth segment, which meshes with the gear 242. The main body of the carriage is provided with a speed sensor, which is communicatively connected to the slave controller.
[0028] It should be noted that the height of the end of the buckle 230 away from the box 100 is increased or decreased by the drive module 240. When the height of the buckle 230 is increased, the motor 241 is controlled to rotate forward so that the gear 242 rotates forward. The gear 242 controls the buckle 230 to rotate forward through the arc-shaped gear tooth segment, so that the height of the end of the buckle 230 away from the box 100 is increased. When the height of the buckle 230 is decreased, the motor 241 is controlled to rotate in reverse so that the gear 242 rotates in reverse. The gear 242 controls the buckle 230 to rotate in reverse through the arc-shaped gear tooth segment, so that the height of the end of the buckle 230 away from the box 100 is decreased.
[0029] In addition, the coupler connector 220 is hinged to the mounting body 210 via the hinge block 250. The arc-shaped wheel tooth section is provided with a limit through hole 222. The hinge block 250 is provided with a positioning protrusion 260 on the side near the limit through hole 222. The positioning protrusion 260 can move inside the limit through hole 222. When the buckle body 230 is in a horizontal position, the positioning protrusion 260 is located at the bottom of the limit through hole 222.
[0030] It should be noted that during the connection and separation process between the compartments 100, the height of the end of the buckle 230 furthest from the compartment 100 needs to be increased by the drive module 240 so that the height of the buckle 230 is greater than the height of the hook 221, allowing the hook 221 to enter the limiting range of the buckle 230. During the increase in height of the arc-shaped toothed section, the height of the limiting through hole 222 also increases, driving the hinge block 250 to reverse via the drive positioning protrusion 260. This reduces the height of the hook 221, thus reducing the required increase in height for the buckle 230, further reducing the length and time required for both increasing and decreasing the height of the buckle 230, and further improving the connection and separation efficiency between the compartments 100.
[0031] In addition, a first track model, a second track model, and a platform model are set on the same horizontal plane. One end of the platform model is connected to the first track model and the second track model respectively. A first grating is set at one end of the platform model connected to the first track model and the second track model, and a second grating is set at the other end. The main controller is communicatively connected to the first grating and the second grating respectively.
[0032] It should be noted that the first and second train models are both located on the same plane. Since the first carriage group does not include the locomotive, its speed gradually decreases after detaching from the first train model. To ensure the final position of the first carriage group, it is driven by the first train model to move to the platform model. On the platform model, the first carriage group separates from the first train model, completing the connection between the first carriage group and the second train model. To prevent collisions between the electric train models, a first and a second optical grating are used to determine the entry and exit of the electric train models. When the electric train model's speed is stable, the time it takes for the electric train model to pass through the optical gratings determines whether the electric train model has successfully separated from and connected to the first carriage group.
[0033] In addition, from top to bottom, there are a first track model, a horizontal platform model, and a second track model. One end of the platform model is connected to the first track model and the second track model respectively. A first grating is set at one end of the platform model connected to the first track model and the second track model, and a second grating is set at the other end. The main controller is communicatively connected to the first grating and the second grating respectively.
[0034] It should be noted that this embodiment illustrates how to connect and separate the first train car group in a sloping scene. Both the first and second track models are set in the sloping scene. The first train model moves on the first track model, and the second train model moves on the second track model. To avoid collisions between the electric train models, a first grating and a second grating are used to determine the entry and exit of the electric train models. When the electric train model's speed is stable, the time it takes for the electric train model to pass through the grating determines whether the electric train model has successfully separated from and connected to the first train car group.
[0035] In addition, the slave controller, first grating and second grating of the first carriage group are communicatively connected to the master controller of the second train model.
[0036] It should be noted that before the first carriage group is connected to the second train model, the communication connection between the slave controller of the first carriage group and the master controller of the second train model is completed, so as to realize the synchronous control of the carriage connection component 200 of the first carriage group and the carriage connection component 200 at the end of the second train model.
[0037] The following is based on Figure 1 and Figure 2 The electric train model shown further illustrates the technical solution of this embodiment of the invention.
[0038] Reference Figure 3 , Figure 3 A flowchart illustrating a carriage separation control method for an electric train model provided in this embodiment of the invention includes, but is not limited to, the following steps: S10, the hook of the first carriage group is located inside the buckle of the end of the first train model, and the hook of the end of the first train model is located inside the buckle of the first carriage group. When the first train model receives the unhooking command, it controls the buckle of the end of the first carriage group and the first train model to lift up, so that the first carriage group is detached from the first train model.
[0039] It should be noted that, in the initial state, the carriage connecting parts of the first carriage group and the first train model are connected to each other. That is, the hook of the carriage connecting part of the first carriage group is located inside the buckle of the carriage connecting part at the end of the first train model, and the hook of the carriage connecting part at the end of the first train model is located inside the buckle of the carriage connecting part of the first carriage group. The two carriage connecting parts are hooked to each other, thereby achieving a stable connection between the carriages.
[0040] It should be noted that after receiving the uncoupling command, in order to separate the compartments, the buckle is raised, thereby separating the hook from the buckle. The buckle will not obstruct the horizontal movement of the hook, thus achieving the separation between the compartment connecting parts and the compartment.
[0041] S20, the first carriage group is stationary, the end of the second train model is close to the first carriage group. When the second train model and the first carriage group receive a connection command, the first carriage group and the fastener at the end of the second train model are raised, the second train model is moved closer to the first carriage group, and the fastener of the first carriage group of the second train model is lowered, so that the first carriage group is connected to the second train model.
[0042] It should be noted that by connecting the carriage connecting parts of the first carriage group and the second train model to the carriage connecting parts at the end of the second train model, the hook of the carriage connecting part of the first carriage group is located inside the buckle of the carriage connecting part at the end of the second train model, and the hook of the carriage connecting part at the end of the second train model is located inside the buckle of the carriage connecting part of the first carriage group. The two opposing carriage connecting parts are connected to each other, thereby realizing the connection of the first carriage group to the end of the second train model.
[0043] It should be noted that during the connection process of the carriage connecting components, the buckle body is raised to allow the hook of the other carriage connecting component to enter the limiting range of the buckle body. After the buckle body is raised, the distance between the carriage connecting components is shortened to allow any hook to enter the inside of the buckle body of the other carriage connecting component. Then, the buckle body is lowered until it returns to a horizontal state, thereby confining the hook inside the buckle body. During the movement of the second train model, the second train model provides driving force to the carriage connecting component located at the end of the second train model. Through the connection relationship between the second train model and the first carriage group, the carriage connecting component located at the end of the second train model provides driving force to the first carriage group, thereby realizing the synchronous movement of the first carriage group and the second train model.
[0044] In the current electric train model industry, train model enthusiasts have increasingly higher demands for the ways to play with electric train models. Currently, electric train models replicate all the mechanical structures and functions of real trains in terms of appearance and structure, and can move on model tracks. However, the existing electric train models offer relatively limited gameplay options and cannot meet the diverse real-world scenarios that train model enthusiasts want to recreate, such as scenarios where the train model needs to detach certain train carriages.
[0045] It should be noted that in this application, the connection between the carriages of the electric train model is achieved through the relative carriage connecting components, and the connection between the relative couplers and fasteners. The couplers have a certain tensile strength, which can meet the scenario of the electric train model hooking up on an uphill slope, and the couplers can be controlled electronically.
[0046] It should be noted that the overall structure of the electric train model and the connecting parts of the carriages meets the scale requirements of real trains, and achieves high tensile strength in a limited space. For adjacent train carriages, the hook of this carriage matches the fastener of the next carriage, and the friction between the hook and the fastener is small, which allows the uncoupling scene to be completed smoothly.
[0047] It should be noted that the train separation control method of this application can realize the automatic uncoupling and automatic connection of electric train models by electronically controlling the uncoupling action of the train car body, and can further meet the uncoupling gameplay in the sloping scene, satisfying the simulation needs of train model players for different train scenes.
[0048] Additionally, in one embodiment, reference is made to Figure 3 In step S10, before the buckle body at the end of the first carriage group and the first train model is lifted, the following steps are included, but are not limited to: S111, the main controller of the first train model generates a disengagement command and sends the disengagement command to all slave controllers of the first carriage group and the slave controllers connected to the carriages located at the end of the first train model; S112, for any slave controller that acquires the decoupling command, the slave controller sends the decoupling command to the locomotive decoder. The locomotive decoder generates a decoupling signal based on the decoupling command. The control circuit board sends the acquired decoupling signal to the motor to control the rotation direction and speed of the motor.
[0049] It should be noted that the main controller can perform precise operations on all the carriages of the first train model. During the process of the first carriage group detaching from the first train model, only the carriage connecting parts of the two carriages are controlled.
[0050] It should be noted that the locomotive decoder decodes and converts the uncoupling command to generate a uncoupling signal. The uncoupling signal is used to control the power-on ports of the control circuit board, and the control circuit board controls the rotation direction and speed of the motor.
[0051] Additionally, in one embodiment, reference is made to Figure 3 In step S10, the buckles at the ends of the first carriage group and the first train model are raised to detach the first carriage group from the first train model, including but not limited to the following steps: S121, for any slave controller that receives the unhooking command, the slave controller controls the motor to rotate forward, and the motor drives the buckle body to rotate along the hinge point with the mounting body through gears and arc-shaped gear segments, and the height of the end of the buckle body that is not hinged to the mounting body increases. S122, when the height of the end of the buckle not hinged to the installation body is greater than the height of the hook, the first carriage group is disengaged from the first train model, and the main controller of the first train model controls the speed of the first train model to be constant. S123, when the speed signal fed back by the speed sensor of the first carriage group indicates that the speed of the first carriage group is less than a preset threshold, for the first carriage group and the slave controller located at the end of the first train model, the slave controller controls the motor to reverse, and the motor drives the height of the buckle body not hinged to the mounting body to decrease until the buckle body is in a horizontal position through gears and arc-shaped gear segments. The slave controller of the first carriage group disconnects the communication connection with the master controller of the first train model. The speed signal is used to characterize the movement speed of the first carriage group.
[0052] It should be noted that the height of the buckle is controlled by the motor. When the height of the buckle is greater than the height of the hook, that is, the buckle does not abut against the hook, the two carriage connecting parts do not abut against each other. The first train model cannot provide driving force to the first carriage group, and the movement speed of the first carriage group gradually slows down. When the movement speed of the first carriage group is less than the preset threshold, there is a certain gap between the first carriage group and the first train model. At this time, the motor is controlled to reverse so that the height of the buckle is lowered, and the buckle will not connect with the hook of the other carriage connecting part.
[0053] In another embodiment, in step S121, the controller controls the motor to rotate forward, and the motor drives the buckle body to rotate along the hinge point with the mounting body through the gear and the arc-shaped gear tooth segment. The height of the end of the buckle body not hinged to the mounting body increases, including but not limited to the following steps: S1211, the motor drives the gear to rotate forward, and the gear drives the buckle body to rotate forward through the arc-shaped gear tooth segment, raising the height of the end of the buckle body near the hook body; S1212, the height of the limiting through hole increases, the limiting through hole drives the positioning protrusion to rise, drives the hinge block to reverse, and the height of the hook body decreases.
[0054] It should be noted that during the connection and separation of the compartments, the height of the end of the buckle furthest from the compartment needs to be increased by the drive module to ensure that the height of the buckle is greater than the height of the hook, allowing the hook to enter the buckle's limiting range. As the height of the arc-shaped toothed section increases, the height of the limiting through-hole also increases, driving the hinge block to reverse via the drive positioning protrusion. This reduces the height of the hook, thus reducing the required increase in the buckle's height, further reducing the length and time required for both increasing and decreasing the buckle's height, and further improving the efficiency of connection and separation between the compartments.
[0055] Additionally, in one embodiment, reference is made to Figure 3 In step S20, before connecting the first carriage group to the second train model, the following steps are included, but are not limited to: S211, when the first train model passes the first grating, the first grating sends a first electrical signal to the main controller of the first train model, and the main controller of the first train model controls the braking of the first train model based on the first electrical signal. When the first train model passes the second grating, the second grating sends a second electrical signal to the main controller of the first train model, and the main controller of the first train model generates a disengagement command based on the second electrical signal and sends the disengagement command to the first carriage group and the slave controller located at the end of the first train model. S212, the first train model is decoupled from the first carriage group, and the first carriage group is stationary on the platform model. When the first train model passes the first grating, the first grating sends a third electrical signal to the main controller of the second train model. The main controller of the second train model controls the second train model to approach the first carriage group on the second track model based on the third electrical signal.
[0056] It should be noted that when the first train model passes the first light gate, i.e., when the first train model enters the platform model, the first train model is braked to slow down the movement of the first train model and the first carriage group, reducing the difficulty of subsequent uncoupling. When the first train model passes the second light gate, the first train model and the first carriage group move to the end of the platform model, and the first train model is uncoupled from the first carriage group and leaves the platform model. When the first train model passes the first light gate again and leaves the platform model, the second train model is then controlled to enter the platform model without causing a collision between the first and second train models.
[0057] Additionally, in one embodiment, reference is made to Figure 3 In step S20, before connecting the first carriage group to the second train model, the following steps are included, but are not limited to: S221, after the first carriage group detaches from the first train model, the first carriage group slides down the first track model to the platform model. When the first carriage group moves past the first grating, the first grating sends a fourth signal to the main controller of the second train model. The main controller of the second train model controls the second train model to move from the second track model to the platform model based on the fourth signal. S222, when the first carriage group moves past the second grating, it controls the second train model to move to the end of the first carriage group, and the first carriage group is connected to the end of the second train model.
[0058] It should be noted that in this embodiment, the first track model is set in a sloping scene. During the ascent of the first train model, the first train model and the first carriage group are uncoupled. Under the action of gravity, the uncoupled first carriage group slides down to the horizontal platform model, where it connects with the second train model. The first carriage group, passing through the first grating, enters the platform model, and then the second train model is controlled to enter the platform model, avoiding collisions.
[0059] It should be noted that the carriage separation control method of this application is used to control the connection and uncoupling actions of the hooks between the carriages. According to the needs of different scenarios, different control commands are used to meet the diverse needs of train model entertainment scenarios.
[0060] Additionally, in one embodiment, reference is made to Figure 3In step S20, the first carriage group and the fastener located at the end of the second train model are raised, the second train model is moved closer to the first carriage group, and the fastener of the first carriage group of the second train model is lowered, so that the first carriage group is connected to the second train model, including but not limited to the following steps: S231, the master controller of the second train model establishes a communication connection with the slave controller of the first carriage group. When the speed signal indicates that the speed of the first carriage group is zero, the master controller of the second train model controls the second train model to move to the platform model. When the second train model passes the first grating, the first grating generates a fourth electrical signal. The master controller of the second train model generates a connection command based on the acquired fourth electrical signal and sends the connection command to the slave controller at the end of the second train model and the slave controller of the first carriage group. S232, for any slave controller that receives the lifting command, the slave controller controls the motor to rotate forward, controls the buckle body to lift, controls the distance between the first carriage group and the second train model to shorten, when the hook body of one carriage connecting component is inside the buckle body of another carriage connecting component, controls the motor to drive the height of the section of the buckle body close to the hook body to decrease until the buckle body is in a horizontal position.
[0061] It should be noted that the main controller of the second train model establishes a communication connection with the slave controller of the first carriage group in advance, which facilitates the synchronous control of the carriage connecting parts of the first carriage group and the carriage connecting parts at the end of the second train model. With the first carriage group already positioned on the platform model, after the second train model enters the platform model, the system controls the lifting of the fasteners of the opposite carriage connecting parts of the first and second carriage groups, allowing the hooks and fasteners of the two carriage connecting parts to connect smoothly.
[0062] like Figure 4 As shown, Figure 4 This is a structural diagram of a carriage separation control device for an electric train model provided in one embodiment of the present invention. The present invention also provides a carriage separation control device for an electric train model, comprising: The processor 301 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 302 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 302 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 302 and is called and executed by the processor 301 to execute the carriage separation control method applied to an electric train model according to the embodiments of this application. Input / output interface 303 is used to implement information input and output; The communication interface 304 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 305 transmits information between various components of the device (e.g., processor 301, memory 302, input / output interface 303, and communication interface 304); The processor 301, memory 302, input / output interface 303, and communication interface 304 are connected to each other within the device via bus 305.
[0063] This application also provides an electronic device, including the carriage separation control device applied to an electric train model as described above.
[0064] This application embodiment also provides a storage medium, which is a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the above-described carriage separation control method applied to an electric train model.
[0065] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate, and may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0066] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0067] The above provides a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.
Claims
1. A method for controlling the separation of carriages in an electric train model, characterized in that, An electric train model including a carriage connecting component is applied to an electric train model comprising a first train model and a second train model. The electric train model includes at least one carriage, with at least one carriage connecting component installed at both the front and rear ends of the carriage. The carriage connecting component includes a mounting body, a coupler connector, a fastener, and a drive module. The mounting body is fixed to the carriage. One end of the coupler connector is provided with a hook, and the other end is installed to the mounting body. The fastener is hinged to the mounting body at the end near the carriage body. The drive module is fixed to the mounting body and is used to control the height of the fastener at the end away from the carriage body. The method includes: The hook of the first carriage group is located inside the buckle of the end of the first train model, and the hook of the end of the first train model is located inside the buckle of the first carriage group. When the first train model receives a release command, it controls the buckle of the end of the first carriage group and the first train model to lift up, so that the first carriage group is detached from the first train model. The first carriage group is stationary, and the end of the second train model is close to the first carriage group. When the second train model and the first carriage group receive a connection command, the first carriage group and the fastener located at the end of the second train model are controlled to rise, the second train model is controlled to move closer to the first carriage group, and the fastener of the first carriage group of the second train model is controlled to fall, so that the first carriage group is connected to the second train model.
2. The carriage separation control method for electric train models according to claim 1, characterized in that, The electric train model also includes a main controller. The carriage includes a slave controller, a locomotive decoder, a control circuit board, and the drive module, which are connected in sequence. The drive module includes a motor, which is fixed to the mounting body. The main controller is connected in communication with all the slave controllers. Before the lifting of the buckle at the end of the first carriage group and the first train model, the method further includes: The main controller of the first train model generates the uncoupling command and sends the uncoupling command to all the slave controllers of the first carriage group and the slave controllers connected to the carriage located at the end of the first train model; For any slave controller that receives the uncoupling command, the slave controller sends the uncoupling command to the locomotive decoder. The locomotive decoder generates a uncoupling signal based on the uncoupling command. The control circuit board sends the acquired uncoupling signal to the motor to control the rotation direction and speed of the motor.
3. The carriage separation control method for electric train models according to claim 2, characterized in that, The drive module also includes a gear, which is fixed to the rotating shaft of the motor. The buckle body is installed at one end of the drive module and is provided with an arc-shaped gear tooth segment, which meshes with the gear. The main body of the carriage is provided with a speed sensor, which is communicatively connected to the slave controller. Controlling the lifting of the fasteners at the ends of the first carriage assembly and the first train model, so that the first carriage assembly detaches from the first train model, includes: For any slave controller that receives the unhooking command, the slave controller controls the motor to rotate forward, and the motor drives the buckle body to rotate along the hinge point with the mounting body through the gear and the arc-shaped gear tooth segment, and the height of the end of the buckle body that is not hinged to the mounting body increases; When the height of the end of the buckle not hinged to the mounting body is greater than the height of the hook, the first carriage group is disengaged from the first train model, and the main controller of the first train model controls the speed of the first train model to be constant. When the speed signal fed back by the speed sensor of the first carriage group indicates that the speed of the first carriage group is less than a preset threshold, for the first carriage group and the slave controller located at the end of the first train model, the slave controller controls the motor to reverse, and the motor drives the height of the buckle body not hinged to the mounting body to decrease until the buckle body is in a horizontal position through the gear and the arc-shaped gear tooth segment. The slave controller of the first carriage group disconnects the communication connection with the master controller of the first train model, wherein the speed signal is used to characterize the movement speed of the first carriage group.
4. The carriage separation control method for electric train models according to claim 3, characterized in that, The coupler connector is hinged to the mounting body via a hinge block. The arc-shaped toothed section is provided with a limiting through hole. A positioning protrusion is provided on the side of the hinge block near the limiting through hole. The positioning protrusion can move inside the limiting through hole. When the buckle body is in a horizontal position, the positioning protrusion is located at the bottom of the limiting through hole. The controller controls the motor to rotate forward, and the motor drives the buckle body to rotate along the hinge point with the mounting body through the gear and the arc-shaped gear tooth segment. The height of the end of the buckle body not hinged to the mounting body increases, including: The motor drives the gear to rotate forward, and the gear drives the buckle body to rotate forward through the arc-shaped gear tooth segment, raising the height of the end of the buckle body near the hook body; As the height of the limiting through hole increases, the limiting through hole drives the positioning protrusion to rise, drives the hinge block to rotate, and the height of the hook body to decrease.
5. The carriage separation control method for electric train models according to claim 2, characterized in that, A first track model, a second track model, and a platform model are set on the same horizontal plane. One end of the platform model is connected to the first track model and the second track model respectively. A first grating is set at one end of the platform model connected to the first track model and the second track model, and a second grating is set at the other end. The main controller is communicatively connected to the first grating and the second grating respectively. Before connecting the first carriage group to the second train model, the method further includes: When the first train model passes the first grating, the first grating sends a first electrical signal to the main controller of the first train model. The main controller of the first train model controls the braking of the first train model based on the first electrical signal. When the first train model passes the second grating, the second grating sends a second electrical signal to the main controller of the first train model. The main controller of the first train model generates the uncoupling command based on the second electrical signal and sends the uncoupling command to the first carriage group and the slave controller located at the end of the first train model. The first train model is decoupled from the first carriage group, and the first carriage group is stationary on the platform model. When the first train model passes the first grating, the first grating sends a third electrical signal to the main controller of the second train model. The main controller of the second train model controls the second train model to move closer to the first carriage group on the second track model based on the third electrical signal.
6. The carriage separation control method for electric train models according to claim 2, characterized in that, The platform model consists of a first track model, a horizontal platform model, and a second track model arranged sequentially from top to bottom. One end of the platform model is connected to both the first track model and the second track model. A first grating is provided at one end of the platform model connected to the first track model and the second track model, and a second grating is provided at the other end. The main controller is communicatively connected to both the first grating and the second grating. Before connecting the first carriage group to the second train model, the method further includes: After the first carriage group detaches from the first train model, the first carriage group slides down along the first track model to the platform model. When the first carriage group moves past the first grating, the first grating sends a fourth signal to the main controller of the second train model. The main controller of the second train model controls the second train model to move from the second track model to the platform model based on the fourth signal. When the first carriage group moves past the second grating, it controls the second train model to move to the end of the first carriage group, and the first carriage group is connected to the end of the second train model.
7. The carriage separation control method for electric train models according to claim 5 or 6, characterized in that, The slave controller, the first grating, and the second grating of the first carriage group are communicatively connected to the master controller of the second train model; Controlling the lifting of the fasteners at the ends of the first carriage group and the second train model, controlling the second train model to move closer to the first carriage group, and controlling the fasteners of the first carriage group on the second train model to fall down, so that the first carriage group is connected to the second train model, includes: The main controller of the second train model establishes a communication connection with the slave controller of the first carriage group. When the speed signal indicates that the speed of the first carriage group is zero, the main controller of the second train model controls the second train model to move to the platform model. When the second train model passes the first grating, the first grating generates a fourth electrical signal. The main controller of the second train model generates the connection command based on the acquired fourth electrical signal and sends the connection command to the slave controller at the end of the second train model and the slave controller of the first carriage group. For any slave controller that receives the lifting command, the slave controller controls the motor to rotate forward, controls the buckle to lift, controls the distance between the first carriage group and the second train model to shorten, and when the hook of one carriage connecting component is located inside the buckle of another carriage connecting component, the slave controller controls the motor to drive the height of the section of the buckle close to the hook to decrease until the buckle is in a horizontal position.
8. A carriage separation control device for electric train models, characterized in that, It includes at least one control processor and a memory for communicatively connecting to the at least one control processor; the memory stores instructions executable by the at least one control processor, which, when executed by the at least one control processor, enable the at least one control processor to perform the carriage separation control method for an electric train model as described in any one of claims 1 to 7.
9. An electronic device, characterized in that, Includes the carriage separation control device for electric train models as described in claim 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the carriage separation control method for an electric train model as described in any one of claims 1 to 7.