DSP-based automatic printing register control system (Part 2)

3 System software design

The system software can be roughly divided into 2 parts: the main process of color registration and the subroutine of CAN transmission. The main contents of the color register main program are: initialization program, color mark signal acquisition, query, calculation speed, error and correction amount, and starting motor to correct error. The flow is shown in Figure 5.

The CAN transmission subroutine mainly completes the data transmission of the lower computer to the upper computer and the data of the upper computer is accurately transmitted to the corresponding lower computer. Four CAN mailboxes will be used in each DSP subsystem, including two sending mailboxes txbox1 and txbox2, and two receiving mailboxes rxbox1 and rxbox2. The main function of the sending mailbox txbox1 is to send a specific set of data to other subsystems in advance when the subsystem is about to send data to the host computer. It is forbidden for this subsystem to send data to other subsystems in order to avoid causing the host computer to receive data The data is confusing. The method of implementation is:

Set the mailbox identifier MSGID of the sending mailbox txbox1 and the receiving mailbox rxbox1 of all subsystems to be consistent (the receiving mailbox will only receive the data sent by the sending mailbox consistent with its own identifier); after the subsystem finishes loading the transmitted data, first Query the bus status bit stats (stats is a variable defined in the program, 0 means CAN bus is idle, 1 means CAN bus is busy), if it is 0, tx-box1 first sends a specific set of data (can be "1111" ), After receiving this set of data, other subsystems set their own bus status bit stats to 1, then send the data to be transmitted one by one by txbox2 to the upper computer, and then send another set of specific data by txbox1 after completion (such as "2222" ), Other subsystems set their stats bit to 0 after receiving. The subsystem must first check the stats bit before sending data, only to wait until it is. Only then can the data be sent to the upper computer. The procedure of CAN sending data program is shown in Figure 6. It is relatively simple for the subsystem to receive the data transmitted by the upper computer. The txbox2 and rxbox2 of each subsystem have their own specific mailbox identifiers (the specific mailbox identifiers of each subsystem must be different in the entire large system), so the upper level As long as the computer writes the mailbox identifier of the target subsystem to its own sending mailbox identifier, it can accurately transmit the data to the lower computer. When the upper computer receives the data, it also uses the mailbox identifier to determine which data is from. Subsystem transmission.

4 Conclusion

The designed printing register system introduces the efficient and reliable DSP chip TMS320lf2407 as the printing register control chip, and uses its internal integrated CAN module to communicate with the host computer. Compared with the traditional single-chip control system, both in performance and reliability A big step up. The number of nodes on CAN can reach 110, which provides great convenience for future system upgrades. If the system that previously used RS232 communication needs to expand the subsystem, the number of serial port cards of the host computer must be expanded on the hardware , The process is complicated; after using the CAN bus, as long as the extended subsystem assigns a new mailbox identifier of the extended subsystem on the software, the entire system can operate normally. This automatic overprinting system has been tested and tested. The test shows that the system can be applied to any gravure printing machine that can be manually registered without adding any additional equipment. Even if the automatic sheet control system is not used, its overprinting error can still be maintained in the original manual. The best level of overprinting. The printing speed can be increased to the mechanical upper limit or ink drying speed upper limit, so the system will have good application prospects.

1. Maternity Support Belt relieves the low back and pelvic pain during pregnancy. Helps reduce low back pain & fatigue during pregnancy
2. Maternity Belt keeps warm to provide good circumstances for baby. Helps the baby grow up healthily
3. Maternity Belly Band helps blood circulation, protect from leg edema, Supports average pressure, help to protect from abortion
4. Postpartum mother skin is flabby, abdomen greaten, under the action of gravity, the  entrails is easy to droop. The postpartum corset belt can not only slim our waist, but also can prevent the entrails to droop.
5. Pregnancy Belt can lift your abdomen, prevent the entrails to droop, and it can also promote uterine contraction, help to restore body function.
6. Maternity Belt Back Support can adjust your body, fix fat, correct your posture.
7. Pregnant belly belt is designed to be easy to put on without assistance.

Mom And Baby

Maternity Belt, Pregnancy Belt, Baby Walker, Baby Carrier, Nursing Cover, Maternity Support Belt

Shijiazhuang AoFeiTe Medical Devices Co., Ltd. , https://www.aofit.com