WO2020150956A1 - Data processing method for orbit model electronic control simulation system, and decoder framework - Google Patents
Data processing method for orbit model electronic control simulation system, and decoder framework Download PDFInfo
- Publication number
- WO2020150956A1 WO2020150956A1 PCT/CN2019/072947 CN2019072947W WO2020150956A1 WO 2020150956 A1 WO2020150956 A1 WO 2020150956A1 CN 2019072947 W CN2019072947 W CN 2019072947W WO 2020150956 A1 WO2020150956 A1 WO 2020150956A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- decoder
- module
- file
- user
- data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
Definitions
- the invention belongs to the field of track model simulation electric control systems, and specifically refers to a data processing method and decoder architecture of a track model electric control simulation system.
- the data transmission method of the above-mentioned manufacturer data is a custom-encoded carrier transmission.
- the data packet is stored in the memory in the form of a data block.
- the data packet requires special software to edit various functions such as logical relationships, data links, and operating parameters. After the compilation is complete, the data packet is generated, and the data packet is written into the decoder through a dedicated hardware burner to be used.
- the main disadvantages of this technology are:
- a writer must be used to write the data packet into the decoder.
- the current track model electronic control system industry has the above-mentioned defects, making it extremely difficult for users of the track model to edit and reconstruct the parameters of the electronic control simulation system.
- the manufacturer matches the software with the burner. Most of the products of each manufacturer cannot be compatible and universal. If you need to implement advanced functions based on control, you can only purchase the entire set of equipment from the same manufacturer. Because the inherent data transmission method relies on carrier transmission, users need to purchase a writer when programming data, and the data transmission rate is much lower than that of directly transmitting data through the upper computer.
- the current orbital model industry when products of different manufacturers are used jointly, their basic control is based on the DCC standard protocol formulated by NMRA, so they can be universal. However, products of different manufacturers have subtleties in implementing the NMRA standard. Therefore, users can only choose a complete set of equipment from the same manufacturer when they need advanced control functions. The low writing rate further increases the user's time cost.
- the purpose of the present invention is to overcome the above-mentioned problems and provide a data processing method and decoder architecture of a track model electronic control simulation system, which increases the functionality of the decoder and reduces the editing, reconstruction and parameters of the track model electronic control simulation system.
- the difficulty of data entry greatly improves the efficiency of data processing, reduces the difficulty of user data entry, and realizes a two-way communication method based on wired and wireless channels. It also greatly reduces the cost of data processing in the electronic control simulation system. Better promote the promotion and popularization of the orbit model.
- a data processing method of a track model electric control simulation system mainly includes the following steps:
- the firmware in step (1) includes an audio processing module, an instruction analysis module, a removable storage module, a motor drive module, a specific light effect module, a signal input and output processing module, and a user profile analysis module.
- the first logical structure of the audio processing module is:
- the decoder preloads the user configuration file and associates the sound effect file in the link data file
- step (6) Judge the number of loop calls required for the sound effect file. If the number of loops is limited, then go to step (7) after the loop is completed, if the number of loops is unlimited, then go to step (6);
- the second logical structure of the audio processing module is: the decoder preloads the user configuration file and associates the sound effect file in the link data file, and then triggers the decoder according to the user start signal, and the decoder sequentially calls the preset N linked The sound effect file, and N is greater than 0, the specific value of N is set in the user configuration file;
- the third logical structure of the audio processing module is: the decoder pre-loads the user configuration file and associates the sound effect files in the link data file, and then triggers the decoder according to the user start signal and sequentially links and calls the preset M linked After the call is completed, return to the beginning to call the preset M linked sound effect files again in sequence, and M is greater than 0, the specific value of M can be set in the user configuration file by the user according to the needs;
- the specific logical structure of the audio processing module is any one or a combination of any two or a combination of three of the above three logical structures of the audio processing module;
- the decoder preloads the motor parameters in the user configuration file
- the decoder sends a drive signal to the motor to drive the motor according to the user's operation signal or sensor signal and based on the motor parameters;
- the decoder receives the feedback parameters of the motor in real time and regulates the speed of the motor in real time through the parameters to keep the speed constant;
- the decoder pre-loads the specific lighting configuration parameters in the user configuration file
- the decoder sends out lighting control instructions according to the user's operation signal or sensor signal and based on the lighting configuration parameters;
- the decoder judges whether the light control instruction needs to be changed according to the user's operation signal or the sensor signal, if it does not need to be changed, it returns to step (3), if it needs to be changed, it goes to step (5);
- the decoder sends out a new light control instruction based on the user's operation signal or sensor signal and based on the light configuration parameters, and returns to step (4);
- the function of the removable storage module is to enable the host computer to directly perform read and write operations on the memory of the decoder or the memory connected with the decoder through a storage socket;
- the user configuration file parsing module is used to parse the field information in the user configuration file, and according to the field information, make each module in the decoder link with the corresponding data file, and preload the items in the user configuration file after linking. parameter;
- the signal input and output processing module can realize the functions of digital signal input and output, analog signal input and output, and real-time two-way data communication through the decoder.
- the data files described in step (2) include sound effect files and device files.
- the user configuration file described in step (3) includes the location of the data file, the logical correspondence of the data file, and configuration parameters.
- step (4) The transmission method described in step (4) is that the upper computer uses a wired or wireless direct connection method to record the data file and the user configuration file into the memory of the decoder.
- a decoder framework for a track model electronic control simulation system including a processor, a storage structure connected to the processor, a two-way data interface connected to the processor for two-way data transmission, and a device connected to the processor.
- the light drive module used to control special lighting effects, the audio module used to process audio files, and the motor drive module used to drive the motor. At the same time, it is connected to the light drive module, audio module, motor drive module and processor for data
- the storage structure is a memory or a storage structure connected to the processor through a storage socket.
- a protection module and a power maintenance module are also connected to the processor; the protection module is a functional circuit that detects faults and activates the protection function, and the power maintenance module is a module that can automatically switch power supply lines.
- the two-way data interface uses a wired connection or a wireless connection based on a wireless transmission module to directly communicate with the host computer.
- the present invention has the following advantages and beneficial effects:
- the present invention enables the decoder to be directly read and written by the host computer through the built-in firmware, which is simple and easy to use, and has extremely high compatibility. It can be connected to the host computer for high-speed data entry and fast data editing. It improves the input speed and editing efficiency, and does not require dedicated hardware burning equipment, reducing economic costs.
- the present invention simplifies and refines the complex logic relationship through research, research and development, and solidifies it in the storage structure of the decoder in the form of firmware, without the need to construct or edit the complex logic relationship through the upper computer, and greatly reduces the track model The difficulty of parameter editing and reconstruction of electronic control simulation system.
- the present invention uses a user configuration file with a human-computer interaction function.
- the user configuration file can be directly edited on the host computer in a way that humans can understand, so that the user does not need to use the special editing software for the track model to generate the data packet file.
- the decoder can associate with the data file and complete the call of the data file through the user configuration file.
- the user can also customize the logical relationship in the user configuration file according to their own needs, so as to realize the specific functions required by the user. It greatly improves the flexibility and functionality of users, and reduces the difficulty for users to edit system parameters.
- the decoder of the present invention adopts a new architecture, which makes the firmware function more comprehensive, and allows the user to edit the user configuration file on the mobile smart device at any time, which further improves the convenience of editing the user configuration file.
- the present invention relies on the new decoder architecture, which can easily and quickly complete the transmission of files and data, that is, it can be connected to the two-way data port of the decoder through the general data interface of the host computer, thereby realizing control instructions and data
- the transmission makes the decoder not only compatible with the original track-based control method, but also can be controlled in other ways through a two-way interface.
- the present invention greatly enriches the functionality of the internal modules of the decoder, further increases the function and use effect of the decoder, better promotes the development of enterprises and industries, and more closely meets the needs of users.
- the decoder of the present invention has both data transmission and data processing functions, that is, the external removable storage device can be directly read and written by the host computer through the decoder, or the decoder itself can directly read and write and read and write through its storage socket Other types of storage media connected to it.
- Fig. 1 is a block diagram of the decoder structure of the present invention.
- a data processing method of a track model electric control simulation system mainly includes the following steps:
- the firmware includes audio processing module, instruction analysis module, removable storage module, motor drive module, specific lighting effect module, signal input and output processing module, and user profile analysis module.
- the first logical structure of the audio processing module is:
- the decoder preloads the user configuration file and associates the sound effect file in the link data file
- step (6) Judge the number of loop calls required for the sound effect file. If the number of loops is limited, then go to step (7) after the loop is completed, if the number of loops is unlimited, then go to step (6);
- the second logical structure of the audio processing module is: the decoder preloads the user configuration file and associates the sound effect file in the link data file, and then triggers the decoder according to the user start signal, and the decoder sequentially calls the preset N linked The sound effect file, and N is greater than 0, the specific value of N is set in the user configuration file;
- the third logical structure of the audio processing module is: the decoder pre-loads the user configuration file and associates the sound effect files in the link data file, and then triggers the decoder according to the user start signal and sequentially links and calls the preset M linked After the call is completed, return to the beginning to call the preset M linked sound effect files again in sequence, and M is greater than 0, the specific value of M can be set in the user configuration file by the user according to the needs;
- the specific logical structure of the audio processing module is any one or a combination of any two or a combination of three of the above three logical structures of the audio processing module;
- the specific logical structure of the motor drive module is:
- the decoder preloads the motor parameters in the user configuration file
- the decoder sends a drive signal to the motor to drive the motor according to the user's operation signal or sensor signal and based on the motor parameters;
- the decoder receives the feedback parameters of the motor in real time and regulates the speed of the motor in real time through the parameters to keep the speed constant;
- the decoder pre-loads the specific lighting configuration parameters in the user configuration file
- the decoder sends out lighting control instructions according to the user's operation signal or sensor signal and based on the lighting configuration parameters;
- the decoder judges whether the light control instruction needs to be changed according to the user's operation signal or the sensor signal, if it does not need to be changed, it returns to step (3), if it needs to be changed, it goes to step (5);
- the decoder sends out a new light control instruction based on the user's operation signal or sensor signal and based on the light configuration parameters, and returns to step (4);
- the function of the removable storage module is to enable the host computer to directly perform read and write operations on the memory of the decoder or the memory connected with the decoder through a storage socket;
- the user configuration file parsing module is used to parse the field information in the user configuration file, and according to the field information, make each module in the decoder link with the corresponding data file, and preload the items in the user configuration file after linking. parameter;
- the signal input and output processing module can realize the functions of digital signal input and output, analog signal input and output, and real-time two-way data communication through the decoder
- the data files include sound effect files and device files.
- the sound effect files are standardized audio files based on the computer file system, such as wav files, WMA files, MP3 files, and so on.
- a device file is a file used to describe the working condition, configuration, and associated information of the device with external devices.
- the user configuration file contains the location of the data file, the logical correspondence of the data file, and configuration parameters.
- the user profile can achieve a customized effect, that is, the same or different modules can be combined and called individually or multiple times according to the user's needs.
- the transmission mode is that the upper computer uses a wired or wireless direct connection to record the data file and the user configuration file into the memory of the decoder.
- the user obtains the firmware file from the manufacturer and transfers the firmware file to the decoder, and the decoder will automatically update the firmware after booting.
- the firmware file is a data file or data file used to upgrade or downgrade or replace the firmware in the decoder as required.
- the user can obtain it by downloading.
- the firmware that has been solidified in the decoder can be upgraded, Downgrade or adjust, thereby further improving the functionality of the product.
- a decoder architecture of a track model electronic control simulation system includes a processor, a storage structure connected to the processor, a two-way data interface connected to the processor, and lights connected to the processor respectively
- the interface unit is an interface that conforms to the DCC standard formulated by NMRA, including mtc21 interface, plux22 interface, plux16 interface, and plux8 interface.
- the DCC standard based on NMRA also has different size standards for decoders of different scale models.
- the existing manufacturers’ processors mainly use The processor is based on the 51 architecture or the avr architecture.
- the processor of this application is based on any one of ARM, AVR, DSP, FPGA or X86.
- the processor based on the 51 and avr architecture is currently the largest The main frequency can only reach 40Mhz and 16Mhz respectively, and the ARM architecture processor can easily reach the operating frequency above 80Mhz, so the computing performance of the ARM architecture processor is far better than the previous two architecture processors; avr Processors of the architecture and 51 architecture all use pipeline operation instructions.
- the processors of the ARM architecture use a better three-stage pipeline structure to increase the speed of the processor instruction flow, and the processors of DSP, FPGA and X86 architecture are even more effective. Better than ARM architecture processors. Therefore, the processor used in this application has stronger logic and data processing capabilities, which can further improve the performance of the decoder.
- the two-way data interface can realize two-way data transmission and debugging functions.
- the functionality of the decoder is increased, so that the decoder has real-time data two-way transmission and a custom control method that is not based on the DCC communication protocol formulated by NMRA.
- the present application provides a two-way data interface to realize the two-way communication of real-time data without having to be in a specific mode.
- the instruction analysis module greatly improves the accuracy and security of data extraction, and further improves the reliability of instruction analysis and the protection capability of the system.
- the audio module includes audio processing units and audio Amplification module.
- Existing products can only read data blocks compiled by software, and cannot use processor resources to parse audio files and perform other operations.
- this application can be analyzed through the audio module For example, audio files in wav, mp3, WMA, and flac formats can be output through dac, filtering, frequency division, and multi-channel independent output to further improve the simulation effect of sound quality. Compared with traditional audio output methods, it is extremely It greatly improves the authenticity of the sound effect, and further improves the simulation degree of the product.
- the aforementioned audio file is a standard host computer file format.
- the original product cannot directly parse the audio file, and can only read the data block through the address for processing, while the audio file is a complete file containing the data header, data body and data tail. Structure, so the traditional decoder can not parse the audio file; and the audio file is based on the file format of the computer system or smart device system standard, and is stored in the computer file system in the memory, which has strong compatibility and versatility.
- the DCC standard based on NMRA also has different size standards for decoders of different scale models.
- the existing light drive modules all use pwm
- the light driving module of the present application is driven by an adjustable constant current source. Because the constant current source has the characteristics of stable current, it can prolong the service life of the device.
- the two-way data interface is directly connected to the host computer through the data line or wireless transmission module, and the data transmission can be completed through the two-way data interface, which is more compatible with data transmission and storage. There is no need to use a dedicated burner to burn the data, which not only reduces the equipment cost required for data entry, but also improves the data entry speed.
- the function of the signal input and output module is to amplify and filter the input or output signal.
- the sensor can collect various operating data of the track model, such as voltage, current, acceleration, and vehicle speed, and feedback parameters to the processor through the interface unit, and the processor will complete the control of the related equipment according to the parameters.
- the sensor can also complete the transmission of parameters through the two-way data interface.
- the use of the two-way data interface for signal feedback to the processor expands the data acquisition interface, so that the processor can receive more signals, thereby further improving the processor The precision of control.
- the sensor can only complete the feedback of parameter information through the interface unit, and its transmission channel is single, which greatly limits the amount of signal transmission, which in turn leads to the degree of simulation of processor control in the prior art Poor problem.
- the execution module can be directly connected to the processor through an interface unit or a two-way data interface, and can control the response action of the actuator according to the logic structure or the processor's own judgment and processing and the instructions issued, such as headlights, taillights, carriage lights, transmitters Cigarette etc.
- the decoder can issue corresponding instructions in time based on the sensor feedback signal. For example, when the rail model car enters the station, the headlights and taillights change the luminous intensity or flashing frequency, or automatically turn on the car lights when the outside light becomes dark. For example, when imitating the speed increase, the smoke generator exhausts smoke according to the engine speed.
- the motor control function of the circuit board in the decoder can only be completed by setting the BEMF module. Operational testing and feedback.
- this application provides a two-way interface by improving the processor, which can not only complete the detection and feedback of the motor operation by setting the BEMF module, but also connect the user's external speed sensor with the two-way data interface or interface unit to obtain More reliable motor operating parameters make the speed control effect more stable.
- the storage structure is a memory or a storage structure connected to a processor through a storage socket; the storage structure is an SD card, a tf card, a CF card, etc.
- the storage structure selects integrated nand flash or nor flash or connects to the storage structure for storage by setting a storage socket connected to the processor.
- the specific storage structure can be selected according to the actual needs of users, which further improves the adaptability of the product .
- the memory can also be a storage device that is switched with a processor through a dedicated chip, such as a micro hard disk.
- the processor is also connected with a protection module and a power maintenance module;
- the protection module is a functional circuit that detects faults and activates the protection function, and the power maintenance module is a module that can automatically switch power supply lines.
- the traditional rail model car is powered by a laid track or a simulated catenary.
- the decoder will restart due to power failure, which in turn makes the vehicle Loss of control and loss of power, the control of the vehicle can only be restored after the decoder restarts, which will greatly reduce the simulation effect of the rail model car, and frequent restarts of the decoder will more easily cause the decoder to be damaged.
- the power maintenance module can automatically switch the power supply line when the contact between the wheel and the track is poor, and switch the rail power supply mode to other power supply modes, such as large capacitor power supply, battery power supply, etc.; and switch again when the rail power supply is restored Returning to the rail power supply mode can ensure that the decoder will not restart due to power failure, thereby ensuring the stability of the decoder, and further improving the simulation effect of the rail model car.
- the protection module completes protection through fault detection.
- This functional circuit can detect various parameters, such as whether the power consumption of a component exceeds the allowable value, whether the motor is blocked, etc.
- the detected parameter exceeds the preset value
- the corresponding signal is fed back to the processor, and the processor automatically performs a protection shutdown operation after receiving the signal feedback.
- the user can eliminate the fault and restart the device after power-on, eliminating the time cost of the user’s mail repair and the time, manpower and material cost of the manufacturer’s repair.
- the two-way data interface uses a wired connection or a wireless connection based on a wireless transmission module to directly communicate with an upper computer.
- the host computer can be a computer, a tablet computer, a smart phone, a control handle, a control platform, etc.
- the data transmission to a rail model car in the prior art is completed by a two-wire carrier wave method.
- the transmission can be carried out either through traditional tracks, or through a two-way data interface in a wired or wireless manner.
- the two-way data interface uses a wired connection or a wireless connection based on a wireless transmission module to directly communicate with an upper computer.
- the host computer can be a computer, a tablet computer, a smart phone, a control handle that sends instruction information to the processor, a control platform and other control equipment.
- the data transmission to the rail model car is completed by a two-wire carrier wave.
- the data transmission of the track model car in this application can be carried out through the traditional track, or through the two-way data interface in a wired or wireless manner.
- the present invention can be implemented well.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
Claims (10)
- 一种轨道模型电控仿真系统的数据处理方法,其特征在于:主要包括以下步骤:A data processing method for a track model electric control simulation system is characterized in that it mainly includes the following steps:(1)将固件固化在解码器中;(1) Solidify the firmware in the decoder;(2)根据固件的规定在上位机创建数据文件;(2) Create data files on the host computer according to the firmware regulations;(3)根据数据文件的属性以固件的逻辑关系为依据创建文本格式的用户配置文件;(3) Create a user configuration file in text format based on the attributes of the data file and the logical relationship of the firmware;(4)使用上位机将数据文件与用户配置文件传输至解码器中并使固件根据用户配置文件与数据文件建立关联。(4) Use the host computer to transfer the data file and the user configuration file to the decoder and make the firmware associate the user configuration file with the data file.
- 根据权利要求1所述的一种轨道模型电控仿真系统的数据处理方法,其特征在于:步骤(1)中的固件包括音频处理模块、指令解析模块、可移动存储模块、电机驱动模块、特定灯效模块、信号输入输出处理模块以及用户配置文件解析模块。The data processing method of a track model electronic control simulation system according to claim 1, wherein the firmware in step (1) includes an audio processing module, an instruction analysis module, a removable storage module, a motor drive module, and a specific Lighting effect module, signal input and output processing module, and user profile analysis module.
- 根据权利要求2所述的一种轨道模型电控仿真系统的数据处理方法,其特征在于:所述音频处理模块的第一种逻辑结构为:The data processing method of a track model electronic control simulation system according to claim 2, wherein the first logical structure of the audio processing module is:(一)解码器预加载用户配置文件并关联链接数据文件中的音效文件;(1) The decoder preloads the user configuration file and associates the sound effect file in the link data file;(二)用户开始信号进入解码器并触发开始指令;(2) The user start signal enters the decoder and triggers the start instruction;(三)解码器调用已链接的音效文件;(3) The decoder calls the linked audio file;(四)判断链接的音效文件是否需要循环调用,若需要循环调用则进入步骤(五),否则进入步骤(七);(4) Determine whether the linked sound effect file needs to be called cyclically, if cyclic calling is needed, go to step (5), otherwise go to step (7);(五)判断音效文件所需循环调用的次数,若循环次数为有限次则在循环完成后进入步骤(七),若循环次数为无限次则进入步骤(六);(5) Judge the number of loop calls required for the sound effect file. If the number of loops is limited, then go to step (7) after the loop is completed, if the number of loops is unlimited, then go to step (6);(六)判断是否有用户控制信号进入,若无用户控制信号进入则保持循环调用音效文件,若有用户控制信号进入则进入步骤(七);(6) Determine whether there is a user control signal entering, if there is no user control signal entering, keep calling the sound effect file in a loop, if there is a user control signal entering, proceed to step (7);(七)判断是否需要进行新的音效文件调用,若需要则返回步骤(三),若不需要则停止;(7) Determine whether it is necessary to call a new sound effect file, if necessary, return to step (3), if not, stop;所述音频处理模块的第二种逻辑结构为:解码器预加载用户配置文件并关联链接数据文件中的音效文件,然后根据用户开始信号触发解码器,解码器依 次调用预设的N个已链接的音效文件,且N大于0,N的具体数值在用户配置文件中设定;The second logical structure of the audio processing module is: the decoder preloads the user configuration file and associates the sound effect file in the link data file, and then triggers the decoder according to the user start signal, and the decoder sequentially calls the preset N linked The sound effect file, and N is greater than 0, the specific value of N is set in the user configuration file;所述音频处理模块的第三种逻辑结构为:解码器预加载用户配置文件并关联链接数据文件中的音效文件,然后根据用户开始信号触发解码器并依次链接并调用预设的M个已链接的音效文件,并在调用完毕后返回开头再次依次调用预设的M个已链接的音效文件,且M大于0,M的具体数值可通过用户根据需要自行在用户配置文件中设置;The third logical structure of the audio processing module is: the decoder pre-loads the user configuration file and associates the sound effect files in the link data file, and then triggers the decoder according to the user start signal and sequentially links and calls the preset M linked After the call is completed, return to the beginning to call the preset M linked sound effect files again in sequence, and M is greater than 0, the specific value of M can be set in the user configuration file by the user according to the needs;所述音频处理模块的具体逻辑结构为上述三种音频处理模块的逻辑结构中的任意一种或任意两种的组合或三种的组合;The specific logical structure of the audio processing module is any one or a combination of any two or a combination of three of the above three logical structures of the audio processing module;所述电机驱动模块的具体逻辑结构为:The specific logical structure of the motor drive module is:(一)解码器预加载用户配置文件中的电机参数;(1) The decoder preloads the motor parameters in the user configuration file;(二)用户的操作信号或传感器信号作为开始信号进入解码器并触发开始指令;(2) The user's operation signal or sensor signal enters the decoder as the start signal and triggers the start instruction;(三)解码器根据用户的操作信号或传感器信号并以电机参数为依据对电机发送驱动信号以驱动电机;(3) The decoder sends a drive signal to the motor to drive the motor according to the user's operation signal or sensor signal and based on the motor parameters;(四)在电机运行时解码器实时接收电机的反馈参数并通过该参数实时调控电机的转速以保持转速的恒定;(4) When the motor is running, the decoder receives the feedback parameters of the motor in real time and regulates the speed of the motor in real time through the parameters to keep the speed constant;所述特定灯效模块的具体逻辑结构为:The specific logical structure of the specific lighting effect module is:(一)解码器预加载用户配置文件中特定的灯光配置参数;(1) The decoder pre-loads the specific lighting configuration parameters in the user configuration file;(二)用户操作信号或传感器信号作为开始信号进入解码器并触发开始指令;(2) The user operation signal or sensor signal enters the decoder as the start signal and triggers the start instruction;(三)解码器根据用户的操作信号或传感器信号并以灯光配置参数为依据向外发送灯光控制指令;(3) The decoder sends out lighting control instructions according to the user's operation signal or sensor signal and based on the lighting configuration parameters;(四)解码器根据用户操作信号或者传感器信号判断是否需要改变灯光控制指令,若不需改变则返回步骤(三),若需要改变则进入步骤(五);(4) The decoder judges whether the light control instruction needs to be changed according to the user's operation signal or the sensor signal, if it does not need to be changed, it returns to step (3), if it needs to be changed, it goes to step (5);(五)解码器根据用户的操作信号或传感器信号并以灯光配置参数为依据向外发送新的灯光控制指令,并返回步骤(四);(5) The decoder sends out a new light control instruction based on the user's operation signal or sensor signal and based on the light configuration parameters, and returns to step (4);所述可移动存储模块的作用是使上位机能够对解码器的存储器或通过存储插口与解码器相连接的存储器直接进行读写操作;The function of the removable storage module is to enable the host computer to directly perform read and write operations on the memory of the decoder or the memory connected with the decoder through a storage socket;所述用户配置文件解析模块用于解析用户配置文件中的字段信息,并根据字段信息使得解码器内部的各个模块分别和相应的数据文件链接,并在链接后预加载用户配置文件中的各项参数;The user configuration file parsing module is used to parse the field information in the user configuration file, and according to the field information, make each module in the decoder link with the corresponding data file, and preload the items in the user configuration file after linking. parameter;所述信号输入输出处理模块通过解码器能实现数字信号输入与输出、模拟信号输入与输出以及实时双向数据通信的功能。The signal input and output processing module can realize the functions of digital signal input and output, analog signal input and output, and real-time two-way data communication through the decoder.
- 根据权利要求3所述的一种轨道模型电控仿真系统的数据处理方法,其特征在于:步骤(2)中所述的数据文件包括音效文件和设备文件。A data processing method for a track model electronic control simulation system according to claim 3, wherein the data file in step (2) includes a sound effect file and a device file.
- 根据权利要求4所述的一种轨道模型电控仿真系统的数据处理方法,其特征在于:步骤(3)中所述的用户配置文件包含数据文件位置、数据文件的逻辑对应关系以及配置参数。A data processing method for a track model electronic control simulation system according to claim 4, wherein the user configuration file in step (3) includes the location of the data file, the logical correspondence relationship of the data file, and configuration parameters.
- 根据权利要求5所述的一种轨道模型电控仿真系统的数据处理方法,其特征在于:步骤(4)中所述的传输方式为上位机使用有线或无线直接连接的方式将数据文件与用户配置文件录入解码器的存储器中。The data processing method of a track model electronic control simulation system according to claim 5, characterized in that: the transmission mode in step (4) is that the upper computer uses a wired or wireless direct connection to connect the data file to the user The configuration file is recorded in the memory of the decoder.
- 基于权利要求1-6任意一项所述的一种轨道模型电控仿真系统的解码器构架,其特征在于:包括处理器,与处理器相连接的存储结构,与处理器相连接的用于双向传输数据的双向数据接口,分别与处理器相连接的用于控制特殊灯效的灯光驱动模块、用于处理音频文件的音频模块和用于驱动电机的电机驱动模块,同时与灯光驱动模块、音频模块、电机驱动模块以及处理器相连接的用于进行数据交换的接口单元,设置在接口单元与处理器之间的用于处理信号的信号输入输出模块,与接口单元相连接的用于提取解析信号的指令解析模块,以及与处理器相连接的用于监测和反馈电机运行情况的BEMF模块或外置的转速传感器。The decoder framework of a track model electronic control simulation system based on any one of claims 1-6, characterized in that it comprises a processor, a storage structure connected to the processor, and a storage structure connected to the processor for The two-way data interface for two-way data transmission, respectively connected to the processor to control the light drive module for special lighting effects, the audio module used to process audio files and the motor drive module used to drive the motor, and the light drive module, The audio module, the motor drive module, and the interface unit for data exchange connected to the processor, the signal input and output module for processing signals arranged between the interface unit and the processor, and the interface unit connected to the interface unit for extraction An instruction analysis module for analyzing signals, and a BEMF module or an external speed sensor connected to the processor for monitoring and feedback of the motor's operation.
- 根据权利要求7所述的一种轨道模型电控仿真系统的解码器构架,其特征在于:所述存储结构为存储器或通过存储插口与处理器相连接的存储结构。The decoder framework of a track model electronic control simulation system according to claim 7, wherein the storage structure is a memory or a storage structure connected to a processor through a storage socket.
- 根据权利要求8所述的一种轨道模型电控仿真系统的解码器构架,其特 征在于:所述处理器上还连接有保护模块和动力维护模块;所述保护模块为拥有检测故障并激活保护功能的功能电路,所述动力维护模块为能够自动切换供电线路的模块。The decoder framework of a track model electronic control simulation system according to claim 8, wherein the processor is also connected with a protection module and a power maintenance module; the protection module is capable of detecting faults and activating protection Functional functional circuit, the power maintenance module is a module that can automatically switch power supply lines.
- 根据权利要求9所述的一种轨道模型电控仿真系统的解码器构架,其特征在于:所述双向数据接口使用有线连接或基于无线传输模块的无线连接与上位机进行直接通信。The decoder framework of a track model electronic control simulation system according to claim 9, wherein the two-way data interface uses a wired connection or a wireless connection based on a wireless transmission module to directly communicate with an upper computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/072947 WO2020150956A1 (en) | 2019-01-24 | 2019-01-24 | Data processing method for orbit model electronic control simulation system, and decoder framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/072947 WO2020150956A1 (en) | 2019-01-24 | 2019-01-24 | Data processing method for orbit model electronic control simulation system, and decoder framework |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020150956A1 true WO2020150956A1 (en) | 2020-07-30 |
Family
ID=71736541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/072947 WO2020150956A1 (en) | 2019-01-24 | 2019-01-24 | Data processing method for orbit model electronic control simulation system, and decoder framework |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2020150956A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN85100485A (en) * | 1985-04-01 | 1985-11-10 | 江丽华 | Scientific magnetic toy magic tray |
CN204932846U (en) * | 2015-05-18 | 2016-01-06 | 优扬(天津)动漫文化传媒有限公司 | Electric toy train |
CN205073668U (en) * | 2015-09-09 | 2016-03-09 | 北京视友科技有限责任公司 | Toy train of brain electric control |
CN106964164A (en) * | 2017-04-26 | 2017-07-21 | 国动物联网技术(上海)有限公司 | A kind of wireless children's remote-controlled toy vehicles of LoRa |
-
2019
- 2019-01-24 WO PCT/CN2019/072947 patent/WO2020150956A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN85100485A (en) * | 1985-04-01 | 1985-11-10 | 江丽华 | Scientific magnetic toy magic tray |
CN204932846U (en) * | 2015-05-18 | 2016-01-06 | 优扬(天津)动漫文化传媒有限公司 | Electric toy train |
CN205073668U (en) * | 2015-09-09 | 2016-03-09 | 北京视友科技有限责任公司 | Toy train of brain electric control |
CN106964164A (en) * | 2017-04-26 | 2017-07-21 | 国动物联网技术(上海)有限公司 | A kind of wireless children's remote-controlled toy vehicles of LoRa |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106909425A (en) | A kind of DSP and FPGA system online upgrading method | |
CN107977212A (en) | Support the high speed cd-rom recorder of multiple communication modes | |
WO2020150956A1 (en) | Data processing method for orbit model electronic control simulation system, and decoder framework | |
CN202796079U (en) | Portable program burner | |
CN104318638A (en) | J1939 bus data recorder, component layout method and technological process | |
CN104253663A (en) | Train full-featured digital-analog hybrid intelligent broadcast control box | |
CN103873983A (en) | Design method for novel vehicle-mounted audio frequency system | |
CN204119245U (en) | A kind of train global function numerical model analysis intelligent broadcast control box | |
CN201179350Y (en) | Intelligent toy with synchronous action and sound | |
CN109814406B (en) | Data processing method and decoder framework of track model electronic control simulation system | |
CN108549042B (en) | NVME LED detection system and detection method | |
CN111175632A (en) | Single board testing system based on python | |
CN201421561Y (en) | Multi-data re-check calibrating system | |
CN111522572A (en) | Online upgrading method and system for embedded software | |
CN204463096U (en) | A kind of electric-controlled unit program download desk of automobile | |
CN203313471U (en) | Lamp control apparatus | |
CN101051435A (en) | Copying and detecting system for flat panel display product EDID | |
CN207481770U (en) | Low power-consumption intelligent HUD systems based on T3 vehicles rule grade controller | |
CN115394328A (en) | Realization system based on CAN bus interface voice playing module | |
CA2297622A1 (en) | Semantic errors diagnostic operation for multi-agent system | |
CN206741252U (en) | Dual processor sensor signal processing module | |
CN104253664B (en) | A kind of broadcasting for train control box based on ethernet network | |
CN104375919B (en) | A kind of 2.5 cun of hard disk flat push type data-detection apparatus in Seagate and detection method | |
CN105974438B (en) | Vehicular Beidou/GPS positioning device outfield positioning accuracy test device | |
CN205003503U (en) | PLC cooperative control device based on ARM embedded technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19911615 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19911615 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 04/02/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19911615 Country of ref document: EP Kind code of ref document: A1 |