Author Topic: How to adjust the zero position of the gasflow analyzer  (Read 1786 times)

0 Members and 1 Guest are viewing this topic.

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
How to adjust the zero position of the gasflow analyzer
« on: June 12, 2021, 04:21:07 am »
Gasflow analyzer Respical T300,the boot test is normal。But the display value cannot show the zero position.
I plan to try to repair,I did not find the adjustable resistor (potentiometer) on the circuit board.Test the output voltage of the pressure sensor, the voltage will change according to the pressure value.
The model of the sensor is ASCX15AN, ASCX100DN, SZ75434。
normal air--ASCX15AN output 4.561V , ASCX100DN output 0.251V,      SZ75434  output 2.512V

SZ75434---LOW PRESSURE
ASCX100DN-----HIGH PRESSURE
ASCX15AN------barometric pressure

If you know how to adjust please let me know, thanks
daisizhou#sina.com #=@
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4208
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: How to adjust the zero position of the gasflow analyzer
« Reply #1 on: June 12, 2021, 05:43:47 am »
How old is it? That Dallas SRAM module may have a dead battery by now, in which case any calibration constants will have been lost, and you may be out of luck.

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #2 on: June 12, 2021, 10:44:59 am »
Yes, I noticed this Dallas battery problem.
I am trying to calibrate it, but I did not find an adjustable resistor or other electronic components that can be calibrated
I don’t know how to calibrate, please let me know if you know
daisizhou#sina.com #=@
 

Offline TheMG

  • Frequent Contributor
  • **
  • Posts: 866
  • Country: ca
Re: How to adjust the zero position of the gasflow analyzer
« Reply #3 on: June 12, 2021, 06:26:12 pm »
It's more than likely calibrated digitally, which is why you can't find any pots to adjust on the board. It will be done either through calibration menus on the front panel, or may require connection to a PC.

This means you will need to find a manual with the calibration instructions. Without that information, you're basically out of luck.
« Last Edit: June 12, 2021, 06:27:54 pm by TheMG »
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2277
  • Country: gb
Re: How to adjust the zero position of the gasflow analyzer
« Reply #4 on: June 12, 2021, 07:06:08 pm »
The manual doesn't mention calibration, which might be a good thing, maybe it's simple.
I was expecting a note saying 'return for calibration'.

Manual too big for forum even after compression, so here's a link:

Allied-RespiCal-T300-Respiration-Analyzer-User-manual.pdf
 

Offline TheMG

  • Frequent Contributor
  • **
  • Posts: 866
  • Country: ca
Re: How to adjust the zero position of the gasflow analyzer
« Reply #5 on: June 12, 2021, 10:20:43 pm »
Page 11:

Quote
Certification

Allied Healthcare Products, Inc. tests, inspects and certifies each instrument before it is shipped from the factory. Enclosed are the results of these tests.

For continued reliable operation, Allied Healthcare Products, lnc. recommends annual certification of the RespiCal Calibration Analyzer. To return a RespiCal Calibration Analyzer to Allied Healthcare Products, Inc. For certification or factory service, follow the procedures in section"Claims and Return lnformation"

They use the word "certification" rather than "calibration", but essentially the same thing. So it looks like they intend for the unit to be shipped to the manufacturer for calibration and any repairs. As such, it's very likely only the manufacturer has the procedures (and software if applicable) necessary to perform a calibration.
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #6 on: June 12, 2021, 11:17:27 pm »
I have read the operating manual,But I did not find the service manual or maintenance and calibration manual.
I check the circuit board PCB,Found that the core MCU is DS80C310 microcontroller,AT27C512R is a one-time write to EEPROM,I think the main program should be stored in AT27C512R,Because DS80C310 has no storage function.dallas DS1644-120 should be SDRAM and battery maintenance chip,May be duration statistics or timing。There is also a readable and writable EEPROM 24LC32A,I guess the configuration or calibration data may be stored here
Other chips are logic processing or operational amplifier chips
I found the definition of pressure sensor, 3-pin voltage output
« Last Edit: June 13, 2021, 12:32:41 am by daisizhou »
daisizhou#sina.com #=@
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #7 on: June 12, 2021, 11:53:35 pm »
After reading the contents of AT27C512R and 24LC32A, I still can't understand it. The front part of 24LC32A is the boot content.
If you have better suggestions, welcome to provide
daisizhou#sina.com #=@
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8240
Re: How to adjust the zero position of the gasflow analyzer
« Reply #8 on: June 13, 2021, 12:33:04 am »
You're going to have to do some reverse-engineering to figure out how it's calibrated. Given that it's a pretty well-known MCU with no readout protection and the code is in a separate ROM, it shouldn't be too difficult. I'd start by figuring out the address/data mapping and loading the ROM image in a disassembler. The first three bytes of the ROM are LJMP 0C3E3h which makes sense for a first instruction.
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #9 on: June 13, 2021, 04:24:25 am »
Sorry, I am not familiar with disassembly,Familiar with the hardware circuit, very confused about the software part.
If you need hardware circuit analysis, I can try to draw a schematic diagram.If you want to analyze the program, I hope good people can help me
I tried to connect the serial port at the end of T300 with windows hyper terminal, the screen is as follows
daisizhou#sina.com #=@
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #10 on: June 13, 2021, 04:25:29 pm »
I checked the data sheet of the sensor,VCC is 5V power supply,vout is the analog output voltage.
For example,0 cmh2o=2.92v,10cmh2o=3.15v,20cmh2o=3.38v,30cmh2o=3.61v.........0.2xV voltage increase.The highest I chose 4.92V, the pressure reached 85.07cmh2o.

But the low pressure range can only reach 85.07cmh2o,The instructions say that it can reach +-120cmh20,I do not know why
Low pressure can reach as low as -128.05cmh2o,I think this is normal
daisizhou#sina.com #=@
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8240
Re: How to adjust the zero position of the gasflow analyzer
« Reply #11 on: June 13, 2021, 11:44:11 pm »
Are you saying the sensor works or not?

If you post the main ROM, we can take a look and see how it can get into calibration mode.
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #12 on: June 14, 2021, 03:20:47 am »
OK ,The following attachments are the main system ROM and configuration ROM

daisizhou#sina.com #=@
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #13 on: June 14, 2021, 03:54:15 am »
I suspect there is a problem with the pressure sensor,So I separated the pressure sensor from the original circuit

The following is my test process:
In the original circuit,Sensor 2 pin is the power supply,3 pin is voltage output,Pin 4 and Pin 5 are negative,Finally, I independently provided a set of voltage sources,I observe the pressure value displayed on the screen and adjust the corresponding voltage value,Finally I got a data table of voltage value corresponding to pressure value
daisizhou#sina.com #=@
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #14 on: June 14, 2021, 04:07:56 am »
I return the sensor to the circuit and measure VOUT online
daisizhou#sina.com #=@
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #15 on: June 14, 2021, 02:16:14 pm »
Looking forward to your analysis results,Thank you for your help,Sensor is good,Linear change in pressure range。
The most important thing now is how to calibrate
daisizhou#sina.com #=@
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8240
Re: How to adjust the zero position of the gasflow analyzer
« Reply #16 on: October 03, 2021, 04:40:07 am »
I have worked with the OP to figure out how the calibration constants are stored in the EEPROM and how they are used. Here is a summary, see attached for detailed notes.

Code: [Select]
High pressure:
0170 ADC value at 0 PSI
0172 ADC value at 100 PSI

Low pressure:
0194 ADC value at 0cmH2O
0196 ADC value at 120cmH2O
019a ADC value at -120cmH2O

Barometer:
0230 ADC value at 10.000inHg
0232 ADC value at 29.920inHg

All values are in 16-bit BE. The above sensors are all linear.

High flow:
0110 ADC value at 0LPM
0112 ADC value at 240LPM
The sensor is a hot-wire anemometer and its response is nonlinear.
Piecewise linear interpolation is used with a linearisation table at 0400-05ff.
This is a 256-entry table of values in units of 8192nds of the total output range (0-240000, units of 0.001LPM). See the notes for more detail.

Low flow:
0136 ADC value at 0LPM
0138 ADC value at 25LPM
The sensor is a hot-wire anemometer and its response is nonlinear.
Piecewise linear interpolation is used with a linearisation table at 0600-07ff.
This is a 256-entry table of values in units of 8192nds of the total output range (0-25000, units of 0.001LPM). See the notes for more detail.
 
The following users thanked this post: mikerj, daisizhou, nguyenphong

Offline nguyenphong

  • Newbie
  • Posts: 4
  • Country: vn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #17 on: Yesterday at 09:06:37 am »
I also need to calibrate T300 . can you help me how to
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #18 on: Today at 01:16:09 am »
OK, can you tell me the current status of your T300?
daisizhou#sina.com #=@
 

Offline nguyenphong

  • Newbie
  • Posts: 4
  • Country: vn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #19 on: Today at 01:51:14 am »
it displayed "calibration has expired" and the low pressure displayed not zero value!
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #20 on: Today at 02:48:50 am »
"Calibration expired"--you need to read the DS1644-120 internal data,Then modify the calibration date, and finally rewrite the data to DS1644-120,Calibration has expired before normal display can be restored.
"Low pressure display -0.93 bar"---First you need to read U8(24LC32A),It is a 4KB bin file,All calibration data is stored inside this EEPROM chip,After reading the complete data, you need to prepare a digital pressure gauge,I choose druck-DPI705(You can also choose other similar models),Then refer to "amyk"'s post.
If you still don’t understand, you can contact me(daisizhou#sina.com  #->@)
I wish you success, I am a biomedical engineer,Looking forward to communicating with you

By the way, there is also a calibration firmware, I can send it to you if you need it
« Last Edit: Today at 04:05:12 am by daisizhou »
daisizhou#sina.com #=@
 

Offline nguyenphong

  • Newbie
  • Posts: 4
  • Country: vn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #21 on: Today at 04:34:59 am »
I tried to connect by hyper terminal but not successful. Has you got any advice?
 

Offline nguyenphong

  • Newbie
  • Posts: 4
  • Country: vn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #22 on: Today at 05:09:14 am »
I'm biomedical engineer. Would you send me calibration firmware and how to use it. Thank you very much.
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #23 on: Today at 05:20:28 am »
For the programmer I use labtool-48xp (more expensive) or CH341A (cheap)--<DS1644-120 is not supported>
Do you have online software for T300?
daisizhou#sina.com #=@
 

Offline daisizhouTopic starter

  • Frequent Contributor
  • **
  • Posts: 533
  • Country: cn
Re: How to adjust the zero position of the gasflow analyzer
« Reply #24 on: Today at 05:41:14 am »
How to contact you? your email address?
daisizhou#sina.com #=@
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf