An integrated photometer control system
Through the integrated photometer control system, the integration and compatibility problems of the photometer control system are solved, and the commonality and stability of the same series of instruments are achieved, cost reduction, and operation convenience and data reliability are improved.
Patent Information
- Application Number
- CN202011000439.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-22
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2040-09-22
AI Technical Summary
The poor integration and compatibility of existing photometer control systems lead to insufficient versatility and inability to adapt to diverse application needs.
The integrated photometer control system is adopted, including the MCU, motor drive module, display module, control panel and communication module. The motor shares the direction control port of the MCU, the dial switch is used for mode selection, the storage module is used for data storage, and the communication module supports multiple interfaces to realize modular design.
It realizes the high integration and universalization of the photometer control system, and is suitable for instruments of the same series of different models, reducing costs, easy operation, and stable and reliable test data.
Smart Images

Figure CN112014342B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of photometric detection and analysis instruments, and particularly relates to an integrated photometer control system. Background Art
[0002] With the development of technology, various new technologies, new materials, and new processes emerging have made it necessary for general spectrophotometers to have a wider range of applications, more automated functions, and more convenient and professional analysis applications in order to gain the favor of various customers. Since the types of derived models are increasing, a control system with very high integration and generalization of both software and hardware and very low cost is required to meet the market demand and adapt to the high-speed development of the market.
[0003] Currently, most of the photometers in the prior art are special equipment made according to specific applications, with poor versatility and compatibility, and there is a problem of incompatibility with different peripheral hardware configurations. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an integrated photometer control system, which solves the problems of poor integration and compatibility of the photometer control system in the prior art.
[0005] The present invention adopts the following technical solutions to solve the above technical problems:
[0006] An integrated photometer control system includes an MCU, a motor drive module, a display module, a control panel, and a communication module; among them, the motor drive module includes the drives of a wavelength motor, a color filter disc motor, a light source switching motor, and an automatic sample rack motor. A DIP switch for changing and selecting the keyboard mode is provided on the control panel. The display module is used to display the working state data of the system. The communication module is used to interact with the outside. The MCU has an in-circuit programming interface, and its input and output ports can be connected to different photometer peripheral devices.
[0007] The wavelength motor, the color filter disc motor, the light source switching motor, and the automatic sample rack motor share the same direction control port of the MCU.
[0008] Two motors share one drive chip.
[0009] The rotation step control feet of each motor are respectively connected to independent output ports of the MCU.
[0010] After the working state of each motor is initialized by optocoupler positioning, it is stored in the MCU in a solidified manner.
[0011] The DIP switch is a two-position DIP switch, one of which is used as a BOOT programming switch, and the other is used to judge and select the keyboard mode.
[0012] Each digit of the DIP switch is connected to the corresponding output port of the MCU after being pulled up by a resistor.
[0013] The BOOT programming switch includes a normal startup working mode and an ISO programming mode; the keyboard mode includes a numeric keypad mode and a digital keypad mode.
[0014] It also includes a storage module for storing user test data and curve equations.
[0015] The communication module includes USB-UART conversion, serial micro printer, serial U disk, and serial Bluetooth.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] 1. The photometric electrical system of the present invention is highly integrated and generalized, and the same set of hardware circuit control systems can be used for instruments with various models in the same series.
[0018] 2. All instruments with different models in the same series use the same single-chip microcomputer control software, that is, a set of single-chip microcomputer programs serve models with all kinds of different mechanical structure configurations (gear grating drive and lead screw grating drive) in the same series.
[0019] 3. The photometric control system is completely modular, small in size, simple to assemble, not only saving costs but also powerful in function. It can be adapted to all models in the same series, is very user-friendly in operation, and the test data is stable and reliable. Brief Description of the Drawings
[0020] Figure 1 It is the electrical structure block diagram of the photometric control system of the present invention.
[0021] Figure 2 It is the MCU control schematic diagram of the photometric control system of the present invention.
[0022] Figure 3 It is the DIP switch configuration circuit diagram of the photometric control system of the present invention.
[0023] Figure 4 It is the SPI interface FLASH circuit diagram of the photometric control system of the present invention.
[0024] Figure 5 It is the motor drive circuit diagram of the photometric control system of the present invention. Detailed Embodiments
[0025] The structure and working process of the present invention will be further described below with reference to the drawings.
[0026] An integrated photometer control system includes an MCU, a motor drive module, a display module, a control panel, and a communication module. Among them, the motor drive module includes the driving of a wavelength motor, a color filter disk motor, a light source switching motor, and an automatic sample rack motor. A DIP switch for changing and selecting the keyboard mode is set on the control panel. The display module is used to display the working state data of the system. The communication module is used to interact data with the outside. The MCU has an in-circuit programming interface, and its input and output ports can be connected to different photometer peripheral devices.
[0027] Specific embodiments are as follows Figures 1 to 5 shown
[0028] An integrated photometer control system, the selected model of the MCU is STM32F091VCT6, 32-bit CPU, with a frequency up to 48MHz, 256Kbytes of Flash memory, 32Kbytes of SRAM, configured with 88 I / O ports, and packaged in LQFP100.
[0029] The motor drive module uses two high-cost-performance DRV8821 chips of TI to drive four stepper motors. Among them, DRV8821_1 drives the lamp switching stepper motor and the color filter switching stepper motor, and DRV8821_2 drives the automatic sample rack stepper motor and the wavelength setting stepper motor.
[0030] The DRV8821 motor drive chip is set as follows:
[0031] ①DECAY = 0, this circuit is configured in the slow decay mode, with less motor heat generation, smoother operation, and less noise.
[0032] ②DIR is the motor rotation direction control port, controlled by the I / O port PA8 of the MCU. Since only one motor is allowed to operate during the operation of the instrument, the four motors with different functions can share one DIR direction control port; when DIR = 1, the motor rotates clockwise; when DIR = 0, the motor rotates counterclockwise.
[0033] ③STEP is the number of steps of the motor rotation. The STEP control feet of each motor are independent. After each motor passes the power-on self-check program and the optocoupler positioning is initialized, the number of steps in each working state is calculated and solidified in the MCU program.
[0034] ④The drive current of the motor is determined by the voltage value of the VREF pin of the DRV8821. The specific formula is as follows: I = VREF / (5 * Risen). In this circuit, VREF is directly connected to the P16 (V3P3) pin of the chip, which is the internal 3.3V output voltage, that is, VREF = 3.3V; the load resistor Risen is selected as 2W - 2512 - 1 ohm, that is, Risen = 1R; then the drive current I = VREF / (5 * Risen) = 3.3V / (5 * 1R) = 0.66A.
[0035] Dip switch, a two - digit dip switch is selected. One is used for the BOOT programming switch, and the other is used to select the keypad mode or the numeric keypad mode for the judgment bit.
[0036] S1 is a two - digit dip switch, which is pulled up by two 10K resistors and connected to the P94 (BOOT0) and P60 (PD13) pins of the MCU.
[0037] ①When BOOT0 = 0, the instrument is configured for normal startup and working mode;
[0038] When BOOT0 = 1, the instrument is configured for ISP programming mode.
[0039] ②When PD13 = 0, the instrument is configured for the keypad mode;
[0040] When PD13 = 1, the instrument is configured for the numeric keypad mode.
[0041] Communication module, the system is also configured with interface functions such as serial micro - printer, serial U disk module, serial Bluetooth module, etc., which is convenient for customers to select models and meet various different requirements.
[0042] Using the USB - UART conversion chip CP2102 can not only facilitate online connection, but also use the ISP / IAP function to upgrade and update the program.
[0043] RX_USB and TX_USB are respectively connected to the USART1_RX and USART1_TX of the MCU. The USART1 serial port of STM32F091VCT6 has the ISP programming function. Therefore, using CP2102 can not only achieve USB DEVICE online connection, but also achieve ISP programming, with one port multiplexed; and the CP2102 chip is powered by the USB port of the computer, which can effectively isolate and avoid damage to the computer host caused by the instrument motherboard failure, and even can isolate the interference of external noise to the instrument data of the host.
[0044] Storage module, equipped with an SPI interface FLASH with a memory capacity of 16Mb, model Winbond W25Q16, used to store user test data and curve equations.
[0045] For the integrated circuits of this hardware circuit, relatively new and highly cost-effective chips in the market are selected. As for components, surface mount components are preferably used to facilitate mass production by surface mounting, reducing production costs and scrap rates.
[0046] This electrical control system is very user-friendly in operation, and the test data is stable and reliable.
[0047] The design of the electrical system has various functions to control the whole machine; it can be applied to various models to achieve multiple accessory functions and test applications; it can work stably and has anti-interference ability; the circuit board is convenient for production, debugging and after-sales maintenance.
[0048] Those skilled in the art should understand that variations can be achieved by those skilled in the art in combination with the prior art and the above embodiments, which will not be elaborated here. Such variations do not affect the essence of the present invention and will not be elaborated here.
[0049] The preferred embodiments of the present invention have been described above. It should be understood that the sizes of various parts of the above device should be flexibly changed according to different requirements. The present invention is not limited to the above specific embodiments. The devices, structures and circuits not described in detail should be understood to be implemented in a common way in the art; any person skilled in the art can make many possible changes and modifications to the technical solution of the present invention, or modify it into an equivalent embodiment with equivalent changes, without departing from the scope of the technical solution of the present invention, which does not affect the essence of the present invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of protection of the technical solution of the present invention.
Claims
1. An integrated photometer control system, characterized in that: It includes an MCU, a motor drive module, a display module, a control panel, and a communication module. Among them, the motor drive module includes the drive of a wavelength motor, a color filter disk motor, a light source switching motor, and an automatic sample rack motor. A DIP switch for programming and selecting a keyboard mode is set on the control panel. The display module is used to display the working state data of the system. The communication module is used to interact with external devices for data. The MCU has an in-circuit programming interface, and its input and output ports can be connected to different peripheral devices of the photometer. The wavelength motor, the color filter disk motor, the light source switching motor, and the automatic sample rack motor share the same direction control port of the MCU. The DIP switch is a two-position DIP switch, one of which is used as a BOOT programming switch, and the other is used to determine and select the keyboard mode. The BOOT programming switch includes a normal startup working mode and an ISP programming mode. The keyboard mode includes a numeric keypad mode and a full-size keyboard mode.
2. The integrated photometer control system according to claim 1, characterized in that: Two motors share one drive chip.
3. The integrated photometer control system according to claim 1, characterized in that: The rotation step control pins of each motor are respectively connected to independent output ports of the MCU.
4. The integrated photometer control system according to claim 3, wherein: After the working state of each motor is initialized by optocoupler positioning, it is solidified and stored in the MCU.
5. The integrated photometer control system according to claim 1, characterized in that: Each bit of the DIP switch is pulled up through a resistor and then connected to the corresponding output port of the MCU.
6. The integrated photometer control system according to claim 1, wherein: It further includes a storage module for storing user test data and curve equations.
7. The integrated photometer control system according to claim 1, wherein: The communication module includes USB-UART conversion, serial micro printer, serial USB flash drive, and serial Bluetooth.
Citation Information
Patent Citations
Circuit board for photometer integration control system
CN202486526U
Integrated photometer control system
CN212364061U