Fountain digital mechanism control system

By using the two-way communication and automatic speed change algorithm of the RDM protocol in the fountain digital mechanism control system, the problem of existing systems being unable to obtain operating information and motor lag is solved, and efficient parameter management and smooth speed change are achieved.

CN119806216APending Publication Date: 2025-04-11BEIJING YIJING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411984019.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing fountain digital mechanism control system cannot obtain the specific operation information of the fountain digital mechanism, cannot perform parameter setting and management, and there is a problem of motor stuttering during speed change.

Method used

The control system based on the RDM protocol is adopted to obtain the operating information of the fountain digital mechanism through RDM bidirectional communication, and the automatic speed change algorithm is used to adjust the pulse signal of the driving motor according to the target operation parameters to achieve smooth speed change and avoid lag.

Benefits of technology

Remote parameter setting and query of the fountain digital mechanism is realized, ensuring smooth and smooth speed change process, avoiding motor lag, and improving system management and control efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806216A_ABST
    Figure CN119806216A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automatic control, and discloses a fountain digital mechanism control system which comprises a control device used for receiving a first control instruction of a user based on an RDM protocol, analyzing the first control instruction to obtain a target operation parameter and obtaining a current operation parameter of a fountain digital mechanism, when the current operation parameter is different from the target operation parameter, a pulse adjustment instruction used for adjusting the current operation parameter is sent out according to an automatic speed change algorithm, and a motor of the fountain digital mechanism is driven to operate according to a pulse parameter corresponding to the pulse adjustment instruction; and the fountain digital mechanism is used for working according to the pulse parameters to update the current operation parameters to the target operation parameters. The fountain digital mechanism is controlled based on the RDM protocol, parameter setting and management are conducted on the fountain digital mechanism through the RDM two-way communication attribute, automatic speed changing is achieved by adjusting the pulse signals of the driving motor through the automatic speed changing algorithm, and jamming is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiment of the invention relates to the field of automatic control technology, and in particular to a fountain digital mechanism control system. Background Art

[0002] The digital mechanism of fountain has been used in the field of fountain for many years. Its basic structure and principle are: the stepper motor or servo motor drives the nozzle to rotate through the reduction mechanism, and the nozzle rotates and then swings the water sprayed from the nozzle, thereby realizing the change of the posture of the water. Since the stepper motor and servo motor can accurately control the angle and speed of rotation, various complex actions can be realized.

[0003] The prior art uses a stepper motor controller based on the DMX512 bus, which receives command data from a computer and then converts it into angle, direction, and speed, thereby controlling the rotation of the stepper motor, and thus controlling the rotation angle, direction, and speed of the nozzle.

[0004] However, the DMX512 protocol itself can only transmit in one direction, and the controller cannot return information data. Therefore, it is impossible to obtain the specific operation information of the fountain digital mechanism, and it is impossible to set parameters and manage the fountain digital mechanism. In addition, the existing stepper motor controller based on the DMX512 bus in the fountain field changes speed according to a predetermined fixed acceleration and deceleration method. If a control method of giving a real-time target position is adopted, the motor of the fountain digital mechanism will be stuck and the operation will not be smooth. Summary of the invention

[0005] The purpose of the embodiment of the present invention is to provide a fountain digital mechanism control system, which controls the fountain digital mechanism based on the RDM protocol, and utilizes the RDM two-way communication attribute to obtain the specific operation information of the fountain digital mechanism so as to set and manage its parameters. According to the target operating parameters, the automatic speed change algorithm is used to adjust the pulse signal of the drive motor to achieve automatic speed change, and the change process is smooth and smooth, and no jamming occurs.

[0006] To solve the above technical problems, an embodiment of the present invention provides a fountain digital mechanism control system, including: a control device, used to receive a first control instruction from a user based on an RDM protocol, parse the first control instruction to obtain target operating parameters and obtain current operating parameters of the fountain digital mechanism, and when the current operating parameters are different from the target operating parameters, issue a pulse adjustment instruction for adjusting the current operating parameters according to an automatic speed change algorithm; drive the motor of the fountain digital mechanism to operate according to the pulse parameters corresponding to the pulse adjustment instruction; the fountain digital mechanism is used to work according to the pulse parameters to update the current operating parameters to the target operating parameters.

[0007] In addition, the control device as described above includes a control module and a drive module connected thereto; wherein, the control module receives the first control instruction, parses the first control instruction to obtain the target operating parameters and obtains the current operating parameters of the fountain digital mechanism, and when the current operating parameters are different from the target operating parameters, issues the pulse adjustment instruction according to the automatic speed change algorithm; the drive module is used to drive the motor of the fountain digital mechanism to operate according to the pulse parameters corresponding to the pulse adjustment instruction.

[0008] In addition, the control module as described above is also used to set the reduction ratio and subdivision parameters of the motor of the fountain digital mechanism, and output a pulse adjustment instruction containing the pulse parameters according to the set reduction ratio and subdivision parameters; the driving module is used to obtain the pulse parameters according to the pulse adjustment instruction, and the pulse parameters at least include: the number of pulses.

[0009] In addition, the fountain digital mechanism as described above includes: a motor, a speed change mechanism, a sensor and a digital nozzle; the motor is used to drive the digital nozzle to rotate through the speed change mechanism; and the sensor is used to obtain the position of the digital nozzle.

[0010] In addition, the control module as described above is also used to specify the swing angle range, clockwise rotation speed, counterclockwise rotation speed and the swing center point position of the digital nozzle.

[0011] In addition, the control module as described above is also used to receive a reset instruction from the user and control the digital printhead to reset to a default initial position according to the reset instruction.

[0012] In addition, the control module as described above is also used to receive a user's query request based on the RDM protocol, and return feedback information corresponding to the query request to the user; the feedback information includes at least: the address code of the control module, the manufacturer information of the control module, the channel quantity mode of the control module, the reduction ratio and subdivision of the fountain digital mechanism, the sensor level type, the maximum rotation angle of the control module, the offset data of the sensor, the encryption and decryption status of the control module, and any one of the encryption expiration time.

[0013] In addition, the control module as described above is also used to receive the setting instructions of the user to execute the setting actions corresponding to the setting instructions; the setting actions at least include: setting the address code of the control module, setting the channel quantity mode of the control module, setting the reduction ratio and subdivision of the fountain digital mechanism, setting the forward and reverse rotation of the motor of the fountain digital mechanism, setting the upper and lower dimensions of the two-dimensional mechanism to be swapped, setting the sensor level type of the control module, setting the maximum rotation angle of the fountain digital mechanism, setting the sensor offset data, setting the encryption and decryption status of the control module, and setting any one of the encryption expiration time of the control module.

[0014] In addition, the control module as described above is also used to receive a second control instruction from the user, wherein the second control instruction at least includes a data packet for setting parameters for the control module or a data packet including a query request for querying parameters of the control module; the control module is also used to parse the data packet obtained by the second control instruction, and execute a parameter setting action or a parameter query return action corresponding to the second control instruction according to the start code of the data packet; wherein the start code is a non-zero start code and a non-RDM start code.

[0015] In addition, the control module as described above includes: a data transceiver unit, used to receive a first control instruction, a query request, a setting instruction and a reset instruction and send them to the MCU; the MCU, used to parse the first control instruction to obtain the target operating parameters, obtain the current operating parameters, and when the current operating parameters are different from the target operating parameters, generate the pulse adjustment instruction according to the automatic speed change algorithm; a signal output unit, used to receive the pulse adjustment instruction and output a corresponding pulse signal according to the pulse adjustment instruction.

[0016] Compared with the related art, the fountain digital mechanism control system in the embodiment of the present invention receives the user's first control instruction based on the RDM protocol through the control module, parses the first control instruction to obtain the target operating parameters and simultaneously obtains the current operating parameters of the fountain digital mechanism. When the current operating parameters are different from the target operating parameters, a pulse adjustment instruction for adjusting the current operating parameters is issued according to the automatic speed change algorithm, and the driving module drives the motor of the fountain digital mechanism to operate according to the pulse parameters corresponding to the pulse adjustment instruction, so that the current operating parameters of the fountain digital mechanism are updated to the target operating parameters. The above-mentioned system of the present invention utilizes the RDM two-way communication attribute to obtain the specific operating information of the fountain digital mechanism, thereby remotely setting and querying its parameters, and uses the automatic speed change algorithm to adjust the pulse signal driving the fountain digital mechanism according to the target operating parameters to achieve automatic speed change, and the change process is smooth and smooth, and no jamming occurs. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.

[0018] Figure 1 It is a structural schematic diagram of a fountain digital mechanism control system in one embodiment of the present invention;

[0019] Figure 2 It is a schematic diagram of the structure of a control module in one embodiment of the present invention. Specific embodiments

[0020] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it can be understood by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present invention. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present invention can also be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0021] Before describing this solution in detail, the prior art is first introduced. In the prior art, motor control in the field of fountains has gradually begun to be implemented based on the DMX512 bus. The computer (or main controller) sends commands, and each sub-controller collects data such as motors and nozzles for relevant processing. However, DMX512 is a one-way communication, and the collected data cannot be known by the computer end (or main control end). In addition, the address code setting of each sub-controller can only be set manually one by one through buttons or dial switches. When each sub-controller is placed in a remote dispersed position underwater, when the address code needs to be changed, the waterproof box can only be disassembled one by one and manually set again, which greatly increases the debugging cost and complexity. In addition, the existing stepper motor controller implemented based on the DMX512 bus in the fountain field changes speed according to a predetermined fixed acceleration and deceleration method when changing speed. If a control method of real-time given target position is adopted, the motor of the fountain digital mechanism will be stuck and run unsmoothly.

[0022] To solve the above problems, the present invention proposes a fountain digital mechanism control system, such as Figure 1 As shown, the fountain digital mechanism control system in this embodiment specifically includes the following contents:

[0023] The control device 10 is used to receive a first control instruction from the user based on the RDM protocol, parse the first control instruction to obtain the target operating parameters and obtain the current operating parameters of the fountain digital mechanism 103, and when the current operating parameters are different from the target operating parameters, issue a pulse adjustment instruction for adjusting the current operating parameters according to the automatic speed change algorithm, and drive the motor of the fountain digital mechanism 103 to operate according to the pulse parameters corresponding to the pulse adjustment instruction; the fountain digital mechanism 103 is used to work according to the pulse parameters to update the current operating parameters to the target operating parameters.

[0024] Specifically, the remote device management (RDM) protocol adds the function of remote device management, uses the physical layer and data link layer of the DMX protocol for communication, and manages through additional RDM data packets. Since each device in the network has a unique UID (device unique identifier) ​​for identification and management, the embodiment of the present invention uses RDM control software to communicate with the remote device based on the RDM protocol to perform remote device management. The firmware of the remote device implements the function of the RDM protocol, and it needs to support the processing of the data link layer and RDM data packets. The firmware parses the received RDM data packet and performs corresponding operations according to the commands in the packet. For example, when the "DISCOVER" command is received, the device's firmware needs to reply with an RDM data packet containing device information. The firmware also needs to handle error conditions, such as duplicate UIDs (device unique identifiers) or invalid commands. In addition, the firmware also needs to adapt to the DMX protocol to ensure that the RDM protocol can be correctly transmitted in the DMX data stream.

[0025] The remote device in this embodiment is the control device 10. The control device 10 is connected to the fountain digital mechanism 103, and the control device 10 can drive the fountain digital mechanism 103 to operate.

[0026] The user sends an RDM data packet containing a first control instruction to the control device 10 through the RDM control software. The first control instruction carries the UID of the control device 10, which is used to instruct the control device 10 to control the fountain digital mechanism 103 to operate with target operating parameters. The target operating parameters may be the motor rotation speed, motor rotation angle, etc. of the fountain digital mechanism 103, and this embodiment does not impose specific restrictions on this. Specifically, the parameter query and setting of a specific device can be achieved by filling in the target UID field in the data packet. The control device 10 can obtain the UID by parsing the first control instruction and compare it with its own UID. If they are the same, a corresponding action is taken. If they are different, no response is given.

[0027] The control device 10 receives the first control instruction based on the RDM communication protocol between the control software, parses the first control instruction to obtain the target operating parameters in the first control instruction, and at the same time, the control device 10 can obtain the current operating parameters of the fountain digital mechanism 103 recorded by the internal MCU, and compare them with the target operating parameters. The current operating parameters of the fountain digital mechanism 103 can be the current motor rotation speed and motor rotation angle of the fountain digital mechanism 103. This embodiment does not impose specific restrictions on this, but it should be noted that the current operating parameters and the target operating parameters are the same parameters. When the current operating parameters are different from the target operating parameters, a pulse adjustment instruction for adjusting the current operating parameters is issued according to the automatic speed change algorithm. Among them, the automatic speed change algorithm is also called the motor speed adaptive control algorithm. Its basic principle is to obtain the current speed of the motor, compare it with the set target speed (target operating parameter), and then use the control algorithm to calculate the control signal to drive the motor to achieve speed regulation.

[0028] It should be noted that, since RDM is an extension of the DMX512 standard, it realizes two-way communication based on DMX, that is, RDM includes the functions realized by DMX. Therefore, when there is no need to set parameters for the control device 10 and obtain the parameter status of the control device 10, this solution can also use the DMX512 protocol instead of the RDM protocol to receive the user's first control instruction, parse the first control instruction to obtain the target operating parameters and obtain the current operating parameters of the fountain digital mechanism. When the current operating parameters are different from the target operating parameters, a pulse adjustment instruction for adjusting the current operating parameters is issued according to the automatic speed change algorithm, and the motor of the fountain digital mechanism is driven to operate according to the pulse parameters corresponding to the pulse adjustment instruction. In addition, in this embodiment, there is no specific restriction on the method for obtaining the current operating parameters, which can be obtained through the current position count variable of the MCU inside the control device 10, or can be obtained by real-time measurement by a sensor and fed back to the control device 10.

[0029] Specifically, the control device 10 specifies the rotation angle corresponding to the motor, i.e., the end position, through an 8-bit data or a 16-bit data according to the received first control instruction. Each value of one channel (8-bit) or two channels (16-bit) of data corresponds to a position (i.e., the position mode) to which the motor should run, and then controls the operation of the motor by continuously providing position data. In this process, the speed change process is to determine whether to accelerate, decelerate, or run at a constant speed by calculating the difference between the target position and the current motor position in real time, and this difference is determined by the difference between the aforementioned 8-bit or 16-bit channel data of RDM (including DMX) at each moment. The position data is calculated according to waveform curves such as sine waves and cosine waves and sent to the control device 10. The speed and angle of the motor rotation are controlled by changing the amplitude of the sine wave and the period of the change speed. The amplitude of the waveform determines the number of pulses (how many angles to run), and the period of the waveform determines the frequency of the pulses, thereby realizing the control of the motor. The above process is the application process of the automatic speed change algorithm.

[0030] The control device 10 uses an automatic speed change algorithm to issue a pulse adjustment instruction for adjusting the current operating parameters according to the current operating parameters and target operating parameters of the fountain digital mechanism 103, and drives the motor of the fountain digital mechanism 103 to operate according to the pulse parameters corresponding to the pulse adjustment instruction, so that the fountain digital mechanism 103 can operate with the pulse parameters corresponding to the pulse adjustment instruction, thereby updating the current operating parameters of the fountain digital mechanism 103 to the target operating parameters, and completing the execution of the first control instruction. It should be noted that the motor involved in each embodiment of the present scheme can be a stepper motor or a servo motor, and this embodiment does not make specific restrictions on this.

[0031] In an example, Figure 1 As shown, the control device 10 includes a control module 101 and a drive module 102 connected thereto; wherein, the control module 101 receives a first control instruction, parses the first control instruction to obtain target operating parameters and obtains current operating parameters of the fountain digital mechanism, and when the current operating parameters are different from the target operating parameters, issues a pulse adjustment instruction according to an automatic speed change algorithm; the drive module 102 is used to drive the motor of the fountain digital mechanism 103 to operate according to the pulse parameters corresponding to the pulse adjustment instruction.

[0032] Specifically, in a control device, there can be one or more drive modules 102, and this embodiment does not specifically limit the number of drive modules. The control module 101 and the drive module 102 can be integrally formed or can belong to separate devices, and this embodiment does not limit this. In some cases, the control module 101 is the controller, and the drive module 102 is the driver.

[0033] In another example, the control module 101 is also used to set the reduction ratio and subdivision parameters of the motor of the fountain digital mechanism 103, and output a pulse adjustment instruction containing the pulse parameters according to the set reduction ratio and subdivision parameters; the drive module 102 is used to obtain the pulse parameters according to the pulse adjustment instruction, and the pulse parameters include at least: the number of pulses.

[0034] Specifically, before receiving the first control instruction, the motor reduction ratio and subdivision parameters of the fountain digital mechanism 103 can be set in advance in the control module 101, and the pulse parameters required for the motor of the current fountain digital mechanism 103 to rotate one circle are determined according to the set reduction ratio and subdivision, thereby determining the pulse parameters to be adjusted during speed change. After receiving the first control instruction, the control module 101 determines the pulse parameters to be adjusted during speed change according to the automatic speed change algorithm, and outputs a pulse adjustment instruction for adjusting the current operating parameters according to the number of pulses. The pulse parameters are included in the pulse adjustment instruction, and the pulse parameters at least include: the number of pulses. The control module 101 determines the number of pulses for controlling the number of motor operation steps through the reduction ratio and subdivision parameters set by RDM, and continuously determines the number of pulses according to the pulse adjustment instruction, that is, determines the pulse amplitude during the automatic speed change process. This embodiment facilitates adaptation to fountain digital mechanism control of different manufacturers by setting the reduction ratio and subdivision parameters as configurable variable parameters.

[0035] In another example, the fountain digital mechanism 103 includes: a motor, a speed change mechanism, a sensor, and a digital nozzle; the motor is used to drive the digital nozzle to rotate through the speed change mechanism; the sensor is used to obtain the position of the digital nozzle.

[0036] Specifically, a fountain digital mechanism 103 may include at least one motor, at least one speed change mechanism, at least one sensor and at least one digital nozzle. For example, in a one-dimensional fountain digital mechanism, one digital nozzle is controlled by one motor; in a two-dimensional fountain digital mechanism, one digital nozzle is controlled by two motors, and the two motors drive the rotation in the X-axis and Y-axis directions respectively. In this embodiment, there is no specific limitation on the number of motors, speed change mechanisms, sensors and digital nozzles.

[0037] In another example, the control module 101 is further used to specify the swing angle range, clockwise rotation speed, counterclockwise rotation speed, and the swing center point position of the digital printhead.

[0038] Specifically, taking the two-dimensional fountain digital mechanism as an example, the digital nozzle can rotate along the X and Y axes within a preset angle range. In this embodiment, the control module 101 can specify the swing angle range of the digital nozzle. Generally speaking, it can be set within the angle range of plus or minus 180 degrees, and this embodiment does not impose specific restrictions on this. In addition, in this embodiment, another speed channel can be used to specify the speed of the digital nozzle rotating clockwise and counterclockwise, and a position counter is used during the rotation process, so that when released, the digital nozzle can return to the default position where the position counter is 0. In addition, it should be noted that when the digital nozzle continues to rotate and causes the position counter to overflow, the default position of the position counter is lost, and the digital nozzle can no longer return to the default position. At this time, if the value of the position counter is greater than or equal to the count value of the digital nozzle rotating one circle, the value of the digital nozzle rotating one circle is subtracted from the position counter to solve the overflow problem. It should be noted that in this embodiment, the value of the position counter when the digital nozzle rotates one circle is determined by the reduction ratio and subdivision parameters set by the control module 101 based on the RDM protocol.

[0039] The swing angle range of the digital nozzle can be adjusted by specifying the swing center point position of the swinging digital nozzle. For example, taking the two-instrument nozzle as an example, when the PAN channel determines the angle range of the nozzle swing, it is assumed that when the PAN channel value is 0, it corresponds to -180 degrees, and when the channel value is 255, it corresponds to +180 degrees; when the channel that determines the center offset is the default value, the corresponding nozzle is initially at the default zero position, that is, the swing center is not offset, and the swing angle range is still -180°~+180°; when the channel that determines the center offset is the value corresponding to the other nozzle of the two-instrument nozzle, the other nozzle corresponding to the two-instrument nozzle, that is, the swing center is offset by 180°, and the swing angle range is 0°~360°; similarly, for the three-instrument nozzle, the four-instrument nozzle, etc., a similar method can be used to adjust the swing angle range of the digital nozzle by specifying the swing center point position of the swinging digital nozzle. In this embodiment, setting the swing center point position of the digital nozzle is achieved by changing the value of the channel that determines the center offset, and there is no specific restriction on the offset angle value.

[0040] In another example, the control module 101 is further configured to receive a reset instruction from a user and control the digital printhead to reset to a default initial position according to the reset instruction.

[0041] Specifically, a sensor is generally installed at the default initial position of the digital nozzle, and the position of the digital nozzle is detected by the sensor. After the control module 101 receives the reset instruction, it controls the rotation of the digital nozzle through the driving module 102 according to the reset instruction, and the sensor continues to detect the signal. When the sensor signal is detected, the digital nozzle is controlled to stop rotating, and the current position of the digital nozzle is the default initial position, that is, the digital nozzle is reset to the default initial position.

[0042] In one example, the control module 101 is further configured to receive a query request from a user based on the RDM protocol, and return feedback information corresponding to the query request to the user.

[0043] Specifically, the process of the control module 101 receiving the query request in this embodiment is similar to the process of the control module 101 receiving the first control instruction. The user sends an RDM data packet containing the query request to the control module 101, obtains the user's query request by parsing the data packet, obtains corresponding feedback information according to the user's query request, and returns the corresponding feedback information to the user. The feedback information includes at least: the address code of the control module 101, the manufacturer information of the control module 101, the channel quantity mode of the control module 101, the reduction ratio and subdivision of the fountain digital mechanism 103, the sensor level type, the maximum rotation angle of the control module 101, the offset data of the sensor, the encryption and decryption status of the control module 101, and any one of the encryption expiration time.

[0044] In one example, the control module 101 is also used to receive setting instructions from the user to execute setting actions corresponding to the setting instructions; wherein the setting actions at least include: setting the address code of the control module 101, setting the channel quantity mode of the control module 101, setting the forward and reverse rotation of the motor of the fountain digital mechanism 103, setting the upper and lower dimensions of the two-dimensional mechanism to be swapped, setting the reduction ratio and subdivision of the motor of the fountain digital mechanism 103, setting the sensor level type of the control module 101, setting the maximum rotation angle of the fountain digital mechanism 103, setting the sensor offset data, setting the encryption and decryption status of the control module 101, and setting any one of the encryption expiration time of the control module 101.

[0045] Specifically, in this embodiment, the process of the control module 101 receiving the user's setting instructions is similar to the process of receiving the first control instruction. The user sends an RDM data packet containing the setting instructions to the control module 101. The control module 101 obtains the user's setting instructions by parsing the data packet and executes the corresponding setting action according to the setting instructions.

[0046] The main control module searches for all sub-control modules (i.e., control module 101 in this embodiment) that support the RDM protocol in the system by sending broadcast data packets. After the search is completed, the main control module obtains the UIDs of all control modules in the entire system, and then fills in the target UID field in the data packet to implement parameter settings and inquiries for the specified control module 101. At the same time, the main control module periodically searches for devices to ensure that sub-control modules that are powered on later or newly added can also be managed.

[0047] This embodiment uses the RDM protocol to implement the following operations: obtaining the address code of the control module 101, the manufacturer information of the control module 101, the channel number mode of the control module 101, the reduction ratio and subdivision of the fountain digital mechanism 103, the sensor level type, the maximum rotation angle of the control module 101, the offset data of the sensor, the encryption and decryption state of the control module 101, and any one of the encryption expiration time. And using the RDM protocol, the address code of the control module 101 is set, the channel number mode of the control module 101 is set, the motor forward and reverse rotation of the fountain digital mechanism 103 is set, the upper and lower dimensions of the two-dimensional mechanism are swapped, the fountain digital mechanism 103 is reset, the reduction ratio and subdivision of the motor of the fountain digital mechanism 103 is set, the sensor level type of the control module 101 is set, the maximum rotation angle of the fountain digital mechanism 103 is set, the sensor offset data is set, the encryption and decryption state of the control module 101 is set, and any one of the encryption expiration time of the control module 101 is set.

[0048] In different application scenarios, for fountain digital mechanisms of different manufacturers, this embodiment can read and set the fountain digital mechanism reduction ratio and subdivision, so as to achieve angle matching. A control module sets different reduction ratios for odd and even to achieve odd and even control of the upper and lower dimensions respectively. Different reduction ratios and subdivisions can also be set for each point separately. This embodiment does not impose specific restrictions on this. It is also possible to read and configure the sensor level type for matching equipment from different manufacturers, configure the maximum speed of the control module and the default speed of some special actions, configure and read the maximum rotation angle of the control module to limit the angle range of the nozzle rotation, which is suitable for occasions with limited angles, such as dry spraying, etc. It also reads and sets the sensor offset data function and clears the sensor offset data function. In addition, this embodiment can also read and configure the encryption and decryption status of the control module 101 and the encryption expiration time, so as to control the use authority and time of the control module 101.

[0049] This embodiment configures the sensor level type of the control module 101 based on RDM. Since a specific level is detected in the automatic speed change application, it is considered that the sensor signal has been received, and the next step can be performed. By adjusting the installation position of the sensor, the nozzle can be returned to the default position. Taking into account that the sensor level types used by fountain digital mechanisms of different manufacturers are different, this embodiment sets the sensor level type to be configurable through the control module 101 based on RDM, thereby realizing the reset function for different sensor types, so that the control module 101 can match the digital mechanisms of different manufacturers.

[0050] Compared with the related art, the fountain digital mechanism control system in this embodiment receives the user's first control instruction based on the RDM protocol, parses the first control instruction to obtain the target operating parameters and simultaneously obtains the current operating parameters of the fountain digital mechanism 103. When the current operating parameters are different from the target operating parameters, a pulse adjustment instruction for adjusting the current operating parameters is issued according to the automatic speed change algorithm, and the motor of the fountain digital mechanism 103 is driven to operate according to the pulse parameters corresponding to the pulse adjustment instruction, so that the current operating parameters of the fountain digital mechanism 103 are updated to the target operating parameters. The above-mentioned system of the present invention utilizes the RDM two-way communication attribute to obtain the specific operating information of the fountain digital mechanism 103, so as to remotely set and query its parameters, and uses the automatic speed change algorithm to adjust the pulse signal driving the fountain digital mechanism 103 according to the target operating parameters to achieve automatic speed change, and the change process is smooth and smooth, and there will be no jamming. The parameter setting and query of the fountain digital mechanism 103 control system can be realized through the RDM protocol, which is convenient for system management.

[0051] Another embodiment of the present invention relates to a fountain digital mechanism control system. This embodiment is a supplement to the aforementioned embodiment. Considering that the RDM software operation is complex and costly, this embodiment provides another way to set various parameters of the control module 101 and return the status parameters of the control module 101 through the fountain digital mechanism control system of this embodiment.

[0052] In another example, the control module 101 is also used to receive a second control instruction from the user, and the second control instruction includes at least a data packet for setting parameters for the control module 101 or a data packet including a query request for querying parameters of the control module 101; the control module 101 is also used to parse the data packet obtained by the second control instruction, and execute a parameter setting action or a parameter query return action corresponding to the second control instruction according to the start code of the data packet; wherein the start code is a non-zero start code and a non-RDM start code.

[0053] Specifically, when the user cannot use the RDM software to issue a control instruction to the control module 101, the control module 101 is pre-configured with a custom non-zero start code data, and a second control instruction is issued to the control module 101 through other non-RDM self-configuration software. The second control instruction can be used to set parameters for the control module 101 or query certain status parameters of the control module 101. That is, the second control instruction at least includes a data packet for setting parameters for the control module 101 or a data packet including a query request for querying the parameters of the control module 101; the control module 101 is also used to parse the data packet obtained by the second control instruction, and execute the parameter setting action or parameter query return action corresponding to the second control instruction according to the start code of the data packet; wherein the start code is a non-zero start code and a non-RDM start code. Usually, the start code is data of 0 to 255. In addition to the zero start code and the RDM start code, there are 254 start codes that can be used. This embodiment uses only one start code that is neither zero nor RDM to distinguish the function data from the zero start code data and the RDM data, and then uses the custom start data header of the data segment to distinguish parameter settings and parameter queries, as well as specific parameter types. In addition, different start codes can be used to correspond to query and setting parameter functions, as well as different specific parameters. In addition, one start code can be selected from 254 to correspond to query and one to correspond to setting. After distinguishing between setting and query, the custom start data header of the data segment can be used to distinguish specific parameter types.

[0054] The parameters that can be set in the parameter setting action in this embodiment include but are not limited to setting the address code of the control module 101, setting the channel number mode of the control module 101, setting the forward and reverse rotation of the motor of the fountain digital mechanism 103, setting the upper and lower dimensions of the two-dimensional mechanism to be swapped, setting the fountain digital mechanism 103 to be reset, setting the reduction ratio and subdivision of the motor of the fountain digital mechanism 103, setting the sensor level type of the control module 101, setting the maximum rotation angle of the fountain digital mechanism 103, setting the sensor offset data, setting the encryption and decryption state of the control module 101, and setting the encryption expiration time of the control module 101. The parameters queried and returned in this embodiment include but are not limited to: the address code of the control module 101, the manufacturer information of the control module 101, the channel number mode of the control module 101, the reduction ratio and subdivision of the fountain digital mechanism 103, the sensor level type, the maximum rotation angle of the control module 101, the sensor offset data, the encryption and decryption state of the control module 101, and the encryption expiration time.

[0055] Compared with the related art, this embodiment uses different start codes to distinguish whether the data is RDM data or customized configuration data. In this way, in the absence of RDM software or RDM hardware (the basic requirement of RDM is two-way communication), all the above parameters can be configured using self-developed debugging tools. This not only realizes RDM but also maintains backward compatibility, and all parameters can be configured without RDM software and hardware.

[0056] Another embodiment of the present invention relates to a fountain digital mechanism control system, such as Figure 2 As shown, this embodiment is a refinement of the control module 101 of the above-mentioned embodiment, and specifically includes the following contents.

[0057] The control module 101 includes: a data transceiver unit 1011, which is used to receive a first control instruction, a query request, a setting instruction, and a reset instruction and send them to the MCU; the MCU is used to parse the first control instruction to obtain the target operating parameters, and obtain the current operating parameters, and when the current operating parameters are different from the target operating parameters, generate a pulse adjustment instruction according to the automatic speed change algorithm; a signal output unit 1012, which is used to receive the pulse adjustment instruction and output a corresponding pulse signal according to the pulse adjustment instruction. Specifically, the control module 101 implements the external data receiving and sending functions through the data transceiver unit 1011, and controls the switching of the receiving and sending functions of the data transceiver unit 1011 through the IO port of the MCU. That is, the control module 101 receives the first control instruction, the query request, the setting instruction, and the reset instruction through the data transceiver unit 1011 and sends them to the MCU.

[0058] The data transceiver unit 1011 mainly uses a 485 communication chip, such as Zhou Ligong RSM3485ECHT, to realize the 485 transceiver function. Other 485 communication chips can also be used, or based on the ARTNET network interface, or ARTNET via WiFi communication, or via an optical fiber module to realize the transceiver of RDM (including DMX) data. In addition, the transmission of RDM signals can be realized through a wireless 485 chip or a 485 wireless communication module. This embodiment does not impose specific restrictions on this. The data transceiver unit 1011 is connected to the 485 bus through a shielded twisted pair cable (it can also be a two-core or three-core shielded signal cable) and is electrically connected to the MCU. The MCU passes the data to be sent out to the data transceiver unit 1011, and the data transceiver unit 1011 sends it to the 485 bus to realize data transmission.

[0059] The MCU is used for parsing the first control instruction to obtain the target operating parameter, obtaining the current operating parameter, and generating a pulse adjustment instruction according to the automatic speed change algorithm when the current operating parameter is different from the target operating parameter.

[0060] The signal output unit 1012 is used to receive the pulse adjustment instruction and output the corresponding pulse signal according to the pulse adjustment instruction. The signal output unit 1013 uses two ULN2803 chips to realize the connection with the IO port of the MCU, and outputs the direction and pulse signal of the motor driving the fountain digital mechanism 103 through the external terminal. Since two ULN2803 chips are used, it is possible to output 8 groups of direction and pulse signals. Of course, the specific output of several groups of direction pulse signals depends on the specific needs, which can be one group or multiple groups. At the same time, other chips or triodes, MOS tubes and other solutions can also be used to realize the output of signals, and this implementation does not make specific restrictions on this.

[0061] In an example, Figure 2 As shown, the control module 101 in this embodiment also includes: a signal acquisition unit 1013, which is used to receive the sensor signal on the fountain digital mechanism 103. The signal acquisition unit 1013 obtains the input sensor signal, which is first isolated by a relay, and then filtered by a resistor and capacitor, and then transmitted to the IO port of the MCU. The MCU reads the input signal by polling the IO port. After the MCU reads the input signal, it performs corresponding processing. The present invention uses a power relay to realize the filtering function of the external interference signal, and performs software filtering on the input signal, thereby ensuring the stability of the input signal and the system.

[0062] The address setting and display unit 1014 is used to adjust the address code of the fountain digital mechanism 103 and display the address code according to the setting instruction manually input by the user.

[0063] Specifically, the address setting and display unit 1014 is implemented by buttons and LED digital tubes, and the MCU is connected to the buttons and LED digital tubes through the IO port. The buttons realize position selection, value change, and function determination, and the LED digital tube is responsible for displaying the address code of the current module. Other schemes such as a touch screen, or an integrated button, an integrated button and an LED display module can also implement this function. When the user reconfigures the address code of the control module 101 by sending a control instruction to the control module 101, the LED digital tube will display the new address code; when the address code is set by the manual function, the LED digital tube will display the new address code. That is, in this embodiment, manually setting the address code and sending a control instruction to the control module 101 to reconfigure the address code can effectively change the address code, and the address setting and display unit 1014 will display the latest set address code to the outside in real time.

[0064] In another example, the control module 101 of this embodiment further includes: a power supply unit (not shown in the figure), which supplies power to the control module 101 through an external DC12V or DC24V power supply. After filtering and anti-interference, the external DC12V or DC24V power supply is converted into the voltage required by each unit and provided to each unit.

[0065] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A fountain digital mechanism control system, characterized in that: include: The control device is used to receive a first control instruction from a user based on an RDM protocol, parse the first control instruction to obtain a target operating parameter and obtain a current operating parameter of a fountain digital mechanism, and when the current operating parameter is different from the target operating parameter, issue a pulse adjustment instruction for adjusting the current operating parameter according to an automatic speed change algorithm; and drive the motor of the fountain digital mechanism to operate according to the pulse parameter corresponding to the pulse adjustment instruction; The fountain digital mechanism is used to work according to the pulse parameters to update the current operating parameters to the target operating parameters.

2. The system according to claim 1, characterized in that The control device comprises a control module and a driving module connected thereto; The control module receives the first control instruction, parses the first control instruction to obtain the target operating parameter and the current operating parameter of the fountain digital mechanism, and issues the pulse adjustment instruction according to the automatic speed change algorithm when the current operating parameter is different from the target operating parameter; The driving module is used to drive the motor of the fountain digital mechanism to operate according to the pulse parameters corresponding to the pulse adjustment instruction.

3. The system according to claim 2, characterized in that The control module is also used to set the reduction ratio and subdivision parameters of the motor of the fountain digital mechanism, and output a pulse adjustment instruction containing the pulse parameters according to the set reduction ratio and subdivision parameters; The driving module is used to obtain the pulse parameters according to the pulse adjustment instruction, and the pulse parameters at least include: the number of pulses.

4. The system according to claim 2, characterized in that The fountain digital mechanism includes: a motor, a speed change mechanism, a sensor and a digital nozzle; The motor is used to drive the digital printhead to rotate through the speed change mechanism; The sensor is used to obtain the position of the digital printhead.

5. The system according to claim 4, characterized in that The control module is also used to specify the swing angle range, clockwise rotation speed, counterclockwise rotation speed and the swing center point position of the digital nozzle.

6. The system according to claim 4, characterized in that The control module is also used to receive a reset instruction from the user and control the digital nozzle to reset to a default initial position according to the reset instruction.

7. The system according to claim 2, characterized in that The control module is also used to receive a query request from a user based on the RDM protocol, and return feedback information corresponding to the query request to the user; The feedback information includes at least: the address code of the control module, the manufacturer information of the control module, the channel quantity mode of the control module, the reduction ratio and subdivision of the fountain digital mechanism, the sensor level type, the maximum rotation angle of the control module, the offset data of the sensor, the encryption and decryption status of the control module and any one of the encryption expiration time.

8. The system according to claim 2, characterized in that The control module is also used to receive a setting instruction from the user to execute a setting action corresponding to the setting instruction; The setting action at least includes: setting the address code of the control module, setting the channel quantity mode of the control module, setting the reduction ratio and subdivision of the fountain digital mechanism, setting the forward and reverse rotation of the motor of the fountain digital mechanism, setting the upper and lower dimensions of the two-dimensional mechanism to be swapped, setting the sensor level type of the control module, setting the maximum rotation angle of the fountain digital mechanism, setting the sensor offset data, setting the encryption and decryption status of the control module, and setting the encryption expiration time of the control module.

9. The system according to claim 2, characterized in that The control module is further used to receive a second control instruction from the user, wherein the second control instruction at least includes a data packet for setting parameters for the control module or a data packet including a query request for querying parameters of the control module; The control module is further used to parse the data packet obtained by the second control instruction, and execute a parameter setting action or a parameter query return action corresponding to the second control instruction according to the start code of the data packet; The start code is a non-zero start code and a non-RDM start code.

10. The system according to any one of claims 1 to 8, characterized in that: The control module comprises: a data transceiver unit, configured to receive a first control instruction, a query request, a setting instruction, and a reset instruction and send the instruction to the MCU; the MCU is configured to parse the first control instruction to obtain the target operating parameter, obtain the current operating parameter, and generate the pulse adjustment instruction according to the automatic speed change algorithm when the current operating parameter is different from the target operating parameter; The signal output unit is used to receive the pulse adjustment instruction and output a corresponding pulse signal according to the pulse adjustment instruction.