After six months of in-depth development of the company's new medical oxygen generator, the process went quite smoothly. Various problems encountered in the process were solved, and the basic functions were basically realized. I also felt a little successful and full of confidence.
This project is based on the development of a series of single-chip microcomputers. Due to its high cost performance and good ecological development environment, stm32 is favored by more and more developers. First, install the software and build a development environment, which is not difficult. Because I just developed a project like a power bank. I remember the beginning of the voice chip () driver, similar code under the Internet, compile, download, run, haha, competition sound. But there is a problem, that is, it did not stop, obviously I just a piece of code, check, and finally found that there is a signal signal busy port definition has not changed. Change the port, compile, download and run, the voice driver is normal.
Next, develop HT touch chip driver, LED driver, voice, button, display joint tuning. In the middle of the single data signal line, the anti-interference ability is poor and it is easy to trigger by mistake, and use HT touch chip and IIC bus. In this way, the online oxygen generator is basically realized. The next step to make an offline oxygen generator is to add an oxygen concentration sensor on the original basis. For our program, it is to realize a serial port to receive data function. At the beginning, I top up wild rift , I thought it was very simple, but it turned out that the data was received non-standardly, and sometimes the data was not updated for a long time. Through step-by-step simulation, it was finally solved. Then make some optimizations to the button function. Of course, there are also many infrared remote control functions, and the reference code on the Internet is quickly completed. Next, make some production debugging parameters. The basic program framework is set up, adding functions, or it is very simple.
The machine was quickly sent to the test, which is equivalent to giving you a birth certificate after passing the test. A comrade said a week after the test that the group pulse touch function failed, the hardware was reactive, the inductor was added, the capacitor was added, and there was still no way, I didn't know. Well, the most difficult move, change the touch chip. It is said that it has been tested by EMC. At the beginning, I half believed it because it was a domestic chip company. I looked at a principle and found that there was still some truth. Most chips on the market represent data with high and low levels, while this chip represents data with pulse width. Please refer to the code sent by the customer, debug, and confirm. Really go outside to test it. Take the leader to Guangzhou Medical Device Testing Institute to update the program. After a period of time, the test comrade and called you to do the test, and the machine stopped the alarm red light. How difficult is this. The two items I didn't test did not have any hardware. No wonder. The alarm threshold is a simple test conducted by myself in the laboratory, and there is a gap with the actual situation. Please update the program and verify it with the testing agency.
A week later, the good news is that the EMC test has passed and the cover type needs to be sent. Thank God, finally some achievements have been made, but once again, the leaders and bosses are very anxious. A few days later, the inspection office called and said that when the pulse group is completed, the LED screen flashes and the "red light" on the "Thames Alarm" indicator is on, which is unacceptable. We think it's OK, there is no way, others are just standards and cannot be changed. Wu Gong was busy again, including the agents who sell EMC inductor components, who are also working overtime to help. A week passed, and another week passed. Wu Gong found some products in the same industry and found that there are some differences between us and them. So he called me. In-depth analysis shows that only the LED data can be changed to refresh the data, while the idea principle of the MCU chip, the program and cache array, and the update logo, compile, download, run, can really show that the program has no problem, use the oscilloscope to test the signal, find the operation and data change the communication line and clock line signal. For the EMC test of the minye subway small company, half of the receiving signal EMC small company plus common mode inductor can pass the test. When Wu Gong and I arrived at the site, we first passed the single board test, and then we passed the entire machine update process. Haha, other companies next to us are envious, the hardware rectification has not yet been completed, and they also want to change the plan, maybe they will also pass it. The first time is over, and I will go to Guangzhou Medical Laboratory next week. Ah, fate.
发表回复